import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { WebhookData, WebhookData$Outbound } from "./webhookdata.js"; import { WebhookEventType } from "./webhookeventtype.js"; /** * Webhook events are sent to your webhook URL when certain actions occur in the Moov API. You can subscribe to these events to receive real-time notifications. */ export type WebhookEvent = { /** * Unique identifier for the webhook event. */ eventID: string; /** * The type of event that occurred. */ type: WebhookEventType; /** * The data for the webhook event. The contents are based on the event type. */ data: WebhookData; createdOn: Date; }; /** @internal */ export declare const WebhookEvent$inboundSchema: z.ZodType; /** @internal */ export type WebhookEvent$Outbound = { eventID: string; type: string; data: WebhookData$Outbound; createdOn: string; }; /** @internal */ export declare const WebhookEvent$outboundSchema: z.ZodType; export declare function webhookEventToJSON(webhookEvent: WebhookEvent): string; export declare function webhookEventFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookevent.d.ts.map