@automateinc/fleet-types 1.0.39-dev.b8fd753 → 1.0.40-dev.2531297
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/asset-category-field.d.ts +1 -0
- package/dist/types/asset-category.d.ts +1 -0
- package/dist/types/asset-type.d.ts +1 -0
- package/dist/types/asset-value.d.ts +1 -0
- package/dist/types/asset.d.ts +1 -0
- package/dist/types/attendance-leave-reason.d.ts +1 -0
- package/dist/types/attendance-patrol-point.d.ts +1 -0
- package/dist/types/attendance-patrol.d.ts +1 -0
- package/dist/types/attendance-presence-check.d.ts +1 -0
- package/dist/types/attendance.d.ts +1 -0
- package/dist/types/building-contact.d.ts +1 -0
- package/dist/types/building-lease-payment.d.ts +1 -0
- package/dist/types/building-lease.d.ts +1 -0
- package/dist/types/building.d.ts +1 -0
- package/dist/types/bunk.d.ts +1 -0
- package/dist/types/call-log.d.ts +1 -0
- package/dist/types/ceiling.d.ts +1 -0
- package/dist/types/client-class.d.ts +1 -0
- package/dist/types/client-contact.d.ts +1 -0
- package/dist/types/client-site.d.ts +1 -0
- package/dist/types/client.d.ts +1 -0
- package/dist/types/company-file.d.ts +1 -0
- package/dist/types/company.d.ts +1 -0
- package/dist/types/config.d.ts +1 -0
- package/dist/types/contact.d.ts +1 -0
- package/dist/types/contract-allowance.d.ts +1 -0
- package/dist/types/contract-benefit.d.ts +1 -0
- package/dist/types/contract-deduction.d.ts +1 -0
- package/dist/types/contract.d.ts +1 -0
- package/dist/types/dispatch-attendance.d.ts +1 -0
- package/dist/types/dispatch.d.ts +1 -0
- package/dist/types/employee-comment-reaction.d.ts +1 -0
- package/dist/types/employee-comment.d.ts +1 -0
- package/dist/types/employee-event.d.ts +1 -1
- package/dist/types/employee-field.d.ts +1 -0
- package/dist/types/employee-label-assignment.d.ts +1 -0
- package/dist/types/employee-label.d.ts +1 -0
- package/dist/types/employee-status.d.ts +1 -0
- package/dist/types/employee.d.ts +0 -4
- package/dist/types/file.d.ts +1 -0
- package/dist/types/index.d.ts +3 -9
- package/dist/types/leave-event.d.ts +1 -0
- package/dist/types/leave-type.d.ts +1 -0
- package/dist/types/leave.d.ts +1 -0
- package/dist/types/loan-installment.d.ts +1 -0
- package/dist/types/loan.d.ts +1 -0
- package/dist/types/nfc-tag.d.ts +1 -0
- package/dist/types/notification-token.d.ts +1 -0
- package/dist/types/notification.d.ts +1 -0
- package/dist/types/one-time-password.d.ts +1 -0
- package/dist/types/payment-cycle.d.ts +1 -0
- package/dist/types/permission-group.d.ts +1 -0
- package/dist/types/permission.d.ts +1 -0
- package/dist/types/phone-line-commitment.d.ts +1 -0
- package/dist/types/phone-line-contract.d.ts +1 -0
- package/dist/types/phone-line-package.d.ts +1 -0
- package/dist/types/phone-line.d.ts +1 -0
- package/dist/types/position-patrol-point.d.ts +1 -0
- package/dist/types/position-patrol.d.ts +1 -0
- package/dist/types/position-version.d.ts +1 -0
- package/dist/types/position.d.ts +1 -0
- package/dist/types/recruitment-category-field.d.ts +24 -0
- package/dist/types/recruitment-category.d.ts +11 -0
- package/dist/types/recruitment-value.d.ts +17 -0
- package/dist/types/recruitment.d.ts +1 -0
- package/dist/types/region.d.ts +1 -0
- package/dist/types/report-category.d.ts +1 -0
- package/dist/types/report-comment-reaction.d.ts +1 -0
- package/dist/types/report-comment.d.ts +1 -0
- package/dist/types/report-type.d.ts +1 -0
- package/dist/types/report-value.d.ts +1 -0
- package/dist/types/report.d.ts +1 -0
- package/dist/types/request-action-execution.d.ts +1 -0
- package/dist/types/request-action.d.ts +1 -0
- package/dist/types/request-category-field.d.ts +1 -0
- package/dist/types/request-category.d.ts +1 -0
- package/dist/types/request-type.d.ts +1 -0
- package/dist/types/request-value.d.ts +1 -0
- package/dist/types/request-verification.d.ts +1 -0
- package/dist/types/request.d.ts +1 -0
- package/dist/types/restriction.d.ts +1 -0
- package/dist/types/role.d.ts +1 -0
- package/dist/types/schedule-draft.d.ts +1 -0
- package/dist/types/schedule-site.d.ts +1 -0
- package/dist/types/schedule.d.ts +1 -0
- package/dist/types/shift-type.d.ts +1 -0
- package/dist/types/shift.d.ts +1 -0
- package/dist/types/signing-mode.d.ts +1 -0
- package/dist/types/standard-operating-procedure.d.ts +1 -0
- package/dist/types/tag.d.ts +1 -0
- package/dist/types/team.d.ts +1 -0
- package/dist/types/unit-room.d.ts +1 -0
- package/dist/types/unit.d.ts +1 -0
- package/dist/types/user.d.ts +0 -3
- package/dist/types/vehicle-contract-payment.d.ts +1 -0
- package/dist/types/vehicle-contract.d.ts +1 -0
- package/dist/types/vehicle-insurance.d.ts +1 -0
- package/dist/types/vehicle-make.d.ts +1 -0
- package/dist/types/vehicle-model.d.ts +1 -0
- package/dist/types/vehicle-registration.d.ts +1 -0
- package/dist/types/vehicle-status.d.ts +1 -0
- package/dist/types/vehicle.d.ts +1 -0
- package/dist/types/vendor-contact.d.ts +1 -0
- package/dist/types/vendor.d.ts +1 -0
- package/dist/types/zone.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/recruitment-employment-information-history.d.ts +0 -7
- package/dist/types/recruitment-employment-information.d.ts +0 -12
- package/dist/types/recruitment-medical-information.d.ts +0 -9
- package/dist/types/recruitment-national-card-information.d.ts +0 -11
- package/dist/types/recruitment-other-information-additional-information.d.ts +0 -4
- package/dist/types/recruitment-other-information.d.ts +0 -8
- package/dist/types/recruitment-passport-information.d.ts +0 -12
- package/dist/types/recruitment-personal-information.d.ts +0 -18
- package/dist/types/recruitment-visa-information.d.ts +0 -8
package/dist/types/asset.d.ts
CHANGED
package/dist/types/building.d.ts
CHANGED
package/dist/types/bunk.d.ts
CHANGED
package/dist/types/call-log.d.ts
CHANGED
package/dist/types/ceiling.d.ts
CHANGED
package/dist/types/client.d.ts
CHANGED
package/dist/types/company.d.ts
CHANGED
package/dist/types/config.d.ts
CHANGED
package/dist/types/contact.d.ts
CHANGED
package/dist/types/contract.d.ts
CHANGED
package/dist/types/dispatch.d.ts
CHANGED
package/dist/types/employee.d.ts
CHANGED
package/dist/types/file.d.ts
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -64,20 +64,11 @@ 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";
|
|
74
67
|
export * from "./file";
|
|
75
68
|
export * from "./gender";
|
|
76
69
|
export * from "./request-action";
|
|
77
70
|
export * from "./request-action-execution";
|
|
78
71
|
export * from "./signing-mode";
|
|
79
|
-
export * from "./recruitment-other-information-additional-information";
|
|
80
|
-
export * from "./recruitment-national-card-information";
|
|
81
72
|
export * from "./client-class";
|
|
82
73
|
export * from "./client";
|
|
83
74
|
export * from "./client-contact";
|
|
@@ -163,3 +154,6 @@ export * from "./position-patrol";
|
|
|
163
154
|
export * from "./position-patrol-point";
|
|
164
155
|
export * from "./attendance-patrol";
|
|
165
156
|
export * from "./attendance-patrol-point";
|
|
157
|
+
export * from "./recruitment-category";
|
|
158
|
+
export * from "./recruitment-category-field";
|
|
159
|
+
export * from "./recruitment-value";
|
package/dist/types/leave.d.ts
CHANGED
package/dist/types/loan.d.ts
CHANGED
package/dist/types/nfc-tag.d.ts
CHANGED
package/dist/types/position.d.ts
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
package/dist/types/region.d.ts
CHANGED
package/dist/types/report.d.ts
CHANGED
package/dist/types/request.d.ts
CHANGED
|
@@ -23,4 +23,5 @@ export interface IRequest {
|
|
|
23
23
|
employeeId: string;
|
|
24
24
|
status: "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "WITHDRAWN" | "PENDING_VERIFICATION" | "ARCHIVED";
|
|
25
25
|
actionsExecutionStatus: "PENDING" | "COMPLETED" | "PROCESSING" | "FAILED" | "SKIPPED";
|
|
26
|
+
metadata?: any;
|
|
26
27
|
}
|
package/dist/types/role.d.ts
CHANGED
package/dist/types/schedule.d.ts
CHANGED
package/dist/types/shift.d.ts
CHANGED
package/dist/types/tag.d.ts
CHANGED
package/dist/types/team.d.ts
CHANGED
package/dist/types/unit.d.ts
CHANGED
package/dist/types/user.d.ts
CHANGED
package/dist/types/vehicle.d.ts
CHANGED
package/dist/types/vendor.d.ts
CHANGED
package/dist/types/zone.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automateinc/fleet-types",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.40-dev.2531297",
|
|
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,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
}
|