@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.
@@ -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 "./recruitment-category";
158
- export * from "./recruitment-category-field";
159
- export * from "./recruitment-value";
166
+ export * from "./position-template";
167
+ export * from "./position-template-item";
@@ -0,0 +1,13 @@
1
+ export interface IPositionTemplateItem {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt: string;
5
+
6
+ order: number;
7
+
8
+ shiftTypeId: string;
9
+
10
+ positionTemplateId: string;
11
+
12
+ metadata: any;
13
+ }
@@ -0,0 +1,10 @@
1
+ export interface IPositionTemplate {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt: string;
5
+
6
+ regionId: string;
7
+ hours: number;
8
+
9
+ metadata: any;
10
+ }
@@ -0,0 +1,8 @@
1
+ export interface IRecruitmentEmploymentInformationHistory {
2
+ companyName: string;
3
+ startDate: string;
4
+ endDate?: string;
5
+ position: string;
6
+ description?: string;
7
+ metadata?: any;
8
+ }
@@ -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,10 @@
1
+ export interface IRecruitmentMedicalInformation {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt: string;
5
+
6
+ referenceNumber?: string;
7
+ expiryDate?: string;
8
+ institutionName?: string;
9
+ metadata?: any;
10
+ }
@@ -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,4 @@
1
+ export interface IRecruitmentOtherInformationAdditionalInformation {
2
+ name: string;
3
+ value: string;
4
+ }
@@ -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
+ }
@@ -0,0 +1,9 @@
1
+ export interface IRecruitmentVisaInformation {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt: string;
5
+ type: string;
6
+
7
+ expiryDate?: string;
8
+ metadata?: any;
9
+ }
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.9b270db",
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,11 +0,0 @@
1
- import { IRecruitmentCategoryField } from ".";
2
-
3
- export interface IRecruitmentCategory {
4
- id: string;
5
- name: string;
6
- typeId: string;
7
- fields: IRecruitmentCategoryField[];
8
- createdAt: string;
9
- updatedAt: string;
10
- metadata?: any;
11
- }
@@ -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
- }