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 PutMediasArchiveRequest = { /** * An array of the media hashed IDs to be archived. */ hashedIds: Array; }; /** * The status of the background job that's been queued for the request. */ export declare const PutMediasArchiveStatus: { readonly Queued: "queued"; readonly Started: "started"; readonly Finished: "finished"; readonly Failed: "failed"; }; /** * The status of the background job that's been queued for the request. */ export type PutMediasArchiveStatus = ClosedEnum; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ export type PutMediasArchiveBackgroundJobStatus = { /** * The ID of the background job that's been queued for the request. */ id: number; /** * The status of the background job that's been queued for the request. */ status: PutMediasArchiveStatus; }; /** * Successful archival of media. */ export type PutMediasArchiveResponse = { /** * A confirmation message that the background job has been queued. */ message?: string | undefined; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ backgroundJobStatus?: PutMediasArchiveBackgroundJobStatus | undefined; }; /** @internal */ export type PutMediasArchiveRequest$Outbound = { hashed_ids: Array; }; /** @internal */ export declare const PutMediasArchiveRequest$outboundSchema: z.ZodType; export declare function putMediasArchiveRequestToJSON(putMediasArchiveRequest: PutMediasArchiveRequest): string; /** @internal */ export declare const PutMediasArchiveStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutMediasArchiveBackgroundJobStatus$inboundSchema: z.ZodType; export declare function putMediasArchiveBackgroundJobStatusFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutMediasArchiveResponse$inboundSchema: z.ZodType; export declare function putMediasArchiveResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putmediasarchive.d.ts.map