@platform-modules/civil-aviation-authority 2.3.227 → 2.3.228
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/dist/models/HumanResourceAnnualPlanningRequestModel.d.ts +1 -2
- package/dist/models/HumanResourceAnnualPlanningRequestModel.js +2 -7
- package/dist/models/SecurityAwarenessRequestModel.d.ts +6 -0
- package/dist/models/SecurityAwarenessRequestModel.js +33 -0
- package/package.json +1 -1
- package/src/models/HumanResourceAnnualPlanningRequestModel.ts +0 -5
- package/src/models/SecurityAwarenessRequestModel.ts +27 -0
|
@@ -41,8 +41,7 @@ export declare class HumanResourceAnnualPlanningRequest extends BaseModel {
|
|
|
41
41
|
emotional_intelligence_rating: string | null;
|
|
42
42
|
emotional_intelligence_other: string | null;
|
|
43
43
|
comment: string | null;
|
|
44
|
-
extension_number: string | null;
|
|
45
44
|
quarter: Quarter | null;
|
|
46
45
|
year: number | null;
|
|
47
|
-
constructor(user_id: number, status?: HumanResourceAnnualPlanningRequestStatus, 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 | null, employee_id?: string | null, current_position?: string | null, skills?: string | null, work_experience?: number | null, productivity_rating?: string | null, productivity_other?: string | null, behavior_rating?: string | null, behavior_other?: string | null, leadership_rating?: string | null, leadership_other?: string | null, emotional_intelligence_rating?: string | null, emotional_intelligence_other?: string | null, comment?: string | null,
|
|
46
|
+
constructor(user_id: number, status?: HumanResourceAnnualPlanningRequestStatus, 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 | null, employee_id?: string | null, current_position?: string | null, skills?: string | null, work_experience?: number | null, productivity_rating?: string | null, productivity_other?: string | null, behavior_rating?: string | null, behavior_other?: string | null, leadership_rating?: string | null, leadership_other?: string | null, emotional_intelligence_rating?: string | null, emotional_intelligence_other?: string | null, comment?: string | null, quarter?: Quarter | null, year?: number | null);
|
|
48
47
|
}
|
|
@@ -30,7 +30,7 @@ var Quarter;
|
|
|
30
30
|
Quarter["Q4"] = "Q4"; // Oct-Dec
|
|
31
31
|
})(Quarter || (exports.Quarter = Quarter = {}));
|
|
32
32
|
let HumanResourceAnnualPlanningRequest = class HumanResourceAnnualPlanningRequest extends BaseModel_1.BaseModel {
|
|
33
|
-
constructor(user_id, status = HumanResourceAnnualPlanningRequestStatus.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_position, skills, work_experience, productivity_rating, productivity_other, behavior_rating, behavior_other, leadership_rating, leadership_other, emotional_intelligence_rating, emotional_intelligence_other, comment,
|
|
33
|
+
constructor(user_id, status = HumanResourceAnnualPlanningRequestStatus.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_position, skills, work_experience, productivity_rating, productivity_other, behavior_rating, behavior_other, leadership_rating, leadership_other, emotional_intelligence_rating, emotional_intelligence_other, comment, quarter, year) {
|
|
34
34
|
super();
|
|
35
35
|
this.user_id = user_id;
|
|
36
36
|
this.status = status;
|
|
@@ -58,7 +58,6 @@ let HumanResourceAnnualPlanningRequest = class HumanResourceAnnualPlanningReques
|
|
|
58
58
|
this.emotional_intelligence_rating = emotional_intelligence_rating || null;
|
|
59
59
|
this.emotional_intelligence_other = emotional_intelligence_other || null;
|
|
60
60
|
this.comment = comment || null;
|
|
61
|
-
this.extension_number = extension_number || null;
|
|
62
61
|
this.quarter = quarter || null;
|
|
63
62
|
this.year = year || null;
|
|
64
63
|
}
|
|
@@ -168,10 +167,6 @@ __decorate([
|
|
|
168
167
|
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
169
168
|
__metadata("design:type", Object)
|
|
170
169
|
], HumanResourceAnnualPlanningRequest.prototype, "comment", void 0);
|
|
171
|
-
__decorate([
|
|
172
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: true }),
|
|
173
|
-
__metadata("design:type", Object)
|
|
174
|
-
], HumanResourceAnnualPlanningRequest.prototype, "extension_number", void 0);
|
|
175
170
|
__decorate([
|
|
176
171
|
(0, typeorm_1.Column)({ type: "enum", enum: Quarter, nullable: true }),
|
|
177
172
|
__metadata("design:type", Object)
|
|
@@ -182,5 +177,5 @@ __decorate([
|
|
|
182
177
|
], HumanResourceAnnualPlanningRequest.prototype, "year", void 0);
|
|
183
178
|
exports.HumanResourceAnnualPlanningRequest = HumanResourceAnnualPlanningRequest = __decorate([
|
|
184
179
|
(0, typeorm_1.Entity)({ name: "human_resource_annual_planning_requests" }),
|
|
185
|
-
__metadata("design:paramtypes", [Number, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object
|
|
180
|
+
__metadata("design:paramtypes", [Number, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
|
|
186
181
|
], HumanResourceAnnualPlanningRequest);
|
|
@@ -28,6 +28,12 @@ export declare class SecurityAwarenessRequest extends BaseModel {
|
|
|
28
28
|
event_date: Date | null;
|
|
29
29
|
event_time: string | null;
|
|
30
30
|
media_coverage_required: MediaCoverageRequired;
|
|
31
|
+
/** Approval payload: `is_network_support_required` → persisted here */
|
|
32
|
+
network_support_required: MediaCoverageRequired;
|
|
33
|
+
/** Approval payload: `is_public_relations_support_required` → persisted here */
|
|
34
|
+
public_relations_support_required: MediaCoverageRequired;
|
|
35
|
+
/** Approval payload: `is_training_support_required` → persisted here */
|
|
36
|
+
training_support_required: MediaCoverageRequired;
|
|
31
37
|
status: SecurityAwarenessRequestStatus;
|
|
32
38
|
workflow_execution_id: string | null;
|
|
33
39
|
constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, title: string, date_of_submission: Date, phone_number: string, place: string | null, description: string | null, event_date: Date | null, event_time: string | null, media_coverage_required: MediaCoverageRequired, status: SecurityAwarenessRequestStatus, workflow_execution_id?: string | null);
|
|
@@ -28,6 +28,12 @@ var MediaCoverageRequired;
|
|
|
28
28
|
let SecurityAwarenessRequest = class SecurityAwarenessRequest extends BaseModel_1.BaseModel {
|
|
29
29
|
constructor(req_user_department_id, req_user_section_id, service_id, sub_service_id, user_id, title, date_of_submission, phone_number, place, description, event_date, event_time, media_coverage_required, status, workflow_execution_id) {
|
|
30
30
|
super();
|
|
31
|
+
/** Approval payload: `is_network_support_required` → persisted here */
|
|
32
|
+
this.network_support_required = MediaCoverageRequired.NO;
|
|
33
|
+
/** Approval payload: `is_public_relations_support_required` → persisted here */
|
|
34
|
+
this.public_relations_support_required = MediaCoverageRequired.NO;
|
|
35
|
+
/** Approval payload: `is_training_support_required` → persisted here */
|
|
36
|
+
this.training_support_required = MediaCoverageRequired.NO;
|
|
31
37
|
this.req_user_department_id = req_user_department_id ?? null;
|
|
32
38
|
this.req_user_section_id = req_user_section_id ?? null;
|
|
33
39
|
this.service_id = service_id;
|
|
@@ -111,6 +117,33 @@ __decorate([
|
|
|
111
117
|
}),
|
|
112
118
|
__metadata("design:type", String)
|
|
113
119
|
], SecurityAwarenessRequest.prototype, "media_coverage_required", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, typeorm_1.Column)({
|
|
122
|
+
type: "enum",
|
|
123
|
+
enum: MediaCoverageRequired,
|
|
124
|
+
default: MediaCoverageRequired.NO,
|
|
125
|
+
nullable: false,
|
|
126
|
+
}),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], SecurityAwarenessRequest.prototype, "network_support_required", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, typeorm_1.Column)({
|
|
131
|
+
type: "enum",
|
|
132
|
+
enum: MediaCoverageRequired,
|
|
133
|
+
default: MediaCoverageRequired.NO,
|
|
134
|
+
nullable: false,
|
|
135
|
+
}),
|
|
136
|
+
__metadata("design:type", String)
|
|
137
|
+
], SecurityAwarenessRequest.prototype, "public_relations_support_required", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, typeorm_1.Column)({
|
|
140
|
+
type: "enum",
|
|
141
|
+
enum: MediaCoverageRequired,
|
|
142
|
+
default: MediaCoverageRequired.NO,
|
|
143
|
+
nullable: false,
|
|
144
|
+
}),
|
|
145
|
+
__metadata("design:type", String)
|
|
146
|
+
], SecurityAwarenessRequest.prototype, "training_support_required", void 0);
|
|
114
147
|
__decorate([
|
|
115
148
|
(0, typeorm_1.Column)({
|
|
116
149
|
type: "enum",
|
package/package.json
CHANGED
|
@@ -99,9 +99,6 @@ export class HumanResourceAnnualPlanningRequest extends BaseModel {
|
|
|
99
99
|
@Column({ type: "text", nullable: true })
|
|
100
100
|
comment: string | null;
|
|
101
101
|
|
|
102
|
-
@Column({ type: "varchar", length: 50, nullable: true })
|
|
103
|
-
extension_number: string | null;
|
|
104
|
-
|
|
105
102
|
@Column({ type: "enum", enum: Quarter, nullable: true })
|
|
106
103
|
quarter: Quarter | null;
|
|
107
104
|
|
|
@@ -135,7 +132,6 @@ export class HumanResourceAnnualPlanningRequest extends BaseModel {
|
|
|
135
132
|
emotional_intelligence_rating?: string | null,
|
|
136
133
|
emotional_intelligence_other?: string | null,
|
|
137
134
|
comment?: string | null,
|
|
138
|
-
extension_number?: string | null,
|
|
139
135
|
quarter?: Quarter | null,
|
|
140
136
|
year?: number | null
|
|
141
137
|
) {
|
|
@@ -166,7 +162,6 @@ export class HumanResourceAnnualPlanningRequest extends BaseModel {
|
|
|
166
162
|
this.emotional_intelligence_rating = emotional_intelligence_rating || null;
|
|
167
163
|
this.emotional_intelligence_other = emotional_intelligence_other || null;
|
|
168
164
|
this.comment = comment || null;
|
|
169
|
-
this.extension_number = extension_number || null;
|
|
170
165
|
this.quarter = quarter || null;
|
|
171
166
|
this.year = year || null;
|
|
172
167
|
}
|
|
@@ -69,6 +69,33 @@ export class SecurityAwarenessRequest extends BaseModel {
|
|
|
69
69
|
})
|
|
70
70
|
media_coverage_required: MediaCoverageRequired;
|
|
71
71
|
|
|
72
|
+
/** Approval payload: `is_network_support_required` → persisted here */
|
|
73
|
+
@Column({
|
|
74
|
+
type: "enum",
|
|
75
|
+
enum: MediaCoverageRequired,
|
|
76
|
+
default: MediaCoverageRequired.NO,
|
|
77
|
+
nullable: false,
|
|
78
|
+
})
|
|
79
|
+
network_support_required: MediaCoverageRequired = MediaCoverageRequired.NO;
|
|
80
|
+
|
|
81
|
+
/** Approval payload: `is_public_relations_support_required` → persisted here */
|
|
82
|
+
@Column({
|
|
83
|
+
type: "enum",
|
|
84
|
+
enum: MediaCoverageRequired,
|
|
85
|
+
default: MediaCoverageRequired.NO,
|
|
86
|
+
nullable: false,
|
|
87
|
+
})
|
|
88
|
+
public_relations_support_required: MediaCoverageRequired = MediaCoverageRequired.NO;
|
|
89
|
+
|
|
90
|
+
/** Approval payload: `is_training_support_required` → persisted here */
|
|
91
|
+
@Column({
|
|
92
|
+
type: "enum",
|
|
93
|
+
enum: MediaCoverageRequired,
|
|
94
|
+
default: MediaCoverageRequired.NO,
|
|
95
|
+
nullable: false,
|
|
96
|
+
})
|
|
97
|
+
training_support_required: MediaCoverageRequired = MediaCoverageRequired.NO;
|
|
98
|
+
|
|
72
99
|
@Column({
|
|
73
100
|
type: "enum",
|
|
74
101
|
enum: SecurityAwarenessRequestStatus,
|