/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** * The type of event that occurred. */ export const WebhookEventType = { Wildcard: "*", AccountCreated: "account.created", AccountUpdated: "account.updated", AccountDisconnected: "account.disconnected", BalanceUpdated: "balance.updated", BankAccountCreated: "bankAccount.created", BankAccountUpdated: "bankAccount.updated", BankAccountDeleted: "bankAccount.deleted", CancellationCreated: "cancellation.created", CancellationUpdated: "cancellation.updated", CardAutoUpdated: "card.autoUpdated", CapabilityRequested: "capability.requested", CapabilityUpdated: "capability.updated", DisputeCreated: "dispute.created", DisputeUpdated: "dispute.updated", InvoiceCreated: "invoice.created", InvoiceUpdated: "invoice.updated", NetworkIDUpdated: "networkID.updated", PaymentMethodEnabled: "paymentMethod.enabled", PaymentMethodDisabled: "paymentMethod.disabled", RefundCreated: "refund.created", RefundUpdated: "refund.updated", RepresentativeCreated: "representative.created", RepresentativeUpdated: "representative.updated", RepresentativeDeleted: "representative.deleted", SweepCreated: "sweep.created", SweepUpdated: "sweep.updated", TerminalApplicationCreated: "terminalApplication.created", TerminalApplicationUpdated: "terminalApplication.updated", TicketCreated: "ticket.created", TicketUpdated: "ticket.updated", TicketMessageAdded: "ticket.messageAdded", TransferCreated: "transfer.created", TransferUpdated: "transfer.updated", WalletCreated: "wallet.created", WalletUpdated: "wallet.updated", WalletTransactionUpdated: "walletTransaction.updated", BillingStatementCreated: "billingStatement.created", } as const; /** * The type of event that occurred. */ export type WebhookEventType = ClosedEnum; /** @internal */ export const WebhookEventType$inboundSchema: z.ZodNativeEnum< typeof WebhookEventType > = z.nativeEnum(WebhookEventType); /** @internal */ export const WebhookEventType$outboundSchema: z.ZodNativeEnum< typeof WebhookEventType > = WebhookEventType$inboundSchema;