@platform-modules/civil-aviation-authority 2.3.96 → 2.3.99
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 +16 -10
- package/dist/data-source.js +2 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +13 -0
- package/dist/models/AnnualIncrementRequestEmployeeModel.d.ts +16 -0
- package/dist/models/AnnualIncrementRequestEmployeeModel.js +80 -0
- package/dist/models/AnnualIncrementRequestModel.d.ts +5 -4
- package/dist/models/AnnualIncrementRequestModel.js +17 -12
- package/dist/models/CashAllowanceLeaveRequestModel.d.ts +1 -0
- package/dist/models/CashAllowanceLeaveRequestModel.js +5 -0
- package/dist/models/DocumentMetadataModel.d.ts +45 -0
- package/dist/models/DocumentMetadataModel.js +171 -0
- package/dist/models/DocumentationDepartmentsModel.d.ts +13 -0
- package/dist/models/DocumentationDepartmentsModel.js +53 -0
- package/dist/models/FolderModel.d.ts +16 -0
- package/dist/models/FolderModel.js +85 -0
- package/dist/models/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/dist/models/PermissionModel.d.ts +18 -0
- package/dist/models/PermissionModel.js +68 -0
- package/dist/models/PromotionRequestModel.d.ts +1 -0
- package/dist/models/PromotionRequestModel.js +5 -0
- package/dist/models/ShiftAllowanceRequestModel.d.ts +1 -0
- package/dist/models/ShiftAllowanceRequestModel.js +6 -1
- package/dist/models/UUIDBaseModel.d.ts +14 -0
- package/dist/models/UUIDBaseModel.js +66 -0
- package/package.json +1 -1
- package/src/data-source.ts +2 -0
- package/src/index.ts +16 -1
- package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -0
- package/src/models/AnnualIncrementRequestModel.ts +16 -12
- package/src/models/CashAllowanceLeaveRequestModel.ts +4 -0
- package/src/models/DepartmentsModel.ts +25 -25
- 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/ITRequestChatModel.ts +62 -62
- package/src/models/ItApprovalsModel.ts +84 -84
- package/src/models/ItWorkflowModel.ts +55 -55
- package/src/models/MissionTravelPassportExpiryNotificationConfigModel.ts +36 -36
- package/src/models/PromotionRequestModel.ts +4 -0
- package/src/models/ServicesNotificationConfigModel.ts +55 -55
- package/src/models/ShiftAllowanceRequestModel.ts +5 -1
- package/src/models/TrainingRoomNotificationConfigModel.ts +30 -30
|
@@ -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.HousingContractRenewalApproval = exports.HousingContractRenewalApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var HousingContractRenewalApprovalStatus;
|
|
16
|
+
(function (HousingContractRenewalApprovalStatus) {
|
|
17
|
+
HousingContractRenewalApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
HousingContractRenewalApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
HousingContractRenewalApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
HousingContractRenewalApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(HousingContractRenewalApprovalStatus || (exports.HousingContractRenewalApprovalStatus = HousingContractRenewalApprovalStatus = {}));
|
|
22
|
+
let HousingContractRenewalApproval = class HousingContractRenewalApproval extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
exports.HousingContractRenewalApproval = HousingContractRenewalApproval;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], HousingContractRenewalApproval.prototype, "request_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], HousingContractRenewalApproval.prototype, "service_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], HousingContractRenewalApproval.prototype, "sub_service_id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], HousingContractRenewalApproval.prototype, "approver_role_id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], HousingContractRenewalApproval.prototype, "approver_user_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], HousingContractRenewalApproval.prototype, "delegate_user_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], HousingContractRenewalApproval.prototype, "approved_by", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], HousingContractRenewalApproval.prototype, "department_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], HousingContractRenewalApproval.prototype, "section_id", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], HousingContractRenewalApproval.prototype, "level", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({
|
|
70
|
+
type: 'enum',
|
|
71
|
+
enum: HousingContractRenewalApprovalStatus,
|
|
72
|
+
default: HousingContractRenewalApprovalStatus.PENDING,
|
|
73
|
+
nullable: false
|
|
74
|
+
}),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], HousingContractRenewalApproval.prototype, "approval_status", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], HousingContractRenewalApproval.prototype, "comment", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], HousingContractRenewalApproval.prototype, "created_by", void 0);
|
|
85
|
+
exports.HousingContractRenewalApproval = HousingContractRenewalApproval = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_renewal_approvals' }),
|
|
87
|
+
__metadata("design:paramtypes", [])
|
|
88
|
+
], HousingContractRenewalApproval);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare class HousingContractRenewalAttachment 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.HousingContractRenewalAttachment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let HousingContractRenewalAttachment = class HousingContractRenewalAttachment extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
exports.HousingContractRenewalAttachment = HousingContractRenewalAttachment;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], HousingContractRenewalAttachment.prototype, "request_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], HousingContractRenewalAttachment.prototype, "service_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], HousingContractRenewalAttachment.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
|
+
], HousingContractRenewalAttachment.prototype, "file_name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], HousingContractRenewalAttachment.prototype, "file_url", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], HousingContractRenewalAttachment.prototype, "file_type", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], HousingContractRenewalAttachment.prototype, "file_size", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], HousingContractRenewalAttachment.prototype, "created_by", void 0);
|
|
53
|
+
exports.HousingContractRenewalAttachment = HousingContractRenewalAttachment = __decorate([
|
|
54
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_renewal_attachments' }),
|
|
55
|
+
__metadata("design:paramtypes", [])
|
|
56
|
+
], HousingContractRenewalAttachment);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum HousingContractRenewalMessageType {
|
|
3
|
+
text = "text",
|
|
4
|
+
image = "image",
|
|
5
|
+
video = "video",
|
|
6
|
+
file = "file",
|
|
7
|
+
link = "link"
|
|
8
|
+
}
|
|
9
|
+
export declare class HousingContractRenewalChat 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.HousingContractRenewalChat = exports.HousingContractRenewalMessageType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var HousingContractRenewalMessageType;
|
|
16
|
+
(function (HousingContractRenewalMessageType) {
|
|
17
|
+
HousingContractRenewalMessageType["text"] = "text";
|
|
18
|
+
HousingContractRenewalMessageType["image"] = "image";
|
|
19
|
+
HousingContractRenewalMessageType["video"] = "video";
|
|
20
|
+
HousingContractRenewalMessageType["file"] = "file";
|
|
21
|
+
HousingContractRenewalMessageType["link"] = "link";
|
|
22
|
+
})(HousingContractRenewalMessageType || (exports.HousingContractRenewalMessageType = HousingContractRenewalMessageType = {}));
|
|
23
|
+
let HousingContractRenewalChat = class HousingContractRenewalChat extends BaseModel_1.BaseModel {
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.HousingContractRenewalChat = HousingContractRenewalChat;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], HousingContractRenewalChat.prototype, "request_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], HousingContractRenewalChat.prototype, "service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], HousingContractRenewalChat.prototype, "sub_service_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], HousingContractRenewalChat.prototype, "message", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: false }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], HousingContractRenewalChat.prototype, "message_type", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'boolean', nullable: false, default: false }),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
52
|
+
], HousingContractRenewalChat.prototype, "is_internal", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], HousingContractRenewalChat.prototype, "created_by", void 0);
|
|
57
|
+
exports.HousingContractRenewalChat = HousingContractRenewalChat = __decorate([
|
|
58
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_renewal_chat' }),
|
|
59
|
+
__metadata("design:paramtypes", [])
|
|
60
|
+
], HousingContractRenewalChat);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum HousingContractRenewalRequestStatus {
|
|
3
|
+
Pending = "Pending",
|
|
4
|
+
Approved = "Approved",
|
|
5
|
+
Rejected = "Rejected",
|
|
6
|
+
RFC = "RFC"
|
|
7
|
+
}
|
|
8
|
+
export declare class HousingContractRenewalRequest extends BaseModel {
|
|
9
|
+
request_id: string;
|
|
10
|
+
service_id: number;
|
|
11
|
+
sub_service_id: number;
|
|
12
|
+
/** Requested Unit Type: Apartment, Villa */
|
|
13
|
+
requested_unit_type: string;
|
|
14
|
+
/** Current Unit Type: Apartment, Villa */
|
|
15
|
+
current_unit_type: string;
|
|
16
|
+
location_of_unit: string;
|
|
17
|
+
current_contract_start_date: Date;
|
|
18
|
+
current_contract_end_date: Date;
|
|
19
|
+
/** e.g. 1 year */
|
|
20
|
+
requested_renewal_duration: string;
|
|
21
|
+
family_size: number;
|
|
22
|
+
reason_for_renewal: string;
|
|
23
|
+
comment: string;
|
|
24
|
+
status: string;
|
|
25
|
+
user_id: number;
|
|
26
|
+
workflow_execution_id: string;
|
|
27
|
+
created_by: number;
|
|
28
|
+
approved_by: number;
|
|
29
|
+
approved_at: Date;
|
|
30
|
+
approver_comment: string;
|
|
31
|
+
constructor();
|
|
32
|
+
}
|
|
@@ -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.HousingContractRenewalRequest = exports.HousingContractRenewalRequestStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var HousingContractRenewalRequestStatus;
|
|
16
|
+
(function (HousingContractRenewalRequestStatus) {
|
|
17
|
+
HousingContractRenewalRequestStatus["Pending"] = "Pending";
|
|
18
|
+
HousingContractRenewalRequestStatus["Approved"] = "Approved";
|
|
19
|
+
HousingContractRenewalRequestStatus["Rejected"] = "Rejected";
|
|
20
|
+
HousingContractRenewalRequestStatus["RFC"] = "RFC";
|
|
21
|
+
})(HousingContractRenewalRequestStatus || (exports.HousingContractRenewalRequestStatus = HousingContractRenewalRequestStatus = {}));
|
|
22
|
+
let HousingContractRenewalRequest = class HousingContractRenewalRequest extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
exports.HousingContractRenewalRequest = HousingContractRenewalRequest;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: false }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], HousingContractRenewalRequest.prototype, "request_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], HousingContractRenewalRequest.prototype, "service_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], HousingContractRenewalRequest.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
|
+
], HousingContractRenewalRequest.prototype, "requested_unit_type", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], HousingContractRenewalRequest.prototype, "current_unit_type", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], HousingContractRenewalRequest.prototype, "location_of_unit", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
54
|
+
__metadata("design:type", Date)
|
|
55
|
+
], HousingContractRenewalRequest.prototype, "current_contract_start_date", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
58
|
+
__metadata("design:type", Date)
|
|
59
|
+
], HousingContractRenewalRequest.prototype, "current_contract_end_date", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], HousingContractRenewalRequest.prototype, "requested_renewal_duration", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], HousingContractRenewalRequest.prototype, "family_size", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], HousingContractRenewalRequest.prototype, "reason_for_renewal", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], HousingContractRenewalRequest.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
|
+
], HousingContractRenewalRequest.prototype, "status", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], HousingContractRenewalRequest.prototype, "user_id", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], HousingContractRenewalRequest.prototype, "workflow_execution_id", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
90
|
+
__metadata("design:type", Number)
|
|
91
|
+
], HousingContractRenewalRequest.prototype, "created_by", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
94
|
+
__metadata("design:type", Number)
|
|
95
|
+
], HousingContractRenewalRequest.prototype, "approved_by", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
98
|
+
__metadata("design:type", Date)
|
|
99
|
+
], HousingContractRenewalRequest.prototype, "approved_at", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
102
|
+
__metadata("design:type", String)
|
|
103
|
+
], HousingContractRenewalRequest.prototype, "approver_comment", void 0);
|
|
104
|
+
exports.HousingContractRenewalRequest = HousingContractRenewalRequest = __decorate([
|
|
105
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_renewal_requests' }),
|
|
106
|
+
__metadata("design:paramtypes", [])
|
|
107
|
+
], HousingContractRenewalRequest);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum HousingContractRenewalWorkFlowStatus {
|
|
3
|
+
Pending = "Pending",
|
|
4
|
+
InProgress = "In Progress",
|
|
5
|
+
Approved = "Approved",
|
|
6
|
+
Rejected = "Rejected",
|
|
7
|
+
RFC = "RFC"
|
|
8
|
+
}
|
|
9
|
+
export declare class HousingContractRenewalWorkflow 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.HousingContractRenewalWorkflow = exports.HousingContractRenewalWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var HousingContractRenewalWorkFlowStatus;
|
|
16
|
+
(function (HousingContractRenewalWorkFlowStatus) {
|
|
17
|
+
HousingContractRenewalWorkFlowStatus["Pending"] = "Pending";
|
|
18
|
+
HousingContractRenewalWorkFlowStatus["InProgress"] = "In Progress";
|
|
19
|
+
HousingContractRenewalWorkFlowStatus["Approved"] = "Approved";
|
|
20
|
+
HousingContractRenewalWorkFlowStatus["Rejected"] = "Rejected";
|
|
21
|
+
HousingContractRenewalWorkFlowStatus["RFC"] = "RFC";
|
|
22
|
+
})(HousingContractRenewalWorkFlowStatus || (exports.HousingContractRenewalWorkFlowStatus = HousingContractRenewalWorkFlowStatus = {}));
|
|
23
|
+
let HousingContractRenewalWorkflow = class HousingContractRenewalWorkflow extends BaseModel_1.BaseModel {
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.HousingContractRenewalWorkflow = HousingContractRenewalWorkflow;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], HousingContractRenewalWorkflow.prototype, "request_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], HousingContractRenewalWorkflow.prototype, "service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], HousingContractRenewalWorkflow.prototype, "sub_service_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], HousingContractRenewalWorkflow.prototype, "workflow_definition_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], HousingContractRenewalWorkflow.prototype, "current_level", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], HousingContractRenewalWorkflow.prototype, "content", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], HousingContractRenewalWorkflow.prototype, "status", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], HousingContractRenewalWorkflow.prototype, "step_order", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], HousingContractRenewalWorkflow.prototype, "user_id", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], HousingContractRenewalWorkflow.prototype, "role_id", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], HousingContractRenewalWorkflow.prototype, "department_id", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], HousingContractRenewalWorkflow.prototype, "section_id", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], HousingContractRenewalWorkflow.prototype, "workflow_data", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], HousingContractRenewalWorkflow.prototype, "created_by", void 0);
|
|
85
|
+
exports.HousingContractRenewalWorkflow = HousingContractRenewalWorkflow = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ name: 'housing_contract_renewal_workflow' }),
|
|
87
|
+
__metadata("design:paramtypes", [])
|
|
88
|
+
], HousingContractRenewalWorkflow);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Role } from './role';
|
|
2
|
+
import { UUIDBaseModel } from './UUIDBaseModel';
|
|
3
|
+
export declare enum PermissionType {
|
|
4
|
+
VIEW = "view",
|
|
5
|
+
UPLOAD = "upload",
|
|
6
|
+
UPDATE = "update",
|
|
7
|
+
DELETE = "delete",
|
|
8
|
+
PUBLISH = "publish"
|
|
9
|
+
}
|
|
10
|
+
export declare class Permission extends UUIDBaseModel {
|
|
11
|
+
name: string;
|
|
12
|
+
code: string;
|
|
13
|
+
type: PermissionType;
|
|
14
|
+
description?: string;
|
|
15
|
+
is_active: boolean;
|
|
16
|
+
roles: Role[];
|
|
17
|
+
constructor(name: string, code: string, type: PermissionType, created_by: string, description?: string, is_active?: boolean);
|
|
18
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.Permission = exports.PermissionType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const role_1 = require("./role");
|
|
15
|
+
const UUIDBaseModel_1 = require("./UUIDBaseModel");
|
|
16
|
+
var PermissionType;
|
|
17
|
+
(function (PermissionType) {
|
|
18
|
+
PermissionType["VIEW"] = "view";
|
|
19
|
+
PermissionType["UPLOAD"] = "upload";
|
|
20
|
+
PermissionType["UPDATE"] = "update";
|
|
21
|
+
PermissionType["DELETE"] = "delete";
|
|
22
|
+
PermissionType["PUBLISH"] = "publish";
|
|
23
|
+
})(PermissionType || (exports.PermissionType = PermissionType = {}));
|
|
24
|
+
let Permission = class Permission extends UUIDBaseModel_1.UUIDBaseModel {
|
|
25
|
+
constructor(name, code, type, created_by, description, is_active = true) {
|
|
26
|
+
super();
|
|
27
|
+
this.name = name;
|
|
28
|
+
this.code = code;
|
|
29
|
+
this.type = type;
|
|
30
|
+
this.created_by = created_by;
|
|
31
|
+
this.description = description;
|
|
32
|
+
this.is_active = is_active;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.Permission = Permission;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, unique: true }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], Permission.prototype, "name", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, unique: true }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Permission.prototype, "code", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: PermissionType }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Permission.prototype, "type", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], Permission.prototype, "description", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], Permission.prototype, "is_active", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.ManyToMany)(() => role_1.Role),
|
|
58
|
+
(0, typeorm_1.JoinTable)({
|
|
59
|
+
name: 'role_permissions',
|
|
60
|
+
joinColumn: { name: 'permission_id', referencedColumnName: 'id' },
|
|
61
|
+
inverseJoinColumn: { name: 'role_id', referencedColumnName: 'id' },
|
|
62
|
+
}),
|
|
63
|
+
__metadata("design:type", Array)
|
|
64
|
+
], Permission.prototype, "roles", void 0);
|
|
65
|
+
exports.Permission = Permission = __decorate([
|
|
66
|
+
(0, typeorm_1.Entity)({ name: 'permissions' }),
|
|
67
|
+
__metadata("design:paramtypes", [String, String, String, String, String, Boolean])
|
|
68
|
+
], Permission);
|
|
@@ -20,6 +20,7 @@ export declare class PromotionRequest extends BaseModel {
|
|
|
20
20
|
assigned_to_user_id: number | null;
|
|
21
21
|
assigned_at: Date | null;
|
|
22
22
|
workflow_execution_id: string | null;
|
|
23
|
+
reference_number: string | null;
|
|
23
24
|
employee_name: string;
|
|
24
25
|
employee_id: string;
|
|
25
26
|
current_job_title: string;
|
|
@@ -36,6 +36,7 @@ let PromotionRequest = class PromotionRequest extends BaseModel_1.BaseModel {
|
|
|
36
36
|
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
37
37
|
this.assigned_at = assigned_at || null;
|
|
38
38
|
this.workflow_execution_id = workflow_execution_id || null;
|
|
39
|
+
this.reference_number = null;
|
|
39
40
|
this.employee_name = employee_name || "";
|
|
40
41
|
this.employee_id = employee_id || "";
|
|
41
42
|
this.current_job_title = current_job_title || "";
|
|
@@ -95,6 +96,10 @@ __decorate([
|
|
|
95
96
|
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
96
97
|
__metadata("design:type", Object)
|
|
97
98
|
], PromotionRequest.prototype, "workflow_execution_id", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
101
|
+
__metadata("design:type", Object)
|
|
102
|
+
], PromotionRequest.prototype, "reference_number", void 0);
|
|
98
103
|
__decorate([
|
|
99
104
|
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
100
105
|
__metadata("design:type", String)
|
|
@@ -25,6 +25,7 @@ export declare class ShiftAllowanceRequest extends BaseModel {
|
|
|
25
25
|
assigned_to_user_id: number | null;
|
|
26
26
|
assigned_at: Date | null;
|
|
27
27
|
workflow_execution_id: string | null;
|
|
28
|
+
reference_number: string | null;
|
|
28
29
|
employee_name: string;
|
|
29
30
|
employee_id: string;
|
|
30
31
|
job_title: string;
|
|
@@ -42,6 +42,7 @@ let ShiftAllowanceRequest = class ShiftAllowanceRequest extends BaseModel_1.Base
|
|
|
42
42
|
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
43
43
|
this.assigned_at = assigned_at || null;
|
|
44
44
|
this.workflow_execution_id = workflow_execution_id || null;
|
|
45
|
+
this.reference_number = null;
|
|
45
46
|
this.employee_name = employee_name || "";
|
|
46
47
|
this.employee_id = employee_id || "";
|
|
47
48
|
this.job_title = job_title || "";
|
|
@@ -103,6 +104,10 @@ __decorate([
|
|
|
103
104
|
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
104
105
|
__metadata("design:type", Object)
|
|
105
106
|
], ShiftAllowanceRequest.prototype, "workflow_execution_id", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
109
|
+
__metadata("design:type", Object)
|
|
110
|
+
], ShiftAllowanceRequest.prototype, "reference_number", void 0);
|
|
106
111
|
__decorate([
|
|
107
112
|
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
108
113
|
__metadata("design:type", String)
|
|
@@ -128,7 +133,7 @@ __decorate([
|
|
|
128
133
|
__metadata("design:type", Date)
|
|
129
134
|
], ShiftAllowanceRequest.prototype, "shift_start_date", void 0);
|
|
130
135
|
__decorate([
|
|
131
|
-
(0, typeorm_1.Column)({ type: "date", nullable:
|
|
136
|
+
(0, typeorm_1.Column)({ type: "date", nullable: true }),
|
|
132
137
|
__metadata("design:type", Date)
|
|
133
138
|
], ShiftAllowanceRequest.prototype, "shift_end_date", void 0);
|
|
134
139
|
__decorate([
|