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