@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.
Files changed (63) hide show
  1. package/.env +10 -10
  2. package/dist/models/FollowUpReportApprovalModel.d.ts +0 -2
  3. package/dist/models/FollowUpReportApprovalModel.js +3 -4
  4. package/dist/models/FollowUpReportAttachmentModel.d.ts +0 -1
  5. package/dist/models/FollowUpReportAttachmentModel.js +2 -3
  6. package/dist/models/FollowUpReportChatModel.d.ts +0 -2
  7. package/dist/models/FollowUpReportChatModel.js +3 -4
  8. package/dist/models/FollowUpReportRequestModel.d.ts +0 -4
  9. package/dist/models/FollowUpReportRequestModel.js +5 -6
  10. package/dist/models/FollowUpReportWorkflowModel.d.ts +0 -2
  11. package/dist/models/FollowUpReportWorkflowModel.js +3 -4
  12. package/dist/models/HumanResourceAnnualPlanningRequestModel.d.ts +14 -1
  13. package/dist/models/HumanResourceAnnualPlanningRequestModel.js +67 -2
  14. package/dist/models/ITApprovalSettings.d.ts +7 -0
  15. package/dist/models/ITApprovalSettings.js +40 -0
  16. package/dist/models/ITServicesTypesMuscatModel.d.ts +6 -0
  17. package/dist/models/ITServicesTypesMuscatModel.js +34 -0
  18. package/dist/models/ITServicesTypesSalalahModel.d.ts +6 -0
  19. package/dist/models/ITServicesTypesSalalahModel.js +34 -0
  20. package/dist/models/MaintenanceApprovalModel.d.ts +2 -0
  21. package/dist/models/MaintenanceApprovalModel.js +4 -3
  22. package/dist/models/MaintenanceAttachmentModel.d.ts +1 -0
  23. package/dist/models/MaintenanceAttachmentModel.js +3 -2
  24. package/dist/models/MaintenanceChatModel.d.ts +2 -0
  25. package/dist/models/MaintenanceChatModel.js +4 -3
  26. package/dist/models/MaintenanceRequestModel.d.ts +4 -0
  27. package/dist/models/MaintenanceRequestModel.js +6 -5
  28. package/dist/models/MaintenanceWorkflowModel.d.ts +2 -0
  29. package/dist/models/MaintenanceWorkflowModel.js +4 -3
  30. package/dist/models/Workflows.d.ts +9 -0
  31. package/dist/models/Workflows.js +31 -0
  32. package/package.json +1 -1
  33. package/src/models/AccommodationApprovalModel.ts +8 -8
  34. package/src/models/AccommodationRequestModel.ts +8 -8
  35. package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
  36. package/src/models/AnnualIncrementRequestModel.ts +25 -25
  37. package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +23 -23
  38. package/src/models/CAAServices.ts +33 -33
  39. package/src/models/CAASubServices.ts +33 -33
  40. package/src/models/CAIRatingMasterModel.ts +39 -39
  41. package/src/models/CSRMBusinessImpactRatingMasterModel.ts +25 -25
  42. package/src/models/CSRMLikelihoodMasterModel.ts +25 -25
  43. package/src/models/CashAllowanceLeaveRequestModel.ts +11 -11
  44. package/src/models/FollowUpReportApprovalModel.ts +0 -3
  45. package/src/models/FollowUpReportAttachmentModel.ts +0 -2
  46. package/src/models/FollowUpReportChatModel.ts +0 -3
  47. package/src/models/FollowUpReportRequestModel.ts +0 -5
  48. package/src/models/FollowUpReportWorkflowModel.ts +0 -3
  49. package/src/models/HrServiceRequestModel.ts +193 -193
  50. package/src/models/HumanResourceAnnualPlanningRequestModel.ts +84 -19
  51. package/src/models/MaintenanceApprovalModel.ts +3 -0
  52. package/src/models/MaintenanceAttachmentModel.ts +2 -0
  53. package/src/models/MaintenanceChatModel.ts +3 -0
  54. package/src/models/MaintenanceRequestModel.ts +5 -0
  55. package/src/models/MaintenanceWorkflowModel.ts +3 -0
  56. package/src/models/PerformanceCyclePeriodModel.ts +26 -26
  57. package/src/models/PerformanceGoalMasterModel.ts +27 -27
  58. package/src/models/PerformanceManagementRequestGoalModel.ts +46 -46
  59. package/src/models/PerformanceManagementRequestModel.ts +14 -14
  60. package/src/models/PromotionRequestModel.ts +11 -11
  61. package/src/models/RespondToEnquiriesRequestModel.ts +31 -31
  62. package/src/models/SkillsEnhancementRequestModel.ts +17 -17
  63. package/src/models/UserSkillModel.ts +56 -56
