@automateinc/fleet-types 1.0.40-dev.d38e15e → 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 -4
- 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/dist/types/recruitment.d.ts +0 -4
- 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 -6
- package/dist/types/value.d.ts +0 -51
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,7 +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";
|
|
160
|
-
export * from "./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
|
-
}
|
package/dist/types/value.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { IClient } from "./client";
|
|
2
|
-
import { ICompany } from "./company";
|
|
3
|
-
import { IContact } from "./contact";
|
|
4
|
-
import { IContract } from "./contract";
|
|
5
|
-
import { IFile } from "./file";
|
|
6
|
-
import { IModel } from "./models";
|
|
7
|
-
import { IPaymentCycle } from "./payment-cycle";
|
|
8
|
-
import { IZone } from "./zone";
|
|
9
|
-
|
|
10
|
-
export interface IValue {
|
|
11
|
-
id: string;
|
|
12
|
-
type:
|
|
13
|
-
| "STRING"
|
|
14
|
-
| "NUMBER"
|
|
15
|
-
| "BOOLEAN"
|
|
16
|
-
| "DATE"
|
|
17
|
-
| "DATETIME"
|
|
18
|
-
| "TIME"
|
|
19
|
-
| "UPLOAD"
|
|
20
|
-
| "RELATION"
|
|
21
|
-
| "SINGLE_SELECT"
|
|
22
|
-
| "SIGNATURE";
|
|
23
|
-
name: string;
|
|
24
|
-
value: any;
|
|
25
|
-
config?: {
|
|
26
|
-
model?: IModel;
|
|
27
|
-
options?: Array<{ label: string; value: string } | string>;
|
|
28
|
-
optionsUrl?: string;
|
|
29
|
-
dependencies?: string[];
|
|
30
|
-
hasDependency?: boolean;
|
|
31
|
-
uploadCategory?: string;
|
|
32
|
-
};
|
|
33
|
-
metadata?: any;
|
|
34
|
-
clientId?: string;
|
|
35
|
-
companyId?: string;
|
|
36
|
-
contactId?: string;
|
|
37
|
-
contractId?: string;
|
|
38
|
-
fileId?: string;
|
|
39
|
-
paymentCycleId?: string;
|
|
40
|
-
zoneId?: string;
|
|
41
|
-
createdAt: string;
|
|
42
|
-
updatedAt: string;
|
|
43
|
-
|
|
44
|
-
file?: IFile;
|
|
45
|
-
company?: ICompany;
|
|
46
|
-
client?: IClient;
|
|
47
|
-
contract?: IContract;
|
|
48
|
-
contact?: IContact;
|
|
49
|
-
paymentCycle?: IPaymentCycle;
|
|
50
|
-
zone?: IZone;
|
|
51
|
-
}
|