@platform-modules/civil-aviation-authority 2.3.97 → 2.3.100
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 +4 -2
- package/dist/index.d.ts +10 -0
- package/dist/index.js +12 -0
- package/dist/models/HousingContractCancelApprovalModel.d.ts +23 -0
- package/dist/models/HousingContractCancelApprovalModel.js +88 -0
- package/dist/models/HousingContractCancelAttachmentModel.d.ts +12 -0
- package/dist/models/HousingContractCancelAttachmentModel.js +56 -0
- package/dist/models/HousingContractCancelChatModel.d.ts +18 -0
- package/dist/models/HousingContractCancelChatModel.js +60 -0
- package/dist/models/HousingContractCancelRequestModel.d.ts +31 -0
- package/dist/models/HousingContractCancelRequestModel.js +107 -0
- package/dist/models/HousingContractCancelWorkflowModel.d.ts +25 -0
- package/dist/models/HousingContractCancelWorkflowModel.js +88 -0
- package/dist/models/HousingContractRenewalApprovalModel.d.ts +23 -0
- package/dist/models/HousingContractRenewalApprovalModel.js +88 -0
- package/dist/models/HousingContractRenewalAttachmentModel.d.ts +12 -0
- package/dist/models/HousingContractRenewalAttachmentModel.js +56 -0
- package/dist/models/HousingContractRenewalChatModel.d.ts +18 -0
- package/dist/models/HousingContractRenewalChatModel.js +60 -0
- package/dist/models/HousingContractRenewalRequestModel.d.ts +32 -0
- package/dist/models/HousingContractRenewalRequestModel.js +107 -0
- package/dist/models/HousingContractRenewalWorkflowModel.d.ts +25 -0
- package/dist/models/HousingContractRenewalWorkflowModel.js +88 -0
- package/package.json +1 -1
- package/src/data-source.ts +10 -10
- package/src/index.ts +15 -1
- package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
- package/src/models/AnnualIncrementRequestModel.ts +25 -25
- package/src/models/CashAllowanceLeaveRequestModel.ts +11 -11
- package/src/models/HousingContractCancelApprovalModel.ts +61 -0
- package/src/models/HousingContractCancelAttachmentModel.ts +34 -0
- package/src/models/HousingContractCancelChatModel.ts +39 -0
- package/src/models/HousingContractCancelRequestModel.ts +76 -0
- package/src/models/HousingContractCancelWorkflowModel.ts +60 -0
- package/src/models/HousingContractRenewalApprovalModel.ts +61 -0
- package/src/models/HousingContractRenewalAttachmentModel.ts +34 -0
- package/src/models/HousingContractRenewalChatModel.ts +39 -0
- package/src/models/HousingContractRenewalRequestModel.ts +77 -0
- package/src/models/HousingContractRenewalWorkflowModel.ts +60 -0
- package/src/models/HrServiceRequestModel.ts +193 -193
- package/src/models/PerformanceCyclePeriodModel.ts +23 -23
- package/src/models/PerformanceGoalMasterModel.ts +27 -27
- package/src/models/PromotionRequestModel.ts +11 -11
- 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
package/dist/index.d.ts
CHANGED
|
@@ -225,3 +225,13 @@ export * from './models/ResidentialUnitRentalWorkflowModel';
|
|
|
225
225
|
export * from './models/ResidentialUnitRentalApprovalModel';
|
|
226
226
|
export * from './models/ResidentialUnitRentalChatModel';
|
|
227
227
|
export * from './models/ResidentialUnitRentalAttachmentModel';
|
|
228
|
+
export * from './models/HousingContractRenewalRequestModel';
|
|
229
|
+
export * from './models/HousingContractRenewalWorkflowModel';
|
|
230
|
+
export * from './models/HousingContractRenewalApprovalModel';
|
|
231
|
+
export * from './models/HousingContractRenewalChatModel';
|
|
232
|
+
export * from './models/HousingContractRenewalAttachmentModel';
|
|
233
|
+
export * from './models/HousingContractCancelRequestModel';
|
|
234
|
+
export * from './models/HousingContractCancelWorkflowModel';
|
|
235
|
+
export * from './models/HousingContractCancelApprovalModel';
|
|
236
|
+
export * from './models/HousingContractCancelChatModel';
|
|
237
|
+
export * from './models/HousingContractCancelAttachmentModel';
|
package/dist/index.js
CHANGED
|
@@ -341,3 +341,15 @@ __exportStar(require("./models/ResidentialUnitRentalWorkflowModel"), exports);
|
|
|
341
341
|
__exportStar(require("./models/ResidentialUnitRentalApprovalModel"), exports);
|
|
342
342
|
__exportStar(require("./models/ResidentialUnitRentalChatModel"), exports);
|
|
343
343
|
__exportStar(require("./models/ResidentialUnitRentalAttachmentModel"), exports);
|
|
344
|
+
// Housing Contract Renewal (CAA042)
|
|
345
|
+
__exportStar(require("./models/HousingContractRenewalRequestModel"), exports);
|
|
346
|
+
__exportStar(require("./models/HousingContractRenewalWorkflowModel"), exports);
|
|
347
|
+
__exportStar(require("./models/HousingContractRenewalApprovalModel"), exports);
|
|
348
|
+
__exportStar(require("./models/HousingContractRenewalChatModel"), exports);
|
|
349
|
+
__exportStar(require("./models/HousingContractRenewalAttachmentModel"), exports);
|
|
350
|
+
// Housing Contract Cancel
|
|
351
|
+
__exportStar(require("./models/HousingContractCancelRequestModel"), exports);
|
|
352
|
+
__exportStar(require("./models/HousingContractCancelWorkflowModel"), exports);
|
|
353
|
+
__exportStar(require("./models/HousingContractCancelApprovalModel"), exports);
|
|
354
|
+
__exportStar(require("./models/HousingContractCancelChatModel"), exports);
|
|
355
|
+
__exportStar(require("./models/HousingContractCancelAttachmentModel"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum HousingContractCancelApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class HousingContractCancelApproval 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: HousingContractCancelApprovalStatus;
|
|
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.HousingContractCancelApproval = exports.HousingContractCancelApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var HousingContractCancelApprovalStatus;
|
|
16
|
+
(function (HousingContractCancelApprovalStatus) {
|
|
17
|
+
HousingContractCancelApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
HousingContractCancelApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
HousingContractCancelApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
HousingContractCancelApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(HousingContractCancelApprovalStatus || (exports.HousingContractCancelApprovalStatus = HousingContractCancelApprovalStatus = {}));
|
|
22
|
+
let HousingContractCancelApproval = class HousingContractCancelApproval extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
exports.HousingContractCancelApproval = HousingContractCancelApproval;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], HousingContractCancelApproval.prototype, "request_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], HousingContractCancelApproval.prototype, "service_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], HousingContractCancelApproval.prototype, "sub_service_id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], HousingContractCancelApproval.prototype, "approver_role_id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], HousingContractCancelApproval.prototype, "approver_user_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], HousingContractCancelApproval.prototype, "delegate_user_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], HousingContractCancelApproval.prototype, "approved_by", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], HousingContractCancelApproval.prototype, "department_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], HousingContractCancelApproval.prototype, "section_id", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], HousingContractCancelApproval.prototype, "level", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({
|
|
70
|
+
type: 'enum',
|
|
71
|
+
enum: HousingContractCancelApprovalStatus,
|
|
72
|
+
default: HousingContractCancelApprovalStatus.PENDING,
|
|
73
|
+
nullable: false
|
|
74
|
+
}),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], HousingContractCancelApproval.prototype, "approval_status", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], HousingContractCancelApproval.prototype, "comment", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], HousingContractCancelApproval.prototype, "created_by", void 0);
|
|
85
|
+
exports.HousingContractCancelApproval = HousingContractCancelApproval = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_cancel_approvals' }),
|
|
87
|
+
__metadata("design:paramtypes", [])
|
|
88
|
+
], HousingContractCancelApproval);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare class HousingContractCancelAttachment 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.HousingContractCancelAttachment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let HousingContractCancelAttachment = class HousingContractCancelAttachment extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
exports.HousingContractCancelAttachment = HousingContractCancelAttachment;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], HousingContractCancelAttachment.prototype, "request_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], HousingContractCancelAttachment.prototype, "service_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], HousingContractCancelAttachment.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
|
+
], HousingContractCancelAttachment.prototype, "file_name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], HousingContractCancelAttachment.prototype, "file_url", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], HousingContractCancelAttachment.prototype, "file_type", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], HousingContractCancelAttachment.prototype, "file_size", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], HousingContractCancelAttachment.prototype, "created_by", void 0);
|
|
53
|
+
exports.HousingContractCancelAttachment = HousingContractCancelAttachment = __decorate([
|
|
54
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_cancel_attachments' }),
|
|
55
|
+
__metadata("design:paramtypes", [])
|
|
56
|
+
], HousingContractCancelAttachment);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum HousingContractCancelMessageType {
|
|
3
|
+
text = "text",
|
|
4
|
+
image = "image",
|
|
5
|
+
video = "video",
|
|
6
|
+
file = "file",
|
|
7
|
+
link = "link"
|
|
8
|
+
}
|
|
9
|
+
export declare class HousingContractCancelChat extends BaseModel {
|
|
10
|
+
request_id: number;
|
|
11
|
+
service_id: number;
|
|
12
|
+
sub_service_id: number;
|
|
13
|
+
message: string;
|
|
14
|
+
message_type: string;
|
|
15
|
+
is_internal: boolean;
|
|
16
|
+
created_by: number;
|
|
17
|
+
constructor();
|
|
18
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.HousingContractCancelChat = exports.HousingContractCancelMessageType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var HousingContractCancelMessageType;
|
|
16
|
+
(function (HousingContractCancelMessageType) {
|
|
17
|
+
HousingContractCancelMessageType["text"] = "text";
|
|
18
|
+
HousingContractCancelMessageType["image"] = "image";
|
|
19
|
+
HousingContractCancelMessageType["video"] = "video";
|
|
20
|
+
HousingContractCancelMessageType["file"] = "file";
|
|
21
|
+
HousingContractCancelMessageType["link"] = "link";
|
|
22
|
+
})(HousingContractCancelMessageType || (exports.HousingContractCancelMessageType = HousingContractCancelMessageType = {}));
|
|
23
|
+
let HousingContractCancelChat = class HousingContractCancelChat extends BaseModel_1.BaseModel {
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.HousingContractCancelChat = HousingContractCancelChat;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], HousingContractCancelChat.prototype, "request_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], HousingContractCancelChat.prototype, "service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], HousingContractCancelChat.prototype, "sub_service_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], HousingContractCancelChat.prototype, "message", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: false }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], HousingContractCancelChat.prototype, "message_type", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'boolean', nullable: false, default: false }),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
52
|
+
], HousingContractCancelChat.prototype, "is_internal", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], HousingContractCancelChat.prototype, "created_by", void 0);
|
|
57
|
+
exports.HousingContractCancelChat = HousingContractCancelChat = __decorate([
|
|
58
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_cancel_chat' }),
|
|
59
|
+
__metadata("design:paramtypes", [])
|
|
60
|
+
], HousingContractCancelChat);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum HousingContractCancelRequestStatus {
|
|
3
|
+
Pending = "Pending",
|
|
4
|
+
Approved = "Approved",
|
|
5
|
+
Rejected = "Rejected",
|
|
6
|
+
RFC = "RFC"
|
|
7
|
+
}
|
|
8
|
+
export declare class HousingContractCancelRequest extends BaseModel {
|
|
9
|
+
request_id: string;
|
|
10
|
+
service_id: number;
|
|
11
|
+
sub_service_id: number;
|
|
12
|
+
/** Current Unit Type: Apartment, Villa */
|
|
13
|
+
current_unit_type: string;
|
|
14
|
+
location_of_unit: string;
|
|
15
|
+
current_contract_start_date: Date;
|
|
16
|
+
current_contract_end_date: Date;
|
|
17
|
+
requested_cancellation_date: Date;
|
|
18
|
+
reason_for_cancellation: string;
|
|
19
|
+
/** yes / No */
|
|
20
|
+
pending_bills_clearance_status: string;
|
|
21
|
+
handover_date: Date;
|
|
22
|
+
comment: string;
|
|
23
|
+
status: string;
|
|
24
|
+
user_id: number;
|
|
25
|
+
workflow_execution_id: string;
|
|
26
|
+
created_by: number;
|
|
27
|
+
approved_by: number;
|
|
28
|
+
approved_at: Date;
|
|
29
|
+
approver_comment: string;
|
|
30
|
+
constructor();
|
|
31
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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.HousingContractCancelRequest = exports.HousingContractCancelRequestStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var HousingContractCancelRequestStatus;
|
|
16
|
+
(function (HousingContractCancelRequestStatus) {
|
|
17
|
+
HousingContractCancelRequestStatus["Pending"] = "Pending";
|
|
18
|
+
HousingContractCancelRequestStatus["Approved"] = "Approved";
|
|
19
|
+
HousingContractCancelRequestStatus["Rejected"] = "Rejected";
|
|
20
|
+
HousingContractCancelRequestStatus["RFC"] = "RFC";
|
|
21
|
+
})(HousingContractCancelRequestStatus || (exports.HousingContractCancelRequestStatus = HousingContractCancelRequestStatus = {}));
|
|
22
|
+
let HousingContractCancelRequest = class HousingContractCancelRequest extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
exports.HousingContractCancelRequest = HousingContractCancelRequest;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: false }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], HousingContractCancelRequest.prototype, "request_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], HousingContractCancelRequest.prototype, "service_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], HousingContractCancelRequest.prototype, "sub_service_id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], HousingContractCancelRequest.prototype, "current_unit_type", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], HousingContractCancelRequest.prototype, "location_of_unit", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
50
|
+
__metadata("design:type", Date)
|
|
51
|
+
], HousingContractCancelRequest.prototype, "current_contract_start_date", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
54
|
+
__metadata("design:type", Date)
|
|
55
|
+
], HousingContractCancelRequest.prototype, "current_contract_end_date", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
58
|
+
__metadata("design:type", Date)
|
|
59
|
+
], HousingContractCancelRequest.prototype, "requested_cancellation_date", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], HousingContractCancelRequest.prototype, "reason_for_cancellation", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 10, nullable: false }),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], HousingContractCancelRequest.prototype, "pending_bills_clearance_status", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
70
|
+
__metadata("design:type", Date)
|
|
71
|
+
], HousingContractCancelRequest.prototype, "handover_date", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], HousingContractCancelRequest.prototype, "comment", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: false, default: 'Pending' }),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], HousingContractCancelRequest.prototype, "status", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], HousingContractCancelRequest.prototype, "user_id", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], HousingContractCancelRequest.prototype, "workflow_execution_id", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
90
|
+
__metadata("design:type", Number)
|
|
91
|
+
], HousingContractCancelRequest.prototype, "created_by", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
94
|
+
__metadata("design:type", Number)
|
|
95
|
+
], HousingContractCancelRequest.prototype, "approved_by", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
98
|
+
__metadata("design:type", Date)
|
|
99
|
+
], HousingContractCancelRequest.prototype, "approved_at", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
102
|
+
__metadata("design:type", String)
|
|
103
|
+
], HousingContractCancelRequest.prototype, "approver_comment", void 0);
|
|
104
|
+
exports.HousingContractCancelRequest = HousingContractCancelRequest = __decorate([
|
|
105
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_cancel_requests' }),
|
|
106
|
+
__metadata("design:paramtypes", [])
|
|
107
|
+
], HousingContractCancelRequest);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum HousingContractCancelWorkFlowStatus {
|
|
3
|
+
Pending = "Pending",
|
|
4
|
+
InProgress = "In Progress",
|
|
5
|
+
Approved = "Approved",
|
|
6
|
+
Rejected = "Rejected",
|
|
7
|
+
RFC = "RFC"
|
|
8
|
+
}
|
|
9
|
+
export declare class HousingContractCancelWorkflow 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.HousingContractCancelWorkflow = exports.HousingContractCancelWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var HousingContractCancelWorkFlowStatus;
|
|
16
|
+
(function (HousingContractCancelWorkFlowStatus) {
|
|
17
|
+
HousingContractCancelWorkFlowStatus["Pending"] = "Pending";
|
|
18
|
+
HousingContractCancelWorkFlowStatus["InProgress"] = "In Progress";
|
|
19
|
+
HousingContractCancelWorkFlowStatus["Approved"] = "Approved";
|
|
20
|
+
HousingContractCancelWorkFlowStatus["Rejected"] = "Rejected";
|
|
21
|
+
HousingContractCancelWorkFlowStatus["RFC"] = "RFC";
|
|
22
|
+
})(HousingContractCancelWorkFlowStatus || (exports.HousingContractCancelWorkFlowStatus = HousingContractCancelWorkFlowStatus = {}));
|
|
23
|
+
let HousingContractCancelWorkflow = class HousingContractCancelWorkflow extends BaseModel_1.BaseModel {
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.HousingContractCancelWorkflow = HousingContractCancelWorkflow;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], HousingContractCancelWorkflow.prototype, "request_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], HousingContractCancelWorkflow.prototype, "service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], HousingContractCancelWorkflow.prototype, "sub_service_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], HousingContractCancelWorkflow.prototype, "workflow_definition_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], HousingContractCancelWorkflow.prototype, "current_level", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], HousingContractCancelWorkflow.prototype, "content", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], HousingContractCancelWorkflow.prototype, "status", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], HousingContractCancelWorkflow.prototype, "step_order", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], HousingContractCancelWorkflow.prototype, "user_id", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], HousingContractCancelWorkflow.prototype, "role_id", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], HousingContractCancelWorkflow.prototype, "department_id", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], HousingContractCancelWorkflow.prototype, "section_id", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], HousingContractCancelWorkflow.prototype, "workflow_data", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], HousingContractCancelWorkflow.prototype, "created_by", void 0);
|
|
85
|
+
exports.HousingContractCancelWorkflow = HousingContractCancelWorkflow = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_cancel_workflow' }),
|
|
87
|
+
__metadata("design:paramtypes", [])
|
|
88
|
+
], HousingContractCancelWorkflow);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum HousingContractRenewalApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class HousingContractRenewalApproval 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: HousingContractRenewalApprovalStatus;
|
|
20
|
+
comment: string;
|
|
21
|
+
created_by: number;
|
|
22
|
+
constructor();
|
|
23
|
+
}
|