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