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