import * as z from "zod"; import { ScheduleConfigV2, ScheduleConfigV2$Outbound } from "./scheduleconfigv2.js"; import { ScheduleEntryV2, ScheduleEntryV2$Outbound } from "./scheduleentryv2.js"; import { ScheduleHolidaysPublicConfigV2, ScheduleHolidaysPublicConfigV2$Outbound } from "./scheduleholidayspublicconfigv2.js"; export type ScheduleV2 = { /** * Annotations that track metadata about this resource */ annotations: { [k: string]: string; }; config?: ScheduleConfigV2 | undefined; createdAt: Date; /** * Shifts that are on-going for this schedule, if a native schedule */ currentShifts?: Array | undefined; holidaysPublicConfig?: ScheduleHolidaysPublicConfigV2 | undefined; /** * Unique internal ID of the schedule */ id: string; /** * Human readable name synced from external provider */ name: string; /** * Timezone of the schedule, as interpreted at the point of generating the report */ timezone: string; updatedAt: Date; }; /** @internal */ export declare const ScheduleV2$inboundSchema: z.ZodType; /** @internal */ export type ScheduleV2$Outbound = { annotations: { [k: string]: string; }; config?: ScheduleConfigV2$Outbound | undefined; created_at: string; current_shifts?: Array | undefined; holidays_public_config?: ScheduleHolidaysPublicConfigV2$Outbound | undefined; id: string; name: string; timezone: string; updated_at: string; }; /** @internal */ export declare const ScheduleV2$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 ScheduleV2$ { /** @deprecated use `ScheduleV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ScheduleV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ScheduleV2$Outbound` instead. */ type Outbound = ScheduleV2$Outbound; } //# sourceMappingURL=schedulev2.d.ts.map