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