@automateinc/fleet-types 1.0.77-dev.5920545 → 1.0.77-dev.65598fd
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/client-checklist-definition.d.ts +24 -0
- package/dist/types/client-checklist-item.d.ts +14 -0
- package/dist/types/client-quotation-line.d.ts +1 -1
- package/dist/types/client-quotation-position-version.d.ts +34 -0
- package/dist/types/client-quotation-site-draft.d.ts +13 -0
- package/dist/types/client-request-category-field.d.ts +28 -0
- package/dist/types/client-request-value.d.ts +1 -1
- package/dist/types/contract-snapshot-allowance.d.ts +24 -0
- package/dist/types/contract-snapshot-benefit.d.ts +15 -0
- package/dist/types/contract-snapshot-cost.d.ts +18 -0
- package/dist/types/contract-snapshot-deduction.d.ts +19 -0
- package/dist/types/contract-snapshot.d.ts +26 -0
- package/dist/types/contract.d.ts +3 -2
- package/dist/types/employee-group-cost.d.ts +17 -0
- package/dist/types/employee-group-snapshot-cost.d.ts +18 -0
- package/dist/types/employee-group-snapshot.d.ts +11 -0
- package/dist/types/employee-group.d.ts +1 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/models.d.ts +2 -0
- package/dist/types/position-version.d.ts +1 -3
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type IClientChecklistDefinitionScope = "REGION" | "CLIENT";
|
|
2
|
+
|
|
3
|
+
export interface IClientChecklistDefinition {
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt?: string | null;
|
|
7
|
+
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string | null;
|
|
10
|
+
order: number;
|
|
11
|
+
requiresAttachment: boolean;
|
|
12
|
+
|
|
13
|
+
systemGenerated: boolean;
|
|
14
|
+
scope: IClientChecklistDefinitionScope;
|
|
15
|
+
|
|
16
|
+
regionId: string;
|
|
17
|
+
clientId?: string | null;
|
|
18
|
+
createdById?: string | null;
|
|
19
|
+
|
|
20
|
+
visibleWhenFieldId?: string | null;
|
|
21
|
+
visibleWhenValueString?: string | null;
|
|
22
|
+
|
|
23
|
+
metadata?: any;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IClientChecklistItem {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string | null;
|
|
5
|
+
|
|
6
|
+
definitionId: string;
|
|
7
|
+
clientId: string;
|
|
8
|
+
|
|
9
|
+
done: boolean;
|
|
10
|
+
completedAt?: string | null;
|
|
11
|
+
completedById?: string | null;
|
|
12
|
+
|
|
13
|
+
metadata?: any;
|
|
14
|
+
}
|
|
@@ -5,13 +5,13 @@ export interface IClientQuotationLine {
|
|
|
5
5
|
|
|
6
6
|
quotationId: string;
|
|
7
7
|
employeeGroupId: string;
|
|
8
|
+
employeeGroupSnapshotId: string;
|
|
8
9
|
employeeContractId: string;
|
|
9
10
|
employeeContractSnapshotId: string;
|
|
10
11
|
employeeCompanyId: string;
|
|
11
12
|
roleId: string;
|
|
12
13
|
|
|
13
14
|
headcount: number;
|
|
14
|
-
pricePerHead: number;
|
|
15
15
|
|
|
16
16
|
metadata?: any;
|
|
17
17
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IGender } from "./gender";
|
|
2
|
+
|
|
3
|
+
export interface IClientQuotationPositionVersion {
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt: string;
|
|
7
|
+
|
|
8
|
+
siteDraftId: string;
|
|
9
|
+
positionId?: string | null;
|
|
10
|
+
positionVersionId?: string | null;
|
|
11
|
+
|
|
12
|
+
name: string;
|
|
13
|
+
status:
|
|
14
|
+
| "UNVERIFIED"
|
|
15
|
+
| "PENDING_VERIFICATION"
|
|
16
|
+
| "VERIFIED"
|
|
17
|
+
| "REJECTED"
|
|
18
|
+
| "CHANGES_NEEDED";
|
|
19
|
+
reason?: string | null;
|
|
20
|
+
|
|
21
|
+
coversSaturday: boolean;
|
|
22
|
+
coversSunday: boolean;
|
|
23
|
+
coversMonday: boolean;
|
|
24
|
+
coversTuesday: boolean;
|
|
25
|
+
coversWednesday: boolean;
|
|
26
|
+
coversThursday: boolean;
|
|
27
|
+
coversFriday: boolean;
|
|
28
|
+
|
|
29
|
+
dailyHours: number;
|
|
30
|
+
dailyCoverage: string;
|
|
31
|
+
gender?: IGender | null;
|
|
32
|
+
|
|
33
|
+
metadata?: any;
|
|
34
|
+
}
|
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
import { IModel } from "./models";
|
|
2
2
|
|
|
3
|
+
export interface IClientRequestFieldVisibilityRule {
|
|
4
|
+
id: string;
|
|
5
|
+
action: "SHOW" | "HIDE";
|
|
6
|
+
operator: "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "IS_EMPTY" | "IS_NOT_EMPTY";
|
|
7
|
+
sourceFieldId: string;
|
|
8
|
+
targetFieldId: string;
|
|
9
|
+
order: number;
|
|
10
|
+
compareValueString?: string;
|
|
11
|
+
compareValueNumber?: number;
|
|
12
|
+
compareValueBoolean?: boolean;
|
|
13
|
+
compareValueDate?: string;
|
|
14
|
+
metadata?: any;
|
|
15
|
+
sourceField?: {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
type?: IClientRequestCategoryField["type"];
|
|
19
|
+
};
|
|
20
|
+
targetField?: {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
type?: IClientRequestCategoryField["type"];
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
3
27
|
export interface IClientRequestCategoryField {
|
|
4
28
|
id: string;
|
|
5
29
|
createdAt: string;
|
|
@@ -11,6 +35,7 @@ export interface IClientRequestCategoryField {
|
|
|
11
35
|
order: number;
|
|
12
36
|
|
|
13
37
|
name: string;
|
|
38
|
+
cardinality: "SINGLE" | "MULTI";
|
|
14
39
|
|
|
15
40
|
type:
|
|
16
41
|
| "STRING"
|
|
@@ -35,4 +60,7 @@ export interface IClientRequestCategoryField {
|
|
|
35
60
|
hasDependency?: boolean;
|
|
36
61
|
variant?: string;
|
|
37
62
|
};
|
|
63
|
+
|
|
64
|
+
visibilityRulesAsSource?: IClientRequestFieldVisibilityRule[];
|
|
65
|
+
visibilityRulesAsTarget?: IClientRequestFieldVisibilityRule[];
|
|
38
66
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface IContractSnapshotAllowance {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: Date;
|
|
4
|
+
updatedAt?: Date;
|
|
5
|
+
|
|
6
|
+
snapshotId: string;
|
|
7
|
+
sourceAllowanceId?: string;
|
|
8
|
+
|
|
9
|
+
name: string;
|
|
10
|
+
type:
|
|
11
|
+
| "BASE_PERCENTAGE"
|
|
12
|
+
| "FIXED"
|
|
13
|
+
| "BASE_PERCENTAGE_TIMES_DAYS_OFF"
|
|
14
|
+
| "BASE_PERCENTAGE_TIMES_DAILY_HOURS"
|
|
15
|
+
| "RAMADAN";
|
|
16
|
+
value: number;
|
|
17
|
+
|
|
18
|
+
contractual: boolean;
|
|
19
|
+
|
|
20
|
+
regionId: string;
|
|
21
|
+
companyId?: string;
|
|
22
|
+
|
|
23
|
+
metadata?: any;
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface IContractSnapshotCost {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
|
|
6
|
+
snapshotId: string;
|
|
7
|
+
sourceCostId?: string;
|
|
8
|
+
|
|
9
|
+
name: string;
|
|
10
|
+
value: number;
|
|
11
|
+
|
|
12
|
+
recurrence?: "ONE_TIME" | "RECURRING";
|
|
13
|
+
|
|
14
|
+
duration?: number;
|
|
15
|
+
durationType?: "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
16
|
+
|
|
17
|
+
metadata?: any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface IContractSnapshotDeduction {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: Date;
|
|
4
|
+
updatedAt?: Date;
|
|
5
|
+
|
|
6
|
+
snapshotId: string;
|
|
7
|
+
sourceDeductionId?: string;
|
|
8
|
+
|
|
9
|
+
name: string;
|
|
10
|
+
type: "PERCENTAGE" | "FIXED";
|
|
11
|
+
value: number;
|
|
12
|
+
|
|
13
|
+
contractual: boolean;
|
|
14
|
+
|
|
15
|
+
regionId: string;
|
|
16
|
+
companyId?: string;
|
|
17
|
+
|
|
18
|
+
metadata?: any;
|
|
19
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface IContractSnapshot {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: Date;
|
|
4
|
+
updatedAt?: Date;
|
|
5
|
+
|
|
6
|
+
contractId: string;
|
|
7
|
+
type: "FULL_TIME" | "PART_TIME" | "FREELANCE";
|
|
8
|
+
companyId?: string;
|
|
9
|
+
regionId: string;
|
|
10
|
+
roleId: string;
|
|
11
|
+
|
|
12
|
+
paymentType: "TRANSFER" | "CASH" | "CHECK" | "UNPAID" | "FORSA" | "OTHER";
|
|
13
|
+
basicSalary: number;
|
|
14
|
+
totalSalary: number;
|
|
15
|
+
dailyHours: number;
|
|
16
|
+
monthlyDaysOff: number;
|
|
17
|
+
dayOffHours: number;
|
|
18
|
+
workingDaysPerWeek: number;
|
|
19
|
+
contractDuration?: number;
|
|
20
|
+
overtimeRate: number;
|
|
21
|
+
commissionRate?: number;
|
|
22
|
+
|
|
23
|
+
contractualAllowancesProvided: boolean;
|
|
24
|
+
|
|
25
|
+
metadata?: any;
|
|
26
|
+
}
|
package/dist/types/contract.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export interface IContract {
|
|
2
2
|
basicSalary: number;
|
|
3
3
|
companyId: string;
|
|
4
|
-
createdAt:
|
|
4
|
+
createdAt: string;
|
|
5
|
+
deletedAt?: string;
|
|
5
6
|
id: string;
|
|
6
7
|
type: "FULL_TIME" | "PART_TIME" | "FREELANCE";
|
|
7
8
|
roleId: string;
|
|
8
9
|
primaryKey: string;
|
|
9
10
|
totalSalary: number;
|
|
10
|
-
updatedAt:
|
|
11
|
+
updatedAt: string;
|
|
11
12
|
dailyHours: number;
|
|
12
13
|
monthlyDaysOff: number;
|
|
13
14
|
workingDaysPerWeek: number;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface IEmployeeGroupCost {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
|
|
6
|
+
name: string;
|
|
7
|
+
value: number;
|
|
8
|
+
|
|
9
|
+
recurrence?: "ONE_TIME" | "RECURRING";
|
|
10
|
+
|
|
11
|
+
duration?: number;
|
|
12
|
+
durationType?: "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
13
|
+
|
|
14
|
+
employeeGroupId: string;
|
|
15
|
+
|
|
16
|
+
metadata?: any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface IEmployeeGroupSnapshotCost {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
|
|
6
|
+
snapshotId: string;
|
|
7
|
+
sourceCostId?: string;
|
|
8
|
+
|
|
9
|
+
name: string;
|
|
10
|
+
value: number;
|
|
11
|
+
|
|
12
|
+
recurrence?: "ONE_TIME" | "RECURRING";
|
|
13
|
+
|
|
14
|
+
duration?: number;
|
|
15
|
+
durationType?: "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
16
|
+
|
|
17
|
+
metadata?: any;
|
|
18
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -56,6 +56,8 @@ export * from "./call-log";
|
|
|
56
56
|
export * from "./ceiling";
|
|
57
57
|
export * from "./client";
|
|
58
58
|
export * from "./client-class";
|
|
59
|
+
export * from "./client-checklist-definition";
|
|
60
|
+
export * from "./client-checklist-item";
|
|
59
61
|
export * from "./client-comment";
|
|
60
62
|
export * from "./client-comment-reaction";
|
|
61
63
|
export * from "./client-contact";
|
|
@@ -66,6 +68,8 @@ export * from "./client-field-category";
|
|
|
66
68
|
export * from "./client-field-value";
|
|
67
69
|
export * from "./client-quotation";
|
|
68
70
|
export * from "./client-quotation-line";
|
|
71
|
+
export * from "./client-quotation-position-version";
|
|
72
|
+
export * from "./client-quotation-site-draft";
|
|
69
73
|
export * from "./client-request";
|
|
70
74
|
export * from "./client-request-action";
|
|
71
75
|
export * from "./client-request-action-execution";
|
|
@@ -89,6 +93,11 @@ export * from "./contract-allowance";
|
|
|
89
93
|
export * from "./contract-benefit";
|
|
90
94
|
export * from "./contract-deduction";
|
|
91
95
|
export * from "./contract-cost";
|
|
96
|
+
export * from "./contract-snapshot";
|
|
97
|
+
export * from "./contract-snapshot-allowance";
|
|
98
|
+
export * from "./contract-snapshot-benefit";
|
|
99
|
+
export * from "./contract-snapshot-deduction";
|
|
100
|
+
export * from "./contract-snapshot-cost";
|
|
92
101
|
export * from "./coords";
|
|
93
102
|
export * from "./day-of-week";
|
|
94
103
|
export * from "./dispatch";
|
|
@@ -100,6 +109,9 @@ export * from "./employee-comment-reaction";
|
|
|
100
109
|
export * from "./employee-event";
|
|
101
110
|
export * from "./employee-field";
|
|
102
111
|
export * from "./employee-group";
|
|
112
|
+
export * from "./employee-group-cost";
|
|
113
|
+
export * from "./employee-group-snapshot";
|
|
114
|
+
export * from "./employee-group-snapshot-cost";
|
|
103
115
|
export * from "./employee-label";
|
|
104
116
|
export * from "./employee-label-assignment";
|
|
105
117
|
export * from "./employee-monthly-payroll";
|
package/dist/types/models.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export interface IPositionVersion {
|
|
|
3
3
|
updatedAt: Date;
|
|
4
4
|
createdAt: Date;
|
|
5
5
|
|
|
6
|
-
status: "UNVERIFIED" | "PENDING_VERIFICATION" | "VERIFIED" | "REJECTED"
|
|
6
|
+
status: "UNVERIFIED" | "PENDING_VERIFICATION" | "VERIFIED" | "REJECTED";
|
|
7
7
|
version: number;
|
|
8
8
|
coversSaturday: boolean;
|
|
9
9
|
coversSunday: boolean;
|
|
@@ -16,8 +16,6 @@ export interface IPositionVersion {
|
|
|
16
16
|
dailyCoverage: string;
|
|
17
17
|
weeklyCoverage: string;
|
|
18
18
|
|
|
19
|
-
reason?: string;
|
|
20
|
-
|
|
21
19
|
positionId: string;
|
|
22
20
|
activePositionId: string;
|
|
23
21
|
metadata?: any;
|
package/package.json
CHANGED