@platform-modules/civil-aviation-authority 2.3.82 → 2.3.84
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/.env +13 -19
- package/dist/data-source.js +4 -10
- package/dist/index.d.ts +3 -9
- package/dist/index.js +6 -15
- package/dist/models/CityMasterModel.d.ts +8 -0
- package/dist/models/CityMasterModel.js +41 -0
- package/dist/models/DutyMissionRequestModel.d.ts +2 -1
- package/dist/models/DutyMissionRequestModel.js +17 -12
- package/dist/models/FinancialGradeModel.d.ts +2 -3
- package/dist/models/FinancialGradeModel.js +7 -12
- package/dist/models/ITApprovalSettings.d.ts +7 -0
- package/dist/models/ITApprovalSettings.js +40 -0
- package/dist/models/ITServicesTypesMuscatModel.d.ts +6 -0
- package/dist/models/ITServicesTypesMuscatModel.js +34 -0
- package/dist/models/ITServicesTypesSalalahModel.d.ts +6 -0
- package/dist/models/ITServicesTypesSalalahModel.js +34 -0
- package/dist/models/JobTransferRequestModel.d.ts +1 -1
- package/dist/models/JobTransferRequestModel.js +1 -1
- package/dist/models/SecurityThreatRequestModel.d.ts +9 -0
- package/dist/models/SecurityThreatRequestModel.js +36 -0
- package/dist/models/SkillsEnhancementRequestModel.d.ts +39 -0
- package/dist/models/SkillsEnhancementRequestModel.js +133 -0
- package/dist/models/Workflows.d.ts +0 -0
- package/dist/models/Workflows.js +31 -0
- package/package.json +1 -1
- package/src/data-source.ts +4 -10
- package/src/index.ts +5 -10
- package/src/models/CityMasterModel.ts +22 -0
- package/src/models/DutyMissionRequestModel.ts +15 -10
- package/src/models/FinancialGradeModel.ts +5 -10
- package/src/models/JobTransferRequestModel.ts +2 -2
- package/src/models/SecurityThreatRequestModel.ts +28 -0
- package/src/models/SkillsEnhancementRequestModel.ts +120 -0
- package/dist/models/ResidentialUnitRentalApprovalModel.d.ts +0 -23
- package/dist/models/ResidentialUnitRentalApprovalModel.js +0 -88
- package/dist/models/ResidentialUnitRentalAttachmentModel.d.ts +0 -12
- package/dist/models/ResidentialUnitRentalAttachmentModel.js +0 -56
- package/dist/models/ResidentialUnitRentalChatModel.d.ts +0 -18
- package/dist/models/ResidentialUnitRentalChatModel.js +0 -60
- package/dist/models/ResidentialUnitRentalRequestModel.d.ts +0 -48
- package/dist/models/ResidentialUnitRentalRequestModel.js +0 -123
- package/dist/models/ResidentialUnitRentalWorkflowModel.d.ts +0 -25
- package/dist/models/ResidentialUnitRentalWorkflowModel.js +0 -88
- package/src/models/ResidentialUnitRentalApprovalModel.ts +0 -62
- package/src/models/ResidentialUnitRentalAttachmentModel.ts +0 -34
- package/src/models/ResidentialUnitRentalChatModel.ts +0 -39
- package/src/models/ResidentialUnitRentalRequestModel.ts +0 -101
- package/src/models/ResidentialUnitRentalWorkflowModel.ts +0 -60
package/.env
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
# DB_HOST=
|
|
2
|
-
# DB_PORT=
|
|
3
|
-
# DB_USER=
|
|
4
|
-
# DB_PASS=
|
|
1
|
+
# DB_HOST=localhost
|
|
2
|
+
# DB_PORT=5433
|
|
3
|
+
# DB_USER=postgres
|
|
4
|
+
# DB_PASS=123
|
|
5
5
|
# DB_NAME=CAA
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
DB_PASS=admin123
|
|
7
|
+
DB_HOST=164.52.222.169
|
|
8
|
+
DB_PORT=5432
|
|
9
|
+
DB_USER=postgres_admin_user
|
|
10
|
+
DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
12
11
|
DB_NAME=CAA
|
|
13
12
|
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
# TYPEORM_HOST = 164.52.222.169
|
|
21
|
-
# TYPEORM_USERNAME = postgres
|
|
22
|
-
# TYPEORM_PASSWORD = admin123
|
|
23
|
-
# TYPEORM_DATABASE= CAA
|
|
13
|
+
# DB_HOST=216.48.187.46
|
|
14
|
+
# DB_PORT=5432
|
|
15
|
+
# DB_USER=adminuser
|
|
16
|
+
# DB_PASS=postgres_caa_fm_qa_34567
|
|
17
|
+
# DB_NAME=CAA_QA
|
package/dist/data-source.js
CHANGED
|
@@ -127,11 +127,8 @@ const RequestForCoverageAttachmentModel_1 = require("./models/RequestForCoverage
|
|
|
127
127
|
const CashAllowanceLeaveRequestModel_1 = require("./models/CashAllowanceLeaveRequestModel");
|
|
128
128
|
const PromotionRequestModel_1 = require("./models/PromotionRequestModel");
|
|
129
129
|
const AnnualIncrementRequestModel_1 = require("./models/AnnualIncrementRequestModel");
|
|
130
|
-
const
|
|
131
|
-
const
|
|
132
|
-
const ResidentialUnitRentalWorkflowModel_1 = require("./models/ResidentialUnitRentalWorkflowModel");
|
|
133
|
-
const ResidentialUnitRentalAttachmentModel_1 = require("./models/ResidentialUnitRentalAttachmentModel");
|
|
134
|
-
const ResidentialUnitRentalChatModel_1 = require("./models/ResidentialUnitRentalChatModel");
|
|
130
|
+
const SkillsEnhancementRequestModel_1 = require("./models/SkillsEnhancementRequestModel");
|
|
131
|
+
const CityMasterModel_1 = require("./models/CityMasterModel");
|
|
135
132
|
exports.AppDataSource = new typeorm_1.DataSource({
|
|
136
133
|
type: 'postgres',
|
|
137
134
|
host: process.env.DB_HOST || 'localhost',
|
|
@@ -263,10 +260,7 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
263
260
|
CashAllowanceLeaveRequestModel_1.CashAllowanceLeaveRequest,
|
|
264
261
|
PromotionRequestModel_1.PromotionRequest,
|
|
265
262
|
AnnualIncrementRequestModel_1.AnnualIncrementRequest,
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
ResidentialUnitRentalWorkflowModel_1.ResidentialUnitRentalWorkflow,
|
|
269
|
-
ResidentialUnitRentalAttachmentModel_1.ResidentialUnitRentalAttachment,
|
|
270
|
-
ResidentialUnitRentalChatModel_1.ResidentialUnitRentalChat
|
|
263
|
+
SkillsEnhancementRequestModel_1.SkillsEnhancementRequest,
|
|
264
|
+
CityMasterModel_1.CityMaster
|
|
271
265
|
],
|
|
272
266
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ export { JobTransferRequestStatus } from './models/JobTransferRequestModel';
|
|
|
188
188
|
export * from './models/NewResourceRequestModel';
|
|
189
189
|
export { NewResourceRequestStatus } from './models/NewResourceRequestModel';
|
|
190
190
|
export * from './models/CountryMasterModel';
|
|
191
|
+
export * from './models/CityMasterModel';
|
|
191
192
|
export * from './models/LocationModel';
|
|
192
193
|
export * from './models/FinancialGradeModel';
|
|
193
194
|
export * from './models/NationalityMasterModel';
|
|
@@ -202,12 +203,5 @@ export * from './models/PromotionRequestModel';
|
|
|
202
203
|
export { PromotionRequestStatus } from './models/PromotionRequestModel';
|
|
203
204
|
export * from './models/AnnualIncrementRequestModel';
|
|
204
205
|
export { AnnualIncrementRequestStatus } from './models/AnnualIncrementRequestModel';
|
|
205
|
-
export * from './models/
|
|
206
|
-
export
|
|
207
|
-
export * from './models/ResidentialUnitRentalWorkflowModel';
|
|
208
|
-
export * from './models/ResidentialUnitRentalAttachmentModel';
|
|
209
|
-
export * from './models/ResidentialUnitRentalChatModel';
|
|
210
|
-
export { ResidentialUnitRentalRequestStatus } from './models/ResidentialUnitRentalRequestModel';
|
|
211
|
-
export { ResidentialUnitRentalApprovalStatus } from './models/ResidentialUnitRentalApprovalModel';
|
|
212
|
-
export { ResidentialUnitRentalWorkFlowStatus } from './models/ResidentialUnitRentalWorkflowModel';
|
|
213
|
-
export { ResidentialUnitRentalMessageType } from './models/ResidentialUnitRentalChatModel';
|
|
206
|
+
export * from './models/SkillsEnhancementRequestModel';
|
|
207
|
+
export { SkillsEnhancementRequestStatus } from './models/SkillsEnhancementRequestModel';
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.RequestForCoverageWorkFlowStatus = exports.RequestForCoverageNewsSize = exports.RequestForCoverageRequestStatus = exports.ServiceTransferRequestType = exports.SalaryDetailsType = exports.ServiceTransferRequestStatus = exports.TemporaryAssignmentRequestType = exports.TemporaryAssignmentRequestStatus = exports.SecondmentRequestStatus = exports.TrainingRoomBookingChatStatus = exports.TrainingRoomBookingMessageType = exports.TrainingRoomBookingRequestChat = exports.TrainingRoomBookingRequestAttachment = exports.TrainingRoomBookingWorkFlowStatus = exports.TrainingRoomBookingApprovalStatus = exports.TrainingRoomBookingRoomType = exports.TrainingRoomBookingRequestStatus = exports.AnnualTrainingPlanChatStatus = exports.AnnualTrainingPlanMessageType = exports.AnnualTrainingPlanRequestChat = exports.AnnualTrainingPlanRequestAttachment = exports.AnnualTrainingPlanWorkFlowStatus = exports.AnnualTrainingPlanApprovalStatus = exports.AnnualTrainingPlanPlace = exports.AnnualTrainingPlanRequestStatus = exports.StudyLeaveChatStatus = exports.StudyLeaveMessageType = exports.StudyLeaveRequestChat = exports.StudyLeaveRequestAttachment = exports.StudyLeaveWorkFlowStatus = exports.StudyLeaveApprovalStatus = exports.StudyLeaveRequestStatus = exports.TrainingMessageType = exports.TrainingRequestChat = exports.TrainingRequestAttachment = exports.TrainingWorkFlowStatus = exports.TrainingApprovalStatus = exports.TrainingRequestStatus = exports.HrServiceChatStatus = exports.HrServiceMessageType = exports.HrServiceRequestChat = exports.HrServiceRequestAttachment = exports.HrServiceWorkFlowStatus = exports.HrServiceApprovalStatus = exports.HrServiceRequestStatus = exports.LogisticsVehicleMaintenanceWorkFlowStatus = exports.LogisticsVehicleMaintenanceMessageType = exports.LogisticsVehicleMaintenanceApprovalStatus = exports.VehicleMaintenanceStatus = exports.VehicleMaintenanceType = void 0;
|
|
18
|
-
exports.
|
|
18
|
+
exports.SkillsEnhancementRequestStatus = exports.AnnualIncrementRequestStatus = exports.PromotionRequestStatus = exports.CashAllowanceLeaveRequestStatus = exports.NotificationFrequency = exports.ServicesNotificationTriggerType = exports.NewResourceRequestStatus = exports.JobTransferRequestStatus = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = exports.AssignTasksEmpMessageType = exports.AssignTasksEmpRequestChat = exports.AssignTasksEmpRequestAttachment = exports.AssignTasksEmpWorkFlowStatus = exports.AssignTasksEmpApprovalStatus = exports.AssignTasksEmpPriority = exports.AssignTasksEmpStatus = exports.RequestForCoverageRequestAttachment = exports.RequestForCoverageChatStatus = exports.RequestForCoverageMessageType = exports.RequestForCoverageRequestChat = exports.RequestForCoverageApprovalStatus = void 0;
|
|
19
19
|
__exportStar(require("./models/user"), exports);
|
|
20
20
|
__exportStar(require("./models/role"), exports);
|
|
21
21
|
__exportStar(require("./models/user-sessions"), exports);
|
|
@@ -279,6 +279,8 @@ var NewResourceRequestModel_1 = require("./models/NewResourceRequestModel");
|
|
|
279
279
|
Object.defineProperty(exports, "NewResourceRequestStatus", { enumerable: true, get: function () { return NewResourceRequestModel_1.NewResourceRequestStatus; } });
|
|
280
280
|
// Country Master
|
|
281
281
|
__exportStar(require("./models/CountryMasterModel"), exports);
|
|
282
|
+
// City Master
|
|
283
|
+
__exportStar(require("./models/CityMasterModel"), exports);
|
|
282
284
|
// Location Master
|
|
283
285
|
__exportStar(require("./models/LocationModel"), exports);
|
|
284
286
|
// Financial Grade Master
|
|
@@ -306,17 +308,6 @@ Object.defineProperty(exports, "PromotionRequestStatus", { enumerable: true, get
|
|
|
306
308
|
__exportStar(require("./models/AnnualIncrementRequestModel"), exports);
|
|
307
309
|
var AnnualIncrementRequestModel_1 = require("./models/AnnualIncrementRequestModel");
|
|
308
310
|
Object.defineProperty(exports, "AnnualIncrementRequestStatus", { enumerable: true, get: function () { return AnnualIncrementRequestModel_1.AnnualIncrementRequestStatus; } });
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
__exportStar(require("./models/ResidentialUnitRentalWorkflowModel"), exports);
|
|
313
|
-
__exportStar(require("./models/ResidentialUnitRentalAttachmentModel"), exports);
|
|
314
|
-
__exportStar(require("./models/ResidentialUnitRentalChatModel"), exports);
|
|
315
|
-
var ResidentialUnitRentalRequestModel_1 = require("./models/ResidentialUnitRentalRequestModel");
|
|
316
|
-
Object.defineProperty(exports, "ResidentialUnitRentalRequestStatus", { enumerable: true, get: function () { return ResidentialUnitRentalRequestModel_1.ResidentialUnitRentalRequestStatus; } });
|
|
317
|
-
var ResidentialUnitRentalApprovalModel_1 = require("./models/ResidentialUnitRentalApprovalModel");
|
|
318
|
-
Object.defineProperty(exports, "ResidentialUnitRentalApprovalStatus", { enumerable: true, get: function () { return ResidentialUnitRentalApprovalModel_1.ResidentialUnitRentalApprovalStatus; } });
|
|
319
|
-
var ResidentialUnitRentalWorkflowModel_1 = require("./models/ResidentialUnitRentalWorkflowModel");
|
|
320
|
-
Object.defineProperty(exports, "ResidentialUnitRentalWorkFlowStatus", { enumerable: true, get: function () { return ResidentialUnitRentalWorkflowModel_1.ResidentialUnitRentalWorkFlowStatus; } });
|
|
321
|
-
var ResidentialUnitRentalChatModel_1 = require("./models/ResidentialUnitRentalChatModel");
|
|
322
|
-
Object.defineProperty(exports, "ResidentialUnitRentalMessageType", { enumerable: true, get: function () { return ResidentialUnitRentalChatModel_1.ResidentialUnitRentalMessageType; } });
|
|
311
|
+
__exportStar(require("./models/SkillsEnhancementRequestModel"), exports);
|
|
312
|
+
var SkillsEnhancementRequestModel_1 = require("./models/SkillsEnhancementRequestModel");
|
|
313
|
+
Object.defineProperty(exports, "SkillsEnhancementRequestStatus", { enumerable: true, get: function () { return SkillsEnhancementRequestModel_1.SkillsEnhancementRequestStatus; } });
|
|
@@ -0,0 +1,41 @@
|
|
|
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.CityMaster = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let CityMaster = class CityMaster extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(city_name) {
|
|
17
|
+
super();
|
|
18
|
+
this.city_name = city_name;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
exports.CityMaster = CityMaster;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], CityMaster.prototype, "country_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CityMaster.prototype, "city_name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], CityMaster.prototype, "city_code", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], CityMaster.prototype, "description", void 0);
|
|
38
|
+
exports.CityMaster = CityMaster = __decorate([
|
|
39
|
+
(0, typeorm_1.Entity)({ name: 'city_master' }),
|
|
40
|
+
__metadata("design:paramtypes", [String])
|
|
41
|
+
], CityMaster);
|
|
@@ -61,5 +61,6 @@ export declare class DutyMissionRequests extends BaseModel {
|
|
|
61
61
|
vehicle_required: VehicleRequired | null;
|
|
62
62
|
remarks: string | null;
|
|
63
63
|
decision_number: string | null;
|
|
64
|
-
|
|
64
|
+
decision_date: Date | null;
|
|
65
|
+
constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, trip_type: TripType, choose_type: ChooseType, mission_sponsored_by: MissionSponsoredBy, mission_purpose: string, mission_number: string, mission_start_date: Date, mission_end_date: Date, travelling_area_from: string, travelling_area_to: string, from_country: string, to_country: string, travel_place: string, travel_start_date: Date, travel_return_date: Date, status: DutyMissionStatus, request_id?: string | null, mission_id?: string | null, mission_days?: number | null, distance?: string | null, if_sponsored?: string | null, allowance_percentage?: string | null, air_ticket_required?: AirTicketRequired | null, vehicle_required?: VehicleRequired | null, remarks?: string | null, decision_number?: string | null, decision_date?: Date | null, workflow_execution_id?: string | null);
|
|
65
66
|
}
|
|
@@ -49,7 +49,7 @@ var DutyMissionStatus;
|
|
|
49
49
|
DutyMissionStatus["REJECTED"] = "Rejected";
|
|
50
50
|
})(DutyMissionStatus || (exports.DutyMissionStatus = DutyMissionStatus = {}));
|
|
51
51
|
let DutyMissionRequests = class DutyMissionRequests extends BaseModel_1.BaseModel {
|
|
52
|
-
constructor(req_user_department_id, req_user_section_id, service_id, sub_service_id, user_id, trip_type, choose_type, mission_sponsored_by, mission_purpose, mission_number, mission_start_date, mission_end_date, travelling_area_from, travelling_area_to, from_country, to_country, travel_place, travel_start_date, travel_return_date, status, request_id, mission_id, mission_days, distance, if_sponsored, allowance_percentage, air_ticket_required, vehicle_required, remarks, decision_number, workflow_execution_id) {
|
|
52
|
+
constructor(req_user_department_id, req_user_section_id, service_id, sub_service_id, user_id, trip_type, choose_type, mission_sponsored_by, mission_purpose, mission_number, mission_start_date, mission_end_date, travelling_area_from, travelling_area_to, from_country, to_country, travel_place, travel_start_date, travel_return_date, status, request_id, mission_id, mission_days, distance, if_sponsored, allowance_percentage, air_ticket_required, vehicle_required, remarks, decision_number, decision_date, workflow_execution_id) {
|
|
53
53
|
super();
|
|
54
54
|
this.req_user_department_id = req_user_department_id ?? null;
|
|
55
55
|
this.req_user_section_id = req_user_section_id ?? null;
|
|
@@ -81,6 +81,7 @@ let DutyMissionRequests = class DutyMissionRequests extends BaseModel_1.BaseMode
|
|
|
81
81
|
this.vehicle_required = vehicle_required ?? null;
|
|
82
82
|
this.remarks = remarks ?? null;
|
|
83
83
|
this.decision_number = decision_number ?? null;
|
|
84
|
+
this.decision_date = decision_date ?? null;
|
|
84
85
|
this.workflow_execution_id = workflow_execution_id ?? null;
|
|
85
86
|
}
|
|
86
87
|
};
|
|
@@ -126,7 +127,7 @@ __decorate([
|
|
|
126
127
|
(0, typeorm_1.Column)({
|
|
127
128
|
type: "enum",
|
|
128
129
|
enum: TripType,
|
|
129
|
-
nullable:
|
|
130
|
+
nullable: true,
|
|
130
131
|
}),
|
|
131
132
|
__metadata("design:type", String)
|
|
132
133
|
], DutyMissionRequests.prototype, "trip_type", void 0);
|
|
@@ -138,7 +139,7 @@ __decorate([
|
|
|
138
139
|
(0, typeorm_1.Column)({
|
|
139
140
|
type: "enum",
|
|
140
141
|
enum: ChooseType,
|
|
141
|
-
nullable:
|
|
142
|
+
nullable: true,
|
|
142
143
|
}),
|
|
143
144
|
__metadata("design:type", String)
|
|
144
145
|
], DutyMissionRequests.prototype, "choose_type", void 0);
|
|
@@ -159,7 +160,7 @@ __decorate([
|
|
|
159
160
|
__metadata("design:type", String)
|
|
160
161
|
], DutyMissionRequests.prototype, "mission_purpose", void 0);
|
|
161
162
|
__decorate([
|
|
162
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable:
|
|
163
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
163
164
|
__metadata("design:type", String)
|
|
164
165
|
], DutyMissionRequests.prototype, "mission_number", void 0);
|
|
165
166
|
__decorate([
|
|
@@ -175,11 +176,11 @@ __decorate([
|
|
|
175
176
|
__metadata("design:type", Object)
|
|
176
177
|
], DutyMissionRequests.prototype, "mission_days", void 0);
|
|
177
178
|
__decorate([
|
|
178
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable:
|
|
179
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
179
180
|
__metadata("design:type", String)
|
|
180
181
|
], DutyMissionRequests.prototype, "travelling_area_from", void 0);
|
|
181
182
|
__decorate([
|
|
182
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable:
|
|
183
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
183
184
|
__metadata("design:type", String)
|
|
184
185
|
], DutyMissionRequests.prototype, "travelling_area_to", void 0);
|
|
185
186
|
__decorate([
|
|
@@ -187,23 +188,23 @@ __decorate([
|
|
|
187
188
|
__metadata("design:type", Object)
|
|
188
189
|
], DutyMissionRequests.prototype, "distance", void 0);
|
|
189
190
|
__decorate([
|
|
190
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable:
|
|
191
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
191
192
|
__metadata("design:type", String)
|
|
192
193
|
], DutyMissionRequests.prototype, "from_country", void 0);
|
|
193
194
|
__decorate([
|
|
194
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable:
|
|
195
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
195
196
|
__metadata("design:type", String)
|
|
196
197
|
], DutyMissionRequests.prototype, "to_country", void 0);
|
|
197
198
|
__decorate([
|
|
198
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable:
|
|
199
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
199
200
|
__metadata("design:type", String)
|
|
200
201
|
], DutyMissionRequests.prototype, "travel_place", void 0);
|
|
201
202
|
__decorate([
|
|
202
|
-
(0, typeorm_1.Column)({ type: "date", nullable:
|
|
203
|
+
(0, typeorm_1.Column)({ type: "date", nullable: true }),
|
|
203
204
|
__metadata("design:type", Date)
|
|
204
205
|
], DutyMissionRequests.prototype, "travel_start_date", void 0);
|
|
205
206
|
__decorate([
|
|
206
|
-
(0, typeorm_1.Column)({ type: "date", nullable:
|
|
207
|
+
(0, typeorm_1.Column)({ type: "date", nullable: true }),
|
|
207
208
|
__metadata("design:type", Date)
|
|
208
209
|
], DutyMissionRequests.prototype, "travel_return_date", void 0);
|
|
209
210
|
__decorate([
|
|
@@ -234,9 +235,13 @@ __decorate([
|
|
|
234
235
|
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
235
236
|
__metadata("design:type", Object)
|
|
236
237
|
], DutyMissionRequests.prototype, "decision_number", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
(0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
|
|
240
|
+
__metadata("design:type", Object)
|
|
241
|
+
], DutyMissionRequests.prototype, "decision_date", void 0);
|
|
237
242
|
exports.DutyMissionRequests = DutyMissionRequests = __decorate([
|
|
238
243
|
(0, typeorm_1.Entity)({ name: 'duty_mission_requests' }),
|
|
239
244
|
__metadata("design:paramtypes", [Object, Object, Number, Number, Number, String, String, String, String, String, Date,
|
|
240
245
|
Date, String, String, String, String, String, Date,
|
|
241
|
-
Date, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
|
|
246
|
+
Date, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
|
|
242
247
|
], DutyMissionRequests);
|
|
@@ -3,11 +3,10 @@ import { BaseModel } from './BaseModel';
|
|
|
3
3
|
* This model is used to store the Financial Grade master data on the Admin Side
|
|
4
4
|
*/
|
|
5
5
|
export declare class FinancialGrade extends BaseModel {
|
|
6
|
-
arabic_title: string | null;
|
|
7
6
|
financial_grade: number | null;
|
|
8
|
-
leave_count: number | null;
|
|
9
7
|
daily_allowance: number | null;
|
|
10
8
|
travel_class: string | null;
|
|
9
|
+
currency: string | null;
|
|
11
10
|
is_active: boolean;
|
|
12
|
-
constructor(
|
|
11
|
+
constructor(financial_grade?: number | null, daily_allowance?: number | null, travel_class?: string | null, currency?: string | null, is_active?: boolean);
|
|
13
12
|
}
|
|
@@ -16,29 +16,20 @@ const BaseModel_1 = require("./BaseModel");
|
|
|
16
16
|
* This model is used to store the Financial Grade master data on the Admin Side
|
|
17
17
|
*/
|
|
18
18
|
let FinancialGrade = class FinancialGrade extends BaseModel_1.BaseModel {
|
|
19
|
-
constructor(
|
|
19
|
+
constructor(financial_grade, daily_allowance, travel_class, currency, is_active) {
|
|
20
20
|
super();
|
|
21
|
-
this.arabic_title = arabic_title || null;
|
|
22
21
|
this.financial_grade = financial_grade || null;
|
|
23
|
-
this.leave_count = leave_count || null;
|
|
24
22
|
this.daily_allowance = daily_allowance || null;
|
|
25
23
|
this.travel_class = travel_class || null;
|
|
24
|
+
this.currency = currency || null;
|
|
26
25
|
this.is_active = is_active !== undefined ? is_active : true;
|
|
27
26
|
}
|
|
28
27
|
};
|
|
29
28
|
exports.FinancialGrade = FinancialGrade;
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
32
|
-
__metadata("design:type", Object)
|
|
33
|
-
], FinancialGrade.prototype, "arabic_title", void 0);
|
|
34
29
|
__decorate([
|
|
35
30
|
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
36
31
|
__metadata("design:type", Object)
|
|
37
32
|
], FinancialGrade.prototype, "financial_grade", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
40
|
-
__metadata("design:type", Object)
|
|
41
|
-
], FinancialGrade.prototype, "leave_count", void 0);
|
|
42
33
|
__decorate([
|
|
43
34
|
(0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 2, nullable: true }),
|
|
44
35
|
__metadata("design:type", Object)
|
|
@@ -47,11 +38,15 @@ __decorate([
|
|
|
47
38
|
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
48
39
|
__metadata("design:type", Object)
|
|
49
40
|
], FinancialGrade.prototype, "travel_class", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 10, nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], FinancialGrade.prototype, "currency", void 0);
|
|
50
45
|
__decorate([
|
|
51
46
|
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
52
47
|
__metadata("design:type", Boolean)
|
|
53
48
|
], FinancialGrade.prototype, "is_active", void 0);
|
|
54
49
|
exports.FinancialGrade = FinancialGrade = __decorate([
|
|
55
50
|
(0, typeorm_1.Entity)({ name: 'financial_grade' }),
|
|
56
|
-
__metadata("design:paramtypes", [Object, Object, Object, Object,
|
|
51
|
+
__metadata("design:paramtypes", [Object, Object, Object, Object, Boolean])
|
|
57
52
|
], FinancialGrade);
|
|
@@ -0,0 +1,40 @@
|
|
|
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.ITApprovalSettings = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ITApprovalSettings = class ITApprovalSettings extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(level, approval_role_id, workflow_id) {
|
|
17
|
+
super();
|
|
18
|
+
this.level = level;
|
|
19
|
+
this.approval_role_id = approval_role_id;
|
|
20
|
+
this.workflow_id = workflow_id;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
exports.ITApprovalSettings = ITApprovalSettings;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], ITApprovalSettings.prototype, "level", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], ITApprovalSettings.prototype, "approval_role_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], ITApprovalSettings.prototype, "workflow_id", void 0);
|
|
36
|
+
exports.ITApprovalSettings = ITApprovalSettings = __decorate([
|
|
37
|
+
(0, typeorm_1.Entity)({ name: 'it_approval_settings' }),
|
|
38
|
+
(0, typeorm_1.Unique)(['workflow_id', 'level']),
|
|
39
|
+
__metadata("design:paramtypes", [Number, Number, Number])
|
|
40
|
+
], ITApprovalSettings);
|
|
@@ -0,0 +1,34 @@
|
|
|
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.ITServicesTypesMuscat = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ITServicesTypesMuscat = class ITServicesTypesMuscat extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(name, name_in_arabic) {
|
|
17
|
+
super();
|
|
18
|
+
this.name = name;
|
|
19
|
+
this.name_in_arabic = name_in_arabic;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.ITServicesTypesMuscat = ITServicesTypesMuscat;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], ITServicesTypesMuscat.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ITServicesTypesMuscat.prototype, "name_in_arabic", void 0);
|
|
31
|
+
exports.ITServicesTypesMuscat = ITServicesTypesMuscat = __decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'it_services_types_muscat' }),
|
|
33
|
+
__metadata("design:paramtypes", [String, String])
|
|
34
|
+
], ITServicesTypesMuscat);
|
|
@@ -0,0 +1,34 @@
|
|
|
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.ITServicesTypesSalalah = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ITServicesTypesSalalah = class ITServicesTypesSalalah extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(name, name_in_arabic) {
|
|
17
|
+
super();
|
|
18
|
+
this.name = name;
|
|
19
|
+
this.name_in_arabic = name_in_arabic;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.ITServicesTypesSalalah = ITServicesTypesSalalah;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], ITServicesTypesSalalah.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ITServicesTypesSalalah.prototype, "name_in_arabic", void 0);
|
|
31
|
+
exports.ITServicesTypesSalalah = ITServicesTypesSalalah = __decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'it_services_types_salalah' }),
|
|
33
|
+
__metadata("design:paramtypes", [String, String])
|
|
34
|
+
], ITServicesTypesSalalah);
|
|
@@ -27,6 +27,6 @@ export declare class JobTransferRequest extends BaseModel {
|
|
|
27
27
|
current_job_position: string;
|
|
28
28
|
position_to_be_transferred: string;
|
|
29
29
|
effective_from_date: Date;
|
|
30
|
-
decision_number:
|
|
30
|
+
decision_number: string | null;
|
|
31
31
|
constructor(user_id: number, status?: JobTransferRequestStatus, service_id?: number | null, sub_service_id?: number | null, req_user_department_id?: number | null, req_user_section_id?: number | null, req_user_position_id?: number | null, description?: string | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null, reason_for_request?: string, assigned_employee_name?: string, civil_id_card_number?: string | null, employee_id?: string, current_job_position?: string, position_to_be_transferred?: string, effective_from_date?: Date);
|
|
32
32
|
}
|
|
@@ -123,7 +123,7 @@ __decorate([
|
|
|
123
123
|
__metadata("design:type", Date)
|
|
124
124
|
], JobTransferRequest.prototype, "effective_from_date", void 0);
|
|
125
125
|
__decorate([
|
|
126
|
-
(0, typeorm_1.Column)({ type: "
|
|
126
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: true }),
|
|
127
127
|
__metadata("design:type", Object)
|
|
128
128
|
], JobTransferRequest.prototype, "decision_number", void 0);
|
|
129
129
|
exports.JobTransferRequest = JobTransferRequest = __decorate([
|
|
@@ -20,10 +20,19 @@ export declare class SecurityThreatRequest extends BaseModel {
|
|
|
20
20
|
sub_service_id: number;
|
|
21
21
|
user_id: number;
|
|
22
22
|
type_of_threat: number;
|
|
23
|
+
ticket_name: string | null;
|
|
24
|
+
source_of_incident: string | null;
|
|
25
|
+
type_of_incident_detected: string[] | null;
|
|
23
26
|
description: string;
|
|
24
27
|
contact_number: string;
|
|
25
28
|
priority: SecurityThreatPriority;
|
|
26
29
|
status: SecurityThreatRequestStatus;
|
|
27
30
|
workflow_execution_id: string | null;
|
|
31
|
+
incident_notification_in_caa: string[] | null;
|
|
32
|
+
identification_measures: string | null;
|
|
33
|
+
evidence_collected: string | null;
|
|
34
|
+
eradication_mitigation_measures: string | null;
|
|
35
|
+
recovery_measures: string | null;
|
|
36
|
+
other_mitigation_measures: string | null;
|
|
28
37
|
constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, type_of_threat: number, description: string, contact_number: string, priority: SecurityThreatPriority, status: SecurityThreatRequestStatus, workflow_execution_id?: string | null);
|
|
29
38
|
}
|
|
@@ -69,6 +69,18 @@ __decorate([
|
|
|
69
69
|
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
70
70
|
__metadata("design:type", Number)
|
|
71
71
|
], SecurityThreatRequest.prototype, "type_of_threat", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
74
|
+
__metadata("design:type", Object)
|
|
75
|
+
], SecurityThreatRequest.prototype, "ticket_name", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
78
|
+
__metadata("design:type", Object)
|
|
79
|
+
], SecurityThreatRequest.prototype, "source_of_incident", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], SecurityThreatRequest.prototype, "type_of_incident_detected", void 0);
|
|
72
84
|
__decorate([
|
|
73
85
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
74
86
|
__metadata("design:type", String)
|
|
@@ -98,6 +110,30 @@ __decorate([
|
|
|
98
110
|
(0, typeorm_1.Column)({ type: "varchar", nullable: true }),
|
|
99
111
|
__metadata("design:type", Object)
|
|
100
112
|
], SecurityThreatRequest.prototype, "workflow_execution_id", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
115
|
+
__metadata("design:type", Object)
|
|
116
|
+
], SecurityThreatRequest.prototype, "incident_notification_in_caa", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
119
|
+
__metadata("design:type", Object)
|
|
120
|
+
], SecurityThreatRequest.prototype, "identification_measures", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
123
|
+
__metadata("design:type", Object)
|
|
124
|
+
], SecurityThreatRequest.prototype, "evidence_collected", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
127
|
+
__metadata("design:type", Object)
|
|
128
|
+
], SecurityThreatRequest.prototype, "eradication_mitigation_measures", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
131
|
+
__metadata("design:type", Object)
|
|
132
|
+
], SecurityThreatRequest.prototype, "recovery_measures", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
135
|
+
__metadata("design:type", Object)
|
|
136
|
+
], SecurityThreatRequest.prototype, "other_mitigation_measures", void 0);
|
|
101
137
|
exports.SecurityThreatRequest = SecurityThreatRequest = __decorate([
|
|
102
138
|
(0, typeorm_1.Entity)({ name: 'security_threat_requests' }),
|
|
103
139
|
__metadata("design:paramtypes", [Object, Object, Number, Number, Number, Number, String, String, String, String, Object])
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum SkillsEnhancementRequestStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
ASSIGNED = "Assigned",
|
|
5
|
+
IN_PROGRESS = "In Progress",
|
|
6
|
+
COMPLETED = "Completed",
|
|
7
|
+
APPROVED = "Approved",
|
|
8
|
+
REJECTED = "Rejected",
|
|
9
|
+
INFORMATION_REQUESTED = "Information Requested"
|
|
10
|
+
}
|
|
11
|
+
export declare enum SkillCategory {
|
|
12
|
+
TECHNICAL = "Technical",
|
|
13
|
+
COMPLIANCE = "Compliance",
|
|
14
|
+
MANAGEMENT = "Management",
|
|
15
|
+
SAFETY = "Safety",
|
|
16
|
+
SOFT_SKILLS = "Soft Skills",
|
|
17
|
+
OTHER = "Other"
|
|
18
|
+
}
|
|
19
|
+
export declare class SkillsEnhancementRequest extends BaseModel {
|
|
20
|
+
req_user_department_id: number | null;
|
|
21
|
+
req_user_section_id: number | null;
|
|
22
|
+
req_user_position_id: number | null;
|
|
23
|
+
user_id: number;
|
|
24
|
+
service_id: number | null;
|
|
25
|
+
sub_service_id: number | null;
|
|
26
|
+
status: SkillsEnhancementRequestStatus;
|
|
27
|
+
reviewer_user_id: number | null;
|
|
28
|
+
assigned_to_user_id: number | null;
|
|
29
|
+
assigned_at: Date | null;
|
|
30
|
+
workflow_execution_id: string | null;
|
|
31
|
+
description: string | null;
|
|
32
|
+
certification_title: string;
|
|
33
|
+
skill_category: SkillCategory;
|
|
34
|
+
issuing_authority: string;
|
|
35
|
+
completion_date: Date;
|
|
36
|
+
skill_summary: string | null;
|
|
37
|
+
additional_info_requested: string | null;
|
|
38
|
+
constructor(user_id: number, status?: SkillsEnhancementRequestStatus, service_id?: number | null, sub_service_id?: number | null, req_user_department_id?: number | null, req_user_section_id?: number | null, req_user_position_id?: number | null, description?: string | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null, certification_title?: string, skill_category?: SkillCategory, issuing_authority?: string, completion_date?: Date, skill_summary?: string | null, additional_info_requested?: string | null);
|
|
39
|
+
}
|