@platform-modules/civil-aviation-authority 2.3.158 → 2.3.159
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/AccommodationRequestModel.d.ts +1 -0
- package/dist/models/AccommodationRequestModel.js +4 -0
- 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/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 -5
- 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/CyberSecurityAuditRequestModel.ts +32 -32
- package/src/models/HrServiceRequestModel.ts +193 -193
- 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/UserSkillModel.ts +56 -56
|
@@ -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,56 +1,56 @@
|
|
|
1
|
-
import { Column, Entity } from "typeorm";
|
|
2
|
-
import { BaseModel } from "./BaseModel";
|
|
3
|
-
import { SkillCategory } from "./SkillsEnhancementRequestModel";
|
|
4
|
-
|
|
5
|
-
@Entity({ name: "user_skills" })
|
|
6
|
-
export class UserSkill extends BaseModel {
|
|
7
|
-
@Column({ type: "integer", nullable: false })
|
|
8
|
-
user_id: number;
|
|
9
|
-
|
|
10
|
-
@Column({ type: "varchar", length: 255, nullable: false })
|
|
11
|
-
skill_name: string;
|
|
12
|
-
|
|
13
|
-
@Column({ type: "enum", enum: SkillCategory, nullable: true })
|
|
14
|
-
skill_category: SkillCategory | null;
|
|
15
|
-
|
|
16
|
-
@Column({ type: "varchar", length: 255, nullable: true })
|
|
17
|
-
issuing_authority: string | null;
|
|
18
|
-
|
|
19
|
-
@Column({ type: "date", nullable: true })
|
|
20
|
-
completion_date: Date | null;
|
|
21
|
-
|
|
22
|
-
@Column({ type: "text", nullable: true })
|
|
23
|
-
skill_summary: string | null;
|
|
24
|
-
|
|
25
|
-
@Column({ type: "integer", nullable: true })
|
|
26
|
-
source_request_id: number | null;
|
|
27
|
-
|
|
28
|
-
@Column({ type: "varchar", length: 50, nullable: true })
|
|
29
|
-
source_request_type: string | null;
|
|
30
|
-
|
|
31
|
-
@Column({ type: "boolean", nullable: false, default: true })
|
|
32
|
-
is_active: boolean;
|
|
33
|
-
|
|
34
|
-
constructor(
|
|
35
|
-
user_id: number,
|
|
36
|
-
skill_name: string,
|
|
37
|
-
skill_category?: SkillCategory | null,
|
|
38
|
-
issuing_authority?: string | null,
|
|
39
|
-
completion_date?: Date | null,
|
|
40
|
-
skill_summary?: string | null,
|
|
41
|
-
source_request_id?: number | null,
|
|
42
|
-
source_request_type?: string | null,
|
|
43
|
-
is_active?: boolean
|
|
44
|
-
) {
|
|
45
|
-
super();
|
|
46
|
-
this.user_id = user_id;
|
|
47
|
-
this.skill_name = skill_name;
|
|
48
|
-
this.skill_category = skill_category || null;
|
|
49
|
-
this.issuing_authority = issuing_authority || null;
|
|
50
|
-
this.completion_date = completion_date || null;
|
|
51
|
-
this.skill_summary = skill_summary || null;
|
|
52
|
-
this.source_request_id = source_request_id || null;
|
|
53
|
-
this.source_request_type = source_request_type || null;
|
|
54
|
-
this.is_active = is_active !== undefined ? is_active : true;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
import { Column, Entity } from "typeorm";
|
|
2
|
+
import { BaseModel } from "./BaseModel";
|
|
3
|
+
import { SkillCategory } from "./SkillsEnhancementRequestModel";
|
|
4
|
+
|
|
5
|
+
@Entity({ name: "user_skills" })
|
|
6
|
+
export class UserSkill extends BaseModel {
|
|
7
|
+
@Column({ type: "integer", nullable: false })
|
|
8
|
+
user_id: number;
|
|
9
|
+
|
|
10
|
+
@Column({ type: "varchar", length: 255, nullable: false })
|
|
11
|
+
skill_name: string;
|
|
12
|
+
|
|
13
|
+
@Column({ type: "enum", enum: SkillCategory, nullable: true })
|
|
14
|
+
skill_category: SkillCategory | null;
|
|
15
|
+
|
|
16
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
17
|
+
issuing_authority: string | null;
|
|
18
|
+
|
|
19
|
+
@Column({ type: "date", nullable: true })
|
|
20
|
+
completion_date: Date | null;
|
|
21
|
+
|
|
22
|
+
@Column({ type: "text", nullable: true })
|
|
23
|
+
skill_summary: string | null;
|
|
24
|
+
|
|
25
|
+
@Column({ type: "integer", nullable: true })
|
|
26
|
+
source_request_id: number | null;
|
|
27
|
+
|
|
28
|
+
@Column({ type: "varchar", length: 50, nullable: true })
|
|
29
|
+
source_request_type: string | null;
|
|
30
|
+
|
|
31
|
+
@Column({ type: "boolean", nullable: false, default: true })
|
|
32
|
+
is_active: boolean;
|
|
33
|
+
|
|
34
|
+
constructor(
|
|
35
|
+
user_id: number,
|
|
36
|
+
skill_name: string,
|
|
37
|
+
skill_category?: SkillCategory | null,
|
|
38
|
+
issuing_authority?: string | null,
|
|
39
|
+
completion_date?: Date | null,
|
|
40
|
+
skill_summary?: string | null,
|
|
41
|
+
source_request_id?: number | null,
|
|
42
|
+
source_request_type?: string | null,
|
|
43
|
+
is_active?: boolean
|
|
44
|
+
) {
|
|
45
|
+
super();
|
|
46
|
+
this.user_id = user_id;
|
|
47
|
+
this.skill_name = skill_name;
|
|
48
|
+
this.skill_category = skill_category || null;
|
|
49
|
+
this.issuing_authority = issuing_authority || null;
|
|
50
|
+
this.completion_date = completion_date || null;
|
|
51
|
+
this.skill_summary = skill_summary || null;
|
|
52
|
+
this.source_request_id = source_request_id || null;
|
|
53
|
+
this.source_request_type = source_request_type || null;
|
|
54
|
+
this.is_active = is_active !== undefined ? is_active : true;
|
|
55
|
+
}
|
|
56
|
+
}
|