import * as z from "zod"; import { ScheduleLayerV2, ScheduleLayerV2$Outbound } from "./schedulelayerv2.js"; import { ScheduleRotationHandoverV2, ScheduleRotationHandoverV2$Outbound } from "./schedulerotationhandoverv2.js"; import { UserV1, UserV1$Outbound } from "./userv1.js"; import { WeekdayIntervalV2, WeekdayIntervalV2$Outbound } from "./weekdayintervalv2.js"; export type ScheduleRotationV2 = { /** * When this rotation config will be effective from */ effectiveFrom?: Date | undefined; /** * Defines the next moment we'll trigger a handover */ handoverStartAt: Date; /** * Defines the handover intervals for this rota, in order they should apply */ handovers: Array; /** * Unique internal ID of the rotation */ id: string; /** * Controls how many people are on-call concurrently */ layers: Array; /** * Human readable name synced from external provider */ name: string; users?: Array | undefined; workingInterval?: Array | undefined; }; /** @internal */ export declare const ScheduleRotationV2$inboundSchema: z.ZodType; /** @internal */ export type ScheduleRotationV2$Outbound = { effective_from?: string | undefined; handover_start_at: string; handovers: Array; id: string; layers: Array; name: string; users?: Array | undefined; working_interval?: Array | undefined; }; /** @internal */ export declare const ScheduleRotationV2$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ScheduleRotationV2$ { /** @deprecated use `ScheduleRotationV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ScheduleRotationV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ScheduleRotationV2$Outbound` instead. */ type Outbound = ScheduleRotationV2$Outbound; } //# sourceMappingURL=schedulerotationv2.d.ts.map