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"; /** * The address of the person or entity taking receipt of the wired funds. This will be populated automatically in the case of a valid first-party wire */ export type WireWithdrawalScheduleAddress = { /** * Required: Describes the city in which the entity is located. */ city?: string | undefined; /** * Required: The country code used for geolocation, identity verification, and/or mail delivery purposes. */ country?: string | undefined; /** * Required: The postal code used for geolocation, identity verification, and/or mail delivery purposes. */ postalCode?: string | undefined; /** * Required: The state code used for geolocation, identity verification, and/or mail delivery purposes. */ state?: string | undefined; /** * The street name and number relating to a party's legal or mailing address. */ streetAddress?: Array | undefined; }; /** * The beneficiary of the wire withdrawal */ export type WireWithdrawalScheduleBeneficiary = { /** * The bank account of the person or entity taking receipt of the wired funds. Limited to 25 characters if intermediaryDetails.account is set */ account?: string | undefined; /** * The name of the person or entity taking receipt of the wired funds. This field defaults to the name of the account owner and should only be populated when performing a third party wire transfer */ accountTitle?: string | undefined; /** * The address of the person or entity taking receipt of the wired funds. This will be populated automatically in the case of a valid first-party wire */ address?: WireWithdrawalScheduleAddress | null | undefined; /** * Indicates if this beneficiary is a third party beneficiary. A wire transfer is considered third party if the beneficiary is not the exact same person and/or entity that the funds originated from. This includes wire transfers where the originator account is an individual account and the beneficiary account is a joint account */ thirdParty?: boolean | undefined; }; /** * The address of the intermediary party */ export type WireWithdrawalScheduleIntermediaryAddress = { /** * Required: Describes the city in which the entity is located. */ city?: string | undefined; /** * Required: The country code used for geolocation, identity verification, and/or mail delivery purposes. */ country?: string | undefined; /** * Required: The postal code used for geolocation, identity verification, and/or mail delivery purposes. */ postalCode?: string | undefined; /** * Required: The state code used for geolocation, identity verification, and/or mail delivery purposes. */ state?: string | undefined; /** * The street name and number relating to a party's legal or mailing address. */ streetAddress?: Array | undefined; }; /** * The intermediary party */ export type Intermediary = { /** * The account number of the intermediary party */ account?: string | undefined; /** * The name of the intermediary party */ accountTitle?: string | undefined; /** * The address of the intermediary party */ address?: WireWithdrawalScheduleIntermediaryAddress | null | undefined; }; /** * The type of bank identifier specified */ export declare enum WireWithdrawalScheduleRecipientBankType { TypeUnspecified = "TYPE_UNSPECIFIED", Aba = "ABA", Bic = "BIC" } /** * The type of bank identifier specified */ export type WireWithdrawalScheduleRecipientBankTypeOpen = OpenEnum; /** * An identifier that represents ABA routing number for domestic wire or BIC for foreign wire */ export type BankId = { /** * The bank identifier */ id?: string | undefined; /** * The type of bank identifier specified */ type?: WireWithdrawalScheduleRecipientBankTypeOpen | undefined; }; /** * The address of the recipient bank / financial institution */ export type WireWithdrawalScheduleRecipientBankAddress = { /** * Required: Describes the city in which the entity is located. */ city?: string | undefined; /** * Required: The country code used for geolocation, identity verification, and/or mail delivery purposes. */ country?: string | undefined; /** * Required: The postal code used for geolocation, identity verification, and/or mail delivery purposes. */ postalCode?: string | undefined; /** * Required: The state code used for geolocation, identity verification, and/or mail delivery purposes. */ state?: string | undefined; /** * The street name and number relating to a party's legal or mailing address. */ streetAddress?: Array | undefined; }; /** * Bank details required in the case of an international wire transfer */ export type InternationalBankDetails = { /** * Any additional information to be communicated to the recipient bank, such as intermediary banks to be used. */ additionalInfo?: string | undefined; /** * The address of the recipient bank / financial institution */ address?: WireWithdrawalScheduleRecipientBankAddress | null | undefined; /** * The name of the recipient bank / financial institution */ bankName?: string | undefined; }; /** * The recipient bank / financial institution */ export type RecipientBank = { /** * An identifier that represents ABA routing number for domestic wire or BIC for foreign wire */ bankId?: BankId | null | undefined; /** * Bank details required in the case of an international wire transfer */ internationalBankDetails?: InternationalBankDetails | null | undefined; }; /** * Fixed USD amount to withhold for taxes. */ export type WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * Percentage of total disbursement amount to withhold for taxes. */ export type WireWithdrawalSchedulePercentage = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * The federal tax withholding. */ export type WireWithdrawalScheduleFederalTaxWithholding = { /** * Fixed USD amount to withhold for taxes. */ amount?: WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount | null | undefined; /** * Percentage of total disbursement amount to withhold for taxes. */ percentage?: WireWithdrawalSchedulePercentage | null | undefined; }; /** * Fixed USD amount to withhold for taxes. */ export type WireWithdrawalScheduleRetirementDistributionAmount = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * Percentage of total disbursement amount to withhold for taxes. */ export type WireWithdrawalScheduleRetirementDistributionPercentage = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * The state tax withholding. */ export type WireWithdrawalScheduleStateTaxWithholding = { /** * Fixed USD amount to withhold for taxes. */ amount?: WireWithdrawalScheduleRetirementDistributionAmount | null | undefined; /** * Percentage of total disbursement amount to withhold for taxes. */ percentage?: WireWithdrawalScheduleRetirementDistributionPercentage | null | undefined; }; /** * The type of retirement distribution. */ export declare enum WireWithdrawalScheduleType { TypeUnspecified = "TYPE_UNSPECIFIED", Normal = "NORMAL", Disability = "DISABILITY", Sosepp = "SOSEPP", Premature = "PREMATURE", Death = "DEATH", ExcessContributionRemovalBeforeTaxDeadline = "EXCESS_CONTRIBUTION_REMOVAL_BEFORE_TAX_DEADLINE", ExcessContributionRemovalAfterTaxDeadline = "EXCESS_CONTRIBUTION_REMOVAL_AFTER_TAX_DEADLINE", RolloverToQualifiedPlan = "ROLLOVER_TO_QUALIFIED_PLAN", RolloverToIra = "ROLLOVER_TO_IRA", DistributionTransfer = "DISTRIBUTION_TRANSFER", RecharacterizationPriorYear = "RECHARACTERIZATION_PRIOR_YEAR", RecharacterizationCurrentYear = "RECHARACTERIZATION_CURRENT_YEAR", DistributionConversion = "DISTRIBUTION_CONVERSION", ManagementFee = "MANAGEMENT_FEE", PlanLoan401K = "PLAN_LOAN_401K", PrematureSimpleIraLessThan2Years = "PREMATURE_SIMPLE_IRA_LESS_THAN_2_YEARS", NormalRothIraGreaterThan5Years = "NORMAL_ROTH_IRA_GREATER_THAN_5_YEARS", NetIncomeAttributable = "NET_INCOME_ATTRIBUTABLE", Revocation = "REVOCATION", NonReportable = "NON_REPORTABLE", QualifiedCharitableDistribution = "QUALIFIED_CHARITABLE_DISTRIBUTION" } /** * The type of retirement distribution. */ export type WireWithdrawalScheduleTypeOpen = OpenEnum; /** * The distribution info for a retirement account */ export type WireWithdrawalScheduleRetirementDistribution = { /** * The federal tax withholding. */ federalTaxWithholding?: WireWithdrawalScheduleFederalTaxWithholding | null | undefined; /** * The institution receiving retirement funds when performing a transfer to an identical retirement account type at a different financial institution. This is required for check and wire withdrawals because we can't always identify the institution using the transfer instructions. For cash journals this value will default to "Apex Clearing", regardless of what is passed in here */ receivingInstitution?: string | undefined; /** * The state tax withholding. */ stateTaxWithholding?: WireWithdrawalScheduleStateTaxWithholding | null | undefined; /** * Whether or not this distribution has a state withholding waiver. */ stateWithholdingWaiver?: boolean | undefined; /** * Tax year for which the distribution is applied. */ taxYear?: number | undefined; /** * The type of retirement distribution. */ type?: WireWithdrawalScheduleTypeOpen | undefined; }; /** * A cash amount in the format of decimal value (mutually exclusive with 'full_disbursement') */ export type WireWithdrawalScheduleAmount = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * The schedule end date if there is a finite number of occurrences */ export type WireWithdrawalScheduleEndDate = { /** * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */ day?: number | undefined; /** * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */ month?: number | undefined; /** * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ year?: number | undefined; }; /** * The schedule start date */ export type WireWithdrawalScheduleStartDate = { /** * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */ day?: number | undefined; /** * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */ month?: number | undefined; /** * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ year?: number | undefined; }; /** * The state of the represented schedule */ export declare enum WireWithdrawalScheduleState { Active = "ACTIVE", Canceled = "CANCELED", Completed = "COMPLETED" } /** * The state of the represented schedule */ export type WireWithdrawalScheduleStateOpen = OpenEnum; /** * The time unit used to calculate the interval between transfers. The time period between transfers in a scheduled series is the unit of time times the multiplier */ export declare enum WireWithdrawalScheduleTimeUnit { Day = "DAY", Week = "WEEK", Month = "MONTH" } /** * The time unit used to calculate the interval between transfers. The time period between transfers in a scheduled series is the unit of time times the multiplier */ export type WireWithdrawalScheduleTimeUnitOpen = OpenEnum; /** * Common schedule properties */ export type WireWithdrawalScheduleScheduleProperties = { /** * The schedule end date if there is a finite number of occurrences */ endDate?: WireWithdrawalScheduleEndDate | null | undefined; /** * The number of occurrences (empty or 0 indicates unlimited occurrences) */ occurrences?: number | undefined; /** * The schedule start date */ startDate?: WireWithdrawalScheduleStartDate | null | undefined; /** * The state of the represented schedule */ state?: WireWithdrawalScheduleStateOpen | undefined; /** * The time unit used to calculate the interval between transfers. The time period between transfers in a scheduled series is the unit of time times the multiplier */ timeUnit?: WireWithdrawalScheduleTimeUnitOpen | undefined; /** * The multiplier used to determine the length of the interval between transfers. The time period between transfers in a scheduled series is the unit of time times the multiplier */ unitMultiplier?: number | undefined; }; /** * The transfer schedule details */ export type WireWithdrawalScheduleScheduleDetails = { /** * A cash amount in the format of decimal value (mutually exclusive with 'full_disbursement') */ amount?: WireWithdrawalScheduleAmount | null | undefined; /** * External identifier supplied by the API caller. Each request must have a unique pairing of client_schedule_id and account */ clientScheduleId?: string | undefined; /** * Flag to indicate a full disbursement transfer (mutually exclusive with 'amount') */ fullDisbursement?: boolean | undefined; /** * Common schedule properties */ scheduleProperties?: WireWithdrawalScheduleScheduleProperties | null | undefined; }; /** * A withdrawal transfer schedule using the Wire mechanism */ export type WireWithdrawalSchedule = { /** * The beneficiary of the wire withdrawal */ beneficiary?: WireWithdrawalScheduleBeneficiary | null | undefined; /** * The intermediary party */ intermediary?: Intermediary | null | undefined; /** * The name of the Wire Withdrawal transfer schedule */ name?: string | undefined; /** * The recipient bank / financial institution */ recipientBank?: RecipientBank | null | undefined; /** * The distribution info for a retirement account */ retirementDistribution?: WireWithdrawalScheduleRetirementDistribution | null | undefined; /** * The transfer schedule details */ scheduleDetails?: WireWithdrawalScheduleScheduleDetails | null | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleAddress$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleAddress$Outbound = { city?: string | undefined; country?: string | undefined; postal_code?: string | undefined; state?: string | undefined; streetAddress?: Array | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleAddress$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 WireWithdrawalScheduleAddress$ { /** @deprecated use `WireWithdrawalScheduleAddress$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleAddress$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleAddress$Outbound` instead. */ type Outbound = WireWithdrawalScheduleAddress$Outbound; } export declare function wireWithdrawalScheduleAddressToJSON(wireWithdrawalScheduleAddress: WireWithdrawalScheduleAddress): string; export declare function wireWithdrawalScheduleAddressFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleBeneficiary$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleBeneficiary$Outbound = { account?: string | undefined; account_title?: string | undefined; address?: WireWithdrawalScheduleAddress$Outbound | null | undefined; third_party?: boolean | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleBeneficiary$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 WireWithdrawalScheduleBeneficiary$ { /** @deprecated use `WireWithdrawalScheduleBeneficiary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleBeneficiary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleBeneficiary$Outbound` instead. */ type Outbound = WireWithdrawalScheduleBeneficiary$Outbound; } export declare function wireWithdrawalScheduleBeneficiaryToJSON(wireWithdrawalScheduleBeneficiary: WireWithdrawalScheduleBeneficiary): string; export declare function wireWithdrawalScheduleBeneficiaryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleIntermediaryAddress$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleIntermediaryAddress$Outbound = { city?: string | undefined; country?: string | undefined; postal_code?: string | undefined; state?: string | undefined; streetAddress?: Array | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleIntermediaryAddress$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 WireWithdrawalScheduleIntermediaryAddress$ { /** @deprecated use `WireWithdrawalScheduleIntermediaryAddress$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleIntermediaryAddress$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleIntermediaryAddress$Outbound` instead. */ type Outbound = WireWithdrawalScheduleIntermediaryAddress$Outbound; } export declare function wireWithdrawalScheduleIntermediaryAddressToJSON(wireWithdrawalScheduleIntermediaryAddress: WireWithdrawalScheduleIntermediaryAddress): string; export declare function wireWithdrawalScheduleIntermediaryAddressFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Intermediary$inboundSchema: z.ZodType; /** @internal */ export type Intermediary$Outbound = { account?: string | undefined; account_title?: string | undefined; address?: WireWithdrawalScheduleIntermediaryAddress$Outbound | null | undefined; }; /** @internal */ export declare const Intermediary$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 Intermediary$ { /** @deprecated use `Intermediary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Intermediary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Intermediary$Outbound` instead. */ type Outbound = Intermediary$Outbound; } export declare function intermediaryToJSON(intermediary: Intermediary): string; export declare function intermediaryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleRecipientBankType$inboundSchema: z.ZodType; /** @internal */ export declare const WireWithdrawalScheduleRecipientBankType$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 WireWithdrawalScheduleRecipientBankType$ { /** @deprecated use `WireWithdrawalScheduleRecipientBankType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRecipientBankType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const BankId$inboundSchema: z.ZodType; /** @internal */ export type BankId$Outbound = { id?: string | undefined; type?: string | undefined; }; /** @internal */ export declare const BankId$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 BankId$ { /** @deprecated use `BankId$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BankId$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BankId$Outbound` instead. */ type Outbound = BankId$Outbound; } export declare function bankIdToJSON(bankId: BankId): string; export declare function bankIdFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleRecipientBankAddress$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleRecipientBankAddress$Outbound = { city?: string | undefined; country?: string | undefined; postal_code?: string | undefined; state?: string | undefined; streetAddress?: Array | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleRecipientBankAddress$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 WireWithdrawalScheduleRecipientBankAddress$ { /** @deprecated use `WireWithdrawalScheduleRecipientBankAddress$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRecipientBankAddress$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRecipientBankAddress$Outbound` instead. */ type Outbound = WireWithdrawalScheduleRecipientBankAddress$Outbound; } export declare function wireWithdrawalScheduleRecipientBankAddressToJSON(wireWithdrawalScheduleRecipientBankAddress: WireWithdrawalScheduleRecipientBankAddress): string; export declare function wireWithdrawalScheduleRecipientBankAddressFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const InternationalBankDetails$inboundSchema: z.ZodType; /** @internal */ export type InternationalBankDetails$Outbound = { additional_info?: string | undefined; address?: WireWithdrawalScheduleRecipientBankAddress$Outbound | null | undefined; bank_name?: string | undefined; }; /** @internal */ export declare const InternationalBankDetails$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 InternationalBankDetails$ { /** @deprecated use `InternationalBankDetails$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `InternationalBankDetails$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `InternationalBankDetails$Outbound` instead. */ type Outbound = InternationalBankDetails$Outbound; } export declare function internationalBankDetailsToJSON(internationalBankDetails: InternationalBankDetails): string; export declare function internationalBankDetailsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RecipientBank$inboundSchema: z.ZodType; /** @internal */ export type RecipientBank$Outbound = { bank_id?: BankId$Outbound | null | undefined; international_bank_details?: InternationalBankDetails$Outbound | null | undefined; }; /** @internal */ export declare const RecipientBank$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 RecipientBank$ { /** @deprecated use `RecipientBank$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RecipientBank$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `RecipientBank$Outbound` instead. */ type Outbound = RecipientBank$Outbound; } export declare function recipientBankToJSON(recipientBank: RecipientBank): string; export declare function recipientBankFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount$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 WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount$ { /** @deprecated use `WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount$Outbound` instead. */ type Outbound = WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount$Outbound; } export declare function wireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmountToJSON(wireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount: WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount): string; export declare function wireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalSchedulePercentage$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalSchedulePercentage$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalSchedulePercentage$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 WireWithdrawalSchedulePercentage$ { /** @deprecated use `WireWithdrawalSchedulePercentage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalSchedulePercentage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalSchedulePercentage$Outbound` instead. */ type Outbound = WireWithdrawalSchedulePercentage$Outbound; } export declare function wireWithdrawalSchedulePercentageToJSON(wireWithdrawalSchedulePercentage: WireWithdrawalSchedulePercentage): string; export declare function wireWithdrawalSchedulePercentageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleFederalTaxWithholding$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleFederalTaxWithholding$Outbound = { amount?: WireWithdrawalScheduleRetirementDistributionFederalTaxWithholdingAmount$Outbound | null | undefined; percentage?: WireWithdrawalSchedulePercentage$Outbound | null | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleFederalTaxWithholding$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 WireWithdrawalScheduleFederalTaxWithholding$ { /** @deprecated use `WireWithdrawalScheduleFederalTaxWithholding$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleFederalTaxWithholding$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleFederalTaxWithholding$Outbound` instead. */ type Outbound = WireWithdrawalScheduleFederalTaxWithholding$Outbound; } export declare function wireWithdrawalScheduleFederalTaxWithholdingToJSON(wireWithdrawalScheduleFederalTaxWithholding: WireWithdrawalScheduleFederalTaxWithholding): string; export declare function wireWithdrawalScheduleFederalTaxWithholdingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleRetirementDistributionAmount$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleRetirementDistributionAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleRetirementDistributionAmount$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 WireWithdrawalScheduleRetirementDistributionAmount$ { /** @deprecated use `WireWithdrawalScheduleRetirementDistributionAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRetirementDistributionAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRetirementDistributionAmount$Outbound` instead. */ type Outbound = WireWithdrawalScheduleRetirementDistributionAmount$Outbound; } export declare function wireWithdrawalScheduleRetirementDistributionAmountToJSON(wireWithdrawalScheduleRetirementDistributionAmount: WireWithdrawalScheduleRetirementDistributionAmount): string; export declare function wireWithdrawalScheduleRetirementDistributionAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleRetirementDistributionPercentage$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleRetirementDistributionPercentage$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleRetirementDistributionPercentage$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 WireWithdrawalScheduleRetirementDistributionPercentage$ { /** @deprecated use `WireWithdrawalScheduleRetirementDistributionPercentage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRetirementDistributionPercentage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRetirementDistributionPercentage$Outbound` instead. */ type Outbound = WireWithdrawalScheduleRetirementDistributionPercentage$Outbound; } export declare function wireWithdrawalScheduleRetirementDistributionPercentageToJSON(wireWithdrawalScheduleRetirementDistributionPercentage: WireWithdrawalScheduleRetirementDistributionPercentage): string; export declare function wireWithdrawalScheduleRetirementDistributionPercentageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleStateTaxWithholding$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleStateTaxWithholding$Outbound = { amount?: WireWithdrawalScheduleRetirementDistributionAmount$Outbound | null | undefined; percentage?: WireWithdrawalScheduleRetirementDistributionPercentage$Outbound | null | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleStateTaxWithholding$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 WireWithdrawalScheduleStateTaxWithholding$ { /** @deprecated use `WireWithdrawalScheduleStateTaxWithholding$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleStateTaxWithholding$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleStateTaxWithholding$Outbound` instead. */ type Outbound = WireWithdrawalScheduleStateTaxWithholding$Outbound; } export declare function wireWithdrawalScheduleStateTaxWithholdingToJSON(wireWithdrawalScheduleStateTaxWithholding: WireWithdrawalScheduleStateTaxWithholding): string; export declare function wireWithdrawalScheduleStateTaxWithholdingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleType$inboundSchema: z.ZodType; /** @internal */ export declare const WireWithdrawalScheduleType$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 WireWithdrawalScheduleType$ { /** @deprecated use `WireWithdrawalScheduleType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const WireWithdrawalScheduleRetirementDistribution$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleRetirementDistribution$Outbound = { federal_tax_withholding?: WireWithdrawalScheduleFederalTaxWithholding$Outbound | null | undefined; receiving_institution?: string | undefined; state_tax_withholding?: WireWithdrawalScheduleStateTaxWithholding$Outbound | null | undefined; state_withholding_waiver?: boolean | undefined; tax_year?: number | undefined; type?: string | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleRetirementDistribution$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 WireWithdrawalScheduleRetirementDistribution$ { /** @deprecated use `WireWithdrawalScheduleRetirementDistribution$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRetirementDistribution$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleRetirementDistribution$Outbound` instead. */ type Outbound = WireWithdrawalScheduleRetirementDistribution$Outbound; } export declare function wireWithdrawalScheduleRetirementDistributionToJSON(wireWithdrawalScheduleRetirementDistribution: WireWithdrawalScheduleRetirementDistribution): string; export declare function wireWithdrawalScheduleRetirementDistributionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleAmount$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleAmount$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 WireWithdrawalScheduleAmount$ { /** @deprecated use `WireWithdrawalScheduleAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleAmount$Outbound` instead. */ type Outbound = WireWithdrawalScheduleAmount$Outbound; } export declare function wireWithdrawalScheduleAmountToJSON(wireWithdrawalScheduleAmount: WireWithdrawalScheduleAmount): string; export declare function wireWithdrawalScheduleAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleEndDate$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleEndDate$Outbound = { day?: number | undefined; month?: number | undefined; year?: number | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleEndDate$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 WireWithdrawalScheduleEndDate$ { /** @deprecated use `WireWithdrawalScheduleEndDate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleEndDate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleEndDate$Outbound` instead. */ type Outbound = WireWithdrawalScheduleEndDate$Outbound; } export declare function wireWithdrawalScheduleEndDateToJSON(wireWithdrawalScheduleEndDate: WireWithdrawalScheduleEndDate): string; export declare function wireWithdrawalScheduleEndDateFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleStartDate$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleStartDate$Outbound = { day?: number | undefined; month?: number | undefined; year?: number | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleStartDate$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 WireWithdrawalScheduleStartDate$ { /** @deprecated use `WireWithdrawalScheduleStartDate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleStartDate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleStartDate$Outbound` instead. */ type Outbound = WireWithdrawalScheduleStartDate$Outbound; } export declare function wireWithdrawalScheduleStartDateToJSON(wireWithdrawalScheduleStartDate: WireWithdrawalScheduleStartDate): string; export declare function wireWithdrawalScheduleStartDateFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleState$inboundSchema: z.ZodType; /** @internal */ export declare const WireWithdrawalScheduleState$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 WireWithdrawalScheduleState$ { /** @deprecated use `WireWithdrawalScheduleState$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleState$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const WireWithdrawalScheduleTimeUnit$inboundSchema: z.ZodType; /** @internal */ export declare const WireWithdrawalScheduleTimeUnit$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 WireWithdrawalScheduleTimeUnit$ { /** @deprecated use `WireWithdrawalScheduleTimeUnit$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleTimeUnit$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const WireWithdrawalScheduleScheduleProperties$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleScheduleProperties$Outbound = { end_date?: WireWithdrawalScheduleEndDate$Outbound | null | undefined; occurrences?: number | undefined; start_date?: WireWithdrawalScheduleStartDate$Outbound | null | undefined; state?: string | undefined; time_unit?: string | undefined; unit_multiplier?: number | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleScheduleProperties$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 WireWithdrawalScheduleScheduleProperties$ { /** @deprecated use `WireWithdrawalScheduleScheduleProperties$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleScheduleProperties$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleScheduleProperties$Outbound` instead. */ type Outbound = WireWithdrawalScheduleScheduleProperties$Outbound; } export declare function wireWithdrawalScheduleSchedulePropertiesToJSON(wireWithdrawalScheduleScheduleProperties: WireWithdrawalScheduleScheduleProperties): string; export declare function wireWithdrawalScheduleSchedulePropertiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalScheduleScheduleDetails$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalScheduleScheduleDetails$Outbound = { amount?: WireWithdrawalScheduleAmount$Outbound | null | undefined; client_schedule_id?: string | undefined; full_disbursement?: boolean | undefined; schedule_properties?: WireWithdrawalScheduleScheduleProperties$Outbound | null | undefined; }; /** @internal */ export declare const WireWithdrawalScheduleScheduleDetails$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 WireWithdrawalScheduleScheduleDetails$ { /** @deprecated use `WireWithdrawalScheduleScheduleDetails$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleScheduleDetails$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalScheduleScheduleDetails$Outbound` instead. */ type Outbound = WireWithdrawalScheduleScheduleDetails$Outbound; } export declare function wireWithdrawalScheduleScheduleDetailsToJSON(wireWithdrawalScheduleScheduleDetails: WireWithdrawalScheduleScheduleDetails): string; export declare function wireWithdrawalScheduleScheduleDetailsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalSchedule$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalSchedule$Outbound = { beneficiary?: WireWithdrawalScheduleBeneficiary$Outbound | null | undefined; intermediary?: Intermediary$Outbound | null | undefined; name?: string | undefined; recipient_bank?: RecipientBank$Outbound | null | undefined; retirement_distribution?: WireWithdrawalScheduleRetirementDistribution$Outbound | null | undefined; schedule_details?: WireWithdrawalScheduleScheduleDetails$Outbound | null | undefined; }; /** @internal */ export declare const WireWithdrawalSchedule$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 WireWithdrawalSchedule$ { /** @deprecated use `WireWithdrawalSchedule$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalSchedule$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalSchedule$Outbound` instead. */ type Outbound = WireWithdrawalSchedule$Outbound; } export declare function wireWithdrawalScheduleToJSON(wireWithdrawalSchedule: WireWithdrawalSchedule): string; export declare function wireWithdrawalScheduleFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=wirewithdrawalschedule.d.ts.map