@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,18 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare enum AirportEntryPermitWorkFlowStatus {
|
|
3
|
-
COMPLETED = "Completed",
|
|
4
|
-
NOT_YET_STARTED = "Not Yet Started",
|
|
5
|
-
PENDING = "Pending"
|
|
6
|
-
}
|
|
7
|
-
export declare class AirportEntryPermitWorkFlow extends BaseModel {
|
|
8
|
-
request_id: number;
|
|
9
|
-
service_id: number | null;
|
|
10
|
-
sub_service_id: number | null;
|
|
11
|
-
content: string;
|
|
12
|
-
status: AirportEntryPermitWorkFlowStatus;
|
|
13
|
-
user_id: number | null;
|
|
14
|
-
role_id: number | null;
|
|
15
|
-
department_id: number | null;
|
|
16
|
-
section_id: number | null;
|
|
17
|
-
constructor(request_id: number, content: string, status: AirportEntryPermitWorkFlowStatus, service_id?: number, sub_service_id?: number, user_id?: number, role_id?: number, department_id?: number, section_id?: number);
|
|
18
|
-
}
|
|
@@ -1,75 +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.AirportEntryPermitWorkFlow = exports.AirportEntryPermitWorkFlowStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var AirportEntryPermitWorkFlowStatus;
|
|
16
|
-
(function (AirportEntryPermitWorkFlowStatus) {
|
|
17
|
-
AirportEntryPermitWorkFlowStatus["COMPLETED"] = "Completed";
|
|
18
|
-
AirportEntryPermitWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
|
|
19
|
-
AirportEntryPermitWorkFlowStatus["PENDING"] = "Pending";
|
|
20
|
-
})(AirportEntryPermitWorkFlowStatus || (exports.AirportEntryPermitWorkFlowStatus = AirportEntryPermitWorkFlowStatus = {}));
|
|
21
|
-
let AirportEntryPermitWorkFlow = class AirportEntryPermitWorkFlow extends BaseModel_1.BaseModel {
|
|
22
|
-
constructor(request_id, content, status, service_id, sub_service_id, user_id, role_id, department_id, section_id) {
|
|
23
|
-
super();
|
|
24
|
-
this.request_id = request_id;
|
|
25
|
-
this.service_id = service_id || null;
|
|
26
|
-
this.sub_service_id = sub_service_id || null;
|
|
27
|
-
this.content = content;
|
|
28
|
-
this.status = status;
|
|
29
|
-
this.user_id = user_id || null;
|
|
30
|
-
this.role_id = role_id || null;
|
|
31
|
-
this.department_id = department_id || null;
|
|
32
|
-
this.section_id = section_id || null;
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
exports.AirportEntryPermitWorkFlow = AirportEntryPermitWorkFlow;
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
38
|
-
__metadata("design:type", Number)
|
|
39
|
-
], AirportEntryPermitWorkFlow.prototype, "request_id", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
42
|
-
__metadata("design:type", Object)
|
|
43
|
-
], AirportEntryPermitWorkFlow.prototype, "service_id", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
46
|
-
__metadata("design:type", Object)
|
|
47
|
-
], AirportEntryPermitWorkFlow.prototype, "sub_service_id", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], AirportEntryPermitWorkFlow.prototype, "content", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: AirportEntryPermitWorkFlowStatus, default: AirportEntryPermitWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], AirportEntryPermitWorkFlow.prototype, "status", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
58
|
-
__metadata("design:type", Object)
|
|
59
|
-
], AirportEntryPermitWorkFlow.prototype, "user_id", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
62
|
-
__metadata("design:type", Object)
|
|
63
|
-
], AirportEntryPermitWorkFlow.prototype, "role_id", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
66
|
-
__metadata("design:type", Object)
|
|
67
|
-
], AirportEntryPermitWorkFlow.prototype, "department_id", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
70
|
-
__metadata("design:type", Object)
|
|
71
|
-
], AirportEntryPermitWorkFlow.prototype, "section_id", void 0);
|
|
72
|
-
exports.AirportEntryPermitWorkFlow = AirportEntryPermitWorkFlow = __decorate([
|
|
73
|
-
(0, typeorm_1.Entity)({ name: 'airport_entry_permit_workflows' }),
|
|
74
|
-
__metadata("design:paramtypes", [Number, String, String, Number, Number, Number, Number, Number, Number])
|
|
75
|
-
], AirportEntryPermitWorkFlow);
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "./BaseModel";
|
|
2
|
-
export declare enum AnnualIncrementRequestStatus {
|
|
3
|
-
PENDING = "Pending",
|
|
4
|
-
ASSIGNED = "Assigned",
|
|
5
|
-
IN_PROGRESS = "In Progress",
|
|
6
|
-
COMPLETED = "Completed",
|
|
7
|
-
APPROVED = "Approved",
|
|
8
|
-
REJECTED = "Rejected"
|
|
9
|
-
}
|
|
10
|
-
export declare class AnnualIncrementRequest extends BaseModel {
|
|
11
|
-
req_user_department_id: number | null;
|
|
12
|
-
req_user_section_id: number | null;
|
|
13
|
-
req_user_position_id: number | null;
|
|
14
|
-
service_id: number | null;
|
|
15
|
-
sub_service_id: number | null;
|
|
16
|
-
user_id: number;
|
|
17
|
-
description: string | null;
|
|
18
|
-
status: AnnualIncrementRequestStatus;
|
|
19
|
-
reviewer_user_id: number | null;
|
|
20
|
-
assigned_to_user_id: number | null;
|
|
21
|
-
assigned_at: Date | null;
|
|
22
|
-
workflow_execution_id: string | null;
|
|
23
|
-
employee_name: string;
|
|
24
|
-
employee_id: string;
|
|
25
|
-
allowance_year: number;
|
|
26
|
-
effective_date: Date;
|
|
27
|
-
current_basic_salary: number | null;
|
|
28
|
-
increment_percentage: number | null;
|
|
29
|
-
new_basic_salary: number | null;
|
|
30
|
-
constructor(user_id: number, status?: AnnualIncrementRequestStatus, 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, allowance_year?: number, effective_date?: Date, current_basic_salary?: number | null, increment_percentage?: number | null, new_basic_salary?: number | null);
|
|
31
|
-
}
|
|
@@ -1,128 +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.AnnualIncrementRequest = exports.AnnualIncrementRequestStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var AnnualIncrementRequestStatus;
|
|
16
|
-
(function (AnnualIncrementRequestStatus) {
|
|
17
|
-
AnnualIncrementRequestStatus["PENDING"] = "Pending";
|
|
18
|
-
AnnualIncrementRequestStatus["ASSIGNED"] = "Assigned";
|
|
19
|
-
AnnualIncrementRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
-
AnnualIncrementRequestStatus["COMPLETED"] = "Completed";
|
|
21
|
-
AnnualIncrementRequestStatus["APPROVED"] = "Approved";
|
|
22
|
-
AnnualIncrementRequestStatus["REJECTED"] = "Rejected";
|
|
23
|
-
})(AnnualIncrementRequestStatus || (exports.AnnualIncrementRequestStatus = AnnualIncrementRequestStatus = {}));
|
|
24
|
-
let AnnualIncrementRequest = class AnnualIncrementRequest extends BaseModel_1.BaseModel {
|
|
25
|
-
constructor(user_id, status = AnnualIncrementRequestStatus.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, allowance_year, effective_date, current_basic_salary, increment_percentage, new_basic_salary) {
|
|
26
|
-
super();
|
|
27
|
-
this.user_id = user_id;
|
|
28
|
-
this.status = status;
|
|
29
|
-
this.service_id = service_id || null;
|
|
30
|
-
this.sub_service_id = sub_service_id || null;
|
|
31
|
-
this.req_user_department_id = req_user_department_id || null;
|
|
32
|
-
this.req_user_section_id = req_user_section_id || null;
|
|
33
|
-
this.req_user_position_id = req_user_position_id || null;
|
|
34
|
-
this.description = description || null;
|
|
35
|
-
this.reviewer_user_id = reviewer_user_id || null;
|
|
36
|
-
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
37
|
-
this.assigned_at = assigned_at || null;
|
|
38
|
-
this.workflow_execution_id = workflow_execution_id || null;
|
|
39
|
-
this.employee_name = employee_name || "";
|
|
40
|
-
this.employee_id = employee_id || "";
|
|
41
|
-
this.allowance_year = allowance_year || new Date().getFullYear();
|
|
42
|
-
this.effective_date = effective_date || new Date();
|
|
43
|
-
this.current_basic_salary = current_basic_salary || null;
|
|
44
|
-
this.increment_percentage = increment_percentage || null;
|
|
45
|
-
this.new_basic_salary = new_basic_salary || null;
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
exports.AnnualIncrementRequest = AnnualIncrementRequest;
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
51
|
-
__metadata("design:type", Object)
|
|
52
|
-
], AnnualIncrementRequest.prototype, "req_user_department_id", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
55
|
-
__metadata("design:type", Object)
|
|
56
|
-
], AnnualIncrementRequest.prototype, "req_user_section_id", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
59
|
-
__metadata("design:type", Object)
|
|
60
|
-
], AnnualIncrementRequest.prototype, "req_user_position_id", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
63
|
-
__metadata("design:type", Object)
|
|
64
|
-
], AnnualIncrementRequest.prototype, "service_id", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
67
|
-
__metadata("design:type", Object)
|
|
68
|
-
], AnnualIncrementRequest.prototype, "sub_service_id", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
71
|
-
__metadata("design:type", Number)
|
|
72
|
-
], AnnualIncrementRequest.prototype, "user_id", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
75
|
-
__metadata("design:type", Object)
|
|
76
|
-
], AnnualIncrementRequest.prototype, "description", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({ type: "enum", enum: AnnualIncrementRequestStatus, default: AnnualIncrementRequestStatus.PENDING, nullable: false }),
|
|
79
|
-
__metadata("design:type", String)
|
|
80
|
-
], AnnualIncrementRequest.prototype, "status", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
83
|
-
__metadata("design:type", Object)
|
|
84
|
-
], AnnualIncrementRequest.prototype, "reviewer_user_id", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
87
|
-
__metadata("design:type", Object)
|
|
88
|
-
], AnnualIncrementRequest.prototype, "assigned_to_user_id", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
91
|
-
__metadata("design:type", Object)
|
|
92
|
-
], AnnualIncrementRequest.prototype, "assigned_at", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
95
|
-
__metadata("design:type", Object)
|
|
96
|
-
], AnnualIncrementRequest.prototype, "workflow_execution_id", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
99
|
-
__metadata("design:type", String)
|
|
100
|
-
], AnnualIncrementRequest.prototype, "employee_name", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
|
|
103
|
-
__metadata("design:type", String)
|
|
104
|
-
], AnnualIncrementRequest.prototype, "employee_id", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
107
|
-
__metadata("design:type", Number)
|
|
108
|
-
], AnnualIncrementRequest.prototype, "allowance_year", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
111
|
-
__metadata("design:type", Date)
|
|
112
|
-
], AnnualIncrementRequest.prototype, "effective_date", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
(0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 3, nullable: true }),
|
|
115
|
-
__metadata("design:type", Object)
|
|
116
|
-
], AnnualIncrementRequest.prototype, "current_basic_salary", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, typeorm_1.Column)({ type: "decimal", precision: 5, scale: 2, nullable: true }),
|
|
119
|
-
__metadata("design:type", Object)
|
|
120
|
-
], AnnualIncrementRequest.prototype, "increment_percentage", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
(0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 3, nullable: true }),
|
|
123
|
-
__metadata("design:type", Object)
|
|
124
|
-
], AnnualIncrementRequest.prototype, "new_basic_salary", void 0);
|
|
125
|
-
exports.AnnualIncrementRequest = AnnualIncrementRequest = __decorate([
|
|
126
|
-
(0, typeorm_1.Entity)({ name: "annual_increment_requests" }),
|
|
127
|
-
__metadata("design:paramtypes", [Number, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, String, String, Number, Date, Object, Object, Object])
|
|
128
|
-
], AnnualIncrementRequest);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "./BaseModel";
|
|
2
|
-
export declare enum AnnualTrainingPlanApprovalStatus {
|
|
3
|
-
PENDING = "Pending",
|
|
4
|
-
IN_PROGRESS = "In Progress",
|
|
5
|
-
APPROVED = "Approved",
|
|
6
|
-
REJECTED = "Rejected",
|
|
7
|
-
ASSIGNED = "Assigned"
|
|
8
|
-
}
|
|
9
|
-
export declare class AnnualTrainingPlanApprovalDetails extends BaseModel {
|
|
10
|
-
request_id: number;
|
|
11
|
-
service_id: number | null;
|
|
12
|
-
sub_service_id: number | null;
|
|
13
|
-
level: number;
|
|
14
|
-
approver_user_id: number | null;
|
|
15
|
-
approver_role_id: number | null;
|
|
16
|
-
department_id: number | null;
|
|
17
|
-
section_id: number | null;
|
|
18
|
-
delegate_user_id: number | null;
|
|
19
|
-
approved_by: number | null;
|
|
20
|
-
comment: string;
|
|
21
|
-
approval_status: AnnualTrainingPlanApprovalStatus;
|
|
22
|
-
is_manager: boolean;
|
|
23
|
-
is_allowed: boolean;
|
|
24
|
-
constructor(request_id: number, approver_user_id: number | null, approver_role_id: number | null, comment: string, approval_status: AnnualTrainingPlanApprovalStatus, level: number, service_id?: number | null, sub_service_id?: number | null, department_id?: number | null, section_id?: number | null, delegate_user_id?: number | null, approved_by?: number | null, is_manager?: boolean, is_allowed?: boolean);
|
|
25
|
-
}
|
|
@@ -1,107 +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.AnnualTrainingPlanApprovalDetails = exports.AnnualTrainingPlanApprovalStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var AnnualTrainingPlanApprovalStatus;
|
|
16
|
-
(function (AnnualTrainingPlanApprovalStatus) {
|
|
17
|
-
AnnualTrainingPlanApprovalStatus["PENDING"] = "Pending";
|
|
18
|
-
AnnualTrainingPlanApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
-
AnnualTrainingPlanApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
-
AnnualTrainingPlanApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
-
AnnualTrainingPlanApprovalStatus["ASSIGNED"] = "Assigned";
|
|
22
|
-
})(AnnualTrainingPlanApprovalStatus || (exports.AnnualTrainingPlanApprovalStatus = AnnualTrainingPlanApprovalStatus = {}));
|
|
23
|
-
let AnnualTrainingPlanApprovalDetails = class AnnualTrainingPlanApprovalDetails extends BaseModel_1.BaseModel {
|
|
24
|
-
constructor(request_id, approver_user_id, approver_role_id, comment, approval_status, level, service_id, sub_service_id, department_id, section_id, delegate_user_id, approved_by, is_manager, is_allowed) {
|
|
25
|
-
super();
|
|
26
|
-
this.request_id = request_id;
|
|
27
|
-
this.service_id = service_id || null;
|
|
28
|
-
this.sub_service_id = sub_service_id || null;
|
|
29
|
-
this.approver_user_id = approver_user_id;
|
|
30
|
-
this.approver_role_id = approver_role_id;
|
|
31
|
-
this.comment = comment;
|
|
32
|
-
this.approval_status = approval_status;
|
|
33
|
-
this.level = level;
|
|
34
|
-
this.department_id = department_id || null;
|
|
35
|
-
this.section_id = section_id || null;
|
|
36
|
-
this.delegate_user_id = delegate_user_id || null;
|
|
37
|
-
this.approved_by = approved_by || null;
|
|
38
|
-
this.is_manager = is_manager ?? false;
|
|
39
|
-
this.is_allowed = is_allowed !== undefined ? is_allowed : true;
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
exports.AnnualTrainingPlanApprovalDetails = AnnualTrainingPlanApprovalDetails;
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
45
|
-
__metadata("design:type", Number)
|
|
46
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "request_id", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
49
|
-
__metadata("design:type", Object)
|
|
50
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "service_id", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
53
|
-
__metadata("design:type", Object)
|
|
54
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "sub_service_id", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
57
|
-
__metadata("design:type", Number)
|
|
58
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "level", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
61
|
-
__metadata("design:type", Object)
|
|
62
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "approver_user_id", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
65
|
-
__metadata("design:type", Object)
|
|
66
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "approver_role_id", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
69
|
-
__metadata("design:type", Object)
|
|
70
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "department_id", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
73
|
-
__metadata("design:type", Object)
|
|
74
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "section_id", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
77
|
-
__metadata("design:type", Object)
|
|
78
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "delegate_user_id", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
81
|
-
__metadata("design:type", Object)
|
|
82
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "approved_by", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true, default: "" }),
|
|
85
|
-
__metadata("design:type", String)
|
|
86
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "comment", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
(0, typeorm_1.Column)({
|
|
89
|
-
type: "enum",
|
|
90
|
-
enum: AnnualTrainingPlanApprovalStatus,
|
|
91
|
-
default: AnnualTrainingPlanApprovalStatus.PENDING,
|
|
92
|
-
nullable: false
|
|
93
|
-
}),
|
|
94
|
-
__metadata("design:type", String)
|
|
95
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "approval_status", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, typeorm_1.Column)({ type: "boolean", default: false, nullable: false }),
|
|
98
|
-
__metadata("design:type", Boolean)
|
|
99
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "is_manager", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
(0, typeorm_1.Column)({ type: "boolean", default: true, nullable: false }),
|
|
102
|
-
__metadata("design:type", Boolean)
|
|
103
|
-
], AnnualTrainingPlanApprovalDetails.prototype, "is_allowed", void 0);
|
|
104
|
-
exports.AnnualTrainingPlanApprovalDetails = AnnualTrainingPlanApprovalDetails = __decorate([
|
|
105
|
-
(0, typeorm_1.Entity)({ name: "annual_training_plan_approvals" }),
|
|
106
|
-
__metadata("design:paramtypes", [Number, Object, Object, String, String, Number, Object, Object, Object, Object, Object, Object, Boolean, Boolean])
|
|
107
|
-
], AnnualTrainingPlanApprovalDetails);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "./BaseModel";
|
|
2
|
-
export declare class AnnualTrainingPlanRequestAttachment extends BaseModel {
|
|
3
|
-
request_id: number;
|
|
4
|
-
service_id: number | null;
|
|
5
|
-
sub_service_id: number | null;
|
|
6
|
-
uploaded_by: number;
|
|
7
|
-
file_url: string;
|
|
8
|
-
file_name: string;
|
|
9
|
-
file_type: string;
|
|
10
|
-
file_size: number | null;
|
|
11
|
-
description: string;
|
|
12
|
-
constructor(request_id: number, uploaded_by: number, file_url: string, service_id?: number | null, sub_service_id?: number | null, file_name?: string, file_type?: string, file_size?: number, description?: string);
|
|
13
|
-
}
|
|
@@ -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.AnnualTrainingPlanRequestAttachment = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let AnnualTrainingPlanRequestAttachment = class AnnualTrainingPlanRequestAttachment extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(request_id, uploaded_by, file_url, service_id, sub_service_id, file_name, file_type, file_size, description) {
|
|
17
|
-
super();
|
|
18
|
-
this.request_id = request_id;
|
|
19
|
-
this.service_id = service_id || null;
|
|
20
|
-
this.sub_service_id = sub_service_id || null;
|
|
21
|
-
this.uploaded_by = uploaded_by;
|
|
22
|
-
this.file_url = file_url;
|
|
23
|
-
this.file_name = file_name || "";
|
|
24
|
-
this.file_type = file_type || "";
|
|
25
|
-
this.file_size = file_size || null;
|
|
26
|
-
this.description = description || "";
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.AnnualTrainingPlanRequestAttachment = AnnualTrainingPlanRequestAttachment;
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
32
|
-
__metadata("design:type", Number)
|
|
33
|
-
], AnnualTrainingPlanRequestAttachment.prototype, "request_id", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
36
|
-
__metadata("design:type", Object)
|
|
37
|
-
], AnnualTrainingPlanRequestAttachment.prototype, "service_id", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
40
|
-
__metadata("design:type", Object)
|
|
41
|
-
], AnnualTrainingPlanRequestAttachment.prototype, "sub_service_id", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
44
|
-
__metadata("design:type", Number)
|
|
45
|
-
], AnnualTrainingPlanRequestAttachment.prototype, "uploaded_by", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: false }),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], AnnualTrainingPlanRequestAttachment.prototype, "file_url", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], AnnualTrainingPlanRequestAttachment.prototype, "file_name", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], AnnualTrainingPlanRequestAttachment.prototype, "file_type", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, typeorm_1.Column)({ type: "bigint", nullable: true }),
|
|
60
|
-
__metadata("design:type", Object)
|
|
61
|
-
], AnnualTrainingPlanRequestAttachment.prototype, "file_size", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], AnnualTrainingPlanRequestAttachment.prototype, "description", void 0);
|
|
66
|
-
exports.AnnualTrainingPlanRequestAttachment = AnnualTrainingPlanRequestAttachment = __decorate([
|
|
67
|
-
(0, typeorm_1.Entity)({ name: "annual_training_plan_request_attachments" }),
|
|
68
|
-
__metadata("design:paramtypes", [Number, Number, String, Object, Object, String, String, Number, String])
|
|
69
|
-
], AnnualTrainingPlanRequestAttachment);
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "./BaseModel";
|
|
2
|
-
export declare enum AnnualTrainingPlanMessageType {
|
|
3
|
-
TEXT = "text",
|
|
4
|
-
IMAGE = "image",
|
|
5
|
-
VIDEO = "video",
|
|
6
|
-
FILE = "file",
|
|
7
|
-
LINK = "link"
|
|
8
|
-
}
|
|
9
|
-
export declare enum AnnualTrainingPlanChatStatus {
|
|
10
|
-
PENDING = "Pending",
|
|
11
|
-
APPROVED = "Approved",
|
|
12
|
-
REJECTED = "Rejected",
|
|
13
|
-
IN_PROGRESS = "In Progress"
|
|
14
|
-
}
|
|
15
|
-
export declare class AnnualTrainingPlanRequestChat extends BaseModel {
|
|
16
|
-
request_id: number;
|
|
17
|
-
service_id: number | null;
|
|
18
|
-
sub_service_id: number | null;
|
|
19
|
-
user_id: number;
|
|
20
|
-
message: string;
|
|
21
|
-
approver_role_id: number | null;
|
|
22
|
-
messageType: AnnualTrainingPlanMessageType;
|
|
23
|
-
is_internal: boolean;
|
|
24
|
-
status: string;
|
|
25
|
-
constructor(request_id: number, user_id: number, message: string, service_id?: number | null, sub_service_id?: number | null, messageType?: AnnualTrainingPlanMessageType, is_internal?: boolean, status?: string, approver_role_id?: number);
|
|
26
|
-
}
|
|
@@ -1,89 +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.AnnualTrainingPlanRequestChat = exports.AnnualTrainingPlanChatStatus = exports.AnnualTrainingPlanMessageType = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var AnnualTrainingPlanMessageType;
|
|
16
|
-
(function (AnnualTrainingPlanMessageType) {
|
|
17
|
-
AnnualTrainingPlanMessageType["TEXT"] = "text";
|
|
18
|
-
AnnualTrainingPlanMessageType["IMAGE"] = "image";
|
|
19
|
-
AnnualTrainingPlanMessageType["VIDEO"] = "video";
|
|
20
|
-
AnnualTrainingPlanMessageType["FILE"] = "file";
|
|
21
|
-
AnnualTrainingPlanMessageType["LINK"] = "link";
|
|
22
|
-
})(AnnualTrainingPlanMessageType || (exports.AnnualTrainingPlanMessageType = AnnualTrainingPlanMessageType = {}));
|
|
23
|
-
var AnnualTrainingPlanChatStatus;
|
|
24
|
-
(function (AnnualTrainingPlanChatStatus) {
|
|
25
|
-
AnnualTrainingPlanChatStatus["PENDING"] = "Pending";
|
|
26
|
-
AnnualTrainingPlanChatStatus["APPROVED"] = "Approved";
|
|
27
|
-
AnnualTrainingPlanChatStatus["REJECTED"] = "Rejected";
|
|
28
|
-
AnnualTrainingPlanChatStatus["IN_PROGRESS"] = "In Progress";
|
|
29
|
-
})(AnnualTrainingPlanChatStatus || (exports.AnnualTrainingPlanChatStatus = AnnualTrainingPlanChatStatus = {}));
|
|
30
|
-
let AnnualTrainingPlanRequestChat = class AnnualTrainingPlanRequestChat extends BaseModel_1.BaseModel {
|
|
31
|
-
constructor(request_id, user_id, message, service_id, sub_service_id, messageType, is_internal, status, approver_role_id) {
|
|
32
|
-
super();
|
|
33
|
-
this.request_id = request_id;
|
|
34
|
-
this.service_id = service_id || null;
|
|
35
|
-
this.sub_service_id = sub_service_id || null;
|
|
36
|
-
this.user_id = user_id;
|
|
37
|
-
this.message = message;
|
|
38
|
-
this.messageType = messageType || AnnualTrainingPlanMessageType.TEXT;
|
|
39
|
-
this.is_internal = is_internal || false;
|
|
40
|
-
this.status = status || 'Pending';
|
|
41
|
-
this.approver_role_id = approver_role_id || null;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
exports.AnnualTrainingPlanRequestChat = AnnualTrainingPlanRequestChat;
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
47
|
-
__metadata("design:type", Number)
|
|
48
|
-
], AnnualTrainingPlanRequestChat.prototype, "request_id", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
51
|
-
__metadata("design:type", Object)
|
|
52
|
-
], AnnualTrainingPlanRequestChat.prototype, "service_id", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
55
|
-
__metadata("design:type", Object)
|
|
56
|
-
], AnnualTrainingPlanRequestChat.prototype, "sub_service_id", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
59
|
-
__metadata("design:type", Number)
|
|
60
|
-
], AnnualTrainingPlanRequestChat.prototype, "user_id", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], AnnualTrainingPlanRequestChat.prototype, "message", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
67
|
-
__metadata("design:type", Object)
|
|
68
|
-
], AnnualTrainingPlanRequestChat.prototype, "approver_role_id", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)({
|
|
71
|
-
type: "enum",
|
|
72
|
-
enum: AnnualTrainingPlanMessageType,
|
|
73
|
-
default: AnnualTrainingPlanMessageType.TEXT,
|
|
74
|
-
nullable: false
|
|
75
|
-
}),
|
|
76
|
-
__metadata("design:type", String)
|
|
77
|
-
], AnnualTrainingPlanRequestChat.prototype, "messageType", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, typeorm_1.Column)({ type: "boolean", default: false }),
|
|
80
|
-
__metadata("design:type", Boolean)
|
|
81
|
-
], AnnualTrainingPlanRequestChat.prototype, "is_internal", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, typeorm_1.Column)({ type: "text", nullable: false }),
|
|
84
|
-
__metadata("design:type", String)
|
|
85
|
-
], AnnualTrainingPlanRequestChat.prototype, "status", void 0);
|
|
86
|
-
exports.AnnualTrainingPlanRequestChat = AnnualTrainingPlanRequestChat = __decorate([
|
|
87
|
-
(0, typeorm_1.Entity)({ name: "annual_training_plan_request_chat" }),
|
|
88
|
-
__metadata("design:paramtypes", [Number, Number, String, Object, Object, String, Boolean, String, Number])
|
|
89
|
-
], AnnualTrainingPlanRequestChat);
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "./BaseModel";
|
|
2
|
-
export declare enum AnnualTrainingPlanRequestStatus {
|
|
3
|
-
PENDING = "Pending",
|
|
4
|
-
IN_PROGRESS = "In Progress",
|
|
5
|
-
COMPLETED = "Completed",
|
|
6
|
-
APPROVED = "Approved",
|
|
7
|
-
REJECTED = "Rejected"
|
|
8
|
-
}
|
|
9
|
-
export declare enum AnnualTrainingPlanPlace {
|
|
10
|
-
INSIDE = "Inside",
|
|
11
|
-
OUTSIDE = "Outside"
|
|
12
|
-
}
|
|
13
|
-
export declare class AnnualTrainingPlanRequest extends BaseModel {
|
|
14
|
-
req_user_department_id: number | null;
|
|
15
|
-
req_user_section_id: number | null;
|
|
16
|
-
req_user_position_id: number | null;
|
|
17
|
-
service_id: number | null;
|
|
18
|
-
sub_service_id: number | null;
|
|
19
|
-
user_id: number;
|
|
20
|
-
course_name: string;
|
|
21
|
-
no_of_participants: number;
|
|
22
|
-
course_cost: number;
|
|
23
|
-
total_cost: number;
|
|
24
|
-
proposed_implementation_date: Date;
|
|
25
|
-
description: string;
|
|
26
|
-
place: AnnualTrainingPlanPlace;
|
|
27
|
-
location: string | null;
|
|
28
|
-
reason: string;
|
|
29
|
-
employee_list: any[] | null;
|
|
30
|
-
status: AnnualTrainingPlanRequestStatus;
|
|
31
|
-
reviewer_user_id: number | null;
|
|
32
|
-
assigned_to_user_id: number | null;
|
|
33
|
-
assigned_at: Date | null;
|
|
34
|
-
workflow_execution_id: string | null;
|
|
35
|
-
constructor(user_id: number, course_name: string, no_of_participants: number, course_cost: number, total_cost: number, proposed_implementation_date: Date, description: string, place: AnnualTrainingPlanPlace, reason: string, status?: AnnualTrainingPlanRequestStatus, 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, location?: string | null, employee_list?: any[] | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null);
|
|
36
|
-
}
|