import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { RetirementContributionCreate, RetirementContributionCreate$Outbound } from "./retirementcontributioncreate.js"; import { RetirementDistributionCreate, RetirementDistributionCreate$Outbound } from "./retirementdistributioncreate.js"; import { WithdrawalScheduleDetailsCreate, WithdrawalScheduleDetailsCreate$Outbound } from "./withdrawalscheduledetailscreate.js"; /** * A Cash Journal transfer schedule */ export type CashJournalScheduleCreate = { /** * The destination account for the Cash Journal */ destinationAccount: string; /** * A contribution to a retirement account. */ retirementContribution?: RetirementContributionCreate | undefined; /** * A distribution from a retirement account. */ retirementDistribution?: RetirementDistributionCreate | undefined; /** * Details of withdrawal schedule transfers */ scheduleDetails: WithdrawalScheduleDetailsCreate; /** * The source account for the Cash Journal */ sourceAccount: string; }; /** @internal */ export declare const CashJournalScheduleCreate$inboundSchema: z.ZodType; /** @internal */ export type CashJournalScheduleCreate$Outbound = { destination_account: string; retirement_contribution?: RetirementContributionCreate$Outbound | undefined; retirement_distribution?: RetirementDistributionCreate$Outbound | undefined; schedule_details: WithdrawalScheduleDetailsCreate$Outbound; source_account: string; }; /** @internal */ export declare const CashJournalScheduleCreate$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 CashJournalScheduleCreate$ { /** @deprecated use `CashJournalScheduleCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalScheduleCreate$Outbound` instead. */ type Outbound = CashJournalScheduleCreate$Outbound; } export declare function cashJournalScheduleCreateToJSON(cashJournalScheduleCreate: CashJournalScheduleCreate): string; export declare function cashJournalScheduleCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=cashjournalschedulecreate.d.ts.map