/* * 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"; import { CatalogTypeV2, CatalogTypeV2$inboundSchema, CatalogTypeV2$Outbound, CatalogTypeV2$outboundSchema, } from "./catalogtypev2.js"; export type ShowEntryResponseBody = { catalogEntry: CatalogEntryV2; catalogType: CatalogTypeV2; }; /** @internal */ export const ShowEntryResponseBody$inboundSchema: z.ZodType< ShowEntryResponseBody, z.ZodTypeDef, unknown > = z.object({ catalog_entry: CatalogEntryV2$inboundSchema, catalog_type: CatalogTypeV2$inboundSchema, }).transform((v) => { return remap$(v, { "catalog_entry": "catalogEntry", "catalog_type": "catalogType", }); }); /** @internal */ export type ShowEntryResponseBody$Outbound = { catalog_entry: CatalogEntryV2$Outbound; catalog_type: CatalogTypeV2$Outbound; }; /** @internal */ export const ShowEntryResponseBody$outboundSchema: z.ZodType< ShowEntryResponseBody$Outbound, z.ZodTypeDef, ShowEntryResponseBody > = z.object({ catalogEntry: CatalogEntryV2$outboundSchema, catalogType: CatalogTypeV2$outboundSchema, }).transform((v) => { return remap$(v, { catalogEntry: "catalog_entry", 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 ShowEntryResponseBody$ { /** @deprecated use `ShowEntryResponseBody$inboundSchema` instead. */ export const inboundSchema = ShowEntryResponseBody$inboundSchema; /** @deprecated use `ShowEntryResponseBody$outboundSchema` instead. */ export const outboundSchema = ShowEntryResponseBody$outboundSchema; /** @deprecated use `ShowEntryResponseBody$Outbound` instead. */ export type Outbound = ShowEntryResponseBody$Outbound; }