import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Amount, Amount$Outbound } from "./amount.js"; import { CreateScheduledTransferLineItems, CreateScheduledTransferLineItems$Outbound } from "./createscheduledtransferlineitems.js"; import { SchedulePaymentMethod, SchedulePaymentMethod$Outbound } from "./schedulepaymentmethod.js"; /** * Defines the attributes of a transfer. */ export type CreateRunTransfer = { amount: Amount; /** * Optional sales tax amount. This amount is included in the total transfer amount. */ salesTaxAmount?: Amount | undefined; destination: SchedulePaymentMethod; partnerAccountID: string; source: SchedulePaymentMethod; /** * Simple description to place on the transfer. */ description: string; /** * An optional collection of line items for a scheduled transfer. * * @remarks * When line items are provided their total must equal `amount` minus `salesTaxAmount`. */ lineItems?: CreateScheduledTransferLineItems | undefined; }; /** @internal */ export declare const CreateRunTransfer$inboundSchema: z.ZodType; /** @internal */ export type CreateRunTransfer$Outbound = { amount: Amount$Outbound; salesTaxAmount?: Amount$Outbound | undefined; destination: SchedulePaymentMethod$Outbound; partnerAccountID: string; source: SchedulePaymentMethod$Outbound; description: string; lineItems?: CreateScheduledTransferLineItems$Outbound | undefined; }; /** @internal */ export declare const CreateRunTransfer$outboundSchema: z.ZodType; export declare function createRunTransferToJSON(createRunTransfer: CreateRunTransfer): string; export declare function createRunTransferFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createruntransfer.d.ts.map