/* * 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 DeleteServiceGroupGlobals = { /** * Optional string used to pick a non-default API version to use. See our API version guide. */ shippoApiVersion?: string | undefined; }; export type DeleteServiceGroupRequest = { /** * Object ID of the service group */ serviceGroupId: string; }; /** @internal */ export type DeleteServiceGroupRequest$Outbound = { ServiceGroupId: string; }; /** @internal */ export const DeleteServiceGroupRequest$outboundSchema: z.ZodMiniType< DeleteServiceGroupRequest$Outbound, DeleteServiceGroupRequest > = z.pipe( z.object({ serviceGroupId: z.string(), }), z.transform((v) => { return remap$(v, { serviceGroupId: "ServiceGroupId", }); }), ); export function deleteServiceGroupRequestToJSON( deleteServiceGroupRequest: DeleteServiceGroupRequest, ): string { return JSON.stringify( DeleteServiceGroupRequest$outboundSchema.parse(deleteServiceGroupRequest), ); }