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