@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
|
@@ -78,6 +78,10 @@ __decorate([
|
|
|
78
78
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
79
|
__metadata("design:type", String)
|
|
80
80
|
], HousingContractCancelApproval.prototype, "comment", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], HousingContractCancelApproval.prototype, "is_allowed", void 0);
|
|
81
85
|
__decorate([
|
|
82
86
|
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
83
87
|
__metadata("design:type", Number)
|
|
@@ -78,6 +78,10 @@ __decorate([
|
|
|
78
78
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
79
|
__metadata("design:type", String)
|
|
80
80
|
], HousingContractRenewalApproval.prototype, "comment", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], HousingContractRenewalApproval.prototype, "is_allowed", void 0);
|
|
81
85
|
__decorate([
|
|
82
86
|
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
83
87
|
__metadata("design:type", Number)
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum ImportExportMaterialRequestStatus {
|
|
3
|
+
Pending = "Pending",
|
|
4
|
+
Approved = "Approved",
|
|
5
|
+
Rejected = "Rejected",
|
|
6
|
+
RFC = "RFC"
|
|
7
|
+
}
|
|
8
|
+
export declare enum ImportExportMaterialWorkflowStatus {
|
|
9
|
+
Pending = "Pending",
|
|
10
|
+
InProgress = "In Progress",
|
|
11
|
+
Completed = "Completed",
|
|
12
|
+
Approved = "Approved",
|
|
13
|
+
Rejected = "Rejected"
|
|
14
|
+
}
|
|
15
|
+
export declare class ImportExportMaterialPermissionRequest extends BaseModel {
|
|
16
|
+
req_user_department_id: number | null;
|
|
17
|
+
req_user_section_id: number | null;
|
|
18
|
+
service_id: number | null;
|
|
19
|
+
sub_service_id: number | null;
|
|
20
|
+
user_id: number;
|
|
21
|
+
date_of_request: Date;
|
|
22
|
+
/** import | export | both */
|
|
23
|
+
request_type: string;
|
|
24
|
+
requested_material_movement_date: Date;
|
|
25
|
+
hazardous_or_sensitive_details: string | null;
|
|
26
|
+
purpose: string;
|
|
27
|
+
material_name_description: string;
|
|
28
|
+
mode_of_transport: string;
|
|
29
|
+
vehicle_number: string | null;
|
|
30
|
+
description: string;
|
|
31
|
+
status: string;
|
|
32
|
+
workflow_execution_id: string | null;
|
|
33
|
+
created_by: number;
|
|
34
|
+
}
|
|
35
|
+
export declare enum ImportExportMaterialApprovalStatus {
|
|
36
|
+
Pending = "Pending",
|
|
37
|
+
InProgress = "In Progress",
|
|
38
|
+
Approved = "Approved",
|
|
39
|
+
Rejected = "Rejected",
|
|
40
|
+
Reassigned = "Reassigned"
|
|
41
|
+
}
|
|
42
|
+
export declare class ImportExportMaterialPermissionApproval extends BaseModel {
|
|
43
|
+
request_id: number;
|
|
44
|
+
service_id: number | null;
|
|
45
|
+
sub_service_id: number | null;
|
|
46
|
+
level: number;
|
|
47
|
+
approver_user_id: number | null;
|
|
48
|
+
approver_role_id: number | null;
|
|
49
|
+
department_id: number | null;
|
|
50
|
+
section_id: number | null;
|
|
51
|
+
delegate_user_id: number | null;
|
|
52
|
+
comment: string;
|
|
53
|
+
approval_status: string;
|
|
54
|
+
}
|
|
55
|
+
export declare class ImportExportMaterialPermissionWorkflow extends BaseModel {
|
|
56
|
+
request_id: number;
|
|
57
|
+
service_id: number | null;
|
|
58
|
+
sub_service_id: number | null;
|
|
59
|
+
workflow_definition_id: number | null;
|
|
60
|
+
current_level: number | null;
|
|
61
|
+
content: string | null;
|
|
62
|
+
status: string;
|
|
63
|
+
step_order: number | null;
|
|
64
|
+
user_id: number | null;
|
|
65
|
+
role_id: number | null;
|
|
66
|
+
department_id: number | null;
|
|
67
|
+
section_id: number | null;
|
|
68
|
+
workflow_data: string | null;
|
|
69
|
+
created_by: number;
|
|
70
|
+
}
|
|
71
|
+
export declare class ImportExportMaterialPermissionChat extends BaseModel {
|
|
72
|
+
request_id: number;
|
|
73
|
+
service_id: number;
|
|
74
|
+
sub_service_id: number;
|
|
75
|
+
user_id: number;
|
|
76
|
+
approver_role_id: number | null;
|
|
77
|
+
message: string;
|
|
78
|
+
message_type: string;
|
|
79
|
+
status: string | null;
|
|
80
|
+
is_internal: boolean;
|
|
81
|
+
created_by: number;
|
|
82
|
+
}
|
|
83
|
+
export declare class ImportExportMaterialPermissionAttachment extends BaseModel {
|
|
84
|
+
request_id: number;
|
|
85
|
+
service_id: number;
|
|
86
|
+
sub_service_id: number;
|
|
87
|
+
file_name: string;
|
|
88
|
+
file_url: string;
|
|
89
|
+
file_type: string | null;
|
|
90
|
+
file_size: number | null;
|
|
91
|
+
created_by: number;
|
|
92
|
+
}
|
|
@@ -0,0 +1,307 @@
|
|
|
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.ImportExportMaterialPermissionAttachment = exports.ImportExportMaterialPermissionChat = exports.ImportExportMaterialPermissionWorkflow = exports.ImportExportMaterialPermissionApproval = exports.ImportExportMaterialApprovalStatus = exports.ImportExportMaterialPermissionRequest = exports.ImportExportMaterialWorkflowStatus = exports.ImportExportMaterialRequestStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ImportExportMaterialRequestStatus;
|
|
16
|
+
(function (ImportExportMaterialRequestStatus) {
|
|
17
|
+
ImportExportMaterialRequestStatus["Pending"] = "Pending";
|
|
18
|
+
ImportExportMaterialRequestStatus["Approved"] = "Approved";
|
|
19
|
+
ImportExportMaterialRequestStatus["Rejected"] = "Rejected";
|
|
20
|
+
ImportExportMaterialRequestStatus["RFC"] = "RFC";
|
|
21
|
+
})(ImportExportMaterialRequestStatus || (exports.ImportExportMaterialRequestStatus = ImportExportMaterialRequestStatus = {}));
|
|
22
|
+
var ImportExportMaterialWorkflowStatus;
|
|
23
|
+
(function (ImportExportMaterialWorkflowStatus) {
|
|
24
|
+
ImportExportMaterialWorkflowStatus["Pending"] = "Pending";
|
|
25
|
+
ImportExportMaterialWorkflowStatus["InProgress"] = "In Progress";
|
|
26
|
+
ImportExportMaterialWorkflowStatus["Completed"] = "Completed";
|
|
27
|
+
ImportExportMaterialWorkflowStatus["Approved"] = "Approved";
|
|
28
|
+
ImportExportMaterialWorkflowStatus["Rejected"] = "Rejected";
|
|
29
|
+
})(ImportExportMaterialWorkflowStatus || (exports.ImportExportMaterialWorkflowStatus = ImportExportMaterialWorkflowStatus = {}));
|
|
30
|
+
let ImportExportMaterialPermissionRequest = class ImportExportMaterialPermissionRequest extends BaseModel_1.BaseModel {
|
|
31
|
+
};
|
|
32
|
+
exports.ImportExportMaterialPermissionRequest = ImportExportMaterialPermissionRequest;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], ImportExportMaterialPermissionRequest.prototype, "req_user_department_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], ImportExportMaterialPermissionRequest.prototype, "req_user_section_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], ImportExportMaterialPermissionRequest.prototype, "service_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], ImportExportMaterialPermissionRequest.prototype, "sub_service_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], ImportExportMaterialPermissionRequest.prototype, "user_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
55
|
+
__metadata("design:type", Date)
|
|
56
|
+
], ImportExportMaterialPermissionRequest.prototype, "date_of_request", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: false }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], ImportExportMaterialPermissionRequest.prototype, "request_type", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
63
|
+
__metadata("design:type", Date)
|
|
64
|
+
], ImportExportMaterialPermissionRequest.prototype, "requested_material_movement_date", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
|
+
], ImportExportMaterialPermissionRequest.prototype, "hazardous_or_sensitive_details", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], ImportExportMaterialPermissionRequest.prototype, "purpose", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], ImportExportMaterialPermissionRequest.prototype, "material_name_description", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 120, nullable: false }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], ImportExportMaterialPermissionRequest.prototype, "mode_of_transport", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 80, nullable: true }),
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
|
+
], ImportExportMaterialPermissionRequest.prototype, "vehicle_number", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], ImportExportMaterialPermissionRequest.prototype, "description", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false, default: ImportExportMaterialRequestStatus.Pending }),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], ImportExportMaterialPermissionRequest.prototype, "status", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
95
|
+
__metadata("design:type", Object)
|
|
96
|
+
], ImportExportMaterialPermissionRequest.prototype, "workflow_execution_id", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
99
|
+
__metadata("design:type", Number)
|
|
100
|
+
], ImportExportMaterialPermissionRequest.prototype, "created_by", void 0);
|
|
101
|
+
exports.ImportExportMaterialPermissionRequest = ImportExportMaterialPermissionRequest = __decorate([
|
|
102
|
+
(0, typeorm_1.Entity)({ name: "import_export_material_permission_requests" })
|
|
103
|
+
], ImportExportMaterialPermissionRequest);
|
|
104
|
+
var ImportExportMaterialApprovalStatus;
|
|
105
|
+
(function (ImportExportMaterialApprovalStatus) {
|
|
106
|
+
ImportExportMaterialApprovalStatus["Pending"] = "Pending";
|
|
107
|
+
ImportExportMaterialApprovalStatus["InProgress"] = "In Progress";
|
|
108
|
+
ImportExportMaterialApprovalStatus["Approved"] = "Approved";
|
|
109
|
+
ImportExportMaterialApprovalStatus["Rejected"] = "Rejected";
|
|
110
|
+
ImportExportMaterialApprovalStatus["Reassigned"] = "Reassigned";
|
|
111
|
+
})(ImportExportMaterialApprovalStatus || (exports.ImportExportMaterialApprovalStatus = ImportExportMaterialApprovalStatus = {}));
|
|
112
|
+
let ImportExportMaterialPermissionApproval = class ImportExportMaterialPermissionApproval extends BaseModel_1.BaseModel {
|
|
113
|
+
};
|
|
114
|
+
exports.ImportExportMaterialPermissionApproval = ImportExportMaterialPermissionApproval;
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
117
|
+
__metadata("design:type", Number)
|
|
118
|
+
], ImportExportMaterialPermissionApproval.prototype, "request_id", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
121
|
+
__metadata("design:type", Object)
|
|
122
|
+
], ImportExportMaterialPermissionApproval.prototype, "service_id", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
125
|
+
__metadata("design:type", Object)
|
|
126
|
+
], ImportExportMaterialPermissionApproval.prototype, "sub_service_id", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
129
|
+
__metadata("design:type", Number)
|
|
130
|
+
], ImportExportMaterialPermissionApproval.prototype, "level", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
133
|
+
__metadata("design:type", Object)
|
|
134
|
+
], ImportExportMaterialPermissionApproval.prototype, "approver_user_id", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
137
|
+
__metadata("design:type", Object)
|
|
138
|
+
], ImportExportMaterialPermissionApproval.prototype, "approver_role_id", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
141
|
+
__metadata("design:type", Object)
|
|
142
|
+
], ImportExportMaterialPermissionApproval.prototype, "department_id", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
145
|
+
__metadata("design:type", Object)
|
|
146
|
+
], ImportExportMaterialPermissionApproval.prototype, "section_id", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
149
|
+
__metadata("design:type", Object)
|
|
150
|
+
], ImportExportMaterialPermissionApproval.prototype, "delegate_user_id", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true, default: "" }),
|
|
153
|
+
__metadata("design:type", String)
|
|
154
|
+
], ImportExportMaterialPermissionApproval.prototype, "comment", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false, default: ImportExportMaterialApprovalStatus.Pending }),
|
|
157
|
+
__metadata("design:type", String)
|
|
158
|
+
], ImportExportMaterialPermissionApproval.prototype, "approval_status", void 0);
|
|
159
|
+
exports.ImportExportMaterialPermissionApproval = ImportExportMaterialPermissionApproval = __decorate([
|
|
160
|
+
(0, typeorm_1.Entity)({ name: "import_export_material_permission_approvals" })
|
|
161
|
+
], ImportExportMaterialPermissionApproval);
|
|
162
|
+
let ImportExportMaterialPermissionWorkflow = class ImportExportMaterialPermissionWorkflow extends BaseModel_1.BaseModel {
|
|
163
|
+
};
|
|
164
|
+
exports.ImportExportMaterialPermissionWorkflow = ImportExportMaterialPermissionWorkflow;
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
167
|
+
__metadata("design:type", Number)
|
|
168
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "request_id", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
171
|
+
__metadata("design:type", Object)
|
|
172
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "service_id", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
175
|
+
__metadata("design:type", Object)
|
|
176
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "sub_service_id", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
179
|
+
__metadata("design:type", Object)
|
|
180
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "workflow_definition_id", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
183
|
+
__metadata("design:type", Object)
|
|
184
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "current_level", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
|
|
187
|
+
__metadata("design:type", Object)
|
|
188
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "content", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false }),
|
|
191
|
+
__metadata("design:type", String)
|
|
192
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "status", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
195
|
+
__metadata("design:type", Object)
|
|
196
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "step_order", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
199
|
+
__metadata("design:type", Object)
|
|
200
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "user_id", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
203
|
+
__metadata("design:type", Object)
|
|
204
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "role_id", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
207
|
+
__metadata("design:type", Object)
|
|
208
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "department_id", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
211
|
+
__metadata("design:type", Object)
|
|
212
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "section_id", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
215
|
+
__metadata("design:type", Object)
|
|
216
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "workflow_data", void 0);
|
|
217
|
+
__decorate([
|
|
218
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
219
|
+
__metadata("design:type", Number)
|
|
220
|
+
], ImportExportMaterialPermissionWorkflow.prototype, "created_by", void 0);
|
|
221
|
+
exports.ImportExportMaterialPermissionWorkflow = ImportExportMaterialPermissionWorkflow = __decorate([
|
|
222
|
+
(0, typeorm_1.Entity)({ name: "import_export_material_permission_workflow" })
|
|
223
|
+
], ImportExportMaterialPermissionWorkflow);
|
|
224
|
+
let ImportExportMaterialPermissionChat = class ImportExportMaterialPermissionChat extends BaseModel_1.BaseModel {
|
|
225
|
+
};
|
|
226
|
+
exports.ImportExportMaterialPermissionChat = ImportExportMaterialPermissionChat;
|
|
227
|
+
__decorate([
|
|
228
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
229
|
+
__metadata("design:type", Number)
|
|
230
|
+
], ImportExportMaterialPermissionChat.prototype, "request_id", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
233
|
+
__metadata("design:type", Number)
|
|
234
|
+
], ImportExportMaterialPermissionChat.prototype, "service_id", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
237
|
+
__metadata("design:type", Number)
|
|
238
|
+
], ImportExportMaterialPermissionChat.prototype, "sub_service_id", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
241
|
+
__metadata("design:type", Number)
|
|
242
|
+
], ImportExportMaterialPermissionChat.prototype, "user_id", void 0);
|
|
243
|
+
__decorate([
|
|
244
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
245
|
+
__metadata("design:type", Object)
|
|
246
|
+
], ImportExportMaterialPermissionChat.prototype, "approver_role_id", void 0);
|
|
247
|
+
__decorate([
|
|
248
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
249
|
+
__metadata("design:type", String)
|
|
250
|
+
], ImportExportMaterialPermissionChat.prototype, "message", void 0);
|
|
251
|
+
__decorate([
|
|
252
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false, default: "text" }),
|
|
253
|
+
__metadata("design:type", String)
|
|
254
|
+
], ImportExportMaterialPermissionChat.prototype, "message_type", void 0);
|
|
255
|
+
__decorate([
|
|
256
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: true }),
|
|
257
|
+
__metadata("design:type", Object)
|
|
258
|
+
], ImportExportMaterialPermissionChat.prototype, "status", void 0);
|
|
259
|
+
__decorate([
|
|
260
|
+
(0, typeorm_1.Column)({ type: "boolean", nullable: false, default: false }),
|
|
261
|
+
__metadata("design:type", Boolean)
|
|
262
|
+
], ImportExportMaterialPermissionChat.prototype, "is_internal", void 0);
|
|
263
|
+
__decorate([
|
|
264
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
265
|
+
__metadata("design:type", Number)
|
|
266
|
+
], ImportExportMaterialPermissionChat.prototype, "created_by", void 0);
|
|
267
|
+
exports.ImportExportMaterialPermissionChat = ImportExportMaterialPermissionChat = __decorate([
|
|
268
|
+
(0, typeorm_1.Entity)({ name: "import_export_material_permission_chat" })
|
|
269
|
+
], ImportExportMaterialPermissionChat);
|
|
270
|
+
let ImportExportMaterialPermissionAttachment = class ImportExportMaterialPermissionAttachment extends BaseModel_1.BaseModel {
|
|
271
|
+
};
|
|
272
|
+
exports.ImportExportMaterialPermissionAttachment = ImportExportMaterialPermissionAttachment;
|
|
273
|
+
__decorate([
|
|
274
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
275
|
+
__metadata("design:type", Number)
|
|
276
|
+
], ImportExportMaterialPermissionAttachment.prototype, "request_id", void 0);
|
|
277
|
+
__decorate([
|
|
278
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
279
|
+
__metadata("design:type", Number)
|
|
280
|
+
], ImportExportMaterialPermissionAttachment.prototype, "service_id", void 0);
|
|
281
|
+
__decorate([
|
|
282
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
283
|
+
__metadata("design:type", Number)
|
|
284
|
+
], ImportExportMaterialPermissionAttachment.prototype, "sub_service_id", void 0);
|
|
285
|
+
__decorate([
|
|
286
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
287
|
+
__metadata("design:type", String)
|
|
288
|
+
], ImportExportMaterialPermissionAttachment.prototype, "file_name", void 0);
|
|
289
|
+
__decorate([
|
|
290
|
+
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
291
|
+
__metadata("design:type", String)
|
|
292
|
+
], ImportExportMaterialPermissionAttachment.prototype, "file_url", void 0);
|
|
293
|
+
__decorate([
|
|
294
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 120, nullable: true }),
|
|
295
|
+
__metadata("design:type", Object)
|
|
296
|
+
], ImportExportMaterialPermissionAttachment.prototype, "file_type", void 0);
|
|
297
|
+
__decorate([
|
|
298
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
299
|
+
__metadata("design:type", Object)
|
|
300
|
+
], ImportExportMaterialPermissionAttachment.prototype, "file_size", void 0);
|
|
301
|
+
__decorate([
|
|
302
|
+
(0, typeorm_1.Column)({ type: "int", nullable: false }),
|
|
303
|
+
__metadata("design:type", Number)
|
|
304
|
+
], ImportExportMaterialPermissionAttachment.prototype, "created_by", void 0);
|
|
305
|
+
exports.ImportExportMaterialPermissionAttachment = ImportExportMaterialPermissionAttachment = __decorate([
|
|
306
|
+
(0, typeorm_1.Entity)({ name: "import_export_material_permission_attachments" })
|
|
307
|
+
], ImportExportMaterialPermissionAttachment);
|
|
@@ -79,6 +79,10 @@ __decorate([
|
|
|
79
79
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
80
80
|
__metadata("design:type", String)
|
|
81
81
|
], LegalComplaintApproval.prototype, "comment", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
84
|
+
__metadata("design:type", Boolean)
|
|
85
|
+
], LegalComplaintApproval.prototype, "is_allowed", void 0);
|
|
82
86
|
__decorate([
|
|
83
87
|
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
84
88
|
__metadata("design:type", Number)
|
|
@@ -80,6 +80,10 @@ __decorate([
|
|
|
80
80
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
81
81
|
__metadata("design:type", String)
|
|
82
82
|
], LegalConsultationApproval.prototype, "comment", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
85
|
+
__metadata("design:type", Boolean)
|
|
86
|
+
], LegalConsultationApproval.prototype, "is_allowed", void 0);
|
|
83
87
|
__decorate([
|
|
84
88
|
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
85
89
|
__metadata("design:type", Number)
|
|
@@ -78,6 +78,10 @@ __decorate([
|
|
|
78
78
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
79
|
__metadata("design:type", String)
|
|
80
80
|
], ResidentialUnitRentalApproval.prototype, "comment", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], ResidentialUnitRentalApproval.prototype, "is_allowed", void 0);
|
|
81
85
|
__decorate([
|
|
82
86
|
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
83
87
|
__metadata("design:type", Number)
|
|
@@ -27,6 +27,10 @@ __decorate([
|
|
|
27
27
|
(0, typeorm_1.Column)({ type: "varchar", length: 320, nullable: false }),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
29
|
], ScholarshipAttendee.prototype, "attendee_email", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], ScholarshipAttendee.prototype, "attendee_job_title", void 0);
|
|
30
34
|
exports.ScholarshipAttendee = ScholarshipAttendee = __decorate([
|
|
31
35
|
(0, typeorm_1.Entity)({ name: "scholarship_attendees" })
|
|
32
36
|
], ScholarshipAttendee);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum SecurityAccessApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected",
|
|
7
|
+
RFC = "RFC",
|
|
8
|
+
REASSIGNED = "Reassigned"
|
|
9
|
+
}
|
|
10
|
+
export declare class SecurityAccessApproval extends BaseModel {
|
|
11
|
+
request_id: number;
|
|
12
|
+
service_id: number | null;
|
|
13
|
+
sub_service_id: number | null;
|
|
14
|
+
level: number;
|
|
15
|
+
approver_user_id: number | null;
|
|
16
|
+
approver_role_id: number | null;
|
|
17
|
+
department_id: number | null;
|
|
18
|
+
section_id: number | null;
|
|
19
|
+
delegate_user_id: number | null;
|
|
20
|
+
approved_by: number | null;
|
|
21
|
+
comment: string;
|
|
22
|
+
approval_status: SecurityAccessApprovalStatus;
|
|
23
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.SecurityAccessApproval = exports.SecurityAccessApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var SecurityAccessApprovalStatus;
|
|
16
|
+
(function (SecurityAccessApprovalStatus) {
|
|
17
|
+
SecurityAccessApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
SecurityAccessApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
SecurityAccessApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
SecurityAccessApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
SecurityAccessApprovalStatus["RFC"] = "RFC";
|
|
22
|
+
SecurityAccessApprovalStatus["REASSIGNED"] = "Reassigned";
|
|
23
|
+
})(SecurityAccessApprovalStatus || (exports.SecurityAccessApprovalStatus = SecurityAccessApprovalStatus = {}));
|
|
24
|
+
let SecurityAccessApproval = class SecurityAccessApproval extends BaseModel_1.BaseModel {
|
|
25
|
+
};
|
|
26
|
+
exports.SecurityAccessApproval = SecurityAccessApproval;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], SecurityAccessApproval.prototype, "request_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], SecurityAccessApproval.prototype, "service_id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], SecurityAccessApproval.prototype, "sub_service_id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], SecurityAccessApproval.prototype, "level", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], SecurityAccessApproval.prototype, "approver_user_id", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
49
|
+
__metadata("design:type", Object)
|
|
50
|
+
], SecurityAccessApproval.prototype, "approver_role_id", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
53
|
+
__metadata("design:type", Object)
|
|
54
|
+
], SecurityAccessApproval.prototype, "department_id", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
57
|
+
__metadata("design:type", Object)
|
|
58
|
+
], SecurityAccessApproval.prototype, "section_id", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
61
|
+
__metadata("design:type", Object)
|
|
62
|
+
], SecurityAccessApproval.prototype, "delegate_user_id", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
65
|
+
__metadata("design:type", Object)
|
|
66
|
+
], SecurityAccessApproval.prototype, "approved_by", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true, default: "" }),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], SecurityAccessApproval.prototype, "comment", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({
|
|
73
|
+
type: "enum",
|
|
74
|
+
enum: SecurityAccessApprovalStatus,
|
|
75
|
+
default: SecurityAccessApprovalStatus.PENDING,
|
|
76
|
+
nullable: false,
|
|
77
|
+
}),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], SecurityAccessApproval.prototype, "approval_status", void 0);
|
|
80
|
+
exports.SecurityAccessApproval = SecurityAccessApproval = __decorate([
|
|
81
|
+
(0, typeorm_1.Entity)({ name: "security_access_approvals" })
|
|
82
|
+
], SecurityAccessApproval);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare class SecurityAccessRequestAttachment 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 | null;
|
|
8
|
+
file_type: string | null;
|
|
9
|
+
file_size: number | null;
|
|
10
|
+
attachment_kind: string | null;
|
|
11
|
+
uploaded_by: number | null;
|
|
12
|
+
}
|