import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetMediasMediaHashedIdStatsRequest = { /** * The hashed ID of the video. */ mediaHashedId: string; }; /** * An object representing the aggregated embed statistics for this video. */ export type Stats = { /** * The total number of times that the page containing the embedded video has been loaded. */ pageLoads?: number | undefined; /** * The number of unique visitors to the page containing the embedded video. */ visitors?: number | undefined; /** * An integer between 0 and 100 that shows what percentage of the time someone who saw the page containing the embedded video played the video. */ percentOfVisitorsClickingPlay?: number | undefined; /** * The total number of times that the video has been played. */ plays?: number | undefined; /** * An integer between 0 and 100. It shows the average percentage of the video that was watched over every time the video was played. */ averagePercentWatched?: number | undefined; }; /** * Successful retrieval of video statistics. */ export type GetMediasMediaHashedIdStatsResponse = { /** * A unique numeric identifier for the video within the system. */ id?: number | undefined; /** * A unique alphanumeric identifier for the video within the system. */ hashedId?: string | undefined; /** * The display name of the video. */ name?: string | undefined; /** * An object representing the aggregated embed statistics for this video. */ stats?: Stats | undefined; }; /** @internal */ export type GetMediasMediaHashedIdStatsRequest$Outbound = { mediaHashedId: string; }; /** @internal */ export declare const GetMediasMediaHashedIdStatsRequest$outboundSchema: z.ZodType; export declare function getMediasMediaHashedIdStatsRequestToJSON(getMediasMediaHashedIdStatsRequest: GetMediasMediaHashedIdStatsRequest): string; /** @internal */ export declare const Stats$inboundSchema: z.ZodType; export declare function statsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetMediasMediaHashedIdStatsResponse$inboundSchema: z.ZodType; export declare function getMediasMediaHashedIdStatsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getmediasmediahashedidstats.d.ts.map