/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import { remap as remap$ } from "../../lib/primitives.js"; export type PurchaseBatchGlobals = { /** * Optional string used to pick a non-default API version to use. See our API version guide. */ shippoApiVersion?: string | undefined; }; export type PurchaseBatchRequest = { /** * Object ID of the batch */ batchId: string; }; /** @internal */ export type PurchaseBatchRequest$Outbound = { BatchId: string; }; /** @internal */ export const PurchaseBatchRequest$outboundSchema: z.ZodMiniType< PurchaseBatchRequest$Outbound, PurchaseBatchRequest > = z.pipe( z.object({ batchId: z.string(), }), z.transform((v) => { return remap$(v, { batchId: "BatchId", }); }), ); export function purchaseBatchRequestToJSON( purchaseBatchRequest: PurchaseBatchRequest, ): string { return JSON.stringify( PurchaseBatchRequest$outboundSchema.parse(purchaseBatchRequest), ); }