import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ApproveBountySubmissionRequestBody = { /** * The reward amount for the performance-based bounty. Applicable if the bounty reward amount is not set. */ rewardAmount?: number | null | undefined; }; export type ApproveBountySubmissionRequest = { /** * The ID of the bounty */ bountyId: string; /** * The ID of the bounty submission */ submissionId: string; requestBody?: ApproveBountySubmissionRequestBody | undefined; }; export type ApproveBountySubmissionFiles = { /** * The URL of the uploaded file. */ url: string; /** * The original file name. */ fileName: string; /** * The file size in bytes. */ size: number; }; /** * The status of the submission */ export declare const ApproveBountySubmissionStatus: { readonly Draft: "draft"; readonly Submitted: "submitted"; readonly Approved: "approved"; readonly Rejected: "rejected"; }; /** * The status of the submission */ export type ApproveBountySubmissionStatus = ClosedEnum; /** * The approved bounty submission. */ export type ApproveBountySubmissionResponseBody = { /** * The ID of the bounty submission */ id: string; /** * The ID of the bounty */ bountyId: string; /** * The ID of the partner */ partnerId: string; /** * The description of the submission */ description: string | null; /** * The URLs submitted for the submission */ urls: Array | null; /** * The files uploaded for the submission */ files: Array | null; /** * The status of the submission */ status: ApproveBountySubmissionStatus; /** * The performance count of the submission */ performanceCount: number | null; /** * The social metric count (views or likes) for the social content */ socialMetricCount: number | null; /** * The date and time the submission's social metrics were last synced */ socialMetricsLastSyncedAt?: string | null | undefined; /** * The date and time the submission was created */ createdAt: string; /** * The date and time the submission was completed */ completedAt: string | null; /** * The date and time the submission was reviewed */ reviewedAt: string | null; /** * The reason for rejecting the submission */ rejectionReason: string | null; /** * The note for rejecting the submission */ rejectionNote: string | null; /** * The period number for this submission (1-indexed) */ periodNumber: number; }; /** @internal */ export type ApproveBountySubmissionRequestBody$Outbound = { rewardAmount?: number | null | undefined; }; /** @internal */ export declare const ApproveBountySubmissionRequestBody$outboundSchema: z.ZodType; export declare function approveBountySubmissionRequestBodyToJSON(approveBountySubmissionRequestBody: ApproveBountySubmissionRequestBody): string; /** @internal */ export type ApproveBountySubmissionRequest$Outbound = { bountyId: string; submissionId: string; RequestBody?: ApproveBountySubmissionRequestBody$Outbound | undefined; }; /** @internal */ export declare const ApproveBountySubmissionRequest$outboundSchema: z.ZodType; export declare function approveBountySubmissionRequestToJSON(approveBountySubmissionRequest: ApproveBountySubmissionRequest): string; /** @internal */ export declare const ApproveBountySubmissionFiles$inboundSchema: z.ZodType; export declare function approveBountySubmissionFilesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ApproveBountySubmissionStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ApproveBountySubmissionResponseBody$inboundSchema: z.ZodType; export declare function approveBountySubmissionResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=approvebountysubmission.d.ts.map