@platform-modules/civil-aviation-authority 2.3.207 → 2.3.209
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 +10 -10
- package/dist/data-source.js +21 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +11 -0
- package/dist/models/MaintenanceApprovalModel.d.ts +22 -0
- package/dist/models/MaintenanceApprovalModel.js +84 -0
- package/dist/models/MaintenanceAttachmentModel.d.ts +11 -0
- package/dist/models/MaintenanceAttachmentModel.js +52 -0
- package/dist/models/MaintenanceChatModel.d.ts +18 -0
- package/dist/models/MaintenanceChatModel.js +65 -0
- package/dist/models/MaintenanceExternalStationsApprovalModel.d.ts +22 -0
- package/dist/models/MaintenanceExternalStationsApprovalModel.js +84 -0
- package/dist/models/MaintenanceExternalStationsAttachmentModel.d.ts +11 -0
- package/dist/models/MaintenanceExternalStationsAttachmentModel.js +52 -0
- package/dist/models/MaintenanceExternalStationsChatModel.d.ts +18 -0
- package/dist/models/MaintenanceExternalStationsChatModel.js +65 -0
- package/dist/models/MaintenanceExternalStationsRequestModel.d.ts +49 -0
- package/dist/models/MaintenanceExternalStationsRequestModel.js +147 -0
- package/dist/models/MaintenanceExternalStationsWorkflowModel.d.ts +17 -0
- package/dist/models/MaintenanceExternalStationsWorkflowModel.js +67 -0
- package/dist/models/MaintenanceRequestModel.d.ts +42 -0
- package/dist/models/MaintenanceRequestModel.js +125 -0
- package/dist/models/MaintenanceWorkflowModel.d.ts +17 -0
- package/dist/models/MaintenanceWorkflowModel.js +67 -0
- package/package.json +1 -1
- package/src/data-source.ts +21 -1
- package/src/index.ts +13 -1
- package/src/models/AccommodationApprovalModel.ts +8 -8
- package/src/models/AccommodationRequestModel.ts +8 -8
- package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
- package/src/models/AnnualIncrementRequestModel.ts +25 -25
- package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +23 -23
- package/src/models/CAAServices.ts +33 -33
- package/src/models/CAASubServices.ts +33 -33
- package/src/models/CAIRatingMasterModel.ts +39 -39
- package/src/models/CSRMBusinessImpactRatingMasterModel.ts +25 -25
- package/src/models/CSRMLikelihoodMasterModel.ts +25 -25
- package/src/models/CashAllowanceLeaveRequestModel.ts +11 -11
- package/src/models/HrServiceRequestModel.ts +193 -193
- package/src/models/MaintenanceApprovalModel.ts +56 -0
- package/src/models/MaintenanceAttachmentModel.ts +29 -0
- package/src/models/MaintenanceChatModel.ts +42 -0
- package/src/models/MaintenanceExternalStationsApprovalModel.ts +56 -0
- package/src/models/MaintenanceExternalStationsAttachmentModel.ts +29 -0
- package/src/models/MaintenanceExternalStationsChatModel.ts +42 -0
- package/src/models/MaintenanceExternalStationsRequestModel.ts +113 -0
- package/src/models/MaintenanceExternalStationsWorkflowModel.ts +43 -0
- package/src/models/MaintenanceRequestModel.ts +94 -0
- package/src/models/MaintenanceWorkflowModel.ts +43 -0
- package/src/models/PerformanceCyclePeriodModel.ts +26 -26
- package/src/models/PerformanceGoalMasterModel.ts +27 -27
- package/src/models/PerformanceManagementRequestGoalModel.ts +46 -46
- package/src/models/PerformanceManagementRequestModel.ts +14 -14
- package/src/models/PromotionRequestModel.ts +11 -11
- package/src/models/RespondToEnquiriesRequestModel.ts +31 -31
- package/src/models/SkillsEnhancementRequestModel.ts +17 -17
- package/src/models/UserSkillModel.ts +56 -56
- package/dist/models/ITApprovalSettings.d.ts +0 -7
- package/dist/models/ITApprovalSettings.js +0 -40
- package/dist/models/ITServicesTypesMuscatModel.d.ts +0 -6
- package/dist/models/ITServicesTypesMuscatModel.js +0 -34
- package/dist/models/ITServicesTypesSalalahModel.d.ts +0 -6
- package/dist/models/ITServicesTypesSalalahModel.js +0 -34
- package/dist/models/Workflows.d.ts +0 -9
- package/dist/models/Workflows.js +0 -31
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
/** Location / use category for the external station context */
|
|
3
|
+
export declare enum MaintenanceExternalStationsStationCategory {
|
|
4
|
+
WORKSHOP = "Workshop",
|
|
5
|
+
TRAINING = "Training",
|
|
6
|
+
DUTY_MISSION = "Duty Mission",
|
|
7
|
+
ASSIGNMENT = "Assignment",
|
|
8
|
+
OTHER = "Other"
|
|
9
|
+
}
|
|
10
|
+
export declare enum MaintenanceExternalStationsIssueType {
|
|
11
|
+
EQUIPMENT = "Equipment",
|
|
12
|
+
FACILITY = "Facility",
|
|
13
|
+
INFRASTRUCTURE = "Infrastructure",
|
|
14
|
+
OTHER = "Other"
|
|
15
|
+
}
|
|
16
|
+
export declare enum MaintenanceExternalStationsUrgencyLevel {
|
|
17
|
+
LOW = "Low",
|
|
18
|
+
MEDIUM = "Medium",
|
|
19
|
+
HIGH = "High",
|
|
20
|
+
CRITICAL = "Critical"
|
|
21
|
+
}
|
|
22
|
+
export declare enum MaintenanceExternalStationsRequestStatus {
|
|
23
|
+
PENDING = "Pending",
|
|
24
|
+
ASSIGNED = "Assigned",
|
|
25
|
+
IN_PROGRESS = "In Progress",
|
|
26
|
+
APPROVED = "Approved",
|
|
27
|
+
REJECTED = "Rejected"
|
|
28
|
+
}
|
|
29
|
+
export declare class MaintenanceExternalStationsRequests extends BaseModel {
|
|
30
|
+
req_user_department_id: number | null;
|
|
31
|
+
req_user_section_id: number | null;
|
|
32
|
+
service_id: number;
|
|
33
|
+
sub_service_id: number;
|
|
34
|
+
user_id: number;
|
|
35
|
+
external_station_name_or_location: string;
|
|
36
|
+
station_category: MaintenanceExternalStationsStationCategory;
|
|
37
|
+
station_category_other_specify: string | null;
|
|
38
|
+
type_of_issue: MaintenanceExternalStationsIssueType;
|
|
39
|
+
type_of_issue_other_specify: string | null;
|
|
40
|
+
detailed_description: string;
|
|
41
|
+
urgency_level: MaintenanceExternalStationsUrgencyLevel;
|
|
42
|
+
date_of_issue_occurred: Date;
|
|
43
|
+
contact_person_name: string | null;
|
|
44
|
+
contact_person_number: string | null;
|
|
45
|
+
contact_person_designation: string | null;
|
|
46
|
+
request_submission_date: Date;
|
|
47
|
+
status: MaintenanceExternalStationsRequestStatus;
|
|
48
|
+
workflow_execution_id: string | null;
|
|
49
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
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.MaintenanceExternalStationsRequests = exports.MaintenanceExternalStationsRequestStatus = exports.MaintenanceExternalStationsUrgencyLevel = exports.MaintenanceExternalStationsIssueType = exports.MaintenanceExternalStationsStationCategory = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
/** Location / use category for the external station context */
|
|
16
|
+
var MaintenanceExternalStationsStationCategory;
|
|
17
|
+
(function (MaintenanceExternalStationsStationCategory) {
|
|
18
|
+
MaintenanceExternalStationsStationCategory["WORKSHOP"] = "Workshop";
|
|
19
|
+
MaintenanceExternalStationsStationCategory["TRAINING"] = "Training";
|
|
20
|
+
MaintenanceExternalStationsStationCategory["DUTY_MISSION"] = "Duty Mission";
|
|
21
|
+
MaintenanceExternalStationsStationCategory["ASSIGNMENT"] = "Assignment";
|
|
22
|
+
MaintenanceExternalStationsStationCategory["OTHER"] = "Other";
|
|
23
|
+
})(MaintenanceExternalStationsStationCategory || (exports.MaintenanceExternalStationsStationCategory = MaintenanceExternalStationsStationCategory = {}));
|
|
24
|
+
var MaintenanceExternalStationsIssueType;
|
|
25
|
+
(function (MaintenanceExternalStationsIssueType) {
|
|
26
|
+
MaintenanceExternalStationsIssueType["EQUIPMENT"] = "Equipment";
|
|
27
|
+
MaintenanceExternalStationsIssueType["FACILITY"] = "Facility";
|
|
28
|
+
MaintenanceExternalStationsIssueType["INFRASTRUCTURE"] = "Infrastructure";
|
|
29
|
+
MaintenanceExternalStationsIssueType["OTHER"] = "Other";
|
|
30
|
+
})(MaintenanceExternalStationsIssueType || (exports.MaintenanceExternalStationsIssueType = MaintenanceExternalStationsIssueType = {}));
|
|
31
|
+
var MaintenanceExternalStationsUrgencyLevel;
|
|
32
|
+
(function (MaintenanceExternalStationsUrgencyLevel) {
|
|
33
|
+
MaintenanceExternalStationsUrgencyLevel["LOW"] = "Low";
|
|
34
|
+
MaintenanceExternalStationsUrgencyLevel["MEDIUM"] = "Medium";
|
|
35
|
+
MaintenanceExternalStationsUrgencyLevel["HIGH"] = "High";
|
|
36
|
+
MaintenanceExternalStationsUrgencyLevel["CRITICAL"] = "Critical";
|
|
37
|
+
})(MaintenanceExternalStationsUrgencyLevel || (exports.MaintenanceExternalStationsUrgencyLevel = MaintenanceExternalStationsUrgencyLevel = {}));
|
|
38
|
+
var MaintenanceExternalStationsRequestStatus;
|
|
39
|
+
(function (MaintenanceExternalStationsRequestStatus) {
|
|
40
|
+
MaintenanceExternalStationsRequestStatus["PENDING"] = "Pending";
|
|
41
|
+
MaintenanceExternalStationsRequestStatus["ASSIGNED"] = "Assigned";
|
|
42
|
+
MaintenanceExternalStationsRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
43
|
+
MaintenanceExternalStationsRequestStatus["APPROVED"] = "Approved";
|
|
44
|
+
MaintenanceExternalStationsRequestStatus["REJECTED"] = "Rejected";
|
|
45
|
+
})(MaintenanceExternalStationsRequestStatus || (exports.MaintenanceExternalStationsRequestStatus = MaintenanceExternalStationsRequestStatus = {}));
|
|
46
|
+
let MaintenanceExternalStationsRequests = class MaintenanceExternalStationsRequests extends BaseModel_1.BaseModel {
|
|
47
|
+
};
|
|
48
|
+
exports.MaintenanceExternalStationsRequests = MaintenanceExternalStationsRequests;
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], MaintenanceExternalStationsRequests.prototype, "req_user_department_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], MaintenanceExternalStationsRequests.prototype, "req_user_section_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], MaintenanceExternalStationsRequests.prototype, "service_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], MaintenanceExternalStationsRequests.prototype, "sub_service_id", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], MaintenanceExternalStationsRequests.prototype, "user_id", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], MaintenanceExternalStationsRequests.prototype, "external_station_name_or_location", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({
|
|
75
|
+
type: 'enum',
|
|
76
|
+
enum: MaintenanceExternalStationsStationCategory,
|
|
77
|
+
enumName: 'maintenance_external_stations_station_category_en',
|
|
78
|
+
nullable: false,
|
|
79
|
+
}),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], MaintenanceExternalStationsRequests.prototype, "station_category", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
84
|
+
__metadata("design:type", Object)
|
|
85
|
+
], MaintenanceExternalStationsRequests.prototype, "station_category_other_specify", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.Column)({
|
|
88
|
+
type: 'enum',
|
|
89
|
+
enum: MaintenanceExternalStationsIssueType,
|
|
90
|
+
enumName: 'maintenance_external_stations_issue_type_en',
|
|
91
|
+
nullable: false,
|
|
92
|
+
}),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], MaintenanceExternalStationsRequests.prototype, "type_of_issue", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
97
|
+
__metadata("design:type", Object)
|
|
98
|
+
], MaintenanceExternalStationsRequests.prototype, "type_of_issue_other_specify", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
101
|
+
__metadata("design:type", String)
|
|
102
|
+
], MaintenanceExternalStationsRequests.prototype, "detailed_description", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, typeorm_1.Column)({
|
|
105
|
+
type: 'enum',
|
|
106
|
+
enum: MaintenanceExternalStationsUrgencyLevel,
|
|
107
|
+
enumName: 'maintenance_external_stations_urgency_en',
|
|
108
|
+
nullable: false,
|
|
109
|
+
}),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], MaintenanceExternalStationsRequests.prototype, "urgency_level", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
114
|
+
__metadata("design:type", Date)
|
|
115
|
+
], MaintenanceExternalStationsRequests.prototype, "date_of_issue_occurred", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
118
|
+
__metadata("design:type", Object)
|
|
119
|
+
], MaintenanceExternalStationsRequests.prototype, "contact_person_name", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
122
|
+
__metadata("design:type", Object)
|
|
123
|
+
], MaintenanceExternalStationsRequests.prototype, "contact_person_number", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
126
|
+
__metadata("design:type", Object)
|
|
127
|
+
], MaintenanceExternalStationsRequests.prototype, "contact_person_designation", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false, default: () => 'CURRENT_DATE' }),
|
|
130
|
+
__metadata("design:type", Date)
|
|
131
|
+
], MaintenanceExternalStationsRequests.prototype, "request_submission_date", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, typeorm_1.Column)({
|
|
134
|
+
type: 'enum',
|
|
135
|
+
enum: MaintenanceExternalStationsRequestStatus,
|
|
136
|
+
default: MaintenanceExternalStationsRequestStatus.PENDING,
|
|
137
|
+
nullable: false,
|
|
138
|
+
}),
|
|
139
|
+
__metadata("design:type", String)
|
|
140
|
+
], MaintenanceExternalStationsRequests.prototype, "status", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
143
|
+
__metadata("design:type", Object)
|
|
144
|
+
], MaintenanceExternalStationsRequests.prototype, "workflow_execution_id", void 0);
|
|
145
|
+
exports.MaintenanceExternalStationsRequests = MaintenanceExternalStationsRequests = __decorate([
|
|
146
|
+
(0, typeorm_1.Entity)({ name: 'maintenance_external_stations_requests' })
|
|
147
|
+
], MaintenanceExternalStationsRequests);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum MaintenanceExternalStationsWorkFlowStatus {
|
|
3
|
+
COMPLETED = "Completed",
|
|
4
|
+
NOT_YET_STARTED = "Not Yet Started",
|
|
5
|
+
PENDING = "Pending"
|
|
6
|
+
}
|
|
7
|
+
export declare class MaintenanceExternalStationsWorkFlow extends BaseModel {
|
|
8
|
+
request_id: number;
|
|
9
|
+
service_id: number | null;
|
|
10
|
+
sub_service_id: number | null;
|
|
11
|
+
content: string;
|
|
12
|
+
status: MaintenanceExternalStationsWorkFlowStatus;
|
|
13
|
+
user_id: number | null;
|
|
14
|
+
role_id: number | null;
|
|
15
|
+
department_id: number | null;
|
|
16
|
+
section_id: number | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.MaintenanceExternalStationsWorkFlow = exports.MaintenanceExternalStationsWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var MaintenanceExternalStationsWorkFlowStatus;
|
|
16
|
+
(function (MaintenanceExternalStationsWorkFlowStatus) {
|
|
17
|
+
MaintenanceExternalStationsWorkFlowStatus["COMPLETED"] = "Completed";
|
|
18
|
+
MaintenanceExternalStationsWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
|
|
19
|
+
MaintenanceExternalStationsWorkFlowStatus["PENDING"] = "Pending";
|
|
20
|
+
})(MaintenanceExternalStationsWorkFlowStatus || (exports.MaintenanceExternalStationsWorkFlowStatus = MaintenanceExternalStationsWorkFlowStatus = {}));
|
|
21
|
+
let MaintenanceExternalStationsWorkFlow = class MaintenanceExternalStationsWorkFlow extends BaseModel_1.BaseModel {
|
|
22
|
+
};
|
|
23
|
+
exports.MaintenanceExternalStationsWorkFlow = MaintenanceExternalStationsWorkFlow;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], MaintenanceExternalStationsWorkFlow.prototype, "request_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], MaintenanceExternalStationsWorkFlow.prototype, "service_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], MaintenanceExternalStationsWorkFlow.prototype, "sub_service_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], MaintenanceExternalStationsWorkFlow.prototype, "content", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({
|
|
42
|
+
type: 'enum',
|
|
43
|
+
enum: MaintenanceExternalStationsWorkFlowStatus,
|
|
44
|
+
default: MaintenanceExternalStationsWorkFlowStatus.NOT_YET_STARTED,
|
|
45
|
+
nullable: false,
|
|
46
|
+
}),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], MaintenanceExternalStationsWorkFlow.prototype, "status", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], MaintenanceExternalStationsWorkFlow.prototype, "user_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], MaintenanceExternalStationsWorkFlow.prototype, "role_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], MaintenanceExternalStationsWorkFlow.prototype, "department_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], MaintenanceExternalStationsWorkFlow.prototype, "section_id", void 0);
|
|
65
|
+
exports.MaintenanceExternalStationsWorkFlow = MaintenanceExternalStationsWorkFlow = __decorate([
|
|
66
|
+
(0, typeorm_1.Entity)({ name: 'maintenance_external_stations_workflows' })
|
|
67
|
+
], MaintenanceExternalStationsWorkFlow);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
/** Subject / handling priority classification */
|
|
3
|
+
export declare enum MaintenanceSubjectClassification {
|
|
4
|
+
URGENT = "Urgent",
|
|
5
|
+
VERY_URGENT = "Very Urgent",
|
|
6
|
+
CONFIDENTIAL = "Confidential",
|
|
7
|
+
INFORMATIONAL = "Informational",
|
|
8
|
+
NORMAL = "Normal"
|
|
9
|
+
}
|
|
10
|
+
/** Concerned department under General Manager of Support Services */
|
|
11
|
+
export declare enum MaintenanceConcernedDepartment {
|
|
12
|
+
IT = "IT",
|
|
13
|
+
HR = "HR",
|
|
14
|
+
TRAINING = "Training",
|
|
15
|
+
FINANCE = "Finance",
|
|
16
|
+
PROJECTS_AND_MAINTENANCE = "Projects & Maintenance"
|
|
17
|
+
}
|
|
18
|
+
export declare enum MaintenanceRequestStatus {
|
|
19
|
+
PENDING = "Pending",
|
|
20
|
+
ASSIGNED = "Assigned",
|
|
21
|
+
IN_PROGRESS = "In Progress",
|
|
22
|
+
APPROVED = "Approved",
|
|
23
|
+
REJECTED = "Rejected"
|
|
24
|
+
}
|
|
25
|
+
export declare class MaintenanceRequests extends BaseModel {
|
|
26
|
+
req_user_department_id: number | null;
|
|
27
|
+
req_user_section_id: number | null;
|
|
28
|
+
service_id: number;
|
|
29
|
+
sub_service_id: number;
|
|
30
|
+
user_id: number;
|
|
31
|
+
sent_by: string;
|
|
32
|
+
letter_date: Date;
|
|
33
|
+
subject: string;
|
|
34
|
+
subject_classification: MaintenanceSubjectClassification;
|
|
35
|
+
topic: string;
|
|
36
|
+
concerned_department: MaintenanceConcernedDepartment;
|
|
37
|
+
date_from: Date;
|
|
38
|
+
date_to: Date;
|
|
39
|
+
request_submission_date: Date;
|
|
40
|
+
status: MaintenanceRequestStatus;
|
|
41
|
+
workflow_execution_id: string | null;
|
|
42
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
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.MaintenanceRequests = exports.MaintenanceRequestStatus = exports.MaintenanceConcernedDepartment = exports.MaintenanceSubjectClassification = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
/** Subject / handling priority classification */
|
|
16
|
+
var MaintenanceSubjectClassification;
|
|
17
|
+
(function (MaintenanceSubjectClassification) {
|
|
18
|
+
MaintenanceSubjectClassification["URGENT"] = "Urgent";
|
|
19
|
+
MaintenanceSubjectClassification["VERY_URGENT"] = "Very Urgent";
|
|
20
|
+
MaintenanceSubjectClassification["CONFIDENTIAL"] = "Confidential";
|
|
21
|
+
MaintenanceSubjectClassification["INFORMATIONAL"] = "Informational";
|
|
22
|
+
MaintenanceSubjectClassification["NORMAL"] = "Normal";
|
|
23
|
+
})(MaintenanceSubjectClassification || (exports.MaintenanceSubjectClassification = MaintenanceSubjectClassification = {}));
|
|
24
|
+
/** Concerned department under General Manager of Support Services */
|
|
25
|
+
var MaintenanceConcernedDepartment;
|
|
26
|
+
(function (MaintenanceConcernedDepartment) {
|
|
27
|
+
MaintenanceConcernedDepartment["IT"] = "IT";
|
|
28
|
+
MaintenanceConcernedDepartment["HR"] = "HR";
|
|
29
|
+
MaintenanceConcernedDepartment["TRAINING"] = "Training";
|
|
30
|
+
MaintenanceConcernedDepartment["FINANCE"] = "Finance";
|
|
31
|
+
MaintenanceConcernedDepartment["PROJECTS_AND_MAINTENANCE"] = "Projects & Maintenance";
|
|
32
|
+
})(MaintenanceConcernedDepartment || (exports.MaintenanceConcernedDepartment = MaintenanceConcernedDepartment = {}));
|
|
33
|
+
var MaintenanceRequestStatus;
|
|
34
|
+
(function (MaintenanceRequestStatus) {
|
|
35
|
+
MaintenanceRequestStatus["PENDING"] = "Pending";
|
|
36
|
+
MaintenanceRequestStatus["ASSIGNED"] = "Assigned";
|
|
37
|
+
MaintenanceRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
38
|
+
MaintenanceRequestStatus["APPROVED"] = "Approved";
|
|
39
|
+
MaintenanceRequestStatus["REJECTED"] = "Rejected";
|
|
40
|
+
})(MaintenanceRequestStatus || (exports.MaintenanceRequestStatus = MaintenanceRequestStatus = {}));
|
|
41
|
+
let MaintenanceRequests = class MaintenanceRequests extends BaseModel_1.BaseModel {
|
|
42
|
+
};
|
|
43
|
+
exports.MaintenanceRequests = MaintenanceRequests;
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
|
+
], MaintenanceRequests.prototype, "req_user_department_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], MaintenanceRequests.prototype, "req_user_section_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], MaintenanceRequests.prototype, "service_id", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], MaintenanceRequests.prototype, "sub_service_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], MaintenanceRequests.prototype, "user_id", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], MaintenanceRequests.prototype, "sent_by", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
70
|
+
__metadata("design:type", Date)
|
|
71
|
+
], MaintenanceRequests.prototype, "letter_date", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], MaintenanceRequests.prototype, "subject", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.Column)({
|
|
78
|
+
type: 'enum',
|
|
79
|
+
enum: MaintenanceSubjectClassification,
|
|
80
|
+
enumName: 'maintenance_subject_classification_en',
|
|
81
|
+
nullable: false,
|
|
82
|
+
}),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], MaintenanceRequests.prototype, "subject_classification", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], MaintenanceRequests.prototype, "topic", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, typeorm_1.Column)({
|
|
91
|
+
type: 'enum',
|
|
92
|
+
enum: MaintenanceConcernedDepartment,
|
|
93
|
+
enumName: 'maintenance_concerned_department_en',
|
|
94
|
+
nullable: false,
|
|
95
|
+
}),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], MaintenanceRequests.prototype, "concerned_department", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
100
|
+
__metadata("design:type", Date)
|
|
101
|
+
], MaintenanceRequests.prototype, "date_from", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
104
|
+
__metadata("design:type", Date)
|
|
105
|
+
], MaintenanceRequests.prototype, "date_to", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false, default: () => 'CURRENT_DATE' }),
|
|
108
|
+
__metadata("design:type", Date)
|
|
109
|
+
], MaintenanceRequests.prototype, "request_submission_date", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, typeorm_1.Column)({
|
|
112
|
+
type: 'enum',
|
|
113
|
+
enum: MaintenanceRequestStatus,
|
|
114
|
+
default: MaintenanceRequestStatus.PENDING,
|
|
115
|
+
nullable: false,
|
|
116
|
+
}),
|
|
117
|
+
__metadata("design:type", String)
|
|
118
|
+
], MaintenanceRequests.prototype, "status", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
121
|
+
__metadata("design:type", Object)
|
|
122
|
+
], MaintenanceRequests.prototype, "workflow_execution_id", void 0);
|
|
123
|
+
exports.MaintenanceRequests = MaintenanceRequests = __decorate([
|
|
124
|
+
(0, typeorm_1.Entity)({ name: 'maintenance_requests' })
|
|
125
|
+
], MaintenanceRequests);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum MaintenanceWorkFlowStatus {
|
|
3
|
+
COMPLETED = "Completed",
|
|
4
|
+
NOT_YET_STARTED = "Not Yet Started",
|
|
5
|
+
PENDING = "Pending"
|
|
6
|
+
}
|
|
7
|
+
export declare class MaintenanceWorkFlow extends BaseModel {
|
|
8
|
+
request_id: number;
|
|
9
|
+
service_id: number | null;
|
|
10
|
+
sub_service_id: number | null;
|
|
11
|
+
content: string;
|
|
12
|
+
status: MaintenanceWorkFlowStatus;
|
|
13
|
+
user_id: number | null;
|
|
14
|
+
role_id: number | null;
|
|
15
|
+
department_id: number | null;
|
|
16
|
+
section_id: number | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.MaintenanceWorkFlow = exports.MaintenanceWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var MaintenanceWorkFlowStatus;
|
|
16
|
+
(function (MaintenanceWorkFlowStatus) {
|
|
17
|
+
MaintenanceWorkFlowStatus["COMPLETED"] = "Completed";
|
|
18
|
+
MaintenanceWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
|
|
19
|
+
MaintenanceWorkFlowStatus["PENDING"] = "Pending";
|
|
20
|
+
})(MaintenanceWorkFlowStatus || (exports.MaintenanceWorkFlowStatus = MaintenanceWorkFlowStatus = {}));
|
|
21
|
+
let MaintenanceWorkFlow = class MaintenanceWorkFlow extends BaseModel_1.BaseModel {
|
|
22
|
+
};
|
|
23
|
+
exports.MaintenanceWorkFlow = MaintenanceWorkFlow;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], MaintenanceWorkFlow.prototype, "request_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], MaintenanceWorkFlow.prototype, "service_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], MaintenanceWorkFlow.prototype, "sub_service_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], MaintenanceWorkFlow.prototype, "content", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({
|
|
42
|
+
type: 'enum',
|
|
43
|
+
enum: MaintenanceWorkFlowStatus,
|
|
44
|
+
default: MaintenanceWorkFlowStatus.NOT_YET_STARTED,
|
|
45
|
+
nullable: false,
|
|
46
|
+
}),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], MaintenanceWorkFlow.prototype, "status", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], MaintenanceWorkFlow.prototype, "user_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], MaintenanceWorkFlow.prototype, "role_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], MaintenanceWorkFlow.prototype, "department_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], MaintenanceWorkFlow.prototype, "section_id", void 0);
|
|
65
|
+
exports.MaintenanceWorkFlow = MaintenanceWorkFlow = __decorate([
|
|
66
|
+
(0, typeorm_1.Entity)({ name: 'maintenance_workflows' })
|
|
67
|
+
], MaintenanceWorkFlow);
|
package/package.json
CHANGED
package/src/data-source.ts
CHANGED
|
@@ -204,6 +204,16 @@ import { WorkingHoursExtensionChat } from './models/WorkingHoursExtensionChatMod
|
|
|
204
204
|
import { WorkingHoursExtensionAttachment } from './models/WorkingHoursExtensionAttachmentModel';
|
|
205
205
|
import { RequestATenderRequest } from './models/RequestATenderRequestModel';
|
|
206
206
|
import { RequestTenderAnalysisRequest } from './models/RequestTenderAnalysisRequestModel';
|
|
207
|
+
import { MaintenanceExternalStationsRequests } from './models/MaintenanceExternalStationsRequestModel';
|
|
208
|
+
import { MaintenanceExternalStationsApprovalDetails } from './models/MaintenanceExternalStationsApprovalModel';
|
|
209
|
+
import { MaintenanceExternalStationsAttachment } from './models/MaintenanceExternalStationsAttachmentModel';
|
|
210
|
+
import { MaintenanceExternalStationsChat } from './models/MaintenanceExternalStationsChatModel';
|
|
211
|
+
import { MaintenanceExternalStationsWorkFlow } from './models/MaintenanceExternalStationsWorkflowModel';
|
|
212
|
+
import { MaintenanceRequests } from './models/MaintenanceRequestModel';
|
|
213
|
+
import { MaintenanceApprovalDetails } from './models/MaintenanceApprovalModel';
|
|
214
|
+
import { MaintenanceAttachment } from './models/MaintenanceAttachmentModel';
|
|
215
|
+
import { MaintenanceChat } from './models/MaintenanceChatModel';
|
|
216
|
+
import { MaintenanceWorkFlow } from './models/MaintenanceWorkflowModel';
|
|
207
217
|
|
|
208
218
|
export const AppDataSource = new DataSource({
|
|
209
219
|
type: 'postgres',
|
|
@@ -414,6 +424,16 @@ export const AppDataSource = new DataSource({
|
|
|
414
424
|
WorkingHoursExtensionChat,
|
|
415
425
|
WorkingHoursExtensionAttachment,
|
|
416
426
|
RequestATenderRequest,
|
|
417
|
-
RequestTenderAnalysisRequest
|
|
427
|
+
RequestTenderAnalysisRequest,
|
|
428
|
+
MaintenanceExternalStationsRequests,
|
|
429
|
+
MaintenanceExternalStationsApprovalDetails,
|
|
430
|
+
MaintenanceExternalStationsAttachment,
|
|
431
|
+
MaintenanceExternalStationsChat,
|
|
432
|
+
MaintenanceExternalStationsWorkFlow,
|
|
433
|
+
MaintenanceRequests,
|
|
434
|
+
MaintenanceApprovalDetails,
|
|
435
|
+
MaintenanceAttachment,
|
|
436
|
+
MaintenanceChat,
|
|
437
|
+
MaintenanceWorkFlow,
|
|
418
438
|
],
|
|
419
439
|
});
|
package/src/index.ts
CHANGED
|
@@ -374,6 +374,18 @@ export * from './models/HousingContractCancelApprovalModel';
|
|
|
374
374
|
export * from './models/HousingContractCancelChatModel';
|
|
375
375
|
export * from './models/HousingContractCancelAttachmentModel';
|
|
376
376
|
|
|
377
|
+
// Maintenance External Stations (Asset Affairs)
|
|
378
|
+
export * from './models/MaintenanceExternalStationsRequestModel';
|
|
379
|
+
export * from './models/MaintenanceExternalStationsApprovalModel';
|
|
380
|
+
export * from './models/MaintenanceExternalStationsAttachmentModel';
|
|
381
|
+
export * from './models/MaintenanceExternalStationsChatModel';
|
|
382
|
+
export * from './models/MaintenanceExternalStationsWorkflowModel';
|
|
383
|
+
export * from './models/MaintenanceRequestModel';
|
|
384
|
+
export * from './models/MaintenanceApprovalModel';
|
|
385
|
+
export * from './models/MaintenanceAttachmentModel';
|
|
386
|
+
export * from './models/MaintenanceChatModel';
|
|
387
|
+
export * from './models/MaintenanceWorkflowModel';
|
|
388
|
+
|
|
377
389
|
// Legal Consultation — Review of Administrative Decisions
|
|
378
390
|
export * from './models/LegalConsultationRequestModel';
|
|
379
391
|
export * from './models/LegalConsultationWorkflowModel';
|
|
@@ -434,4 +446,4 @@ export * from './models/RespondToEnquiriesAttachmentModel';
|
|
|
434
446
|
export {RespondToEnquiriesRequestAttachment} from './models/RespondToEnquiriesAttachmentModel';
|
|
435
447
|
export * from './models/RequestATenderRequestModel';
|
|
436
448
|
export * from './models/RequestTenderAnalysisRequestModel';
|
|
437
|
-
export * from './models/ContractServiceRequestModel';
|
|
449
|
+
export * from './models/ContractServiceRequestModel';
|
|
@@ -35,14 +35,14 @@ export class AccommodationApproval extends BaseModel {
|
|
|
35
35
|
@Column({ type: 'int', nullable: true })
|
|
36
36
|
department_id: number;
|
|
37
37
|
|
|
38
|
-
@Column({ type: 'int', nullable: true })
|
|
39
|
-
section_id: number;
|
|
40
|
-
|
|
41
|
-
@Column({ type: 'boolean', nullable: false, default: true })
|
|
42
|
-
is_allowed: boolean;
|
|
43
|
-
|
|
44
|
-
@Column({ type: 'int', nullable: false })
|
|
45
|
-
level: number;
|
|
38
|
+
@Column({ type: 'int', nullable: true })
|
|
39
|
+
section_id: number;
|
|
40
|
+
|
|
41
|
+
@Column({ type: 'boolean', nullable: false, default: true })
|
|
42
|
+
is_allowed: boolean;
|
|
43
|
+
|
|
44
|
+
@Column({ type: 'int', nullable: false })
|
|
45
|
+
level: number;
|
|
46
46
|
|
|
47
47
|
@Column({
|
|
48
48
|
type: 'enum',
|
|
@@ -134,14 +134,14 @@ export class AccommodationRequest extends BaseModel {
|
|
|
134
134
|
@Column({ type: 'int', nullable: true })
|
|
135
135
|
assigned_to_user_id: number | null;
|
|
136
136
|
|
|
137
|
-
@Column({ type: 'text', nullable: true })
|
|
138
|
-
approver_comment: string | null;
|
|
139
|
-
|
|
140
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
141
|
-
accommodation_allocated: string | null;
|
|
142
|
-
|
|
143
|
-
@Column({ type: 'int', nullable: true })
|
|
144
|
-
approved_by: number | null;
|
|
137
|
+
@Column({ type: 'text', nullable: true })
|
|
138
|
+
approver_comment: string | null;
|
|
139
|
+
|
|
140
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
141
|
+
accommodation_allocated: string | null;
|
|
142
|
+
|
|
143
|
+
@Column({ type: 'int', nullable: true })
|
|
144
|
+
approved_by: number | null;
|
|
145
145
|
|
|
146
146
|
@Column({ type: 'date', nullable: true })
|
|
147
147
|
approved_at: Date | null;
|