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"; /** * A cash amount in the format of decimal value */ export type WireWithdrawalAmount = { /** * 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 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 WireWithdrawalAddress = { /** * 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 WireWithdrawalBeneficiary = { /** * 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?: WireWithdrawalAddress | 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 WireWithdrawalIntermediaryAddress = { /** * 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 WireWithdrawalIntermediary = { /** * 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?: WireWithdrawalIntermediaryAddress | null | undefined; }; /** * Fixed USD amount to withhold for taxes. */ export type WireWithdrawalIraDistributionAmount = { /** * 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 WireWithdrawalPercentage = { /** * 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 WireWithdrawalFederalTaxWithholding = { /** * Fixed USD amount to withhold for taxes. */ amount?: WireWithdrawalIraDistributionAmount | null | undefined; /** * Percentage of total disbursement amount to withhold for taxes. */ percentage?: WireWithdrawalPercentage | null | undefined; }; /** * Fixed USD amount to withhold for taxes. */ export type WireWithdrawalIraDistributionStateTaxWithholdingAmount = { /** * 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 WireWithdrawalIraDistributionPercentage = { /** * 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 WireWithdrawalStateTaxWithholding = { /** * Fixed USD amount to withhold for taxes. */ amount?: WireWithdrawalIraDistributionStateTaxWithholdingAmount | null | undefined; /** * Percentage of total disbursement amount to withhold for taxes. */ percentage?: WireWithdrawalIraDistributionPercentage | null | undefined; }; /** * The type of retirement distribution. */ export declare enum WireWithdrawalType { 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 WireWithdrawalTypeOpen = OpenEnum; /** * IRA distribution details for withdrawal from retirement account */ export type WireWithdrawalIraDistribution = { /** * The federal tax withholding. */ federalTaxWithholding?: WireWithdrawalFederalTaxWithholding | 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?: WireWithdrawalStateTaxWithholding | 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?: WireWithdrawalTypeOpen | undefined; }; /** * The type of bank identifier specified */ export declare enum WireWithdrawalRecipientBankType { TypeUnspecified = "TYPE_UNSPECIFIED", Aba = "ABA", Bic = "BIC" } /** * The type of bank identifier specified */ export type WireWithdrawalRecipientBankTypeOpen = OpenEnum; /** * An identifier that represents ABA routing number for domestic wire or BIC for foreign wire */ export type WireWithdrawalBankId = { /** * The bank identifier */ id?: string | undefined; /** * The type of bank identifier specified */ type?: WireWithdrawalRecipientBankTypeOpen | undefined; }; /** * The address of the recipient bank / financial institution */ export type WireWithdrawalRecipientBankAddress = { /** * 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 WireWithdrawalInternationalBankDetails = { /** * 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?: WireWithdrawalRecipientBankAddress | null | undefined; /** * The name of the recipient bank / financial institution */ bankName?: string | undefined; }; /** * The recipient bank / financial institution */ export type WireWithdrawalRecipientBank = { /** * An identifier that represents ABA routing number for domestic wire or BIC for foreign wire */ bankId?: WireWithdrawalBankId | null | undefined; /** * Bank details required in the case of an international wire transfer */ internationalBankDetails?: WireWithdrawalInternationalBankDetails | null | undefined; }; /** * The high level state of a transfer, one of: * * @remarks * - `PROCESSING` - The transfer is being processed and will be posted if successful. * - `PENDING_REVIEW` - The transfer is pending review and will continue processing if approved. * - `POSTED` - The transfer has been posted to the ledger and will be completed at the end of the processing window if not canceled first. * - `COMPLETED` - The transfer has been batched and completed. * - `REJECTED` - The transfer was rejected. * - `CANCELED` - The transfer was canceled. * - `RETURNED` - The transfer was returned. * - `POSTPONED` - The transfer is postponed and will resume processing during the next processing window. */ export declare enum WireWithdrawalStateState { StateUnspecified = "STATE_UNSPECIFIED", Processing = "PROCESSING", PendingReview = "PENDING_REVIEW", Posted = "POSTED", Completed = "COMPLETED", Rejected = "REJECTED", Canceled = "CANCELED", Returned = "RETURNED", Postponed = "POSTPONED" } /** * The high level state of a transfer, one of: * * @remarks * - `PROCESSING` - The transfer is being processed and will be posted if successful. * - `PENDING_REVIEW` - The transfer is pending review and will continue processing if approved. * - `POSTED` - The transfer has been posted to the ledger and will be completed at the end of the processing window if not canceled first. * - `COMPLETED` - The transfer has been batched and completed. * - `REJECTED` - The transfer was rejected. * - `CANCELED` - The transfer was canceled. * - `RETURNED` - The transfer was returned. * - `POSTPONED` - The transfer is postponed and will resume processing during the next processing window. */ export type WireWithdrawalStateStateOpen = OpenEnum; /** * The current state of the wire withdrawal */ export type WireWithdrawalState = { /** * The user or service that triggered the state update. */ actor?: string | undefined; /** * Additional description of the transfer state. */ message?: string | undefined; /** * Additional metadata relating to the transfer state. Included data depends on the state, e.g.: * * @remarks * - Rejection reasons are included when the `state` is `REJECTED` * - Reason and comment are included when `state` is `CANCELED` */ metadata?: { [k: string]: any; } | null | undefined; /** * The high level state of a transfer, one of: * * @remarks * - `PROCESSING` - The transfer is being processed and will be posted if successful. * - `PENDING_REVIEW` - The transfer is pending review and will continue processing if approved. * - `POSTED` - The transfer has been posted to the ledger and will be completed at the end of the processing window if not canceled first. * - `COMPLETED` - The transfer has been batched and completed. * - `REJECTED` - The transfer was rejected. * - `CANCELED` - The transfer was canceled. * - `RETURNED` - The transfer was returned. * - `POSTPONED` - The transfer is postponed and will resume processing during the next processing window. */ state?: WireWithdrawalStateStateOpen | undefined; /** * The time of the state update. */ updateTime?: Date | null | undefined; }; /** * A withdrawal transfer using the wire mechanism */ export type WireWithdrawal = { /** * A cash amount in the format of decimal value */ amount?: WireWithdrawalAmount | null | undefined; /** * The beneficiary of the wire withdrawal */ beneficiary?: WireWithdrawalBeneficiary | null | undefined; /** * External identifier supplied by the API caller. Each request must have a unique pairing of client_transfer_id and account */ clientTransferId?: string | undefined; /** * The FedWire reference number for the withdrawal. Only set after the transfer is completed. */ fedReferenceNumber?: string | undefined; /** * The intermediary party */ intermediary?: WireWithdrawalIntermediary | null | undefined; /** * IRA distribution details for withdrawal from retirement account */ iraDistribution?: WireWithdrawalIraDistribution | null | undefined; /** * The service generated name of the wire withdrawal */ name?: string | undefined; /** * The recipient bank / financial institution */ recipientBank?: WireWithdrawalRecipientBank | null | undefined; /** * The current state of the wire withdrawal */ state?: WireWithdrawalState | null | undefined; }; /** @internal */ export declare const WireWithdrawalAmount$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalAmount$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 WireWithdrawalAmount$ { /** @deprecated use `WireWithdrawalAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalAmount$Outbound` instead. */ type Outbound = WireWithdrawalAmount$Outbound; } export declare function wireWithdrawalAmountToJSON(wireWithdrawalAmount: WireWithdrawalAmount): string; export declare function wireWithdrawalAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalAddress$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalAddress$Outbound = { city?: string | undefined; country?: string | undefined; postal_code?: string | undefined; state?: string | undefined; streetAddress?: Array | undefined; }; /** @internal */ export declare const WireWithdrawalAddress$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 WireWithdrawalAddress$ { /** @deprecated use `WireWithdrawalAddress$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalAddress$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalAddress$Outbound` instead. */ type Outbound = WireWithdrawalAddress$Outbound; } export declare function wireWithdrawalAddressToJSON(wireWithdrawalAddress: WireWithdrawalAddress): string; export declare function wireWithdrawalAddressFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalBeneficiary$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalBeneficiary$Outbound = { account?: string | undefined; account_title?: string | undefined; address?: WireWithdrawalAddress$Outbound | null | undefined; third_party?: boolean | undefined; }; /** @internal */ export declare const WireWithdrawalBeneficiary$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 WireWithdrawalBeneficiary$ { /** @deprecated use `WireWithdrawalBeneficiary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalBeneficiary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalBeneficiary$Outbound` instead. */ type Outbound = WireWithdrawalBeneficiary$Outbound; } export declare function wireWithdrawalBeneficiaryToJSON(wireWithdrawalBeneficiary: WireWithdrawalBeneficiary): string; export declare function wireWithdrawalBeneficiaryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalIntermediaryAddress$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalIntermediaryAddress$Outbound = { city?: string | undefined; country?: string | undefined; postal_code?: string | undefined; state?: string | undefined; streetAddress?: Array | undefined; }; /** @internal */ export declare const WireWithdrawalIntermediaryAddress$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 WireWithdrawalIntermediaryAddress$ { /** @deprecated use `WireWithdrawalIntermediaryAddress$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIntermediaryAddress$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIntermediaryAddress$Outbound` instead. */ type Outbound = WireWithdrawalIntermediaryAddress$Outbound; } export declare function wireWithdrawalIntermediaryAddressToJSON(wireWithdrawalIntermediaryAddress: WireWithdrawalIntermediaryAddress): string; export declare function wireWithdrawalIntermediaryAddressFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalIntermediary$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalIntermediary$Outbound = { account?: string | undefined; account_title?: string | undefined; address?: WireWithdrawalIntermediaryAddress$Outbound | null | undefined; }; /** @internal */ export declare const WireWithdrawalIntermediary$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 WireWithdrawalIntermediary$ { /** @deprecated use `WireWithdrawalIntermediary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIntermediary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIntermediary$Outbound` instead. */ type Outbound = WireWithdrawalIntermediary$Outbound; } export declare function wireWithdrawalIntermediaryToJSON(wireWithdrawalIntermediary: WireWithdrawalIntermediary): string; export declare function wireWithdrawalIntermediaryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalIraDistributionAmount$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalIraDistributionAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalIraDistributionAmount$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 WireWithdrawalIraDistributionAmount$ { /** @deprecated use `WireWithdrawalIraDistributionAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIraDistributionAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIraDistributionAmount$Outbound` instead. */ type Outbound = WireWithdrawalIraDistributionAmount$Outbound; } export declare function wireWithdrawalIraDistributionAmountToJSON(wireWithdrawalIraDistributionAmount: WireWithdrawalIraDistributionAmount): string; export declare function wireWithdrawalIraDistributionAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalPercentage$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalPercentage$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalPercentage$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 WireWithdrawalPercentage$ { /** @deprecated use `WireWithdrawalPercentage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalPercentage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalPercentage$Outbound` instead. */ type Outbound = WireWithdrawalPercentage$Outbound; } export declare function wireWithdrawalPercentageToJSON(wireWithdrawalPercentage: WireWithdrawalPercentage): string; export declare function wireWithdrawalPercentageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalFederalTaxWithholding$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalFederalTaxWithholding$Outbound = { amount?: WireWithdrawalIraDistributionAmount$Outbound | null | undefined; percentage?: WireWithdrawalPercentage$Outbound | null | undefined; }; /** @internal */ export declare const WireWithdrawalFederalTaxWithholding$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 WireWithdrawalFederalTaxWithholding$ { /** @deprecated use `WireWithdrawalFederalTaxWithholding$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalFederalTaxWithholding$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalFederalTaxWithholding$Outbound` instead. */ type Outbound = WireWithdrawalFederalTaxWithholding$Outbound; } export declare function wireWithdrawalFederalTaxWithholdingToJSON(wireWithdrawalFederalTaxWithholding: WireWithdrawalFederalTaxWithholding): string; export declare function wireWithdrawalFederalTaxWithholdingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalIraDistributionStateTaxWithholdingAmount$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalIraDistributionStateTaxWithholdingAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalIraDistributionStateTaxWithholdingAmount$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 WireWithdrawalIraDistributionStateTaxWithholdingAmount$ { /** @deprecated use `WireWithdrawalIraDistributionStateTaxWithholdingAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIraDistributionStateTaxWithholdingAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIraDistributionStateTaxWithholdingAmount$Outbound` instead. */ type Outbound = WireWithdrawalIraDistributionStateTaxWithholdingAmount$Outbound; } export declare function wireWithdrawalIraDistributionStateTaxWithholdingAmountToJSON(wireWithdrawalIraDistributionStateTaxWithholdingAmount: WireWithdrawalIraDistributionStateTaxWithholdingAmount): string; export declare function wireWithdrawalIraDistributionStateTaxWithholdingAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalIraDistributionPercentage$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalIraDistributionPercentage$Outbound = { value?: string | undefined; }; /** @internal */ export declare const WireWithdrawalIraDistributionPercentage$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 WireWithdrawalIraDistributionPercentage$ { /** @deprecated use `WireWithdrawalIraDistributionPercentage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIraDistributionPercentage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIraDistributionPercentage$Outbound` instead. */ type Outbound = WireWithdrawalIraDistributionPercentage$Outbound; } export declare function wireWithdrawalIraDistributionPercentageToJSON(wireWithdrawalIraDistributionPercentage: WireWithdrawalIraDistributionPercentage): string; export declare function wireWithdrawalIraDistributionPercentageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalStateTaxWithholding$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalStateTaxWithholding$Outbound = { amount?: WireWithdrawalIraDistributionStateTaxWithholdingAmount$Outbound | null | undefined; percentage?: WireWithdrawalIraDistributionPercentage$Outbound | null | undefined; }; /** @internal */ export declare const WireWithdrawalStateTaxWithholding$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 WireWithdrawalStateTaxWithholding$ { /** @deprecated use `WireWithdrawalStateTaxWithholding$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalStateTaxWithholding$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalStateTaxWithholding$Outbound` instead. */ type Outbound = WireWithdrawalStateTaxWithholding$Outbound; } export declare function wireWithdrawalStateTaxWithholdingToJSON(wireWithdrawalStateTaxWithholding: WireWithdrawalStateTaxWithholding): string; export declare function wireWithdrawalStateTaxWithholdingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalType$inboundSchema: z.ZodType; /** @internal */ export declare const WireWithdrawalType$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 WireWithdrawalType$ { /** @deprecated use `WireWithdrawalType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const WireWithdrawalIraDistribution$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalIraDistribution$Outbound = { federal_tax_withholding?: WireWithdrawalFederalTaxWithholding$Outbound | null | undefined; receiving_institution?: string | undefined; state_tax_withholding?: WireWithdrawalStateTaxWithholding$Outbound | null | undefined; state_withholding_waiver?: boolean | undefined; tax_year?: number | undefined; type?: string | undefined; }; /** @internal */ export declare const WireWithdrawalIraDistribution$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 WireWithdrawalIraDistribution$ { /** @deprecated use `WireWithdrawalIraDistribution$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIraDistribution$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalIraDistribution$Outbound` instead. */ type Outbound = WireWithdrawalIraDistribution$Outbound; } export declare function wireWithdrawalIraDistributionToJSON(wireWithdrawalIraDistribution: WireWithdrawalIraDistribution): string; export declare function wireWithdrawalIraDistributionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalRecipientBankType$inboundSchema: z.ZodType; /** @internal */ export declare const WireWithdrawalRecipientBankType$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 WireWithdrawalRecipientBankType$ { /** @deprecated use `WireWithdrawalRecipientBankType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalRecipientBankType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const WireWithdrawalBankId$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalBankId$Outbound = { id?: string | undefined; type?: string | undefined; }; /** @internal */ export declare const WireWithdrawalBankId$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 WireWithdrawalBankId$ { /** @deprecated use `WireWithdrawalBankId$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalBankId$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalBankId$Outbound` instead. */ type Outbound = WireWithdrawalBankId$Outbound; } export declare function wireWithdrawalBankIdToJSON(wireWithdrawalBankId: WireWithdrawalBankId): string; export declare function wireWithdrawalBankIdFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalRecipientBankAddress$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalRecipientBankAddress$Outbound = { city?: string | undefined; country?: string | undefined; postal_code?: string | undefined; state?: string | undefined; streetAddress?: Array | undefined; }; /** @internal */ export declare const WireWithdrawalRecipientBankAddress$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 WireWithdrawalRecipientBankAddress$ { /** @deprecated use `WireWithdrawalRecipientBankAddress$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalRecipientBankAddress$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalRecipientBankAddress$Outbound` instead. */ type Outbound = WireWithdrawalRecipientBankAddress$Outbound; } export declare function wireWithdrawalRecipientBankAddressToJSON(wireWithdrawalRecipientBankAddress: WireWithdrawalRecipientBankAddress): string; export declare function wireWithdrawalRecipientBankAddressFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalInternationalBankDetails$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalInternationalBankDetails$Outbound = { additional_info?: string | undefined; address?: WireWithdrawalRecipientBankAddress$Outbound | null | undefined; bank_name?: string | undefined; }; /** @internal */ export declare const WireWithdrawalInternationalBankDetails$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 WireWithdrawalInternationalBankDetails$ { /** @deprecated use `WireWithdrawalInternationalBankDetails$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalInternationalBankDetails$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalInternationalBankDetails$Outbound` instead. */ type Outbound = WireWithdrawalInternationalBankDetails$Outbound; } export declare function wireWithdrawalInternationalBankDetailsToJSON(wireWithdrawalInternationalBankDetails: WireWithdrawalInternationalBankDetails): string; export declare function wireWithdrawalInternationalBankDetailsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalRecipientBank$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalRecipientBank$Outbound = { bank_id?: WireWithdrawalBankId$Outbound | null | undefined; international_bank_details?: WireWithdrawalInternationalBankDetails$Outbound | null | undefined; }; /** @internal */ export declare const WireWithdrawalRecipientBank$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 WireWithdrawalRecipientBank$ { /** @deprecated use `WireWithdrawalRecipientBank$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalRecipientBank$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalRecipientBank$Outbound` instead. */ type Outbound = WireWithdrawalRecipientBank$Outbound; } export declare function wireWithdrawalRecipientBankToJSON(wireWithdrawalRecipientBank: WireWithdrawalRecipientBank): string; export declare function wireWithdrawalRecipientBankFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawalStateState$inboundSchema: z.ZodType; /** @internal */ export declare const WireWithdrawalStateState$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 WireWithdrawalStateState$ { /** @deprecated use `WireWithdrawalStateState$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalStateState$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const WireWithdrawalState$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawalState$Outbound = { actor?: string | undefined; message?: string | undefined; metadata?: { [k: string]: any; } | null | undefined; state?: string | undefined; update_time?: string | null | undefined; }; /** @internal */ export declare const WireWithdrawalState$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 WireWithdrawalState$ { /** @deprecated use `WireWithdrawalState$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalState$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawalState$Outbound` instead. */ type Outbound = WireWithdrawalState$Outbound; } export declare function wireWithdrawalStateToJSON(wireWithdrawalState: WireWithdrawalState): string; export declare function wireWithdrawalStateFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WireWithdrawal$inboundSchema: z.ZodType; /** @internal */ export type WireWithdrawal$Outbound = { amount?: WireWithdrawalAmount$Outbound | null | undefined; beneficiary?: WireWithdrawalBeneficiary$Outbound | null | undefined; client_transfer_id?: string | undefined; fed_reference_number?: string | undefined; intermediary?: WireWithdrawalIntermediary$Outbound | null | undefined; ira_distribution?: WireWithdrawalIraDistribution$Outbound | null | undefined; name?: string | undefined; recipient_bank?: WireWithdrawalRecipientBank$Outbound | null | undefined; state?: WireWithdrawalState$Outbound | null | undefined; }; /** @internal */ export declare const WireWithdrawal$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 WireWithdrawal$ { /** @deprecated use `WireWithdrawal$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WireWithdrawal$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WireWithdrawal$Outbound` instead. */ type Outbound = WireWithdrawal$Outbound; } export declare function wireWithdrawalToJSON(wireWithdrawal: WireWithdrawal): string; export declare function wireWithdrawalFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=wirewithdrawal.d.ts.map