@platform-modules/civil-aviation-authority 2.0.32 → 2.0.34
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/data-source.js +12 -16
- package/dist/index.d.ts +3 -8
- package/dist/index.js +7 -9
- package/dist/models/ITHelpDeskModel.d.ts +1 -4
- package/dist/models/ITHelpDeskModel.js +2 -17
- package/dist/models/ItApprovalsModel.d.ts +2 -2
- package/dist/models/ItApprovalsModel.js +2 -2
- package/dist/models/ItWorkflowModel.d.ts +2 -1
- package/dist/models/ItWorkflowModel.js +7 -2
- package/dist/models/LogisticsForeignVehicleModel.d.ts +5 -6
- package/dist/models/LogisticsForeignVehicleModel.js +5 -7
- package/dist/models/NotificationModel.d.ts +3 -0
- package/dist/models/NotificationModel.js +3 -0
- package/dist/models/PortalFeedbackModel.d.ts +8 -0
- package/dist/models/PortalFeedbackModel.js +44 -0
- package/dist/models/VpnRequestModel.d.ts +70 -0
- package/dist/models/VpnRequestModel.js +175 -0
- package/dist/models/WorkflowTask.d.ts +5 -2
- package/dist/models/WorkflowTask.js +28 -4
- package/dist/models/WorkflowTaskNames.d.ts +12 -3
- package/dist/models/WorkflowTaskNames.js +28 -9
- package/dist/models/feedbackModel.d.ts +16 -0
- package/dist/models/feedbackModel.js +61 -0
- package/package.json +1 -1
- package/src/data-source.ts +13 -16
- package/src/index.ts +7 -9
- package/src/models/ITHelpDeskModel.ts +0 -14
- package/src/models/ItApprovalsModel.ts +2 -2
- package/src/models/ItWorkflowModel.ts +5 -1
- package/src/models/LogisticsForeignVehicleModel.ts +8 -10
- package/src/models/NotificationModel.ts +3 -0
- package/src/models/PortalFeedbackModel.ts +34 -0
- package/src/models/VpnRequestModel.ts +135 -0
- package/src/models/WorkflowTask.ts +31 -4
- package/src/models/WorkflowTaskNames.ts +27 -8
- package/src/models/feedbackModel.ts +50 -0
- package/dist/models/HotelApprovalModel.d.ts +0 -22
- package/dist/models/HotelApprovalModel.js +0 -91
- package/dist/models/HotelAttachedModel.d.ts +0 -12
- package/dist/models/HotelAttachedModel.js +0 -64
- package/dist/models/HotelChatModel.d.ts +0 -17
- package/dist/models/HotelChatModel.js +0 -67
- package/dist/models/HotelWorkFlowModel.d.ts +0 -14
- package/dist/models/HotelWorkFlowModel.js +0 -56
- package/dist/models/HotelreservationModal.d.ts +0 -30
- package/dist/models/HotelreservationModal.js +0 -119
- package/dist/models/HotelreservationModel.d.ts +0 -44
- package/dist/models/HotelreservationModel.js +0 -171
- package/src/models/HotelApprovalModel.ts +0 -79
- package/src/models/HotelAttachedModel.ts +0 -54
- package/src/models/HotelChatModel.ts +0 -55
- package/src/models/HotelWorkFlowModel.ts +0 -42
- package/src/models/HotelreservationModel.ts +0 -159
- package/src/models/ITApprovalSettings.ts +0 -29
- package/src/models/ITServicesTypesMuscatModel.ts +0 -22
- package/src/models/ITServicesTypesSalalahModel.ts +0 -22
- package/src/models/Workflows.ts +0 -40
package/dist/data-source.js
CHANGED
|
@@ -9,12 +9,12 @@ const user_1 = require("./models/user"); // import all entities here
|
|
|
9
9
|
const user_sessions_1 = require("./models/user-sessions");
|
|
10
10
|
const role_1 = require("./models/role");
|
|
11
11
|
const ITHelpDeskModel_1 = require("./models/ITHelpDeskModel");
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
// import { ITServicesTypesSalalah } from './models/ITServicesTypesSalalahModel'; // REMOVED - table no longer used
|
|
13
|
+
// import { ITServicesTypesMuscat } from './models/ITServicesTypesMuscatModel'; // REMOVED - table no longer used
|
|
14
14
|
const ServiceTypeModel_1 = require("./models/ServiceTypeModel");
|
|
15
15
|
const CAAServices_1 = require("./models/CAAServices");
|
|
16
16
|
const CAASubServices_1 = require("./models/CAASubServices");
|
|
17
|
-
|
|
17
|
+
// import { ITApprovalSettings } from './models/ITApprovalSettings'; // REMOVED - table no longer used
|
|
18
18
|
// import { Workflows } from './models/Workflows';
|
|
19
19
|
const ItApprovalsModel_1 = require("./models/ItApprovalsModel");
|
|
20
20
|
const ItWorkflowModel_1 = require("./models/ItWorkflowModel");
|
|
@@ -42,11 +42,9 @@ const LogisticsAttachmentModel_1 = require("./models/LogisticsAttachmentModel");
|
|
|
42
42
|
const LogisticsWorkflowModel_1 = require("./models/LogisticsWorkflowModel");
|
|
43
43
|
const importantLinksModel_1 = require("./models/importantLinksModel");
|
|
44
44
|
const DelegateSettingsModel_1 = require("./models/DelegateSettingsModel");
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
const
|
|
48
|
-
const HotelChatModel_1 = require("./models/HotelChatModel");
|
|
49
|
-
const HotelAttachedModel_1 = require("./models/HotelAttachedModel");
|
|
45
|
+
const feedbackModel_1 = require("./models/feedbackModel");
|
|
46
|
+
const PortalFeedbackModel_1 = require("./models/PortalFeedbackModel");
|
|
47
|
+
const VpnRequestModel_1 = require("./models/VpnRequestModel");
|
|
50
48
|
exports.AppDataSource = new typeorm_1.DataSource({
|
|
51
49
|
type: 'postgres',
|
|
52
50
|
host: process.env.DB_HOST || 'localhost',
|
|
@@ -60,12 +58,12 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
60
58
|
user_1.User, user_sessions_1.userSessions,
|
|
61
59
|
role_1.Role,
|
|
62
60
|
ITHelpDeskModel_1.ITHelpDeskRequests,
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
// ITServicesTypesSalalah, // REMOVED - table no longer used
|
|
62
|
+
// ITServicesTypesMuscat, // REMOVED - table no longer used
|
|
65
63
|
ServiceTypeModel_1.ServiceType,
|
|
66
64
|
CAAServices_1.CAAServices,
|
|
67
65
|
CAASubServices_1.CAASubServices,
|
|
68
|
-
|
|
66
|
+
// ITApprovalSettings, // REMOVED - table no longer used
|
|
69
67
|
// Workflows,
|
|
70
68
|
ItApprovalsModel_1.ItApprovalDetails,
|
|
71
69
|
ItWorkflowModel_1.ItWorkFlow,
|
|
@@ -93,10 +91,8 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
93
91
|
LogisticsWorkflowModel_1.LogisticsWorkFlow,
|
|
94
92
|
importantLinksModel_1.ImportantLinks,
|
|
95
93
|
DelegateSettingsModel_1.DelegateSettings,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
HotelChatModel_1.HotelRequestChat,
|
|
100
|
-
HotelAttachedModel_1.HotelRequestAttachment
|
|
94
|
+
feedbackModel_1.Feedback,
|
|
95
|
+
PortalFeedbackModel_1.PortalFeedback,
|
|
96
|
+
VpnRequestModel_1.VpnRequest
|
|
101
97
|
],
|
|
102
98
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -2,12 +2,9 @@ export * from './models/user';
|
|
|
2
2
|
export * from './models/role';
|
|
3
3
|
export * from './models/user-sessions';
|
|
4
4
|
export * from './models/ITHelpDeskModel';
|
|
5
|
-
export * from './models/ITServicesTypesSalalahModel';
|
|
6
|
-
export * from './models/ITServicesTypesMuscatModel';
|
|
7
5
|
export * from './models/ServiceTypeModel';
|
|
8
6
|
export * from './models/CAAServices';
|
|
9
7
|
export * from './models/CAASubServices';
|
|
10
|
-
export * from './models/ITApprovalSettings';
|
|
11
8
|
export * from './models/ItApprovalsModel';
|
|
12
9
|
export * from './models/ItWorkflowModel';
|
|
13
10
|
export * from './models/WorkflowDefinitions';
|
|
@@ -34,8 +31,6 @@ export * from './models/LogisticsAttachmentModel';
|
|
|
34
31
|
export * from './models/importantLinksModel';
|
|
35
32
|
export * from './models/LogisticsWorkflowModel';
|
|
36
33
|
export * from './models/DelegateSettingsModel';
|
|
37
|
-
export * from './models/
|
|
38
|
-
export * from './models/
|
|
39
|
-
export * from './models/
|
|
40
|
-
export * from './models/HotelChatModel';
|
|
41
|
-
export * from './models/HotelAttachedModel';
|
|
34
|
+
export * from './models/feedbackModel';
|
|
35
|
+
export * from './models/PortalFeedbackModel';
|
|
36
|
+
export * from './models/VpnRequestModel';
|
package/dist/index.js
CHANGED
|
@@ -18,13 +18,13 @@ __exportStar(require("./models/user"), exports);
|
|
|
18
18
|
__exportStar(require("./models/role"), exports);
|
|
19
19
|
__exportStar(require("./models/user-sessions"), exports);
|
|
20
20
|
__exportStar(require("./models/ITHelpDeskModel"), exports);
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
// export * from './models/ITServicesTypesSalalahModel'; // REMOVED - table no longer used
|
|
22
|
+
// export * from './models/ITServicesTypesMuscatModel'; // REMOVED - table no longer used
|
|
23
23
|
__exportStar(require("./models/ServiceTypeModel"), exports);
|
|
24
24
|
__exportStar(require("./models/CAAServices"), exports);
|
|
25
25
|
__exportStar(require("./models/CAASubServices"), exports);
|
|
26
|
-
|
|
27
|
-
// export * from './models/Workflows';
|
|
26
|
+
// export * from './models/ITApprovalSettings'; // REMOVED - table no longer used
|
|
27
|
+
// export * from './models/Workflows'; // REMOVED - table no longer used
|
|
28
28
|
__exportStar(require("./models/ItApprovalsModel"), exports);
|
|
29
29
|
__exportStar(require("./models/ItWorkflowModel"), exports);
|
|
30
30
|
__exportStar(require("./models/WorkflowDefinitions"), exports);
|
|
@@ -51,8 +51,6 @@ __exportStar(require("./models/LogisticsAttachmentModel"), exports);
|
|
|
51
51
|
__exportStar(require("./models/importantLinksModel"), exports);
|
|
52
52
|
__exportStar(require("./models/LogisticsWorkflowModel"), exports);
|
|
53
53
|
__exportStar(require("./models/DelegateSettingsModel"), exports);
|
|
54
|
-
__exportStar(require("./models/
|
|
55
|
-
__exportStar(require("./models/
|
|
56
|
-
__exportStar(require("./models/
|
|
57
|
-
__exportStar(require("./models/HotelChatModel"), exports);
|
|
58
|
-
__exportStar(require("./models/HotelAttachedModel"), exports);
|
|
54
|
+
__exportStar(require("./models/feedbackModel"), exports);
|
|
55
|
+
__exportStar(require("./models/PortalFeedbackModel"), exports);
|
|
56
|
+
__exportStar(require("./models/VpnRequestModel"), exports);
|
|
@@ -22,11 +22,8 @@ export declare class ITHelpDeskRequests extends BaseModel {
|
|
|
22
22
|
extn_num: string;
|
|
23
23
|
contact_num: string;
|
|
24
24
|
request_date: Date;
|
|
25
|
-
attachment_url: string;
|
|
26
25
|
user_id: number;
|
|
27
|
-
reporting_manager: number;
|
|
28
|
-
assigned_to: number;
|
|
29
26
|
status: status;
|
|
30
27
|
workflow_execution_id: string | null;
|
|
31
|
-
constructor(service_id: number, sub_service_id: number, problem: string, request_for: ContactFor, description: string, extn_num: string, contact_num: string, request_date: Date,
|
|
28
|
+
constructor(service_id: number, sub_service_id: number, problem: string, request_for: ContactFor, description: string, extn_num: string, contact_num: string, request_date: Date, status: status, workflow_execution_id?: string, req_user_department_id?: number | null, req_user_section_id?: number | null, service_type_id?: number | null);
|
|
32
29
|
}
|
|
@@ -26,7 +26,7 @@ var status;
|
|
|
26
26
|
status["REJECTED"] = "Rejected";
|
|
27
27
|
})(status || (exports.status = status = {}));
|
|
28
28
|
let ITHelpDeskRequests = class ITHelpDeskRequests extends BaseModel_1.BaseModel {
|
|
29
|
-
constructor(service_id, sub_service_id, problem, request_for, description, extn_num, contact_num, request_date,
|
|
29
|
+
constructor(service_id, sub_service_id, problem, request_for, description, extn_num, contact_num, request_date, status, workflow_execution_id, req_user_department_id, req_user_section_id, service_type_id) {
|
|
30
30
|
super();
|
|
31
31
|
this.service_id = service_id;
|
|
32
32
|
this.sub_service_id = sub_service_id;
|
|
@@ -36,9 +36,6 @@ let ITHelpDeskRequests = class ITHelpDeskRequests extends BaseModel_1.BaseModel
|
|
|
36
36
|
this.extn_num = extn_num;
|
|
37
37
|
this.contact_num = contact_num;
|
|
38
38
|
this.request_date = request_date;
|
|
39
|
-
this.attachment_url = attachment_url;
|
|
40
|
-
this.reporting_manager = reporting_manager;
|
|
41
|
-
this.assigned_to = assigned_to;
|
|
42
39
|
this.status = status;
|
|
43
40
|
this.workflow_execution_id = workflow_execution_id || null;
|
|
44
41
|
this.req_user_department_id = req_user_department_id || null;
|
|
@@ -96,22 +93,10 @@ __decorate([
|
|
|
96
93
|
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
97
94
|
__metadata("design:type", Date)
|
|
98
95
|
], ITHelpDeskRequests.prototype, "request_date", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
101
|
-
__metadata("design:type", String)
|
|
102
|
-
], ITHelpDeskRequests.prototype, "attachment_url", void 0);
|
|
103
96
|
__decorate([
|
|
104
97
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
105
98
|
__metadata("design:type", Number)
|
|
106
99
|
], ITHelpDeskRequests.prototype, "user_id", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
109
|
-
__metadata("design:type", Number)
|
|
110
|
-
], ITHelpDeskRequests.prototype, "reporting_manager", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
113
|
-
__metadata("design:type", Number)
|
|
114
|
-
], ITHelpDeskRequests.prototype, "assigned_to", void 0);
|
|
115
100
|
__decorate([
|
|
116
101
|
(0, typeorm_1.Column)({
|
|
117
102
|
type: "enum",
|
|
@@ -127,5 +112,5 @@ __decorate([
|
|
|
127
112
|
], ITHelpDeskRequests.prototype, "workflow_execution_id", void 0);
|
|
128
113
|
exports.ITHelpDeskRequests = ITHelpDeskRequests = __decorate([
|
|
129
114
|
(0, typeorm_1.Entity)({ name: 'it_help_desk_requests' }),
|
|
130
|
-
__metadata("design:paramtypes", [Number, Number, String, String, String, String, String, Date, String,
|
|
115
|
+
__metadata("design:paramtypes", [Number, Number, String, String, String, String, String, Date, String, String, Object, Object, Object])
|
|
131
116
|
], ITHelpDeskRequests);
|
|
@@ -8,11 +8,11 @@ export declare class ItApprovalDetails extends BaseModel {
|
|
|
8
8
|
request_id: number;
|
|
9
9
|
level: number;
|
|
10
10
|
approver_user_id: number | null;
|
|
11
|
-
approver_role_id: number;
|
|
11
|
+
approver_role_id: number | null;
|
|
12
12
|
department_id: number | null;
|
|
13
13
|
section_id: number | null;
|
|
14
14
|
approved_by: number | null;
|
|
15
15
|
comment: string;
|
|
16
16
|
approval_status: ApprovalStatus;
|
|
17
|
-
constructor(request_id: number, approver_user_id: number | null, approver_role_id: number, comment: string, approval_status: ApprovalStatus, level: number, department_id?: number | null, section_id?: number | null, approved_by?: number | null);
|
|
17
|
+
constructor(request_id: number, approver_user_id: number | null, approver_role_id: number | null, comment: string, approval_status: ApprovalStatus, level: number, department_id?: number | null, section_id?: number | null, approved_by?: number | null);
|
|
18
18
|
}
|
|
@@ -47,7 +47,7 @@ __decorate([
|
|
|
47
47
|
], ItApprovalDetails.prototype, "approver_user_id", void 0);
|
|
48
48
|
__decorate([
|
|
49
49
|
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
50
|
-
__metadata("design:type",
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
51
|
], ItApprovalDetails.prototype, "approver_role_id", void 0);
|
|
52
52
|
__decorate([
|
|
53
53
|
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
@@ -71,5 +71,5 @@ __decorate([
|
|
|
71
71
|
], ItApprovalDetails.prototype, "approval_status", void 0);
|
|
72
72
|
exports.ItApprovalDetails = ItApprovalDetails = __decorate([
|
|
73
73
|
(0, typeorm_1.Entity)({ name: 'it_approvals' }),
|
|
74
|
-
__metadata("design:paramtypes", [Number, Object,
|
|
74
|
+
__metadata("design:paramtypes", [Number, Object, Object, String, String, Number, Object, Object, Object])
|
|
75
75
|
], ItApprovalDetails);
|
|
@@ -6,7 +6,8 @@ export declare enum workFlowStatus {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class ItWorkFlow extends BaseModel {
|
|
8
8
|
request_id: number;
|
|
9
|
+
order: number | null;
|
|
9
10
|
content: string;
|
|
10
11
|
status: workFlowStatus;
|
|
11
|
-
constructor(request_id: number, content: string, status: workFlowStatus);
|
|
12
|
+
constructor(request_id: number, content: string, status: workFlowStatus, order?: number);
|
|
12
13
|
}
|
|
@@ -20,11 +20,12 @@ var workFlowStatus;
|
|
|
20
20
|
})(workFlowStatus || (exports.workFlowStatus = workFlowStatus = {}));
|
|
21
21
|
//This model is used to store the store the leave apporval matrix(HOD, Manager, HR, Director) based on leave type along with the levels
|
|
22
22
|
let ItWorkFlow = class ItWorkFlow extends BaseModel_1.BaseModel {
|
|
23
|
-
constructor(request_id, content, status) {
|
|
23
|
+
constructor(request_id, content, status, order) {
|
|
24
24
|
super();
|
|
25
25
|
this.request_id = request_id;
|
|
26
26
|
this.content = content;
|
|
27
27
|
this.status = status;
|
|
28
|
+
this.order = order || null;
|
|
28
29
|
}
|
|
29
30
|
};
|
|
30
31
|
exports.ItWorkFlow = ItWorkFlow;
|
|
@@ -32,6 +33,10 @@ __decorate([
|
|
|
32
33
|
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
33
34
|
__metadata("design:type", Number)
|
|
34
35
|
], ItWorkFlow.prototype, "request_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], ItWorkFlow.prototype, "order", void 0);
|
|
35
40
|
__decorate([
|
|
36
41
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
37
42
|
__metadata("design:type", String)
|
|
@@ -42,5 +47,5 @@ __decorate([
|
|
|
42
47
|
], ItWorkFlow.prototype, "status", void 0);
|
|
43
48
|
exports.ItWorkFlow = ItWorkFlow = __decorate([
|
|
44
49
|
(0, typeorm_1.Entity)({ name: 'it_work_flows' }),
|
|
45
|
-
__metadata("design:paramtypes", [Number, String, String])
|
|
50
|
+
__metadata("design:paramtypes", [Number, String, String, Number])
|
|
46
51
|
], ItWorkFlow);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
2
|
export declare enum Foreign_Purpose_of_Travel {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
CONFERENCE = "Conference/Event",
|
|
3
|
+
SITE = "Site Visit",
|
|
4
|
+
AIRPORT = "Airport Duty",
|
|
5
|
+
OFFICIAL = "Official Meeting",
|
|
7
6
|
OTHER = "Other"
|
|
8
7
|
}
|
|
9
8
|
export declare enum Foreign_Vehicle_Required_Location {
|
|
@@ -28,7 +27,7 @@ export declare class LogisticsForeignVehicleRequests extends BaseModel {
|
|
|
28
27
|
sub_service_id: number;
|
|
29
28
|
user_id: number;
|
|
30
29
|
number_of_passengers: number;
|
|
31
|
-
purpose_of_travel:
|
|
30
|
+
purpose_of_travel: string;
|
|
32
31
|
vehicle_required_location: Foreign_Vehicle_Required_Location;
|
|
33
32
|
employee_id_passport: string | null;
|
|
34
33
|
contact_number: string;
|
|
@@ -39,5 +38,5 @@ export declare class LogisticsForeignVehicleRequests extends BaseModel {
|
|
|
39
38
|
special_instructions: string | null;
|
|
40
39
|
status: Foreign_Request_Status;
|
|
41
40
|
workflow_execution_id: string | null;
|
|
42
|
-
constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, number_of_passengers: number, purpose_of_travel:
|
|
41
|
+
constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, number_of_passengers: number, purpose_of_travel: string, vehicle_required_location: Foreign_Vehicle_Required_Location, contact_number: string, request_type: Foreign_Request_Type, destination_city: string, arrival_departure_datetime: Date, status: Foreign_Request_Status, employee_id_passport?: string | null, origin_city?: string | null, special_instructions?: string | null, workflow_execution_id?: string | null);
|
|
43
42
|
}
|
|
@@ -14,10 +14,9 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
var Foreign_Purpose_of_Travel;
|
|
16
16
|
(function (Foreign_Purpose_of_Travel) {
|
|
17
|
-
Foreign_Purpose_of_Travel["
|
|
18
|
-
Foreign_Purpose_of_Travel["
|
|
19
|
-
Foreign_Purpose_of_Travel["
|
|
20
|
-
Foreign_Purpose_of_Travel["CONFERENCE"] = "Conference/Event";
|
|
17
|
+
Foreign_Purpose_of_Travel["SITE"] = "Site Visit";
|
|
18
|
+
Foreign_Purpose_of_Travel["AIRPORT"] = "Airport Duty";
|
|
19
|
+
Foreign_Purpose_of_Travel["OFFICIAL"] = "Official Meeting";
|
|
21
20
|
Foreign_Purpose_of_Travel["OTHER"] = "Other";
|
|
22
21
|
})(Foreign_Purpose_of_Travel || (exports.Foreign_Purpose_of_Travel = Foreign_Purpose_of_Travel = {}));
|
|
23
22
|
var Foreign_Vehicle_Required_Location;
|
|
@@ -87,9 +86,8 @@ __decorate([
|
|
|
87
86
|
], LogisticsForeignVehicleRequests.prototype, "number_of_passengers", void 0);
|
|
88
87
|
__decorate([
|
|
89
88
|
(0, typeorm_1.Column)({
|
|
90
|
-
type:
|
|
91
|
-
|
|
92
|
-
default: Foreign_Purpose_of_Travel.OTHER,
|
|
89
|
+
type: 'varchar',
|
|
90
|
+
default: 'Other',
|
|
93
91
|
nullable: false,
|
|
94
92
|
}),
|
|
95
93
|
__metadata("design:type", String)
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
2
|
export declare enum NotificationType {
|
|
3
3
|
REQUEST_RAISED = "request raised",
|
|
4
|
+
REQUEST_APPROVE = "request approve",
|
|
5
|
+
REQUEST_REJECT = "request reject",
|
|
6
|
+
REQUEST_WITHDRAW = "request withdraw",
|
|
4
7
|
REMINDER = "reminder",
|
|
5
8
|
IMPORT = "import"
|
|
6
9
|
}
|
|
@@ -15,6 +15,9 @@ const BaseModel_1 = require("./BaseModel");
|
|
|
15
15
|
var NotificationType;
|
|
16
16
|
(function (NotificationType) {
|
|
17
17
|
NotificationType["REQUEST_RAISED"] = "request raised";
|
|
18
|
+
NotificationType["REQUEST_APPROVE"] = "request approve";
|
|
19
|
+
NotificationType["REQUEST_REJECT"] = "request reject";
|
|
20
|
+
NotificationType["REQUEST_WITHDRAW"] = "request withdraw";
|
|
18
21
|
NotificationType["REMINDER"] = "reminder";
|
|
19
22
|
NotificationType["IMPORT"] = "import";
|
|
20
23
|
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { Rating } from './feedbackModel';
|
|
3
|
+
export declare class PortalFeedback extends BaseModel {
|
|
4
|
+
comment: string;
|
|
5
|
+
rating: Rating;
|
|
6
|
+
user_Id: number;
|
|
7
|
+
constructor(comment: string, rating: Rating, user_Id: number);
|
|
8
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PortalFeedback = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const feedbackModel_1 = require("./feedbackModel");
|
|
16
|
+
let PortalFeedback = class PortalFeedback extends BaseModel_1.BaseModel {
|
|
17
|
+
constructor(comment, rating, user_Id) {
|
|
18
|
+
super();
|
|
19
|
+
this.comment = comment,
|
|
20
|
+
this.rating = rating,
|
|
21
|
+
this.user_Id = user_Id;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.PortalFeedback = PortalFeedback;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], PortalFeedback.prototype, "comment", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({
|
|
31
|
+
type: "enum",
|
|
32
|
+
enum: feedbackModel_1.Rating,
|
|
33
|
+
nullable: true,
|
|
34
|
+
}),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], PortalFeedback.prototype, "rating", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], PortalFeedback.prototype, "user_Id", void 0);
|
|
41
|
+
exports.PortalFeedback = PortalFeedback = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)({ name: 'portal_feedback' }),
|
|
43
|
+
__metadata("design:paramtypes", [String, Number, Number])
|
|
44
|
+
], PortalFeedback);
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum VpnRequestType {
|
|
3
|
+
CAA_STAFF = "CAA_STAFF",
|
|
4
|
+
CONTRACTOR = "CONTRACTOR"
|
|
5
|
+
}
|
|
6
|
+
export declare enum VpnReasonForRequest {
|
|
7
|
+
REMOTE_WORK = "REMOTE_WORK",
|
|
8
|
+
ACCESS_INTERNAL_SYSTEMS = "ACCESS_INTERNAL_SYSTEMS",
|
|
9
|
+
THIRD_PARTY_VENDOR = "THIRD_PARTY_VENDOR",
|
|
10
|
+
PROJECT_SPECIFIC = "PROJECT_SPECIFIC",
|
|
11
|
+
RENEWAL = "RENEWAL"
|
|
12
|
+
}
|
|
13
|
+
export declare enum VpnSystemsAccess {
|
|
14
|
+
INTERNAL_DATABASES = "INTERNAL_DATABASES",
|
|
15
|
+
FILE_SERVERS = "FILE_SERVERS",
|
|
16
|
+
SHARED_SERVERS = "SHARED_SERVERS",
|
|
17
|
+
UFUQ = "UFUQ",
|
|
18
|
+
ERP = "ERP",
|
|
19
|
+
OTHERS = "OTHERS"
|
|
20
|
+
}
|
|
21
|
+
export declare enum VpnSourceIpType {
|
|
22
|
+
PRIVATE = "PRIVATE",
|
|
23
|
+
PUBLIC = "PUBLIC"
|
|
24
|
+
}
|
|
25
|
+
export declare enum VpnAccessType {
|
|
26
|
+
ONE_TIME = "ONE_TIME",
|
|
27
|
+
PERMANENT = "PERMANENT"
|
|
28
|
+
}
|
|
29
|
+
export declare enum VpnDeviceType {
|
|
30
|
+
CAA_LAPTOP = "CAA_LAPTOP",
|
|
31
|
+
PERSONAL_DEVICE = "PERSONAL_DEVICE",
|
|
32
|
+
MOBILE_DEVICE = "MOBILE_DEVICE"
|
|
33
|
+
}
|
|
34
|
+
export declare enum VpnRequestStatus {
|
|
35
|
+
PENDING = "PENDING",
|
|
36
|
+
ASSIGNED = "ASSIGNED",
|
|
37
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
38
|
+
COMPLETED = "COMPLETED",
|
|
39
|
+
APPROVED = "APPROVED",
|
|
40
|
+
REJECTED = "REJECTED"
|
|
41
|
+
}
|
|
42
|
+
export declare class VpnRequest extends BaseModel {
|
|
43
|
+
job_title: string;
|
|
44
|
+
req_user_department_id: number | null;
|
|
45
|
+
req_user_section_id: number | null;
|
|
46
|
+
req_user_position_id: number | null;
|
|
47
|
+
service_id: number | null;
|
|
48
|
+
sub_service_id: number | null;
|
|
49
|
+
user_id: number;
|
|
50
|
+
request_for: VpnRequestType;
|
|
51
|
+
employee_identifier: string;
|
|
52
|
+
employee_email: string;
|
|
53
|
+
phone_number: string;
|
|
54
|
+
reason_for_request: VpnReasonForRequest;
|
|
55
|
+
description: string | null;
|
|
56
|
+
systems_to_access: VpnSystemsAccess[];
|
|
57
|
+
source_ip_type: VpnSourceIpType | null;
|
|
58
|
+
source_ip_address: string | null;
|
|
59
|
+
country: string;
|
|
60
|
+
start_date: Date;
|
|
61
|
+
end_date: Date | null;
|
|
62
|
+
access_type: VpnAccessType;
|
|
63
|
+
device_type: VpnDeviceType;
|
|
64
|
+
acknowledgement: boolean;
|
|
65
|
+
status: VpnRequestStatus;
|
|
66
|
+
reviewer_user_id: number | null;
|
|
67
|
+
assigned_to_user_id: number | null;
|
|
68
|
+
assigned_at: Date | null;
|
|
69
|
+
workflow_execution_id: string | null;
|
|
70
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.VpnRequest = exports.VpnRequestStatus = exports.VpnDeviceType = exports.VpnAccessType = exports.VpnSourceIpType = exports.VpnSystemsAccess = exports.VpnReasonForRequest = exports.VpnRequestType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var VpnRequestType;
|
|
16
|
+
(function (VpnRequestType) {
|
|
17
|
+
VpnRequestType["CAA_STAFF"] = "CAA_STAFF";
|
|
18
|
+
VpnRequestType["CONTRACTOR"] = "CONTRACTOR";
|
|
19
|
+
})(VpnRequestType || (exports.VpnRequestType = VpnRequestType = {}));
|
|
20
|
+
var VpnReasonForRequest;
|
|
21
|
+
(function (VpnReasonForRequest) {
|
|
22
|
+
VpnReasonForRequest["REMOTE_WORK"] = "REMOTE_WORK";
|
|
23
|
+
VpnReasonForRequest["ACCESS_INTERNAL_SYSTEMS"] = "ACCESS_INTERNAL_SYSTEMS";
|
|
24
|
+
VpnReasonForRequest["THIRD_PARTY_VENDOR"] = "THIRD_PARTY_VENDOR";
|
|
25
|
+
VpnReasonForRequest["PROJECT_SPECIFIC"] = "PROJECT_SPECIFIC";
|
|
26
|
+
VpnReasonForRequest["RENEWAL"] = "RENEWAL";
|
|
27
|
+
})(VpnReasonForRequest || (exports.VpnReasonForRequest = VpnReasonForRequest = {}));
|
|
28
|
+
var VpnSystemsAccess;
|
|
29
|
+
(function (VpnSystemsAccess) {
|
|
30
|
+
VpnSystemsAccess["INTERNAL_DATABASES"] = "INTERNAL_DATABASES";
|
|
31
|
+
VpnSystemsAccess["FILE_SERVERS"] = "FILE_SERVERS";
|
|
32
|
+
VpnSystemsAccess["SHARED_SERVERS"] = "SHARED_SERVERS";
|
|
33
|
+
VpnSystemsAccess["UFUQ"] = "UFUQ";
|
|
34
|
+
VpnSystemsAccess["ERP"] = "ERP";
|
|
35
|
+
VpnSystemsAccess["OTHERS"] = "OTHERS";
|
|
36
|
+
})(VpnSystemsAccess || (exports.VpnSystemsAccess = VpnSystemsAccess = {}));
|
|
37
|
+
var VpnSourceIpType;
|
|
38
|
+
(function (VpnSourceIpType) {
|
|
39
|
+
VpnSourceIpType["PRIVATE"] = "PRIVATE";
|
|
40
|
+
VpnSourceIpType["PUBLIC"] = "PUBLIC";
|
|
41
|
+
})(VpnSourceIpType || (exports.VpnSourceIpType = VpnSourceIpType = {}));
|
|
42
|
+
var VpnAccessType;
|
|
43
|
+
(function (VpnAccessType) {
|
|
44
|
+
VpnAccessType["ONE_TIME"] = "ONE_TIME";
|
|
45
|
+
VpnAccessType["PERMANENT"] = "PERMANENT";
|
|
46
|
+
})(VpnAccessType || (exports.VpnAccessType = VpnAccessType = {}));
|
|
47
|
+
var VpnDeviceType;
|
|
48
|
+
(function (VpnDeviceType) {
|
|
49
|
+
VpnDeviceType["CAA_LAPTOP"] = "CAA_LAPTOP";
|
|
50
|
+
VpnDeviceType["PERSONAL_DEVICE"] = "PERSONAL_DEVICE";
|
|
51
|
+
VpnDeviceType["MOBILE_DEVICE"] = "MOBILE_DEVICE";
|
|
52
|
+
})(VpnDeviceType || (exports.VpnDeviceType = VpnDeviceType = {}));
|
|
53
|
+
var VpnRequestStatus;
|
|
54
|
+
(function (VpnRequestStatus) {
|
|
55
|
+
VpnRequestStatus["PENDING"] = "PENDING";
|
|
56
|
+
VpnRequestStatus["ASSIGNED"] = "ASSIGNED";
|
|
57
|
+
VpnRequestStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
58
|
+
VpnRequestStatus["COMPLETED"] = "COMPLETED";
|
|
59
|
+
VpnRequestStatus["APPROVED"] = "APPROVED";
|
|
60
|
+
VpnRequestStatus["REJECTED"] = "REJECTED";
|
|
61
|
+
})(VpnRequestStatus || (exports.VpnRequestStatus = VpnRequestStatus = {}));
|
|
62
|
+
let VpnRequest = class VpnRequest extends BaseModel_1.BaseModel {
|
|
63
|
+
};
|
|
64
|
+
exports.VpnRequest = VpnRequest;
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], VpnRequest.prototype, "job_title", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
71
|
+
__metadata("design:type", Object)
|
|
72
|
+
], VpnRequest.prototype, "req_user_department_id", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
75
|
+
__metadata("design:type", Object)
|
|
76
|
+
], VpnRequest.prototype, "req_user_section_id", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
79
|
+
__metadata("design:type", Object)
|
|
80
|
+
], VpnRequest.prototype, "req_user_position_id", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
|
+
], VpnRequest.prototype, "service_id", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
87
|
+
__metadata("design:type", Object)
|
|
88
|
+
], VpnRequest.prototype, "sub_service_id", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
91
|
+
__metadata("design:type", Number)
|
|
92
|
+
], VpnRequest.prototype, "user_id", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, typeorm_1.Column)({ type: "enum", enum: VpnRequestType, nullable: false }),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], VpnRequest.prototype, "request_for", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], VpnRequest.prototype, "employee_identifier", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], VpnRequest.prototype, "employee_email", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false }),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], VpnRequest.prototype, "phone_number", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, typeorm_1.Column)({ type: "enum", enum: VpnReasonForRequest, nullable: false }),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], VpnRequest.prototype, "reason_for_request", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
115
|
+
__metadata("design:type", Object)
|
|
116
|
+
], VpnRequest.prototype, "description", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, typeorm_1.Column)({ type: "text", array: true, nullable: false }),
|
|
119
|
+
__metadata("design:type", Array)
|
|
120
|
+
], VpnRequest.prototype, "systems_to_access", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, typeorm_1.Column)({ type: "enum", enum: VpnSourceIpType, nullable: true }),
|
|
123
|
+
__metadata("design:type", Object)
|
|
124
|
+
], VpnRequest.prototype, "source_ip_type", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
127
|
+
__metadata("design:type", Object)
|
|
128
|
+
], VpnRequest.prototype, "source_ip_address", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 150, nullable: false }),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], VpnRequest.prototype, "country", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
135
|
+
__metadata("design:type", Date)
|
|
136
|
+
], VpnRequest.prototype, "start_date", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, typeorm_1.Column)({ type: "date", nullable: true }),
|
|
139
|
+
__metadata("design:type", Object)
|
|
140
|
+
], VpnRequest.prototype, "end_date", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, typeorm_1.Column)({ type: "enum", enum: VpnAccessType, nullable: false }),
|
|
143
|
+
__metadata("design:type", String)
|
|
144
|
+
], VpnRequest.prototype, "access_type", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, typeorm_1.Column)({ type: "enum", enum: VpnDeviceType, nullable: false }),
|
|
147
|
+
__metadata("design:type", String)
|
|
148
|
+
], VpnRequest.prototype, "device_type", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, typeorm_1.Column)({ type: "boolean", default: false, nullable: false }),
|
|
151
|
+
__metadata("design:type", Boolean)
|
|
152
|
+
], VpnRequest.prototype, "acknowledgement", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, typeorm_1.Column)({ type: "enum", enum: VpnRequestStatus, default: VpnRequestStatus.PENDING, nullable: false }),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], VpnRequest.prototype, "status", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
159
|
+
__metadata("design:type", Object)
|
|
160
|
+
], VpnRequest.prototype, "reviewer_user_id", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
163
|
+
__metadata("design:type", Object)
|
|
164
|
+
], VpnRequest.prototype, "assigned_to_user_id", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
167
|
+
__metadata("design:type", Object)
|
|
168
|
+
], VpnRequest.prototype, "assigned_at", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
171
|
+
__metadata("design:type", Object)
|
|
172
|
+
], VpnRequest.prototype, "workflow_execution_id", void 0);
|
|
173
|
+
exports.VpnRequest = VpnRequest = __decorate([
|
|
174
|
+
(0, typeorm_1.Entity)({ name: "vpn_requests" })
|
|
175
|
+
], VpnRequest);
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { TaskType } from "./WorkflowTaskNames";
|
|
3
|
+
import { CategoryType } from "./WorkflowTaskNames";
|
|
2
4
|
export declare class WorkflowTask extends BaseModel {
|
|
3
5
|
task_id: number;
|
|
4
6
|
name: string;
|
|
5
|
-
task_type:
|
|
6
|
-
|
|
7
|
+
task_type: TaskType;
|
|
8
|
+
category: CategoryType;
|
|
9
|
+
constructor(name: string, task_id?: number, task_type?: TaskType, category?: CategoryType);
|
|
7
10
|
}
|