import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type OddWeeks = { hoursMonday?: number | undefined; hoursTuesday?: number | undefined; hoursWednesday?: number | undefined; hoursThursday?: number | undefined; hoursFriday?: number | undefined; hoursSaturday?: number | undefined; hoursSunday?: number | undefined; }; export type EvenWeeks = { hoursMonday?: number | undefined; hoursTuesday?: number | undefined; hoursWednesday?: number | undefined; hoursThursday?: number | undefined; hoursFriday?: number | undefined; hoursSaturday?: number | undefined; hoursSunday?: number | undefined; }; export type WorkPattern = { oddWeeks?: OddWeeks | undefined; evenWeeks?: EvenWeeks | undefined; }; export type Schedule = { /** * A unique identifier for an object. */ id: string; /** * The start date, inclusive, of the schedule period. */ startDate: string; /** * The end date, inclusive, of the schedule period. */ endDate: string; workPattern: WorkPattern; }; /** @internal */ export declare const OddWeeks$inboundSchema: z.ZodType; /** @internal */ export type OddWeeks$Outbound = { hours_monday?: number | undefined; hours_tuesday?: number | undefined; hours_wednesday?: number | undefined; hours_thursday?: number | undefined; hours_friday?: number | undefined; hours_saturday?: number | undefined; hours_sunday?: number | undefined; }; /** @internal */ export declare const OddWeeks$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 OddWeeks$ { /** @deprecated use `OddWeeks$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OddWeeks$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OddWeeks$Outbound` instead. */ type Outbound = OddWeeks$Outbound; } export declare function oddWeeksToJSON(oddWeeks: OddWeeks): string; export declare function oddWeeksFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EvenWeeks$inboundSchema: z.ZodType; /** @internal */ export type EvenWeeks$Outbound = { hours_monday?: number | undefined; hours_tuesday?: number | undefined; hours_wednesday?: number | undefined; hours_thursday?: number | undefined; hours_friday?: number | undefined; hours_saturday?: number | undefined; hours_sunday?: number | undefined; }; /** @internal */ export declare const EvenWeeks$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 EvenWeeks$ { /** @deprecated use `EvenWeeks$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EvenWeeks$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EvenWeeks$Outbound` instead. */ type Outbound = EvenWeeks$Outbound; } export declare function evenWeeksToJSON(evenWeeks: EvenWeeks): string; export declare function evenWeeksFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WorkPattern$inboundSchema: z.ZodType; /** @internal */ export type WorkPattern$Outbound = { odd_weeks?: OddWeeks$Outbound | undefined; even_weeks?: EvenWeeks$Outbound | undefined; }; /** @internal */ export declare const WorkPattern$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 WorkPattern$ { /** @deprecated use `WorkPattern$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WorkPattern$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WorkPattern$Outbound` instead. */ type Outbound = WorkPattern$Outbound; } export declare function workPatternToJSON(workPattern: WorkPattern): string; export declare function workPatternFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Schedule$inboundSchema: z.ZodType; /** @internal */ export type Schedule$Outbound = { id: string; start_date: string; end_date: string; work_pattern: WorkPattern$Outbound; }; /** @internal */ export declare const Schedule$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 Schedule$ { /** @deprecated use `Schedule$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Schedule$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Schedule$Outbound` instead. */ type Outbound = Schedule$Outbound; } export declare function scheduleToJSON(schedule: Schedule): string; export declare function scheduleFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=schedule.d.ts.map