import * as z from "zod"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The bank account type. */ export declare enum BankAccountCreateType { TypeUnspecified = "TYPE_UNSPECIFIED", Checking = "CHECKING", Savings = "SAVINGS" } /** * The bank account type. */ export type BankAccountCreateTypeOpen = OpenEnum; /** * A representation of a bank account. */ export type BankAccountCreate = { /** * The bank account number. This value will be masked in responses. */ accountNumber: string; /** * The name of the bank account owner. */ owner: string; /** * The bank routing number (either ABA or BIC). */ routingNumber: string; /** * The bank account type. */ type: BankAccountCreateTypeOpen; }; /** @internal */ export declare const BankAccountCreateType$inboundSchema: z.ZodType; /** @internal */ export declare const BankAccountCreateType$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BankAccountCreateType$ { /** @deprecated use `BankAccountCreateType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BankAccountCreateType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const BankAccountCreate$inboundSchema: z.ZodType; /** @internal */ export type BankAccountCreate$Outbound = { account_number: string; owner: string; routing_number: string; type: string; }; /** @internal */ export declare const BankAccountCreate$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BankAccountCreate$ { /** @deprecated use `BankAccountCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BankAccountCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BankAccountCreate$Outbound` instead. */ type Outbound = BankAccountCreate$Outbound; } export declare function bankAccountCreateToJSON(bankAccountCreate: BankAccountCreate): string; export declare function bankAccountCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bankaccountcreate.d.ts.map