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