/* * 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 EscalationsV2NumberUpdatePathRequest = { /** * Unique identifier for this escalation path. */ id: string; createPathRequestBody: components.CreatePathRequestBody; }; /** @internal */ export const EscalationsV2NumberUpdatePathRequest$inboundSchema: z.ZodType< EscalationsV2NumberUpdatePathRequest, z.ZodTypeDef, unknown > = z.object({ id: z.string(), CreatePathRequestBody: components.CreatePathRequestBody$inboundSchema, }).transform((v) => { return remap$(v, { "CreatePathRequestBody": "createPathRequestBody", }); }); /** @internal */ export type EscalationsV2NumberUpdatePathRequest$Outbound = { id: string; CreatePathRequestBody: components.CreatePathRequestBody$Outbound; }; /** @internal */ export const EscalationsV2NumberUpdatePathRequest$outboundSchema: z.ZodType< EscalationsV2NumberUpdatePathRequest$Outbound, z.ZodTypeDef, EscalationsV2NumberUpdatePathRequest > = z.object({ id: z.string(), createPathRequestBody: components.CreatePathRequestBody$outboundSchema, }).transform((v) => { return remap$(v, { createPathRequestBody: "CreatePathRequestBody", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace EscalationsV2NumberUpdatePathRequest$ { /** @deprecated use `EscalationsV2NumberUpdatePathRequest$inboundSchema` instead. */ export const inboundSchema = EscalationsV2NumberUpdatePathRequest$inboundSchema; /** @deprecated use `EscalationsV2NumberUpdatePathRequest$outboundSchema` instead. */ export const outboundSchema = EscalationsV2NumberUpdatePathRequest$outboundSchema; /** @deprecated use `EscalationsV2NumberUpdatePathRequest$Outbound` instead. */ export type Outbound = EscalationsV2NumberUpdatePathRequest$Outbound; }