/* * 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 GetCarrierAccountGlobals = { /** * Optional string used to pick a non-default API version to use. See our API version guide. */ shippoApiVersion?: string | undefined; }; export type GetCarrierAccountRequest = { /** * Object ID of the carrier account */ carrierAccountId: string; }; /** @internal */ export type GetCarrierAccountRequest$Outbound = { CarrierAccountId: string; }; /** @internal */ export const GetCarrierAccountRequest$outboundSchema: z.ZodMiniType< GetCarrierAccountRequest$Outbound, GetCarrierAccountRequest > = z.pipe( z.object({ carrierAccountId: z.string(), }), z.transform((v) => { return remap$(v, { carrierAccountId: "CarrierAccountId", }); }), ); export function getCarrierAccountRequestToJSON( getCarrierAccountRequest: GetCarrierAccountRequest, ): string { return JSON.stringify( GetCarrierAccountRequest$outboundSchema.parse(getCarrierAccountRequest), ); }