@platform-modules/civil-aviation-authority 2.3.201 → 2.3.205
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 +22 -7
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/models/ComplaintLostPropertyReportApprovalModel.d.ts +23 -0
- package/dist/models/ComplaintLostPropertyReportApprovalModel.js +88 -0
- package/dist/models/ComplaintLostPropertyReportAttachmentModel.d.ts +12 -0
- package/dist/models/ComplaintLostPropertyReportAttachmentModel.js +56 -0
- package/dist/models/ComplaintLostPropertyReportChatModel.d.ts +21 -0
- package/dist/models/ComplaintLostPropertyReportChatModel.js +78 -0
- package/dist/models/ComplaintLostPropertyReportRequestModel.d.ts +23 -0
- package/dist/models/ComplaintLostPropertyReportRequestModel.js +88 -0
- package/dist/models/ComplaintLostPropertyReportWorkflowModel.d.ts +18 -0
- package/dist/models/ComplaintLostPropertyReportWorkflowModel.js +80 -0
- package/dist/models/DocumentMetadataModel.d.ts +45 -0
- package/dist/models/DocumentMetadataModel.js +171 -0
- package/dist/models/DocumentationDepartmentsModel.d.ts +13 -0
- package/dist/models/DocumentationDepartmentsModel.js +53 -0
- package/dist/models/FolderModel.d.ts +16 -0
- package/dist/models/FolderModel.js +85 -0
- package/dist/models/ImportExportMaterialModels.d.ts +92 -0
- package/dist/models/ImportExportMaterialModels.js +307 -0
- package/dist/models/PermissionModel.d.ts +18 -0
- package/dist/models/PermissionModel.js +68 -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/UUIDBaseModel.d.ts +14 -0
- package/dist/models/UUIDBaseModel.js +66 -0
- package/dist/models/WorkingHoursExtensionModels.d.ts +88 -0
- package/dist/models/WorkingHoursExtensionModels.js +295 -0
- package/package.json +1 -1
- package/src/data-source.ts +419 -419
- package/src/index.ts +5 -0
- package/src/models/AccessCardRequestModel.ts +135 -135
- package/src/models/AccommodationApprovalModel.ts +8 -8
- package/src/models/AccommodationRequestModel.ts +8 -8
- package/src/models/AirportEntryPermitModel.ts +276 -276
- package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
- package/src/models/AnnualIncrementRequestModel.ts +25 -25
- package/src/models/AnnualTrainingPlanRequestModel.ts +153 -153
- 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/ComplaintLostPropertyReportApprovalModel.ts +60 -0
- package/src/models/ComplaintLostPropertyReportAttachmentModel.ts +33 -0
- package/src/models/ComplaintLostPropertyReportChatModel.ts +53 -0
- package/src/models/ComplaintLostPropertyReportRequestModel.ts +60 -0
- package/src/models/ComplaintLostPropertyReportWorkflowModel.ts +51 -0
- package/src/models/DepartmentsModel.ts +25 -25
- package/src/models/DocumentDriveModel.ts +28 -28
- package/src/models/DocumentFolderModel.ts +45 -45
- package/src/models/HousingContractCancelApprovalModel.ts +64 -64
- package/src/models/HousingContractCancelChatModel.ts +56 -56
- package/src/models/HousingContractRenewalApprovalModel.ts +64 -64
- package/src/models/HousingContractRenewalChatModel.ts +59 -59
- package/src/models/HrServiceRequestModel.ts +193 -193
- package/src/models/ITRequestAttachmentModel.ts +73 -73
- package/src/models/ITRequestChatModel.ts +74 -74
- package/src/models/ItApprovalsModel.ts +84 -84
- package/src/models/ItWorkflowModel.ts +55 -55
- package/src/models/LegalConsultationApprovalModel.ts +65 -65
- package/src/models/MissionTravelPassportExpiryNotificationConfigModel.ts +36 -36
- 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/ResidentialUnitRentalApprovalModel.ts +143 -143
- package/src/models/ResidentialUnitRentalChatModel.ts +56 -56
- package/src/models/ResidentialUnitRentalRequestModel.ts +218 -218
- package/src/models/RespondToEnquiriesRequestModel.ts +31 -31
- package/src/models/ServicesNotificationConfigModel.ts +55 -55
- package/src/models/StudyLeaveRequestModel.ts +144 -144
- package/src/models/TrainingRequestModel.ts +164 -164
- package/src/models/TrainingRoomBookingRequestModel.ts +142 -142
- package/src/models/TrainingRoomNotificationConfigModel.ts +30 -30
- package/src/models/UserSkillModel.ts +56 -56
- package/src/models/role.ts +34 -34
- package/src/models/user.ts +233 -233
- 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
package/.env
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
|
-
# DB_HOST=
|
|
1
|
+
# DB_HOST=localhost
|
|
2
2
|
# DB_PORT=5432
|
|
3
|
-
# DB_USER=
|
|
4
|
-
# DB_PASS=
|
|
3
|
+
# DB_USER=postgres
|
|
4
|
+
# DB_PASS=stevejobs
|
|
5
5
|
# DB_NAME=CAA
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
DB_HOST=
|
|
8
|
+
DB_HOST=164.52.222.169
|
|
9
9
|
DB_PORT=5432
|
|
10
|
-
DB_USER=
|
|
11
|
-
DB_PASS=
|
|
12
|
-
DB_NAME=CAA
|
|
10
|
+
DB_USER=postgres_admin_user
|
|
11
|
+
DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
12
|
+
DB_NAME=CAA
|
|
13
|
+
|
|
14
|
+
# DB_HOST=216.48.187.46
|
|
15
|
+
# DB_PORT=5432
|
|
16
|
+
# DB_USER=adminuser
|
|
17
|
+
# DB_PASS=postgres_caa_fm_qa_34567
|
|
18
|
+
# DB_NAME=CAA_QA
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# DB_HOST=localhost
|
|
24
|
+
# DB_PORT=5432
|
|
25
|
+
# DB_USER=postgres
|
|
26
|
+
# DB_PASS=stevejobs
|
|
27
|
+
# DB_NAME=CAA
|
package/dist/index.d.ts
CHANGED
|
@@ -336,6 +336,11 @@ export * from './models/WorkingHoursExtensionApprovalModel';
|
|
|
336
336
|
export * from './models/WorkingHoursExtensionWorkflowModel';
|
|
337
337
|
export * from './models/WorkingHoursExtensionChatModel';
|
|
338
338
|
export * from './models/WorkingHoursExtensionAttachmentModel';
|
|
339
|
+
export * from './models/ComplaintLostPropertyReportRequestModel';
|
|
340
|
+
export * from './models/ComplaintLostPropertyReportApprovalModel';
|
|
341
|
+
export * from './models/ComplaintLostPropertyReportWorkflowModel';
|
|
342
|
+
export * from './models/ComplaintLostPropertyReportChatModel';
|
|
343
|
+
export * from './models/ComplaintLostPropertyReportAttachmentModel';
|
|
339
344
|
export * from './models/RespondToEnquiriesRequestModel';
|
|
340
345
|
export { RespondToEnquiriesRequestStatus, RespondToEnquiriesRequest } from './models/RespondToEnquiriesRequestModel';
|
|
341
346
|
export * from './models/RespondToEnquiriesApprovalModel';
|
package/dist/index.js
CHANGED
|
@@ -502,6 +502,11 @@ __exportStar(require("./models/WorkingHoursExtensionApprovalModel"), exports);
|
|
|
502
502
|
__exportStar(require("./models/WorkingHoursExtensionWorkflowModel"), exports);
|
|
503
503
|
__exportStar(require("./models/WorkingHoursExtensionChatModel"), exports);
|
|
504
504
|
__exportStar(require("./models/WorkingHoursExtensionAttachmentModel"), exports);
|
|
505
|
+
__exportStar(require("./models/ComplaintLostPropertyReportRequestModel"), exports);
|
|
506
|
+
__exportStar(require("./models/ComplaintLostPropertyReportApprovalModel"), exports);
|
|
507
|
+
__exportStar(require("./models/ComplaintLostPropertyReportWorkflowModel"), exports);
|
|
508
|
+
__exportStar(require("./models/ComplaintLostPropertyReportChatModel"), exports);
|
|
509
|
+
__exportStar(require("./models/ComplaintLostPropertyReportAttachmentModel"), exports);
|
|
505
510
|
// Tender — Request a Service to Respond to Enquiries
|
|
506
511
|
__exportStar(require("./models/RespondToEnquiriesRequestModel"), exports);
|
|
507
512
|
var RespondToEnquiriesRequestModel_1 = require("./models/RespondToEnquiriesRequestModel");
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum ComplaintLostPropertyReportApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class ComplaintLostPropertyReportApproval extends BaseModel {
|
|
9
|
+
request_id: number;
|
|
10
|
+
service_id: number | null;
|
|
11
|
+
sub_service_id: number | null;
|
|
12
|
+
level: number;
|
|
13
|
+
approver_role_id: number | null;
|
|
14
|
+
department_id: number | null;
|
|
15
|
+
section_id: number | null;
|
|
16
|
+
approver_user_id: number | null;
|
|
17
|
+
delegate_user_id: number | null;
|
|
18
|
+
approved_by: number | null;
|
|
19
|
+
comment: string;
|
|
20
|
+
approval_status: ComplaintLostPropertyReportApprovalStatus;
|
|
21
|
+
is_allowed: boolean;
|
|
22
|
+
constructor();
|
|
23
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.ComplaintLostPropertyReportApproval = exports.ComplaintLostPropertyReportApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ComplaintLostPropertyReportApprovalStatus;
|
|
16
|
+
(function (ComplaintLostPropertyReportApprovalStatus) {
|
|
17
|
+
ComplaintLostPropertyReportApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
ComplaintLostPropertyReportApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
ComplaintLostPropertyReportApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
ComplaintLostPropertyReportApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(ComplaintLostPropertyReportApprovalStatus || (exports.ComplaintLostPropertyReportApprovalStatus = ComplaintLostPropertyReportApprovalStatus = {}));
|
|
22
|
+
let ComplaintLostPropertyReportApproval = class ComplaintLostPropertyReportApproval extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
exports.ComplaintLostPropertyReportApproval = ComplaintLostPropertyReportApproval;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], ComplaintLostPropertyReportApproval.prototype, "request_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], ComplaintLostPropertyReportApproval.prototype, "service_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], ComplaintLostPropertyReportApproval.prototype, "sub_service_id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], ComplaintLostPropertyReportApproval.prototype, "level", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
|
+
], ComplaintLostPropertyReportApproval.prototype, "approver_role_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], ComplaintLostPropertyReportApproval.prototype, "department_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], ComplaintLostPropertyReportApproval.prototype, "section_id", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], ComplaintLostPropertyReportApproval.prototype, "approver_user_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], ComplaintLostPropertyReportApproval.prototype, "delegate_user_id", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
66
|
+
__metadata("design:type", Object)
|
|
67
|
+
], ComplaintLostPropertyReportApproval.prototype, "approved_by", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true, default: "" }),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], ComplaintLostPropertyReportApproval.prototype, "comment", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({
|
|
74
|
+
type: "enum",
|
|
75
|
+
enum: ComplaintLostPropertyReportApprovalStatus,
|
|
76
|
+
default: ComplaintLostPropertyReportApprovalStatus.PENDING,
|
|
77
|
+
nullable: false
|
|
78
|
+
}),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], ComplaintLostPropertyReportApproval.prototype, "approval_status", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: "boolean", default: true, nullable: false }),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], ComplaintLostPropertyReportApproval.prototype, "is_allowed", void 0);
|
|
85
|
+
exports.ComplaintLostPropertyReportApproval = ComplaintLostPropertyReportApproval = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ name: "complaint_lost_property_report_approvals" }),
|
|
87
|
+
__metadata("design:paramtypes", [])
|
|
88
|
+
], ComplaintLostPropertyReportApproval);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare class ComplaintLostPropertyReportAttachment extends BaseModel {
|
|
3
|
+
request_id: number;
|
|
4
|
+
service_id: number | null;
|
|
5
|
+
sub_service_id: number | null;
|
|
6
|
+
file_url: string;
|
|
7
|
+
file_name: string;
|
|
8
|
+
file_type: string;
|
|
9
|
+
file_size: number | null;
|
|
10
|
+
chat_id: number | null;
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.ComplaintLostPropertyReportAttachment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ComplaintLostPropertyReportAttachment = class ComplaintLostPropertyReportAttachment extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
exports.ComplaintLostPropertyReportAttachment = ComplaintLostPropertyReportAttachment;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], ComplaintLostPropertyReportAttachment.prototype, "request_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], ComplaintLostPropertyReportAttachment.prototype, "service_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], ComplaintLostPropertyReportAttachment.prototype, "sub_service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: false }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ComplaintLostPropertyReportAttachment.prototype, "file_url", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], ComplaintLostPropertyReportAttachment.prototype, "file_name", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], ComplaintLostPropertyReportAttachment.prototype, "file_type", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: "bigint", nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], ComplaintLostPropertyReportAttachment.prototype, "file_size", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], ComplaintLostPropertyReportAttachment.prototype, "chat_id", void 0);
|
|
53
|
+
exports.ComplaintLostPropertyReportAttachment = ComplaintLostPropertyReportAttachment = __decorate([
|
|
54
|
+
(0, typeorm_1.Entity)({ name: "complaint_lost_property_report_attachments" }),
|
|
55
|
+
__metadata("design:paramtypes", [])
|
|
56
|
+
], ComplaintLostPropertyReportAttachment);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum ComplaintLostPropertyReportMessageType {
|
|
3
|
+
TEXT = "text",
|
|
4
|
+
IMAGE = "image",
|
|
5
|
+
VIDEO = "video",
|
|
6
|
+
FILE = "file",
|
|
7
|
+
LINK = "link"
|
|
8
|
+
}
|
|
9
|
+
export declare class ComplaintLostPropertyReportChat extends BaseModel {
|
|
10
|
+
request_id: number;
|
|
11
|
+
service_id: number;
|
|
12
|
+
sub_service_id: number;
|
|
13
|
+
user_id: number;
|
|
14
|
+
message: string;
|
|
15
|
+
approver_role_id: number | null;
|
|
16
|
+
status: string;
|
|
17
|
+
messageType: ComplaintLostPropertyReportMessageType;
|
|
18
|
+
is_internal: boolean;
|
|
19
|
+
created_by: number;
|
|
20
|
+
constructor();
|
|
21
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.ComplaintLostPropertyReportChat = exports.ComplaintLostPropertyReportMessageType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ComplaintLostPropertyReportMessageType;
|
|
16
|
+
(function (ComplaintLostPropertyReportMessageType) {
|
|
17
|
+
ComplaintLostPropertyReportMessageType["TEXT"] = "text";
|
|
18
|
+
ComplaintLostPropertyReportMessageType["IMAGE"] = "image";
|
|
19
|
+
ComplaintLostPropertyReportMessageType["VIDEO"] = "video";
|
|
20
|
+
ComplaintLostPropertyReportMessageType["FILE"] = "file";
|
|
21
|
+
ComplaintLostPropertyReportMessageType["LINK"] = "link";
|
|
22
|
+
})(ComplaintLostPropertyReportMessageType || (exports.ComplaintLostPropertyReportMessageType = ComplaintLostPropertyReportMessageType = {}));
|
|
23
|
+
let ComplaintLostPropertyReportChat = class ComplaintLostPropertyReportChat extends BaseModel_1.BaseModel {
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.ComplaintLostPropertyReportChat = ComplaintLostPropertyReportChat;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], ComplaintLostPropertyReportChat.prototype, "request_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], ComplaintLostPropertyReportChat.prototype, "service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], ComplaintLostPropertyReportChat.prototype, "sub_service_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], ComplaintLostPropertyReportChat.prototype, "user_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], ComplaintLostPropertyReportChat.prototype, "message", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], ComplaintLostPropertyReportChat.prototype, "approver_role_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false, default: "Pending" }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], ComplaintLostPropertyReportChat.prototype, "status", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({
|
|
59
|
+
type: "enum",
|
|
60
|
+
enum: ComplaintLostPropertyReportMessageType,
|
|
61
|
+
default: ComplaintLostPropertyReportMessageType.TEXT,
|
|
62
|
+
nullable: false,
|
|
63
|
+
name: "message_type"
|
|
64
|
+
}),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], ComplaintLostPropertyReportChat.prototype, "messageType", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ type: "boolean", nullable: false, default: false }),
|
|
69
|
+
__metadata("design:type", Boolean)
|
|
70
|
+
], ComplaintLostPropertyReportChat.prototype, "is_internal", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
73
|
+
__metadata("design:type", Number)
|
|
74
|
+
], ComplaintLostPropertyReportChat.prototype, "created_by", void 0);
|
|
75
|
+
exports.ComplaintLostPropertyReportChat = ComplaintLostPropertyReportChat = __decorate([
|
|
76
|
+
(0, typeorm_1.Entity)({ name: "complaint_lost_property_report_chats" }),
|
|
77
|
+
__metadata("design:paramtypes", [])
|
|
78
|
+
], ComplaintLostPropertyReportChat);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum ComplaintLostPropertyReportRequestStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class ComplaintLostPropertyReportRequest extends BaseModel {
|
|
9
|
+
req_user_department_id: number | null;
|
|
10
|
+
req_user_section_id: number | null;
|
|
11
|
+
service_id: number | null;
|
|
12
|
+
sub_service_id: number | null;
|
|
13
|
+
user_id: number;
|
|
14
|
+
status: ComplaintLostPropertyReportRequestStatus;
|
|
15
|
+
workflow_execution_id: string | null;
|
|
16
|
+
date_time_of_loss: Date | null;
|
|
17
|
+
location_where_item_was_lost: string;
|
|
18
|
+
item_description: string;
|
|
19
|
+
description: string | null;
|
|
20
|
+
created_by: number;
|
|
21
|
+
reference_number: string | null;
|
|
22
|
+
constructor();
|
|
23
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.ComplaintLostPropertyReportRequest = exports.ComplaintLostPropertyReportRequestStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ComplaintLostPropertyReportRequestStatus;
|
|
16
|
+
(function (ComplaintLostPropertyReportRequestStatus) {
|
|
17
|
+
ComplaintLostPropertyReportRequestStatus["PENDING"] = "Pending";
|
|
18
|
+
ComplaintLostPropertyReportRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
ComplaintLostPropertyReportRequestStatus["APPROVED"] = "Approved";
|
|
20
|
+
ComplaintLostPropertyReportRequestStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(ComplaintLostPropertyReportRequestStatus || (exports.ComplaintLostPropertyReportRequestStatus = ComplaintLostPropertyReportRequestStatus = {}));
|
|
22
|
+
let ComplaintLostPropertyReportRequest = class ComplaintLostPropertyReportRequest extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
exports.ComplaintLostPropertyReportRequest = ComplaintLostPropertyReportRequest;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], ComplaintLostPropertyReportRequest.prototype, "req_user_department_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], ComplaintLostPropertyReportRequest.prototype, "req_user_section_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], ComplaintLostPropertyReportRequest.prototype, "service_id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], ComplaintLostPropertyReportRequest.prototype, "sub_service_id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], ComplaintLostPropertyReportRequest.prototype, "user_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({
|
|
50
|
+
type: "enum",
|
|
51
|
+
enum: ComplaintLostPropertyReportRequestStatus,
|
|
52
|
+
default: ComplaintLostPropertyReportRequestStatus.PENDING,
|
|
53
|
+
nullable: false
|
|
54
|
+
}),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], ComplaintLostPropertyReportRequest.prototype, "status", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], ComplaintLostPropertyReportRequest.prototype, "workflow_execution_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: "timestamptz", nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], ComplaintLostPropertyReportRequest.prototype, "date_time_of_loss", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], ComplaintLostPropertyReportRequest.prototype, "location_where_item_was_lost", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], ComplaintLostPropertyReportRequest.prototype, "item_description", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
75
|
+
__metadata("design:type", Object)
|
|
76
|
+
], ComplaintLostPropertyReportRequest.prototype, "description", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], ComplaintLostPropertyReportRequest.prototype, "created_by", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
|
+
], ComplaintLostPropertyReportRequest.prototype, "reference_number", void 0);
|
|
85
|
+
exports.ComplaintLostPropertyReportRequest = ComplaintLostPropertyReportRequest = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ name: "complaint_lost_property_report_requests" }),
|
|
87
|
+
__metadata("design:paramtypes", [])
|
|
88
|
+
], ComplaintLostPropertyReportRequest);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare class ComplaintLostPropertyReportWorkflow extends BaseModel {
|
|
3
|
+
request_id: number;
|
|
4
|
+
service_id: number;
|
|
5
|
+
sub_service_id: number;
|
|
6
|
+
workflow_definition_id: number;
|
|
7
|
+
current_level: number;
|
|
8
|
+
content: string;
|
|
9
|
+
status: string;
|
|
10
|
+
step_order: number;
|
|
11
|
+
user_id: number;
|
|
12
|
+
role_id: number;
|
|
13
|
+
department_id: number;
|
|
14
|
+
section_id: number;
|
|
15
|
+
workflow_data: string;
|
|
16
|
+
created_by: number;
|
|
17
|
+
constructor();
|
|
18
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.ComplaintLostPropertyReportWorkflow = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ComplaintLostPropertyReportWorkflow = class ComplaintLostPropertyReportWorkflow extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
exports.ComplaintLostPropertyReportWorkflow = ComplaintLostPropertyReportWorkflow;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "request_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "service_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "sub_service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "workflow_definition_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "current_level", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "content", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "status", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "step_order", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "user_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "role_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "department_id", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "section_id", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "workflow_data", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], ComplaintLostPropertyReportWorkflow.prototype, "created_by", void 0);
|
|
77
|
+
exports.ComplaintLostPropertyReportWorkflow = ComplaintLostPropertyReportWorkflow = __decorate([
|
|
78
|
+
(0, typeorm_1.Entity)({ name: "complaint_lost_property_report_workflow" }),
|
|
79
|
+
__metadata("design:paramtypes", [])
|
|
80
|
+
], ComplaintLostPropertyReportWorkflow);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Departments } from './DepartmentsModel';
|
|
2
|
+
import { UUIDBaseModel } from './UUIDBaseModel';
|
|
3
|
+
export declare enum DocumentType {
|
|
4
|
+
POLICY = "policy",
|
|
5
|
+
PROCEDURE = "procedure",
|
|
6
|
+
MANUAL = "manual",
|
|
7
|
+
TEMPLATE = "template",
|
|
8
|
+
REPORT = "report"
|
|
9
|
+
}
|
|
10
|
+
export declare enum DocumentStatus {
|
|
11
|
+
ACTIVE = "active",
|
|
12
|
+
ARCHIVED = "archived",
|
|
13
|
+
DRAFT = "draft"
|
|
14
|
+
}
|
|
15
|
+
export declare enum AccessLevel {
|
|
16
|
+
GENERAL = "general",
|
|
17
|
+
RESTRICTED = "restricted"
|
|
18
|
+
}
|
|
19
|
+
export declare class DocumentMetadata extends UUIDBaseModel {
|
|
20
|
+
title: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
original_name: string;
|
|
23
|
+
mime_type: string;
|
|
24
|
+
size: number;
|
|
25
|
+
mongodb_file_id: string;
|
|
26
|
+
document_type: DocumentType;
|
|
27
|
+
access_level: AccessLevel;
|
|
28
|
+
status: DocumentStatus;
|
|
29
|
+
version: string;
|
|
30
|
+
tags: string[];
|
|
31
|
+
is_sensitive: boolean;
|
|
32
|
+
department: Departments;
|
|
33
|
+
department_id: number;
|
|
34
|
+
folder_id?: string | null;
|
|
35
|
+
folder_path: string;
|
|
36
|
+
uploaded_by: string;
|
|
37
|
+
uploaded_by_name?: string;
|
|
38
|
+
authorized_person?: string;
|
|
39
|
+
allowed_roles: string[];
|
|
40
|
+
allowed_users: string[];
|
|
41
|
+
download_count: number;
|
|
42
|
+
last_accessed_at?: Date;
|
|
43
|
+
metadata?: Record<string, any>;
|
|
44
|
+
constructor(title: string, original_name: string, mime_type: string, size: number, mongodb_file_id: string, document_type: DocumentType, department_id: number, uploaded_by: string, access_level?: AccessLevel, status?: DocumentStatus, version?: string, folder_path?: string, created_by?: string, description?: string, folder_id?: string | null, uploaded_by_name?: string, authorized_person?: string, tags?: string[], allowed_roles?: string[], allowed_users?: string[], is_sensitive?: boolean, download_count?: number, last_accessed_at?: Date, metadata?: Record<string, any>);
|
|
45
|
+
}
|