import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetMediasMediaHashedIdLocalizationsRequest = { /** * The hashed ID of the media to list localizations for. */ mediaHashedId: string; /** * Whether to include the transcript in the response. */ includeTranscript?: boolean | undefined; }; /** * The media that the localization is associated with. */ export type GetMediasMediaHashedIdLocalizationsSourceMedia = { /** * A unique alphanumeric identifier for this media. */ hashedId: string; /** * The name of the media. */ name: string; /** * The duration of the media in seconds. */ duration: number; /** * The date when the media was created. */ createdAt: Date; /** * The date when the media was last updated. */ updatedAt: Date; }; /** * The transcript for the localization. Selectively serialized in some endpoints. See properties for endpoint. */ export type GetMediasMediaHashedIdLocalizationsTranscript = { /** * A unique alphanumeric identifier for this transcript. */ hashedId: string; /** * The name of the language in English. */ languageName: string; /** * The name of the language in the language of the localization. */ nativeLanguageName: string; /** * The text of the transcript. */ text: string; /** * The date when the transcript was created. */ createdAt: Date; /** * The date when the transcript was last updated. */ updatedAt: Date; }; /** * A localization is a translation of a media into another language. * * @remarks */ export type GetMediasMediaHashedIdLocalizationsResponse = { /** * A unique alphanumeric identifier for this localization. */ hashedId: string; /** * A 3-character language code as specified by IETF. */ languageCode: string; /** * A 2-character language code as specified by ISO-639–2. */ iso6392LanguageCode: string; /** * The name of the language in English. */ languageName: string; /** * The name of the language in the language of the localization. */ nativeLanguageName: string; /** * The date when the localization was created. */ createdAt: Date; /** * The date when the localization was last updated. */ updatedAt: Date; /** * The date when the localization was ordered. */ orderedAt: Date | null; /** * The date when the localization was enabled. */ enabledAt: Date | null; /** * Whether or not the localization is enabled. */ enabled: boolean; /** * The media that the localization is associated with. */ sourceMedia: GetMediasMediaHashedIdLocalizationsSourceMedia; /** * The transcript for the localization. Selectively serialized in some endpoints. See properties for endpoint. */ transcript?: GetMediasMediaHashedIdLocalizationsTranscript | null | undefined; }; /** @internal */ export type GetMediasMediaHashedIdLocalizationsRequest$Outbound = { mediaHashedId: string; include_transcript: boolean; }; /** @internal */ export declare const GetMediasMediaHashedIdLocalizationsRequest$outboundSchema: z.ZodType; export declare function getMediasMediaHashedIdLocalizationsRequestToJSON(getMediasMediaHashedIdLocalizationsRequest: GetMediasMediaHashedIdLocalizationsRequest): string; /** @internal */ export declare const GetMediasMediaHashedIdLocalizationsSourceMedia$inboundSchema: z.ZodType; export declare function getMediasMediaHashedIdLocalizationsSourceMediaFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetMediasMediaHashedIdLocalizationsTranscript$inboundSchema: z.ZodType; export declare function getMediasMediaHashedIdLocalizationsTranscriptFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetMediasMediaHashedIdLocalizationsResponse$inboundSchema: z.ZodType; export declare function getMediasMediaHashedIdLocalizationsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getmediasmediahashedidlocalizations.d.ts.map