package/.env CHANGED
@@ -1,12 +1,12 @@
1
- DB_HOST=164.52.222.169
2
- DB_PORT=5432
3
- DB_USER=postgres_admin_user
4
- DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
5
- DB_NAME=CAA
1
+ # DB_HOST=164.52.222.169
2
+ # DB_PORT=5432
3
+ # DB_USER=postgres_admin_user
4
+ # DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
5
+ # DB_NAME=CAA
6
6
 
7
7
 
8
- # DB_HOST=localhost
9
- # DB_PORT=5432
10
- # DB_USER=postgres
11
- # DB_PASS=stevejobs
12
- # DB_NAME=CAA
8
+ DB_HOST=localhost
9
+ DB_PORT=5432
10
+ DB_USER=postgres
11
+ DB_PASS=stevejobs
12
+ DB_NAME=CAA
@@ -20,5 +20,3 @@ export declare class FollowUpReportApprovalDetails extends BaseModel {
20
20
  approval_status: FollowUpReportApprovalStatus;
21
21
  is_allowed: boolean;
22
22
  }
23
- export { FollowUpReportApprovalDetails as MaintenanceApprovalDetails };
24
- export { FollowUpReportApprovalStatus as MaintenanceApprovalStatus };
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.MaintenanceApprovalStatus = exports.MaintenanceApprovalDetails = exports.FollowUpReportApprovalDetails = exports.FollowUpReportApprovalStatus = void 0;
12
+ exports.FollowUpReportApprovalDetails = exports.FollowUpReportApprovalStatus = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  var FollowUpReportApprovalStatus;
@@ -18,11 +18,10 @@ var FollowUpReportApprovalStatus;
18
18
  FollowUpReportApprovalStatus["IN_PROGRESS"] = "In Progress";
19
19
  FollowUpReportApprovalStatus["APPROVED"] = "Approved";
20
20
  FollowUpReportApprovalStatus["REJECTED"] = "Rejected";
21
- })(FollowUpReportApprovalStatus || (exports.MaintenanceApprovalStatus = exports.FollowUpReportApprovalStatus = FollowUpReportApprovalStatus = {}));
21
+ })(FollowUpReportApprovalStatus || (exports.FollowUpReportApprovalStatus = FollowUpReportApprovalStatus = {}));
22
22
  let FollowUpReportApprovalDetails = class FollowUpReportApprovalDetails extends BaseModel_1.BaseModel {
23
23
  };
24
24
  exports.FollowUpReportApprovalDetails = FollowUpReportApprovalDetails;
