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