/* * 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 GetShipmentGlobals = { /** * Optional string used to pick a non-default API version to use. See our API version guide. */ shippoApiVersion?: string | undefined; }; export type GetShipmentRequest = { /** * Object ID of the shipment to update */ shipmentId: string; }; /** @internal */ export type GetShipmentRequest$Outbound = { ShipmentId: string; }; /** @internal */ export const GetShipmentRequest$outboundSchema: z.ZodMiniType< GetShipmentRequest$Outbound, GetShipmentRequest > = z.pipe( z.object({ shipmentId: z.string(), }), z.transform((v) => { return remap$(v, { shipmentId: "ShipmentId", }); }), ); export function getShipmentRequestToJSON( getShipmentRequest: GetShipmentRequest, ): string { return JSON.stringify( GetShipmentRequest$outboundSchema.parse(getShipmentRequest), ); }