25
- exports.MaintenanceApprovalDetails = FollowUpReportApprovalDetails;
26
25
  __decorate([
27
26
  (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
28
27
  __metadata("design:type", Number)
@@ -80,6 +79,6 @@ __decorate([
80
79
  (0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
81
80
  __metadata("design:type", Boolean)
82
81
  ], FollowUpReportApprovalDetails.prototype, "is_allowed", void 0);
83
- exports.MaintenanceApprovalDetails = exports.FollowUpReportApprovalDetails = FollowUpReportApprovalDetails = __decorate([
82
+ exports.FollowUpReportApprovalDetails = FollowUpReportApprovalDetails = __decorate([
84
83
  (0, typeorm_1.Entity)({ name: 'followup_report_approvals' })
85
84
  ], FollowUpReportApprovalDetails);
@@ -9,4 +9,3 @@ export declare class FollowUpReportAttachment extends BaseModel {
9
9
  file_size: number | null;
10
10
  chat_id: number | null;
11
11
  }
12
- export { FollowUpReportAttachment as MaintenanceAttachment };
@@ -9,13 +9,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.MaintenanceAttachment = exports.FollowUpReportAttachment = void 0;
12
+ exports.FollowUpReportAttachment = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  let FollowUpReportAttachment = class FollowUpReportAttachment extends BaseModel_1.BaseModel {
16
16
  };
17
17
  exports.FollowUpReportAttachment = FollowUpReportAttachment;
18
- exports.MaintenanceAttachment = FollowUpReportAttachment;
19
18
  __decorate([
20
19
  (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
21
20
  __metadata("design:type", Number)
@@ -48,6 +47,6 @@ __decorate([
48
47
  (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
49
48
  __metadata("design:type", Object)
50
49
  ], FollowUpReportAttachment.prototype, "chat_id", void 0);
51
- exports.MaintenanceAttachment = exports.FollowUpReportAttachment = FollowUpReportAttachment = __decorate([
50
+ exports.FollowUpReportAttachment = FollowUpReportAttachment = __decorate([
52
51
  (0, typeorm_1.Entity)({ name: 'followup_report_attachments' })
53
52
  ], FollowUpReportAttachment);
@@ -16,5 +16,3 @@ export declare class FollowUpReportChat extends BaseModel {
16
16
  messageType: FollowUpReportMessageType;
17
17
  status: string;
18
18
  }
19
- export { FollowUpReportChat as MaintenanceChat };
20
- export { FollowUpReportMessageType as MaintenanceMessageType };
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.MaintenanceMessageType = exports.MaintenanceChat = exports.FollowUpReportChat = exports.FollowUpReportMessageType = void 0;
12
+ exports.FollowUpReportChat = exports.FollowUpReportMessageType = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  var FollowUpReportMessageType;
@@ -19,11 +19,10 @@ var FollowUpReportMessageType;
19
19
  FollowUpReportMessageType["VIDEO"] = "video";
20
20
  FollowUpReportMessageType["FILE"] = "file";
21
21
  FollowUpReportMessageType["LINK"] = "link";
22
- })(FollowUpReportMessageType || (exports.MaintenanceMessageType = exports.FollowUpReportMessageType = FollowUpReportMessageType = {}));
22
+ })(FollowUpReportMessageType || (exports.FollowUpReportMessageType = FollowUpReportMessageType = {}));
23
23
  let FollowUpReportChat = class FollowUpReportChat extends BaseModel_1.BaseModel {
24
24
  };
25
25
  exports.FollowUpReportChat = FollowUpReportChat;
26
- exports.MaintenanceChat = FollowUpReportChat;
27
26
  __decorate([
28
27
  (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
29
28
  __metadata("design:type", Number)
@@ -61,6 +60,6 @@ __decorate([
61
60
  (0, typeorm_1.Column)({ type: 'text', nullable: true }),
62
61
  __metadata("design:type", String)
63
62
  ], FollowUpReportChat.prototype, "status", void 0);
64
- exports.MaintenanceChat = exports.FollowUpReportChat = FollowUpReportChat = __decorate([
63
+ exports.FollowUpReportChat = FollowUpReportChat = __decorate([
65
64
  (0, typeorm_1.Entity)({ name: 'followup_report_chats' })
66
65
  ], FollowUpReportChat);
@@ -40,7 +40,3 @@ export declare class FollowUpReportRequests extends BaseModel {
40
40
  status: FollowUpReportRequestStatus;
41
41
  workflow_execution_id: string | null;
42
42
  }
43
- export { FollowUpReportRequests as MaintenanceRequests };
44
- export { FollowUpReportRequestStatus as MaintenanceRequestStatus };
45
- export { FollowUpReportSubjectClassification as MaintenanceSubjectClassification };
46
- export { FollowUpReportConcernedDepartment as MaintenanceConcernedDepartment };
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.MaintenanceConcernedDepartment = exports.MaintenanceSubjectClassification = exports.MaintenanceRequestStatus = exports.MaintenanceRequests = exports.FollowUpReportRequests = exports.FollowUpReportRequestStatus = exports.FollowUpReportConcernedDepartment = exports.FollowUpReportSubjectClassification = void 0;
12
+ exports.FollowUpReportRequests = exports.FollowUpReportRequestStatus = exports.FollowUpReportConcernedDepartment = exports.FollowUpReportSubjectClassification = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  /** Subject / handling priority classification */
@@ -20,7 +20,7 @@ var FollowUpReportSubjectClassification;
20
20
  FollowUpReportSubjectClassification["CONFIDENTIAL"] = "Confidential";
21
21
  FollowUpReportSubjectClassification["INFORMATIONAL"] = "Informational";
22
22
  FollowUpReportSubjectClassification["NORMAL"] = "Normal";
23
- })(FollowUpReportSubjectClassification || (exports.MaintenanceSubjectClassification = exports.FollowUpReportSubjectClassification = FollowUpReportSubjectClassification = {}));
23
+ })(FollowUpReportSubjectClassification || (exports.FollowUpReportSubjectClassification = FollowUpReportSubjectClassification = {}));
24
24
  /** Concerned department under General Manager of Support Services */
25
25
  var FollowUpReportConcernedDepartment;
26
26
  (function (FollowUpReportConcernedDepartment) {
@@ -29,7 +29,7 @@ var FollowUpReportConcernedDepartment;
29
29
  FollowUpReportConcernedDepartment["TRAINING"] = "Training";
30
30
  FollowUpReportConcernedDepartment["FINANCE"] = "Finance";
31
31
  FollowUpReportConcernedDepartment["PROJECTS_AND_MAINTENANCE"] = "Projects & Maintenance";
32
- })(FollowUpReportConcernedDepartment || (exports.MaintenanceConcernedDepartment = exports.FollowUpReportConcernedDepartment = FollowUpReportConcernedDepartment = {}));
32
+ })(FollowUpReportConcernedDepartment || (exports.FollowUpReportConcernedDepartment = FollowUpReportConcernedDepartment = {}));
33
33
  var FollowUpReportRequestStatus;
34
34
  (function (FollowUpReportRequestStatus) {
35
35
  FollowUpReportRequestStatus["PENDING"] = "Pending";
@@ -37,11 +37,10 @@ var FollowUpReportRequestStatus;
37
37
  FollowUpReportRequestStatus["IN_PROGRESS"] = "In Progress";
38
38
  FollowUpReportRequestStatus["APPROVED"] = "Approved";
39
39
  FollowUpReportRequestStatus["REJECTED"] = "Rejected";
40
- })(FollowUpReportRequestStatus || (exports.MaintenanceRequestStatus = exports.FollowUpReportRequestStatus = FollowUpReportRequestStatus = {}));
40
+ })(FollowUpReportRequestStatus || (exports.FollowUpReportRequestStatus = FollowUpReportRequestStatus = {}));
41
41
  let FollowUpReportRequests = class FollowUpReportRequests extends BaseModel_1.BaseModel {
42
42
  };
43
43
  exports.FollowUpReportRequests = FollowUpReportRequests;
44
- exports.MaintenanceRequests = FollowUpReportRequests;
45
44
  __decorate([
46
45
  (0, typeorm_1.Column)({ type: 'int', nullable: true }),
47
46
  __metadata("design:type", Object)
@@ -121,6 +120,6 @@ __decorate([
121
120
  (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
122
121
  __metadata("design:type", Object)
123
122
  ], FollowUpReportRequests.prototype, "workflow_execution_id", void 0);
124
- exports.MaintenanceRequests = exports.FollowUpReportRequests = FollowUpReportRequests = __decorate([
123
+ exports.FollowUpReportRequests = FollowUpReportRequests = __decorate([
125
124
  (0, typeorm_1.Entity)({ name: 'followup_report_requests' })
126
125
  ], FollowUpReportRequests);
@@ -15,5 +15,3 @@ export declare class FollowUpReportWorkFlow extends BaseModel {
15
15
  department_id: number | null;
16
16
  section_id: number | null;
17
17
  }
18
- export { FollowUpReportWorkFlow as MaintenanceWorkFlow };
19
- export { FollowUpReportWorkFlowStatus as MaintenanceWorkFlowStatus };
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.MaintenanceWorkFlowStatus = exports.MaintenanceWorkFlow = exports.FollowUpReportWorkFlow = exports.FollowUpReportWorkFlowStatus = void 0;
12
+ exports.FollowUpReportWorkFlow = exports.FollowUpReportWorkFlowStatus = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  var FollowUpReportWorkFlowStatus;
@@ -17,11 +17,10 @@ var FollowUpReportWorkFlowStatus;
17
17
  FollowUpReportWorkFlowStatus["COMPLETED"] = "Completed";
18
18
  FollowUpReportWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
19
19
  FollowUpReportWorkFlowStatus["PENDING"] = "Pending";
20
- })(FollowUpReportWorkFlowStatus || (exports.MaintenanceWorkFlowStatus = exports.FollowUpReportWorkFlowStatus = FollowUpReportWorkFlowStatus = {}));
20
+ })(FollowUpReportWorkFlowStatus || (exports.FollowUpReportWorkFlowStatus = FollowUpReportWorkFlowStatus = {}));
21
21
  let FollowUpReportWorkFlow = class FollowUpReportWorkFlow extends BaseModel_1.BaseModel {
22
22
  };
23
23
  exports.FollowUpReportWorkFlow = FollowUpReportWorkFlow;
24
- exports.MaintenanceWorkFlow = FollowUpReportWorkFlow;
25
24
  __decorate([
26
25
  (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
27
26
  __metadata("design:type", Number)
@@ -63,6 +62,6 @@ __decorate([
63
62
  (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
64
63
  __metadata("design:type", Object)
65
64
  ], FollowUpReportWorkFlow.prototype, "section_id", void 0);
66
- exports.MaintenanceWorkFlow = exports.FollowUpReportWorkFlow = FollowUpReportWorkFlow = __decorate([
65
+ exports.FollowUpReportWorkFlow = FollowUpReportWorkFlow = __decorate([
67
66
  (0, typeorm_1.Entity)({ name: 'followup_report_workflows' })
68
67
  ], FollowUpReportWorkFlow);
@@ -27,9 +27,22 @@ export declare class HumanResourceAnnualPlanningRequest extends BaseModel {
27
27
  assigned_at: Date | null;
28
28
  workflow_execution_id: string | null;
29
29
  description: string | null;
30
+ employee_name: string | null;
31
+ employee_id: string | null;
32
+ current_position: string | null;
33
+ skills: string | null;
34
+ work_experience: number | null;
35
+ productivity_rating: string | null;
36
+ productivity_other: string | null;
37
+ behavior_rating: string | null;
38
+ behavior_other: string | null;
39
+ leadership_rating: string | null;
40
+ leadership_other: string | null;
41
+ emotional_intelligence_rating: string | null;
42
+ emotional_intelligence_other: string | null;
30
43
  comment: string | null;
31
44
  extension_number: string | null;
32
45
  quarter: Quarter | null;
33
46
  year: number | null;
34
- 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, comment?: string | null, extension_number?: string | null, quarter?: Quarter | null, 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, extension_number?: string | null, quarter?: Quarter | null, year?: number | null);
35
48
  }
@@ -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, comment, extension_number, quarter, year) {
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, extension_number, quarter, year) {
34
34
  super();
35
35
  this.user_id = user_id;
36
36
  this.status = status;
@@ -44,6 +44,19 @@ let HumanResourceAnnualPlanningRequest = class HumanResourceAnnualPlanningReques
44
44
  this.assigned_to_user_id = assigned_to_user_id || null;
45
45
  this.assigned_at = assigned_at || null;
46
46
  this.workflow_execution_id = workflow_execution_id || null;
47
+ this.employee_name = employee_name || null;
48
+ this.employee_id = employee_id || null;
49
+ this.current_position = current_position || null;
50
+ this.skills = skills || null;
51
+ this.work_experience = work_experience || null;
52
+ this.productivity_rating = productivity_rating || null;
53
+ this.productivity_other = productivity_other || null;
54
+ this.behavior_rating = behavior_rating || null;
55
+ this.behavior_other = behavior_other || null;
56
+ this.leadership_rating = leadership_rating || null;
57
+ this.leadership_other = leadership_other || null;
58
+ this.emotional_intelligence_rating = emotional_intelligence_rating || null;
59
+ this.emotional_intelligence_other = emotional_intelligence_other || null;
47
60
  this.comment = comment || null;
48
61
  this.extension_number = extension_number || null;
49
62
  this.quarter = quarter || null;
@@ -99,6 +112,58 @@ __decorate([
99
112
  (0, typeorm_1.Column)({ type: "text", nullable: true }),
100
113
  __metadata("design:type", Object)
101
114
  ], HumanResourceAnnualPlanningRequest.prototype, "description", void 0);
115
+ __decorate([
116
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
117
+ __metadata("design:type", Object)
118
+ ], HumanResourceAnnualPlanningRequest.prototype, "employee_name", void 0);
119
+ __decorate([
120
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
121
+ __metadata("design:type", Object)
122
+ ], HumanResourceAnnualPlanningRequest.prototype, "employee_id", void 0);
123
+ __decorate([
124
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
125
+ __metadata("design:type", Object)
126
+ ], HumanResourceAnnualPlanningRequest.prototype, "current_position", void 0);
127
+ __decorate([
128
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
129
+ __metadata("design:type", Object)
130
+ ], HumanResourceAnnualPlanningRequest.prototype, "skills", void 0);
131
+ __decorate([
132
+ (0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 2, nullable: true }),
133
+ __metadata("design:type", Object)
134
+ ], HumanResourceAnnualPlanningRequest.prototype, "work_experience", void 0);
135
+ __decorate([
136
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
137
+ __metadata("design:type", Object)
138
+ ], HumanResourceAnnualPlanningRequest.prototype, "productivity_rating", void 0);
139
+ __decorate([
140
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
141
+ __metadata("design:type", Object)
142
+ ], HumanResourceAnnualPlanningRequest.prototype, "productivity_other", void 0);
143
+ __decorate([
144
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
145
+ __metadata("design:type", Object)
146
+ ], HumanResourceAnnualPlanningRequest.prototype, "behavior_rating", void 0);
147
+ __decorate([
148
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
149
+ __metadata("design:type", Object)
150
+ ], HumanResourceAnnualPlanningRequest.prototype, "behavior_other", void 0);
151
+ __decorate([
152
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
153
+ __metadata("design:type", Object)
154
+ ], HumanResourceAnnualPlanningRequest.prototype, "leadership_rating", void 0);
155
+ __decorate([
156
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
157
+ __metadata("design:type", Object)
158
+ ], HumanResourceAnnualPlanningRequest.prototype, "leadership_other", void 0);
159
+ __decorate([
160
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
161
+ __metadata("design:type", Object)
162
+ ], HumanResourceAnnualPlanningRequest.prototype, "emotional_intelligence_rating", void 0);
163
+ __decorate([
164
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
165
+ __metadata("design:type", Object)
166
+ ], HumanResourceAnnualPlanningRequest.prototype, "emotional_intelligence_other", void 0);
102
167
  __decorate([
103
168
  (0, typeorm_1.Column)({ type: "text", nullable: true }),
104
169
  __metadata("design:type", Object)
@@ -117,5 +182,5 @@ __decorate([
117
182
  ], HumanResourceAnnualPlanningRequest.prototype, "year", void 0);
118
183
  exports.HumanResourceAnnualPlanningRequest = HumanResourceAnnualPlanningRequest = __decorate([
119
184
  (0, typeorm_1.Entity)({ name: "human_resource_annual_planning_requests" }),
120
- __metadata("design:paramtypes", [Number, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
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, Object])
121
186
  ], HumanResourceAnnualPlanningRequest);
@@ -0,0 +1,7 @@
1
+ import { BaseModel } from './BaseModel';
2
+ export declare class ITApprovalSettings extends BaseModel {
3
+ level: number;
4
+ approval_role_id: number;
5
+ workflow_id: number;
6
+ constructor(level: number, approval_role_id: number, workflow_id: number);
7
+ }
@@ -0,0 +1,40 @@
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.ITApprovalSettings = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ let ITApprovalSettings = class ITApprovalSettings extends BaseModel_1.BaseModel {
16
+ constructor(level, approval_role_id, workflow_id) {
17
+ super();
18
+ this.level = level;
19
+ this.approval_role_id = approval_role_id;
20
+ this.workflow_id = workflow_id;
21
+ }
22
+ };
23
+ exports.ITApprovalSettings = ITApprovalSettings;
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
26
+ __metadata("design:type", Number)
27
+ ], ITApprovalSettings.prototype, "level", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
30
+ __metadata("design:type", Number)
31
+ ], ITApprovalSettings.prototype, "approval_role_id", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
34
+ __metadata("design:type", Number)
35
+ ], ITApprovalSettings.prototype, "workflow_id", void 0);
36
+ exports.ITApprovalSettings = ITApprovalSettings = __decorate([
37
+ (0, typeorm_1.Entity)({ name: 'it_approval_settings' }),
38
+ (0, typeorm_1.Unique)(['workflow_id', 'level']),
39
+ __metadata("design:paramtypes", [Number, Number, Number])
40
+ ], ITApprovalSettings);
@@ -0,0 +1,6 @@
1
+ import { BaseModel } from './BaseModel';
2
+ export declare class ITServicesTypesMuscat extends BaseModel {
3
+ name: string;
4
+ name_in_arabic: string;
5
+ constructor(name: string, name_in_arabic: string);
6
+ }
@@ -0,0 +1,34 @@
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.ITServicesTypesMuscat = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ let ITServicesTypesMuscat = class ITServicesTypesMuscat extends BaseModel_1.BaseModel {
16
+ constructor(name, name_in_arabic) {
17
+ super();
18
+ this.name = name;
19
+ this.name_in_arabic = name_in_arabic;
20
+ }
21
+ };
22
+ exports.ITServicesTypesMuscat = ITServicesTypesMuscat;
23
+ __decorate([
24
+ (0, typeorm_1.Column)({ nullable: false }),
25
+ __metadata("design:type", String)
26
+ ], ITServicesTypesMuscat.prototype, "name", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ nullable: false }),
29
+ __metadata("design:type", String)
30
+ ], ITServicesTypesMuscat.prototype, "name_in_arabic", void 0);
31
+ exports.ITServicesTypesMuscat = ITServicesTypesMuscat = __decorate([
32
+ (0, typeorm_1.Entity)({ name: 'it_services_types_muscat' }),
33
+ __metadata("design:paramtypes", [String, String])
34
+ ], ITServicesTypesMuscat);
@@ -0,0 +1,6 @@
1
+ import { BaseModel } from './BaseModel';
2
+ export declare class ITServicesTypesSalalah extends BaseModel {
3
+ name: string;
4
+ name_in_arabic: string;
5
+ constructor(name: string, name_in_arabic: string);
6
+ }
@@ -0,0 +1,34 @@
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.ITServicesTypesSalalah = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ let ITServicesTypesSalalah = class ITServicesTypesSalalah extends BaseModel_1.BaseModel {
16
+ constructor(name, name_in_arabic) {
17
+ super();
18
+ this.name = name;
19
+ this.name_in_arabic = name_in_arabic;
20
+ }
21
+ };
22
+ exports.ITServicesTypesSalalah = ITServicesTypesSalalah;
23
+ __decorate([
24
+ (0, typeorm_1.Column)({ nullable: false }),
25
+ __metadata("design:type", String)
26
+ ], ITServicesTypesSalalah.prototype, "name", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ nullable: false }),
29
+ __metadata("design:type", String)
30
+ ], ITServicesTypesSalalah.prototype, "name_in_arabic", void 0);
31
+ exports.ITServicesTypesSalalah = ITServicesTypesSalalah = __decorate([
32
+ (0, typeorm_1.Entity)({ name: 'it_services_types_salalah' }),
33
+ __metadata("design:paramtypes", [String, String])
34
+ ], ITServicesTypesSalalah);
@@ -20,3 +20,5 @@ export declare class AssetMaintenanceApprovalDetails extends BaseModel {
20
20
  approval_status: AssetMaintenanceApprovalStatus;
21
21
  is_allowed: boolean;
22
22
  }
23
+ export { AssetMaintenanceApprovalDetails as MaintenanceApprovalDetails };
24
+ export { AssetMaintenanceApprovalStatus as MaintenanceApprovalStatus };
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AssetMaintenanceApprovalDetails = exports.AssetMaintenanceApprovalStatus = void 0;
12
+ exports.MaintenanceApprovalStatus = exports.MaintenanceApprovalDetails = exports.AssetMaintenanceApprovalDetails = exports.AssetMaintenanceApprovalStatus = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  var AssetMaintenanceApprovalStatus;
@@ -18,10 +18,11 @@ var AssetMaintenanceApprovalStatus;
18
18
  AssetMaintenanceApprovalStatus["IN_PROGRESS"] = "In Progress";
19
19
  AssetMaintenanceApprovalStatus["APPROVED"] = "Approved";
20
20
  AssetMaintenanceApprovalStatus["REJECTED"] = "Rejected";
21
- })(AssetMaintenanceApprovalStatus || (exports.AssetMaintenanceApprovalStatus = AssetMaintenanceApprovalStatus = {}));
21
+ })(AssetMaintenanceApprovalStatus || (exports.MaintenanceApprovalStatus = exports.AssetMaintenanceApprovalStatus = AssetMaintenanceApprovalStatus = {}));
22
22
  let AssetMaintenanceApprovalDetails = class AssetMaintenanceApprovalDetails extends BaseModel_1.BaseModel {
23
23
  };
