@automateinc/fleet-types 1.0.119-dev.fe6307d → 1.0.120-dev.ea3288c

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.
@@ -4,7 +4,8 @@ export interface IClientQuotationSiteDraft {
4
4
  updatedAt: string;
5
5
 
6
6
  quotationId: string;
7
- siteId?: string | null;
7
+ clientSiteId?: string | null;
8
+ scheduleSiteId?: string | null;
8
9
 
9
10
  name: string;
10
11
 
@@ -6,7 +6,6 @@ export interface IClientQuotation {
6
6
  status: "DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "CHANGES_NEEDED";
7
7
 
8
8
  clientId: string;
9
- zoneId: string;
10
9
  createdById?: string;
11
10
  approvedById?: string;
12
11
 
@@ -1,15 +1,12 @@
1
- export interface ISite {
1
+ export interface IClientSite {
2
2
  id: string;
3
3
  createdAt: string;
4
4
  updatedAt: string;
5
- deletedAt?: string | null;
6
5
  name: string;
7
6
  address?: any;
8
7
  geolocation?: { lat: number; lng: number };
9
8
  classId?: string;
10
9
  clientId: string;
11
- zoneId?: string | null;
12
- contractId?: string | null;
13
10
  contactId?: string;
14
11
  metadata?: any;
15
12
  }
@@ -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
+ }
@@ -87,6 +87,7 @@ export * from "./client-request-field-visibility-rule";
87
87
  export * from "./client-request-type";
88
88
  export * from "./client-request-value";
89
89
  export * from "./client-request-verification";
90
+ export * from "./client-site";
90
91
  export * from "./client-status";
91
92
  export * from "./client-status-check";
92
93
  export * from "./client-status-check-requirement";
@@ -125,6 +126,9 @@ export * from "./employee-group-snapshot-cost";
125
126
  export * from "./employee-label";
126
127
  export * from "./employee-label-assignment";
127
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";
128
132
  export * from "./employee-status";
129
133
  export * from "./file";
130
134
  export * from "./gender";
@@ -201,11 +205,11 @@ export * from "./schedule-assignment-policy";
201
205
  export * from "./schedule-attendance";
202
206
  export * from "./schedule-day-off";
203
207
  export * from "./schedule-draft";
208
+ export * from "./schedule-site";
204
209
  export * from "./scheduling-requirement";
205
210
  export * from "./shift";
206
211
  export * from "./shift-type";
207
212
  export * from "./signing-mode";
208
- export * from "./site";
209
213
  export * from "./standard-operating-procedure";
210
214
  export * from "./structured-content";
211
215
  export * from "./structured-content-collapse-node";
@@ -65,7 +65,7 @@ export type IModel =
65
65
  | "clientDocumentDefinition"
66
66
  | "zone"
67
67
  | "siteClass"
68
- | "site"
68
+ | "clientSite"
69
69
  | "positionTemplate"
70
70
  | "positionTemplateItem"
71
71
  | "position"
@@ -76,6 +76,7 @@ export type IModel =
76
76
  | "schedule"
77
77
  | "scheduleDraft"
78
78
  | "attendanceDraft"
79
+ | "scheduleSite"
79
80
  | "standardOperatingProcedure"
80
81
  | "nFCTag"
81
82
  | "dispatch"
@@ -105,6 +106,9 @@ export type IModel =
105
106
  | "paymentCycleDocument"
106
107
  | "paymentCycle"
107
108
  | "employeeMonthlyPay"
109
+ | "employeeMonthlyPayReview"
110
+ | "employeeMonthlyPayReviewEvent"
111
+ | "employeeMonthlyPayReviewField"
108
112
  | "payrollConfig"
109
113
  | "vendor"
110
114
  | "vendorContact"
@@ -7,7 +7,7 @@ export interface IRequestAction {
7
7
  categoryId: string;
8
8
  name: string;
9
9
  type: "VERIFICATION" | "APPROVAL" | "REJECTION" | "CREATION";
10
- operation: "HTTP";
10
+ operation: "HTTP" | "GENERATE_DOCUMENT" | "APPLY_SIGNATURE";
11
11
  config: Record<string, any>;
12
12
  order: number;
13
13
  fields: IRequestCategoryField[];
@@ -18,6 +18,7 @@ export interface IRequest {
18
18
  withdrawnAt?: string;
19
19
  folderKey?: string | null;
20
20
  archivedAt?: string | null;
21
+ allowSigning?: string | null;
21
22
  employeeId: string;
22
23
  status: "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "WITHDRAWN" | "PENDING_VERIFICATION" | "ARCHIVED";
23
24
  actionsExecutionStatus: "PENDING" | "COMPLETED" | "PROCESSING" | "FAILED" | "SKIPPED";
@@ -0,0 +1,11 @@
1
+ export interface IScheduleSite {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt: string;
5
+
6
+ shiftsCount: number;
7
+ positionsCount: number;
8
+ schedulesCount: number;
9
+ scheduledSchedulesCount: number;
10
+ metadata?: any;
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.119-dev.fe6307d"
60
+ "version": "1.0.120-dev.ea3288c"
61
61
  }