import * as z from "zod"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DepositScheduleDetailsCreate, DepositScheduleDetailsCreate$Outbound } from "./depositscheduledetailscreate.js"; import { ScheduledRetirementContributionCreate, ScheduledRetirementContributionCreate$Outbound } from "./scheduledretirementcontributioncreate.js"; /** * The type of retirement contribution. */ export declare enum AchDepositScheduleCreateType { 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 AchDepositScheduleCreateTypeOpen = OpenEnum; /** * Deprecated: see retirement_contribution_details The ira contribution info for an IRA account. * * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. */ export type IraContribution = { /** * 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; /** * The type of retirement contribution. */ type: AchDepositScheduleCreateTypeOpen; }; /** * A deposit transfer schedule using the ACH mechanism */ export type AchDepositScheduleCreate = { /** * The name of the bank relationship to be used in the ACH transaction */ bankRelationship: string; /** * Deprecated: see retirement_contribution_details The ira contribution info for an IRA account. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ iraContribution?: IraContribution | undefined; /** * The retirement contribution details for a scheduled deposit */ retirementContribution?: ScheduledRetirementContributionCreate | undefined; /** * Details of deposit schedule transfers */ scheduleDetails: DepositScheduleDetailsCreate; }; /** @internal */ export declare const AchDepositScheduleCreateType$inboundSchema: z.ZodType; /** @internal */ export declare const AchDepositScheduleCreateType$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 AchDepositScheduleCreateType$ { /** @deprecated use `AchDepositScheduleCreateType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AchDepositScheduleCreateType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const IraContribution$inboundSchema: z.ZodType; /** @internal */ export type IraContribution$Outbound = { tax_year: number; type: string; }; /** @internal */ export declare const IraContribution$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 IraContribution$ { /** @deprecated use `IraContribution$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IraContribution$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IraContribution$Outbound` instead. */ type Outbound = IraContribution$Outbound; } export declare function iraContributionToJSON(iraContribution: IraContribution): string; export declare function iraContributionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AchDepositScheduleCreate$inboundSchema: z.ZodType; /** @internal */ export type AchDepositScheduleCreate$Outbound = { bank_relationship: string; ira_contribution?: IraContribution$Outbound | undefined; retirement_contribution?: ScheduledRetirementContributionCreate$Outbound | undefined; schedule_details: DepositScheduleDetailsCreate$Outbound; }; /** @internal */ export declare const AchDepositScheduleCreate$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 AchDepositScheduleCreate$ { /** @deprecated use `AchDepositScheduleCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AchDepositScheduleCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AchDepositScheduleCreate$Outbound` instead. */ type Outbound = AchDepositScheduleCreate$Outbound; } export declare function achDepositScheduleCreateToJSON(achDepositScheduleCreate: AchDepositScheduleCreate): string; export declare function achDepositScheduleCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=achdepositschedulecreate.d.ts.map