/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { ScheduleRotationCreatePayloadV2, ScheduleRotationCreatePayloadV2$inboundSchema, ScheduleRotationCreatePayloadV2$Outbound, ScheduleRotationCreatePayloadV2$outboundSchema, } from "./schedulerotationcreatepayloadv2.js"; export type ScheduleConfigCreatePayloadV2 = { rotations?: Array | undefined; }; /** @internal */ export const ScheduleConfigCreatePayloadV2$inboundSchema: z.ZodType< ScheduleConfigCreatePayloadV2, z.ZodTypeDef, unknown > = z.object({ rotations: z.array(ScheduleRotationCreatePayloadV2$inboundSchema).optional(), }); /** @internal */ export type ScheduleConfigCreatePayloadV2$Outbound = { rotations?: Array | undefined; }; /** @internal */ export const ScheduleConfigCreatePayloadV2$outboundSchema: z.ZodType< ScheduleConfigCreatePayloadV2$Outbound, z.ZodTypeDef, ScheduleConfigCreatePayloadV2 > = z.object({ rotations: z.array(ScheduleRotationCreatePayloadV2$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 ScheduleConfigCreatePayloadV2$ { /** @deprecated use `ScheduleConfigCreatePayloadV2$inboundSchema` instead. */ export const inboundSchema = ScheduleConfigCreatePayloadV2$inboundSchema; /** @deprecated use `ScheduleConfigCreatePayloadV2$outboundSchema` instead. */ export const outboundSchema = ScheduleConfigCreatePayloadV2$outboundSchema; /** @deprecated use `ScheduleConfigCreatePayloadV2$Outbound` instead. */ export type Outbound = ScheduleConfigCreatePayloadV2$Outbound; }