@automateinc/fleet-types 1.0.115-dev.659317 → 1.0.116-dev.208eab1

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.
@@ -6,6 +6,7 @@ export interface IEmployeeGroup {
6
6
 
7
7
  title: string;
8
8
  canBeScheduled: boolean;
9
+ payrollDisputeCutoffDays: number;
9
10
 
10
11
  regionId: string;
11
12
  metadata?: any;
@@ -0,0 +1,21 @@
1
+ export type EmployeeMonthlyPayReviewEventType =
2
+ | "VERIFIED"
3
+ | "DISPUTED"
4
+ | "ADDITIONAL_INFO_REQUESTED"
5
+ | "ADDITIONAL_INFO_PROVIDED"
6
+ | "RESOLVED";
7
+
8
+ export interface IEmployeeMonthlyPayReviewEvent {
9
+ id: string;
10
+ createdAt: string;
11
+ updatedAt?: string;
12
+
13
+ type: EmployeeMonthlyPayReviewEventType;
14
+
15
+ reviewId: string;
16
+ reason?: string;
17
+ supportingDocumentsRequired?: boolean;
18
+
19
+ userId?: string;
20
+ employeeId?: string;
21
+ }
@@ -0,0 +1,13 @@
1
+ export interface IEmployeeMonthlyPayReviewField {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt?: string;
5
+
6
+ reviewId: string;
7
+ mobileFieldId: string;
8
+ payrollFieldId: string;
9
+ title: string;
10
+ format?: string;
11
+ postfix?: string;
12
+ value?: unknown;
13
+ }
@@ -0,0 +1,15 @@
1
+ export type EmployeeMonthlyPayReviewStatus = "VERIFIED" | "DISPUTE_PENDING" | "ADDITIONAL_INFO_REQUESTED" | "RESOLVED";
2
+
3
+ export interface IEmployeeMonthlyPayReview {
4
+ id: string;
5
+ createdAt: string;
6
+ updatedAt?: string;
7
+
8
+ status: EmployeeMonthlyPayReviewStatus;
9
+
10
+ monthlyPayId: string;
11
+ additionalInfoDocumentsRequired: boolean;
12
+
13
+ lastHandledById?: string;
14
+ lastHandledAt?: string;
15
+ }
@@ -126,6 +126,9 @@ export * from "./employee-group-snapshot-cost";
126
126
  export * from "./employee-label";
127
127
  export * from "./employee-label-assignment";
128
128
  export * from "./employee-monthly-payroll";
129
+ export * from "./employee-monthly-pay-review";
130
+ export * from "./employee-monthly-pay-review-event";
131
+ export * from "./employee-monthly-pay-review-field";
129
132
  export * from "./employee-status";
130
133
  export * from "./file";
131
134
  export * from "./gender";
@@ -106,6 +106,9 @@ export type IModel =
106
106
  | "paymentCycleDocument"
107
107
  | "paymentCycle"
108
108
  | "employeeMonthlyPay"
109
+ | "employeeMonthlyPayReview"
110
+ | "employeeMonthlyPayReviewEvent"
111
+ | "employeeMonthlyPayReviewField"
109
112
  | "payrollConfig"
110
113
  | "vendor"
111
114
  | "vendorContact"
@@ -7,5 +7,6 @@ export interface IRequestType {
7
7
  updatedAt: string;
8
8
  categories: IRequestCategory[];
9
9
  visible: boolean;
10
+ signing: boolean;
10
11
  metadata?: any;
11
12
  }
@@ -17,6 +17,7 @@ export interface IScheduleDraft {
17
17
  employeeId: string;
18
18
 
19
19
  generatedById?: string;
20
+ deletedById?: string;
20
21
 
21
22
  verified: boolean;
22
23
  isOvertime: boolean;
@@ -5,7 +5,7 @@ export interface IShift {
5
5
  updatedAt: Date;
6
6
  createdAt: Date;
7
7
 
8
- class: "MAIN" | "OVERTIME" | "FLEXIBLE";
8
+ class: "MAIN" | "TEMPORARY" | "FLEXIBLE";
9
9
 
10
10
  startTime: number;
11
11
 
package/package.json CHANGED
@@ -57,5 +57,5 @@
57
57
  "test": "echo \"Error: no test specified\" && exit 1"
58
58
  },
59
59
  "types": "dist/types/index.d.ts",
60
- "version": "1.0.115-dev.0659317"
60
+ "version": "1.0.116-dev.208eab1"
61
61
  }