/* * 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 CatalogV2NumberUpdateEntryRequest = { /** * ID of this catalog entry */ id: string; updateEntryRequestBody: components.UpdateEntryRequestBody; }; /** @internal */ export const CatalogV2NumberUpdateEntryRequest$inboundSchema: z.ZodType< CatalogV2NumberUpdateEntryRequest, z.ZodTypeDef, unknown > = z.object({ id: z.string(), UpdateEntryRequestBody: components.UpdateEntryRequestBody$inboundSchema, }).transform((v) => { return remap$(v, { "UpdateEntryRequestBody": "updateEntryRequestBody", }); }); /** @internal */ export type CatalogV2NumberUpdateEntryRequest$Outbound = { id: string; UpdateEntryRequestBody: components.UpdateEntryRequestBody$Outbound; }; /** @internal */ export const CatalogV2NumberUpdateEntryRequest$outboundSchema: z.ZodType< CatalogV2NumberUpdateEntryRequest$Outbound, z.ZodTypeDef, CatalogV2NumberUpdateEntryRequest > = z.object({ id: z.string(), updateEntryRequestBody: components.UpdateEntryRequestBody$outboundSchema, }).transform((v) => { return remap$(v, { updateEntryRequestBody: "UpdateEntryRequestBody", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace CatalogV2NumberUpdateEntryRequest$ { /** @deprecated use `CatalogV2NumberUpdateEntryRequest$inboundSchema` instead. */ export const inboundSchema = CatalogV2NumberUpdateEntryRequest$inboundSchema; /** @deprecated use `CatalogV2NumberUpdateEntryRequest$outboundSchema` instead. */ export const outboundSchema = CatalogV2NumberUpdateEntryRequest$outboundSchema; /** @deprecated use `CatalogV2NumberUpdateEntryRequest$Outbound` instead. */ export type Outbound = CatalogV2NumberUpdateEntryRequest$Outbound; }