@platform-modules/civil-aviation-authority 2.3.213 → 2.3.215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env +10 -10
- package/dist/models/FollowUpReportApprovalModel.d.ts +0 -2
- package/dist/models/FollowUpReportApprovalModel.js +3 -4
- package/dist/models/FollowUpReportAttachmentModel.d.ts +0 -1
- package/dist/models/FollowUpReportAttachmentModel.js +2 -3
- package/dist/models/FollowUpReportChatModel.d.ts +0 -2
- package/dist/models/FollowUpReportChatModel.js +3 -4
- package/dist/models/FollowUpReportRequestModel.d.ts +0 -4
- package/dist/models/FollowUpReportRequestModel.js +5 -6
- package/dist/models/FollowUpReportWorkflowModel.d.ts +0 -2
- package/dist/models/FollowUpReportWorkflowModel.js +3 -4
- package/dist/models/HumanResourceAnnualPlanningRequestModel.d.ts +14 -1
- package/dist/models/HumanResourceAnnualPlanningRequestModel.js +67 -2
- package/dist/models/ITApprovalSettings.d.ts +7 -0
- package/dist/models/ITApprovalSettings.js +40 -0
- package/dist/models/ITServicesTypesMuscatModel.d.ts +6 -0
- package/dist/models/ITServicesTypesMuscatModel.js +34 -0
- package/dist/models/ITServicesTypesSalalahModel.d.ts +6 -0
- package/dist/models/ITServicesTypesSalalahModel.js +34 -0
- package/dist/models/MaintenanceApprovalModel.d.ts +2 -0
- package/dist/models/MaintenanceApprovalModel.js +4 -3
- package/dist/models/MaintenanceAttachmentModel.d.ts +1 -0
- package/dist/models/MaintenanceAttachmentModel.js +3 -2
- package/dist/models/MaintenanceChatModel.d.ts +2 -0
- package/dist/models/MaintenanceChatModel.js +4 -3
- package/dist/models/MaintenanceRequestModel.d.ts +4 -0
- package/dist/models/MaintenanceRequestModel.js +6 -5
- package/dist/models/MaintenanceWorkflowModel.d.ts +2 -0
- package/dist/models/MaintenanceWorkflowModel.js +4 -3
- package/dist/models/Workflows.d.ts +9 -0
- package/dist/models/Workflows.js +31 -0
- package/package.json +1 -1
- package/src/models/AccommodationApprovalModel.ts +8 -8
- package/src/models/AccommodationRequestModel.ts +8 -8
- package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
- package/src/models/AnnualIncrementRequestModel.ts +25 -25
- package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +23 -23
- package/src/models/CAAServices.ts +33 -33
- package/src/models/CAASubServices.ts +33 -33
- package/src/models/CAIRatingMasterModel.ts +39 -39
- package/src/models/CSRMBusinessImpactRatingMasterModel.ts +25 -25
- package/src/models/CSRMLikelihoodMasterModel.ts +25 -25
- package/src/models/CashAllowanceLeaveRequestModel.ts +11 -11
- package/src/models/FollowUpReportApprovalModel.ts +0 -3
- package/src/models/FollowUpReportAttachmentModel.ts +0 -2
- package/src/models/FollowUpReportChatModel.ts +0 -3
- package/src/models/FollowUpReportRequestModel.ts +0 -5
- package/src/models/FollowUpReportWorkflowModel.ts +0 -3
- package/src/models/HrServiceRequestModel.ts +193 -193
- package/src/models/HumanResourceAnnualPlanningRequestModel.ts +84 -19
- package/src/models/MaintenanceApprovalModel.ts +3 -0
- package/src/models/MaintenanceAttachmentModel.ts +2 -0
- package/src/models/MaintenanceChatModel.ts +3 -0
- package/src/models/MaintenanceRequestModel.ts +5 -0
- package/src/models/MaintenanceWorkflowModel.ts +3 -0
- package/src/models/PerformanceCyclePeriodModel.ts +26 -26
- package/src/models/PerformanceGoalMasterModel.ts +27 -27
- package/src/models/PerformanceManagementRequestGoalModel.ts +46 -46
- package/src/models/PerformanceManagementRequestModel.ts +14 -14
- package/src/models/PromotionRequestModel.ts +11 -11
- package/src/models/RespondToEnquiriesRequestModel.ts +31 -31
- package/src/models/SkillsEnhancementRequestModel.ts +17 -17
- package/src/models/UserSkillModel.ts +56 -56
|
@@ -53,12 +53,51 @@ export class HumanResourceAnnualPlanningRequest extends BaseModel {
|
|
|
53
53
|
@Column({ type: "varchar", length: 255, nullable: true })
|
|
54
54
|
workflow_execution_id: string | null;
|
|
55
55
|
|
|
56
|
-
@Column({ type: "text", nullable: true })
|
|
57
|
-
description: string | null;
|
|
58
|
-
|
|
59
|
-
// HR Annual Planning specific fields
|
|
60
|
-
@Column({ type: "
|
|
61
|
-
|
|
56
|
+
@Column({ type: "text", nullable: true })
|
|
57
|
+
description: string | null;
|
|
58
|
+
|
|
59
|
+
// HR Annual Planning specific fields
|
|
60
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
61
|
+
employee_name: string | null;
|
|
62
|
+
|
|
63
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
64
|
+
employee_id: string | null;
|
|
65
|
+
|
|
66
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
67
|
+
current_position: string | null;
|
|
68
|
+
|
|
69
|
+
@Column({ type: "text", nullable: true })
|
|
70
|
+
skills: string | null;
|
|
71
|
+
|
|
72
|
+
@Column({ type: "decimal", precision: 10, scale: 2, nullable: true })
|
|
73
|
+
work_experience: number | null;
|
|
74
|
+
|
|
75
|
+
@Column({ type: "varchar", length: 20, nullable: true })
|
|
76
|
+
productivity_rating: string | null;
|
|
77
|
+
|
|
78
|
+
@Column({ type: "text", nullable: true })
|
|
79
|
+
productivity_other: string | null;
|
|
80
|
+
|
|
81
|
+
@Column({ type: "varchar", length: 20, nullable: true })
|
|
82
|
+
behavior_rating: string | null;
|
|
83
|
+
|
|
84
|
+
@Column({ type: "text", nullable: true })
|
|
85
|
+
behavior_other: string | null;
|
|
86
|
+
|
|
87
|
+
@Column({ type: "varchar", length: 20, nullable: true })
|
|
88
|
+
leadership_rating: string | null;
|
|
89
|
+
|
|
90
|
+
@Column({ type: "text", nullable: true })
|
|
91
|
+
leadership_other: string | null;
|
|
92
|
+
|
|
93
|
+
@Column({ type: "varchar", length: 20, nullable: true })
|
|
94
|
+
emotional_intelligence_rating: string | null;
|
|
95
|
+
|
|
96
|
+
@Column({ type: "text", nullable: true })
|
|
97
|
+
emotional_intelligence_other: string | null;
|
|
98
|
+
|
|
99
|
+
@Column({ type: "text", nullable: true })
|
|
100
|
+
comment: string | null;
|
|
62
101
|
|
|
63
102
|
@Column({ type: "varchar", length: 50, nullable: true })
|
|
64
103
|
extension_number: string | null;
|
|
@@ -79,13 +118,26 @@ export class HumanResourceAnnualPlanningRequest extends BaseModel {
|
|
|
79
118
|
req_user_position_id?: number | null,
|
|
80
119
|
description?: string | null,
|
|
81
120
|
reviewer_user_id?: number | null,
|
|
82
|
-
assigned_to_user_id?: number | null,
|
|
83
|
-
assigned_at?: Date | null,
|
|
84
|
-
workflow_execution_id?: string | null,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
121
|
+
assigned_to_user_id?: number | null,
|
|
122
|
+
assigned_at?: Date | null,
|
|
123
|
+
workflow_execution_id?: string | null,
|
|
124
|
+
employee_name?: string | null,
|
|
125
|
+
employee_id?: string | null,
|
|
126
|
+
current_position?: string | null,
|
|
127
|
+
skills?: string | null,
|
|
128
|
+
work_experience?: number | null,
|
|
129
|
+
productivity_rating?: string | null,
|
|
130
|
+
productivity_other?: string | null,
|
|
131
|
+
behavior_rating?: string | null,
|
|
132
|
+
behavior_other?: string | null,
|
|
133
|
+
leadership_rating?: string | null,
|
|
134
|
+
leadership_other?: string | null,
|
|
135
|
+
emotional_intelligence_rating?: string | null,
|
|
136
|
+
emotional_intelligence_other?: string | null,
|
|
137
|
+
comment?: string | null,
|
|
138
|
+
extension_number?: string | null,
|
|
139
|
+
quarter?: Quarter | null,
|
|
140
|
+
year?: number | null
|
|
89
141
|
) {
|
|
90
142
|
super();
|
|
91
143
|
this.user_id = user_id;
|
|
@@ -98,11 +150,24 @@ export class HumanResourceAnnualPlanningRequest extends BaseModel {
|
|
|
98
150
|
this.description = description || null;
|
|
99
151
|
this.reviewer_user_id = reviewer_user_id || null;
|
|
100
152
|
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
101
|
-
this.assigned_at = assigned_at || null;
|
|
102
|
-
this.workflow_execution_id = workflow_execution_id || null;
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
153
|
+
this.assigned_at = assigned_at || null;
|
|
154
|
+
this.workflow_execution_id = workflow_execution_id || null;
|
|
155
|
+
this.employee_name = employee_name || null;
|
|
156
|
+
this.employee_id = employee_id || null;
|
|
157
|
+
this.current_position = current_position || null;
|
|
158
|
+
this.skills = skills || null;
|
|
159
|
+
this.work_experience = work_experience || null;
|
|
160
|
+
this.productivity_rating = productivity_rating || null;
|
|
161
|
+
this.productivity_other = productivity_other || null;
|
|
162
|
+
this.behavior_rating = behavior_rating || null;
|
|
163
|
+
this.behavior_other = behavior_other || null;
|
|
164
|
+
this.leadership_rating = leadership_rating || null;
|
|
165
|
+
this.leadership_other = leadership_other || null;
|
|
166
|
+
this.emotional_intelligence_rating = emotional_intelligence_rating || null;
|
|
167
|
+
this.emotional_intelligence_other = emotional_intelligence_other || null;
|
|
168
|
+
this.comment = comment || null;
|
|
169
|
+
this.extension_number = extension_number || null;
|
|
170
|
+
this.quarter = quarter || null;
|
|
171
|
+
this.year = year || null;
|
|
107
172
|
}
|
|
108
173
|
}
|
|
@@ -54,3 +54,6 @@ export class AssetMaintenanceApprovalDetails extends BaseModel {
|
|
|
54
54
|
@Column({ type: 'boolean', default: true, nullable: false })
|
|
55
55
|
is_allowed: boolean;
|
|
56
56
|
}
|
|
57
|
+
|
|
58
|
+
export { AssetMaintenanceApprovalDetails as MaintenanceApprovalDetails };
|
|
59
|
+
export { AssetMaintenanceApprovalStatus as MaintenanceApprovalStatus };
|
|
@@ -83,3 +83,8 @@ export class AssetMaintenanceRequests extends BaseModel {
|
|
|
83
83
|
@Column({ type: 'varchar', nullable: true })
|
|
84
84
|
workflow_execution_id: string | null;
|
|
85
85
|
}
|
|
86
|
+
|
|
87
|
+
export { AssetMaintenanceRequests as MaintenanceRequests };
|
|
88
|
+
export { AssetMaintenanceRequestStatus as MaintenanceRequestStatus };
|
|
89
|
+
export { AssetMaintenanceCategory as MaintenanceCategory };
|
|
90
|
+
export { AssetMaintenanceSubCategory as MaintenanceSubCategory };
|
|
@@ -41,3 +41,6 @@ export class AssetMaintenanceWorkflow extends BaseModel {
|
|
|
41
41
|
@Column({ type: 'integer', nullable: true })
|
|
42
42
|
section_id: number | null;
|
|
43
43
|
}
|
|
44
|
+
|
|
45
|
+
export { AssetMaintenanceWorkflow as MaintenanceWorkFlow };
|
|
46
|
+
export { AssetMaintenanceWorkflowStatus as MaintenanceWorkFlowStatus };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { Column, Entity, Index } from "typeorm";
|
|
2
|
-
import { BaseModel } from "./BaseModel";
|
|
3
|
-
|
|
4
|
-
@Entity({ name: "performance_cycle_periods" })
|
|
5
|
-
@Index("uq_performance_cycle_period", ["cycle_period", "cycle_year"], { unique: true })
|
|
6
|
-
export class PerformanceCyclePeriod extends BaseModel {
|
|
7
|
-
@Column({ type: "varchar", length: 50, nullable: false })
|
|
8
|
-
cycle_period: string;
|
|
9
|
-
|
|
10
|
-
@Column({ type: "integer", nullable: false })
|
|
11
|
-
cycle_year: number;
|
|
12
|
-
|
|
13
|
-
@Column({ type: "varchar", length: 255, nullable: false, default: "" })
|
|
14
|
-
title: string;
|
|
15
|
-
|
|
16
|
-
@Column({ type: "boolean", default: false })
|
|
17
|
-
is_active: boolean;
|
|
18
|
-
|
|
19
|
-
constructor(cycle_period?: string, cycle_year?: number, title?: string) {
|
|
20
|
-
super();
|
|
21
|
-
this.cycle_period = cycle_period || "";
|
|
22
|
-
this.cycle_year = cycle_year || new Date().getFullYear();
|
|
23
|
-
this.title = title || "";
|
|
24
|
-
this.is_active = false;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
1
|
+
import { Column, Entity, Index } from "typeorm";
|
|
2
|
+
import { BaseModel } from "./BaseModel";
|
|
3
|
+
|
|
4
|
+
@Entity({ name: "performance_cycle_periods" })
|
|
5
|
+
@Index("uq_performance_cycle_period", ["cycle_period", "cycle_year"], { unique: true })
|
|
6
|
+
export class PerformanceCyclePeriod extends BaseModel {
|
|
7
|
+
@Column({ type: "varchar", length: 50, nullable: false })
|
|
8
|
+
cycle_period: string;
|
|
9
|
+
|
|
10
|
+
@Column({ type: "integer", nullable: false })
|
|
11
|
+
cycle_year: number;
|
|
12
|
+
|
|
13
|
+
@Column({ type: "varchar", length: 255, nullable: false, default: "" })
|
|
14
|
+
title: string;
|
|
15
|
+
|
|
16
|
+
@Column({ type: "boolean", default: false })
|
|
17
|
+
is_active: boolean;
|
|
18
|
+
|
|
19
|
+
constructor(cycle_period?: string, cycle_year?: number, title?: string) {
|
|
20
|
+
super();
|
|
21
|
+
this.cycle_period = cycle_period || "";
|
|
22
|
+
this.cycle_year = cycle_year || new Date().getFullYear();
|
|
23
|
+
this.title = title || "";
|
|
24
|
+
this.is_active = false;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Column, Entity, Index } from "typeorm";
|
|
2
|
-
import { BaseModel } from "./BaseModel";
|
|
3
|
-
|
|
4
|
-
@Entity({ name: "performance_management_goals" })
|
|
5
|
-
export class PerformanceGoalMaster extends BaseModel {
|
|
6
|
-
@Column({ type: "varchar", length: 255, nullable: false })
|
|
7
|
-
goal_title: string;
|
|
8
|
-
|
|
9
|
-
@Column({ type: "text", nullable: true })
|
|
10
|
-
goal_description: string | null;
|
|
11
|
-
|
|
12
|
-
@Column({ type: "integer", nullable: false })
|
|
13
|
-
@Index("idx_performance_goal_cycle_period_id")
|
|
14
|
-
cycle_period_id: number;
|
|
15
|
-
|
|
16
|
-
@Column({ type: "boolean", default: true })
|
|
17
|
-
is_active: boolean;
|
|
18
|
-
|
|
19
|
-
constructor(goal_title?: string, goal_description?: string | null, cycle_period_id?: number) {
|
|
20
|
-
super();
|
|
21
|
-
this.goal_title = goal_title || "";
|
|
22
|
-
this.goal_description = goal_description || null;
|
|
23
|
-
this.cycle_period_id = cycle_period_id || 0;
|
|
24
|
-
this.is_active = true;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
1
|
+
import { Column, Entity, Index } from "typeorm";
|
|
2
|
+
import { BaseModel } from "./BaseModel";
|
|
3
|
+
|
|
4
|
+
@Entity({ name: "performance_management_goals" })
|
|
5
|
+
export class PerformanceGoalMaster extends BaseModel {
|
|
6
|
+
@Column({ type: "varchar", length: 255, nullable: false })
|
|
7
|
+
goal_title: string;
|
|
8
|
+
|
|
9
|
+
@Column({ type: "text", nullable: true })
|
|
10
|
+
goal_description: string | null;
|
|
11
|
+
|
|
12
|
+
@Column({ type: "integer", nullable: false })
|
|
13
|
+
@Index("idx_performance_goal_cycle_period_id")
|
|
14
|
+
cycle_period_id: number;
|
|
15
|
+
|
|
16
|
+
@Column({ type: "boolean", default: true })
|
|
17
|
+
is_active: boolean;
|
|
18
|
+
|
|
19
|
+
constructor(goal_title?: string, goal_description?: string | null, cycle_period_id?: number) {
|
|
20
|
+
super();
|
|
21
|
+
this.goal_title = goal_title || "";
|
|
22
|
+
this.goal_description = goal_description || null;
|
|
23
|
+
this.cycle_period_id = cycle_period_id || 0;
|
|
24
|
+
this.is_active = true;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { Column, Entity, Index } from "typeorm";
|
|
2
|
-
import { BaseModel } from "./BaseModel";
|
|
3
|
-
|
|
4
|
-
@Entity({ name: "performance_management_request_goals" })
|
|
5
|
-
export class PerformanceManagementRequestGoal extends BaseModel {
|
|
6
|
-
@Index("idx_pm_request_goals_request_id")
|
|
7
|
-
@Column({ type: "integer", nullable: false })
|
|
8
|
-
request_id: number;
|
|
9
|
-
|
|
10
|
-
@Column({ type: "varchar", length: 255, nullable: false })
|
|
11
|
-
goal_title: string;
|
|
12
|
-
|
|
13
|
-
@Column({ type: "varchar", length: 100, nullable: false })
|
|
14
|
-
goal_id: string;
|
|
15
|
-
|
|
16
|
-
@Column({ type: "text", nullable: false })
|
|
17
|
-
goal_description: string;
|
|
18
|
-
|
|
19
|
-
@Column({ type: "integer", nullable: false, default: 0 })
|
|
20
|
-
goal_weight: number;
|
|
21
|
-
|
|
22
|
-
@Column({ type: "integer", nullable: true, default: null })
|
|
23
|
-
rating: number | null;
|
|
24
|
-
|
|
25
|
-
@Column({ type: "text", nullable: true, default: null })
|
|
26
|
-
remark: string | null;
|
|
27
|
-
|
|
28
|
-
constructor(
|
|
29
|
-
request_id?: number,
|
|
30
|
-
goal_title?: string,
|
|
31
|
-
goal_id?: string,
|
|
32
|
-
goal_description?: string,
|
|
33
|
-
goal_weight?: number,
|
|
34
|
-
rating?: number | null,
|
|
35
|
-
remark?: string | null
|
|
36
|
-
) {
|
|
37
|
-
super();
|
|
38
|
-
this.request_id = request_id || 0;
|
|
39
|
-
this.goal_title = goal_title || "";
|
|
40
|
-
this.goal_id = goal_id || "";
|
|
41
|
-
this.goal_description = goal_description || "";
|
|
42
|
-
this.goal_weight = goal_weight || 0;
|
|
43
|
-
this.rating = rating ?? null;
|
|
44
|
-
this.remark = remark ?? null;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
import { Column, Entity, Index } from "typeorm";
|
|
2
|
+
import { BaseModel } from "./BaseModel";
|
|
3
|
+
|
|
4
|
+
@Entity({ name: "performance_management_request_goals" })
|
|
5
|
+
export class PerformanceManagementRequestGoal extends BaseModel {
|
|
6
|
+
@Index("idx_pm_request_goals_request_id")
|
|
7
|
+
@Column({ type: "integer", nullable: false })
|
|
8
|
+
request_id: number;
|
|
9
|
+
|
|
10
|
+
@Column({ type: "varchar", length: 255, nullable: false })
|
|
11
|
+
goal_title: string;
|
|
12
|
+
|
|
13
|
+
@Column({ type: "varchar", length: 100, nullable: false })
|
|
14
|
+
goal_id: string;
|
|
15
|
+
|
|
16
|
+
@Column({ type: "text", nullable: false })
|
|
17
|
+
goal_description: string;
|
|
18
|
+
|
|
19
|
+
@Column({ type: "integer", nullable: false, default: 0 })
|
|
20
|
+
goal_weight: number;
|
|
21
|
+
|
|
22
|
+
@Column({ type: "integer", nullable: true, default: null })
|
|
23
|
+
rating: number | null;
|
|
24
|
+
|
|
25
|
+
@Column({ type: "text", nullable: true, default: null })
|
|
26
|
+
remark: string | null;
|
|
27
|
+
|
|
28
|
+
constructor(
|
|
29
|
+
request_id?: number,
|
|
30
|
+
goal_title?: string,
|
|
31
|
+
goal_id?: string,
|
|
32
|
+
goal_description?: string,
|
|
33
|
+
goal_weight?: number,
|
|
34
|
+
rating?: number | null,
|
|
35
|
+
remark?: string | null
|
|
36
|
+
) {
|
|
37
|
+
super();
|
|
38
|
+
this.request_id = request_id || 0;
|
|
39
|
+
this.goal_title = goal_title || "";
|
|
40
|
+
this.goal_id = goal_id || "";
|
|
41
|
+
this.goal_description = goal_description || "";
|
|
42
|
+
this.goal_weight = goal_weight || 0;
|
|
43
|
+
this.rating = rating ?? null;
|
|
44
|
+
this.remark = remark ?? null;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -53,8 +53,8 @@ export class PerformanceManagementRequest extends BaseModel {
|
|
|
53
53
|
@Column({ type: "text", nullable: true })
|
|
54
54
|
description: string | null;
|
|
55
55
|
|
|
56
|
-
@Column({ type: "enum", enum: PerformanceManagementCyclePeriod, nullable: false })
|
|
57
|
-
cycle_period: PerformanceManagementCyclePeriod;
|
|
56
|
+
@Column({ type: "enum", enum: PerformanceManagementCyclePeriod, nullable: false })
|
|
57
|
+
cycle_period: PerformanceManagementCyclePeriod;
|
|
58
58
|
|
|
59
59
|
@Column({ type: "integer", nullable: true })
|
|
60
60
|
cycle_year: number | null;
|
|
@@ -70,11 +70,11 @@ export class PerformanceManagementRequest extends BaseModel {
|
|
|
70
70
|
description?: string | null,
|
|
71
71
|
reviewer_user_id?: number | null,
|
|
72
72
|
assigned_to_user_id?: number | null,
|
|
73
|
-
assigned_at?: Date | null,
|
|
74
|
-
workflow_execution_id?: string | null,
|
|
75
|
-
cycle_period?: PerformanceManagementCyclePeriod,
|
|
76
|
-
cycle_year?: number | null
|
|
77
|
-
) {
|
|
73
|
+
assigned_at?: Date | null,
|
|
74
|
+
workflow_execution_id?: string | null,
|
|
75
|
+
cycle_period?: PerformanceManagementCyclePeriod,
|
|
76
|
+
cycle_year?: number | null
|
|
77
|
+
) {
|
|
78
78
|
super();
|
|
79
79
|
this.user_id = user_id;
|
|
80
80
|
this.status = status;
|
|
@@ -85,10 +85,10 @@ export class PerformanceManagementRequest extends BaseModel {
|
|
|
85
85
|
this.req_user_position_id = req_user_position_id || null;
|
|
86
86
|
this.description = description || null;
|
|
87
87
|
this.reviewer_user_id = reviewer_user_id || null;
|
|
88
|
-
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
89
|
-
this.assigned_at = assigned_at || null;
|
|
90
|
-
this.workflow_execution_id = workflow_execution_id || null;
|
|
91
|
-
this.cycle_period = cycle_period || PerformanceManagementCyclePeriod.JAN_JUN;
|
|
92
|
-
this.cycle_year = cycle_year || null;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
88
|
+
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
89
|
+
this.assigned_at = assigned_at || null;
|
|
90
|
+
this.workflow_execution_id = workflow_execution_id || null;
|
|
91
|
+
this.cycle_period = cycle_period || PerformanceManagementCyclePeriod.JAN_JUN;
|
|
92
|
+
this.cycle_year = cycle_year || null;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -45,12 +45,12 @@ export class PromotionRequest extends BaseModel {
|
|
|
45
45
|
@Column({ type: "timestamp", nullable: true })
|
|
46
46
|
assigned_at: Date | null;
|
|
47
47
|
|
|
48
|
-
@Column({ type: "varchar", length: 255, nullable: true })
|
|
49
|
-
workflow_execution_id: string | null;
|
|
50
|
-
|
|
51
|
-
@Column({ type: "varchar", length: 255, nullable: true })
|
|
52
|
-
reference_number: string | null;
|
|
53
|
-
|
|
48
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
49
|
+
workflow_execution_id: string | null;
|
|
50
|
+
|
|
51
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
52
|
+
reference_number: string | null;
|
|
53
|
+
|
|
54
54
|
// Promotion Decision specific fields
|
|
55
55
|
@Column({ type: "varchar", length: 255, nullable: false })
|
|
56
56
|
employee_name: string;
|
|
@@ -108,11 +108,11 @@ export class PromotionRequest extends BaseModel {
|
|
|
108
108
|
this.req_user_position_id = req_user_position_id || null;
|
|
109
109
|
this.description = description || null;
|
|
110
110
|
this.reviewer_user_id = reviewer_user_id || null;
|
|
111
|
-
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
112
|
-
this.assigned_at = assigned_at || null;
|
|
113
|
-
this.workflow_execution_id = workflow_execution_id || null;
|
|
114
|
-
this.reference_number = null;
|
|
115
|
-
this.employee_name = employee_name || "";
|
|
111
|
+
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
112
|
+
this.assigned_at = assigned_at || null;
|
|
113
|
+
this.workflow_execution_id = workflow_execution_id || null;
|
|
114
|
+
this.reference_number = null;
|
|
115
|
+
this.employee_name = employee_name || "";
|
|
116
116
|
this.employee_id = employee_id || "";
|
|
117
117
|
this.current_job_title = current_job_title || "";
|
|
118
118
|
this.proposed_job_title = proposed_job_title || "";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Column, Entity } from "typeorm";
|
|
2
2
|
import { BaseModel } from "./BaseModel";
|
|
3
3
|
|
|
4
|
-
export enum RespondToEnquiriesRequestStatus {
|
|
5
|
-
PENDING = "Pending",
|
|
6
|
-
ASSIGNED = "Assigned",
|
|
7
|
-
IN_PROGRESS = "In Progress",
|
|
8
|
-
COMPLETED = "Completed",
|
|
9
|
-
APPROVED = "Approved",
|
|
10
|
-
REJECTED = "Rejected"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@Entity({ name: "respond_to_enquiries_requests" })
|
|
14
|
-
export class RespondToEnquiriesRequest extends BaseModel {
|
|
4
|
+
export enum RespondToEnquiriesRequestStatus {
|
|
5
|
+
PENDING = "Pending",
|
|
6
|
+
ASSIGNED = "Assigned",
|
|
7
|
+
IN_PROGRESS = "In Progress",
|
|
8
|
+
COMPLETED = "Completed",
|
|
9
|
+
APPROVED = "Approved",
|
|
10
|
+
REJECTED = "Rejected"
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@Entity({ name: "respond_to_enquiries_requests" })
|
|
14
|
+
export class RespondToEnquiriesRequest extends BaseModel {
|
|
15
15
|
@Column({ type: "integer", nullable: true })
|
|
16
16
|
req_user_department_id: number | null;
|
|
17
17
|
|
|
@@ -65,11 +65,11 @@ export class RespondToEnquiriesRequest extends BaseModel {
|
|
|
65
65
|
@Column({ type: "date", nullable: false })
|
|
66
66
|
date_of_submission: Date;
|
|
67
67
|
|
|
68
|
-
@Column({ type: "varchar", length: 30, nullable: false })
|
|
69
|
-
phone: string;
|
|
70
|
-
|
|
71
|
-
@Column({ type: "date", nullable: true })
|
|
72
|
-
tender_date_of_submission: Date | null;
|
|
68
|
+
@Column({ type: "varchar", length: 30, nullable: false })
|
|
69
|
+
phone: string;
|
|
70
|
+
|
|
71
|
+
@Column({ type: "date", nullable: true })
|
|
72
|
+
tender_date_of_submission: Date | null;
|
|
73
73
|
|
|
74
74
|
@Column({ type: "varchar", length: 30, nullable: true })
|
|
75
75
|
tender_phone: string | null;
|
|
@@ -101,14 +101,14 @@ export class RespondToEnquiriesRequest extends BaseModel {
|
|
|
101
101
|
req_user_department_id?: number | null,
|
|
102
102
|
req_user_section_id?: number | null,
|
|
103
103
|
req_user_position_id?: number | null,
|
|
104
|
-
reviewer_user_id?: number | null,
|
|
105
|
-
assigned_to_user_id?: number | null,
|
|
106
|
-
assigned_at?: Date | null,
|
|
107
|
-
workflow_execution_id?: string | null,
|
|
108
|
-
request_id?: string | null,
|
|
109
|
-
tender_date_of_submission?: Date | null,
|
|
110
|
-
tender_phone?: string | null,
|
|
111
|
-
budget_code?: string | null,
|
|
104
|
+
reviewer_user_id?: number | null,
|
|
105
|
+
assigned_to_user_id?: number | null,
|
|
106
|
+
assigned_at?: Date | null,
|
|
107
|
+
workflow_execution_id?: string | null,
|
|
108
|
+
request_id?: string | null,
|
|
109
|
+
tender_date_of_submission?: Date | null,
|
|
110
|
+
tender_phone?: string | null,
|
|
111
|
+
budget_code?: string | null,
|
|
112
112
|
estimated_cost?: string | null,
|
|
113
113
|
implementation_period?: string | null,
|
|
114
114
|
requesting_entity?: string | null,
|
|
@@ -128,13 +128,13 @@ export class RespondToEnquiriesRequest extends BaseModel {
|
|
|
128
128
|
this.req_user_position_id = req_user_position_id || null;
|
|
129
129
|
this.reviewer_user_id = reviewer_user_id || null;
|
|
130
130
|
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
131
|
-
this.assigned_at = assigned_at || null;
|
|
132
|
-
this.workflow_execution_id = workflow_execution_id || null;
|
|
133
|
-
this.reference_number = null;
|
|
134
|
-
this.request_id = request_id || null;
|
|
135
|
-
this.tender_date_of_submission = tender_date_of_submission ?? null;
|
|
136
|
-
this.tender_phone = tender_phone ?? null;
|
|
137
|
-
this.budget_code = budget_code ?? null;
|
|
131
|
+
this.assigned_at = assigned_at || null;
|
|
132
|
+
this.workflow_execution_id = workflow_execution_id || null;
|
|
133
|
+
this.reference_number = null;
|
|
134
|
+
this.request_id = request_id || null;
|
|
135
|
+
this.tender_date_of_submission = tender_date_of_submission ?? null;
|
|
136
|
+
this.tender_phone = tender_phone ?? null;
|
|
137
|
+
this.budget_code = budget_code ?? null;
|
|
138
138
|
this.estimated_cost = estimated_cost ?? null;
|
|
139
139
|
this.implementation_period = implementation_period ?? null;
|
|
140
140
|
this.requesting_entity = requesting_entity ?? null;
|
|
@@ -68,8 +68,8 @@ export class SkillsEnhancementRequest extends BaseModel {
|
|
|
68
68
|
@Column({ type: "varchar", length: 255, nullable: false })
|
|
69
69
|
issuing_authority: string;
|
|
70
70
|
|
|
71
|
-
@Column({ type: "text", nullable: true })
|
|
72
|
-
skill_summary: string | null;
|
|
71
|
+
@Column({ type: "text", nullable: true })
|
|
72
|
+
skill_summary: string | null;
|
|
73
73
|
|
|
74
74
|
@Column({ type: "text", nullable: true })
|
|
75
75
|
additional_info_requested: string | null;
|
|
@@ -86,13 +86,13 @@ export class SkillsEnhancementRequest extends BaseModel {
|
|
|
86
86
|
reviewer_user_id?: number | null,
|
|
87
87
|
assigned_to_user_id?: number | null,
|
|
88
88
|
assigned_at?: Date | null,
|
|
89
|
-
workflow_execution_id?: string | null,
|
|
90
|
-
certification_title?: string,
|
|
91
|
-
skill_category?: SkillCategory,
|
|
92
|
-
issuing_authority?: string,
|
|
93
|
-
skill_summary?: string | null,
|
|
94
|
-
additional_info_requested?: string | null
|
|
95
|
-
) {
|
|
89
|
+
workflow_execution_id?: string | null,
|
|
90
|
+
certification_title?: string,
|
|
91
|
+
skill_category?: SkillCategory,
|
|
92
|
+
issuing_authority?: string,
|
|
93
|
+
skill_summary?: string | null,
|
|
94
|
+
additional_info_requested?: string | null
|
|
95
|
+
) {
|
|
96
96
|
super();
|
|
97
97
|
this.user_id = user_id;
|
|
98
98
|
this.status = status;
|
|
@@ -105,11 +105,11 @@ export class SkillsEnhancementRequest extends BaseModel {
|
|
|
105
105
|
this.reviewer_user_id = reviewer_user_id || null;
|
|
106
106
|
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
107
107
|
this.assigned_at = assigned_at || null;
|
|
108
|
-
this.workflow_execution_id = workflow_execution_id || null;
|
|
109
|
-
this.certification_title = certification_title || "";
|
|
110
|
-
this.skill_category = skill_category || SkillCategory.TECHNICAL;
|
|
111
|
-
this.issuing_authority = issuing_authority || "";
|
|
112
|
-
this.skill_summary = skill_summary || null;
|
|
113
|
-
this.additional_info_requested = additional_info_requested || null;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
108
|
+
this.workflow_execution_id = workflow_execution_id || null;
|
|
109
|
+
this.certification_title = certification_title || "";
|
|
110
|
+
this.skill_category = skill_category || SkillCategory.TECHNICAL;
|
|
111
|
+
this.issuing_authority = issuing_authority || "";
|
|
112
|
+
this.skill_summary = skill_summary || null;
|
|
113
|
+
this.additional_info_requested = additional_info_requested || null;
|
|
114
|
+
}
|
|
115
|
+
}
|