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"; import { ForeignNaturalPersonAccountEnrollmentMetadataCreate, ForeignNaturalPersonAccountEnrollmentMetadataCreate$Outbound } from "./foreignnaturalpersonaccountenrollmentmetadatacreate.js"; /** * Option to auto-enroll in Dividend Reinvestment; defaults to DIVIDEND_REINVESTMENT_ENROLL */ export declare enum ForeignJointAccountEnrollmentMetadataCreateDividendReinvestmentPlan { AutoEnrollDividendReinvestmentUnspecified = "AUTO_ENROLL_DIVIDEND_REINVESTMENT_UNSPECIFIED", DividendReinvestmentEnroll = "DIVIDEND_REINVESTMENT_ENROLL", DividendReinvestmentDecline = "DIVIDEND_REINVESTMENT_DECLINE" } /** * Option to auto-enroll in Dividend Reinvestment; defaults to DIVIDEND_REINVESTMENT_ENROLL */ export type ForeignJointAccountEnrollmentMetadataCreateDividendReinvestmentPlanOpen = OpenEnum; /** * Option to auto-enroll in FDIC cash sweep; defaults to FDIC_CASH_SWEEP_ENROLL */ export declare enum ForeignJointAccountEnrollmentMetadataCreateFdicCashSweep { AutoEnrollFdicCashSweepUnspecified = "AUTO_ENROLL_FDIC_CASH_SWEEP_UNSPECIFIED", FdicCashSweepEnroll = "FDIC_CASH_SWEEP_ENROLL", FdicCashSweepDecline = "FDIC_CASH_SWEEP_DECLINE" } /** * Option to auto-enroll in FDIC cash sweep; defaults to FDIC_CASH_SWEEP_ENROLL */ export type ForeignJointAccountEnrollmentMetadataCreateFdicCashSweepOpen = OpenEnum; /** * Enrollment metadata for the FOREIGN_JOINT_WROS enrollment type */ export type ForeignJointAccountEnrollmentMetadataCreate = { /** * Option to auto-enroll in Dividend Reinvestment; defaults to DIVIDEND_REINVESTMENT_ENROLL */ dividendReinvestmentPlan?: ForeignJointAccountEnrollmentMetadataCreateDividendReinvestmentPlanOpen | undefined; /** * Option to auto-enroll in FDIC cash sweep; defaults to FDIC_CASH_SWEEP_ENROLL */ fdicCashSweep?: ForeignJointAccountEnrollmentMetadataCreateFdicCashSweepOpen | undefined; /** * Enrollment metadata for Accounts that have a foreign Legal Natural Person owner. */ foreignNaturalPersonAccountEnrollmentMetadata: ForeignNaturalPersonAccountEnrollmentMetadataCreate; }; /** @internal */ export declare const ForeignJointAccountEnrollmentMetadataCreateDividendReinvestmentPlan$inboundSchema: z.ZodType; /** @internal */ export declare const ForeignJointAccountEnrollmentMetadataCreateDividendReinvestmentPlan$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 ForeignJointAccountEnrollmentMetadataCreateDividendReinvestmentPlan$ { /** @deprecated use `ForeignJointAccountEnrollmentMetadataCreateDividendReinvestmentPlan$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ForeignJointAccountEnrollmentMetadataCreateDividendReinvestmentPlan$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const ForeignJointAccountEnrollmentMetadataCreateFdicCashSweep$inboundSchema: z.ZodType; /** @internal */ export declare const ForeignJointAccountEnrollmentMetadataCreateFdicCashSweep$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 ForeignJointAccountEnrollmentMetadataCreateFdicCashSweep$ { /** @deprecated use `ForeignJointAccountEnrollmentMetadataCreateFdicCashSweep$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ForeignJointAccountEnrollmentMetadataCreateFdicCashSweep$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const ForeignJointAccountEnrollmentMetadataCreate$inboundSchema: z.ZodType; /** @internal */ export type ForeignJointAccountEnrollmentMetadataCreate$Outbound = { dividend_reinvestment_plan?: string | undefined; fdic_cash_sweep?: string | undefined; foreign_natural_person_account_enrollment_metadata: ForeignNaturalPersonAccountEnrollmentMetadataCreate$Outbound; }; /** @internal */ export declare const ForeignJointAccountEnrollmentMetadataCreate$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 ForeignJointAccountEnrollmentMetadataCreate$ { /** @deprecated use `ForeignJointAccountEnrollmentMetadataCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ForeignJointAccountEnrollmentMetadataCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ForeignJointAccountEnrollmentMetadataCreate$Outbound` instead. */ type Outbound = ForeignJointAccountEnrollmentMetadataCreate$Outbound; } export declare function foreignJointAccountEnrollmentMetadataCreateToJSON(foreignJointAccountEnrollmentMetadataCreate: ForeignJointAccountEnrollmentMetadataCreate): string; export declare function foreignJointAccountEnrollmentMetadataCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=foreignjointaccountenrollmentmetadatacreate.d.ts.map