import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Order, Order$Outbound } from "./order.js"; /** * Sent when an order is updated. * * @remarks * * An order is updated when: * * * Its status changes, e.g. from `pending` to `paid`. * * It's refunded, partially or fully. * * **Discord & Slack support:** Full */ export type WebhookOrderUpdatedPayload = { type: "order.updated"; timestamp: Date; data: Order; }; /** @internal */ export declare const WebhookOrderUpdatedPayload$inboundSchema: z.ZodMiniType; /** @internal */ export type WebhookOrderUpdatedPayload$Outbound = { type: "order.updated"; timestamp: string; data: Order$Outbound; }; /** @internal */ export declare const WebhookOrderUpdatedPayload$outboundSchema: z.ZodMiniType; export declare function webhookOrderUpdatedPayloadToJSON(webhookOrderUpdatedPayload: WebhookOrderUpdatedPayload): string; export declare function webhookOrderUpdatedPayloadFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookorderupdatedpayload.d.ts.map