import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CreateTransferGlobals = { /** * Specify an API version. * * @remarks * * API versioning follows the format `vYYYY.QQ.BB`, where * - `YYYY` is the year * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. * - For example, `v2024.01.00` is the initial release of the first quarter of 2024. * * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release. * When no version is specified, the API defaults to `v2024.01.00`. */ xMoovVersion?: string | undefined; }; export type CreateTransferRequest = { /** * Identifies a unique request to create a transfer. * * @remarks * In order to avoid creating duplicate transfers, the same idempotency key should be reused when retrying a request. */ xIdempotencyKey: string; /** * Optional header that indicates whether to return a synchronous response that includes full transfer and rail-specific details or an * * @remarks * asynchronous response indicating the transfer was created (this is the default response if the header is omitted). A timeout will occur after 15 seconds. */ xWaitFor?: components.TransferWaitFor | undefined; /** * Your Moov account ID. */ accountID: string; createTransfer: components.CreateTransfer; }; export type CreateTransferResponseResult = components.Transfer | components.CreatedTransfer | components.AsyncTransfer; export type CreateTransferResponse = { headers: { [k: string]: Array; }; result: components.Transfer | components.CreatedTransfer | components.AsyncTransfer; }; /** @internal */ export declare const CreateTransferGlobals$inboundSchema: z.ZodType; /** @internal */ export type CreateTransferGlobals$Outbound = { "X-Moov-Version"?: string | undefined; }; /** @internal */ export declare const CreateTransferGlobals$outboundSchema: z.ZodType; export declare function createTransferGlobalsToJSON(createTransferGlobals: CreateTransferGlobals): string; export declare function createTransferGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateTransferRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateTransferRequest$Outbound = { "x-idempotency-key": string; "x-wait-for"?: string | undefined; accountID: string; CreateTransfer: components.CreateTransfer$Outbound; }; /** @internal */ export declare const CreateTransferRequest$outboundSchema: z.ZodType; export declare function createTransferRequestToJSON(createTransferRequest: CreateTransferRequest): string; export declare function createTransferRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateTransferResponseResult$inboundSchema: z.ZodType; /** @internal */ export type CreateTransferResponseResult$Outbound = components.Transfer$Outbound | components.CreatedTransfer$Outbound | components.AsyncTransfer$Outbound; /** @internal */ export declare const CreateTransferResponseResult$outboundSchema: z.ZodType; export declare function createTransferResponseResultToJSON(createTransferResponseResult: CreateTransferResponseResult): string; export declare function createTransferResponseResultFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateTransferResponse$inboundSchema: z.ZodType; /** @internal */ export type CreateTransferResponse$Outbound = { Headers: { [k: string]: Array; }; Result: components.Transfer$Outbound | components.CreatedTransfer$Outbound | components.AsyncTransfer$Outbound; }; /** @internal */ export declare const CreateTransferResponse$outboundSchema: z.ZodType; export declare function createTransferResponseToJSON(createTransferResponse: CreateTransferResponse): string; export declare function createTransferResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createtransfer.d.ts.map