import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BankAccountException, BankAccountException$Outbound } from "./bankaccountexception.js"; import { BankAccountStatus } from "./bankaccountstatus.js"; import { BankAccountStatusReason } from "./bankaccountstatusreason.js"; export type WebhookDataBankAccountUpdated = { bankAccountID: string; accountID: string; status: BankAccountStatus; /** * The reason the bank account status changed to the current value. */ statusReason: BankAccountStatusReason; /** * Reason for, and details related to, an `errored` or `verificationFailed` bank account status. */ exceptionDetails?: BankAccountException | undefined; }; /** @internal */ export declare const WebhookDataBankAccountUpdated$inboundSchema: z.ZodType; /** @internal */ export type WebhookDataBankAccountUpdated$Outbound = { bankAccountID: string; accountID: string; status: string; statusReason: string; exceptionDetails?: BankAccountException$Outbound | undefined; }; /** @internal */ export declare const WebhookDataBankAccountUpdated$outboundSchema: z.ZodType; export declare function webhookDataBankAccountUpdatedToJSON(webhookDataBankAccountUpdated: WebhookDataBankAccountUpdated): string; export declare function webhookDataBankAccountUpdatedFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookdatabankaccountupdated.d.ts.map