import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Track, Track$Outbound } from "./track.js"; import { WebhookEventTypeEnum } from "./webhookeventtypeenum.js"; /** * Content of the webhook posted to the external URL */ export type WebhookPayloadTrack = { /** * Type of event that triggered the webhook. */ event?: WebhookEventTypeEnum | undefined; /** * Determines whether the webhook is a test webhook or not. */ test?: boolean | undefined; data?: Track | undefined; }; /** @internal */ export declare const WebhookPayloadTrack$inboundSchema: z.ZodMiniType; /** @internal */ export type WebhookPayloadTrack$Outbound = { event?: string | undefined; test?: boolean | undefined; data?: Track$Outbound | undefined; }; /** @internal */ export declare const WebhookPayloadTrack$outboundSchema: z.ZodMiniType; export declare function webhookPayloadTrackToJSON(webhookPayloadTrack: WebhookPayloadTrack): string; export declare function webhookPayloadTrackFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookpayloadtrack.d.ts.map