import * as z from "zod/v3"; import { PaymentCreateInput, PaymentCreateInput$Outbound } from "./paymentcreateinput.js"; export type BatchPaymentsRequestItems = { /** * A caller-supplied reference for this item, echoed back on the matching result so each outcome can be tied to the record it came from. Must be unique within the request. Never sent to the connector. */ ref?: string | undefined; /** * The writable shape of Payment for a batch create. Identical to [Payment](the model returned on reads) with the read-only properties removed — the same properties the single-record create endpoint rejects, so a batched record and a single-record create accept exactly the same body. */ data: PaymentCreateInput; }; /** * A batch of payments to write in a single request. Each item is processed independently: some may succeed while others fail, and the response carries one result per item in the order they were sent. */ export type BatchPaymentsRequest = { /** * The records to write. The per-connector limit is the real cap and is usually lower than the ceiling here: read `batch_support.resources[].max_items` on the Connector API for the connector you are calling, or the resource gotchas. This ceiling exists so an oversized array is rejected by request validation before any per-item work runs, rather than after it. */ items: Array; }; /** @internal */ export type BatchPaymentsRequestItems$Outbound = { _ref?: string | undefined; data: PaymentCreateInput$Outbound; }; /** @internal */ export declare const BatchPaymentsRequestItems$outboundSchema: z.ZodType; export declare function batchPaymentsRequestItemsToJSON(batchPaymentsRequestItems: BatchPaymentsRequestItems): string; /** @internal */ export type BatchPaymentsRequest$Outbound = { items: Array; }; /** @internal */ export declare const BatchPaymentsRequest$outboundSchema: z.ZodType; export declare function batchPaymentsRequestToJSON(batchPaymentsRequest: BatchPaymentsRequest): string; //# sourceMappingURL=batchpaymentsrequest.d.ts.map