/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import * as models from "../index.js"; export type GetRequest = { model: string; provider?: models.ModelProvider | undefined; }; /** @internal */ export type GetRequest$Outbound = { model: string; provider?: string | undefined; }; /** @internal */ export const GetRequest$outboundSchema: z.ZodMiniType< GetRequest$Outbound, GetRequest > = z.object({ model: z.string(), provider: z.optional(models.ModelProvider$outboundSchema), }); export function getRequestToJSON(getRequest: GetRequest): string { return JSON.stringify(GetRequest$outboundSchema.parse(getRequest)); }