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