import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetStatsVisitorsVisitorKeyRequest = { /** * The unique key of the visitor. */ visitorKey: string; }; export type GetStatsVisitorsVisitorKeyOrg = { name?: string | null | undefined; title?: string | null | undefined; }; export type GetStatsVisitorsVisitorKeyVisitorIdentity = { name?: string | undefined; email?: string | null | undefined; org?: GetStatsVisitorsVisitorKeyOrg | undefined; }; export type GetStatsVisitorsVisitorKeyUserAgentDetails = { browser?: string | undefined; browserVersion?: string | undefined; platform?: string | undefined; mobile?: boolean | undefined; }; /** * Successful response with details of a single visitor. */ export type GetStatsVisitorsVisitorKeyResponse = { /** * A unique identifier for the visitor. */ visitorKey?: string | undefined; /** * When the visitor was created. */ createdAt?: Date | undefined; /** * The last time the visitor played a video. */ lastActiveAt?: Date | undefined; /** * The event key for the last video play action. */ lastEventKey?: string | undefined; /** * The total number of videos loaded by the visitor. */ loadCount?: number | undefined; /** * The total number of videos played by the visitor. */ playCount?: number | undefined; visitorIdentity?: GetStatsVisitorsVisitorKeyVisitorIdentity | undefined; userAgentDetails?: GetStatsVisitorsVisitorKeyUserAgentDetails | undefined; }; /** @internal */ export type GetStatsVisitorsVisitorKeyRequest$Outbound = { visitorKey: string; }; /** @internal */ export declare const GetStatsVisitorsVisitorKeyRequest$outboundSchema: z.ZodType; export declare function getStatsVisitorsVisitorKeyRequestToJSON(getStatsVisitorsVisitorKeyRequest: GetStatsVisitorsVisitorKeyRequest): string; /** @internal */ export declare const GetStatsVisitorsVisitorKeyOrg$inboundSchema: z.ZodType; export declare function getStatsVisitorsVisitorKeyOrgFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetStatsVisitorsVisitorKeyVisitorIdentity$inboundSchema: z.ZodType; export declare function getStatsVisitorsVisitorKeyVisitorIdentityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetStatsVisitorsVisitorKeyUserAgentDetails$inboundSchema: z.ZodType; export declare function getStatsVisitorsVisitorKeyUserAgentDetailsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetStatsVisitorsVisitorKeyResponse$inboundSchema: z.ZodType; export declare function getStatsVisitorsVisitorKeyResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getstatsvisitorsvisitorkey.d.ts.map