/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; export type OrdersGenerateInvoiceRequest = { /** * The order ID. */ id: string; }; /** @internal */ export type OrdersGenerateInvoiceRequest$Outbound = { id: string; }; /** @internal */ export const OrdersGenerateInvoiceRequest$outboundSchema: z.ZodMiniType< OrdersGenerateInvoiceRequest$Outbound, OrdersGenerateInvoiceRequest > = z.object({ id: z.string(), }); export function ordersGenerateInvoiceRequestToJSON( ordersGenerateInvoiceRequest: OrdersGenerateInvoiceRequest, ): string { return JSON.stringify( OrdersGenerateInvoiceRequest$outboundSchema.parse( ordersGenerateInvoiceRequest, ), ); }