@platform-modules/civil-aviation-authority 2.3.138 → 2.3.141
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 +20 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +11 -0
- package/dist/models/LegalConsultationApprovalModel.d.ts +23 -0
- package/dist/models/LegalConsultationApprovalModel.js +88 -0
- package/dist/models/LegalConsultationAttachmentModel.d.ts +12 -0
- package/dist/models/LegalConsultationAttachmentModel.js +56 -0
- package/dist/models/LegalConsultationChatModel.d.ts +28 -0
- package/dist/models/LegalConsultationChatModel.js +80 -0
- package/dist/models/LegalConsultationRequestModel.d.ts +24 -0
- package/dist/models/LegalConsultationRequestModel.js +83 -0
- package/dist/models/LegalConsultationWorkflowModel.d.ts +25 -0
- package/dist/models/LegalConsultationWorkflowModel.js +88 -0
- package/dist/models/ScholarshipApprovalModel.d.ts +22 -0
- package/dist/models/ScholarshipApprovalModel.js +84 -0
- package/dist/models/ScholarshipAttachmentModel.d.ts +12 -0
- package/dist/models/ScholarshipAttachmentModel.js +56 -0
- package/dist/models/ScholarshipChatModel.d.ts +18 -0
- package/dist/models/ScholarshipChatModel.js +65 -0
- package/dist/models/ScholarshipRequestModel.d.ts +30 -0
- package/dist/models/ScholarshipRequestModel.js +94 -0
- package/dist/models/ScholarshipWorkflowModel.d.ts +19 -0
- package/dist/models/ScholarshipWorkflowModel.js +66 -0
- package/package.json +1 -1
- package/src/data-source.ts +20 -0
- package/src/index.ts +12 -0
- package/src/models/AccommodationApprovalModel.ts +8 -8
- package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
- package/src/models/AnnualIncrementRequestModel.ts +25 -25
- package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +23 -23
- package/src/models/CAAServices.ts +33 -33
- package/src/models/CAASubServices.ts +33 -33
- package/src/models/CAIRatingMasterModel.ts +39 -39
- package/src/models/CSRMBusinessImpactRatingMasterModel.ts +25 -25
- package/src/models/CSRMLikelihoodMasterModel.ts +25 -25
- package/src/models/CashAllowanceLeaveRequestModel.ts +11 -11
- package/src/models/CyberSecurityAuditRequestModel.ts +32 -32
- package/src/models/HrServiceRequestModel.ts +193 -193
- package/src/models/LegalConsultationApprovalModel.ts +60 -0
- package/src/models/LegalConsultationAttachmentModel.ts +33 -0
- package/src/models/LegalConsultationChatModel.ts +55 -0
- package/src/models/LegalConsultationRequestModel.ts +56 -0
- package/src/models/LegalConsultationWorkflowModel.ts +59 -0
- package/src/models/PerformanceCyclePeriodModel.ts +26 -26
- package/src/models/PerformanceGoalMasterModel.ts +27 -27
- package/src/models/PerformanceManagementRequestGoalModel.ts +46 -46
- package/src/models/PerformanceManagementRequestModel.ts +14 -14
- package/src/models/PromotionRequestModel.ts +11 -11
- package/src/models/ScholarshipApprovalModel.ts +56 -0
- package/src/models/ScholarshipAttachmentModel.ts +32 -0
- package/src/models/ScholarshipChatModel.ts +42 -0
- package/src/models/ScholarshipRequestModel.ts +64 -0
- package/src/models/ScholarshipWorkflowModel.ts +42 -0
- package/src/models/UserSkillModel.ts +56 -56
- package/dist/models/ITApprovalSettings.d.ts +0 -7
- package/dist/models/ITApprovalSettings.js +0 -40
- package/dist/models/ITServicesTypesMuscatModel.d.ts +0 -6
- package/dist/models/ITServicesTypesMuscatModel.js +0 -34
- package/dist/models/ITServicesTypesSalalahModel.d.ts +0 -6
- package/dist/models/ITServicesTypesSalalahModel.js +0 -34
- package/dist/models/Workflows.d.ts +0 -9
- package/dist/models/Workflows.js +0 -31
package/dist/data-source.js
CHANGED
|
@@ -116,6 +116,11 @@ const StudyLeaveWorkflowModel_1 = require("./models/StudyLeaveWorkflowModel");
|
|
|
116
116
|
const StudyLeaveApprovalModel_1 = require("./models/StudyLeaveApprovalModel");
|
|
117
117
|
const StudyLeaveChatModel_1 = require("./models/StudyLeaveChatModel");
|
|
118
118
|
const StudyLeaveAttachmentModel_1 = require("./models/StudyLeaveAttachmentModel");
|
|
119
|
+
const ScholarshipRequestModel_1 = require("./models/ScholarshipRequestModel");
|
|
120
|
+
const ScholarshipApprovalModel_1 = require("./models/ScholarshipApprovalModel");
|
|
121
|
+
const ScholarshipAttachmentModel_1 = require("./models/ScholarshipAttachmentModel");
|
|
122
|
+
const ScholarshipChatModel_1 = require("./models/ScholarshipChatModel");
|
|
123
|
+
const ScholarshipWorkflowModel_1 = require("./models/ScholarshipWorkflowModel");
|
|
119
124
|
const AnnualTrainingPlanRequestModel_1 = require("./models/AnnualTrainingPlanRequestModel");
|
|
120
125
|
const AnnualTrainingPlanWorkflowModel_1 = require("./models/AnnualTrainingPlanWorkflowModel");
|
|
121
126
|
const AnnualTrainingPlanApprovalModel_1 = require("./models/AnnualTrainingPlanApprovalModel");
|
|
@@ -150,6 +155,11 @@ const AccommodationChatModel_1 = require("./models/AccommodationChatModel");
|
|
|
150
155
|
const AccommodationAttachmentModel_1 = require("./models/AccommodationAttachmentModel");
|
|
151
156
|
const AssetApartmentTypeModel_1 = require("./models/AssetApartmentTypeModel");
|
|
152
157
|
const AssetUnitLocationModel_1 = require("./models/AssetUnitLocationModel");
|
|
158
|
+
const LegalConsultationRequestModel_1 = require("./models/LegalConsultationRequestModel");
|
|
159
|
+
const LegalConsultationWorkflowModel_1 = require("./models/LegalConsultationWorkflowModel");
|
|
160
|
+
const LegalConsultationApprovalModel_1 = require("./models/LegalConsultationApprovalModel");
|
|
161
|
+
const LegalConsultationChatModel_1 = require("./models/LegalConsultationChatModel");
|
|
162
|
+
const LegalConsultationAttachmentModel_1 = require("./models/LegalConsultationAttachmentModel");
|
|
153
163
|
exports.AppDataSource = new typeorm_1.DataSource({
|
|
154
164
|
type: 'postgres',
|
|
155
165
|
host: process.env.DB_HOST || 'localhost',
|
|
@@ -250,6 +260,11 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
250
260
|
StudyLeaveApprovalModel_1.StudyLeaveApprovalDetails,
|
|
251
261
|
StudyLeaveChatModel_1.StudyLeaveRequestChat,
|
|
252
262
|
StudyLeaveAttachmentModel_1.StudyLeaveRequestAttachment,
|
|
263
|
+
ScholarshipRequestModel_1.ScholarshipRequests,
|
|
264
|
+
ScholarshipApprovalModel_1.ScholarshipApprovalDetails,
|
|
265
|
+
ScholarshipAttachmentModel_1.ScholarshipRequestAttachment,
|
|
266
|
+
ScholarshipChatModel_1.ScholarshipRequestChat,
|
|
267
|
+
ScholarshipWorkflowModel_1.ScholarshipWorkFlow,
|
|
253
268
|
AnnualTrainingPlanRequestModel_1.AnnualTrainingPlanRequest,
|
|
254
269
|
AnnualTrainingPlanWorkflowModel_1.AnnualTrainingPlanWorkFlow,
|
|
255
270
|
AnnualTrainingPlanApprovalModel_1.AnnualTrainingPlanApprovalDetails,
|
|
@@ -296,6 +311,11 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
296
311
|
AccommodationAttachmentModel_1.AccommodationAttachment,
|
|
297
312
|
AssetApartmentTypeModel_1.AssetApartmentType,
|
|
298
313
|
AssetUnitLocationModel_1.AssetUnitLocation,
|
|
314
|
+
LegalConsultationRequestModel_1.LegalConsultationRequest,
|
|
315
|
+
LegalConsultationWorkflowModel_1.LegalConsultationWorkflow,
|
|
316
|
+
LegalConsultationApprovalModel_1.LegalConsultationApproval,
|
|
317
|
+
LegalConsultationChatModel_1.LegalConsultationChat,
|
|
318
|
+
LegalConsultationAttachmentModel_1.LegalConsultationAttachment,
|
|
299
319
|
DocumentModel_1.Document,
|
|
300
320
|
DocumentFolderModel_1.DocumentFolder,
|
|
301
321
|
DocumentDriveModel_1.DocumentDrive,
|
package/dist/index.d.ts
CHANGED
|
@@ -89,6 +89,11 @@ export * from './models/StudyLeaveWorkflowModel';
|
|
|
89
89
|
export * from './models/StudyLeaveApprovalModel';
|
|
90
90
|
export * from './models/StudyLeaveChatModel';
|
|
91
91
|
export * from './models/StudyLeaveAttachmentModel';
|
|
92
|
+
export * from './models/ScholarshipRequestModel';
|
|
93
|
+
export * from './models/ScholarshipApprovalModel';
|
|
94
|
+
export * from './models/ScholarshipAttachmentModel';
|
|
95
|
+
export * from './models/ScholarshipChatModel';
|
|
96
|
+
export * from './models/ScholarshipWorkflowModel';
|
|
92
97
|
export { HrServiceRequestStatus } from './models/HrServiceRequestModel';
|
|
93
98
|
export { HrServiceApprovalStatus } from './models/HrServiceApprovalModel';
|
|
94
99
|
export { HrServiceWorkFlowStatus } from './models/HrServiceWorkflowModel';
|
|
@@ -273,5 +278,10 @@ export * from './models/HousingContractCancelWorkflowModel';
|
|
|
273
278
|
export * from './models/HousingContractCancelApprovalModel';
|
|
274
279
|
export * from './models/HousingContractCancelChatModel';
|
|
275
280
|
export * from './models/HousingContractCancelAttachmentModel';
|
|
281
|
+
export * from './models/LegalConsultationRequestModel';
|
|
282
|
+
export * from './models/LegalConsultationWorkflowModel';
|
|
283
|
+
export * from './models/LegalConsultationApprovalModel';
|
|
284
|
+
export * from './models/LegalConsultationChatModel';
|
|
285
|
+
export * from './models/LegalConsultationAttachmentModel';
|
|
276
286
|
export * from './models/AssetApartmentTypeModel';
|
|
277
287
|
export * from './models/AssetUnitLocationModel';
|
package/dist/index.js
CHANGED
|
@@ -117,6 +117,11 @@ __exportStar(require("./models/StudyLeaveWorkflowModel"), exports);
|
|
|
117
117
|
__exportStar(require("./models/StudyLeaveApprovalModel"), exports);
|
|
118
118
|
__exportStar(require("./models/StudyLeaveChatModel"), exports);
|
|
119
119
|
__exportStar(require("./models/StudyLeaveAttachmentModel"), exports);
|
|
120
|
+
__exportStar(require("./models/ScholarshipRequestModel"), exports);
|
|
121
|
+
__exportStar(require("./models/ScholarshipApprovalModel"), exports);
|
|
122
|
+
__exportStar(require("./models/ScholarshipAttachmentModel"), exports);
|
|
123
|
+
__exportStar(require("./models/ScholarshipChatModel"), exports);
|
|
124
|
+
__exportStar(require("./models/ScholarshipWorkflowModel"), exports);
|
|
120
125
|
var HrServiceRequestModel_1 = require("./models/HrServiceRequestModel");
|
|
121
126
|
Object.defineProperty(exports, "HrServiceRequestStatus", { enumerable: true, get: function () { return HrServiceRequestModel_1.HrServiceRequestStatus; } });
|
|
122
127
|
var HrServiceApprovalModel_1 = require("./models/HrServiceApprovalModel");
|
|
@@ -423,6 +428,12 @@ __exportStar(require("./models/HousingContractCancelWorkflowModel"), exports);
|
|
|
423
428
|
__exportStar(require("./models/HousingContractCancelApprovalModel"), exports);
|
|
424
429
|
__exportStar(require("./models/HousingContractCancelChatModel"), exports);
|
|
425
430
|
__exportStar(require("./models/HousingContractCancelAttachmentModel"), exports);
|
|
431
|
+
// Legal Consultation — Review of Administrative Decisions
|
|
432
|
+
__exportStar(require("./models/LegalConsultationRequestModel"), exports);
|
|
433
|
+
__exportStar(require("./models/LegalConsultationWorkflowModel"), exports);
|
|
434
|
+
__exportStar(require("./models/LegalConsultationApprovalModel"), exports);
|
|
435
|
+
__exportStar(require("./models/LegalConsultationChatModel"), exports);
|
|
436
|
+
__exportStar(require("./models/LegalConsultationAttachmentModel"), exports);
|
|
426
437
|
// Asset Affairs Admin Configuration
|
|
427
438
|
__exportStar(require("./models/AssetApartmentTypeModel"), exports);
|
|
428
439
|
__exportStar(require("./models/AssetUnitLocationModel"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum LegalConsultationApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class LegalConsultationApproval extends BaseModel {
|
|
9
|
+
request_id: number;
|
|
10
|
+
service_id: number;
|
|
11
|
+
sub_service_id: number;
|
|
12
|
+
approver_role_id: number;
|
|
13
|
+
approver_user_id: number;
|
|
14
|
+
delegate_user_id: number;
|
|
15
|
+
approved_by: number;
|
|
16
|
+
department_id: number;
|
|
17
|
+
section_id: number;
|
|
18
|
+
level: number;
|
|
19
|
+
approval_status: LegalConsultationApprovalStatus;
|
|
20
|
+
comment: string;
|
|
21
|
+
created_by: number;
|
|
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.LegalConsultationApproval = exports.LegalConsultationApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var LegalConsultationApprovalStatus;
|
|
16
|
+
(function (LegalConsultationApprovalStatus) {
|
|
17
|
+
LegalConsultationApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
LegalConsultationApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
LegalConsultationApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
LegalConsultationApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(LegalConsultationApprovalStatus || (exports.LegalConsultationApprovalStatus = LegalConsultationApprovalStatus = {}));
|
|
22
|
+
let LegalConsultationApproval = class LegalConsultationApproval extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
exports.LegalConsultationApproval = LegalConsultationApproval;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], LegalConsultationApproval.prototype, "request_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], LegalConsultationApproval.prototype, "service_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], LegalConsultationApproval.prototype, "sub_service_id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], LegalConsultationApproval.prototype, "approver_role_id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], LegalConsultationApproval.prototype, "approver_user_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], LegalConsultationApproval.prototype, "delegate_user_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], LegalConsultationApproval.prototype, "approved_by", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], LegalConsultationApproval.prototype, "department_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], LegalConsultationApproval.prototype, "section_id", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], LegalConsultationApproval.prototype, "level", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({
|
|
70
|
+
type: 'enum',
|
|
71
|
+
enum: LegalConsultationApprovalStatus,
|
|
72
|
+
default: LegalConsultationApprovalStatus.PENDING,
|
|
73
|
+
nullable: false,
|
|
74
|
+
}),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], LegalConsultationApproval.prototype, "approval_status", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], LegalConsultationApproval.prototype, "comment", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], LegalConsultationApproval.prototype, "created_by", void 0);
|
|
85
|
+
exports.LegalConsultationApproval = LegalConsultationApproval = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ name: 'legal_consultation_approvals' }),
|
|
87
|
+
__metadata("design:paramtypes", [])
|
|
88
|
+
], LegalConsultationApproval);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class LegalConsultationAttachment extends BaseModel {
|
|
3
|
+
request_id: number;
|
|
4
|
+
service_id: number;
|
|
5
|
+
sub_service_id: number;
|
|
6
|
+
file_name: string;
|
|
7
|
+
file_url: string;
|
|
8
|
+
file_type: string;
|
|
9
|
+
file_size: number;
|
|
10
|
+
created_by: number;
|
|
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.LegalConsultationAttachment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let LegalConsultationAttachment = class LegalConsultationAttachment extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
exports.LegalConsultationAttachment = LegalConsultationAttachment;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], LegalConsultationAttachment.prototype, "request_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], LegalConsultationAttachment.prototype, "service_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], LegalConsultationAttachment.prototype, "sub_service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], LegalConsultationAttachment.prototype, "file_name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], LegalConsultationAttachment.prototype, "file_url", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], LegalConsultationAttachment.prototype, "file_type", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], LegalConsultationAttachment.prototype, "file_size", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], LegalConsultationAttachment.prototype, "created_by", void 0);
|
|
53
|
+
exports.LegalConsultationAttachment = LegalConsultationAttachment = __decorate([
|
|
54
|
+
(0, typeorm_1.Entity)({ name: 'legal_consultation_attachments' }),
|
|
55
|
+
__metadata("design:paramtypes", [])
|
|
56
|
+
], LegalConsultationAttachment);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum LegalConsultationMessageType {
|
|
3
|
+
text = "text",
|
|
4
|
+
image = "image",
|
|
5
|
+
video = "video",
|
|
6
|
+
file = "file",
|
|
7
|
+
link = "link"
|
|
8
|
+
}
|
|
9
|
+
export declare enum LegalConsultationChatStatus {
|
|
10
|
+
Pending = "Pending",
|
|
11
|
+
Received = "Received",
|
|
12
|
+
Approved = "Approved",
|
|
13
|
+
Rejected = "Rejected",
|
|
14
|
+
InProgress = "In Progress"
|
|
15
|
+
}
|
|
16
|
+
export declare class LegalConsultationChat extends BaseModel {
|
|
17
|
+
request_id: number;
|
|
18
|
+
service_id: number;
|
|
19
|
+
sub_service_id: number;
|
|
20
|
+
user_id: number;
|
|
21
|
+
message: string;
|
|
22
|
+
approver_role_id: number | null;
|
|
23
|
+
status: string;
|
|
24
|
+
message_type: string;
|
|
25
|
+
is_internal: boolean;
|
|
26
|
+
created_by: number;
|
|
27
|
+
constructor();
|
|
28
|
+
}
|
|
@@ -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.LegalConsultationChat = exports.LegalConsultationChatStatus = exports.LegalConsultationMessageType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var LegalConsultationMessageType;
|
|
16
|
+
(function (LegalConsultationMessageType) {
|
|
17
|
+
LegalConsultationMessageType["text"] = "text";
|
|
18
|
+
LegalConsultationMessageType["image"] = "image";
|
|
19
|
+
LegalConsultationMessageType["video"] = "video";
|
|
20
|
+
LegalConsultationMessageType["file"] = "file";
|
|
21
|
+
LegalConsultationMessageType["link"] = "link";
|
|
22
|
+
})(LegalConsultationMessageType || (exports.LegalConsultationMessageType = LegalConsultationMessageType = {}));
|
|
23
|
+
var LegalConsultationChatStatus;
|
|
24
|
+
(function (LegalConsultationChatStatus) {
|
|
25
|
+
LegalConsultationChatStatus["Pending"] = "Pending";
|
|
26
|
+
LegalConsultationChatStatus["Received"] = "Received";
|
|
27
|
+
LegalConsultationChatStatus["Approved"] = "Approved";
|
|
28
|
+
LegalConsultationChatStatus["Rejected"] = "Rejected";
|
|
29
|
+
LegalConsultationChatStatus["InProgress"] = "In Progress";
|
|
30
|
+
})(LegalConsultationChatStatus || (exports.LegalConsultationChatStatus = LegalConsultationChatStatus = {}));
|
|
31
|
+
let LegalConsultationChat = class LegalConsultationChat extends BaseModel_1.BaseModel {
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
exports.LegalConsultationChat = LegalConsultationChat;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], LegalConsultationChat.prototype, "request_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], LegalConsultationChat.prototype, "service_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], LegalConsultationChat.prototype, "sub_service_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], LegalConsultationChat.prototype, "user_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], LegalConsultationChat.prototype, "message", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], LegalConsultationChat.prototype, "approver_role_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false, default: 'Pending' }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], LegalConsultationChat.prototype, "status", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: false }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], LegalConsultationChat.prototype, "message_type", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'boolean', nullable: false, default: false }),
|
|
71
|
+
__metadata("design:type", Boolean)
|
|
72
|
+
], LegalConsultationChat.prototype, "is_internal", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], LegalConsultationChat.prototype, "created_by", void 0);
|
|
77
|
+
exports.LegalConsultationChat = LegalConsultationChat = __decorate([
|
|
78
|
+
(0, typeorm_1.Entity)({ name: 'legal_consultation_chat' }),
|
|
79
|
+
__metadata("design:paramtypes", [])
|
|
80
|
+
], LegalConsultationChat);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum LegalConsultationRequestStatus {
|
|
3
|
+
Pending = "Pending",
|
|
4
|
+
Approved = "Approved",
|
|
5
|
+
Rejected = "Rejected",
|
|
6
|
+
RFC = "RFC"
|
|
7
|
+
}
|
|
8
|
+
export declare class LegalConsultationRequest extends BaseModel {
|
|
9
|
+
/** Business reference (populated by create worker / workflow) */
|
|
10
|
+
request_id: string | null;
|
|
11
|
+
request_date: Date;
|
|
12
|
+
title: string;
|
|
13
|
+
description: string;
|
|
14
|
+
status: string;
|
|
15
|
+
user_id: number;
|
|
16
|
+
workflow_execution_id: string;
|
|
17
|
+
created_by: number;
|
|
18
|
+
approved_by: number;
|
|
19
|
+
approved_at: Date;
|
|
20
|
+
approver_comment: string;
|
|
21
|
+
service_id: number;
|
|
22
|
+
sub_service_id: number;
|
|
23
|
+
constructor();
|
|
24
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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.LegalConsultationRequest = exports.LegalConsultationRequestStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var LegalConsultationRequestStatus;
|
|
16
|
+
(function (LegalConsultationRequestStatus) {
|
|
17
|
+
LegalConsultationRequestStatus["Pending"] = "Pending";
|
|
18
|
+
LegalConsultationRequestStatus["Approved"] = "Approved";
|
|
19
|
+
LegalConsultationRequestStatus["Rejected"] = "Rejected";
|
|
20
|
+
LegalConsultationRequestStatus["RFC"] = "RFC";
|
|
21
|
+
})(LegalConsultationRequestStatus || (exports.LegalConsultationRequestStatus = LegalConsultationRequestStatus = {}));
|
|
22
|
+
let LegalConsultationRequest = class LegalConsultationRequest extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
exports.LegalConsultationRequest = LegalConsultationRequest;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: true }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], LegalConsultationRequest.prototype, "request_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
34
|
+
__metadata("design:type", Date)
|
|
35
|
+
], LegalConsultationRequest.prototype, "request_date", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], LegalConsultationRequest.prototype, "title", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], LegalConsultationRequest.prototype, "description", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: false, default: 'Pending' }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], LegalConsultationRequest.prototype, "status", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], LegalConsultationRequest.prototype, "user_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], LegalConsultationRequest.prototype, "workflow_execution_id", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], LegalConsultationRequest.prototype, "created_by", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], LegalConsultationRequest.prototype, "approved_by", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
66
|
+
__metadata("design:type", Date)
|
|
67
|
+
], LegalConsultationRequest.prototype, "approved_at", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], LegalConsultationRequest.prototype, "approver_comment", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], LegalConsultationRequest.prototype, "service_id", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
78
|
+
__metadata("design:type", Number)
|
|
79
|
+
], LegalConsultationRequest.prototype, "sub_service_id", void 0);
|
|
80
|
+
exports.LegalConsultationRequest = LegalConsultationRequest = __decorate([
|
|
81
|
+
(0, typeorm_1.Entity)({ name: 'legal_consultation_requests' }),
|
|
82
|
+
__metadata("design:paramtypes", [])
|
|
83
|
+
], LegalConsultationRequest);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum LegalConsultationWorkFlowStatus {
|
|
3
|
+
Pending = "Pending",
|
|
4
|
+
InProgress = "In Progress",
|
|
5
|
+
Approved = "Approved",
|
|
6
|
+
Rejected = "Rejected",
|
|
7
|
+
RFC = "RFC"
|
|
8
|
+
}
|
|
9
|
+
export declare class LegalConsultationWorkflow extends BaseModel {
|
|
10
|
+
request_id: number;
|
|
11
|
+
service_id: number;
|
|
12
|
+
sub_service_id: number;
|
|
13
|
+
workflow_definition_id: number;
|
|
14
|
+
current_level: number;
|
|
15
|
+
content: string;
|
|
16
|
+
status: string;
|
|
17
|
+
step_order: number;
|
|
18
|
+
user_id: number;
|
|
19
|
+
role_id: number;
|
|
20
|
+
department_id: number;
|
|
21
|
+
section_id: number;
|
|
22
|
+
workflow_data: string;
|
|
23
|
+
created_by: number;
|
|
24
|
+
constructor();
|
|
25
|
+
}
|
|
@@ -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.LegalConsultationWorkflow = exports.LegalConsultationWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var LegalConsultationWorkFlowStatus;
|
|
16
|
+
(function (LegalConsultationWorkFlowStatus) {
|
|
17
|
+
LegalConsultationWorkFlowStatus["Pending"] = "Pending";
|
|
18
|
+
LegalConsultationWorkFlowStatus["InProgress"] = "In Progress";
|
|
19
|
+
LegalConsultationWorkFlowStatus["Approved"] = "Approved";
|
|
20
|
+
LegalConsultationWorkFlowStatus["Rejected"] = "Rejected";
|
|
21
|
+
LegalConsultationWorkFlowStatus["RFC"] = "RFC";
|
|
22
|
+
})(LegalConsultationWorkFlowStatus || (exports.LegalConsultationWorkFlowStatus = LegalConsultationWorkFlowStatus = {}));
|
|
23
|
+
let LegalConsultationWorkflow = class LegalConsultationWorkflow extends BaseModel_1.BaseModel {
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.LegalConsultationWorkflow = LegalConsultationWorkflow;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], LegalConsultationWorkflow.prototype, "request_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], LegalConsultationWorkflow.prototype, "service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], LegalConsultationWorkflow.prototype, "sub_service_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], LegalConsultationWorkflow.prototype, "workflow_definition_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], LegalConsultationWorkflow.prototype, "current_level", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], LegalConsultationWorkflow.prototype, "content", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], LegalConsultationWorkflow.prototype, "status", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], LegalConsultationWorkflow.prototype, "step_order", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], LegalConsultationWorkflow.prototype, "user_id", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], LegalConsultationWorkflow.prototype, "role_id", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], LegalConsultationWorkflow.prototype, "department_id", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], LegalConsultationWorkflow.prototype, "section_id", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], LegalConsultationWorkflow.prototype, "workflow_data", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], LegalConsultationWorkflow.prototype, "created_by", void 0);
|
|
85
|
+
exports.LegalConsultationWorkflow = LegalConsultationWorkflow = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ name: 'legal_consultation_workflow' }),
|
|
87
|
+
__metadata("design:paramtypes", [])
|
|
88
|
+
], LegalConsultationWorkflow);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum ScholarshipApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class ScholarshipApprovalDetails 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: ScholarshipApprovalStatus;
|
|
21
|
+
is_allowed: boolean;
|
|
22
|
+
}
|