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 type of retirement contribution. */ export declare enum CashJournalScheduleType { TypeUnspecified = "TYPE_UNSPECIFIED", Regular = "REGULAR", Employee = "EMPLOYEE", Employer = "EMPLOYER", Recharacterization = "RECHARACTERIZATION", Rollover60Day = "ROLLOVER_60_DAY", RolloverDirect = "ROLLOVER_DIRECT", Transfer = "TRANSFER", TrusteeFee = "TRUSTEE_FEE", Conversion = "CONVERSION", Repayment = "REPAYMENT", ContributionNonReportable = "CONTRIBUTION_NON_REPORTABLE" } /** * The type of retirement contribution. */ export type CashJournalScheduleTypeOpen = OpenEnum; /** * The retirement contribution info for a retirement account. This must be provided when the destination account is a retirement account */ export type CashJournalScheduleRetirementContribution = { /** * Tax year for which the contribution is applied. Current year is always valid; prior year is only valid before tax deadline. Must be in "YYYY" format. */ taxYear?: number | undefined; /** * The type of retirement contribution. */ type?: CashJournalScheduleTypeOpen | undefined; }; /** * Fixed USD amount to withhold for taxes. */ export type CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount = { /** * 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 CashJournalSchedulePercentage = { /** * 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 CashJournalScheduleFederalTaxWithholding = { /** * Fixed USD amount to withhold for taxes. */ amount?: CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount | null | undefined; /** * Percentage of total disbursement amount to withhold for taxes. */ percentage?: CashJournalSchedulePercentage | null | undefined; }; /** * Fixed USD amount to withhold for taxes. */ export type CashJournalScheduleRetirementDistributionAmount = { /** * 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 CashJournalScheduleRetirementDistributionPercentage = { /** * 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 CashJournalScheduleStateTaxWithholding = { /** * Fixed USD amount to withhold for taxes. */ amount?: CashJournalScheduleRetirementDistributionAmount | null | undefined; /** * Percentage of total disbursement amount to withhold for taxes. */ percentage?: CashJournalScheduleRetirementDistributionPercentage | null | undefined; }; /** * The type of retirement distribution. */ export declare enum CashJournalScheduleRetirementDistributionType { 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 CashJournalScheduleRetirementDistributionTypeOpen = OpenEnum; /** * The retirement distribution info for a retirement account. This must be provided when the source account is a retirement account */ export type CashJournalScheduleRetirementDistribution = { /** * The federal tax withholding. */ federalTaxWithholding?: CashJournalScheduleFederalTaxWithholding | 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?: CashJournalScheduleStateTaxWithholding | 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?: CashJournalScheduleRetirementDistributionTypeOpen | undefined; }; /** * A cash amount in the format of decimal value (mutually exclusive with 'full_disbursement') */ export type CashJournalScheduleAmount = { /** * 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 CashJournalScheduleEndDate = { /** * 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 CashJournalScheduleStartDate = { /** * 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 CashJournalScheduleState { Active = "ACTIVE", Canceled = "CANCELED", Completed = "COMPLETED" } /** * The state of the represented schedule */ export type CashJournalScheduleStateOpen = 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 CashJournalScheduleTimeUnit { 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 CashJournalScheduleTimeUnitOpen = OpenEnum; /** * Common schedule properties */ export type CashJournalScheduleScheduleProperties = { /** * The schedule end date if there is a finite number of occurrences */ endDate?: CashJournalScheduleEndDate | null | undefined; /** * The number of occurrences (empty or 0 indicates unlimited occurrences) */ occurrences?: number | undefined; /** * The schedule start date */ startDate?: CashJournalScheduleStartDate | null | undefined; /** * The state of the represented schedule */ state?: CashJournalScheduleStateOpen | 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?: CashJournalScheduleTimeUnitOpen | 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 schedule details. This uses the WithdrawalScheduleDetails object in order to also support full disbursement journals. The source_account is the account debited and would be completely drawn down when schedule_details.full_disbursement == true */ export type CashJournalScheduleScheduleDetails = { /** * A cash amount in the format of decimal value (mutually exclusive with 'full_disbursement') */ amount?: CashJournalScheduleAmount | 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?: CashJournalScheduleScheduleProperties | null | undefined; }; /** * A Cash Journal transfer schedule */ export type CashJournalSchedule = { /** * The destination account for the Cash Journal */ destinationAccount?: string | undefined; /** * The name of the Cash Journal transfer schedule */ name?: string | undefined; /** * The retirement contribution info for a retirement account. This must be provided when the destination account is a retirement account */ retirementContribution?: CashJournalScheduleRetirementContribution | null | undefined; /** * The retirement distribution info for a retirement account. This must be provided when the source account is a retirement account */ retirementDistribution?: CashJournalScheduleRetirementDistribution | null | undefined; /** * The schedule details. This uses the WithdrawalScheduleDetails object in order to also support full disbursement journals. The source_account is the account debited and would be completely drawn down when schedule_details.full_disbursement == true */ scheduleDetails?: CashJournalScheduleScheduleDetails | null | undefined; /** * The source account for the Cash Journal */ sourceAccount?: string | undefined; }; /** @internal */ export declare const CashJournalScheduleType$inboundSchema: z.ZodType; /** @internal */ export declare const CashJournalScheduleType$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 CashJournalScheduleType$ { /** @deprecated use `CashJournalScheduleType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const CashJournalScheduleRetirementContribution$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleRetirementContribution$Outbound = { tax_year?: number | undefined; type?: string | undefined; }; /** @internal */ export declare const CashJournalScheduleRetirementContribution$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 CashJournalScheduleRetirementContribution$ { /** @deprecated use `CashJournalScheduleRetirementContribution$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementContribution$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementContribution$Outbound` instead. */ type Outbound = CashJournalScheduleRetirementContribution$Outbound; } export declare function cashJournalScheduleRetirementContributionToJSON(cashJournalScheduleRetirementContribution: CashJournalScheduleRetirementContribution): string; export declare function cashJournalScheduleRetirementContributionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount$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 CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount$ { /** @deprecated use `CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount$Outbound` instead. */ type Outbound = CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount$Outbound; } export declare function cashJournalScheduleRetirementDistributionFederalTaxWithholdingAmountToJSON(cashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount: CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount): string; export declare function cashJournalScheduleRetirementDistributionFederalTaxWithholdingAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalSchedulePercentage$inboundSchema: z.ZodType; /** @internal */ export type CashJournalSchedulePercentage$Outbound = { value?: string | undefined; }; /** @internal */ export declare const CashJournalSchedulePercentage$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 CashJournalSchedulePercentage$ { /** @deprecated use `CashJournalSchedulePercentage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalSchedulePercentage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalSchedulePercentage$Outbound` instead. */ type Outbound = CashJournalSchedulePercentage$Outbound; } export declare function cashJournalSchedulePercentageToJSON(cashJournalSchedulePercentage: CashJournalSchedulePercentage): string; export declare function cashJournalSchedulePercentageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleFederalTaxWithholding$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleFederalTaxWithholding$Outbound = { amount?: CashJournalScheduleRetirementDistributionFederalTaxWithholdingAmount$Outbound | null | undefined; percentage?: CashJournalSchedulePercentage$Outbound | null | undefined; }; /** @internal */ export declare const CashJournalScheduleFederalTaxWithholding$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 CashJournalScheduleFederalTaxWithholding$ { /** @deprecated use `CashJournalScheduleFederalTaxWithholding$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleFederalTaxWithholding$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleFederalTaxWithholding$Outbound` instead. */ type Outbound = CashJournalScheduleFederalTaxWithholding$Outbound; } export declare function cashJournalScheduleFederalTaxWithholdingToJSON(cashJournalScheduleFederalTaxWithholding: CashJournalScheduleFederalTaxWithholding): string; export declare function cashJournalScheduleFederalTaxWithholdingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleRetirementDistributionAmount$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleRetirementDistributionAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const CashJournalScheduleRetirementDistributionAmount$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 CashJournalScheduleRetirementDistributionAmount$ { /** @deprecated use `CashJournalScheduleRetirementDistributionAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementDistributionAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementDistributionAmount$Outbound` instead. */ type Outbound = CashJournalScheduleRetirementDistributionAmount$Outbound; } export declare function cashJournalScheduleRetirementDistributionAmountToJSON(cashJournalScheduleRetirementDistributionAmount: CashJournalScheduleRetirementDistributionAmount): string; export declare function cashJournalScheduleRetirementDistributionAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleRetirementDistributionPercentage$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleRetirementDistributionPercentage$Outbound = { value?: string | undefined; }; /** @internal */ export declare const CashJournalScheduleRetirementDistributionPercentage$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 CashJournalScheduleRetirementDistributionPercentage$ { /** @deprecated use `CashJournalScheduleRetirementDistributionPercentage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementDistributionPercentage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementDistributionPercentage$Outbound` instead. */ type Outbound = CashJournalScheduleRetirementDistributionPercentage$Outbound; } export declare function cashJournalScheduleRetirementDistributionPercentageToJSON(cashJournalScheduleRetirementDistributionPercentage: CashJournalScheduleRetirementDistributionPercentage): string; export declare function cashJournalScheduleRetirementDistributionPercentageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleStateTaxWithholding$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleStateTaxWithholding$Outbound = { amount?: CashJournalScheduleRetirementDistributionAmount$Outbound | null | undefined; percentage?: CashJournalScheduleRetirementDistributionPercentage$Outbound | null | undefined; }; /** @internal */ export declare const CashJournalScheduleStateTaxWithholding$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 CashJournalScheduleStateTaxWithholding$ { /** @deprecated use `CashJournalScheduleStateTaxWithholding$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleStateTaxWithholding$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleStateTaxWithholding$Outbound` instead. */ type Outbound = CashJournalScheduleStateTaxWithholding$Outbound; } export declare function cashJournalScheduleStateTaxWithholdingToJSON(cashJournalScheduleStateTaxWithholding: CashJournalScheduleStateTaxWithholding): string; export declare function cashJournalScheduleStateTaxWithholdingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleRetirementDistributionType$inboundSchema: z.ZodType; /** @internal */ export declare const CashJournalScheduleRetirementDistributionType$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 CashJournalScheduleRetirementDistributionType$ { /** @deprecated use `CashJournalScheduleRetirementDistributionType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementDistributionType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const CashJournalScheduleRetirementDistribution$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleRetirementDistribution$Outbound = { federal_tax_withholding?: CashJournalScheduleFederalTaxWithholding$Outbound | null | undefined; receiving_institution?: string | undefined; state_tax_withholding?: CashJournalScheduleStateTaxWithholding$Outbound | null | undefined; state_withholding_waiver?: boolean | undefined; tax_year?: number | undefined; type?: string | undefined; }; /** @internal */ export declare const CashJournalScheduleRetirementDistribution$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 CashJournalScheduleRetirementDistribution$ { /** @deprecated use `CashJournalScheduleRetirementDistribution$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementDistribution$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleRetirementDistribution$Outbound` instead. */ type Outbound = CashJournalScheduleRetirementDistribution$Outbound; } export declare function cashJournalScheduleRetirementDistributionToJSON(cashJournalScheduleRetirementDistribution: CashJournalScheduleRetirementDistribution): string; export declare function cashJournalScheduleRetirementDistributionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleAmount$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const CashJournalScheduleAmount$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 CashJournalScheduleAmount$ { /** @deprecated use `CashJournalScheduleAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleAmount$Outbound` instead. */ type Outbound = CashJournalScheduleAmount$Outbound; } export declare function cashJournalScheduleAmountToJSON(cashJournalScheduleAmount: CashJournalScheduleAmount): string; export declare function cashJournalScheduleAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleEndDate$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleEndDate$Outbound = { day?: number | undefined; month?: number | undefined; year?: number | undefined; }; /** @internal */ export declare const CashJournalScheduleEndDate$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 CashJournalScheduleEndDate$ { /** @deprecated use `CashJournalScheduleEndDate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleEndDate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleEndDate$Outbound` instead. */ type Outbound = CashJournalScheduleEndDate$Outbound; } export declare function cashJournalScheduleEndDateToJSON(cashJournalScheduleEndDate: CashJournalScheduleEndDate): string; export declare function cashJournalScheduleEndDateFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleStartDate$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleStartDate$Outbound = { day?: number | undefined; month?: number | undefined; year?: number | undefined; }; /** @internal */ export declare const CashJournalScheduleStartDate$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 CashJournalScheduleStartDate$ { /** @deprecated use `CashJournalScheduleStartDate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleStartDate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleStartDate$Outbound` instead. */ type Outbound = CashJournalScheduleStartDate$Outbound; } export declare function cashJournalScheduleStartDateToJSON(cashJournalScheduleStartDate: CashJournalScheduleStartDate): string; export declare function cashJournalScheduleStartDateFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleState$inboundSchema: z.ZodType; /** @internal */ export declare const CashJournalScheduleState$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 CashJournalScheduleState$ { /** @deprecated use `CashJournalScheduleState$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleState$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const CashJournalScheduleTimeUnit$inboundSchema: z.ZodType; /** @internal */ export declare const CashJournalScheduleTimeUnit$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 CashJournalScheduleTimeUnit$ { /** @deprecated use `CashJournalScheduleTimeUnit$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleTimeUnit$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const CashJournalScheduleScheduleProperties$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleScheduleProperties$Outbound = { end_date?: CashJournalScheduleEndDate$Outbound | null | undefined; occurrences?: number | undefined; start_date?: CashJournalScheduleStartDate$Outbound | null | undefined; state?: string | undefined; time_unit?: string | undefined; unit_multiplier?: number | undefined; }; /** @internal */ export declare const CashJournalScheduleScheduleProperties$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 CashJournalScheduleScheduleProperties$ { /** @deprecated use `CashJournalScheduleScheduleProperties$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleScheduleProperties$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleScheduleProperties$Outbound` instead. */ type Outbound = CashJournalScheduleScheduleProperties$Outbound; } export declare function cashJournalScheduleSchedulePropertiesToJSON(cashJournalScheduleScheduleProperties: CashJournalScheduleScheduleProperties): string; export declare function cashJournalScheduleSchedulePropertiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalScheduleScheduleDetails$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleScheduleDetails$Outbound = { amount?: CashJournalScheduleAmount$Outbound | null | undefined; client_schedule_id?: string | undefined; full_disbursement?: boolean | undefined; schedule_properties?: CashJournalScheduleScheduleProperties$Outbound | null | undefined; }; /** @internal */ export declare const CashJournalScheduleScheduleDetails$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 CashJournalScheduleScheduleDetails$ { /** @deprecated use `CashJournalScheduleScheduleDetails$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleScheduleDetails$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleScheduleDetails$Outbound` instead. */ type Outbound = CashJournalScheduleScheduleDetails$Outbound; } export declare function cashJournalScheduleScheduleDetailsToJSON(cashJournalScheduleScheduleDetails: CashJournalScheduleScheduleDetails): string; export declare function cashJournalScheduleScheduleDetailsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalSchedule$inboundSchema: z.ZodType; /** @internal */ export type CashJournalSchedule$Outbound = { destination_account?: string | undefined; name?: string | undefined; retirement_contribution?: CashJournalScheduleRetirementContribution$Outbound | null | undefined; retirement_distribution?: CashJournalScheduleRetirementDistribution$Outbound | null | undefined; schedule_details?: CashJournalScheduleScheduleDetails$Outbound | null | undefined; source_account?: string | undefined; }; /** @internal */ export declare const CashJournalSchedule$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 CashJournalSchedule$ { /** @deprecated use `CashJournalSchedule$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalSchedule$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalSchedule$Outbound` instead. */ type Outbound = CashJournalSchedule$Outbound; } export declare function cashJournalScheduleToJSON(cashJournalSchedule: CashJournalSchedule): string; export declare function cashJournalScheduleFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=cashjournalschedule.d.ts.map