@automateinc/fleet-types 1.0.95 → 1.0.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ export interface IAttendanceDraft {
10
10
  date: string;
11
11
 
12
12
  status: "DRAFT" | "PENDING" | "ACCEPTED" | "REJECTED";
13
+ isOvertime: boolean;
13
14
 
14
15
  scheduleId: string;
15
16
 
@@ -7,6 +7,7 @@ export interface IAttendance {
7
7
 
8
8
  verified: boolean;
9
9
  approved: boolean;
10
+ isOvertime: boolean;
10
11
  absenceType?: "DAY_OFF" | "SICK_LEAVE" | "NO_SHOW" | "LEAVE";
11
12
 
12
13
  checkInImage?: IFile;
@@ -192,6 +192,7 @@ export * from "./request-verification";
192
192
  export * from "./restriction";
193
193
  export * from "./role";
194
194
  export * from "./schedule";
195
+ export * from "./schedule-assignment-policy";
195
196
  export * from "./schedule-attendance";
196
197
  export * from "./schedule-day-off";
197
198
  export * from "./schedule-draft";
@@ -0,0 +1,27 @@
1
+ import type { IDayOfWeek } from "./day-of-week";
2
+ import type { IGender } from "./gender";
3
+
4
+ export interface IScheduleAssignmentPolicy {
5
+ id: string;
6
+ createdAt: string;
7
+ updatedAt?: string | null;
8
+
9
+ name: string;
10
+ enabled: boolean;
11
+ priority: number;
12
+
13
+ contractDailyHours?: number | null;
14
+ gender?: IGender | null;
15
+ retired?: boolean | null;
16
+
17
+ regularHoursLimit?: number | null;
18
+ maximumDailyHours: number;
19
+ maximumShiftHours: number;
20
+ maximumDaysPerWeek?: number | null;
21
+ minimumRestHours: number;
22
+ weekStartsOn: IDayOfWeek;
23
+ allowFlexibleOverlap: boolean;
24
+ flexibleBypassesWeeklyLimit: boolean;
25
+
26
+ regionId: string;
27
+ }
package/package.json CHANGED
@@ -52,5 +52,5 @@
52
52
  "test": "echo \"Error: no test specified\" && exit 1"
53
53
  },
54
54
  "types": "dist/types/index.d.ts",
55
- "version": "1.0.95"
55
+ "version": "1.0.96"
56
56
  }