/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: a5dff60bd9bf
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
/** @internal */
export const BatchRequest$outboundSchema = z.object({
    customId: z.nullable(z.string()).optional(),
    body: z.record(z.string(), z.any()),
}).transform((v) => {
    return remap$(v, {
        customId: "custom_id",
    });
});
export function batchRequestToJSON(batchRequest) {
    return JSON.stringify(BatchRequest$outboundSchema.parse(batchRequest));
}
//# sourceMappingURL=batchrequest.js.map