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 PostMediasImportUrlRequest = { /** * The publicly accessible URL of the media file to import. */ url: string; /** * The hashed ID of the folder (project) to import the media into. If not provided, a new folder will be created. */ folderId?: string | undefined; }; /** * The status of the background job that's been queued for the request. */ export declare const PostMediasImportUrlStatus: { 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 PostMediasImportUrlStatus = ClosedEnum; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ export type PostMediasImportUrlBackgroundJobStatus = { /** * 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: PostMediasImportUrlStatus; }; /** * Successfully queued background job for URL import. */ export type PostMediasImportUrlResponse = { 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?: PostMediasImportUrlBackgroundJobStatus | undefined; }; /** @internal */ export type PostMediasImportUrlRequest$Outbound = { url: string; folder_id?: string | undefined; }; /** @internal */ export declare const PostMediasImportUrlRequest$outboundSchema: z.ZodType; export declare function postMediasImportUrlRequestToJSON(postMediasImportUrlRequest: PostMediasImportUrlRequest): string; /** @internal */ export declare const PostMediasImportUrlStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostMediasImportUrlBackgroundJobStatus$inboundSchema: z.ZodType; export declare function postMediasImportUrlBackgroundJobStatusFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostMediasImportUrlResponse$inboundSchema: z.ZodType; export declare function postMediasImportUrlResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postmediasimporturl.d.ts.map