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 GetMediaExtendedAudioDescriptionsOrderStatusIdRequest = { /** * The hashed ID of the order returned from the order endpoint. */ id: string; }; /** * The current status of the order. */ export declare const GetMediaExtendedAudioDescriptionsOrderStatusIdOrderStatus: { readonly InProgress: "in_progress"; readonly Completed: "completed"; readonly Cancelled: "cancelled"; readonly Failed: "failed"; }; /** * The current status of the order. */ export type GetMediaExtendedAudioDescriptionsOrderStatusIdOrderStatus = ClosedEnum; export type GetMediaExtendedAudioDescriptionsOrderStatusIdMedia = { /** * 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 GetMediaExtendedAudioDescriptionsOrderStatusIdMediaExtendedAudioDescription = { /** * 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 GetMediaExtendedAudioDescriptionsOrderStatusIdOrder = { /** * 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: GetMediaExtendedAudioDescriptionsOrderStatusIdOrderStatus; createdAt: Date; updatedAt: Date; media: GetMediaExtendedAudioDescriptionsOrderStatusIdMedia; /** * Link to the resulting media extended audio description. Null while the order is in progress. */ mediaExtendedAudioDescription?: GetMediaExtendedAudioDescriptionsOrderStatusIdMediaExtendedAudioDescription | null | undefined; }; /** * Order status retrieved successfully. */ export type GetMediaExtendedAudioDescriptionsOrderStatusIdResponse = { order: GetMediaExtendedAudioDescriptionsOrderStatusIdOrder; }; /** @internal */ export type GetMediaExtendedAudioDescriptionsOrderStatusIdRequest$Outbound = { id: string; }; /** @internal */ export declare const GetMediaExtendedAudioDescriptionsOrderStatusIdRequest$outboundSchema: z.ZodType; export declare function getMediaExtendedAudioDescriptionsOrderStatusIdRequestToJSON(getMediaExtendedAudioDescriptionsOrderStatusIdRequest: GetMediaExtendedAudioDescriptionsOrderStatusIdRequest): string; /** @internal */ export declare const GetMediaExtendedAudioDescriptionsOrderStatusIdOrderStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetMediaExtendedAudioDescriptionsOrderStatusIdMedia$inboundSchema: z.ZodType; export declare function getMediaExtendedAudioDescriptionsOrderStatusIdMediaFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetMediaExtendedAudioDescriptionsOrderStatusIdMediaExtendedAudioDescription$inboundSchema: z.ZodType; export declare function getMediaExtendedAudioDescriptionsOrderStatusIdMediaExtendedAudioDescriptionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetMediaExtendedAudioDescriptionsOrderStatusIdOrder$inboundSchema: z.ZodType; export declare function getMediaExtendedAudioDescriptionsOrderStatusIdOrderFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetMediaExtendedAudioDescriptionsOrderStatusIdResponse$inboundSchema: z.ZodType; export declare function getMediaExtendedAudioDescriptionsOrderStatusIdResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getmediaextendedaudiodescriptionsorderstatusid.d.ts.map