24
24
  exports.AssetMaintenanceApprovalDetails = AssetMaintenanceApprovalDetails;
25
+ exports.MaintenanceApprovalDetails = AssetMaintenanceApprovalDetails;
25
26
  __decorate([
26
27
  (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
27
28
  __metadata("design:type", Number)
@@ -79,6 +80,6 @@ __decorate([
79
80
  (0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
80
81
  __metadata("design:type", Boolean)
81
82
  ], AssetMaintenanceApprovalDetails.prototype, "is_allowed", void 0);
82
- exports.AssetMaintenanceApprovalDetails = AssetMaintenanceApprovalDetails = __decorate([
83
+ exports.MaintenanceApprovalDetails = exports.AssetMaintenanceApprovalDetails = AssetMaintenanceApprovalDetails = __decorate([
83
84
  (0, typeorm_1.Entity)({ name: 'maintenance_approvals' })
84
85
  ], AssetMaintenanceApprovalDetails);
@@ -9,3 +9,4 @@ export declare class AssetMaintenanceAttachment extends BaseModel {
9
9
  file_size: number | null;
10
10
  chat_id: number | null;
11
11
  }
12
+ export { AssetMaintenanceAttachment as MaintenanceAttachment };
@@ -9,12 +9,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AssetMaintenanceAttachment = void 0;
12
+ exports.MaintenanceAttachment = exports.AssetMaintenanceAttachment = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  let AssetMaintenanceAttachment = class AssetMaintenanceAttachment extends BaseModel_1.BaseModel {
16
16
  };
17
17
  exports.AssetMaintenanceAttachment = AssetMaintenanceAttachment;
18
+ exports.MaintenanceAttachment = AssetMaintenanceAttachment;
18
19
  __decorate([
19
20
  (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
20
21
  __metadata("design:type", Number)
@@ -47,6 +48,6 @@ __decorate([
47
48
  (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
48
49
  __metadata("design:type", Object)
49
50
  ], AssetMaintenanceAttachment.prototype, "chat_id", void 0);
50
- exports.AssetMaintenanceAttachment = AssetMaintenanceAttachment = __decorate([
51
+ exports.MaintenanceAttachment = exports.AssetMaintenanceAttachment = AssetMaintenanceAttachment = __decorate([
51
52
  (0, typeorm_1.Entity)({ name: 'maintenance_attachments' })
52
53
  ], AssetMaintenanceAttachment);
@@ -16,3 +16,5 @@ export declare class AssetMaintenanceChat extends BaseModel {
16
16
  messageType: AssetMaintenanceMessageType;
17
17
  status: string | null;
18
18
  }
19
+ export { AssetMaintenanceChat as MaintenanceChat };
20
+ export { AssetMaintenanceMessageType as MaintenanceMessageType };
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AssetMaintenanceChat = exports.AssetMaintenanceMessageType = void 0;
12
+ exports.MaintenanceMessageType = exports.MaintenanceChat = exports.AssetMaintenanceChat = exports.AssetMaintenanceMessageType = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  var AssetMaintenanceMessageType;
@@ -19,10 +19,11 @@ var AssetMaintenanceMessageType;
19
19
  AssetMaintenanceMessageType["VIDEO"] = "video";
20
20
  AssetMaintenanceMessageType["FILE"] = "file";
21
21
  AssetMaintenanceMessageType["LINK"] = "link";
22
- })(AssetMaintenanceMessageType || (exports.AssetMaintenanceMessageType = AssetMaintenanceMessageType = {}));
22
+ })(AssetMaintenanceMessageType || (exports.MaintenanceMessageType = exports.AssetMaintenanceMessageType = AssetMaintenanceMessageType = {}));
23
23
  let AssetMaintenanceChat = class AssetMaintenanceChat extends BaseModel_1.BaseModel {
24
24
  };
25
25
  exports.AssetMaintenanceChat = AssetMaintenanceChat;
26
+ exports.MaintenanceChat = AssetMaintenanceChat;
26
27
  __decorate([
27
28
  (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
28
29
  __metadata("design:type", Number)
@@ -60,6 +61,6 @@ __decorate([
60
61
  (0, typeorm_1.Column)({ type: 'text', nullable: true }),
61
62
  __metadata("design:type", Object)
62
63
  ], AssetMaintenanceChat.prototype, "status", void 0);
63
- exports.AssetMaintenanceChat = AssetMaintenanceChat = __decorate([
64
+ exports.MaintenanceChat = exports.AssetMaintenanceChat = AssetMaintenanceChat = __decorate([
64
65
  (0, typeorm_1.Entity)({ name: 'maintenance_chats' })
65
66
  ], AssetMaintenanceChat);
@@ -35,3 +35,7 @@ export declare class AssetMaintenanceRequests extends BaseModel {
35
35
  status: AssetMaintenanceRequestStatus;
36
36
  workflow_execution_id: string | null;
37
37
  }
38
+ export { AssetMaintenanceRequests as MaintenanceRequests };
39
+ export { AssetMaintenanceRequestStatus as MaintenanceRequestStatus };
40
+ export { AssetMaintenanceCategory as MaintenanceCategory };
41
+ export { AssetMaintenanceSubCategory as MaintenanceSubCategory };