import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The dimension to group traffic data by. */ export declare const GetAnalyticsWebinarsWebinarIdTrafficGroupBy: { readonly UtmCampaign: "utm_campaign"; readonly UtmSource: "utm_source"; readonly UtmMedium: "utm_medium"; readonly ReferrerDomain: "referrer_domain"; }; /** * The dimension to group traffic data by. */ export type GetAnalyticsWebinarsWebinarIdTrafficGroupBy = ClosedEnum; /** * The metric to sort results by. */ export declare const GetAnalyticsWebinarsWebinarIdTrafficSortBy: { readonly Registrations: "registrations"; readonly Attendees: "attendees"; readonly Impressions: "impressions"; }; /** * The metric to sort results by. */ export type GetAnalyticsWebinarsWebinarIdTrafficSortBy = ClosedEnum; /** * The sort direction. */ export declare const GetAnalyticsWebinarsWebinarIdTrafficSortDirection: { readonly Asc: "asc"; readonly Desc: "desc"; }; /** * The sort direction. */ export type GetAnalyticsWebinarsWebinarIdTrafficSortDirection = ClosedEnum; export type GetAnalyticsWebinarsWebinarIdTrafficRequest = { /** * The hashed ID of the webinar. */ webinarId: string; /** * The dimension to group traffic data by. */ groupBy: GetAnalyticsWebinarsWebinarIdTrafficGroupBy; /** * The metric to sort results by. */ sortBy?: GetAnalyticsWebinarsWebinarIdTrafficSortBy | undefined; /** * The sort direction. */ sortDirection?: GetAnalyticsWebinarsWebinarIdTrafficSortDirection | undefined; }; /** * Each item contains the group_by field and associated metrics. */ export type GetAnalyticsWebinarsWebinarIdTrafficResponse = { /** * The UTM campaign value (present when group_by is utm_campaign). */ utmCampaign?: string | undefined; /** * The UTM source value (present when group_by is utm_source). */ utmSource?: string | undefined; /** * The UTM medium value (present when group_by is utm_medium). */ utmMedium?: string | undefined; /** * The referrer domain (present when group_by is referrer_domain). */ referrerDomain?: string | undefined; /** * The number of registrations from this traffic source. */ registrations?: number | undefined; /** * The number of attendees from this traffic source. */ attendees?: number | undefined; /** * The number of registration page impressions from this traffic source. */ impressions?: number | undefined; }; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdTrafficGroupBy$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdTrafficSortBy$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdTrafficSortDirection$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GetAnalyticsWebinarsWebinarIdTrafficRequest$Outbound = { webinarId: string; group_by: string; sort_by: string; sort_direction: string; }; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdTrafficRequest$outboundSchema: z.ZodType; export declare function getAnalyticsWebinarsWebinarIdTrafficRequestToJSON(getAnalyticsWebinarsWebinarIdTrafficRequest: GetAnalyticsWebinarsWebinarIdTrafficRequest): string; /** @internal */ export declare const GetAnalyticsWebinarsWebinarIdTrafficResponse$inboundSchema: z.ZodType; export declare function getAnalyticsWebinarsWebinarIdTrafficResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getanalyticswebinarswebinaridtraffic.d.ts.map