import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetStatsEventsEventKeyRequest = { /** * The unique key of the event. */ eventKey: string; }; export type GetStatsEventsEventKeyThumbnail = { url?: string | undefined; width?: number | undefined; height?: number | undefined; fileSize?: number | undefined; contentType?: string | undefined; type?: string | undefined; }; /** * Type of conversion. */ export type GetStatsEventsEventKeyConversionType = number | string; /** * Additional data related to the conversion. */ export type GetStatsEventsEventKeyConversionData = { email?: string | undefined; firstName?: string | undefined; isNewLead?: boolean | undefined; lastName?: string | undefined; }; /** * Details about the user agent of the viewer. */ export type GetStatsEventsEventKeyUserAgentDetails = { browser?: string | undefined; browserVersion?: string | undefined; platform?: string | undefined; mobile?: boolean | undefined; }; /** * Successful response with the details of a single event. */ export type GetStatsEventsEventKeyResponse = { /** * Date and time when the event occurred. */ receivedAt?: Date | undefined; /** * Unique identifier for the event. */ eventKey?: string | undefined; /** * Identifier for the visitor. */ visitorKey?: string | undefined; /** * URL of the page where the video was viewed. */ embedUrl?: string | undefined; /** * Decimal number denoting how much of the video was watched. */ percentViewed?: number | undefined; /** * IP address of the viewer. */ ip?: string | undefined; /** * Organization associated with the IP address. */ org?: string | undefined; /** * Country based on IP. */ country?: string | undefined; /** * Region based on IP. */ region?: string | undefined; /** * City based on IP. */ city?: string | undefined; /** * Latitude based on IP. */ lat?: number | undefined; /** * Longitude based on IP. */ lon?: number | undefined; /** * Email of the viewer (if available). */ email?: string | null | undefined; /** * Identifier for the video that was watched. */ mediaId?: string | undefined; /** * Name of the video. */ mediaName?: string | undefined; /** * URL of the video in Wistia. */ mediaUrl?: string | undefined; /** * URL for the heatmap of the event. */ iframeHeatmapUrl?: string | undefined; thumbnail?: GetStatsEventsEventKeyThumbnail | undefined; /** * Type of conversion. */ conversionType?: number | string | undefined; /** * Additional data related to the conversion. */ conversionData?: GetStatsEventsEventKeyConversionData | undefined; /** * Details about the user agent of the viewer. */ userAgentDetails?: GetStatsEventsEventKeyUserAgentDetails | undefined; }; /** @internal */ export type GetStatsEventsEventKeyRequest$Outbound = { eventKey: string; }; /** @internal */ export declare const GetStatsEventsEventKeyRequest$outboundSchema: z.ZodType; export declare function getStatsEventsEventKeyRequestToJSON(getStatsEventsEventKeyRequest: GetStatsEventsEventKeyRequest): string; /** @internal */ export declare const GetStatsEventsEventKeyThumbnail$inboundSchema: z.ZodType; export declare function getStatsEventsEventKeyThumbnailFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetStatsEventsEventKeyConversionType$inboundSchema: z.ZodType; export declare function getStatsEventsEventKeyConversionTypeFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetStatsEventsEventKeyConversionData$inboundSchema: z.ZodType; export declare function getStatsEventsEventKeyConversionDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetStatsEventsEventKeyUserAgentDetails$inboundSchema: z.ZodType; export declare function getStatsEventsEventKeyUserAgentDetailsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetStatsEventsEventKeyResponse$inboundSchema: z.ZodType; export declare function getStatsEventsEventKeyResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getstatseventseventkey.d.ts.map