/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; export type GetCostsheetRequest = { /** * Costsheet ID */ id: string; /** * Comma-separated list of fields to expand (e.g., 'prices') */ expand?: string | undefined; }; /** @internal */ export type GetCostsheetRequest$Outbound = { id: string; expand?: string | undefined; }; /** @internal */ export const GetCostsheetRequest$outboundSchema: z.ZodMiniType< GetCostsheetRequest$Outbound, GetCostsheetRequest > = z.object({ id: z.string(), expand: z.optional(z.string()), }); export function getCostsheetRequestToJSON( getCostsheetRequest: GetCostsheetRequest, ): string { return JSON.stringify( GetCostsheetRequest$outboundSchema.parse(getCostsheetRequest), ); }