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