import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The time granularity for the timeseries data. */ export declare const GetAnalyticsWebinarsWebinarIdRegistrationGranularity: { readonly Daily: "daily"; readonly Weekly: "weekly"; readonly Monthly: "monthly"; }; /** * The time granularity for the timeseries data. */ export type GetAnalyticsWebinarsWebinarIdRegistrationGranularity = ClosedEnum; export type GetAnalyticsWebinarsWebinarIdRegistrationRequest = { /** * The hashed ID of the webinar. */ webinarId: string; /** * The time granularity for the timeseries data. */ granularity: GetAnalyticsWebinarsWebinarIdRegistrationGranularity; /** * Whether to include on-demand viewing data after the live event ended. */ includePostEvent?: boolean | undefined; /** * Start date for the post-event analytics period in ISO 8601 format (YYYY-MM-DD). Inclusive — the range starts at the beginning of this date. Only used when include_post_event is true. */ postEventStartDate?: RFCDate | undefined; /** * End date for the post-event analytics period in ISO 8601 format (YYYY-MM-DD). Exclusive — the range ends before the beginning of this date. Only used when include_post_event is true. */ postEventEndDate?: RFCDate | undefined; }; export type GetAnalyticsWebinarsWebinarIdRegistrationResponse = { /** * The start of the time bucket in ISO 8601 format. */ timestamp?: Date | undefined; /** * The number of registrations in this time period. */ registrations?: number | null | undefined; /** * The number of registration page impressions in this time period. */ impressions?: number | null | undefined; /** * The number of on-demand registrations in this time period. */ onDemandRegistrations?: number | null | undefined; /** * The number of on-demand page impressions in this time period. */ onDemandImpressions?: number | null | undefined; /** * The completion rate for attendees in this time period (between 0 and 1). */ completionRate?: number | null | undefined; /** * The completion rate for on-demand viewers in this time period (between 0 and 1). */ onDemandCompletionRate?: number | null | undefined; }; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdRegistrationGranularity$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GetAnalyticsWebinarsWebinarIdRegistrationRequest$Outbound = { webinarId: string; granularity: string; include_post_event: boolean; post_event_start_date?: string | undefined; post_event_end_date?: string | undefined; }; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdRegistrationRequest$outboundSchema: z.ZodType; export declare function getAnalyticsWebinarsWebinarIdRegistrationRequestToJSON(getAnalyticsWebinarsWebinarIdRegistrationRequest: GetAnalyticsWebinarsWebinarIdRegistrationRequest): string; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdRegistrationResponse$inboundSchema: z.ZodType; export declare function getAnalyticsWebinarsWebinarIdRegistrationResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getanalyticswebinarswebinaridregistration.d.ts.map