import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetMediasMediaHashedIdCaptionsRequest = { /** * The hashed ID of the media for which captions are to be retrieved. */ mediaHashedId: string; }; export type GetMediasMediaHashedIdCaptionsResponse = { /** * English name of the language. */ englishName?: string | undefined; /** * Native name of the language. */ nativeName?: string | undefined; /** * A 3 character language code as specified by ISO-639–2. */ language: string; /** * The text of the captions for the specified language in SRT format. */ text?: string | null | undefined; isDraft: boolean; /** * The unique hashed identifier of the time-coded transcript. */ id: string; /** * A cursor for stable pagination based on current `sort_by` order. You can pass this to `cursor[before]` or `cursor[after]` as a parameter to fetch the records before or after this record in the same sort order. This is only populated if records were fetched with `cursor[enabled]`, or `cursor[before]` or `cursor[after]`. */ cursor?: string | null | undefined; }; /** @internal */ export type GetMediasMediaHashedIdCaptionsRequest$Outbound = { mediaHashedId: string; }; /** @internal */ export declare const GetMediasMediaHashedIdCaptionsRequest$outboundSchema: z.ZodType; export declare function getMediasMediaHashedIdCaptionsRequestToJSON(getMediasMediaHashedIdCaptionsRequest: GetMediasMediaHashedIdCaptionsRequest): string; /** @internal */ export declare const GetMediasMediaHashedIdCaptionsResponse$inboundSchema: z.ZodType; export declare function getMediasMediaHashedIdCaptionsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getmediasmediahashedidcaptions.d.ts.map