import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetAnalyticsMediasMediaIdLanguagesRequest = { /** * The hashed ID of the video. */ mediaId: string; /** * Start date for the analytics period in ISO 8601 format (YYYY-MM-DD). Inclusive — the range starts at the beginning of this date. */ startDate: RFCDate; /** * End date for the analytics period in ISO 8601 format (YYYY-MM-DD). Exclusive — the range ends before the beginning of this date. */ endDate: RFCDate; /** * Number of results to return (max 100). */ perPage?: number | undefined; }; export type GetAnalyticsMediasMediaIdLanguagesResponse = { /** * The ISO 639-1 language code of the viewer's browser. */ language?: string | undefined; /** * The number of video plays from viewers with this language. */ plays?: number | undefined; /** * The percentage of total plays from this language (between 0 and 1). */ percentOfTotalPlays?: number | undefined; /** * Whether captions are available for this language. */ captionsSupport?: boolean | undefined; }; /** @internal */ export type GetAnalyticsMediasMediaIdLanguagesRequest$Outbound = { mediaId: string; start_date: string; end_date: string; per_page: number; }; /** @internal */ export declare const GetAnalyticsMediasMediaIdLanguagesRequest$outboundSchema: z.ZodType; export declare function getAnalyticsMediasMediaIdLanguagesRequestToJSON(getAnalyticsMediasMediaIdLanguagesRequest: GetAnalyticsMediasMediaIdLanguagesRequest): string; /** @internal */ export declare const GetAnalyticsMediasMediaIdLanguagesResponse$inboundSchema: z.ZodType; export declare function getAnalyticsMediasMediaIdLanguagesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getanalyticsmediasmediaidlanguages.d.ts.map