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 PostMediaExtendedAudioDescriptionsOrderRequest = { /** * The hashed id of the media to order the extended audio description for. */ mediaId: string; /** * Whether the extended audio description should be automatically enabled once the order is complete. */ enabled?: boolean | undefined; /** * Whether to use AI-generated audio descriptions (cheaper) or human-generated (higher quality). */ aiEnabled?: boolean | undefined; /** * Optional instructions for the audio description provider. */ orderInstructions?: string | undefined; }; /** * The current status of the order. */ export declare const PostMediaExtendedAudioDescriptionsOrderOrderStatus: { readonly InProgress: "in_progress"; readonly Completed: "completed"; readonly Cancelled: "cancelled"; readonly Failed: "failed"; }; /** * The current status of the order. */ export type PostMediaExtendedAudioDescriptionsOrderOrderStatus = ClosedEnum; export type PostMediaExtendedAudioDescriptionsOrderMedia = { /** * A unique alphanumeric identifier for the record. */ id: string; /** * A URL for fetching all the records of the given record type. You can pass hashed_ids as a param with multiple values * * @remarks * to do a batch fetch for this records type. */ indexUrl: string; /** * A URL that can be used to fetch this record. */ url: string; }; export type PostMediaExtendedAudioDescriptionsOrderMediaExtendedAudioDescription = { /** * A unique alphanumeric identifier for the record. */ id: string; /** * A URL for fetching all the records of the given record type. You can pass hashed_ids as a param with multiple values * * @remarks * to do a batch fetch for this records type. */ indexUrl: string; /** * A URL that can be used to fetch this record. */ url: string; }; export type PostMediaExtendedAudioDescriptionsOrderOrder = { /** * The hashed ID of the order. Use this to poll order status via the order_status endpoint. */ id: string; /** * The current status of the order. */ orderStatus: PostMediaExtendedAudioDescriptionsOrderOrderStatus; createdAt: Date; updatedAt: Date; media: PostMediaExtendedAudioDescriptionsOrderMedia; /** * Link to the resulting media extended audio description. Null while the order is in progress. */ mediaExtendedAudioDescription?: PostMediaExtendedAudioDescriptionsOrderMediaExtendedAudioDescription | null | undefined; }; /** * Extended audio description ordered successfully. */ export type PostMediaExtendedAudioDescriptionsOrderResponse = { /** * Success message indicating the order has been placed. */ message: string; order: PostMediaExtendedAudioDescriptionsOrderOrder; }; /** @internal */ export type PostMediaExtendedAudioDescriptionsOrderRequest$Outbound = { media_id: string; enabled: boolean; ai_enabled: boolean; order_instructions?: string | undefined; }; /** @internal */ export declare const PostMediaExtendedAudioDescriptionsOrderRequest$outboundSchema: z.ZodType; export declare function postMediaExtendedAudioDescriptionsOrderRequestToJSON(postMediaExtendedAudioDescriptionsOrderRequest: PostMediaExtendedAudioDescriptionsOrderRequest): string; /** @internal */ export declare const PostMediaExtendedAudioDescriptionsOrderOrderStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostMediaExtendedAudioDescriptionsOrderMedia$inboundSchema: z.ZodType; export declare function postMediaExtendedAudioDescriptionsOrderMediaFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostMediaExtendedAudioDescriptionsOrderMediaExtendedAudioDescription$inboundSchema: z.ZodType; export declare function postMediaExtendedAudioDescriptionsOrderMediaExtendedAudioDescriptionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostMediaExtendedAudioDescriptionsOrderOrder$inboundSchema: z.ZodType; export declare function postMediaExtendedAudioDescriptionsOrderOrderFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostMediaExtendedAudioDescriptionsOrderResponse$inboundSchema: z.ZodType; export declare function postMediaExtendedAudioDescriptionsOrderResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postmediaextendedaudiodescriptionsorder.d.ts.map