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 PutMediasRestoreRequest = { /** * An array of the media hashed IDs to be restored. */ hashedIds: Array; /** * The hashed ID of the folder to restore the medias to. */ folderId: string; }; export type Container = { /** * The type of container the medias will be restored to. */ type?: string | undefined; /** * The display name of the container the medias will be restored to. */ name?: string | undefined; /** * The hashed ID of the container the medias will be restored to. */ hashedId?: string | undefined; }; /** * The status of the background job that's been queued for the request. */ export declare const PutMediasRestoreStatus: { 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 PutMediasRestoreStatus = ClosedEnum; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ export type PutMediasRestoreBackgroundJobStatus = { /** * 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: PutMediasRestoreStatus; }; /** * Successful restoration of media. */ export type PutMediasRestoreResponse = { /** * A confirmation message that the background job has been queued. */ message?: string | undefined; container?: Container | undefined; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ backgroundJobStatus?: PutMediasRestoreBackgroundJobStatus | undefined; }; /** @internal */ export type PutMediasRestoreRequest$Outbound = { hashed_ids: Array; folder_id: string; }; /** @internal */ export declare const PutMediasRestoreRequest$outboundSchema: z.ZodType; export declare function putMediasRestoreRequestToJSON(putMediasRestoreRequest: PutMediasRestoreRequest): string; /** @internal */ export declare const Container$inboundSchema: z.ZodType; export declare function containerFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutMediasRestoreStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutMediasRestoreBackgroundJobStatus$inboundSchema: z.ZodType; export declare function putMediasRestoreBackgroundJobStatusFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutMediasRestoreResponse$inboundSchema: z.ZodType; export declare function putMediasRestoreResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putmediasrestore.d.ts.map