@platform-modules/civil-aviation-authority 2.3.192 → 2.3.195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/HousingContractCancelApprovalModel.d.ts +1 -0
- package/dist/models/HousingContractCancelApprovalModel.js +4 -0
- package/dist/models/HousingContractRenewalApprovalModel.d.ts +1 -0
- package/dist/models/HousingContractRenewalApprovalModel.js +4 -0
- package/dist/models/ImportExportMaterialModels.d.ts +92 -0
- package/dist/models/ImportExportMaterialModels.js +307 -0
- package/dist/models/LegalComplaintApprovalModel.d.ts +1 -0
- package/dist/models/LegalComplaintApprovalModel.js +4 -0
- package/dist/models/LegalConsultationApprovalModel.d.ts +1 -0
- package/dist/models/LegalConsultationApprovalModel.js +4 -0
- package/dist/models/ResidentialUnitRentalApprovalModel.d.ts +1 -0
- package/dist/models/ResidentialUnitRentalApprovalModel.js +4 -0
- package/dist/models/ScholarshipAttendeeModel.d.ts +1 -0
- package/dist/models/ScholarshipAttendeeModel.js +4 -0
- package/dist/models/SecurityAccessApprovalModel.d.ts +23 -0
- package/dist/models/SecurityAccessApprovalModel.js +82 -0
- package/dist/models/SecurityAccessAttachmentModel.d.ts +12 -0
- package/dist/models/SecurityAccessAttachmentModel.js +56 -0
- package/dist/models/SecurityAccessChatModel.d.ts +12 -0
- package/dist/models/SecurityAccessChatModel.js +56 -0
- package/dist/models/SecurityAccessRequestModel.d.ts +25 -0
- package/dist/models/SecurityAccessRequestModel.js +80 -0
- package/dist/models/SecurityAccessWorkflowModel.d.ts +24 -0
- package/dist/models/SecurityAccessWorkflowModel.js +84 -0
- package/dist/models/ServiceExtensionAfterAge60Models.d.ts +93 -0
- package/dist/models/ServiceExtensionAfterAge60Models.js +312 -0
- package/dist/models/WorkingHoursExtensionModels.d.ts +88 -0
- package/dist/models/WorkingHoursExtensionModels.js +295 -0
- package/package.json +24 -24
- package/src/models/HousingContractCancelApprovalModel.ts +3 -0
- package/src/models/HousingContractRenewalApprovalModel.ts +3 -0
- package/src/models/LegalComplaintApprovalModel.ts +3 -0
- package/src/models/LegalConsultationApprovalModel.ts +3 -0
- package/src/models/ResidentialUnitRentalApprovalModel.ts +3 -0
- package/src/models/ScholarshipAttendeeModel.ts +3 -0
- package/src/models/role.ts +34 -34
|
@@ -0,0 +1,295 @@
|
|
|
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.WorkingHoursExtensionAttachment = exports.WorkingHoursExtensionChat = exports.WorkingHoursExtensionWorkflow = exports.WorkingHoursExtensionApproval = exports.WorkingHoursExtensionApprovalStatus = exports.WorkingHoursExtensionRequest = exports.WorkingHoursExtensionWorkflowStatus = exports.WorkingHoursExtensionRequestStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var WorkingHoursExtensionRequestStatus;
|
|
16
|
+
(function (WorkingHoursExtensionRequestStatus) {
|
|
17
|
+
WorkingHoursExtensionRequestStatus["Pending"] = "Pending";
|
|
18
|
+
WorkingHoursExtensionRequestStatus["Approved"] = "Approved";
|
|
19
|
+
WorkingHoursExtensionRequestStatus["Rejected"] = "Rejected";
|
|
20
|
+
WorkingHoursExtensionRequestStatus["RFC"] = "RFC";
|
|
21
|
+
})(WorkingHoursExtensionRequestStatus || (exports.WorkingHoursExtensionRequestStatus = WorkingHoursExtensionRequestStatus = {}));
|
|
22
|
+
var WorkingHoursExtensionWorkflowStatus;
|
|
23
|
+
(function (WorkingHoursExtensionWorkflowStatus) {
|
|
24
|
+
WorkingHoursExtensionWorkflowStatus["Pending"] = "Pending";
|
|
25
|
+
WorkingHoursExtensionWorkflowStatus["InProgress"] = "In Progress";
|
|
26
|
+
WorkingHoursExtensionWorkflowStatus["Completed"] = "Completed";
|
|
27
|
+
WorkingHoursExtensionWorkflowStatus["Approved"] = "Approved";
|
|
28
|
+
WorkingHoursExtensionWorkflowStatus["Rejected"] = "Rejected";
|
|
29
|
+
})(WorkingHoursExtensionWorkflowStatus || (exports.WorkingHoursExtensionWorkflowStatus = WorkingHoursExtensionWorkflowStatus = {}));
|
|
30
|
+
let WorkingHoursExtensionRequest = class WorkingHoursExtensionRequest extends BaseModel_1.BaseModel {
|
|
31
|
+
};
|
|
32
|
+
exports.WorkingHoursExtensionRequest = WorkingHoursExtensionRequest;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], WorkingHoursExtensionRequest.prototype, "req_user_department_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], WorkingHoursExtensionRequest.prototype, "req_user_section_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], WorkingHoursExtensionRequest.prototype, "service_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], WorkingHoursExtensionRequest.prototype, "sub_service_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], WorkingHoursExtensionRequest.prototype, "user_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
55
|
+
__metadata("design:type", Date)
|
|
56
|
+
], WorkingHoursExtensionRequest.prototype, "requested_extension_date", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: false }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], WorkingHoursExtensionRequest.prototype, "requested_start_time", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: false }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], WorkingHoursExtensionRequest.prototype, "requested_end_time", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], WorkingHoursExtensionRequest.prototype, "reason_for_extension", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], WorkingHoursExtensionRequest.prototype, "room_or_area", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
75
|
+
__metadata("design:type", Object)
|
|
76
|
+
], WorkingHoursExtensionRequest.prototype, "description", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false, default: WorkingHoursExtensionRequestStatus.Pending }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], WorkingHoursExtensionRequest.prototype, "status", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
|
+
], WorkingHoursExtensionRequest.prototype, "workflow_execution_id", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], WorkingHoursExtensionRequest.prototype, "created_by", void 0);
|
|
89
|
+
exports.WorkingHoursExtensionRequest = WorkingHoursExtensionRequest = __decorate([
|
|
90
|
+
(0, typeorm_1.Entity)({ name: "working_hours_extension_requests" })
|
|
91
|
+
], WorkingHoursExtensionRequest);
|
|
92
|
+
var WorkingHoursExtensionApprovalStatus;
|
|
93
|
+
(function (WorkingHoursExtensionApprovalStatus) {
|
|
94
|
+
WorkingHoursExtensionApprovalStatus["Pending"] = "Pending";
|
|
95
|
+
WorkingHoursExtensionApprovalStatus["InProgress"] = "In Progress";
|
|
96
|
+
WorkingHoursExtensionApprovalStatus["Approved"] = "Approved";
|
|
97
|
+
WorkingHoursExtensionApprovalStatus["Rejected"] = "Rejected";
|
|
98
|
+
WorkingHoursExtensionApprovalStatus["Reassigned"] = "Reassigned";
|
|
99
|
+
})(WorkingHoursExtensionApprovalStatus || (exports.WorkingHoursExtensionApprovalStatus = WorkingHoursExtensionApprovalStatus = {}));
|
|
100
|
+
let WorkingHoursExtensionApproval = class WorkingHoursExtensionApproval extends BaseModel_1.BaseModel {
|
|
101
|
+
};
|
|
102
|
+
exports.WorkingHoursExtensionApproval = WorkingHoursExtensionApproval;
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
105
|
+
__metadata("design:type", Number)
|
|
106
|
+
], WorkingHoursExtensionApproval.prototype, "request_id", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
109
|
+
__metadata("design:type", Object)
|
|
110
|
+
], WorkingHoursExtensionApproval.prototype, "service_id", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
113
|
+
__metadata("design:type", Object)
|
|
114
|
+
], WorkingHoursExtensionApproval.prototype, "sub_service_id", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
117
|
+
__metadata("design:type", Number)
|
|
118
|
+
], WorkingHoursExtensionApproval.prototype, "level", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
121
|
+
__metadata("design:type", Object)
|
|
122
|
+
], WorkingHoursExtensionApproval.prototype, "approver_user_id", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
125
|
+
__metadata("design:type", Object)
|
|
126
|
+
], WorkingHoursExtensionApproval.prototype, "approver_role_id", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
129
|
+
__metadata("design:type", Object)
|
|
130
|
+
], WorkingHoursExtensionApproval.prototype, "department_id", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
133
|
+
__metadata("design:type", Object)
|
|
134
|
+
], WorkingHoursExtensionApproval.prototype, "section_id", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
137
|
+
__metadata("design:type", Object)
|
|
138
|
+
], WorkingHoursExtensionApproval.prototype, "delegate_user_id", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true, default: "" }),
|
|
141
|
+
__metadata("design:type", String)
|
|
142
|
+
], WorkingHoursExtensionApproval.prototype, "comment", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false, default: WorkingHoursExtensionApprovalStatus.Pending }),
|
|
145
|
+
__metadata("design:type", String)
|
|
146
|
+
], WorkingHoursExtensionApproval.prototype, "approval_status", void 0);
|
|
147
|
+
exports.WorkingHoursExtensionApproval = WorkingHoursExtensionApproval = __decorate([
|
|
148
|
+
(0, typeorm_1.Entity)({ name: "working_hours_extension_approvals" })
|
|
149
|
+
], WorkingHoursExtensionApproval);
|
|
150
|
+
let WorkingHoursExtensionWorkflow = class WorkingHoursExtensionWorkflow extends BaseModel_1.BaseModel {
|
|
151
|
+
};
|
|
152
|
+
exports.WorkingHoursExtensionWorkflow = WorkingHoursExtensionWorkflow;
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
155
|
+
__metadata("design:type", Number)
|
|
156
|
+
], WorkingHoursExtensionWorkflow.prototype, "request_id", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
159
|
+
__metadata("design:type", Object)
|
|
160
|
+
], WorkingHoursExtensionWorkflow.prototype, "service_id", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
163
|
+
__metadata("design:type", Object)
|
|
164
|
+
], WorkingHoursExtensionWorkflow.prototype, "sub_service_id", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
167
|
+
__metadata("design:type", Object)
|
|
168
|
+
], WorkingHoursExtensionWorkflow.prototype, "workflow_definition_id", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
171
|
+
__metadata("design:type", Object)
|
|
172
|
+
], WorkingHoursExtensionWorkflow.prototype, "current_level", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
|
|
175
|
+
__metadata("design:type", Object)
|
|
176
|
+
], WorkingHoursExtensionWorkflow.prototype, "content", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false }),
|
|
179
|
+
__metadata("design:type", String)
|
|
180
|
+
], WorkingHoursExtensionWorkflow.prototype, "status", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
183
|
+
__metadata("design:type", Object)
|
|
184
|
+
], WorkingHoursExtensionWorkflow.prototype, "step_order", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
187
|
+
__metadata("design:type", Object)
|
|
188
|
+
], WorkingHoursExtensionWorkflow.prototype, "user_id", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
191
|
+
__metadata("design:type", Object)
|
|
192
|
+
], WorkingHoursExtensionWorkflow.prototype, "role_id", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
195
|
+
__metadata("design:type", Object)
|
|
196
|
+
], WorkingHoursExtensionWorkflow.prototype, "department_id", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
199
|
+
__metadata("design:type", Object)
|
|
200
|
+
], WorkingHoursExtensionWorkflow.prototype, "section_id", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
203
|
+
__metadata("design:type", Object)
|
|
204
|
+
], WorkingHoursExtensionWorkflow.prototype, "workflow_data", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
207
|
+
__metadata("design:type", Number)
|
|
208
|
+
], WorkingHoursExtensionWorkflow.prototype, "created_by", void 0);
|
|
209
|
+
exports.WorkingHoursExtensionWorkflow = WorkingHoursExtensionWorkflow = __decorate([
|
|
210
|
+
(0, typeorm_1.Entity)({ name: "working_hours_extension_workflow" })
|
|
211
|
+
], WorkingHoursExtensionWorkflow);
|
|
212
|
+
let WorkingHoursExtensionChat = class WorkingHoursExtensionChat extends BaseModel_1.BaseModel {
|
|
213
|
+
};
|
|
214
|
+
exports.WorkingHoursExtensionChat = WorkingHoursExtensionChat;
|
|
215
|
+
__decorate([
|
|
216
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
217
|
+
__metadata("design:type", Number)
|
|
218
|
+
], WorkingHoursExtensionChat.prototype, "request_id", void 0);
|
|
219
|
+
__decorate([
|
|
220
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
221
|
+
__metadata("design:type", Number)
|
|
222
|
+
], WorkingHoursExtensionChat.prototype, "service_id", void 0);
|
|
223
|
+
__decorate([
|
|
224
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
225
|
+
__metadata("design:type", Number)
|
|
226
|
+
], WorkingHoursExtensionChat.prototype, "sub_service_id", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
229
|
+
__metadata("design:type", Number)
|
|
230
|
+
], WorkingHoursExtensionChat.prototype, "user_id", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
233
|
+
__metadata("design:type", Object)
|
|
234
|
+
], WorkingHoursExtensionChat.prototype, "approver_role_id", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
237
|
+
__metadata("design:type", String)
|
|
238
|
+
], WorkingHoursExtensionChat.prototype, "message", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false, default: "text" }),
|
|
241
|
+
__metadata("design:type", String)
|
|
242
|
+
], WorkingHoursExtensionChat.prototype, "message_type", void 0);
|
|
243
|
+
__decorate([
|
|
244
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: true }),
|
|
245
|
+
__metadata("design:type", Object)
|
|
246
|
+
], WorkingHoursExtensionChat.prototype, "status", void 0);
|
|
247
|
+
__decorate([
|
|
248
|
+
(0, typeorm_1.Column)({ type: "boolean", nullable: false, default: false }),
|
|
249
|
+
__metadata("design:type", Boolean)
|
|
250
|
+
], WorkingHoursExtensionChat.prototype, "is_internal", void 0);
|
|
251
|
+
__decorate([
|
|
252
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
253
|
+
__metadata("design:type", Number)
|
|
254
|
+
], WorkingHoursExtensionChat.prototype, "created_by", void 0);
|
|
255
|
+
exports.WorkingHoursExtensionChat = WorkingHoursExtensionChat = __decorate([
|
|
256
|
+
(0, typeorm_1.Entity)({ name: "working_hours_extension_chat" })
|
|
257
|
+
], WorkingHoursExtensionChat);
|
|
258
|
+
let WorkingHoursExtensionAttachment = class WorkingHoursExtensionAttachment extends BaseModel_1.BaseModel {
|
|
259
|
+
};
|
|
260
|
+
exports.WorkingHoursExtensionAttachment = WorkingHoursExtensionAttachment;
|
|
261
|
+
__decorate([
|
|
262
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
263
|
+
__metadata("design:type", Number)
|
|
264
|
+
], WorkingHoursExtensionAttachment.prototype, "request_id", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
267
|
+
__metadata("design:type", Number)
|
|
268
|
+
], WorkingHoursExtensionAttachment.prototype, "service_id", void 0);
|
|
269
|
+
__decorate([
|
|
270
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
271
|
+
__metadata("design:type", Number)
|
|
272
|
+
], WorkingHoursExtensionAttachment.prototype, "sub_service_id", void 0);
|
|
273
|
+
__decorate([
|
|
274
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
275
|
+
__metadata("design:type", String)
|
|
276
|
+
], WorkingHoursExtensionAttachment.prototype, "file_name", void 0);
|
|
277
|
+
__decorate([
|
|
278
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
279
|
+
__metadata("design:type", String)
|
|
280
|
+
], WorkingHoursExtensionAttachment.prototype, "file_url", void 0);
|
|
281
|
+
__decorate([
|
|
282
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 120, nullable: true }),
|
|
283
|
+
__metadata("design:type", Object)
|
|
284
|
+
], WorkingHoursExtensionAttachment.prototype, "file_type", void 0);
|
|
285
|
+
__decorate([
|
|
286
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
287
|
+
__metadata("design:type", Object)
|
|
288
|
+
], WorkingHoursExtensionAttachment.prototype, "file_size", void 0);
|
|
289
|
+
__decorate([
|
|
290
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
291
|
+
__metadata("design:type", Number)
|
|
292
|
+
], WorkingHoursExtensionAttachment.prototype, "created_by", void 0);
|
|
293
|
+
exports.WorkingHoursExtensionAttachment = WorkingHoursExtensionAttachment = __decorate([
|
|
294
|
+
(0, typeorm_1.Entity)({ name: "working_hours_extension_attachments" })
|
|
295
|
+
], WorkingHoursExtensionAttachment);
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@platform-modules/civil-aviation-authority",
|
|
3
|
-
"version": "2.3.
|
|
4
|
-
"main": "dist/index.js",
|
|
5
|
-
"types": "dist/index.d.ts",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "tsc",
|
|
8
|
-
"dev": "ts-node src/scripts.ts"
|
|
9
|
-
},
|
|
10
|
-
"publishConfig": {
|
|
11
|
-
"access": "public"
|
|
12
|
-
},
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"moment-timezone": "^0.6.0",
|
|
15
|
-
"pg": "^8.16.0",
|
|
16
|
-
"typeorm": "^0.3.17"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@types/moment-timezone": "^0.5.30",
|
|
20
|
-
"dotenv": "^16.5.0",
|
|
21
|
-
"ts-node": "^10.9.2",
|
|
22
|
-
"typescript": "^5.2.0"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@platform-modules/civil-aviation-authority",
|
|
3
|
+
"version": "2.3.195",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc",
|
|
8
|
+
"dev": "ts-node src/scripts.ts"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"moment-timezone": "^0.6.0",
|
|
15
|
+
"pg": "^8.16.0",
|
|
16
|
+
"typeorm": "^0.3.17"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/moment-timezone": "^0.5.30",
|
|
20
|
+
"dotenv": "^16.5.0",
|
|
21
|
+
"ts-node": "^10.9.2",
|
|
22
|
+
"typescript": "^5.2.0"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -52,6 +52,9 @@ export class HousingContractCancelApproval extends BaseModel {
|
|
|
52
52
|
@Column({ type: 'text', nullable: true })
|
|
53
53
|
comment: string;
|
|
54
54
|
|
|
55
|
+
@Column({ type: 'boolean', default: true, nullable: false })
|
|
56
|
+
is_allowed: boolean;
|
|
57
|
+
|
|
55
58
|
@Column({ type: 'int', nullable: false })
|
|
56
59
|
created_by: number;
|
|
57
60
|
|
|
@@ -52,6 +52,9 @@ export class HousingContractRenewalApproval extends BaseModel {
|
|
|
52
52
|
@Column({ type: 'text', nullable: true })
|
|
53
53
|
comment: string;
|
|
54
54
|
|
|
55
|
+
@Column({ type: 'boolean', default: true, nullable: false })
|
|
56
|
+
is_allowed: boolean;
|
|
57
|
+
|
|
55
58
|
@Column({ type: 'int', nullable: false })
|
|
56
59
|
created_by: number;
|
|
57
60
|
|
|
@@ -52,6 +52,9 @@ export class LegalComplaintApproval extends BaseModel {
|
|
|
52
52
|
@Column({ type: 'text', nullable: true })
|
|
53
53
|
comment: string;
|
|
54
54
|
|
|
55
|
+
@Column({ type: 'boolean', default: true, nullable: false })
|
|
56
|
+
is_allowed: boolean;
|
|
57
|
+
|
|
55
58
|
@Column({ type: 'int', nullable: false })
|
|
56
59
|
created_by: number;
|
|
57
60
|
|
|
@@ -53,6 +53,9 @@ export class LegalConsultationApproval extends BaseModel {
|
|
|
53
53
|
@Column({ type: 'text', nullable: true })
|
|
54
54
|
comment: string;
|
|
55
55
|
|
|
56
|
+
@Column({ type: 'boolean', default: true, nullable: false })
|
|
57
|
+
is_allowed: boolean;
|
|
58
|
+
|
|
56
59
|
@Column({ type: 'int', nullable: false })
|
|
57
60
|
created_by: number;
|
|
58
61
|
|
package/src/models/role.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
/** *
|
|
2
|
-
@author
|
|
3
|
-
Amnet Digital
|
|
4
|
-
@date
|
|
5
|
-
2024-05-20
|
|
6
|
-
@Model
|
|
7
|
-
Role
|
|
8
|
-
@usage
|
|
9
|
-
Userrole Information will store
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import { Column, Entity } from "typeorm";
|
|
13
|
-
import { BaseModel } from './BaseModel';
|
|
14
|
-
|
|
15
|
-
@Entity({ name: 'role' })
|
|
16
|
-
export class Role extends BaseModel {
|
|
17
|
-
|
|
18
|
-
@Column({ nullable: true })
|
|
19
|
-
name: string;
|
|
20
|
-
|
|
21
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
22
|
-
arabic_name: string | null;
|
|
23
|
-
|
|
24
|
-
@Column({ nullable: true })
|
|
25
|
-
is_deleted?: boolean;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
constructor(name: string, is_deleted: boolean, arabic_name: string | null = null) {
|
|
29
|
-
super();
|
|
30
|
-
this.name = name;
|
|
31
|
-
this.is_deleted = is_deleted;
|
|
32
|
-
this.arabic_name = arabic_name;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
1
|
+
/** *
|
|
2
|
+
@author
|
|
3
|
+
Amnet Digital
|
|
4
|
+
@date
|
|
5
|
+
2024-05-20
|
|
6
|
+
@Model
|
|
7
|
+
Role
|
|
8
|
+
@usage
|
|
9
|
+
Userrole Information will store
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import { Column, Entity } from "typeorm";
|
|
13
|
+
import { BaseModel } from './BaseModel';
|
|
14
|
+
|
|
15
|
+
@Entity({ name: 'role' })
|
|
16
|
+
export class Role extends BaseModel {
|
|
17
|
+
|
|
18
|
+
@Column({ nullable: true })
|
|
19
|
+
name: string;
|
|
20
|
+
|
|
21
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
22
|
+
arabic_name: string | null;
|
|
23
|
+
|
|
24
|
+
@Column({ nullable: true })
|
|
25
|
+
is_deleted?: boolean;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
constructor(name: string, is_deleted: boolean, arabic_name: string | null = null) {
|
|
29
|
+
super();
|
|
30
|
+
this.name = name;
|
|
31
|
+
this.is_deleted = is_deleted;
|
|
32
|
+
this.arabic_name = arabic_name;
|
|
33
|
+
}
|
|
34
|
+
}
|