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