import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Address, Address$Outbound } from "./address.js"; /** * Recipient of an account funding transaction */ export type Recipient = { /** * The first name of the recipient. */ firstName: string; /** * The last name of the recipient. */ lastName: string; /** * The recipient of the fund's address. */ address?: Address | null | undefined; /** * The account number of the recipient. Depending on the type of funds transfer, this could be a wallet ID, bank accoutn number, or email address. */ accountNumber?: string | null | undefined; /** * The date of birth of the recipient. */ dateOfBirth?: RFCDate | null | undefined; }; /** @internal */ export declare const Recipient$inboundSchema: z.ZodType; /** @internal */ export type Recipient$Outbound = { first_name: string; last_name: string; address?: Address$Outbound | null | undefined; account_number?: string | null | undefined; date_of_birth?: string | null | undefined; }; /** @internal */ export declare const Recipient$outboundSchema: z.ZodType; export declare function recipientToJSON(recipient: Recipient): string; export declare function recipientFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=recipient.d.ts.map