/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { ScheduleRotationUpdatePayloadV2, ScheduleRotationUpdatePayloadV2$inboundSchema, ScheduleRotationUpdatePayloadV2$Outbound, ScheduleRotationUpdatePayloadV2$outboundSchema, } from "./schedulerotationupdatepayloadv2.js"; export type ScheduleConfigUpdatePayloadV2 = { rotations?: Array | undefined; }; /** @internal */ export const ScheduleConfigUpdatePayloadV2$inboundSchema: z.ZodType< ScheduleConfigUpdatePayloadV2, z.ZodTypeDef, unknown > = z.object({ rotations: z.array(ScheduleRotationUpdatePayloadV2$inboundSchema).optional(), }); /** @internal */ export type ScheduleConfigUpdatePayloadV2$Outbound = { rotations?: Array | undefined; }; /** @internal */ export const ScheduleConfigUpdatePayloadV2$outboundSchema: z.ZodType< ScheduleConfigUpdatePayloadV2$Outbound, z.ZodTypeDef, ScheduleConfigUpdatePayloadV2 > = z.object({ rotations: z.array(ScheduleRotationUpdatePayloadV2$outboundSchema).optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ScheduleConfigUpdatePayloadV2$ { /** @deprecated use `ScheduleConfigUpdatePayloadV2$inboundSchema` instead. */ export const inboundSchema = ScheduleConfigUpdatePayloadV2$inboundSchema; /** @deprecated use `ScheduleConfigUpdatePayloadV2$outboundSchema` instead. */ export const outboundSchema = ScheduleConfigUpdatePayloadV2$outboundSchema; /** @deprecated use `ScheduleConfigUpdatePayloadV2$Outbound` instead. */ export type Outbound = ScheduleConfigUpdatePayloadV2$Outbound; }