@platform-modules/civil-aviation-authority 2.3.57 → 2.3.59

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.
@@ -124,6 +124,7 @@ const RequestForCoverageWorkflowModel_1 = require("./models/RequestForCoverageWo
124
124
  const RequestForCoverageApprovalModel_1 = require("./models/RequestForCoverageApprovalModel");
125
125
  const RequestForCoverageChatModel_1 = require("./models/RequestForCoverageChatModel");
126
126
  const RequestForCoverageAttachmentModel_1 = require("./models/RequestForCoverageAttachmentModel");
127
+ const CashAllowanceLeaveRequestModel_1 = require("./models/CashAllowanceLeaveRequestModel");
127
128
  exports.AppDataSource = new typeorm_1.DataSource({
128
129
  type: 'postgres',
129
130
  host: process.env.DB_HOST || 'localhost',
@@ -251,6 +252,7 @@ exports.AppDataSource = new typeorm_1.DataSource({
251
252
  AssignTasksEmpApprovalModel_1.AssignTasksEmpApprovalDetails,
252
253
  AssignTasksEmpWorkflowModel_1.AssignTasksEmpWorkFlow,
253
254
  AssignTasksEmpAttachmentModel_1.AssignTasksEmpRequestAttachment,
254
- AssignTasksEmpChatModel_1.AssignTasksEmpRequestChat
255
+ AssignTasksEmpChatModel_1.AssignTasksEmpRequestChat,
256
+ CashAllowanceLeaveRequestModel_1.CashAllowanceLeaveRequest
255
257
  ],
256
258
  });
package/dist/index.d.ts CHANGED
@@ -195,3 +195,5 @@ export { ServicesNotificationTriggerType } from './models/ServicesNotificationCo
195
195
  export * from './models/TrainingRoomNotificationConfigModel';
196
196
  export { NotificationFrequency } from './models/TrainingRoomNotificationConfigModel';
197
197
  export * from './models/MissionTravelPassportExpiryNotificationConfigModel';
198
+ export * from './models/CashAllowanceLeaveRequestModel';
199
+ export { CashAllowanceLeaveRequestStatus } from './models/CashAllowanceLeaveRequestModel';
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.RequestForCoverageWorkFlowStatus = exports.RequestForCoverageNewsSize = exports.RequestForCoverageRequestStatus = exports.ServiceTransferRequestType = exports.SalaryDetailsType = exports.ServiceTransferRequestStatus = exports.TemporaryAssignmentRequestType = exports.TemporaryAssignmentRequestStatus = exports.SecondmentRequestStatus = exports.TrainingRoomBookingChatStatus = exports.TrainingRoomBookingMessageType = exports.TrainingRoomBookingRequestChat = exports.TrainingRoomBookingRequestAttachment = exports.TrainingRoomBookingWorkFlowStatus = exports.TrainingRoomBookingApprovalStatus = exports.TrainingRoomBookingRoomType = exports.TrainingRoomBookingRequestStatus = exports.AnnualTrainingPlanChatStatus = exports.AnnualTrainingPlanMessageType = exports.AnnualTrainingPlanRequestChat = exports.AnnualTrainingPlanRequestAttachment = exports.AnnualTrainingPlanWorkFlowStatus = exports.AnnualTrainingPlanApprovalStatus = exports.AnnualTrainingPlanPlace = exports.AnnualTrainingPlanRequestStatus = exports.StudyLeaveChatStatus = exports.StudyLeaveMessageType = exports.StudyLeaveRequestChat = exports.StudyLeaveRequestAttachment = exports.StudyLeaveWorkFlowStatus = exports.StudyLeaveApprovalStatus = exports.StudyLeaveRequestStatus = exports.TrainingMessageType = exports.TrainingRequestChat = exports.TrainingRequestAttachment = exports.TrainingWorkFlowStatus = exports.TrainingApprovalStatus = exports.TrainingRequestStatus = exports.HrServiceChatStatus = exports.HrServiceMessageType = exports.HrServiceRequestChat = exports.HrServiceRequestAttachment = exports.HrServiceWorkFlowStatus = exports.HrServiceApprovalStatus = exports.HrServiceRequestStatus = exports.LogisticsVehicleMaintenanceWorkFlowStatus = exports.LogisticsVehicleMaintenanceMessageType = exports.LogisticsVehicleMaintenanceApprovalStatus = exports.VehicleMaintenanceStatus = exports.VehicleMaintenanceType = void 0;
18
- exports.NotificationFrequency = exports.ServicesNotificationTriggerType = exports.NewResourceRequestStatus = exports.JobTransferRequestStatus = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = exports.AssignTasksEmpMessageType = exports.AssignTasksEmpRequestChat = exports.AssignTasksEmpRequestAttachment = exports.AssignTasksEmpWorkFlowStatus = exports.AssignTasksEmpApprovalStatus = exports.AssignTasksEmpPriority = exports.AssignTasksEmpStatus = exports.RequestForCoverageRequestAttachment = exports.RequestForCoverageChatStatus = exports.RequestForCoverageMessageType = exports.RequestForCoverageRequestChat = exports.RequestForCoverageApprovalStatus = void 0;
18
+ exports.CashAllowanceLeaveRequestStatus = exports.NotificationFrequency = exports.ServicesNotificationTriggerType = exports.NewResourceRequestStatus = exports.JobTransferRequestStatus = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = exports.AssignTasksEmpMessageType = exports.AssignTasksEmpRequestChat = exports.AssignTasksEmpRequestAttachment = exports.AssignTasksEmpWorkFlowStatus = exports.AssignTasksEmpApprovalStatus = exports.AssignTasksEmpPriority = exports.AssignTasksEmpStatus = exports.RequestForCoverageRequestAttachment = exports.RequestForCoverageChatStatus = exports.RequestForCoverageMessageType = exports.RequestForCoverageRequestChat = exports.RequestForCoverageApprovalStatus = void 0;
19
19
  __exportStar(require("./models/user"), exports);
20
20
  __exportStar(require("./models/role"), exports);
21
21
  __exportStar(require("./models/user-sessions"), exports);
@@ -293,3 +293,6 @@ var TrainingRoomNotificationConfigModel_1 = require("./models/TrainingRoomNotifi
293
293
  Object.defineProperty(exports, "NotificationFrequency", { enumerable: true, get: function () { return TrainingRoomNotificationConfigModel_1.NotificationFrequency; } });
294
294
  // Mission Travel Passport Expiry Notification Configuration
295
295
  __exportStar(require("./models/MissionTravelPassportExpiryNotificationConfigModel"), exports);
296
+ __exportStar(require("./models/CashAllowanceLeaveRequestModel"), exports);
297
+ var CashAllowanceLeaveRequestModel_1 = require("./models/CashAllowanceLeaveRequestModel");
298
+ Object.defineProperty(exports, "CashAllowanceLeaveRequestStatus", { enumerable: true, get: function () { return CashAllowanceLeaveRequestModel_1.CashAllowanceLeaveRequestStatus; } });
@@ -0,0 +1,33 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare enum CashAllowanceLeaveRequestStatus {
3
+ PENDING = "Pending",
4
+ ASSIGNED = "Assigned",
5
+ IN_PROGRESS = "In Progress",
6
+ COMPLETED = "Completed",
7
+ APPROVED = "Approved",
8
+ REJECTED = "Rejected"
9
+ }
10
+ export declare class CashAllowanceLeaveRequest extends BaseModel {
11
+ req_user_department_id: number | null;
12
+ req_user_section_id: number | null;
13
+ req_user_position_id: number | null;
14
+ service_id: number | null;
15
+ sub_service_id: number | null;
16
+ user_id: number;
17
+ description: string | null;
18
+ status: CashAllowanceLeaveRequestStatus;
19
+ reviewer_user_id: number | null;
20
+ assigned_to_user_id: number | null;
21
+ assigned_at: Date | null;
22
+ workflow_execution_id: string | null;
23
+ employee_name: string;
24
+ employee_id: string;
25
+ job_title: string;
26
+ salary_grade: string;
27
+ remaining_leave_balance: number;
28
+ basic_salary: number;
29
+ total_salary_due: number;
30
+ end_of_service_date: Date | null;
31
+ reason_for_termination: string | null;
32
+ constructor(user_id: number, status?: CashAllowanceLeaveRequestStatus, service_id?: number | null, sub_service_id?: number | null, req_user_department_id?: number | null, req_user_section_id?: number | null, req_user_position_id?: number | null, description?: string | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null, employee_name?: string, employee_id?: string, job_title?: string, salary_grade?: string, remaining_leave_balance?: number, basic_salary?: number, total_salary_due?: number, end_of_service_date?: Date | null, reason_for_termination?: string | null);
33
+ }
@@ -0,0 +1,138 @@
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.CashAllowanceLeaveRequest = exports.CashAllowanceLeaveRequestStatus = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ var CashAllowanceLeaveRequestStatus;
16
+ (function (CashAllowanceLeaveRequestStatus) {
17
+ CashAllowanceLeaveRequestStatus["PENDING"] = "Pending";
18
+ CashAllowanceLeaveRequestStatus["ASSIGNED"] = "Assigned";
19
+ CashAllowanceLeaveRequestStatus["IN_PROGRESS"] = "In Progress";
20
+ CashAllowanceLeaveRequestStatus["COMPLETED"] = "Completed";
21
+ CashAllowanceLeaveRequestStatus["APPROVED"] = "Approved";
22
+ CashAllowanceLeaveRequestStatus["REJECTED"] = "Rejected";
23
+ })(CashAllowanceLeaveRequestStatus || (exports.CashAllowanceLeaveRequestStatus = CashAllowanceLeaveRequestStatus = {}));
24
+ let CashAllowanceLeaveRequest = class CashAllowanceLeaveRequest extends BaseModel_1.BaseModel {
25
+ constructor(user_id, status = CashAllowanceLeaveRequestStatus.PENDING, service_id, sub_service_id, req_user_department_id, req_user_section_id, req_user_position_id, description, reviewer_user_id, assigned_to_user_id, assigned_at, workflow_execution_id, employee_name, employee_id, job_title, salary_grade, remaining_leave_balance, basic_salary, total_salary_due, end_of_service_date, reason_for_termination) {
26
+ super();
27
+ this.user_id = user_id;
28
+ this.status = status;
29
+ this.service_id = service_id || null;
30
+ this.sub_service_id = sub_service_id || null;
31
+ this.req_user_department_id = req_user_department_id || null;
32
+ this.req_user_section_id = req_user_section_id || null;
33
+ this.req_user_position_id = req_user_position_id || null;
34
+ this.description = description || null;
35
+ this.reviewer_user_id = reviewer_user_id || null;
36
+ this.assigned_to_user_id = assigned_to_user_id || null;
37
+ this.assigned_at = assigned_at || null;
38
+ this.workflow_execution_id = workflow_execution_id || null;
39
+ this.employee_name = employee_name || "";
40
+ this.employee_id = employee_id || "";
41
+ this.job_title = job_title || "";
42
+ this.salary_grade = salary_grade || "";
43
+ this.remaining_leave_balance = remaining_leave_balance || 0;
44
+ this.basic_salary = basic_salary || 0;
45
+ this.total_salary_due = total_salary_due || 0;
46
+ this.end_of_service_date = end_of_service_date || null;
47
+ this.reason_for_termination = reason_for_termination || null;
48
+ }
49
+ };
50
+ exports.CashAllowanceLeaveRequest = CashAllowanceLeaveRequest;
51
+ __decorate([
52
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
53
+ __metadata("design:type", Object)
54
+ ], CashAllowanceLeaveRequest.prototype, "req_user_department_id", void 0);
55
+ __decorate([
56
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
57
+ __metadata("design:type", Object)
58
+ ], CashAllowanceLeaveRequest.prototype, "req_user_section_id", void 0);
59
+ __decorate([
60
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
61
+ __metadata("design:type", Object)
62
+ ], CashAllowanceLeaveRequest.prototype, "req_user_position_id", void 0);
63
+ __decorate([
64
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
65
+ __metadata("design:type", Object)
66
+ ], CashAllowanceLeaveRequest.prototype, "service_id", void 0);
67
+ __decorate([
68
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
69
+ __metadata("design:type", Object)
70
+ ], CashAllowanceLeaveRequest.prototype, "sub_service_id", void 0);
71
+ __decorate([
72
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
73
+ __metadata("design:type", Number)
74
+ ], CashAllowanceLeaveRequest.prototype, "user_id", void 0);
75
+ __decorate([
76
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
77
+ __metadata("design:type", Object)
78
+ ], CashAllowanceLeaveRequest.prototype, "description", void 0);
79
+ __decorate([
80
+ (0, typeorm_1.Column)({ type: "enum", enum: CashAllowanceLeaveRequestStatus, default: CashAllowanceLeaveRequestStatus.PENDING, nullable: false }),
81
+ __metadata("design:type", String)
82
+ ], CashAllowanceLeaveRequest.prototype, "status", void 0);
83
+ __decorate([
84
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
85
+ __metadata("design:type", Object)
86
+ ], CashAllowanceLeaveRequest.prototype, "reviewer_user_id", void 0);
87
+ __decorate([
88
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
89
+ __metadata("design:type", Object)
90
+ ], CashAllowanceLeaveRequest.prototype, "assigned_to_user_id", void 0);
91
+ __decorate([
92
+ (0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
93
+ __metadata("design:type", Object)
94
+ ], CashAllowanceLeaveRequest.prototype, "assigned_at", void 0);
95
+ __decorate([
96
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
97
+ __metadata("design:type", Object)
98
+ ], CashAllowanceLeaveRequest.prototype, "workflow_execution_id", void 0);
99
+ __decorate([
100
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
101
+ __metadata("design:type", String)
102
+ ], CashAllowanceLeaveRequest.prototype, "employee_name", void 0);
103
+ __decorate([
104
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
105
+ __metadata("design:type", String)
106
+ ], CashAllowanceLeaveRequest.prototype, "employee_id", void 0);
107
+ __decorate([
108
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
109
+ __metadata("design:type", String)
110
+ ], CashAllowanceLeaveRequest.prototype, "job_title", void 0);
111
+ __decorate([
112
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
113
+ __metadata("design:type", String)
114
+ ], CashAllowanceLeaveRequest.prototype, "salary_grade", void 0);
115
+ __decorate([
116
+ (0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 2, nullable: false }),
117
+ __metadata("design:type", Number)
118
+ ], CashAllowanceLeaveRequest.prototype, "remaining_leave_balance", void 0);
119
+ __decorate([
120
+ (0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 3, nullable: false }),
121
+ __metadata("design:type", Number)
122
+ ], CashAllowanceLeaveRequest.prototype, "basic_salary", void 0);
123
+ __decorate([
124
+ (0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 3, nullable: false }),
125
+ __metadata("design:type", Number)
126
+ ], CashAllowanceLeaveRequest.prototype, "total_salary_due", void 0);
127
+ __decorate([
128
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
129
+ __metadata("design:type", Object)
130
+ ], CashAllowanceLeaveRequest.prototype, "end_of_service_date", void 0);
131
+ __decorate([
132
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
133
+ __metadata("design:type", Object)
134
+ ], CashAllowanceLeaveRequest.prototype, "reason_for_termination", void 0);
135
+ exports.CashAllowanceLeaveRequest = CashAllowanceLeaveRequest = __decorate([
136
+ (0, typeorm_1.Entity)({ name: "cash_allowance_leave_requests" }),
137
+ __metadata("design:paramtypes", [Number, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, String, String, String, String, Number, Number, Number, Object, Object])
138
+ ], CashAllowanceLeaveRequest);
@@ -0,0 +1,32 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare enum PromotionRequestStatus {
3
+ PENDING = "Pending",
4
+ ASSIGNED = "Assigned",
5
+ IN_PROGRESS = "In Progress",
6
+ COMPLETED = "Completed",
7
+ APPROVED = "Approved",
8
+ REJECTED = "Rejected"
9
+ }
10
+ export declare class PromotionRequest extends BaseModel {
11
+ req_user_department_id: number | null;
12
+ req_user_section_id: number | null;
13
+ req_user_position_id: number | null;
14
+ service_id: number | null;
15
+ sub_service_id: number | null;
16
+ user_id: number;
17
+ description: string | null;
18
+ status: PromotionRequestStatus;
19
+ reviewer_user_id: number | null;
20
+ assigned_to_user_id: number | null;
21
+ assigned_at: Date | null;
22
+ workflow_execution_id: string | null;
23
+ employee_name: string;
24
+ employee_id: string;
25
+ current_job_title: string;
26
+ proposed_job_title: string;
27
+ current_salary_grade: string;
28
+ proposed_salary_grade: string;
29
+ current_basic_salary: number;
30
+ proposed_basic_salary: number;
31
+ constructor(user_id: number, status?: PromotionRequestStatus, service_id?: number | null, sub_service_id?: number | null, req_user_department_id?: number | null, req_user_section_id?: number | null, req_user_position_id?: number | null, description?: string | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null, employee_name?: string, employee_id?: string, current_job_title?: string, proposed_job_title?: string, current_salary_grade?: string, proposed_salary_grade?: string, current_basic_salary?: number, proposed_basic_salary?: number);
32
+ }
@@ -0,0 +1,133 @@
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.PromotionRequest = exports.PromotionRequestStatus = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ var PromotionRequestStatus;
16
+ (function (PromotionRequestStatus) {
17
+ PromotionRequestStatus["PENDING"] = "Pending";
18
+ PromotionRequestStatus["ASSIGNED"] = "Assigned";
19
+ PromotionRequestStatus["IN_PROGRESS"] = "In Progress";
20
+ PromotionRequestStatus["COMPLETED"] = "Completed";
21
+ PromotionRequestStatus["APPROVED"] = "Approved";
22
+ PromotionRequestStatus["REJECTED"] = "Rejected";
23
+ })(PromotionRequestStatus || (exports.PromotionRequestStatus = PromotionRequestStatus = {}));
24
+ let PromotionRequest = class PromotionRequest extends BaseModel_1.BaseModel {
25
+ constructor(user_id, status = PromotionRequestStatus.PENDING, service_id, sub_service_id, req_user_department_id, req_user_section_id, req_user_position_id, description, reviewer_user_id, assigned_to_user_id, assigned_at, workflow_execution_id, employee_name, employee_id, current_job_title, proposed_job_title, current_salary_grade, proposed_salary_grade, current_basic_salary, proposed_basic_salary) {
26
+ super();
27
+ this.user_id = user_id;
28
+ this.status = status;
29
+ this.service_id = service_id || null;
30
+ this.sub_service_id = sub_service_id || null;
31
+ this.req_user_department_id = req_user_department_id || null;
32
+ this.req_user_section_id = req_user_section_id || null;
33
+ this.req_user_position_id = req_user_position_id || null;
34
+ this.description = description || null;
35
+ this.reviewer_user_id = reviewer_user_id || null;
36
+ this.assigned_to_user_id = assigned_to_user_id || null;
37
+ this.assigned_at = assigned_at || null;
38
+ this.workflow_execution_id = workflow_execution_id || null;
39
+ this.employee_name = employee_name || "";
40
+ this.employee_id = employee_id || "";
41
+ this.current_job_title = current_job_title || "";
42
+ this.proposed_job_title = proposed_job_title || "";
43
+ this.current_salary_grade = current_salary_grade || "";
44
+ this.proposed_salary_grade = proposed_salary_grade || "";
45
+ this.current_basic_salary = current_basic_salary || 0;
46
+ this.proposed_basic_salary = proposed_basic_salary || 0;
47
+ }
48
+ };
49
+ exports.PromotionRequest = PromotionRequest;
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
52
+ __metadata("design:type", Object)
53
+ ], PromotionRequest.prototype, "req_user_department_id", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
56
+ __metadata("design:type", Object)
57
+ ], PromotionRequest.prototype, "req_user_section_id", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
60
+ __metadata("design:type", Object)
61
+ ], PromotionRequest.prototype, "req_user_position_id", void 0);
62
+ __decorate([
63
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
64
+ __metadata("design:type", Object)
65
+ ], PromotionRequest.prototype, "service_id", void 0);
66
+ __decorate([
67
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
68
+ __metadata("design:type", Object)
69
+ ], PromotionRequest.prototype, "sub_service_id", void 0);
70
+ __decorate([
71
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
72
+ __metadata("design:type", Number)
73
+ ], PromotionRequest.prototype, "user_id", void 0);
74
+ __decorate([
75
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
76
+ __metadata("design:type", Object)
77
+ ], PromotionRequest.prototype, "description", void 0);
78
+ __decorate([
79
+ (0, typeorm_1.Column)({ type: "enum", enum: PromotionRequestStatus, default: PromotionRequestStatus.PENDING, nullable: false }),
80
+ __metadata("design:type", String)
81
+ ], PromotionRequest.prototype, "status", void 0);
82
+ __decorate([
83
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
84
+ __metadata("design:type", Object)
85
+ ], PromotionRequest.prototype, "reviewer_user_id", void 0);
86
+ __decorate([
87
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
88
+ __metadata("design:type", Object)
89
+ ], PromotionRequest.prototype, "assigned_to_user_id", void 0);
90
+ __decorate([
91
+ (0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
92
+ __metadata("design:type", Object)
93
+ ], PromotionRequest.prototype, "assigned_at", void 0);
94
+ __decorate([
95
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
96
+ __metadata("design:type", Object)
97
+ ], PromotionRequest.prototype, "workflow_execution_id", void 0);
98
+ __decorate([
99
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
100
+ __metadata("design:type", String)
101
+ ], PromotionRequest.prototype, "employee_name", void 0);
102
+ __decorate([
103
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
104
+ __metadata("design:type", String)
105
+ ], PromotionRequest.prototype, "employee_id", void 0);
106
+ __decorate([
107
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
108
+ __metadata("design:type", String)
109
+ ], PromotionRequest.prototype, "current_job_title", void 0);
110
+ __decorate([
111
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
112
+ __metadata("design:type", String)
113
+ ], PromotionRequest.prototype, "proposed_job_title", void 0);
114
+ __decorate([
115
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
116
+ __metadata("design:type", String)
117
+ ], PromotionRequest.prototype, "current_salary_grade", void 0);
118
+ __decorate([
119
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
120
+ __metadata("design:type", String)
121
+ ], PromotionRequest.prototype, "proposed_salary_grade", void 0);
122
+ __decorate([
123
+ (0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 3, nullable: false }),
124
+ __metadata("design:type", Number)
125
+ ], PromotionRequest.prototype, "current_basic_salary", void 0);
126
+ __decorate([
127
+ (0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 3, nullable: false }),
128
+ __metadata("design:type", Number)
129
+ ], PromotionRequest.prototype, "proposed_basic_salary", void 0);
130
+ exports.PromotionRequest = PromotionRequest = __decorate([
131
+ (0, typeorm_1.Entity)({ name: "promotion_requests" }),
132
+ __metadata("design:paramtypes", [Number, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, String, String, String, String, String, String, Number, Number])
133
+ ], PromotionRequest);
@@ -0,0 +1,9 @@
1
+ import { BaseModel } from './BaseModel';
2
+ export declare class Workflows extends BaseModel {
3
+ name: string;
4
+ service_id: number;
5
+ sub_service_id: number;
6
+ request_for: string;
7
+ levels: number;
8
+ constructor(name: string, service_id: number, sub_service_id: number, request_for: string, levels: number);
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.3.57",
3
+ "version": "2.3.59",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -122,6 +122,7 @@ import { RequestForCoverageWorkFlow } from './models/RequestForCoverageWorkflowM
122
122
  import { RequestForCoverageApprovalDetails } from './models/RequestForCoverageApprovalModel';
123
123
  import { RequestForCoverageRequestChat } from './models/RequestForCoverageChatModel';
124
124
  import { RequestForCoverageRequestAttachment } from './models/RequestForCoverageAttachmentModel';
125
+ import { CashAllowanceLeaveRequest } from './models/CashAllowanceLeaveRequestModel';
125
126
 
126
127
  export const AppDataSource = new DataSource({
127
128
  type: 'postgres',
@@ -250,6 +251,7 @@ export const AppDataSource = new DataSource({
250
251
  AssignTasksEmpApprovalDetails,
251
252
  AssignTasksEmpWorkFlow,
252
253
  AssignTasksEmpRequestAttachment,
253
- AssignTasksEmpRequestChat
254
+ AssignTasksEmpRequestChat,
255
+ CashAllowanceLeaveRequest
254
256
  ],
255
257
  });
package/src/index.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { JobTransferRequestStatus } from './models/JobTransferRequestModel';
2
+
1
3
  export * from './models/user';
2
4
  export * from './models/role';
3
5
  export * from './models/user-sessions';
@@ -215,4 +217,7 @@ export * from './models/TrainingRoomNotificationConfigModel';
215
217
  export {NotificationFrequency} from './models/TrainingRoomNotificationConfigModel';
216
218
 
217
219
  // Mission Travel Passport Expiry Notification Configuration
218
- export * from './models/MissionTravelPassportExpiryNotificationConfigModel';
220
+ export * from './models/MissionTravelPassportExpiryNotificationConfigModel';
221
+
222
+ export * from './models/CashAllowanceLeaveRequestModel'
223
+ export { CashAllowanceLeaveRequestStatus } from './models/CashAllowanceLeaveRequestModel'