import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetAnalyticsWebinarsWebinarIdAudienceRequest = { /** * The hashed ID of the webinar. */ webinarId: string; /** * Number of results to return (max 100). */ perPage?: number | undefined; /** * Cursor for pagination. Use the value from the previous response's page_info.end_cursor. */ cursor?: string | undefined; }; export type Chat = { /** * The approximate position in the event when the chat was sent (in seconds). */ roundedPlayerPosition?: number | undefined; /** * The chat message content. */ chats?: Array | undefined; }; export type GetAnalyticsWebinarsWebinarIdAudienceData = { /** * The registrant's first name. */ firstName?: string | null | undefined; /** * The registrant's last name. */ lastName?: string | null | undefined; /** * The registrant's email address. */ email?: string | null | undefined; /** * The registrant's phone number. */ phoneNumber?: string | null | undefined; /** * The registrant's company name. */ company?: string | null | undefined; /** * The registrant's job title. */ jobTitle?: string | null | undefined; /** * The registrant's country. */ country?: string | null | undefined; /** * When the registrant registered in ISO 8601 format. */ registeredAt?: Date | null | undefined; /** * When the registrant joined the live event in ISO 8601 format. */ attendedAt?: Date | null | undefined; /** * Whether the registrant attended the event. */ attendanceStatus?: string | null | undefined; /** * The registrant's restriction status (e.g., approved, blocked). */ restrictionStatus?: string | null | undefined; /** * How the registrant was added (e.g., registration_form, import). */ originMethod?: string | null | undefined; /** * The UTM campaign that referred this registrant. */ utmCampaign?: string | null | undefined; /** * The UTM source that referred this registrant. */ utmSource?: string | null | undefined; /** * The UTM medium that referred this registrant. */ utmMedium?: string | null | undefined; /** * The referring domain for this registrant. */ referrerDomain?: string | null | undefined; /** * The registrant's country based on IP geolocation. */ ipCountry?: string | null | undefined; /** * The registrant's city based on IP geolocation. */ ipCity?: string | null | undefined; /** * The registrant's engagement rate during the event (between 0 and 1). */ engagementRate?: number | null | undefined; /** * The registrant's focused viewing rate during the event (between 0 and 1). */ focusedRate?: number | null | undefined; /** * Total time the registrant watched in seconds. */ playedTime?: number | null | undefined; /** * Total time the registrant watched with the tab focused in seconds. */ focusedPlayedTime?: number | null | undefined; /** * The number of chat messages sent by this registrant. */ chatCount?: number | null | undefined; /** * The number of annotation clicks by this registrant. */ annotationClickCount?: number | null | undefined; /** * The number of poll responses submitted by this registrant. */ pollResponsesCount?: number | null | undefined; /** * Per-bucket attendance data for this registrant. */ attendeeHistogram?: Array | null | undefined; /** * Per-bucket focused attendance data for this registrant. */ focusedAttendeeHistogram?: Array | null | undefined; /** * Chat messages sent by this registrant with timestamps. */ chats?: Array | undefined; }; export type GetAnalyticsWebinarsWebinarIdAudiencePageInfo = { /** * Whether there are more results after this page. */ hasNextPage?: boolean | undefined; /** * Whether there are results before this page. */ hasPreviousPage?: boolean | undefined; /** * Cursor to use for fetching the next page. */ endCursor?: string | null | undefined; /** * Cursor to use for fetching the previous page. */ startCursor?: string | null | undefined; }; /** * Success response with webinar audience data. */ export type GetAnalyticsWebinarsWebinarIdAudienceResponse = { data?: Array | undefined; pageInfo?: GetAnalyticsWebinarsWebinarIdAudiencePageInfo | undefined; }; /** @internal */ export type GetAnalyticsWebinarsWebinarIdAudienceRequest$Outbound = { webinarId: string; per_page: number; cursor?: string | undefined; }; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdAudienceRequest$outboundSchema: z.ZodType; export declare function getAnalyticsWebinarsWebinarIdAudienceRequestToJSON(getAnalyticsWebinarsWebinarIdAudienceRequest: GetAnalyticsWebinarsWebinarIdAudienceRequest): string; /** @internal */ export declare const Chat$inboundSchema: z.ZodType; export declare function chatFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdAudienceData$inboundSchema: z.ZodType; export declare function getAnalyticsWebinarsWebinarIdAudienceDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdAudiencePageInfo$inboundSchema: z.ZodType; export declare function getAnalyticsWebinarsWebinarIdAudiencePageInfoFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdAudienceResponse$inboundSchema: z.ZodType; export declare function getAnalyticsWebinarsWebinarIdAudienceResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getanalyticswebinarswebinaridaudience.d.ts.map