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