import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CreateTransferSourceACH, CreateTransferSourceACH$Outbound } from "./createtransfersourceach.js"; import { CreateTransferSourceCard, CreateTransferSourceCard$Outbound } from "./createtransfersourcecard.js"; /** * Where funds for a transfer originate. For the source, you must include either a `paymentMethodID` or a `transferID`. */ export type CreateTransferSource = { /** * A `transferID` is used to create a [transfer group](https://docs.moov.io/guides/money-movement/transfer-groups/), * * @remarks * associating the new transfer with a parent transfer. */ transferID?: string | undefined; paymentMethodID?: string | undefined; paymentToken?: string | undefined; cardDetails?: CreateTransferSourceCard | undefined; achDetails?: CreateTransferSourceACH | undefined; }; /** @internal */ export declare const CreateTransferSource$inboundSchema: z.ZodType; /** @internal */ export type CreateTransferSource$Outbound = { transferID?: string | undefined; paymentMethodID?: string | undefined; paymentToken?: string | undefined; cardDetails?: CreateTransferSourceCard$Outbound | undefined; achDetails?: CreateTransferSourceACH$Outbound | undefined; }; /** @internal */ export declare const CreateTransferSource$outboundSchema: z.ZodType; export declare function createTransferSourceToJSON(createTransferSource: CreateTransferSource): string; export declare function createTransferSourceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createtransfersource.d.ts.map