/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { remap as remap$ } from "../../lib/primitives.js"; import * as components from "../components/index.js"; export type CatalogV2NumberUpdateTypeSchemaRequest = { /** * ID of this catalog type */ id: string; updateTypeSchemaRequestBody: components.UpdateTypeSchemaRequestBody; }; /** @internal */ export const CatalogV2NumberUpdateTypeSchemaRequest$inboundSchema: z.ZodType< CatalogV2NumberUpdateTypeSchemaRequest, z.ZodTypeDef, unknown > = z.object({ id: z.string(), UpdateTypeSchemaRequestBody: components.UpdateTypeSchemaRequestBody$inboundSchema, }).transform((v) => { return remap$(v, { "UpdateTypeSchemaRequestBody": "updateTypeSchemaRequestBody", }); }); /** @internal */ export type CatalogV2NumberUpdateTypeSchemaRequest$Outbound = { id: string; UpdateTypeSchemaRequestBody: components.UpdateTypeSchemaRequestBody$Outbound; }; /** @internal */ export const CatalogV2NumberUpdateTypeSchemaRequest$outboundSchema: z.ZodType< CatalogV2NumberUpdateTypeSchemaRequest$Outbound, z.ZodTypeDef, CatalogV2NumberUpdateTypeSchemaRequest > = z.object({ id: z.string(), updateTypeSchemaRequestBody: components.UpdateTypeSchemaRequestBody$outboundSchema, }).transform((v) => { return remap$(v, { updateTypeSchemaRequestBody: "UpdateTypeSchemaRequestBody", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace CatalogV2NumberUpdateTypeSchemaRequest$ { /** @deprecated use `CatalogV2NumberUpdateTypeSchemaRequest$inboundSchema` instead. */ export const inboundSchema = CatalogV2NumberUpdateTypeSchemaRequest$inboundSchema; /** @deprecated use `CatalogV2NumberUpdateTypeSchemaRequest$outboundSchema` instead. */ export const outboundSchema = CatalogV2NumberUpdateTypeSchemaRequest$outboundSchema; /** @deprecated use `CatalogV2NumberUpdateTypeSchemaRequest$Outbound` instead. */ export type Outbound = CatalogV2NumberUpdateTypeSchemaRequest$Outbound; }