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"; /** * The reason for rejecting the submission. */ export declare const RejectionReason: { readonly InvalidProof: "invalidProof"; readonly DuplicateSubmission: "duplicateSubmission"; readonly OutOfTimeWindow: "outOfTimeWindow"; readonly DidNotMeetCriteria: "didNotMeetCriteria"; readonly Other: "other"; }; /** * The reason for rejecting the submission. */ export type RejectionReason = ClosedEnum; export type RejectBountySubmissionRequestBody = { /** * The reason for rejecting the submission. */ rejectionReason?: RejectionReason | undefined; /** * The note for rejecting the submission. */ rejectionNote?: string | undefined; }; export type RejectBountySubmissionRequest = { /** * The ID of the bounty */ bountyId: string; /** * The ID of the bounty submission */ submissionId: string; requestBody?: RejectBountySubmissionRequestBody | undefined; }; export type RejectBountySubmissionFiles = { /** * 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 RejectBountySubmissionStatus: { readonly Draft: "draft"; readonly Submitted: "submitted"; readonly Approved: "approved"; readonly Rejected: "rejected"; }; /** * The status of the submission */ export type RejectBountySubmissionStatus = ClosedEnum; /** * The rejected bounty submission. */ export type RejectBountySubmissionResponseBody = { /** * 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: RejectBountySubmissionStatus; /** * 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 declare const RejectionReason$outboundSchema: z.ZodNativeEnum; /** @internal */ export type RejectBountySubmissionRequestBody$Outbound = { rejectionReason?: string | undefined; rejectionNote?: string | undefined; }; /** @internal */ export declare const RejectBountySubmissionRequestBody$outboundSchema: z.ZodType; export declare function rejectBountySubmissionRequestBodyToJSON(rejectBountySubmissionRequestBody: RejectBountySubmissionRequestBody): string; /** @internal */ export type RejectBountySubmissionRequest$Outbound = { bountyId: string; submissionId: string; RequestBody?: RejectBountySubmissionRequestBody$Outbound | undefined; }; /** @internal */ export declare const RejectBountySubmissionRequest$outboundSchema: z.ZodType; export declare function rejectBountySubmissionRequestToJSON(rejectBountySubmissionRequest: RejectBountySubmissionRequest): string; /** @internal */ export declare const RejectBountySubmissionFiles$inboundSchema: z.ZodType; export declare function rejectBountySubmissionFilesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RejectBountySubmissionStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RejectBountySubmissionResponseBody$inboundSchema: z.ZodType; export declare function rejectBountySubmissionResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=rejectbountysubmission.d.ts.map