import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Customer, Customer$Outbound } from "./customer.js"; /** * Sent when a new customer is created. * * @remarks * * A customer can be created: * * * After a successful checkout. * * Programmatically via the API. * * **Discord & Slack support:** Basic */ export type WebhookCustomerCreatedPayload = { type: "customer.created"; timestamp: Date; data: Customer; }; /** @internal */ export declare const WebhookCustomerCreatedPayload$inboundSchema: z.ZodMiniType; /** @internal */ export type WebhookCustomerCreatedPayload$Outbound = { type: "customer.created"; timestamp: string; data: Customer$Outbound; }; /** @internal */ export declare const WebhookCustomerCreatedPayload$outboundSchema: z.ZodMiniType; export declare function webhookCustomerCreatedPayloadToJSON(webhookCustomerCreatedPayload: WebhookCustomerCreatedPayload): string; export declare function webhookCustomerCreatedPayloadFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookcustomercreatedpayload.d.ts.map