@automateinc/fleet-types 1.0.49 → 1.0.50-dev.5687975
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.
- package/dist/types/attendance-patrol-point.d.ts +1 -1
- package/dist/types/attendance-patrol.d.ts +1 -1
- package/dist/types/building.d.ts +1 -1
- package/dist/types/employee-group.d.ts +11 -0
- package/dist/types/employee-monthly-payroll.d.ts +26 -60
- package/dist/types/employee-status.d.ts +2 -5
- package/dist/types/index.d.ts +4 -5
- package/dist/types/payment-cycle-config.d.ts +8 -0
- package/dist/types/{patrol-point.d.ts → position-patrol-point.d.ts} +1 -1
- package/dist/types/{patrol.d.ts → position-patrol.d.ts} +2 -6
- package/dist/types/request-category.d.ts +0 -1
- package/package.json +1 -1
- package/dist/types/api-key.d.ts +0 -11
- package/dist/types/cluster-patrol-point.d.ts +0 -17
- package/dist/types/cluster-patrol.d.ts +0 -12
package/dist/types/building.d.ts
CHANGED
|
@@ -1,62 +1,28 @@
|
|
|
1
|
-
interface Value<T = number> {
|
|
2
|
-
format?: string;
|
|
3
|
-
value: T;
|
|
4
|
-
postfix?: string;
|
|
5
|
-
defaultHidden?: boolean;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
1
|
export interface IEmployeeMonthlyPayroll {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
totalGrossSalary: Value;
|
|
36
|
-
totalNetPay: Value;
|
|
37
|
-
contractualDailyHours: Value;
|
|
38
|
-
totalAbsentDays: Value;
|
|
39
|
-
totalWorkedDays: Value;
|
|
40
|
-
sickLeaveDays: Value;
|
|
41
|
-
totalHours: Value;
|
|
42
|
-
normalHours: Value;
|
|
43
|
-
overtimeHours: Value;
|
|
44
|
-
dailyRate: Value;
|
|
45
|
-
hourlyRate: Value;
|
|
46
|
-
normalPay: Value;
|
|
47
|
-
overtimePay: Value;
|
|
48
|
-
normalRatio: Value;
|
|
49
|
-
overtimeRatio: Value;
|
|
50
|
-
SIODeductions: Value;
|
|
51
|
-
adjustmentsPlus: Value;
|
|
52
|
-
adjustmentsMinus: Value;
|
|
53
|
-
otherDeductions: Value;
|
|
54
|
-
totalDeductions: Value;
|
|
55
|
-
contractTotalSalary: Value;
|
|
56
|
-
iban: Value<string>;
|
|
57
|
-
retired: Value<boolean>;
|
|
58
|
-
bankTransfer: Value;
|
|
59
|
-
bankUpload1: Value;
|
|
60
|
-
bankUpload2: Value;
|
|
61
|
-
cashPayment: Value;
|
|
2
|
+
id: string;
|
|
3
|
+
updatedAt: string;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
|
|
6
|
+
status: "PENDING" | "APPROVED" | "PROCESSED";
|
|
7
|
+
|
|
8
|
+
metadata?: any;
|
|
9
|
+
payroll: {
|
|
10
|
+
outputs: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
metrics: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
};
|
|
16
|
+
warnings: {
|
|
17
|
+
[key: string]: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
formatted: Record<
|
|
21
|
+
string,
|
|
22
|
+
{
|
|
23
|
+
id: string;
|
|
24
|
+
title: string;
|
|
25
|
+
value: any;
|
|
26
|
+
}
|
|
27
|
+
>;
|
|
62
28
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -33,7 +33,6 @@ export type PaginatedResponse<T> = {
|
|
|
33
33
|
totalPages: number;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
export * from "./api-key";
|
|
37
36
|
export * from "./attendance";
|
|
38
37
|
export * from "./attendance-action";
|
|
39
38
|
export * from "./attendance-presence-check";
|
|
@@ -160,13 +159,13 @@ export * from "./leave-event";
|
|
|
160
159
|
export * from "./leave";
|
|
161
160
|
export * from "./company-file";
|
|
162
161
|
export * from "./employee-label-assignment";
|
|
163
|
-
export * from "./patrol";
|
|
164
|
-
export * from "./patrol-point";
|
|
162
|
+
export * from "./position-patrol";
|
|
163
|
+
export * from "./position-patrol-point";
|
|
165
164
|
export * from "./attendance-patrol";
|
|
166
165
|
export * from "./attendance-patrol-point";
|
|
167
166
|
export * from "./position-template";
|
|
168
167
|
export * from "./position-template-item";
|
|
169
168
|
export * from "./day-of-week";
|
|
170
169
|
export * from "./client-contract";
|
|
171
|
-
export * from "./
|
|
172
|
-
export * from "./
|
|
170
|
+
export * from "./payment-cycle-config";
|
|
171
|
+
export * from "./employee-group";
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export interface IPatrol {
|
|
1
|
+
export interface IPositionPatrol {
|
|
4
2
|
id: string;
|
|
5
3
|
createdAt: string;
|
|
6
4
|
updatedAt?: string;
|
|
@@ -9,9 +7,7 @@ export interface IPatrol {
|
|
|
9
7
|
description?: string;
|
|
10
8
|
flow: "SEQUENTIAL" | "RANDOM";
|
|
11
9
|
frequency: number;
|
|
12
|
-
days: IDayOfWeek[];
|
|
13
10
|
|
|
14
|
-
positionId
|
|
15
|
-
regionId: string;
|
|
11
|
+
positionId: string;
|
|
16
12
|
metadata?: any;
|
|
17
13
|
}
|
package/package.json
CHANGED
package/dist/types/api-key.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface IClusterPatrolPoint {
|
|
2
|
-
id: string;
|
|
3
|
-
createdAt: string;
|
|
4
|
-
updatedAt?: string;
|
|
5
|
-
|
|
6
|
-
notes?: string;
|
|
7
|
-
status: "PENDING" | "COMPLETED" | "SKIPPED" | "ON_HOLD";
|
|
8
|
-
order: number;
|
|
9
|
-
|
|
10
|
-
patrolPointId: string;
|
|
11
|
-
clusterPatrolId: string;
|
|
12
|
-
fileId?: string;
|
|
13
|
-
reportId?: string;
|
|
14
|
-
|
|
15
|
-
patrolId: string;
|
|
16
|
-
metadata?: any;
|
|
17
|
-
}
|