@platform-modules/civil-aviation-authority 2.2.323 → 2.2.324
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.
|
@@ -21,6 +21,7 @@ export declare class HrServiceApprovalDetails extends BaseModel {
|
|
|
21
21
|
approval_status: HrServiceApprovalStatus;
|
|
22
22
|
is_manager: boolean;
|
|
23
23
|
is_president: boolean;
|
|
24
|
+
is_replace: boolean;
|
|
24
25
|
is_allowed: boolean;
|
|
25
|
-
constructor(request_id: number, approver_user_id: number | null, approver_role_id: number | null, comment: string, approval_status: HrServiceApprovalStatus, level: number, service_id?: number | null, sub_service_id?: number | null, department_id?: number | null, section_id?: number | null, delegate_user_id?: number | null, approved_by?: number | null, is_manager?: boolean, is_president?: boolean, is_allowed?: boolean);
|
|
26
|
+
constructor(request_id: number, approver_user_id: number | null, approver_role_id: number | null, comment: string, approval_status: HrServiceApprovalStatus, level: number, service_id?: number | null, sub_service_id?: number | null, department_id?: number | null, section_id?: number | null, delegate_user_id?: number | null, approved_by?: number | null, is_manager?: boolean, is_president?: boolean, is_replace?: boolean, is_allowed?: boolean);
|
|
26
27
|
}
|
|
@@ -21,7 +21,7 @@ var HrServiceApprovalStatus;
|
|
|
21
21
|
HrServiceApprovalStatus["ASSIGNED"] = "Assigned";
|
|
22
22
|
})(HrServiceApprovalStatus || (exports.HrServiceApprovalStatus = HrServiceApprovalStatus = {}));
|
|
23
23
|
let HrServiceApprovalDetails = class HrServiceApprovalDetails extends BaseModel_1.BaseModel {
|
|
24
|
-
constructor(request_id, approver_user_id, approver_role_id, comment, approval_status, level, service_id, sub_service_id, department_id, section_id, delegate_user_id, approved_by, is_manager, is_president, is_allowed) {
|
|
24
|
+
constructor(request_id, approver_user_id, approver_role_id, comment, approval_status, level, service_id, sub_service_id, department_id, section_id, delegate_user_id, approved_by, is_manager, is_president, is_replace, is_allowed) {
|
|
25
25
|
super();
|
|
26
26
|
this.request_id = request_id;
|
|
27
27
|
this.service_id = service_id || null;
|
|
@@ -37,6 +37,7 @@ let HrServiceApprovalDetails = class HrServiceApprovalDetails extends BaseModel_
|
|
|
37
37
|
this.approved_by = approved_by || null;
|
|
38
38
|
this.is_manager = is_manager ?? false;
|
|
39
39
|
this.is_president = is_president ?? false;
|
|
40
|
+
this.is_replace = is_replace ?? false;
|
|
40
41
|
this.is_allowed = is_allowed !== undefined ? is_allowed : true;
|
|
41
42
|
}
|
|
42
43
|
};
|
|
@@ -102,11 +103,15 @@ __decorate([
|
|
|
102
103
|
(0, typeorm_1.Column)({ type: "boolean", default: false, nullable: true }),
|
|
103
104
|
__metadata("design:type", Boolean)
|
|
104
105
|
], HrServiceApprovalDetails.prototype, "is_president", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, typeorm_1.Column)({ type: "boolean", default: false, nullable: true }),
|
|
108
|
+
__metadata("design:type", Boolean)
|
|
109
|
+
], HrServiceApprovalDetails.prototype, "is_replace", void 0);
|
|
105
110
|
__decorate([
|
|
106
111
|
(0, typeorm_1.Column)({ type: "boolean", default: true, nullable: false }),
|
|
107
112
|
__metadata("design:type", Boolean)
|
|
108
113
|
], HrServiceApprovalDetails.prototype, "is_allowed", void 0);
|
|
109
114
|
exports.HrServiceApprovalDetails = HrServiceApprovalDetails = __decorate([
|
|
110
115
|
(0, typeorm_1.Entity)({ name: "hr_service_approvals" }),
|
|
111
|
-
__metadata("design:paramtypes", [Number, Object, Object, String, String, Number, Object, Object, Object, Object, Object, Object, Boolean, Boolean, Boolean])
|
|
116
|
+
__metadata("design:paramtypes", [Number, Object, Object, String, String, Number, Object, Object, Object, Object, Object, Object, Boolean, Boolean, Boolean, Boolean])
|
|
112
117
|
], HrServiceApprovalDetails);
|
package/package.json
CHANGED
|
@@ -58,6 +58,9 @@ export class HrServiceApprovalDetails extends BaseModel {
|
|
|
58
58
|
@Column({ type: "boolean", default: false, nullable: true })
|
|
59
59
|
is_president: boolean;
|
|
60
60
|
|
|
61
|
+
@Column({ type: "boolean", default: false, nullable: true })
|
|
62
|
+
is_replace: boolean;
|
|
63
|
+
|
|
61
64
|
@Column({ type: "boolean", default: true, nullable: false })
|
|
62
65
|
is_allowed: boolean;
|
|
63
66
|
|
|
@@ -76,6 +79,7 @@ export class HrServiceApprovalDetails extends BaseModel {
|
|
|
76
79
|
approved_by?: number | null,
|
|
77
80
|
is_manager?: boolean,
|
|
78
81
|
is_president?: boolean,
|
|
82
|
+
is_replace?: boolean,
|
|
79
83
|
is_allowed?: boolean
|
|
80
84
|
) {
|
|
81
85
|
super();
|
|
@@ -93,6 +97,7 @@ export class HrServiceApprovalDetails extends BaseModel {
|
|
|
93
97
|
this.approved_by = approved_by || null;
|
|
94
98
|
this.is_manager = is_manager ?? false;
|
|
95
99
|
this.is_president = is_president ?? false;
|
|
100
|
+
this.is_replace = is_replace ?? false;
|
|
96
101
|
this.is_allowed = is_allowed !== undefined ? is_allowed : true;
|
|
97
102
|
}
|
|
98
103
|
}
|