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 PutMediasMoveRequest = { /** * An array of the media hashed IDs to be moved. */ hashedIds: Array; /** * The hashed ID of the folder where you want the media moved. */ folderId: string; /** * Optional. The hashed ID of the subfolder where you want the media moved. If not provided, media will be moved to the folder's default subfolder. The subfolder must belong to the specified folder. */ subfolderId?: string | undefined; }; /** * The status of the background job that's been queued for the request. */ export declare const PutMediasMoveStatus2: { 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 PutMediasMoveStatus2 = ClosedEnum; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ export type PutMediasMoveBackgroundJobStatus2 = { /** * 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: PutMediasMoveStatus2; }; export type PartialError = { mediaId?: string | undefined; error?: string | undefined; }; /** * Successfully queued move of at least one media. Other provided hashed_ids failed. */ export type PutMediasMoveResponseBody2 = { 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?: PutMediasMoveBackgroundJobStatus2 | undefined; partialErrors?: Array | undefined; }; /** * The status of the background job that's been queued for the request. */ export declare const PutMediasMoveStatus1: { 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 PutMediasMoveStatus1 = ClosedEnum; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ export type PutMediasMoveBackgroundJobStatus1 = { /** * 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: PutMediasMoveStatus1; }; /** * Successfully queued move of all the media. */ export type PutMediasMoveResponseBody1 = { 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?: PutMediasMoveBackgroundJobStatus1 | undefined; }; export type PutMediasMoveResponse = PutMediasMoveResponseBody1 | PutMediasMoveResponseBody2; /** @internal */ export type PutMediasMoveRequest$Outbound = { hashed_ids: Array; folder_id: string; subfolder_id?: string | undefined; }; /** @internal */ export declare const PutMediasMoveRequest$outboundSchema: z.ZodType; export declare function putMediasMoveRequestToJSON(putMediasMoveRequest: PutMediasMoveRequest): string; /** @internal */ export declare const PutMediasMoveStatus2$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutMediasMoveBackgroundJobStatus2$inboundSchema: z.ZodType; export declare function putMediasMoveBackgroundJobStatus2FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PartialError$inboundSchema: z.ZodType; export declare function partialErrorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutMediasMoveResponseBody2$inboundSchema: z.ZodType; export declare function putMediasMoveResponseBody2FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutMediasMoveStatus1$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutMediasMoveBackgroundJobStatus1$inboundSchema: z.ZodType; export declare function putMediasMoveBackgroundJobStatus1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutMediasMoveResponseBody1$inboundSchema: z.ZodType; export declare function putMediasMoveResponseBody1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutMediasMoveResponse$inboundSchema: z.ZodType; export declare function putMediasMoveResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putmediasmove.d.ts.map