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