import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Bank account type */ export declare const AccountType: { readonly Checking: "Checking"; readonly Savings: "Savings"; }; /** * Bank account type */ export type AccountType = ClosedEnum; /** * The verification status of the bank account. * * @remarks * * 'awaiting_deposits' means the bank account is just created and money is being transferred. * 'ready_for_verification' means the micro-deposits are completed and the verification process can begin by using the verify endpoint. * 'verified' means the bank account is verified. */ export declare const VerificationStatus: { readonly AwaitingDeposits: "awaiting_deposits"; readonly ReadyForVerification: "ready_for_verification"; readonly Verified: "verified"; }; /** * The verification status of the bank account. * * @remarks * * 'awaiting_deposits' means the bank account is just created and money is being transferred. * 'ready_for_verification' means the micro-deposits are completed and the verification process can begin by using the verify endpoint. * 'verified' means the bank account is verified. */ export type VerificationStatus = ClosedEnum; /** * The verification type of the bank account. * * @remarks * * 'bank_deposits' means the bank account is connected by entering routing and accounting numbers and verifying through micro-deposits. * 'plaid' means the bank account is connected through Plaid. */ export declare const VerificationType: { readonly BankDeposits: "bank_deposits"; readonly Plaid: "plaid"; readonly PlaidExternal: "plaid_external"; }; /** * The verification type of the bank account. * * @remarks * * 'bank_deposits' means the bank account is connected by entering routing and accounting numbers and verifying through micro-deposits. * 'plaid' means the bank account is connected through Plaid. */ export type VerificationType = ClosedEnum; export declare const PlaidStatus: { readonly Connected: "connected"; readonly Disconnected: "disconnected"; }; export type PlaidStatus = ClosedEnum; /** * The company bank account */ export type CompanyBankAccount = { /** * UUID of the bank account */ uuid: string; /** * UUID of the company */ companyUuid?: string | undefined; /** * Bank account type */ accountType?: AccountType | undefined; /** * The bank account's routing number */ routingNumber?: string | undefined; /** * Masked bank account number */ hiddenAccountNumber?: string | undefined; /** * The verification status of the bank account. * * @remarks * * 'awaiting_deposits' means the bank account is just created and money is being transferred. * 'ready_for_verification' means the micro-deposits are completed and the verification process can begin by using the verify endpoint. * 'verified' means the bank account is verified. */ verificationStatus?: VerificationStatus | undefined; /** * The verification type of the bank account. * * @remarks * * 'bank_deposits' means the bank account is connected by entering routing and accounting numbers and verifying through micro-deposits. * 'plaid' means the bank account is connected through Plaid. */ verificationType?: VerificationType | undefined; /** * The Plaid connection status of the bank account. Only applies when verification type is Plaid. */ plaidStatus?: PlaidStatus | null | undefined; /** * The last fetch balance for the bank account. Please be aware that this amount does not reflect the most up-to-date balance and only applies when the verification type is Plaid. */ lastCachedBalance?: string | null | undefined; /** * The balance fetch date associated with the last_cached_balance. Only applies when verification type is Plaid. */ balanceFetchedDate?: string | null | undefined; /** * Name of bank account */ name?: string | undefined; /** * Whether the company has at least one bank account with active reverse-wire * * @remarks * funding. The same value is returned on every bank-account row in this * response. */ reverseWireEnabled?: boolean | null | undefined; }; /** @internal */ export declare const AccountType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const VerificationStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const VerificationType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PlaidStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CompanyBankAccount$inboundSchema: z.ZodType; export declare function companyBankAccountFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=companybankaccount.d.ts.map