@automateinc/fleet-types 1.0.40-dev.f58c8d7 → 1.0.41
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-contract.d.ts +31 -0
- package/dist/types/client-sub-contract.d.ts +15 -0
- package/dist/types/day-of-week.d.ts +1 -0
- package/dist/types/index.d.ts +14 -3
- package/dist/types/position-template-item.d.ts +13 -0
- package/dist/types/position-template.d.ts +10 -0
- package/dist/types/recruitment-employment-information-history.d.ts +8 -0
- package/dist/types/recruitment-employment-information.d.ts +13 -0
- package/dist/types/recruitment-medical-information.d.ts +10 -0
- package/dist/types/recruitment-national-card-information.d.ts +12 -0
- package/dist/types/recruitment-other-information-additional-information.d.ts +4 -0
- package/dist/types/recruitment-other-information.d.ts +9 -0
- package/dist/types/recruitment-passport-information.d.ts +13 -0
- package/dist/types/recruitment-personal-information.d.ts +19 -0
- package/dist/types/recruitment-visa-information.d.ts +9 -0
- package/package.json +1 -1
- package/dist/types/recruitment-category-field.d.ts +0 -24
- package/dist/types/recruitment-category.d.ts +0 -11
- package/dist/types/recruitment-value.d.ts +0 -19
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ICoords } from "./coords";
|
|
2
|
+
import { IDayOfWeek } from "./day-of-week";
|
|
3
|
+
|
|
4
|
+
export interface IClientContract {
|
|
5
|
+
id: string;
|
|
6
|
+
createdAt: string;
|
|
7
|
+
updatedAt: string;
|
|
8
|
+
|
|
9
|
+
status: "INACTIVE" | "ACTIVE" | "TERMINATED";
|
|
10
|
+
clientId: string;
|
|
11
|
+
companyId: string;
|
|
12
|
+
startDate: string;
|
|
13
|
+
endDate?: string;
|
|
14
|
+
duration?: number | "ONGOING";
|
|
15
|
+
|
|
16
|
+
geolocation: ICoords;
|
|
17
|
+
coverage: IDayOfWeek[];
|
|
18
|
+
nationalities: string[];
|
|
19
|
+
requirements: string[];
|
|
20
|
+
costPerHead: number;
|
|
21
|
+
shiftCoverage: number;
|
|
22
|
+
monthlyAmount: number;
|
|
23
|
+
paymentDate: string;
|
|
24
|
+
performanceBondAmount: number;
|
|
25
|
+
thirdPartyLiabilityInsurance: boolean;
|
|
26
|
+
notes: string;
|
|
27
|
+
supplementalAgreementId?: string;
|
|
28
|
+
personInChargeId?: string;
|
|
29
|
+
|
|
30
|
+
metadata?: any;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IClientSubContract {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
|
|
6
|
+
status: "INACTIVE" | "ACTIVE" | "TERMINATED";
|
|
7
|
+
contractId: string;
|
|
8
|
+
startDate: string;
|
|
9
|
+
endDate?: string;
|
|
10
|
+
duration?: number | "ONGOING";
|
|
11
|
+
manPower?: number;
|
|
12
|
+
notes: string;
|
|
13
|
+
|
|
14
|
+
metadata?: any;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type IDayOfWeek = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -64,11 +64,20 @@ export * from "./request-value";
|
|
|
64
64
|
export * from "./team";
|
|
65
65
|
export * from "./user";
|
|
66
66
|
export * from "./recruitment";
|
|
67
|
+
export * from "./recruitment-employment-information-history";
|
|
68
|
+
export * from "./recruitment-employment-information";
|
|
69
|
+
export * from "./recruitment-medical-information";
|
|
70
|
+
export * from "./recruitment-other-information";
|
|
71
|
+
export * from "./recruitment-passport-information";
|
|
72
|
+
export * from "./recruitment-visa-information";
|
|
73
|
+
export * from "./recruitment-personal-information";
|
|
67
74
|
export * from "./file";
|
|
68
75
|
export * from "./gender";
|
|
69
76
|
export * from "./request-action";
|
|
70
77
|
export * from "./request-action-execution";
|
|
71
78
|
export * from "./signing-mode";
|
|
79
|
+
export * from "./recruitment-other-information-additional-information";
|
|
80
|
+
export * from "./recruitment-national-card-information";
|
|
72
81
|
export * from "./client-class";
|
|
73
82
|
export * from "./client";
|
|
74
83
|
export * from "./client-contact";
|
|
@@ -154,6 +163,8 @@ export * from "./position-patrol";
|
|
|
154
163
|
export * from "./position-patrol-point";
|
|
155
164
|
export * from "./attendance-patrol";
|
|
156
165
|
export * from "./attendance-patrol-point";
|
|
157
|
-
export * from "./
|
|
158
|
-
export * from "./
|
|
159
|
-
export * from "./
|
|
166
|
+
export * from "./position-template";
|
|
167
|
+
export * from "./position-template-item";
|
|
168
|
+
export * from "./day-of-week";
|
|
169
|
+
export * from "./client-contract";
|
|
170
|
+
export * from "./client-sub-contract";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IFile, IRecruitmentEmploymentInformationHistory } from ".";
|
|
2
|
+
|
|
3
|
+
export interface IRecruitmentEmploymentInformation {
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt: string;
|
|
7
|
+
retirementStatus: boolean;
|
|
8
|
+
resume?: IFile;
|
|
9
|
+
|
|
10
|
+
desiredRole?: string;
|
|
11
|
+
history?: IRecruitmentEmploymentInformationHistory[];
|
|
12
|
+
metadata?: any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface IRecruitmentNationalCardInformation {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
number?: string;
|
|
6
|
+
country?: string;
|
|
7
|
+
expiryDate: string;
|
|
8
|
+
placeOfIssue?: string;
|
|
9
|
+
issueDate?: string;
|
|
10
|
+
recruitmentId: string;
|
|
11
|
+
metadata?: any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IRecruitmentOtherInformationAdditionalInformation } from ".";
|
|
2
|
+
|
|
3
|
+
export interface IRecruitmentOtherInformation {
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt: string;
|
|
7
|
+
additionalInformation: IRecruitmentOtherInformationAdditionalInformation[];
|
|
8
|
+
metadata?: any;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IRecruitmentPassportInformation {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
|
|
6
|
+
number?: string;
|
|
7
|
+
expiryDate?: string;
|
|
8
|
+
country?: string;
|
|
9
|
+
placeOfIssue?: string;
|
|
10
|
+
issueDate?: string;
|
|
11
|
+
secondPage?: boolean;
|
|
12
|
+
metadata?: any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface IRecruitmentPersonalInformation {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
|
|
6
|
+
firstName?: string;
|
|
7
|
+
middleNames?: string;
|
|
8
|
+
fatherName?: string;
|
|
9
|
+
lastName?: string;
|
|
10
|
+
gender?: "MALE" | "FEMALE";
|
|
11
|
+
nationality?: string;
|
|
12
|
+
nationalNumber: string;
|
|
13
|
+
dateOfBirth?: string;
|
|
14
|
+
placeOfBirth?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
fullName?: string;
|
|
17
|
+
location?: string;
|
|
18
|
+
metadata?: any;
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface IRecruitmentCategoryField {
|
|
2
|
-
name: string;
|
|
3
|
-
required: boolean;
|
|
4
|
-
type:
|
|
5
|
-
| "STRING"
|
|
6
|
-
| "NUMBER"
|
|
7
|
-
| "BOOLEAN"
|
|
8
|
-
| "DATE"
|
|
9
|
-
| "DATETIME"
|
|
10
|
-
| "TIME"
|
|
11
|
-
| "UPLOAD"
|
|
12
|
-
| "RELATION"
|
|
13
|
-
| "SINGLE_SELECT"
|
|
14
|
-
| "SIGNATURE";
|
|
15
|
-
model?: "contract" | "company" | "contact";
|
|
16
|
-
config: {
|
|
17
|
-
options: any[];
|
|
18
|
-
optionsUrl: string;
|
|
19
|
-
uploadCategory?: string;
|
|
20
|
-
variant?: string;
|
|
21
|
-
dependencies?: any[];
|
|
22
|
-
};
|
|
23
|
-
metadata?: any;
|
|
24
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IFile, IRecruitmentCategoryField } from ".";
|
|
2
|
-
import { IModel } from "./models";
|
|
3
|
-
|
|
4
|
-
export interface IRecruitmentValue {
|
|
5
|
-
id: string;
|
|
6
|
-
type: IRecruitmentCategoryField["type"];
|
|
7
|
-
name: string;
|
|
8
|
-
value: any;
|
|
9
|
-
model?: IModel;
|
|
10
|
-
required?: boolean;
|
|
11
|
-
relation?: {
|
|
12
|
-
[key: PropertyKey]: any;
|
|
13
|
-
};
|
|
14
|
-
relationValue?: string;
|
|
15
|
-
file?: IFile;
|
|
16
|
-
metadata?: any;
|
|
17
|
-
categoryId: string;
|
|
18
|
-
regionId: string;
|
|
19
|
-
}
|