import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { WebhookBillingStatementCreated, WebhookBillingStatementCreated$Outbound } from "./webhookbillingstatementcreated.js"; import { WebhookDataAccountCreated, WebhookDataAccountCreated$Outbound } from "./webhookdataaccountcreated.js"; import { WebhookDataAccountDisconnected, WebhookDataAccountDisconnected$Outbound } from "./webhookdataaccountdisconnected.js"; import { WebhookDataAccountUpdated, WebhookDataAccountUpdated$Outbound } from "./webhookdataaccountupdated.js"; import { WebhookDataBalanceUpdated, WebhookDataBalanceUpdated$Outbound } from "./webhookdatabalanceupdated.js"; import { WebhookDataBankAccountCreated, WebhookDataBankAccountCreated$Outbound } from "./webhookdatabankaccountcreated.js"; import { WebhookDataBankAccountDeleted, WebhookDataBankAccountDeleted$Outbound } from "./webhookdatabankaccountdeleted.js"; import { WebhookDataBankAccountUpdated, WebhookDataBankAccountUpdated$Outbound } from "./webhookdatabankaccountupdated.js"; import { WebhookDataCancellationCreated, WebhookDataCancellationCreated$Outbound } from "./webhookdatacancellationcreated.js"; import { WebhookDataCancellationUpdated, WebhookDataCancellationUpdated$Outbound } from "./webhookdatacancellationupdated.js"; import { WebhookDataCapabilityRequested, WebhookDataCapabilityRequested$Outbound } from "./webhookdatacapabilityrequested.js"; import { WebhookDataCapabilityUpdated, WebhookDataCapabilityUpdated$Outbound } from "./webhookdatacapabilityupdated.js"; import { WebhookDataCardAutoUpdated, WebhookDataCardAutoUpdated$Outbound } from "./webhookdatacardautoupdated.js"; import { WebhookDataDisputeCreated, WebhookDataDisputeCreated$Outbound } from "./webhookdatadisputecreated.js"; import { WebhookDataDisputeUpdated, WebhookDataDisputeUpdated$Outbound } from "./webhookdatadisputeupdated.js"; import { WebhookDataInvoiceCreated, WebhookDataInvoiceCreated$Outbound } from "./webhookdatainvoicecreated.js"; import { WebhookDataInvoiceUpdated, WebhookDataInvoiceUpdated$Outbound } from "./webhookdatainvoiceupdated.js"; import { WebhookDataNetworkIDUpdated, WebhookDataNetworkIDUpdated$Outbound } from "./webhookdatanetworkidupdated.js"; import { WebhookDataPaymentMethodDisabled, WebhookDataPaymentMethodDisabled$Outbound } from "./webhookdatapaymentmethoddisabled.js"; import { WebhookDataPaymentMethodEnabled, WebhookDataPaymentMethodEnabled$Outbound } from "./webhookdatapaymentmethodenabled.js"; import { WebhookDataRefundCreated, WebhookDataRefundCreated$Outbound } from "./webhookdatarefundcreated.js"; import { WebhookDataRefundUpdated, WebhookDataRefundUpdated$Outbound } from "./webhookdatarefundupdated.js"; import { WebhookDataRepresentativeCreated, WebhookDataRepresentativeCreated$Outbound } from "./webhookdatarepresentativecreated.js"; import { WebhookDataRepresentativeDisabled, WebhookDataRepresentativeDisabled$Outbound } from "./webhookdatarepresentativedisabled.js"; import { WebhookDataRepresentativeUpdated, WebhookDataRepresentativeUpdated$Outbound } from "./webhookdatarepresentativeupdated.js"; import { WebhookDataSweepCreated, WebhookDataSweepCreated$Outbound } from "./webhookdatasweepcreated.js"; import { WebhookDataSweepUpdated, WebhookDataSweepUpdated$Outbound } from "./webhookdatasweepupdated.js"; import { WebhookDataTerminalApplicationCreated, WebhookDataTerminalApplicationCreated$Outbound } from "./webhookdataterminalapplicationcreated.js"; import { WebhookDataTerminalApplicationUpdated, WebhookDataTerminalApplicationUpdated$Outbound } from "./webhookdataterminalapplicationupdated.js"; import { WebhookDataTicketCreated, WebhookDataTicketCreated$Outbound } from "./webhookdataticketcreated.js"; import { WebhookDataTicketMessageAdded, WebhookDataTicketMessageAdded$Outbound } from "./webhookdataticketmessageadded.js"; import { WebhookDataTicketUpdated, WebhookDataTicketUpdated$Outbound } from "./webhookdataticketupdated.js"; import { WebhookDataTransferCreated, WebhookDataTransferCreated$Outbound } from "./webhookdatatransfercreated.js"; import { WebhookDataTransferUpdated, WebhookDataTransferUpdated$Outbound } from "./webhookdatatransferupdated.js"; import { WebhookDataWalletCreated, WebhookDataWalletCreated$Outbound } from "./webhookdatawalletcreated.js"; import { WebhookDataWalletTransactionUpdated, WebhookDataWalletTransactionUpdated$Outbound } from "./webhookdatawallettransactionupdated.js"; import { WebhookDataWalletUpdated, WebhookDataWalletUpdated$Outbound } from "./webhookdatawalletupdated.js"; /** * The data for the webhook event. The contents are based on the event type. */ export type WebhookData = WebhookDataDisputeCreated | WebhookDataDisputeUpdated | WebhookDataTransferUpdated | WebhookDataBankAccountUpdated | WebhookDataRefundUpdated | WebhookDataWalletTransactionUpdated | WebhookDataCancellationCreated | WebhookDataCancellationUpdated | WebhookDataCardAutoUpdated | WebhookDataCapabilityUpdated | WebhookDataInvoiceUpdated | WebhookDataPaymentMethodEnabled | WebhookDataPaymentMethodDisabled | WebhookDataRefundCreated | WebhookDataSweepUpdated | WebhookDataTicketUpdated | WebhookDataTransferCreated | WebhookDataWalletUpdated | WebhookDataBalanceUpdated | WebhookDataBankAccountCreated | WebhookDataBankAccountDeleted | WebhookDataCapabilityRequested | WebhookDataInvoiceCreated | WebhookDataRepresentativeCreated | WebhookDataRepresentativeUpdated | WebhookDataRepresentativeDisabled | WebhookDataSweepCreated | WebhookDataTerminalApplicationCreated | WebhookDataTerminalApplicationUpdated | WebhookDataTicketCreated | WebhookDataTicketMessageAdded | WebhookDataWalletCreated | WebhookDataAccountCreated | WebhookDataAccountUpdated | WebhookDataAccountDisconnected | WebhookDataNetworkIDUpdated | WebhookBillingStatementCreated; /** @internal */ export declare const WebhookData$inboundSchema: z.ZodType; /** @internal */ export type WebhookData$Outbound = WebhookDataDisputeCreated$Outbound | WebhookDataDisputeUpdated$Outbound | WebhookDataTransferUpdated$Outbound | WebhookDataBankAccountUpdated$Outbound | WebhookDataRefundUpdated$Outbound | WebhookDataWalletTransactionUpdated$Outbound | WebhookDataCancellationCreated$Outbound | WebhookDataCancellationUpdated$Outbound | WebhookDataCardAutoUpdated$Outbound | WebhookDataCapabilityUpdated$Outbound | WebhookDataInvoiceUpdated$Outbound | WebhookDataPaymentMethodEnabled$Outbound | WebhookDataPaymentMethodDisabled$Outbound | WebhookDataRefundCreated$Outbound | WebhookDataSweepUpdated$Outbound | WebhookDataTicketUpdated$Outbound | WebhookDataTransferCreated$Outbound | WebhookDataWalletUpdated$Outbound | WebhookDataBalanceUpdated$Outbound | WebhookDataBankAccountCreated$Outbound | WebhookDataBankAccountDeleted$Outbound | WebhookDataCapabilityRequested$Outbound | WebhookDataInvoiceCreated$Outbound | WebhookDataRepresentativeCreated$Outbound | WebhookDataRepresentativeUpdated$Outbound | WebhookDataRepresentativeDisabled$Outbound | WebhookDataSweepCreated$Outbound | WebhookDataTerminalApplicationCreated$Outbound | WebhookDataTerminalApplicationUpdated$Outbound | WebhookDataTicketCreated$Outbound | WebhookDataTicketMessageAdded$Outbound | WebhookDataWalletCreated$Outbound | WebhookDataAccountCreated$Outbound | WebhookDataAccountUpdated$Outbound | WebhookDataAccountDisconnected$Outbound | WebhookDataNetworkIDUpdated$Outbound | WebhookBillingStatementCreated$Outbound; /** @internal */ export declare const WebhookData$outboundSchema: z.ZodType; export declare function webhookDataToJSON(webhookData: WebhookData): string; export declare function webhookDataFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookdata.d.ts.map