/* * 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 IncidentsV2NumberEditRequest = { /** * The unique identifier of the incident that you want to edit */ id: string; editRequestBody: components.EditRequestBody; }; /** @internal */ export const IncidentsV2NumberEditRequest$inboundSchema: z.ZodType< IncidentsV2NumberEditRequest, z.ZodTypeDef, unknown > = z.object({ id: z.string(), EditRequestBody: components.EditRequestBody$inboundSchema, }).transform((v) => { return remap$(v, { "EditRequestBody": "editRequestBody", }); }); /** @internal */ export type IncidentsV2NumberEditRequest$Outbound = { id: string; EditRequestBody: components.EditRequestBody$Outbound; }; /** @internal */ export const IncidentsV2NumberEditRequest$outboundSchema: z.ZodType< IncidentsV2NumberEditRequest$Outbound, z.ZodTypeDef, IncidentsV2NumberEditRequest > = z.object({ id: z.string(), editRequestBody: components.EditRequestBody$outboundSchema, }).transform((v) => { return remap$(v, { editRequestBody: "EditRequestBody", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace IncidentsV2NumberEditRequest$ { /** @deprecated use `IncidentsV2NumberEditRequest$inboundSchema` instead. */ export const inboundSchema = IncidentsV2NumberEditRequest$inboundSchema; /** @deprecated use `IncidentsV2NumberEditRequest$outboundSchema` instead. */ export const outboundSchema = IncidentsV2NumberEditRequest$outboundSchema; /** @deprecated use `IncidentsV2NumberEditRequest$Outbound` instead. */ export type Outbound = IncidentsV2NumberEditRequest$Outbound; }