import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Whether the holder is an individual or a business. */ export declare const HolderType: { readonly Consumer: "consumer"; readonly Business: "business"; }; /** * Whether the holder is an individual or a business. */ export type HolderType = OpenEnum; /** * The holder's relationship to the account. */ export declare const HolderRelationship: { readonly AuthorizedSigner: "authorized_signer"; readonly AuthorizedUser: "authorized_user"; readonly Business: "business"; readonly ForBenefitOf: "for_benefit_of"; readonly ForBenefitOfPrimary: "for_benefit_of_primary"; readonly ForBenefitOfPrimaryJointRestricted: "for_benefit_of_primary_joint_restricted"; readonly ForBenefitOfSecondary: "for_benefit_of_secondary"; readonly ForBenefitOfSecondaryJointRestricted: "for_benefit_of_secondary_joint_restricted"; readonly ForBenefitOfSoleOwnerRestricted: "for_benefit_of_sole_owner_restricted"; readonly PowerOfAttorney: "power_of_attorney"; readonly Primary: "primary"; readonly PrimaryBorrower: "primary_borrower"; readonly PrimaryJoint: "primary_joint"; readonly PrimaryJointTenants: "primary_joint_tenants"; readonly Secondary: "secondary"; readonly SecondaryBorrower: "secondary_borrower"; readonly SecondaryJoint: "secondary_joint"; readonly SecondaryJointTenants: "secondary_joint_tenants"; readonly SoleOwner: "sole_owner"; readonly Trustee: "trustee"; readonly UniformTransferToMinor: "uniform_transfer_to_minor"; }; /** * The holder's relationship to the account. */ export type HolderRelationship = OpenEnum; /** * A person or business that holds the source bank account. Connectors that serve account contact data to a bank-feed consumer (`intuit-bank-feeds` and `plaid-exchange`) require each holder to carry `first_name` and `last_name`, or `business_name` when the holder is a business. */ export type BankFeedAccountHolder = { /** * Whether the holder is an individual or a business. */ type?: HolderType | undefined; /** * The holder's relationship to the account. */ relationship?: HolderRelationship | undefined; /** * The holder's first name. */ firstName?: string | undefined; /** * The holder's middle name. */ middleName?: string | undefined; /** * The holder's last name. */ lastName?: string | undefined; /** * The holder's name suffix. */ suffix?: string | undefined; /** * The legal name of a business holder. */ businessName?: string | undefined; }; /** @internal */ export declare const HolderType$inboundSchema: z.ZodType; /** @internal */ export declare const HolderType$outboundSchema: z.ZodType; /** @internal */ export declare const HolderRelationship$inboundSchema: z.ZodType; /** @internal */ export declare const HolderRelationship$outboundSchema: z.ZodType; /** @internal */ export declare const BankFeedAccountHolder$inboundSchema: z.ZodType; /** @internal */ export type BankFeedAccountHolder$Outbound = { type?: string | undefined; relationship?: string | undefined; first_name?: string | undefined; middle_name?: string | undefined; last_name?: string | undefined; suffix?: string | undefined; business_name?: string | undefined; }; /** @internal */ export declare const BankFeedAccountHolder$outboundSchema: z.ZodType; export declare function bankFeedAccountHolderToJSON(bankFeedAccountHolder: BankFeedAccountHolder): string; export declare function bankFeedAccountHolderFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bankfeedaccountholder.d.ts.map