@automateinc/fleet-types 1.0.40-dev.9b270db → 1.0.40-dev.e410beb
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/index.d.ts +11 -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 -29
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,5 @@ 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 "./recruitment-value";
|
|
166
|
+
export * from "./position-template";
|
|
167
|
+
export * from "./position-template-item";
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automateinc/fleet-types",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.40-dev.
|
|
4
|
+
"version": "1.0.40-dev.e410beb",
|
|
5
5
|
"description": "Reusable TypeScript types and interfaces for Fleet API.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
@@ -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,29 +0,0 @@
|
|
|
1
|
-
import { IModel } from "./models";
|
|
2
|
-
import { IRecruitmentCategoryField } from ".";
|
|
3
|
-
|
|
4
|
-
export interface IRecruitmentValue {
|
|
5
|
-
id: string;
|
|
6
|
-
type: IRecruitmentCategoryField["type"];
|
|
7
|
-
name: string;
|
|
8
|
-
value: any;
|
|
9
|
-
config?: {
|
|
10
|
-
model?: IModel;
|
|
11
|
-
options?: Array<{ label: string; value: string } | string>;
|
|
12
|
-
optionsUrl?: string;
|
|
13
|
-
dependencies?: string[];
|
|
14
|
-
hasDependency?: boolean;
|
|
15
|
-
uploadCategory?: string;
|
|
16
|
-
};
|
|
17
|
-
metadata?: any;
|
|
18
|
-
categoryId: string;
|
|
19
|
-
clientId?: string;
|
|
20
|
-
companyId?: string;
|
|
21
|
-
contactId?: string;
|
|
22
|
-
contractId?: string;
|
|
23
|
-
fileId?: string;
|
|
24
|
-
paymentCycleId?: string;
|
|
25
|
-
zoneId?: string;
|
|
26
|
-
recruitmentId: string;
|
|
27
|
-
createdAt: string;
|
|
28
|
-
updatedAt: string;
|
|
29
|
-
}
|