@platform-modules/civil-aviation-authority 2.3.92 → 2.3.93
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 -16
- package/package.json +22 -21
- package/src/data-source.ts +10 -0
- package/src/index.ts +8 -1
- package/src/models/DepartmentsModel.ts +25 -25
- package/src/models/ITRequestChatModel.ts +62 -62
- package/src/models/ItApprovalsModel.ts +84 -84
- package/src/models/ItWorkflowModel.ts +55 -55
- package/src/models/MissionTravelPassportExpiryNotificationConfigModel.ts +36 -36
- package/src/models/ResidentialUnitRentalApprovalModel.ts +141 -0
- package/src/models/ResidentialUnitRentalAttachmentModel.ts +79 -0
- package/src/models/ResidentialUnitRentalChatModel.ts +89 -0
- package/src/models/ResidentialUnitRentalRequestModel.ts +229 -0
- package/src/models/ResidentialUnitRentalWorkflowModel.ts +138 -0
- package/src/models/ServicesNotificationConfigModel.ts +55 -55
- package/src/models/TrainingRoomNotificationConfigModel.ts +30 -30
- package/dist/data-source.d.ts +0 -4
- package/dist/data-source.js +0 -278
- package/dist/helpers/utils/enum.d.ts +0 -75
- package/dist/helpers/utils/enum.js +0 -53
- package/dist/index.d.ts +0 -221
- package/dist/index.js +0 -336
- package/dist/models/AccessCardApprovalModel.d.ts +0 -23
- package/dist/models/AccessCardApprovalModel.js +0 -101
- package/dist/models/AccessCardAttachmentModel.d.ts +0 -12
- package/dist/models/AccessCardAttachmentModel.js +0 -64
- package/dist/models/AccessCardChatModel.d.ts +0 -20
- package/dist/models/AccessCardChatModel.js +0 -78
- package/dist/models/AccessCardRequestModel.d.ts +0 -43
- package/dist/models/AccessCardRequestModel.js +0 -148
- package/dist/models/AccessCardWorkflowModel.d.ts +0 -18
- package/dist/models/AccessCardWorkflowModel.js +0 -80
- package/dist/models/AirportEntryPermitApprovalModel.d.ts +0 -25
- package/dist/models/AirportEntryPermitApprovalModel.js +0 -102
- package/dist/models/AirportEntryPermitAttachmentModel.d.ts +0 -14
- package/dist/models/AirportEntryPermitAttachmentModel.js +0 -74
- package/dist/models/AirportEntryPermitChatModel.d.ts +0 -20
- package/dist/models/AirportEntryPermitChatModel.js +0 -78
- package/dist/models/AirportEntryPermitModel.d.ts +0 -93
- package/dist/models/AirportEntryPermitModel.js +0 -267
- package/dist/models/AirportEntryPermitWorkflowModel.d.ts +0 -18
- package/dist/models/AirportEntryPermitWorkflowModel.js +0 -75
- package/dist/models/AnnualIncrementRequestModel.d.ts +0 -31
- package/dist/models/AnnualIncrementRequestModel.js +0 -128
- package/dist/models/AnnualTrainingPlanApprovalModel.d.ts +0 -25
- package/dist/models/AnnualTrainingPlanApprovalModel.js +0 -107
- package/dist/models/AnnualTrainingPlanAttachmentModel.d.ts +0 -13
- package/dist/models/AnnualTrainingPlanAttachmentModel.js +0 -69
- package/dist/models/AnnualTrainingPlanChatModel.d.ts +0 -26
- package/dist/models/AnnualTrainingPlanChatModel.js +0 -89
- package/dist/models/AnnualTrainingPlanRequestModel.d.ts +0 -36
- package/dist/models/AnnualTrainingPlanRequestModel.js +0 -151
- package/dist/models/AnnualTrainingPlanWorkflowModel.d.ts +0 -19
- package/dist/models/AnnualTrainingPlanWorkflowModel.js +0 -81
- package/dist/models/AssignTasksEmpApprovalModel.d.ts +0 -23
- package/dist/models/AssignTasksEmpApprovalModel.js +0 -96
- package/dist/models/AssignTasksEmpAttachmentModel.d.ts +0 -12
- package/dist/models/AssignTasksEmpAttachmentModel.js +0 -64
- package/dist/models/AssignTasksEmpChatModel.d.ts +0 -19
- package/dist/models/AssignTasksEmpChatModel.js +0 -77
- package/dist/models/AssignTasksEmpRequestModel.d.ts +0 -25
- package/dist/models/AssignTasksEmpRequestModel.js +0 -100
- package/dist/models/AssignTasksEmpWorkflowModel.d.ts +0 -18
- package/dist/models/AssignTasksEmpWorkflowModel.js +0 -76
- package/dist/models/BaseModel.d.ts +0 -14
- package/dist/models/BaseModel.js +0 -66
- package/dist/models/CAAServices.d.ts +0 -8
- package/dist/models/CAAServices.js +0 -44
- package/dist/models/CAASubServices.d.ts +0 -11
- package/dist/models/CAASubServices.js +0 -55
- package/dist/models/CashAllowanceLeaveRequestModel.d.ts +0 -33
- package/dist/models/CashAllowanceLeaveRequestModel.js +0 -138
- package/dist/models/CityMasterModel.d.ts +0 -8
- package/dist/models/CityMasterModel.js +0 -41
- package/dist/models/CountryMasterModel.d.ts +0 -11
- package/dist/models/CountryMasterModel.js +0 -55
- package/dist/models/DelegateSettingsModel.d.ts +0 -9
- package/dist/models/DelegateSettingsModel.js +0 -50
- package/dist/models/DepartmentDocumentOwnerModel.d.ts +0 -10
- package/dist/models/DepartmentDocumentOwnerModel.js +0 -44
- package/dist/models/DepartmentsModel.d.ts +0 -7
- package/dist/models/DepartmentsModel.js +0 -39
- package/dist/models/DirectorateModel.d.ts +0 -7
- package/dist/models/DirectorateModel.js +0 -39
- package/dist/models/DocumentAuditLogModel.d.ts +0 -13
- package/dist/models/DocumentAuditLogModel.js +0 -60
- package/dist/models/DocumentFolderModel.d.ts +0 -14
- package/dist/models/DocumentFolderModel.js +0 -60
- package/dist/models/DocumentMetadataModel.d.ts +0 -45
- package/dist/models/DocumentMetadataModel.js +0 -171
- package/dist/models/DocumentModel.d.ts +0 -25
- package/dist/models/DocumentModel.js +0 -96
- package/dist/models/DocumentPermissionModel.d.ts +0 -11
- package/dist/models/DocumentPermissionModel.js +0 -52
- package/dist/models/DocumentTypeModel.d.ts +0 -8
- package/dist/models/DocumentTypeModel.js +0 -37
- package/dist/models/DocumentationDepartmentsModel.d.ts +0 -13
- package/dist/models/DocumentationDepartmentsModel.js +0 -53
- package/dist/models/DutyMissionAirTicketDetailsModel.d.ts +0 -20
- package/dist/models/DutyMissionAirTicketDetailsModel.js +0 -100
- package/dist/models/DutyMissionApprovalModel.d.ts +0 -23
- package/dist/models/DutyMissionApprovalModel.js +0 -96
- package/dist/models/DutyMissionAttachmentModel.d.ts +0 -12
- package/dist/models/DutyMissionAttachmentModel.js +0 -64
- package/dist/models/DutyMissionChatModel.d.ts +0 -19
- package/dist/models/DutyMissionChatModel.js +0 -77
- package/dist/models/DutyMissionEmployeeDetailsModel.d.ts +0 -17
- package/dist/models/DutyMissionEmployeeDetailsModel.js +0 -85
- package/dist/models/DutyMissionRequestModel.d.ts +0 -68
- package/dist/models/DutyMissionRequestModel.js +0 -257
- package/dist/models/DutyMissionWorkflowModel.d.ts +0 -18
- package/dist/models/DutyMissionWorkflowModel.js +0 -76
- package/dist/models/FinancialGradeModel.d.ts +0 -12
- package/dist/models/FinancialGradeModel.js +0 -52
- package/dist/models/FolderModel.d.ts +0 -16
- package/dist/models/FolderModel.js +0 -85
- package/dist/models/GroupModel.d.ts +0 -16
- package/dist/models/GroupModel.js +0 -44
- package/dist/models/GroupNamesModel.d.ts +0 -6
- package/dist/models/GroupNamesModel.js +0 -34
- package/dist/models/HotelApprovalModel.d.ts +0 -23
- package/dist/models/HotelApprovalModel.js +0 -96
- package/dist/models/HotelAttachedModel.d.ts +0 -14
- package/dist/models/HotelAttachedModel.js +0 -74
- package/dist/models/HotelChatModel.d.ts +0 -20
- package/dist/models/HotelChatModel.js +0 -78
- package/dist/models/HotelWorkFlowModel.d.ts +0 -17
- package/dist/models/HotelWorkFlowModel.js +0 -71
- package/dist/models/HotelreservationModel.d.ts +0 -46
- package/dist/models/HotelreservationModel.js +0 -182
- package/dist/models/HrServiceApprovalModel.d.ts +0 -27
- package/dist/models/HrServiceApprovalModel.js +0 -117
- package/dist/models/HrServiceAttachmentModel.d.ts +0 -13
- package/dist/models/HrServiceAttachmentModel.js +0 -69
- package/dist/models/HrServiceChatModel.d.ts +0 -28
- package/dist/models/HrServiceChatModel.js +0 -96
- package/dist/models/HrServiceRequestModel.d.ts +0 -46
- package/dist/models/HrServiceRequestModel.js +0 -205
- package/dist/models/HrServiceWorkflowModel.d.ts +0 -19
- package/dist/models/HrServiceWorkflowModel.js +0 -81
- package/dist/models/HumanResourceAnnualPlanningRequestModel.d.ts +0 -35
- package/dist/models/HumanResourceAnnualPlanningRequestModel.js +0 -121
- package/dist/models/HumanResourceAnnualPlanningTaskModel.d.ts +0 -25
- package/dist/models/HumanResourceAnnualPlanningTaskModel.js +0 -83
- package/dist/models/ITHelpDeskModel.d.ts +0 -33
- package/dist/models/ITHelpDeskModel.js +0 -136
- package/dist/models/ITRequestAttachmentModel.d.ts +0 -17
- package/dist/models/ITRequestAttachmentModel.js +0 -81
- package/dist/models/ITRequestChatModel.d.ts +0 -16
- package/dist/models/ITRequestChatModel.js +0 -76
- package/dist/models/ItApprovalsModel.d.ts +0 -24
- package/dist/models/ItApprovalsModel.js +0 -97
- package/dist/models/ItWorkflowModel.d.ts +0 -19
- package/dist/models/ItWorkflowModel.js +0 -81
- package/dist/models/JobTransferRequestModel.d.ts +0 -32
- package/dist/models/JobTransferRequestModel.js +0 -132
- package/dist/models/LocationModel.d.ts +0 -12
- package/dist/models/LocationModel.js +0 -62
- package/dist/models/LogisticsApprovalModel.d.ts +0 -23
- package/dist/models/LogisticsApprovalModel.js +0 -96
- package/dist/models/LogisticsAttachmentModel.d.ts +0 -12
- package/dist/models/LogisticsAttachmentModel.js +0 -64
- package/dist/models/LogisticsChatModel.d.ts +0 -20
- package/dist/models/LogisticsChatModel.js +0 -78
- package/dist/models/LogisticsForeignVehicleModel.d.ts +0 -51
- package/dist/models/LogisticsForeignVehicleModel.js +0 -199
- package/dist/models/LogisticsForeignVehiclePassengerModel.d.ts +0 -6
- package/dist/models/LogisticsForeignVehiclePassengerModel.js +0 -34
- package/dist/models/LogisticsModel.d.ts +0 -66
- package/dist/models/LogisticsModel.js +0 -237
- package/dist/models/LogisticsVehicleMaintenanceApprovalModel.d.ts +0 -23
- package/dist/models/LogisticsVehicleMaintenanceApprovalModel.js +0 -96
- package/dist/models/LogisticsVehicleMaintenanceAttachmentModel.d.ts +0 -12
- package/dist/models/LogisticsVehicleMaintenanceAttachmentModel.js +0 -64
- package/dist/models/LogisticsVehicleMaintenanceChatModel.d.ts +0 -20
- package/dist/models/LogisticsVehicleMaintenanceChatModel.js +0 -78
- package/dist/models/LogisticsVehicleMaintenanceRequestModel.d.ts +0 -28
- package/dist/models/LogisticsVehicleMaintenanceRequestModel.js +0 -109
- package/dist/models/LogisticsVehicleMaintenanceWorkflowModel.d.ts +0 -18
- package/dist/models/LogisticsVehicleMaintenanceWorkflowModel.js +0 -76
- package/dist/models/LogisticsWorkflowModel.d.ts +0 -18
- package/dist/models/LogisticsWorkflowModel.js +0 -76
- package/dist/models/MissionTravelPassportExpiryNotificationConfigModel.d.ts +0 -9
- package/dist/models/MissionTravelPassportExpiryNotificationConfigModel.js +0 -49
- package/dist/models/NationalityMasterModel.d.ts +0 -10
- package/dist/models/NationalityMasterModel.js +0 -51
- package/dist/models/NewResourceRequestModel.d.ts +0 -32
- package/dist/models/NewResourceRequestModel.js +0 -133
- package/dist/models/NotificationModel.d.ts +0 -23
- package/dist/models/NotificationModel.js +0 -92
- package/dist/models/PerformanceCyclePeriodModel.d.ts +0 -7
- package/dist/models/PerformanceCyclePeriodModel.js +0 -40
- package/dist/models/PerformanceGoalMasterModel.d.ts +0 -8
- package/dist/models/PerformanceGoalMasterModel.js +0 -45
- package/dist/models/PerformanceManagementRequestModel.d.ts +0 -34
- package/dist/models/PerformanceManagementRequestModel.js +0 -128
- package/dist/models/PermissionModel.d.ts +0 -18
- package/dist/models/PermissionModel.js +0 -68
- package/dist/models/PortalFeedbackModel.d.ts +0 -8
- package/dist/models/PortalFeedbackModel.js +0 -44
- package/dist/models/PositionModel.d.ts +0 -6
- package/dist/models/PositionModel.js +0 -34
- package/dist/models/PromotionRequestModel.d.ts +0 -32
- package/dist/models/PromotionRequestModel.js +0 -133
- package/dist/models/RequestForCoverageApprovalModel.d.ts +0 -26
- package/dist/models/RequestForCoverageApprovalModel.js +0 -108
- package/dist/models/RequestForCoverageAttachmentModel.d.ts +0 -13
- package/dist/models/RequestForCoverageAttachmentModel.js +0 -69
- package/dist/models/RequestForCoverageChatModel.d.ts +0 -26
- package/dist/models/RequestForCoverageChatModel.js +0 -89
- package/dist/models/RequestForCoverageRequestModel.d.ts +0 -49
- package/dist/models/RequestForCoverageRequestModel.js +0 -208
- package/dist/models/RequestForCoverageWorkflowModel.d.ts +0 -19
- package/dist/models/RequestForCoverageWorkflowModel.js +0 -81
- package/dist/models/SecondmentRequestModel.d.ts +0 -44
- package/dist/models/SecondmentRequestModel.js +0 -194
- package/dist/models/SectionModel.d.ts +0 -8
- package/dist/models/SectionModel.js +0 -44
- package/dist/models/SecurityAwarenessApprovalModel.d.ts +0 -24
- package/dist/models/SecurityAwarenessApprovalModel.js +0 -101
- package/dist/models/SecurityAwarenessAttachmentModel.d.ts +0 -12
- package/dist/models/SecurityAwarenessAttachmentModel.js +0 -64
- package/dist/models/SecurityAwarenessChatModel.d.ts +0 -20
- package/dist/models/SecurityAwarenessChatModel.js +0 -78
- package/dist/models/SecurityAwarenessRequestModel.d.ts +0 -30
- package/dist/models/SecurityAwarenessRequestModel.js +0 -122
- package/dist/models/SecurityAwarenessWorkflowModel.d.ts +0 -18
- package/dist/models/SecurityAwarenessWorkflowModel.js +0 -76
- package/dist/models/SecurityThreatApprovalModel.d.ts +0 -25
- package/dist/models/SecurityThreatApprovalModel.js +0 -102
- package/dist/models/SecurityThreatAttachmentModel.d.ts +0 -12
- package/dist/models/SecurityThreatAttachmentModel.js +0 -64
- package/dist/models/SecurityThreatChatModel.d.ts +0 -20
- package/dist/models/SecurityThreatChatModel.js +0 -78
- package/dist/models/SecurityThreatRequestModel.d.ts +0 -38
- package/dist/models/SecurityThreatRequestModel.js +0 -140
- package/dist/models/SecurityThreatWorkflowModel.d.ts +0 -18
- package/dist/models/SecurityThreatWorkflowModel.js +0 -76
- package/dist/models/ServiceTransferRequestModel.d.ts +0 -46
- package/dist/models/ServiceTransferRequestModel.js +0 -173
- package/dist/models/ServiceTypeModel.d.ts +0 -20
- package/dist/models/ServiceTypeModel.js +0 -88
- package/dist/models/ServicesNotificationConfigModel.d.ts +0 -15
- package/dist/models/ServicesNotificationConfigModel.js +0 -69
- package/dist/models/ShiftAllowanceRequestModel.d.ts +0 -39
- package/dist/models/ShiftAllowanceRequestModel.js +0 -150
- package/dist/models/SkillsEnhancementRequestModel.d.ts +0 -39
- package/dist/models/SkillsEnhancementRequestModel.js +0 -133
- package/dist/models/StudyLeaveApprovalModel.d.ts +0 -25
- package/dist/models/StudyLeaveApprovalModel.js +0 -107
- package/dist/models/StudyLeaveAttachmentModel.d.ts +0 -13
- package/dist/models/StudyLeaveAttachmentModel.js +0 -69
- package/dist/models/StudyLeaveChatModel.d.ts +0 -26
- package/dist/models/StudyLeaveChatModel.js +0 -89
- package/dist/models/StudyLeaveRequestModel.d.ts +0 -29
- package/dist/models/StudyLeaveRequestModel.js +0 -128
- package/dist/models/StudyLeaveWorkflowModel.d.ts +0 -19
- package/dist/models/StudyLeaveWorkflowModel.js +0 -81
- package/dist/models/TemporaryAssignmentRequestModel.d.ts +0 -51
- package/dist/models/TemporaryAssignmentRequestModel.js +0 -218
- package/dist/models/TrainingApprovalModel.d.ts +0 -25
- package/dist/models/TrainingApprovalModel.js +0 -107
- package/dist/models/TrainingAttachmentModel.d.ts +0 -13
- package/dist/models/TrainingAttachmentModel.js +0 -69
- package/dist/models/TrainingChatModel.d.ts +0 -20
- package/dist/models/TrainingChatModel.js +0 -82
- package/dist/models/TrainingRequestModel.d.ts +0 -43
- package/dist/models/TrainingRequestModel.js +0 -161
- package/dist/models/TrainingRoomBookingApprovalModel.d.ts +0 -25
- package/dist/models/TrainingRoomBookingApprovalModel.js +0 -107
- package/dist/models/TrainingRoomBookingAttachmentModel.d.ts +0 -13
- package/dist/models/TrainingRoomBookingAttachmentModel.js +0 -69
- package/dist/models/TrainingRoomBookingChatModel.d.ts +0 -26
- package/dist/models/TrainingRoomBookingChatModel.js +0 -89
- package/dist/models/TrainingRoomBookingRequestModel.d.ts +0 -38
- package/dist/models/TrainingRoomBookingRequestModel.js +0 -149
- package/dist/models/TrainingRoomBookingWorkflowModel.d.ts +0 -19
- package/dist/models/TrainingRoomBookingWorkflowModel.js +0 -81
- package/dist/models/TrainingRoomNotificationConfigModel.d.ts +0 -11
- package/dist/models/TrainingRoomNotificationConfigModel.js +0 -44
- package/dist/models/TrainingWorkflowModel.d.ts +0 -19
- package/dist/models/TrainingWorkflowModel.js +0 -81
- package/dist/models/UUIDBaseModel.d.ts +0 -14
- package/dist/models/UUIDBaseModel.js +0 -66
- package/dist/models/VpnApprovalModel.d.ts +0 -22
- package/dist/models/VpnApprovalModel.js +0 -91
- package/dist/models/VpnRequestAttachmentModel.d.ts +0 -11
- package/dist/models/VpnRequestAttachmentModel.js +0 -59
- package/dist/models/VpnRequestChatModel.d.ts +0 -26
- package/dist/models/VpnRequestChatModel.js +0 -86
- package/dist/models/VpnRequestModel.d.ts +0 -72
- package/dist/models/VpnRequestModel.js +0 -183
- package/dist/models/VpnWorkflowModel.d.ts +0 -17
- package/dist/models/VpnWorkflowModel.js +0 -71
- package/dist/models/WorkflowDefinitions.d.ts +0 -16
- package/dist/models/WorkflowDefinitions.js +0 -86
- package/dist/models/WorkflowHierarchy.d.ts +0 -17
- package/dist/models/WorkflowHierarchy.js +0 -86
- package/dist/models/WorkflowTask.d.ts +0 -13
- package/dist/models/WorkflowTask.js +0 -78
- package/dist/models/WorkflowTaskNames.d.ts +0 -17
- package/dist/models/WorkflowTaskNames.js +0 -63
- package/dist/models/contactInfoModel.d.ts +0 -18
- package/dist/models/contactInfoModel.js +0 -80
- package/dist/models/feedbackModel.d.ts +0 -16
- package/dist/models/feedbackModel.js +0 -61
- package/dist/models/importantLinksModel.d.ts +0 -6
- package/dist/models/importantLinksModel.js +0 -34
- package/dist/models/role.d.ts +0 -16
- package/dist/models/role.js +0 -44
- package/dist/models/roleRightsModel.d.ts +0 -13
- package/dist/models/roleRightsModel.js +0 -45
- package/dist/models/serviceBookmarksModel.d.ts +0 -6
- package/dist/models/serviceBookmarksModel.js +0 -34
- package/dist/models/user-sessions.d.ts +0 -18
- package/dist/models/user-sessions.js +0 -54
- package/dist/models/user.d.ts +0 -47
- package/dist/models/user.js +0 -238
- package/dist/models/userRolesModel.d.ts +0 -19
- package/dist/models/userRolesModel.js +0 -59
- package/dist/scripts.d.ts +0 -1
- package/dist/scripts.js +0 -11
|
@@ -1,173 +0,0 @@
|
|
|
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.ServiceTransferRequest = exports.ServiceTransferRequestType = exports.SalaryDetailsType = exports.ServiceTransferRequestStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var ServiceTransferRequestStatus;
|
|
16
|
-
(function (ServiceTransferRequestStatus) {
|
|
17
|
-
ServiceTransferRequestStatus["PENDING"] = "Pending";
|
|
18
|
-
ServiceTransferRequestStatus["ASSIGNED"] = "Assigned";
|
|
19
|
-
ServiceTransferRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
-
ServiceTransferRequestStatus["COMPLETED"] = "Completed";
|
|
21
|
-
ServiceTransferRequestStatus["APPROVED"] = "Approved";
|
|
22
|
-
ServiceTransferRequestStatus["REJECTED"] = "Rejected";
|
|
23
|
-
})(ServiceTransferRequestStatus || (exports.ServiceTransferRequestStatus = ServiceTransferRequestStatus = {}));
|
|
24
|
-
var SalaryDetailsType;
|
|
25
|
-
(function (SalaryDetailsType) {
|
|
26
|
-
SalaryDetailsType["RETAINED"] = "Retained with Same Financial Allocations, Financial Grade";
|
|
27
|
-
SalaryDetailsType["NEW"] = "New";
|
|
28
|
-
})(SalaryDetailsType || (exports.SalaryDetailsType = SalaryDetailsType = {}));
|
|
29
|
-
var ServiceTransferRequestType;
|
|
30
|
-
(function (ServiceTransferRequestType) {
|
|
31
|
-
ServiceTransferRequestType["INTERNAL"] = "Internal";
|
|
32
|
-
ServiceTransferRequestType["EXTERNAL"] = "External";
|
|
33
|
-
})(ServiceTransferRequestType || (exports.ServiceTransferRequestType = ServiceTransferRequestType = {}));
|
|
34
|
-
let ServiceTransferRequest = class ServiceTransferRequest extends BaseModel_1.BaseModel {
|
|
35
|
-
constructor(user_id, status = ServiceTransferRequestStatus.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, assigned_employee_name, civil_id_card_number, employee_id, current_job_position, assigned_job_position, current_entity, transferred_to_entity, start_date, end_date, phone_number, reason_for_request, request_type, salary_details, salary_details_description) {
|
|
36
|
-
super();
|
|
37
|
-
this.user_id = user_id;
|
|
38
|
-
this.status = status;
|
|
39
|
-
this.service_id = service_id || null;
|
|
40
|
-
this.sub_service_id = sub_service_id || null;
|
|
41
|
-
this.req_user_department_id = req_user_department_id || null;
|
|
42
|
-
this.req_user_section_id = req_user_section_id || null;
|
|
43
|
-
this.req_user_position_id = req_user_position_id || null;
|
|
44
|
-
this.description = description || null;
|
|
45
|
-
this.reviewer_user_id = reviewer_user_id || null;
|
|
46
|
-
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
47
|
-
this.assigned_at = assigned_at || null;
|
|
48
|
-
this.workflow_execution_id = workflow_execution_id || null;
|
|
49
|
-
this.assigned_employee_name = assigned_employee_name || "";
|
|
50
|
-
this.civil_id_card_number = civil_id_card_number || null;
|
|
51
|
-
this.employee_id = employee_id || "";
|
|
52
|
-
this.current_job_position = current_job_position || "";
|
|
53
|
-
this.assigned_job_position = assigned_job_position || "";
|
|
54
|
-
this.current_entity = current_entity || "";
|
|
55
|
-
this.transferred_to_entity = transferred_to_entity || "";
|
|
56
|
-
this.start_date = start_date || null;
|
|
57
|
-
this.end_date = end_date || null;
|
|
58
|
-
this.phone_number = phone_number || "";
|
|
59
|
-
this.reason_for_request = reason_for_request || "";
|
|
60
|
-
this.request_type = request_type || ServiceTransferRequestType.INTERNAL;
|
|
61
|
-
this.salary_details = salary_details || "";
|
|
62
|
-
this.salary_details_description = salary_details_description || null;
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
exports.ServiceTransferRequest = ServiceTransferRequest;
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
68
|
-
__metadata("design:type", Object)
|
|
69
|
-
], ServiceTransferRequest.prototype, "req_user_department_id", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
72
|
-
__metadata("design:type", Object)
|
|
73
|
-
], ServiceTransferRequest.prototype, "req_user_section_id", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
76
|
-
__metadata("design:type", Object)
|
|
77
|
-
], ServiceTransferRequest.prototype, "req_user_position_id", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
80
|
-
__metadata("design:type", Object)
|
|
81
|
-
], ServiceTransferRequest.prototype, "service_id", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
84
|
-
__metadata("design:type", Object)
|
|
85
|
-
], ServiceTransferRequest.prototype, "sub_service_id", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
88
|
-
__metadata("design:type", Number)
|
|
89
|
-
], ServiceTransferRequest.prototype, "user_id", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
92
|
-
__metadata("design:type", Object)
|
|
93
|
-
], ServiceTransferRequest.prototype, "description", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
(0, typeorm_1.Column)({ type: "enum", enum: ServiceTransferRequestStatus, default: ServiceTransferRequestStatus.PENDING, nullable: false }),
|
|
96
|
-
__metadata("design:type", String)
|
|
97
|
-
], ServiceTransferRequest.prototype, "status", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
100
|
-
__metadata("design:type", Object)
|
|
101
|
-
], ServiceTransferRequest.prototype, "reviewer_user_id", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
104
|
-
__metadata("design:type", Object)
|
|
105
|
-
], ServiceTransferRequest.prototype, "assigned_to_user_id", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
108
|
-
__metadata("design:type", Object)
|
|
109
|
-
], ServiceTransferRequest.prototype, "assigned_at", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
112
|
-
__metadata("design:type", Object)
|
|
113
|
-
], ServiceTransferRequest.prototype, "workflow_execution_id", void 0);
|
|
114
|
-
__decorate([
|
|
115
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
116
|
-
__metadata("design:type", String)
|
|
117
|
-
], ServiceTransferRequest.prototype, "assigned_employee_name", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: true }),
|
|
120
|
-
__metadata("design:type", Object)
|
|
121
|
-
], ServiceTransferRequest.prototype, "civil_id_card_number", void 0);
|
|
122
|
-
__decorate([
|
|
123
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
124
|
-
__metadata("design:type", String)
|
|
125
|
-
], ServiceTransferRequest.prototype, "employee_id", void 0);
|
|
126
|
-
__decorate([
|
|
127
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
128
|
-
__metadata("design:type", String)
|
|
129
|
-
], ServiceTransferRequest.prototype, "current_job_position", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
132
|
-
__metadata("design:type", String)
|
|
133
|
-
], ServiceTransferRequest.prototype, "assigned_job_position", void 0);
|
|
134
|
-
__decorate([
|
|
135
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: false }),
|
|
136
|
-
__metadata("design:type", String)
|
|
137
|
-
], ServiceTransferRequest.prototype, "current_entity", void 0);
|
|
138
|
-
__decorate([
|
|
139
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: false }),
|
|
140
|
-
__metadata("design:type", String)
|
|
141
|
-
], ServiceTransferRequest.prototype, "transferred_to_entity", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
(0, typeorm_1.Column)({ type: "date", nullable: true }),
|
|
144
|
-
__metadata("design:type", Object)
|
|
145
|
-
], ServiceTransferRequest.prototype, "start_date", void 0);
|
|
146
|
-
__decorate([
|
|
147
|
-
(0, typeorm_1.Column)({ type: "date", nullable: true }),
|
|
148
|
-
__metadata("design:type", Object)
|
|
149
|
-
], ServiceTransferRequest.prototype, "end_date", void 0);
|
|
150
|
-
__decorate([
|
|
151
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: false }),
|
|
152
|
-
__metadata("design:type", String)
|
|
153
|
-
], ServiceTransferRequest.prototype, "phone_number", void 0);
|
|
154
|
-
__decorate([
|
|
155
|
-
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
156
|
-
__metadata("design:type", String)
|
|
157
|
-
], ServiceTransferRequest.prototype, "reason_for_request", void 0);
|
|
158
|
-
__decorate([
|
|
159
|
-
(0, typeorm_1.Column)({ type: "enum", enum: ServiceTransferRequestType, nullable: false }),
|
|
160
|
-
__metadata("design:type", String)
|
|
161
|
-
], ServiceTransferRequest.prototype, "request_type", void 0);
|
|
162
|
-
__decorate([
|
|
163
|
-
(0, typeorm_1.Column)({ type: "varchar", nullable: true }),
|
|
164
|
-
__metadata("design:type", String)
|
|
165
|
-
], ServiceTransferRequest.prototype, "salary_details", void 0);
|
|
166
|
-
__decorate([
|
|
167
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
|
|
168
|
-
__metadata("design:type", Object)
|
|
169
|
-
], ServiceTransferRequest.prototype, "salary_details_description", void 0);
|
|
170
|
-
exports.ServiceTransferRequest = ServiceTransferRequest = __decorate([
|
|
171
|
-
(0, typeorm_1.Entity)({ name: "service_transfer_requests" }),
|
|
172
|
-
__metadata("design:paramtypes", [Number, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, String, Object, String, String, String, String, String, Object, Object, String, String, String, String, Object])
|
|
173
|
-
], ServiceTransferRequest);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
import { CAAServices } from './CAAServices';
|
|
3
|
-
import { CAASubServices } from './CAASubServices';
|
|
4
|
-
import { Departments } from './DepartmentsModel';
|
|
5
|
-
import { Sections } from './SectionModel';
|
|
6
|
-
export declare class ServiceType extends BaseModel {
|
|
7
|
-
name: string;
|
|
8
|
-
name_in_arabic: string | null;
|
|
9
|
-
service_id: number;
|
|
10
|
-
service: CAAServices;
|
|
11
|
-
sub_service_id: number;
|
|
12
|
-
sub_service: CAASubServices;
|
|
13
|
-
department_id: number | null;
|
|
14
|
-
department: Departments;
|
|
15
|
-
section_id: number | null;
|
|
16
|
-
section: Sections;
|
|
17
|
-
description: string;
|
|
18
|
-
is_active: boolean;
|
|
19
|
-
constructor(name: string, name_in_arabic: string | null, service_id: number, sub_service_id: number, description?: string, is_active?: boolean, department_id?: number | null, section_id?: number | null);
|
|
20
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
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.ServiceType = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
const CAAServices_1 = require("./CAAServices");
|
|
16
|
-
const CAASubServices_1 = require("./CAASubServices");
|
|
17
|
-
const DepartmentsModel_1 = require("./DepartmentsModel");
|
|
18
|
-
const SectionModel_1 = require("./SectionModel");
|
|
19
|
-
let ServiceType = class ServiceType extends BaseModel_1.BaseModel {
|
|
20
|
-
constructor(name, name_in_arabic, service_id, sub_service_id, description, is_active, department_id, section_id) {
|
|
21
|
-
super();
|
|
22
|
-
this.name = name;
|
|
23
|
-
this.name_in_arabic = name_in_arabic || '';
|
|
24
|
-
this.service_id = service_id;
|
|
25
|
-
this.sub_service_id = sub_service_id;
|
|
26
|
-
this.description = description || '';
|
|
27
|
-
this.is_active = is_active !== undefined ? is_active : true;
|
|
28
|
-
this.department_id = department_id || null;
|
|
29
|
-
this.section_id = section_id || null;
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
exports.ServiceType = ServiceType;
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: false }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], ServiceType.prototype, "name", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
39
|
-
__metadata("design:type", Object)
|
|
40
|
-
], ServiceType.prototype, "name_in_arabic", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
43
|
-
__metadata("design:type", Number)
|
|
44
|
-
], ServiceType.prototype, "service_id", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, typeorm_1.ManyToOne)(() => CAAServices_1.CAAServices),
|
|
47
|
-
(0, typeorm_1.JoinColumn)({ name: 'service_id' }),
|
|
48
|
-
__metadata("design:type", CAAServices_1.CAAServices)
|
|
49
|
-
], ServiceType.prototype, "service", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
52
|
-
__metadata("design:type", Number)
|
|
53
|
-
], ServiceType.prototype, "sub_service_id", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, typeorm_1.ManyToOne)(() => CAASubServices_1.CAASubServices),
|
|
56
|
-
(0, typeorm_1.JoinColumn)({ name: 'sub_service_id' }),
|
|
57
|
-
__metadata("design:type", CAASubServices_1.CAASubServices)
|
|
58
|
-
], ServiceType.prototype, "sub_service", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
61
|
-
__metadata("design:type", Object)
|
|
62
|
-
], ServiceType.prototype, "department_id", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.ManyToOne)(() => DepartmentsModel_1.Departments),
|
|
65
|
-
(0, typeorm_1.JoinColumn)({ name: 'department_id' }),
|
|
66
|
-
__metadata("design:type", DepartmentsModel_1.Departments)
|
|
67
|
-
], ServiceType.prototype, "department", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
70
|
-
__metadata("design:type", Object)
|
|
71
|
-
], ServiceType.prototype, "section_id", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, typeorm_1.ManyToOne)(() => SectionModel_1.Sections),
|
|
74
|
-
(0, typeorm_1.JoinColumn)({ name: 'section_id' }),
|
|
75
|
-
__metadata("design:type", SectionModel_1.Sections)
|
|
76
|
-
], ServiceType.prototype, "section", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
|
-
__metadata("design:type", String)
|
|
80
|
-
], ServiceType.prototype, "description", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
83
|
-
__metadata("design:type", Boolean)
|
|
84
|
-
], ServiceType.prototype, "is_active", void 0);
|
|
85
|
-
exports.ServiceType = ServiceType = __decorate([
|
|
86
|
-
(0, typeorm_1.Entity)({ name: 'service_types' }),
|
|
87
|
-
__metadata("design:paramtypes", [String, Object, Number, Number, String, Boolean, Object, Object])
|
|
88
|
-
], ServiceType);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "./BaseModel";
|
|
2
|
-
export declare enum ServicesNotificationTriggerType {
|
|
3
|
-
FINAL_APPROVAL = "final_approval",
|
|
4
|
-
EVERY_APPROVAL = "every_approval"
|
|
5
|
-
}
|
|
6
|
-
export declare class ServicesNotificationConfigs extends BaseModel {
|
|
7
|
-
service_id: number;
|
|
8
|
-
sub_service_id: number;
|
|
9
|
-
department_id: number;
|
|
10
|
-
section_id: number | null;
|
|
11
|
-
role_id: number | null;
|
|
12
|
-
trigger: ServicesNotificationTriggerType;
|
|
13
|
-
is_active: boolean;
|
|
14
|
-
constructor(service_id: number, sub_service_id: number, department_id: number, section_id?: number | null, role_id?: number | null, trigger?: ServicesNotificationTriggerType, is_active?: boolean);
|
|
15
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
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.ServicesNotificationConfigs = exports.ServicesNotificationTriggerType = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var ServicesNotificationTriggerType;
|
|
16
|
-
(function (ServicesNotificationTriggerType) {
|
|
17
|
-
ServicesNotificationTriggerType["FINAL_APPROVAL"] = "final_approval";
|
|
18
|
-
ServicesNotificationTriggerType["EVERY_APPROVAL"] = "every_approval";
|
|
19
|
-
})(ServicesNotificationTriggerType || (exports.ServicesNotificationTriggerType = ServicesNotificationTriggerType = {}));
|
|
20
|
-
let ServicesNotificationConfigs = class ServicesNotificationConfigs extends BaseModel_1.BaseModel {
|
|
21
|
-
constructor(service_id, sub_service_id, department_id, section_id = null, role_id = null, trigger = ServicesNotificationTriggerType.FINAL_APPROVAL, is_active = true) {
|
|
22
|
-
super();
|
|
23
|
-
this.service_id = service_id;
|
|
24
|
-
this.sub_service_id = sub_service_id;
|
|
25
|
-
this.department_id = department_id;
|
|
26
|
-
this.section_id = section_id;
|
|
27
|
-
this.role_id = role_id;
|
|
28
|
-
this.trigger = trigger;
|
|
29
|
-
this.is_active = is_active;
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
exports.ServicesNotificationConfigs = ServicesNotificationConfigs;
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], ServicesNotificationConfigs.prototype, "service_id", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
39
|
-
__metadata("design:type", Number)
|
|
40
|
-
], ServicesNotificationConfigs.prototype, "sub_service_id", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
43
|
-
__metadata("design:type", Number)
|
|
44
|
-
], ServicesNotificationConfigs.prototype, "department_id", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
47
|
-
__metadata("design:type", Object)
|
|
48
|
-
], ServicesNotificationConfigs.prototype, "section_id", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
51
|
-
__metadata("design:type", Object)
|
|
52
|
-
], ServicesNotificationConfigs.prototype, "role_id", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({
|
|
55
|
-
type: "enum",
|
|
56
|
-
enum: ServicesNotificationTriggerType,
|
|
57
|
-
nullable: false,
|
|
58
|
-
default: ServicesNotificationTriggerType.FINAL_APPROVAL
|
|
59
|
-
}),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], ServicesNotificationConfigs.prototype, "trigger", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, typeorm_1.Column)({ type: "boolean", nullable: false, default: true }),
|
|
64
|
-
__metadata("design:type", Boolean)
|
|
65
|
-
], ServicesNotificationConfigs.prototype, "is_active", void 0);
|
|
66
|
-
exports.ServicesNotificationConfigs = ServicesNotificationConfigs = __decorate([
|
|
67
|
-
(0, typeorm_1.Entity)({ name: "services_notification_configs" }),
|
|
68
|
-
__metadata("design:paramtypes", [Number, Number, Number, Object, Object, String, Boolean])
|
|
69
|
-
], ServicesNotificationConfigs);
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "./BaseModel";
|
|
2
|
-
export declare enum ShiftAllowanceRequestStatus {
|
|
3
|
-
PENDING = "Pending",
|
|
4
|
-
ASSIGNED = "Assigned",
|
|
5
|
-
IN_PROGRESS = "In Progress",
|
|
6
|
-
COMPLETED = "Completed",
|
|
7
|
-
APPROVED = "Approved",
|
|
8
|
-
REJECTED = "Rejected"
|
|
9
|
-
}
|
|
10
|
-
export declare enum ShiftAllowanceValue {
|
|
11
|
-
TWENTY_TWO_PERCENT = "22%",
|
|
12
|
-
THIRTY_PERCENT = "30%",
|
|
13
|
-
SEVENTY_PERCENT = "70%"
|
|
14
|
-
}
|
|
15
|
-
export declare class ShiftAllowanceRequest extends BaseModel {
|
|
16
|
-
req_user_department_id: number | null;
|
|
17
|
-
req_user_section_id: number | null;
|
|
18
|
-
req_user_position_id: number | null;
|
|
19
|
-
service_id: number | null;
|
|
20
|
-
sub_service_id: number | null;
|
|
21
|
-
user_id: number;
|
|
22
|
-
description: string | null;
|
|
23
|
-
status: ShiftAllowanceRequestStatus;
|
|
24
|
-
reviewer_user_id: number | null;
|
|
25
|
-
assigned_to_user_id: number | null;
|
|
26
|
-
assigned_at: Date | null;
|
|
27
|
-
workflow_execution_id: string | null;
|
|
28
|
-
employee_name: string;
|
|
29
|
-
employee_id: string;
|
|
30
|
-
job_title: string;
|
|
31
|
-
financial_grade: string;
|
|
32
|
-
allowance_value: ShiftAllowanceValue;
|
|
33
|
-
shift_start_date: Date;
|
|
34
|
-
shift_end_date: Date;
|
|
35
|
-
start_time: string | null;
|
|
36
|
-
end_time: string | null;
|
|
37
|
-
reason_for_request: string | null;
|
|
38
|
-
constructor(user_id: number, status?: ShiftAllowanceRequestStatus, 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, financial_grade?: string, allowance_value?: ShiftAllowanceValue, shift_start_date?: Date, shift_end_date?: Date, start_time?: string | null, end_time?: string | null, reason_for_request?: string | null);
|
|
39
|
-
}
|
|
@@ -1,150 +0,0 @@
|
|
|
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.ShiftAllowanceRequest = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var ShiftAllowanceRequestStatus;
|
|
16
|
-
(function (ShiftAllowanceRequestStatus) {
|
|
17
|
-
ShiftAllowanceRequestStatus["PENDING"] = "Pending";
|
|
18
|
-
ShiftAllowanceRequestStatus["ASSIGNED"] = "Assigned";
|
|
19
|
-
ShiftAllowanceRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
-
ShiftAllowanceRequestStatus["COMPLETED"] = "Completed";
|
|
21
|
-
ShiftAllowanceRequestStatus["APPROVED"] = "Approved";
|
|
22
|
-
ShiftAllowanceRequestStatus["REJECTED"] = "Rejected";
|
|
23
|
-
})(ShiftAllowanceRequestStatus || (exports.ShiftAllowanceRequestStatus = ShiftAllowanceRequestStatus = {}));
|
|
24
|
-
var ShiftAllowanceValue;
|
|
25
|
-
(function (ShiftAllowanceValue) {
|
|
26
|
-
ShiftAllowanceValue["TWENTY_TWO_PERCENT"] = "22%";
|
|
27
|
-
ShiftAllowanceValue["THIRTY_PERCENT"] = "30%";
|
|
28
|
-
ShiftAllowanceValue["SEVENTY_PERCENT"] = "70%";
|
|
29
|
-
})(ShiftAllowanceValue || (exports.ShiftAllowanceValue = ShiftAllowanceValue = {}));
|
|
30
|
-
let ShiftAllowanceRequest = class ShiftAllowanceRequest extends BaseModel_1.BaseModel {
|
|
31
|
-
constructor(user_id, status = ShiftAllowanceRequestStatus.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, financial_grade, allowance_value, shift_start_date, shift_end_date, start_time, end_time, reason_for_request) {
|
|
32
|
-
super();
|
|
33
|
-
this.user_id = user_id;
|
|
34
|
-
this.status = status;
|
|
35
|
-
this.service_id = service_id || null;
|
|
36
|
-
this.sub_service_id = sub_service_id || null;
|
|
37
|
-
this.req_user_department_id = req_user_department_id || null;
|
|
38
|
-
this.req_user_section_id = req_user_section_id || null;
|
|
39
|
-
this.req_user_position_id = req_user_position_id || null;
|
|
40
|
-
this.description = description || null;
|
|
41
|
-
this.reviewer_user_id = reviewer_user_id || null;
|
|
42
|
-
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
43
|
-
this.assigned_at = assigned_at || null;
|
|
44
|
-
this.workflow_execution_id = workflow_execution_id || null;
|
|
45
|
-
this.employee_name = employee_name || "";
|
|
46
|
-
this.employee_id = employee_id || "";
|
|
47
|
-
this.job_title = job_title || "";
|
|
48
|
-
this.financial_grade = financial_grade || "";
|
|
49
|
-
this.allowance_value = allowance_value || ShiftAllowanceValue.TWENTY_TWO_PERCENT;
|
|
50
|
-
this.shift_start_date = shift_start_date || new Date();
|
|
51
|
-
this.shift_end_date = shift_end_date || new Date();
|
|
52
|
-
this.start_time = start_time || null;
|
|
53
|
-
this.end_time = end_time || null;
|
|
54
|
-
this.reason_for_request = reason_for_request || null;
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
exports.ShiftAllowanceRequest = ShiftAllowanceRequest;
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
60
|
-
__metadata("design:type", Object)
|
|
61
|
-
], ShiftAllowanceRequest.prototype, "req_user_department_id", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
64
|
-
__metadata("design:type", Object)
|
|
65
|
-
], ShiftAllowanceRequest.prototype, "req_user_section_id", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
68
|
-
__metadata("design:type", Object)
|
|
69
|
-
], ShiftAllowanceRequest.prototype, "req_user_position_id", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
72
|
-
__metadata("design:type", Object)
|
|
73
|
-
], ShiftAllowanceRequest.prototype, "service_id", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
76
|
-
__metadata("design:type", Object)
|
|
77
|
-
], ShiftAllowanceRequest.prototype, "sub_service_id", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
80
|
-
__metadata("design:type", Number)
|
|
81
|
-
], ShiftAllowanceRequest.prototype, "user_id", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
84
|
-
__metadata("design:type", Object)
|
|
85
|
-
], ShiftAllowanceRequest.prototype, "description", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, typeorm_1.Column)({ type: "enum", enum: ShiftAllowanceRequestStatus, default: ShiftAllowanceRequestStatus.PENDING, nullable: false }),
|
|
88
|
-
__metadata("design:type", String)
|
|
89
|
-
], ShiftAllowanceRequest.prototype, "status", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
92
|
-
__metadata("design:type", Object)
|
|
93
|
-
], ShiftAllowanceRequest.prototype, "reviewer_user_id", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
96
|
-
__metadata("design:type", Object)
|
|
97
|
-
], ShiftAllowanceRequest.prototype, "assigned_to_user_id", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
100
|
-
__metadata("design:type", Object)
|
|
101
|
-
], ShiftAllowanceRequest.prototype, "assigned_at", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
104
|
-
__metadata("design:type", Object)
|
|
105
|
-
], ShiftAllowanceRequest.prototype, "workflow_execution_id", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
108
|
-
__metadata("design:type", String)
|
|
109
|
-
], ShiftAllowanceRequest.prototype, "employee_name", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
112
|
-
__metadata("design:type", String)
|
|
113
|
-
], ShiftAllowanceRequest.prototype, "employee_id", void 0);
|
|
114
|
-
__decorate([
|
|
115
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
116
|
-
__metadata("design:type", String)
|
|
117
|
-
], ShiftAllowanceRequest.prototype, "job_title", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
120
|
-
__metadata("design:type", String)
|
|
121
|
-
], ShiftAllowanceRequest.prototype, "financial_grade", void 0);
|
|
122
|
-
__decorate([
|
|
123
|
-
(0, typeorm_1.Column)({ type: "enum", enum: ShiftAllowanceValue, nullable: false }),
|
|
124
|
-
__metadata("design:type", String)
|
|
125
|
-
], ShiftAllowanceRequest.prototype, "allowance_value", void 0);
|
|
126
|
-
__decorate([
|
|
127
|
-
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
128
|
-
__metadata("design:type", Date)
|
|
129
|
-
], ShiftAllowanceRequest.prototype, "shift_start_date", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
132
|
-
__metadata("design:type", Date)
|
|
133
|
-
], ShiftAllowanceRequest.prototype, "shift_end_date", void 0);
|
|
134
|
-
__decorate([
|
|
135
|
-
(0, typeorm_1.Column)({ type: "time", nullable: true }),
|
|
136
|
-
__metadata("design:type", Object)
|
|
137
|
-
], ShiftAllowanceRequest.prototype, "start_time", void 0);
|
|
138
|
-
__decorate([
|
|
139
|
-
(0, typeorm_1.Column)({ type: "time", nullable: true }),
|
|
140
|
-
__metadata("design:type", Object)
|
|
141
|
-
], ShiftAllowanceRequest.prototype, "end_time", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
144
|
-
__metadata("design:type", Object)
|
|
145
|
-
], ShiftAllowanceRequest.prototype, "reason_for_request", void 0);
|
|
146
|
-
exports.ShiftAllowanceRequest = ShiftAllowanceRequest = __decorate([
|
|
147
|
-
(0, typeorm_1.Entity)({ name: "shift_allowance_requests" }),
|
|
148
|
-
__metadata("design:paramtypes", [Number, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, String, String, String, String, String, Date,
|
|
149
|
-
Date, Object, Object, Object])
|
|
150
|
-
], ShiftAllowanceRequest);
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "./BaseModel";
|
|
2
|
-
export declare enum SkillsEnhancementRequestStatus {
|
|
3
|
-
PENDING = "Pending",
|
|
4
|
-
ASSIGNED = "Assigned",
|
|
5
|
-
IN_PROGRESS = "In Progress",
|
|
6
|
-
COMPLETED = "Completed",
|
|
7
|
-
APPROVED = "Approved",
|
|
8
|
-
REJECTED = "Rejected",
|
|
9
|
-
INFORMATION_REQUESTED = "Information Requested"
|
|
10
|
-
}
|
|
11
|
-
export declare enum SkillCategory {
|
|
12
|
-
TECHNICAL = "Technical",
|
|
13
|
-
COMPLIANCE = "Compliance",
|
|
14
|
-
MANAGEMENT = "Management",
|
|
15
|
-
SAFETY = "Safety",
|
|
16
|
-
SOFT_SKILLS = "Soft Skills",
|
|
17
|
-
OTHER = "Other"
|
|
18
|
-
}
|
|
19
|
-
export declare class SkillsEnhancementRequest extends BaseModel {
|
|
20
|
-
req_user_department_id: number | null;
|
|
21
|
-
req_user_section_id: number | null;
|
|
22
|
-
req_user_position_id: number | null;
|
|
23
|
-
user_id: number;
|
|
24
|
-
service_id: number | null;
|
|
25
|
-
sub_service_id: number | null;
|
|
26
|
-
status: SkillsEnhancementRequestStatus;
|
|
27
|
-
reviewer_user_id: number | null;
|
|
28
|
-
assigned_to_user_id: number | null;
|
|
29
|
-
assigned_at: Date | null;
|
|
30
|
-
workflow_execution_id: string | null;
|
|
31
|
-
description: string | null;
|
|
32
|
-
certification_title: string;
|
|
33
|
-
skill_category: SkillCategory;
|
|
34
|
-
issuing_authority: string;
|
|
35
|
-
completion_date: Date;
|
|
36
|
-
skill_summary: string | null;
|
|
37
|
-
additional_info_requested: string | null;
|
|
38
|
-
constructor(user_id: number, status?: SkillsEnhancementRequestStatus, 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, certification_title?: string, skill_category?: SkillCategory, issuing_authority?: string, completion_date?: Date, skill_summary?: string | null, additional_info_requested?: string | null);
|
|
39
|
-
}
|