@platform-modules/civil-aviation-authority 2.3.201 → 2.3.206
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 +10 -10
- 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/LogisticsModel.d.ts +2 -0
- package/dist/models/LogisticsModel.js +4 -0
- package/package.json +1 -1
- package/src/index.ts +5 -0
- package/src/models/AccommodationApprovalModel.ts +8 -8
- package/src/models/AccommodationRequestModel.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/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/HrServiceRequestModel.ts +193 -193
- package/src/models/LogisticsModel.ts +4 -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/RespondToEnquiriesRequestModel.ts +31 -31
- 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/.env
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
DB_HOST=164.52.222.169
|
|
2
|
+
DB_PORT=5432
|
|
3
|
+
DB_USER=postgres_admin_user
|
|
4
|
+
DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
5
|
+
DB_NAME=CAA
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
DB_HOST=localhost
|
|
9
|
-
DB_PORT=5432
|
|
10
|
-
DB_USER=postgres
|
|
11
|
-
DB_PASS=stevejobs
|
|
12
|
-
DB_NAME=CAA
|
|
8
|
+
# DB_HOST=localhost
|
|
9
|
+
# DB_PORT=5432
|
|
10
|
+
# DB_USER=postgres
|
|
11
|
+
# DB_PASS=stevejobs
|
|
12
|
+
# 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);
|
|
@@ -43,6 +43,8 @@ export declare class LogisticsRequests extends BaseModel {
|
|
|
43
43
|
user_id: number;
|
|
44
44
|
category: Request_Type;
|
|
45
45
|
vehicle_required_for: Vehicle_Required_For;
|
|
46
|
+
/** Free text when `vehicle_required_for` is "Others" (or any extra context); optional. */
|
|
47
|
+
other_vehicle_required_for: string | null;
|
|
46
48
|
vehicle_required_location: Vehicle_Required_Location;
|
|
47
49
|
title: string;
|
|
48
50
|
purpose_of_travel: Purpose_of_Travel;
|
|
@@ -130,6 +130,10 @@ __decorate([
|
|
|
130
130
|
}),
|
|
131
131
|
__metadata("design:type", String)
|
|
132
132
|
], LogisticsRequests.prototype, "vehicle_required_for", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
135
|
+
__metadata("design:type", Object)
|
|
136
|
+
], LogisticsRequests.prototype, "other_vehicle_required_for", void 0);
|
|
133
137
|
__decorate([
|
|
134
138
|
(0, typeorm_1.Column)({
|
|
135
139
|
type: "enum",
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -408,6 +408,11 @@ export * from './models/WorkingHoursExtensionApprovalModel';
|
|
|
408
408
|
export * from './models/WorkingHoursExtensionWorkflowModel';
|
|
409
409
|
export * from './models/WorkingHoursExtensionChatModel';
|
|
410
410
|
export * from './models/WorkingHoursExtensionAttachmentModel';
|
|
411
|
+
export * from './models/ComplaintLostPropertyReportRequestModel';
|
|
412
|
+
export * from './models/ComplaintLostPropertyReportApprovalModel';
|
|
413
|
+
export * from './models/ComplaintLostPropertyReportWorkflowModel';
|
|
414
|
+
export * from './models/ComplaintLostPropertyReportChatModel';
|
|
415
|
+
export * from './models/ComplaintLostPropertyReportAttachmentModel';
|
|
411
416
|
|
|
412
417
|
// Tender — Request a Service to Respond to Enquiries
|
|
413
418
|
export * from './models/RespondToEnquiriesRequestModel';
|
|
@@ -35,14 +35,14 @@ export class AccommodationApproval extends BaseModel {
|
|
|
35
35
|
@Column({ type: 'int', nullable: true })
|
|
36
36
|
department_id: number;
|
|
37
37
|
|
|
38
|
-
@Column({ type: 'int', nullable: true })
|
|
39
|
-
section_id: number;
|
|
40
|
-
|
|
41
|
-
@Column({ type: 'boolean', nullable: false, default: true })
|
|
42
|
-
is_allowed: boolean;
|
|
43
|
-
|
|
44
|
-
@Column({ type: 'int', nullable: false })
|
|
45
|
-
level: number;
|
|
38
|
+
@Column({ type: 'int', nullable: true })
|
|
39
|
+
section_id: number;
|
|
40
|
+
|
|
41
|
+
@Column({ type: 'boolean', nullable: false, default: true })
|
|
42
|
+
is_allowed: boolean;
|
|
43
|
+
|
|
44
|
+
@Column({ type: 'int', nullable: false })
|
|
45
|
+
level: number;
|
|
46
46
|
|
|
47
47
|
@Column({
|
|
48
48
|
type: 'enum',
|
|
@@ -134,14 +134,14 @@ export class AccommodationRequest extends BaseModel {
|
|
|
134
134
|
@Column({ type: 'int', nullable: true })
|
|
135
135
|
assigned_to_user_id: number | null;
|
|
136
136
|
|
|
137
|
-
@Column({ type: 'text', nullable: true })
|
|
138
|
-
approver_comment: string | null;
|
|
139
|
-
|
|
140
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
141
|
-
accommodation_allocated: string | null;
|
|
142
|
-
|
|
143
|
-
@Column({ type: 'int', nullable: true })
|
|
144
|
-
approved_by: number | null;
|
|
137
|
+
@Column({ type: 'text', nullable: true })
|
|
138
|
+
approver_comment: string | null;
|
|
139
|
+
|
|
140
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
141
|
+
accommodation_allocated: string | null;
|
|
142
|
+
|
|
143
|
+
@Column({ type: 'int', nullable: true })
|
|
144
|
+
approved_by: number | null;
|
|
145
145
|
|
|
146
146
|
@Column({ type: 'date', nullable: true })
|
|
147
147
|
approved_at: Date | null;
|