/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type GetInvoicesGlobals = { orgId?: string | undefined; }; export type GetInvoicesRequest = { orgId?: string | undefined; }; /** @internal */ export type GetInvoicesRequest$Outbound = { orgId?: string | undefined; }; /** @internal */ export const GetInvoicesRequest$outboundSchema: z.ZodType< GetInvoicesRequest$Outbound, z.ZodTypeDef, GetInvoicesRequest > = z.object({ orgId: z.string().optional(), }); export function getInvoicesRequestToJSON( getInvoicesRequest: GetInvoicesRequest, ): string { return JSON.stringify( GetInvoicesRequest$outboundSchema.parse(getInvoicesRequest), ); }