@platform-modules/civil-aviation-authority 2.3.128 → 2.3.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data-source.js +4 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +18 -1
- package/dist/models/AssetApartmentTypeModel.d.ts +9 -0
- package/dist/models/AssetApartmentTypeModel.js +49 -0
- package/dist/models/AssetUnitLocationModel.d.ts +8 -0
- package/dist/models/AssetUnitLocationModel.js +44 -0
- package/dist/models/CyberSecurityAuditRequestModel.d.ts +39 -0
- package/dist/models/CyberSecurityAuditRequestModel.js +130 -0
- package/dist/models/RequestForVaptRequestModel.d.ts +40 -0
- package/dist/models/RequestForVaptRequestModel.js +143 -0
- package/package.json +1 -1
- package/src/data-source.ts +4 -0
- package/src/index.ts +314 -304
- package/src/models/AssetApartmentTypeModel.ts +29 -0
- package/src/models/AssetUnitLocationModel.ts +25 -0
- package/src/models/CyberSecurityAuditRequestModel.ts +116 -0
- package/src/models/HousingContractCancelChatModel.ts +56 -56
- package/src/models/HousingContractRenewalChatModel.ts +59 -59
- package/src/models/RequestForVaptRequestModel.ts +132 -0
- package/src/models/ResidentialUnitRentalChatModel.ts +56 -56
package/dist/data-source.js
CHANGED
|
@@ -148,6 +148,8 @@ const AccommodationWorkflowModel_1 = require("./models/AccommodationWorkflowMode
|
|
|
148
148
|
const AccommodationApprovalModel_1 = require("./models/AccommodationApprovalModel");
|
|
149
149
|
const AccommodationChatModel_1 = require("./models/AccommodationChatModel");
|
|
150
150
|
const AccommodationAttachmentModel_1 = require("./models/AccommodationAttachmentModel");
|
|
151
|
+
const AssetApartmentTypeModel_1 = require("./models/AssetApartmentTypeModel");
|
|
152
|
+
const AssetUnitLocationModel_1 = require("./models/AssetUnitLocationModel");
|
|
151
153
|
exports.AppDataSource = new typeorm_1.DataSource({
|
|
152
154
|
type: 'postgres',
|
|
153
155
|
host: process.env.DB_HOST || 'localhost',
|
|
@@ -292,6 +294,8 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
292
294
|
AccommodationApprovalModel_1.AccommodationApproval,
|
|
293
295
|
AccommodationChatModel_1.AccommodationChat,
|
|
294
296
|
AccommodationAttachmentModel_1.AccommodationAttachment,
|
|
297
|
+
AssetApartmentTypeModel_1.AssetApartmentType,
|
|
298
|
+
AssetUnitLocationModel_1.AssetUnitLocation,
|
|
295
299
|
DocumentModel_1.Document,
|
|
296
300
|
DocumentFolderModel_1.DocumentFolder,
|
|
297
301
|
DocumentDriveModel_1.DocumentDrive,
|
package/dist/index.d.ts
CHANGED
|
@@ -193,6 +193,10 @@ export * from './models/InformationSecurityWorkflowModel';
|
|
|
193
193
|
export { InformationSecurityWorkFlowStatus, InformationSecurityWorkFlow } from './models/InformationSecurityWorkflowModel';
|
|
194
194
|
export * from './models/InformationSecurityAttachmentModel';
|
|
195
195
|
export { InformationSecurityRequestAttachment } from './models/InformationSecurityAttachmentModel';
|
|
196
|
+
export * from './models/RequestForVaptRequestModel';
|
|
197
|
+
export { RequestForVaptRequest, RequestForVaptStatus, RequestForVaptType, RequestForVaptClassification } from './models/RequestForVaptRequestModel';
|
|
198
|
+
export * from './models/CyberSecurityAuditRequestModel';
|
|
199
|
+
export { CyberSecurityAuditRequest, CyberSecurityAuditRequestStatus, CyberSecurityAuditClassification, CyberSecurityAuditApplicationType } from './models/CyberSecurityAuditRequestModel';
|
|
196
200
|
export * from './models/JobTransferRequestModel';
|
|
197
201
|
export { JobTransferRequestStatus } from './models/JobTransferRequestModel';
|
|
198
202
|
export * from './models/NewResourceRequestModel';
|
|
@@ -253,3 +257,5 @@ export * from './models/HousingContractCancelWorkflowModel';
|
|
|
253
257
|
export * from './models/HousingContractCancelApprovalModel';
|
|
254
258
|
export * from './models/HousingContractCancelChatModel';
|
|
255
259
|
export * from './models/HousingContractCancelAttachmentModel';
|
|
260
|
+
export * from './models/AssetApartmentTypeModel';
|
|
261
|
+
export * from './models/AssetUnitLocationModel';
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.RequestForCoverageWorkFlowStatus = exports.RequestForCoverageNewsSize = exports.RequestForCoverageRequestStatus = exports.ServiceTransferRequestType = exports.SalaryDetailsType = exports.ServiceTransferRequestStatus = exports.TemporaryAssignmentRequestType = exports.TemporaryAssignmentRequestStatus = exports.SecondmentRequestStatus = exports.TrainingRoomBookingChatStatus = exports.TrainingRoomBookingMessageType = exports.TrainingRoomBookingRequestChat = exports.TrainingRoomBookingRequestAttachment = exports.TrainingRoomBookingWorkFlowStatus = exports.TrainingRoomBookingApprovalStatus = exports.TrainingRoomBookingRoomType = exports.TrainingRoomBookingRequestStatus = exports.AnnualTrainingPlanChatStatus = exports.AnnualTrainingPlanMessageType = exports.AnnualTrainingPlanRequestChat = exports.AnnualTrainingPlanRequestAttachment = exports.AnnualTrainingPlanWorkFlowStatus = exports.AnnualTrainingPlanApprovalStatus = exports.AnnualTrainingPlanPlace = exports.AnnualTrainingPlanRequestStatus = exports.StudyLeaveChatStatus = exports.StudyLeaveMessageType = exports.StudyLeaveRequestChat = exports.StudyLeaveRequestAttachment = exports.StudyLeaveWorkFlowStatus = exports.StudyLeaveApprovalStatus = exports.StudyLeaveRequestStatus = exports.TrainingMessageType = exports.TrainingRequestChat = exports.TrainingRequestAttachment = exports.TrainingWorkFlowStatus = exports.TrainingApprovalStatus = exports.TrainingRequestStatus = exports.HrServiceChatStatus = exports.HrServiceMessageType = exports.HrServiceRequestChat = exports.HrServiceRequestAttachment = exports.HrServiceWorkFlowStatus = exports.HrServiceApprovalStatus = exports.HrServiceRequestStatus = exports.LogisticsVehicleMaintenanceWorkFlowStatus = exports.LogisticsVehicleMaintenanceMessageType = exports.LogisticsVehicleMaintenanceApprovalStatus = exports.VehicleMaintenanceStatus = exports.VehicleMaintenanceType = void 0;
|
|
18
|
-
exports.DurationUnit = exports.RepeatFrequency = exports.Quarter = exports.HumanResourceAnnualPlanningRequestStatus = exports.PerformanceManagementCyclePeriod = exports.PerformanceManagementRequestStatus = exports.SkillsEnhancementRequestStatus = exports.AnnualIncrementRequestStatus = exports.PromotionRequestStatus = exports.CashAllowanceLeaveRequestStatus = exports.NotificationFrequency = exports.ServicesNotificationTriggerType = exports.NewResourceRequestStatus = exports.JobTransferRequestStatus = exports.InformationSecurityRequestAttachment = exports.InformationSecurityWorkFlow = exports.InformationSecurityWorkFlowStatus = exports.InformationSecurityRequestChat = exports.InformationSecurityChatStatus = exports.InformationSecurityMessageType = exports.InformationSecurityApprovalDetails = exports.InformationSecurityApprovalStatus = exports.RequestForProjectApproval = exports.RequestForProjectApprovalStatus = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = exports.AssignTasksEmpMessageType = exports.AssignTasksEmpRequestChat = exports.AssignTasksEmpRequestAttachment = exports.AssignTasksEmpWorkFlowStatus = exports.AssignTasksEmpApprovalStatus = exports.AssignTasksEmpPriority = exports.AssignTasksEmpStatus = exports.RequestForCoverageRequestAttachment = exports.RequestForCoverageChatStatus = exports.RequestForCoverageMessageType = exports.RequestForCoverageRequestChat = exports.RequestForCoverageApprovalStatus = void 0;
|
|
18
|
+
exports.DurationUnit = exports.RepeatFrequency = exports.Quarter = exports.HumanResourceAnnualPlanningRequestStatus = exports.PerformanceManagementCyclePeriod = exports.PerformanceManagementRequestStatus = exports.SkillsEnhancementRequestStatus = exports.AnnualIncrementRequestStatus = exports.PromotionRequestStatus = exports.CashAllowanceLeaveRequestStatus = exports.NotificationFrequency = exports.ServicesNotificationTriggerType = exports.NewResourceRequestStatus = exports.JobTransferRequestStatus = exports.CyberSecurityAuditApplicationType = exports.CyberSecurityAuditClassification = exports.CyberSecurityAuditRequestStatus = exports.CyberSecurityAuditRequest = exports.RequestForVaptClassification = exports.RequestForVaptType = exports.RequestForVaptStatus = exports.RequestForVaptRequest = exports.InformationSecurityRequestAttachment = exports.InformationSecurityWorkFlow = exports.InformationSecurityWorkFlowStatus = exports.InformationSecurityRequestChat = exports.InformationSecurityChatStatus = exports.InformationSecurityMessageType = exports.InformationSecurityApprovalDetails = exports.InformationSecurityApprovalStatus = exports.RequestForProjectApproval = exports.RequestForProjectApprovalStatus = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = exports.AssignTasksEmpMessageType = exports.AssignTasksEmpRequestChat = exports.AssignTasksEmpRequestAttachment = exports.AssignTasksEmpWorkFlowStatus = exports.AssignTasksEmpApprovalStatus = exports.AssignTasksEmpPriority = exports.AssignTasksEmpStatus = exports.RequestForCoverageRequestAttachment = exports.RequestForCoverageChatStatus = exports.RequestForCoverageMessageType = exports.RequestForCoverageRequestChat = exports.RequestForCoverageApprovalStatus = void 0;
|
|
19
19
|
__exportStar(require("./models/user"), exports);
|
|
20
20
|
__exportStar(require("./models/role"), exports);
|
|
21
21
|
__exportStar(require("./models/user-sessions"), exports);
|
|
@@ -290,6 +290,20 @@ Object.defineProperty(exports, "InformationSecurityWorkFlow", { enumerable: true
|
|
|
290
290
|
__exportStar(require("./models/InformationSecurityAttachmentModel"), exports);
|
|
291
291
|
var InformationSecurityAttachmentModel_1 = require("./models/InformationSecurityAttachmentModel");
|
|
292
292
|
Object.defineProperty(exports, "InformationSecurityRequestAttachment", { enumerable: true, get: function () { return InformationSecurityAttachmentModel_1.InformationSecurityRequestAttachment; } });
|
|
293
|
+
__exportStar(require("./models/RequestForVaptRequestModel"), exports);
|
|
294
|
+
var RequestForVaptRequestModel_1 = require("./models/RequestForVaptRequestModel");
|
|
295
|
+
Object.defineProperty(exports, "RequestForVaptRequest", { enumerable: true, get: function () { return RequestForVaptRequestModel_1.RequestForVaptRequest; } });
|
|
296
|
+
Object.defineProperty(exports, "RequestForVaptStatus", { enumerable: true, get: function () { return RequestForVaptRequestModel_1.RequestForVaptStatus; } });
|
|
297
|
+
Object.defineProperty(exports, "RequestForVaptType", { enumerable: true, get: function () { return RequestForVaptRequestModel_1.RequestForVaptType; } });
|
|
298
|
+
Object.defineProperty(exports, "RequestForVaptClassification", { enumerable: true, get: function () { return RequestForVaptRequestModel_1.RequestForVaptClassification; } });
|
|
299
|
+
__exportStar(require("./models/CyberSecurityAuditRequestModel"), exports);
|
|
300
|
+
var CyberSecurityAuditRequestModel_1 = require("./models/CyberSecurityAuditRequestModel");
|
|
301
|
+
Object.defineProperty(exports, "CyberSecurityAuditRequest", { enumerable: true, get: function () { return CyberSecurityAuditRequestModel_1.CyberSecurityAuditRequest; } });
|
|
302
|
+
Object.defineProperty(exports, "CyberSecurityAuditRequestStatus", { enumerable: true, get: function () { return CyberSecurityAuditRequestModel_1.CyberSecurityAuditRequestStatus; } });
|
|
303
|
+
Object.defineProperty(exports, "CyberSecurityAuditClassification", { enumerable: true, get: function () { return CyberSecurityAuditRequestModel_1.CyberSecurityAuditClassification; } });
|
|
304
|
+
Object.defineProperty(exports, "CyberSecurityAuditApplicationType", { enumerable: true, get: function () { return CyberSecurityAuditRequestModel_1.CyberSecurityAuditApplicationType; } });
|
|
305
|
+
// export * from './models/CyberSecurityAuditRequestModel';
|
|
306
|
+
// export {CyberSecurityAuditRequest, CyberSecurityAuditStatus, CyberSecurityAuditClassification, CyberSecurityAuditApplication} from './models/CyberSecurityAuditRequestModel';
|
|
293
307
|
// Job Transfer (Transfer from One Job to Another Job Nature) Service
|
|
294
308
|
__exportStar(require("./models/JobTransferRequestModel"), exports);
|
|
295
309
|
var JobTransferRequestModel_1 = require("./models/JobTransferRequestModel");
|
|
@@ -383,3 +397,6 @@ __exportStar(require("./models/HousingContractCancelWorkflowModel"), exports);
|
|
|
383
397
|
__exportStar(require("./models/HousingContractCancelApprovalModel"), exports);
|
|
384
398
|
__exportStar(require("./models/HousingContractCancelChatModel"), exports);
|
|
385
399
|
__exportStar(require("./models/HousingContractCancelAttachmentModel"), exports);
|
|
400
|
+
// Asset Affairs Admin Configuration
|
|
401
|
+
__exportStar(require("./models/AssetApartmentTypeModel"), exports);
|
|
402
|
+
__exportStar(require("./models/AssetUnitLocationModel"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare class AssetApartmentType extends BaseModel {
|
|
3
|
+
apartment_type_name: string;
|
|
4
|
+
cost_per_type: number;
|
|
5
|
+
description: string | null;
|
|
6
|
+
is_active: boolean;
|
|
7
|
+
display_order: number;
|
|
8
|
+
constructor(apartmentTypeName: string);
|
|
9
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.AssetApartmentType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let AssetApartmentType = class AssetApartmentType extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(apartmentTypeName) {
|
|
17
|
+
super();
|
|
18
|
+
this.apartment_type_name = apartmentTypeName;
|
|
19
|
+
this.cost_per_type = 0;
|
|
20
|
+
this.description = null;
|
|
21
|
+
this.is_active = true;
|
|
22
|
+
this.display_order = 0;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
exports.AssetApartmentType = AssetApartmentType;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], AssetApartmentType.prototype, "apartment_type_name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: "float", nullable: false, default: 0 }),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], AssetApartmentType.prototype, "cost_per_type", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], AssetApartmentType.prototype, "description", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: "boolean", default: true }),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], AssetApartmentType.prototype, "is_active", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: "int", default: 0 }),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], AssetApartmentType.prototype, "display_order", void 0);
|
|
46
|
+
exports.AssetApartmentType = AssetApartmentType = __decorate([
|
|
47
|
+
(0, typeorm_1.Entity)({ name: "asset_apartment_types" }),
|
|
48
|
+
__metadata("design:paramtypes", [String])
|
|
49
|
+
], AssetApartmentType);
|
|
@@ -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.AssetUnitLocation = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let AssetUnitLocation = class AssetUnitLocation extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(locationName) {
|
|
17
|
+
super();
|
|
18
|
+
this.location_name = locationName;
|
|
19
|
+
this.description = null;
|
|
20
|
+
this.is_active = true;
|
|
21
|
+
this.display_order = 0;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.AssetUnitLocation = AssetUnitLocation;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], AssetUnitLocation.prototype, "location_name", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], AssetUnitLocation.prototype, "description", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "boolean", default: true }),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], AssetUnitLocation.prototype, "is_active", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "int", default: 0 }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], AssetUnitLocation.prototype, "display_order", void 0);
|
|
41
|
+
exports.AssetUnitLocation = AssetUnitLocation = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)({ name: "asset_unit_locations" }),
|
|
43
|
+
__metadata("design:paramtypes", [String])
|
|
44
|
+
], AssetUnitLocation);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum CyberSecurityAuditRequestStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
ASSIGNED = "Assigned",
|
|
5
|
+
IN_PROGRESS = "In Progress",
|
|
6
|
+
COMPLETED = "Completed",
|
|
7
|
+
APPROVED = "Approved",
|
|
8
|
+
REJECTED = "Rejected"
|
|
9
|
+
}
|
|
10
|
+
export declare enum CyberSecurityAuditClassification {
|
|
11
|
+
NEW = "New",
|
|
12
|
+
REVIEW = "Review"
|
|
13
|
+
}
|
|
14
|
+
export declare enum CyberSecurityAuditApplicationType {
|
|
15
|
+
ISO27001 = "ISO27001",
|
|
16
|
+
ICOA_REGULATION = "ICOA Regulation",
|
|
17
|
+
NATIONAL_REGULATION_AND_CIRCULATION = "National Regulation and Circulation",
|
|
18
|
+
OTHERS = "Others"
|
|
19
|
+
}
|
|
20
|
+
export declare class CyberSecurityAuditRequest extends BaseModel {
|
|
21
|
+
req_user_department_id: number | null;
|
|
22
|
+
req_user_section_id: number | null;
|
|
23
|
+
req_user_position_id: number | null;
|
|
24
|
+
service_id: number | null;
|
|
25
|
+
sub_service_id: number | null;
|
|
26
|
+
user_id: number;
|
|
27
|
+
description: string | null;
|
|
28
|
+
status: CyberSecurityAuditRequestStatus;
|
|
29
|
+
reviewer_user_id: number | null;
|
|
30
|
+
assigned_to_user_id: number | null;
|
|
31
|
+
assigned_at: Date | null;
|
|
32
|
+
workflow_execution_id: string | null;
|
|
33
|
+
request_id: string | null;
|
|
34
|
+
request_classification: CyberSecurityAuditClassification;
|
|
35
|
+
application_to_be_audited: CyberSecurityAuditApplicationType;
|
|
36
|
+
application_to_be_audited_other: string | null;
|
|
37
|
+
submission_date: Date;
|
|
38
|
+
constructor(user_id: number, request_classification: CyberSecurityAuditClassification, application_to_be_audited: CyberSecurityAuditApplicationType, submission_date: Date, status?: CyberSecurityAuditRequestStatus, service_id?: number | null, sub_service_id?: number | null, req_user_department_id?: number | null, req_user_section_id?: number | null, req_user_position_id?: number | null, description?: string | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null, request_id?: string | null, application_to_be_audited_other?: string | null);
|
|
39
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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.CyberSecurityAuditRequest = exports.CyberSecurityAuditApplicationType = exports.CyberSecurityAuditClassification = exports.CyberSecurityAuditRequestStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var CyberSecurityAuditRequestStatus;
|
|
16
|
+
(function (CyberSecurityAuditRequestStatus) {
|
|
17
|
+
CyberSecurityAuditRequestStatus["PENDING"] = "Pending";
|
|
18
|
+
CyberSecurityAuditRequestStatus["ASSIGNED"] = "Assigned";
|
|
19
|
+
CyberSecurityAuditRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
+
CyberSecurityAuditRequestStatus["COMPLETED"] = "Completed";
|
|
21
|
+
CyberSecurityAuditRequestStatus["APPROVED"] = "Approved";
|
|
22
|
+
CyberSecurityAuditRequestStatus["REJECTED"] = "Rejected";
|
|
23
|
+
})(CyberSecurityAuditRequestStatus || (exports.CyberSecurityAuditRequestStatus = CyberSecurityAuditRequestStatus = {}));
|
|
24
|
+
var CyberSecurityAuditClassification;
|
|
25
|
+
(function (CyberSecurityAuditClassification) {
|
|
26
|
+
CyberSecurityAuditClassification["NEW"] = "New";
|
|
27
|
+
CyberSecurityAuditClassification["REVIEW"] = "Review";
|
|
28
|
+
})(CyberSecurityAuditClassification || (exports.CyberSecurityAuditClassification = CyberSecurityAuditClassification = {}));
|
|
29
|
+
var CyberSecurityAuditApplicationType;
|
|
30
|
+
(function (CyberSecurityAuditApplicationType) {
|
|
31
|
+
CyberSecurityAuditApplicationType["ISO27001"] = "ISO27001";
|
|
32
|
+
CyberSecurityAuditApplicationType["ICOA_REGULATION"] = "ICOA Regulation";
|
|
33
|
+
CyberSecurityAuditApplicationType["NATIONAL_REGULATION_AND_CIRCULATION"] = "National Regulation and Circulation";
|
|
34
|
+
CyberSecurityAuditApplicationType["OTHERS"] = "Others";
|
|
35
|
+
})(CyberSecurityAuditApplicationType || (exports.CyberSecurityAuditApplicationType = CyberSecurityAuditApplicationType = {}));
|
|
36
|
+
let CyberSecurityAuditRequest = class CyberSecurityAuditRequest extends BaseModel_1.BaseModel {
|
|
37
|
+
constructor(user_id, request_classification, application_to_be_audited, submission_date, status = CyberSecurityAuditRequestStatus.PENDING, service_id, sub_service_id, req_user_department_id, req_user_section_id, req_user_position_id, description, reviewer_user_id, assigned_to_user_id, assigned_at, workflow_execution_id, request_id, application_to_be_audited_other) {
|
|
38
|
+
super();
|
|
39
|
+
this.user_id = user_id;
|
|
40
|
+
this.request_classification = request_classification;
|
|
41
|
+
this.application_to_be_audited = application_to_be_audited;
|
|
42
|
+
this.submission_date = submission_date;
|
|
43
|
+
this.status = status;
|
|
44
|
+
this.service_id = service_id || null;
|
|
45
|
+
this.sub_service_id = sub_service_id || null;
|
|
46
|
+
this.req_user_department_id = req_user_department_id || null;
|
|
47
|
+
this.req_user_section_id = req_user_section_id || null;
|
|
48
|
+
this.req_user_position_id = req_user_position_id || null;
|
|
49
|
+
this.description = description || null;
|
|
50
|
+
this.reviewer_user_id = reviewer_user_id || null;
|
|
51
|
+
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
52
|
+
this.assigned_at = assigned_at || null;
|
|
53
|
+
this.workflow_execution_id = workflow_execution_id || null;
|
|
54
|
+
this.request_id = request_id || null;
|
|
55
|
+
this.application_to_be_audited_other = application_to_be_audited_other || null;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
exports.CyberSecurityAuditRequest = CyberSecurityAuditRequest;
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
61
|
+
__metadata("design:type", Object)
|
|
62
|
+
], CyberSecurityAuditRequest.prototype, "req_user_department_id", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
65
|
+
__metadata("design:type", Object)
|
|
66
|
+
], CyberSecurityAuditRequest.prototype, "req_user_section_id", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
69
|
+
__metadata("design:type", Object)
|
|
70
|
+
], CyberSecurityAuditRequest.prototype, "req_user_position_id", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
73
|
+
__metadata("design:type", Object)
|
|
74
|
+
], CyberSecurityAuditRequest.prototype, "service_id", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
77
|
+
__metadata("design:type", Object)
|
|
78
|
+
], CyberSecurityAuditRequest.prototype, "sub_service_id", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
81
|
+
__metadata("design:type", Number)
|
|
82
|
+
], CyberSecurityAuditRequest.prototype, "user_id", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
85
|
+
__metadata("design:type", Object)
|
|
86
|
+
], CyberSecurityAuditRequest.prototype, "description", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, typeorm_1.Column)({ type: "enum", enum: CyberSecurityAuditRequestStatus, default: CyberSecurityAuditRequestStatus.PENDING, nullable: false }),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], CyberSecurityAuditRequest.prototype, "status", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
93
|
+
__metadata("design:type", Object)
|
|
94
|
+
], CyberSecurityAuditRequest.prototype, "reviewer_user_id", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
97
|
+
__metadata("design:type", Object)
|
|
98
|
+
], CyberSecurityAuditRequest.prototype, "assigned_to_user_id", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
101
|
+
__metadata("design:type", Object)
|
|
102
|
+
], CyberSecurityAuditRequest.prototype, "assigned_at", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
105
|
+
__metadata("design:type", Object)
|
|
106
|
+
], CyberSecurityAuditRequest.prototype, "workflow_execution_id", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
109
|
+
__metadata("design:type", Object)
|
|
110
|
+
], CyberSecurityAuditRequest.prototype, "request_id", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, typeorm_1.Column)({ type: "enum", enum: CyberSecurityAuditClassification, nullable: false }),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], CyberSecurityAuditRequest.prototype, "request_classification", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, typeorm_1.Column)({ type: "enum", enum: CyberSecurityAuditApplicationType, nullable: false }),
|
|
117
|
+
__metadata("design:type", String)
|
|
118
|
+
], CyberSecurityAuditRequest.prototype, "application_to_be_audited", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
121
|
+
__metadata("design:type", Object)
|
|
122
|
+
], CyberSecurityAuditRequest.prototype, "application_to_be_audited_other", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
125
|
+
__metadata("design:type", Date)
|
|
126
|
+
], CyberSecurityAuditRequest.prototype, "submission_date", void 0);
|
|
127
|
+
exports.CyberSecurityAuditRequest = CyberSecurityAuditRequest = __decorate([
|
|
128
|
+
(0, typeorm_1.Entity)({ name: "cyber_security_audit_requests" }),
|
|
129
|
+
__metadata("design:paramtypes", [Number, String, String, Date, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
|
|
130
|
+
], CyberSecurityAuditRequest);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum RequestForVaptStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
ASSIGNED = "Assigned",
|
|
5
|
+
IN_PROGRESS = "In Progress",
|
|
6
|
+
COMPLETED = "Completed",
|
|
7
|
+
APPROVED = "Approved",
|
|
8
|
+
REJECTED = "Rejected"
|
|
9
|
+
}
|
|
10
|
+
export declare enum RequestForVaptType {
|
|
11
|
+
VAPT = "VAPT",
|
|
12
|
+
INFRASTRUCTURE_REVIEW = "Infrastructure Review"
|
|
13
|
+
}
|
|
14
|
+
export declare enum RequestForVaptClassification {
|
|
15
|
+
NEW = "New",
|
|
16
|
+
REVIEW = "Review"
|
|
17
|
+
}
|
|
18
|
+
export declare class RequestForVaptRequest extends BaseModel {
|
|
19
|
+
req_user_department_id: number | null;
|
|
20
|
+
req_user_section_id: number | null;
|
|
21
|
+
req_user_position_id: number | null;
|
|
22
|
+
service_id: number | null;
|
|
23
|
+
sub_service_id: number | null;
|
|
24
|
+
user_id: number;
|
|
25
|
+
remarks: string | null;
|
|
26
|
+
status: RequestForVaptStatus;
|
|
27
|
+
reviewer_user_id: number | null;
|
|
28
|
+
assigned_to_user_id: number | null;
|
|
29
|
+
assigned_at: Date | null;
|
|
30
|
+
workflow_execution_id: string | null;
|
|
31
|
+
request_id: string | null;
|
|
32
|
+
type_of_request: RequestForVaptType;
|
|
33
|
+
request_classification: RequestForVaptClassification;
|
|
34
|
+
application_name: string;
|
|
35
|
+
link: string | null;
|
|
36
|
+
ip_address: string | null;
|
|
37
|
+
application_url: string | null;
|
|
38
|
+
submission_date: Date;
|
|
39
|
+
constructor(user_id: number, type_of_request: RequestForVaptType, request_classification: RequestForVaptClassification, application_name: string, submission_date: Date, status?: RequestForVaptStatus, service_id?: number | null, sub_service_id?: number | null, req_user_department_id?: number | null, req_user_section_id?: number | null, req_user_position_id?: number | null, remarks?: string | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null, request_id?: string | null, link?: string | null, ip_address?: string | null, application_url?: string | null);
|
|
40
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
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.RequestForVaptRequest = exports.RequestForVaptClassification = exports.RequestForVaptType = exports.RequestForVaptStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var RequestForVaptStatus;
|
|
16
|
+
(function (RequestForVaptStatus) {
|
|
17
|
+
RequestForVaptStatus["PENDING"] = "Pending";
|
|
18
|
+
RequestForVaptStatus["ASSIGNED"] = "Assigned";
|
|
19
|
+
RequestForVaptStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
+
RequestForVaptStatus["COMPLETED"] = "Completed";
|
|
21
|
+
RequestForVaptStatus["APPROVED"] = "Approved";
|
|
22
|
+
RequestForVaptStatus["REJECTED"] = "Rejected";
|
|
23
|
+
})(RequestForVaptStatus || (exports.RequestForVaptStatus = RequestForVaptStatus = {}));
|
|
24
|
+
var RequestForVaptType;
|
|
25
|
+
(function (RequestForVaptType) {
|
|
26
|
+
RequestForVaptType["VAPT"] = "VAPT";
|
|
27
|
+
RequestForVaptType["INFRASTRUCTURE_REVIEW"] = "Infrastructure Review";
|
|
28
|
+
})(RequestForVaptType || (exports.RequestForVaptType = RequestForVaptType = {}));
|
|
29
|
+
var RequestForVaptClassification;
|
|
30
|
+
(function (RequestForVaptClassification) {
|
|
31
|
+
RequestForVaptClassification["NEW"] = "New";
|
|
32
|
+
RequestForVaptClassification["REVIEW"] = "Review";
|
|
33
|
+
})(RequestForVaptClassification || (exports.RequestForVaptClassification = RequestForVaptClassification = {}));
|
|
34
|
+
let RequestForVaptRequest = class RequestForVaptRequest extends BaseModel_1.BaseModel {
|
|
35
|
+
constructor(user_id, type_of_request, request_classification, application_name, submission_date, status = RequestForVaptStatus.PENDING, service_id, sub_service_id, req_user_department_id, req_user_section_id, req_user_position_id, remarks, reviewer_user_id, assigned_to_user_id, assigned_at, workflow_execution_id, request_id, link, ip_address, application_url) {
|
|
36
|
+
super();
|
|
37
|
+
this.user_id = user_id;
|
|
38
|
+
this.type_of_request = type_of_request;
|
|
39
|
+
this.request_classification = request_classification;
|
|
40
|
+
this.application_name = application_name;
|
|
41
|
+
this.submission_date = submission_date;
|
|
42
|
+
this.status = status;
|
|
43
|
+
this.service_id = service_id || null;
|
|
44
|
+
this.sub_service_id = sub_service_id || null;
|
|
45
|
+
this.req_user_department_id = req_user_department_id || null;
|
|
46
|
+
this.req_user_section_id = req_user_section_id || null;
|
|
47
|
+
this.req_user_position_id = req_user_position_id || null;
|
|
48
|
+
this.remarks = remarks || null;
|
|
49
|
+
this.reviewer_user_id = reviewer_user_id || null;
|
|
50
|
+
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
51
|
+
this.assigned_at = assigned_at || null;
|
|
52
|
+
this.workflow_execution_id = workflow_execution_id || null;
|
|
53
|
+
this.request_id = request_id || null;
|
|
54
|
+
this.link = link || null;
|
|
55
|
+
this.ip_address = ip_address || null;
|
|
56
|
+
this.application_url = application_url || null;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
exports.RequestForVaptRequest = RequestForVaptRequest;
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], RequestForVaptRequest.prototype, "req_user_department_id", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
66
|
+
__metadata("design:type", Object)
|
|
67
|
+
], RequestForVaptRequest.prototype, "req_user_section_id", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
70
|
+
__metadata("design:type", Object)
|
|
71
|
+
], RequestForVaptRequest.prototype, "req_user_position_id", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
74
|
+
__metadata("design:type", Object)
|
|
75
|
+
], RequestForVaptRequest.prototype, "service_id", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
78
|
+
__metadata("design:type", Object)
|
|
79
|
+
], RequestForVaptRequest.prototype, "sub_service_id", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], RequestForVaptRequest.prototype, "user_id", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
86
|
+
__metadata("design:type", Object)
|
|
87
|
+
], RequestForVaptRequest.prototype, "remarks", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.Column)({ type: "enum", enum: RequestForVaptStatus, default: RequestForVaptStatus.PENDING, nullable: false }),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], RequestForVaptRequest.prototype, "status", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
94
|
+
__metadata("design:type", Object)
|
|
95
|
+
], RequestForVaptRequest.prototype, "reviewer_user_id", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
98
|
+
__metadata("design:type", Object)
|
|
99
|
+
], RequestForVaptRequest.prototype, "assigned_to_user_id", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
102
|
+
__metadata("design:type", Object)
|
|
103
|
+
], RequestForVaptRequest.prototype, "assigned_at", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
106
|
+
__metadata("design:type", Object)
|
|
107
|
+
], RequestForVaptRequest.prototype, "workflow_execution_id", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
110
|
+
__metadata("design:type", Object)
|
|
111
|
+
], RequestForVaptRequest.prototype, "request_id", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, typeorm_1.Column)({ type: "enum", enum: RequestForVaptType, nullable: false }),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], RequestForVaptRequest.prototype, "type_of_request", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, typeorm_1.Column)({ type: "enum", enum: RequestForVaptClassification, nullable: false }),
|
|
118
|
+
__metadata("design:type", String)
|
|
119
|
+
], RequestForVaptRequest.prototype, "request_classification", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
122
|
+
__metadata("design:type", String)
|
|
123
|
+
], RequestForVaptRequest.prototype, "application_name", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
|
|
126
|
+
__metadata("design:type", Object)
|
|
127
|
+
], RequestForVaptRequest.prototype, "link", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
130
|
+
__metadata("design:type", Object)
|
|
131
|
+
], RequestForVaptRequest.prototype, "ip_address", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
|
|
134
|
+
__metadata("design:type", Object)
|
|
135
|
+
], RequestForVaptRequest.prototype, "application_url", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
138
|
+
__metadata("design:type", Date)
|
|
139
|
+
], RequestForVaptRequest.prototype, "submission_date", void 0);
|
|
140
|
+
exports.RequestForVaptRequest = RequestForVaptRequest = __decorate([
|
|
141
|
+
(0, typeorm_1.Entity)({ name: "request_for_vapt_requests" }),
|
|
142
|
+
__metadata("design:paramtypes", [Number, String, String, String, Date, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
|
|
143
|
+
], RequestForVaptRequest);
|
package/package.json
CHANGED
package/src/data-source.ts
CHANGED
|
@@ -146,6 +146,8 @@ import { AccommodationWorkflow } from './models/AccommodationWorkflowModel';
|
|
|
146
146
|
import { AccommodationApproval } from './models/AccommodationApprovalModel';
|
|
147
147
|
import { AccommodationChat } from './models/AccommodationChatModel';
|
|
148
148
|
import { AccommodationAttachment } from './models/AccommodationAttachmentModel';
|
|
149
|
+
import { AssetApartmentType } from './models/AssetApartmentTypeModel';
|
|
150
|
+
import { AssetUnitLocation } from './models/AssetUnitLocationModel';
|
|
149
151
|
|
|
150
152
|
export const AppDataSource = new DataSource({
|
|
151
153
|
type: 'postgres',
|
|
@@ -291,6 +293,8 @@ export const AppDataSource = new DataSource({
|
|
|
291
293
|
AccommodationApproval,
|
|
292
294
|
AccommodationChat,
|
|
293
295
|
AccommodationAttachment,
|
|
296
|
+
AssetApartmentType,
|
|
297
|
+
AssetUnitLocation,
|
|
294
298
|
Document,
|
|
295
299
|
DocumentFolder,
|
|
296
300
|
DocumentDrive,
|