@automateinc/fleet-types 1.0.50-dev.5687975 → 1.0.50
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/api-key.d.ts +11 -0
- 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/cluster-patrol-point.d.ts +17 -0
- package/dist/types/cluster-patrol.d.ts +12 -0
- package/dist/types/employee-monthly-payroll.d.ts +60 -26
- package/dist/types/employee-status.d.ts +5 -2
- package/dist/types/index.d.ts +5 -4
- package/dist/types/{position-patrol-point.d.ts → patrol-point.d.ts} +1 -1
- package/dist/types/{position-patrol.d.ts → patrol.d.ts} +6 -2
- package/dist/types/recruitment-other-information.d.ts +1 -0
- package/dist/types/request-category.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/employee-group.d.ts +0 -11
- package/dist/types/payment-cycle-config.d.ts +0 -8
package/dist/types/building.d.ts
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
|
@@ -1,28 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
interface Value<T = number> {
|
|
2
|
+
format?: string;
|
|
3
|
+
value: T;
|
|
4
|
+
postfix?: string;
|
|
5
|
+
defaultHidden?: boolean;
|
|
6
|
+
}
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
8
|
+
export interface IEmployeeMonthlyPayroll {
|
|
9
|
+
status: Value<string>;
|
|
10
|
+
company: Value<string>;
|
|
11
|
+
role: Value<string>;
|
|
12
|
+
salaryHold: Value<boolean>;
|
|
13
|
+
contractStartDate: Value<string>;
|
|
14
|
+
contractType: Value<string>;
|
|
15
|
+
totalAllowances: Value;
|
|
16
|
+
otherPay: Value;
|
|
17
|
+
fixedAllowances: Value;
|
|
18
|
+
foodAllowances: Value;
|
|
19
|
+
daysOffOvertime: Value;
|
|
20
|
+
daysOffOvertimeAllowance: Value;
|
|
21
|
+
siteAllowances: Value;
|
|
22
|
+
monthlyDays: Value;
|
|
23
|
+
maxNormalHours: Value;
|
|
24
|
+
increments: Value;
|
|
25
|
+
dailyTransportAndRiskAllowances: Value;
|
|
26
|
+
dailyTeamLeaderAllowance: Value;
|
|
27
|
+
dailySiteAllowances: Value;
|
|
28
|
+
dailyShiftAllowances: Value;
|
|
29
|
+
dailyOtherPay: Value;
|
|
30
|
+
dailyFixedAllowances: Value;
|
|
31
|
+
performanceIncrement: Value;
|
|
32
|
+
otherIncrements: Value;
|
|
33
|
+
dailyOtherAllowances: Value;
|
|
34
|
+
basicSalary: Value;
|
|
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;
|
|
28
62
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export type PaginatedResponse<T> = {
|
|
|
33
33
|
totalPages: number;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
+
export * from "./api-key";
|
|
36
37
|
export * from "./attendance";
|
|
37
38
|
export * from "./attendance-action";
|
|
38
39
|
export * from "./attendance-presence-check";
|
|
@@ -159,13 +160,13 @@ export * from "./leave-event";
|
|
|
159
160
|
export * from "./leave";
|
|
160
161
|
export * from "./company-file";
|
|
161
162
|
export * from "./employee-label-assignment";
|
|
162
|
-
export * from "./
|
|
163
|
-
export * from "./
|
|
163
|
+
export * from "./patrol";
|
|
164
|
+
export * from "./patrol-point";
|
|
164
165
|
export * from "./attendance-patrol";
|
|
165
166
|
export * from "./attendance-patrol-point";
|
|
166
167
|
export * from "./position-template";
|
|
167
168
|
export * from "./position-template-item";
|
|
168
169
|
export * from "./day-of-week";
|
|
169
170
|
export * from "./client-contract";
|
|
170
|
-
export * from "./
|
|
171
|
-
export * from "./
|
|
171
|
+
export * from "./cluster-patrol";
|
|
172
|
+
export * from "./cluster-patrol-point";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { IDayOfWeek } from "./day-of-week";
|
|
2
|
+
|
|
3
|
+
export interface IPatrol {
|
|
2
4
|
id: string;
|
|
3
5
|
createdAt: string;
|
|
4
6
|
updatedAt?: string;
|
|
@@ -7,7 +9,9 @@ export interface IPositionPatrol {
|
|
|
7
9
|
description?: string;
|
|
8
10
|
flow: "SEQUENTIAL" | "RANDOM";
|
|
9
11
|
frequency: number;
|
|
12
|
+
days: IDayOfWeek[];
|
|
10
13
|
|
|
11
|
-
positionId
|
|
14
|
+
positionId?: string;
|
|
15
|
+
regionId: string;
|
|
12
16
|
metadata?: any;
|
|
13
17
|
}
|
package/package.json
CHANGED