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 PutMediasCopyRequest = { /** * An array of the media hashed IDs to be copied. */ hashedIds: Array; /** * The hashed ID of the destination folder where the copies will be placed. */ folderId: string; }; export type Destination = { /** * The type of the destination container. */ type?: string | undefined; /** * The name of the destination folder. */ name?: string | undefined; /** * The hashed ID of the destination folder. */ hashedId?: string | undefined; }; /** * The status of the background job that's been queued for the request. */ export declare const PutMediasCopyStatus: { 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 PutMediasCopyStatus = ClosedEnum; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ export type PutMediasCopyBackgroundJobStatus = { /** * 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: PutMediasCopyStatus; }; /** * Successful copy request of media. */ export type PutMediasCopyResponse = { /** * A confirmation message that the background job has been queued. */ message?: string | undefined; destination?: Destination | undefined; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ backgroundJobStatus?: PutMediasCopyBackgroundJobStatus | undefined; }; /** @internal */ export type PutMediasCopyRequest$Outbound = { hashed_ids: Array; folder_id: string; }; /** @internal */ export declare const PutMediasCopyRequest$outboundSchema: z.ZodType; export declare function putMediasCopyRequestToJSON(putMediasCopyRequest: PutMediasCopyRequest): string; /** @internal */ export declare const Destination$inboundSchema: z.ZodType; export declare function destinationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutMediasCopyStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutMediasCopyBackgroundJobStatus$inboundSchema: z.ZodType; export declare function putMediasCopyBackgroundJobStatusFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutMediasCopyResponse$inboundSchema: z.ZodType; export declare function putMediasCopyResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putmediascopy.d.ts.map