/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 5bd8d13ab656 */ import * as z from "zod/v4"; import { remap as remap$ } from "../../lib/primitives.js"; import * as models from "../index.js"; export type ConfigureProjectModelsGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export type ConfigureProjectModelsRequest = { /** * Project ID or name. */ idOrName: string; configureModelsRequest?: models.ConfigureModelsRequest | undefined; }; /** @internal */ export type ConfigureProjectModelsRequest$Outbound = { idOrName: string; ConfigureModelsRequest?: models.ConfigureModelsRequest$Outbound | undefined; }; /** @internal */ export const ConfigureProjectModelsRequest$outboundSchema: z.ZodType< ConfigureProjectModelsRequest$Outbound, ConfigureProjectModelsRequest > = z.object({ idOrName: z.string(), configureModelsRequest: models.ConfigureModelsRequest$outboundSchema .optional(), }).transform((v) => { return remap$(v, { configureModelsRequest: "ConfigureModelsRequest", }); }); export function configureProjectModelsRequestToJSON( configureProjectModelsRequest: ConfigureProjectModelsRequest, ): string { return JSON.stringify( ConfigureProjectModelsRequest$outboundSchema.parse( configureProjectModelsRequest, ), ); }