@platform-modules/civil-aviation-authority 2.3.132 → 2.3.134
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 +9 -17
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/models/CAAServices.d.ts +3 -1
- package/dist/models/CAAServices.js +12 -2
- package/dist/models/CAASubServices.d.ts +3 -1
- package/dist/models/CAASubServices.js +12 -2
- package/dist/models/CAIRatingMasterModel.d.ts +10 -0
- package/dist/models/CAIRatingMasterModel.js +54 -0
- package/dist/models/CSRMBusinessImpactRatingMasterModel.d.ts +8 -0
- package/dist/models/CSRMBusinessImpactRatingMasterModel.js +44 -0
- package/dist/models/CSRMLikelihoodMasterModel.d.ts +8 -0
- package/dist/models/CSRMLikelihoodMasterModel.js +44 -0
- 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/PerformanceCyclePeriodModel.d.ts +2 -1
- package/dist/models/PerformanceCyclePeriodModel.js +7 -2
- package/dist/models/PerformanceManagementRequestGoalModel.d.ts +3 -1
- package/dist/models/PerformanceManagementRequestGoalModel.js +12 -2
- package/dist/models/UserSkillModel.d.ts +14 -0
- package/dist/models/UserSkillModel.js +70 -0
- package/dist/models/Workflows.d.ts +9 -0
- package/dist/models/Workflows.js +31 -0
- package/package.json +1 -1
- package/src/data-source.ts +307 -307
- package/src/index.ts +308 -304
- package/src/models/AccommodationApprovalModel.ts +8 -8
- package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
- package/src/models/AnnualIncrementRequestModel.ts +25 -25
- package/src/models/AnnualTrainingPlanRequestModel.ts +153 -153
- package/src/models/AssetApartmentTypeModel.ts +29 -29
- package/src/models/AssetUnitLocationModel.ts +25 -25
- package/src/models/CAAServices.ts +33 -23
- package/src/models/CAASubServices.ts +33 -23
- package/src/models/CAIRatingMasterModel.ts +39 -0
- package/src/models/CSRMBusinessImpactRatingMasterModel.ts +25 -0
- package/src/models/CSRMLikelihoodMasterModel.ts +25 -0
- package/src/models/CashAllowanceLeaveRequestModel.ts +11 -11
- package/src/models/CyberSecurityAuditRequestModel.ts +32 -32
- package/src/models/DepartmentsModel.ts +25 -25
- package/src/models/DocumentDriveModel.ts +28 -28
- package/src/models/DocumentFolderModel.ts +45 -45
- package/src/models/HousingContractCancelChatModel.ts +56 -56
- package/src/models/HousingContractRenewalChatModel.ts +59 -59
- package/src/models/HrServiceRequestModel.ts +193 -193
- package/src/models/ITRequestChatModel.ts +62 -62
- package/src/models/ItApprovalsModel.ts +84 -84
- package/src/models/ItWorkflowModel.ts +55 -55
- package/src/models/MissionTravelPassportExpiryNotificationConfigModel.ts +36 -36
- package/src/models/PerformanceCyclePeriodModel.ts +26 -23
- package/src/models/PerformanceGoalMasterModel.ts +27 -27
- package/src/models/PerformanceManagementRequestGoalModel.ts +46 -36
- package/src/models/PerformanceManagementRequestModel.ts +14 -14
- package/src/models/PromotionRequestModel.ts +11 -11
- package/src/models/ResidentialUnitRentalChatModel.ts +56 -56
- package/src/models/ResidentialUnitRentalRequestModel.ts +218 -218
- package/src/models/ServicesNotificationConfigModel.ts +55 -55
- package/src/models/StudyLeaveRequestModel.ts +144 -144
- package/src/models/TrainingRoomBookingRequestModel.ts +142 -142
- package/src/models/TrainingRoomNotificationConfigModel.ts +30 -30
- package/src/models/UserSkillModel.ts +56 -0
- package/dist/models/DocumentMetadataModel.d.ts +0 -45
- package/dist/models/DocumentMetadataModel.js +0 -171
- package/dist/models/DocumentationDepartmentsModel.d.ts +0 -13
- package/dist/models/DocumentationDepartmentsModel.js +0 -53
- package/dist/models/FolderModel.d.ts +0 -16
- package/dist/models/FolderModel.js +0 -85
- package/dist/models/PermissionModel.d.ts +0 -18
- package/dist/models/PermissionModel.js +0 -68
- package/dist/models/UUIDBaseModel.d.ts +0 -14
- package/dist/models/UUIDBaseModel.js +0 -66
package/.env
CHANGED
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
DB_HOST=164.52.222.169
|
|
2
|
-
DB_PORT=5432
|
|
3
|
-
DB_USER=postgres_admin_user
|
|
4
|
-
DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
5
|
-
DB_NAME=CAA
|
|
6
|
-
|
|
7
|
-
# DB_HOST=216.48.187.46
|
|
1
|
+
# DB_HOST=164.52.222.169
|
|
8
2
|
# DB_PORT=5432
|
|
9
|
-
# DB_USER=
|
|
10
|
-
# DB_PASS=
|
|
11
|
-
# DB_NAME=
|
|
12
|
-
|
|
3
|
+
# DB_USER=postgres_admin_user
|
|
4
|
+
# DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
5
|
+
# DB_NAME=CAA
|
|
13
6
|
|
|
14
7
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
# DB_NAME=CAA
|
|
8
|
+
DB_HOST=localhost
|
|
9
|
+
DB_PORT=5432
|
|
10
|
+
DB_USER=postgres
|
|
11
|
+
DB_PASS=stevejobs
|
|
12
|
+
DB_NAME=CAA
|
package/dist/index.d.ts
CHANGED
|
@@ -202,6 +202,9 @@ export { JobTransferRequestStatus } from './models/JobTransferRequestModel';
|
|
|
202
202
|
export * from './models/NewResourceRequestModel';
|
|
203
203
|
export { NewResourceRequestStatus } from './models/NewResourceRequestModel';
|
|
204
204
|
export * from './models/CountryMasterModel';
|
|
205
|
+
export * from './models/CAIRatingMasterModel';
|
|
206
|
+
export * from './models/CSRMLikelihoodMasterModel';
|
|
207
|
+
export * from './models/CSRMBusinessImpactRatingMasterModel';
|
|
205
208
|
export * from './models/CityMasterModel';
|
|
206
209
|
export * from './models/LocationModel';
|
|
207
210
|
export * from './models/FinancialGradeModel';
|
|
@@ -220,6 +223,7 @@ export { AnnualIncrementRequestStatus } from './models/AnnualIncrementRequestMod
|
|
|
220
223
|
export * from './models/AnnualIncrementRequestEmployeeModel';
|
|
221
224
|
export * from './models/SkillsEnhancementRequestModel';
|
|
222
225
|
export { SkillsEnhancementRequestStatus } from './models/SkillsEnhancementRequestModel';
|
|
226
|
+
export * from './models/UserSkillModel';
|
|
223
227
|
export * from './models/PerformanceManagementRequestModel';
|
|
224
228
|
export { PerformanceManagementRequestStatus, PerformanceManagementCyclePeriod } from './models/PerformanceManagementRequestModel';
|
|
225
229
|
export * from './models/PerformanceManagementRequestGoalModel';
|
package/dist/index.js
CHANGED
|
@@ -314,6 +314,9 @@ var NewResourceRequestModel_1 = require("./models/NewResourceRequestModel");
|
|
|
314
314
|
Object.defineProperty(exports, "NewResourceRequestStatus", { enumerable: true, get: function () { return NewResourceRequestModel_1.NewResourceRequestStatus; } });
|
|
315
315
|
// Country Master
|
|
316
316
|
__exportStar(require("./models/CountryMasterModel"), exports);
|
|
317
|
+
__exportStar(require("./models/CAIRatingMasterModel"), exports);
|
|
318
|
+
__exportStar(require("./models/CSRMLikelihoodMasterModel"), exports);
|
|
319
|
+
__exportStar(require("./models/CSRMBusinessImpactRatingMasterModel"), exports);
|
|
317
320
|
// City Master
|
|
318
321
|
__exportStar(require("./models/CityMasterModel"), exports);
|
|
319
322
|
// Location Master
|
|
@@ -347,6 +350,7 @@ __exportStar(require("./models/AnnualIncrementRequestEmployeeModel"), exports);
|
|
|
347
350
|
__exportStar(require("./models/SkillsEnhancementRequestModel"), exports);
|
|
348
351
|
var SkillsEnhancementRequestModel_1 = require("./models/SkillsEnhancementRequestModel");
|
|
349
352
|
Object.defineProperty(exports, "SkillsEnhancementRequestStatus", { enumerable: true, get: function () { return SkillsEnhancementRequestModel_1.SkillsEnhancementRequestStatus; } });
|
|
353
|
+
__exportStar(require("./models/UserSkillModel"), exports);
|
|
350
354
|
// Performance Management Service
|
|
351
355
|
__exportStar(require("./models/PerformanceManagementRequestModel"), exports);
|
|
352
356
|
var PerformanceManagementRequestModel_1 = require("./models/PerformanceManagementRequestModel");
|
|
@@ -2,7 +2,9 @@ import { BaseModel } from './BaseModel';
|
|
|
2
2
|
export declare class CAAServices extends BaseModel {
|
|
3
3
|
code: string;
|
|
4
4
|
name: string;
|
|
5
|
+
arabic_name: string | null;
|
|
5
6
|
description: string;
|
|
7
|
+
arabic_description: string | null;
|
|
6
8
|
logo_url: string;
|
|
7
|
-
constructor(name: string, description: string, code?: string, logo_url?: string);
|
|
9
|
+
constructor(name: string, description: string, arabic_name?: string | null, arabic_description?: string | null, code?: string, logo_url?: string);
|
|
8
10
|
}
|
|
@@ -13,10 +13,12 @@ exports.CAAServices = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let CAAServices = class CAAServices extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(name, description, code, logo_url) {
|
|
16
|
+
constructor(name, description, arabic_name, arabic_description, code, logo_url) {
|
|
17
17
|
super();
|
|
18
18
|
this.name = name;
|
|
19
19
|
this.description = description;
|
|
20
|
+
this.arabic_name = arabic_name || null;
|
|
21
|
+
this.arabic_description = arabic_description || null;
|
|
20
22
|
this.code = code || '';
|
|
21
23
|
this.logo_url = logo_url || '';
|
|
22
24
|
}
|
|
@@ -30,15 +32,23 @@ __decorate([
|
|
|
30
32
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
31
33
|
__metadata("design:type", String)
|
|
32
34
|
], CAAServices.prototype, "name", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], CAAServices.prototype, "arabic_name", void 0);
|
|
33
39
|
__decorate([
|
|
34
40
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
35
41
|
__metadata("design:type", String)
|
|
36
42
|
], CAAServices.prototype, "description", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], CAAServices.prototype, "arabic_description", void 0);
|
|
37
47
|
__decorate([
|
|
38
48
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
39
49
|
__metadata("design:type", String)
|
|
40
50
|
], CAAServices.prototype, "logo_url", void 0);
|
|
41
51
|
exports.CAAServices = CAAServices = __decorate([
|
|
42
52
|
(0, typeorm_1.Entity)({ name: 'caa_services' }),
|
|
43
|
-
__metadata("design:paramtypes", [String, String, String, String])
|
|
53
|
+
__metadata("design:paramtypes", [String, String, Object, Object, String, String])
|
|
44
54
|
], CAAServices);
|
|
@@ -3,9 +3,11 @@ import { CAAServices } from './CAAServices';
|
|
|
3
3
|
export declare class CAASubServices extends BaseModel {
|
|
4
4
|
code: string | null;
|
|
5
5
|
sub_service_name: string;
|
|
6
|
+
arabic_name: string | null;
|
|
6
7
|
description: string;
|
|
8
|
+
arabic_description: string | null;
|
|
7
9
|
service_id: number;
|
|
8
10
|
service: CAAServices;
|
|
9
11
|
logo_url: string;
|
|
10
|
-
constructor(sub_service_name: string, description: string, service_id: number, logo_url: string, code?: string | null);
|
|
12
|
+
constructor(sub_service_name: string, description: string, arabic_name: string | null, arabic_description: string | null, service_id: number, logo_url: string, code?: string | null);
|
|
11
13
|
}
|
|
@@ -14,10 +14,12 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
const CAAServices_1 = require("./CAAServices");
|
|
16
16
|
let CAASubServices = class CAASubServices extends BaseModel_1.BaseModel {
|
|
17
|
-
constructor(sub_service_name, description, service_id, logo_url, code = null) {
|
|
17
|
+
constructor(sub_service_name, description, arabic_name, arabic_description, service_id, logo_url, code = null) {
|
|
18
18
|
super();
|
|
19
19
|
this.sub_service_name = sub_service_name;
|
|
20
|
+
this.arabic_name = arabic_name || null;
|
|
20
21
|
this.description = description;
|
|
22
|
+
this.arabic_description = arabic_description || null;
|
|
21
23
|
this.service_id = service_id;
|
|
22
24
|
this.logo_url = logo_url;
|
|
23
25
|
this.code = code;
|
|
@@ -32,10 +34,18 @@ __decorate([
|
|
|
32
34
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
33
35
|
__metadata("design:type", String)
|
|
34
36
|
], CAASubServices.prototype, "sub_service_name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], CAASubServices.prototype, "arabic_name", void 0);
|
|
35
41
|
__decorate([
|
|
36
42
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
37
43
|
__metadata("design:type", String)
|
|
38
44
|
], CAASubServices.prototype, "description", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], CAASubServices.prototype, "arabic_description", void 0);
|
|
39
49
|
__decorate([
|
|
40
50
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
41
51
|
__metadata("design:type", Number)
|
|
@@ -51,5 +61,5 @@ __decorate([
|
|
|
51
61
|
], CAASubServices.prototype, "logo_url", void 0);
|
|
52
62
|
exports.CAASubServices = CAASubServices = __decorate([
|
|
53
63
|
(0, typeorm_1.Entity)({ name: 'caa_sub_services' }),
|
|
54
|
-
__metadata("design:paramtypes", [String, String, Number, String, Object])
|
|
64
|
+
__metadata("design:paramtypes", [String, String, Object, Object, Number, String, Object])
|
|
55
65
|
], CAASubServices);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare class CAIRatingMaster extends BaseModel {
|
|
3
|
+
confidentiality: string;
|
|
4
|
+
integrity: string;
|
|
5
|
+
availability: string;
|
|
6
|
+
rating: string;
|
|
7
|
+
value: string;
|
|
8
|
+
is_active: boolean;
|
|
9
|
+
constructor(confidentiality: string, integrity: string, availability: string, rating: string, value: string);
|
|
10
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.CAIRatingMaster = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let CAIRatingMaster = class CAIRatingMaster extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(confidentiality, integrity, availability, rating, value) {
|
|
17
|
+
super();
|
|
18
|
+
this.confidentiality = confidentiality;
|
|
19
|
+
this.integrity = integrity;
|
|
20
|
+
this.availability = availability;
|
|
21
|
+
this.rating = rating;
|
|
22
|
+
this.value = value;
|
|
23
|
+
this.is_active = true;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.CAIRatingMaster = CAIRatingMaster;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CAIRatingMaster.prototype, "confidentiality", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CAIRatingMaster.prototype, "integrity", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CAIRatingMaster.prototype, "availability", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CAIRatingMaster.prototype, "rating", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CAIRatingMaster.prototype, "value", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: "boolean", default: true }),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], CAIRatingMaster.prototype, "is_active", void 0);
|
|
51
|
+
exports.CAIRatingMaster = CAIRatingMaster = __decorate([
|
|
52
|
+
(0, typeorm_1.Entity)({ name: "cai_rating_master" }),
|
|
53
|
+
__metadata("design:paramtypes", [String, String, String, String, String])
|
|
54
|
+
], CAIRatingMaster);
|
|
@@ -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.CSRMBusinessImpactRatingMaster = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let CSRMBusinessImpactRatingMaster = class CSRMBusinessImpactRatingMaster extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(guidelines, rating, value) {
|
|
17
|
+
super();
|
|
18
|
+
this.guidelines = guidelines;
|
|
19
|
+
this.rating = rating;
|
|
20
|
+
this.value = value;
|
|
21
|
+
this.is_active = true;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.CSRMBusinessImpactRatingMaster = CSRMBusinessImpactRatingMaster;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CSRMBusinessImpactRatingMaster.prototype, "guidelines", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CSRMBusinessImpactRatingMaster.prototype, "rating", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CSRMBusinessImpactRatingMaster.prototype, "value", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "boolean", default: true }),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], CSRMBusinessImpactRatingMaster.prototype, "is_active", void 0);
|
|
41
|
+
exports.CSRMBusinessImpactRatingMaster = CSRMBusinessImpactRatingMaster = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)({ name: "csrm_business_impact_rating_master" }),
|
|
43
|
+
__metadata("design:paramtypes", [String, String, String])
|
|
44
|
+
], CSRMBusinessImpactRatingMaster);
|
|
@@ -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.CSRMLikelihoodMaster = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let CSRMLikelihoodMaster = class CSRMLikelihoodMaster extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(guidelines, rating, value) {
|
|
17
|
+
super();
|
|
18
|
+
this.guidelines = guidelines;
|
|
19
|
+
this.rating = rating;
|
|
20
|
+
this.value = value;
|
|
21
|
+
this.is_active = true;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.CSRMLikelihoodMaster = CSRMLikelihoodMaster;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CSRMLikelihoodMaster.prototype, "guidelines", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CSRMLikelihoodMaster.prototype, "rating", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CSRMLikelihoodMaster.prototype, "value", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "boolean", default: true }),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], CSRMLikelihoodMaster.prototype, "is_active", void 0);
|
|
41
|
+
exports.CSRMLikelihoodMaster = CSRMLikelihoodMaster = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)({ name: "csrm_likelihood_master" }),
|
|
43
|
+
__metadata("design:paramtypes", [String, String, String])
|
|
44
|
+
], CSRMLikelihoodMaster);
|
|
@@ -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);
|
|
@@ -2,6 +2,7 @@ import { BaseModel } from "./BaseModel";
|
|
|
2
2
|
export declare class PerformanceCyclePeriod extends BaseModel {
|
|
3
3
|
cycle_period: string;
|
|
4
4
|
cycle_year: number;
|
|
5
|
+
title: string;
|
|
5
6
|
is_active: boolean;
|
|
6
|
-
constructor(cycle_period?: string, cycle_year?: number);
|
|
7
|
+
constructor(cycle_period?: string, cycle_year?: number, title?: string);
|
|
7
8
|
}
|
|
@@ -13,10 +13,11 @@ exports.PerformanceCyclePeriod = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let PerformanceCyclePeriod = class PerformanceCyclePeriod extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(cycle_period, cycle_year) {
|
|
16
|
+
constructor(cycle_period, cycle_year, title) {
|
|
17
17
|
super();
|
|
18
18
|
this.cycle_period = cycle_period || "";
|
|
19
19
|
this.cycle_year = cycle_year || new Date().getFullYear();
|
|
20
|
+
this.title = title || "";
|
|
20
21
|
this.is_active = false;
|
|
21
22
|
}
|
|
22
23
|
};
|
|
@@ -29,6 +30,10 @@ __decorate([
|
|
|
29
30
|
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
30
31
|
__metadata("design:type", Number)
|
|
31
32
|
], PerformanceCyclePeriod.prototype, "cycle_year", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false, default: "" }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], PerformanceCyclePeriod.prototype, "title", void 0);
|
|
32
37
|
__decorate([
|
|
33
38
|
(0, typeorm_1.Column)({ type: "boolean", default: false }),
|
|
34
39
|
__metadata("design:type", Boolean)
|
|
@@ -36,5 +41,5 @@ __decorate([
|
|
|
36
41
|
exports.PerformanceCyclePeriod = PerformanceCyclePeriod = __decorate([
|
|
37
42
|
(0, typeorm_1.Entity)({ name: "performance_cycle_periods" }),
|
|
38
43
|
(0, typeorm_1.Index)("uq_performance_cycle_period", ["cycle_period", "cycle_year"], { unique: true }),
|
|
39
|
-
__metadata("design:paramtypes", [String, Number])
|
|
44
|
+
__metadata("design:paramtypes", [String, Number, String])
|
|
40
45
|
], PerformanceCyclePeriod);
|
|
@@ -5,5 +5,7 @@ export declare class PerformanceManagementRequestGoal extends BaseModel {
|
|
|
5
5
|
goal_id: string;
|
|
6
6
|
goal_description: string;
|
|
7
7
|
goal_weight: number;
|
|
8
|
-
|
|
8
|
+
rating: number | null;
|
|
9
|
+
remark: string | null;
|
|
10
|
+
constructor(request_id?: number, goal_title?: string, goal_id?: string, goal_description?: string, goal_weight?: number, rating?: number | null, remark?: string | null);
|
|
9
11
|
}
|
|
@@ -13,13 +13,15 @@ exports.PerformanceManagementRequestGoal = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let PerformanceManagementRequestGoal = class PerformanceManagementRequestGoal extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(request_id, goal_title, goal_id, goal_description, goal_weight) {
|
|
16
|
+
constructor(request_id, goal_title, goal_id, goal_description, goal_weight, rating, remark) {
|
|
17
17
|
super();
|
|
18
18
|
this.request_id = request_id || 0;
|
|
19
19
|
this.goal_title = goal_title || "";
|
|
20
20
|
this.goal_id = goal_id || "";
|
|
21
21
|
this.goal_description = goal_description || "";
|
|
22
22
|
this.goal_weight = goal_weight || 0;
|
|
23
|
+
this.rating = rating ?? null;
|
|
24
|
+
this.remark = remark ?? null;
|
|
23
25
|
}
|
|
24
26
|
};
|
|
25
27
|
exports.PerformanceManagementRequestGoal = PerformanceManagementRequestGoal;
|
|
@@ -44,7 +46,15 @@ __decorate([
|
|
|
44
46
|
(0, typeorm_1.Column)({ type: "integer", nullable: false, default: 0 }),
|
|
45
47
|
__metadata("design:type", Number)
|
|
46
48
|
], PerformanceManagementRequestGoal.prototype, "goal_weight", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true, default: null }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], PerformanceManagementRequestGoal.prototype, "rating", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true, default: null }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], PerformanceManagementRequestGoal.prototype, "remark", void 0);
|
|
47
57
|
exports.PerformanceManagementRequestGoal = PerformanceManagementRequestGoal = __decorate([
|
|
48
58
|
(0, typeorm_1.Entity)({ name: "performance_management_request_goals" }),
|
|
49
|
-
__metadata("design:paramtypes", [Number, String, String, String, Number])
|
|
59
|
+
__metadata("design:paramtypes", [Number, String, String, String, Number, Object, Object])
|
|
50
60
|
], PerformanceManagementRequestGoal);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
import { SkillCategory } from "./SkillsEnhancementRequestModel";
|
|
3
|
+
export declare class UserSkill extends BaseModel {
|
|
4
|
+
user_id: number;
|
|
5
|
+
skill_name: string;
|
|
6
|
+
skill_category: SkillCategory | null;
|
|
7
|
+
issuing_authority: string | null;
|
|
8
|
+
completion_date: Date | null;
|
|
9
|
+
skill_summary: string | null;
|
|
10
|
+
source_request_id: number | null;
|
|
11
|
+
source_request_type: string | null;
|
|
12
|
+
is_active: boolean;
|
|
13
|
+
constructor(user_id: number, skill_name: string, skill_category?: SkillCategory | null, issuing_authority?: string | null, completion_date?: Date | null, skill_summary?: string | null, source_request_id?: number | null, source_request_type?: string | null, is_active?: boolean);
|
|
14
|
+
}
|