import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BankAccountUpdate, BankAccountUpdate$Outbound } from "./bankaccountupdate.js"; /** * A relationship between a bank account and an Apex account. */ export type BankRelationshipUpdate = { /** * A representation of a bank account. */ bankAccount?: BankAccountUpdate | undefined; /** * The nickname of the bank relationship. */ nickname?: string | undefined; /** * A processor token from Plaid (vendor). Required if using `PLAID_TOKEN` verification method. */ plaidProcessorToken?: string | undefined; }; /** @internal */ export declare const BankRelationshipUpdate$inboundSchema: z.ZodType; /** @internal */ export type BankRelationshipUpdate$Outbound = { bank_account?: BankAccountUpdate$Outbound | undefined; nickname?: string | undefined; plaid_processor_token?: string | undefined; }; /** @internal */ export declare const BankRelationshipUpdate$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 BankRelationshipUpdate$ { /** @deprecated use `BankRelationshipUpdate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BankRelationshipUpdate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BankRelationshipUpdate$Outbound` instead. */ type Outbound = BankRelationshipUpdate$Outbound; } export declare function bankRelationshipUpdateToJSON(bankRelationshipUpdate: BankRelationshipUpdate): string; export declare function bankRelationshipUpdateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bankrelationshipupdate.d.ts.map