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