@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.
Files changed (322) hide show
  1. package/.env +10 -16
  2. package/package.json +22 -21
  3. package/src/data-source.ts +10 -0
  4. package/src/index.ts +8 -1
  5. package/src/models/DepartmentsModel.ts +25 -25
  6. package/src/models/ITRequestChatModel.ts +62 -62
  7. package/src/models/ItApprovalsModel.ts +84 -84
  8. package/src/models/ItWorkflowModel.ts +55 -55
  9. package/src/models/MissionTravelPassportExpiryNotificationConfigModel.ts +36 -36
  10. package/src/models/ResidentialUnitRentalApprovalModel.ts +141 -0
  11. package/src/models/ResidentialUnitRentalAttachmentModel.ts +79 -0
  12. package/src/models/ResidentialUnitRentalChatModel.ts +89 -0
  13. package/src/models/ResidentialUnitRentalRequestModel.ts +229 -0
  14. package/src/models/ResidentialUnitRentalWorkflowModel.ts +138 -0
  15. package/src/models/ServicesNotificationConfigModel.ts +55 -55
  16. package/src/models/TrainingRoomNotificationConfigModel.ts +30 -30
  17. package/dist/data-source.d.ts +0 -4
  18. package/dist/data-source.js +0 -278
  19. package/dist/helpers/utils/enum.d.ts +0 -75
  20. package/dist/helpers/utils/enum.js +0 -53
  21. package/dist/index.d.ts +0 -221
  22. package/dist/index.js +0 -336
  23. package/dist/models/AccessCardApprovalModel.d.ts +0 -23
  24. package/dist/models/AccessCardApprovalModel.js +0 -101
  25. package/dist/models/AccessCardAttachmentModel.d.ts +0 -12
  26. package/dist/models/AccessCardAttachmentModel.js +0 -64
  27. package/dist/models/AccessCardChatModel.d.ts +0 -20
  28. package/dist/models/AccessCardChatModel.js +0 -78
  29. package/dist/models/AccessCardRequestModel.d.ts +0 -43
  30. package/dist/models/AccessCardRequestModel.js +0 -148
  31. package/dist/models/AccessCardWorkflowModel.d.ts +0 -18
  32. package/dist/models/AccessCardWorkflowModel.js +0 -80
  33. package/dist/models/AirportEntryPermitApprovalModel.d.ts +0 -25
  34. package/dist/models/AirportEntryPermitApprovalModel.js +0 -102
  35. package/dist/models/AirportEntryPermitAttachmentModel.d.ts +0 -14
  36. package/dist/models/AirportEntryPermitAttachmentModel.js +0 -74
  37. package/dist/models/AirportEntryPermitChatModel.d.ts +0 -20
  38. package/dist/models/AirportEntryPermitChatModel.js +0 -78
  39. package/dist/models/AirportEntryPermitModel.d.ts +0 -93
  40. package/dist/models/AirportEntryPermitModel.js +0 -267
  41. package/dist/models/AirportEntryPermitWorkflowModel.d.ts +0 -18
  42. package/dist/models/AirportEntryPermitWorkflowModel.js +0 -75
  43. package/dist/models/AnnualIncrementRequestModel.d.ts +0 -31
  44. package/dist/models/AnnualIncrementRequestModel.js +0 -128
  45. package/dist/models/AnnualTrainingPlanApprovalModel.d.ts +0 -25
  46. package/dist/models/AnnualTrainingPlanApprovalModel.js +0 -107
  47. package/dist/models/AnnualTrainingPlanAttachmentModel.d.ts +0 -13
  48. package/dist/models/AnnualTrainingPlanAttachmentModel.js +0 -69
  49. package/dist/models/AnnualTrainingPlanChatModel.d.ts +0 -26
  50. package/dist/models/AnnualTrainingPlanChatModel.js +0 -89
  51. package/dist/models/AnnualTrainingPlanRequestModel.d.ts +0 -36
  52. package/dist/models/AnnualTrainingPlanRequestModel.js +0 -151
  53. package/dist/models/AnnualTrainingPlanWorkflowModel.d.ts +0 -19
  54. package/dist/models/AnnualTrainingPlanWorkflowModel.js +0 -81
  55. package/dist/models/AssignTasksEmpApprovalModel.d.ts +0 -23
  56. package/dist/models/AssignTasksEmpApprovalModel.js +0 -96
  57. package/dist/models/AssignTasksEmpAttachmentModel.d.ts +0 -12
  58. package/dist/models/AssignTasksEmpAttachmentModel.js +0 -64
  59. package/dist/models/AssignTasksEmpChatModel.d.ts +0 -19
  60. package/dist/models/AssignTasksEmpChatModel.js +0 -77
  61. package/dist/models/AssignTasksEmpRequestModel.d.ts +0 -25
  62. package/dist/models/AssignTasksEmpRequestModel.js +0 -100
  63. package/dist/models/AssignTasksEmpWorkflowModel.d.ts +0 -18
  64. package/dist/models/AssignTasksEmpWorkflowModel.js +0 -76
  65. package/dist/models/BaseModel.d.ts +0 -14
  66. package/dist/models/BaseModel.js +0 -66
  67. package/dist/models/CAAServices.d.ts +0 -8
  68. package/dist/models/CAAServices.js +0 -44
  69. package/dist/models/CAASubServices.d.ts +0 -11
  70. package/dist/models/CAASubServices.js +0 -55
  71. package/dist/models/CashAllowanceLeaveRequestModel.d.ts +0 -33
  72. package/dist/models/CashAllowanceLeaveRequestModel.js +0 -138
  73. package/dist/models/CityMasterModel.d.ts +0 -8
  74. package/dist/models/CityMasterModel.js +0 -41
  75. package/dist/models/CountryMasterModel.d.ts +0 -11
  76. package/dist/models/CountryMasterModel.js +0 -55
  77. package/dist/models/DelegateSettingsModel.d.ts +0 -9
  78. package/dist/models/DelegateSettingsModel.js +0 -50
  79. package/dist/models/DepartmentDocumentOwnerModel.d.ts +0 -10
  80. package/dist/models/DepartmentDocumentOwnerModel.js +0 -44
  81. package/dist/models/DepartmentsModel.d.ts +0 -7
  82. package/dist/models/DepartmentsModel.js +0 -39
  83. package/dist/models/DirectorateModel.d.ts +0 -7
  84. package/dist/models/DirectorateModel.js +0 -39
  85. package/dist/models/DocumentAuditLogModel.d.ts +0 -13
  86. package/dist/models/DocumentAuditLogModel.js +0 -60
  87. package/dist/models/DocumentFolderModel.d.ts +0 -14
  88. package/dist/models/DocumentFolderModel.js +0 -60
  89. package/dist/models/DocumentMetadataModel.d.ts +0 -45
  90. package/dist/models/DocumentMetadataModel.js +0 -171
  91. package/dist/models/DocumentModel.d.ts +0 -25
  92. package/dist/models/DocumentModel.js +0 -96
  93. package/dist/models/DocumentPermissionModel.d.ts +0 -11
  94. package/dist/models/DocumentPermissionModel.js +0 -52
  95. package/dist/models/DocumentTypeModel.d.ts +0 -8
  96. package/dist/models/DocumentTypeModel.js +0 -37
  97. package/dist/models/DocumentationDepartmentsModel.d.ts +0 -13
  98. package/dist/models/DocumentationDepartmentsModel.js +0 -53
  99. package/dist/models/DutyMissionAirTicketDetailsModel.d.ts +0 -20
  100. package/dist/models/DutyMissionAirTicketDetailsModel.js +0 -100
  101. package/dist/models/DutyMissionApprovalModel.d.ts +0 -23
  102. package/dist/models/DutyMissionApprovalModel.js +0 -96
  103. package/dist/models/DutyMissionAttachmentModel.d.ts +0 -12
  104. package/dist/models/DutyMissionAttachmentModel.js +0 -64
  105. package/dist/models/DutyMissionChatModel.d.ts +0 -19
  106. package/dist/models/DutyMissionChatModel.js +0 -77
  107. package/dist/models/DutyMissionEmployeeDetailsModel.d.ts +0 -17
  108. package/dist/models/DutyMissionEmployeeDetailsModel.js +0 -85
  109. package/dist/models/DutyMissionRequestModel.d.ts +0 -68
  110. package/dist/models/DutyMissionRequestModel.js +0 -257
  111. package/dist/models/DutyMissionWorkflowModel.d.ts +0 -18
  112. package/dist/models/DutyMissionWorkflowModel.js +0 -76
  113. package/dist/models/FinancialGradeModel.d.ts +0 -12
  114. package/dist/models/FinancialGradeModel.js +0 -52
  115. package/dist/models/FolderModel.d.ts +0 -16
  116. package/dist/models/FolderModel.js +0 -85
  117. package/dist/models/GroupModel.d.ts +0 -16
  118. package/dist/models/GroupModel.js +0 -44
  119. package/dist/models/GroupNamesModel.d.ts +0 -6
  120. package/dist/models/GroupNamesModel.js +0 -34
  121. package/dist/models/HotelApprovalModel.d.ts +0 -23
  122. package/dist/models/HotelApprovalModel.js +0 -96
  123. package/dist/models/HotelAttachedModel.d.ts +0 -14
  124. package/dist/models/HotelAttachedModel.js +0 -74
  125. package/dist/models/HotelChatModel.d.ts +0 -20
  126. package/dist/models/HotelChatModel.js +0 -78
  127. package/dist/models/HotelWorkFlowModel.d.ts +0 -17
  128. package/dist/models/HotelWorkFlowModel.js +0 -71
  129. package/dist/models/HotelreservationModel.d.ts +0 -46
  130. package/dist/models/HotelreservationModel.js +0 -182
  131. package/dist/models/HrServiceApprovalModel.d.ts +0 -27
  132. package/dist/models/HrServiceApprovalModel.js +0 -117
  133. package/dist/models/HrServiceAttachmentModel.d.ts +0 -13
  134. package/dist/models/HrServiceAttachmentModel.js +0 -69
  135. package/dist/models/HrServiceChatModel.d.ts +0 -28
  136. package/dist/models/HrServiceChatModel.js +0 -96
  137. package/dist/models/HrServiceRequestModel.d.ts +0 -46
  138. package/dist/models/HrServiceRequestModel.js +0 -205
  139. package/dist/models/HrServiceWorkflowModel.d.ts +0 -19
  140. package/dist/models/HrServiceWorkflowModel.js +0 -81
  141. package/dist/models/HumanResourceAnnualPlanningRequestModel.d.ts +0 -35
  142. package/dist/models/HumanResourceAnnualPlanningRequestModel.js +0 -121
  143. package/dist/models/HumanResourceAnnualPlanningTaskModel.d.ts +0 -25
  144. package/dist/models/HumanResourceAnnualPlanningTaskModel.js +0 -83
  145. package/dist/models/ITHelpDeskModel.d.ts +0 -33
  146. package/dist/models/ITHelpDeskModel.js +0 -136
  147. package/dist/models/ITRequestAttachmentModel.d.ts +0 -17
  148. package/dist/models/ITRequestAttachmentModel.js +0 -81
  149. package/dist/models/ITRequestChatModel.d.ts +0 -16
  150. package/dist/models/ITRequestChatModel.js +0 -76
  151. package/dist/models/ItApprovalsModel.d.ts +0 -24
  152. package/dist/models/ItApprovalsModel.js +0 -97
  153. package/dist/models/ItWorkflowModel.d.ts +0 -19
  154. package/dist/models/ItWorkflowModel.js +0 -81
  155. package/dist/models/JobTransferRequestModel.d.ts +0 -32
  156. package/dist/models/JobTransferRequestModel.js +0 -132
  157. package/dist/models/LocationModel.d.ts +0 -12
  158. package/dist/models/LocationModel.js +0 -62
  159. package/dist/models/LogisticsApprovalModel.d.ts +0 -23
  160. package/dist/models/LogisticsApprovalModel.js +0 -96
  161. package/dist/models/LogisticsAttachmentModel.d.ts +0 -12
  162. package/dist/models/LogisticsAttachmentModel.js +0 -64
  163. package/dist/models/LogisticsChatModel.d.ts +0 -20
  164. package/dist/models/LogisticsChatModel.js +0 -78
  165. package/dist/models/LogisticsForeignVehicleModel.d.ts +0 -51
  166. package/dist/models/LogisticsForeignVehicleModel.js +0 -199
  167. package/dist/models/LogisticsForeignVehiclePassengerModel.d.ts +0 -6
  168. package/dist/models/LogisticsForeignVehiclePassengerModel.js +0 -34
  169. package/dist/models/LogisticsModel.d.ts +0 -66
  170. package/dist/models/LogisticsModel.js +0 -237
  171. package/dist/models/LogisticsVehicleMaintenanceApprovalModel.d.ts +0 -23
  172. package/dist/models/LogisticsVehicleMaintenanceApprovalModel.js +0 -96
  173. package/dist/models/LogisticsVehicleMaintenanceAttachmentModel.d.ts +0 -12
  174. package/dist/models/LogisticsVehicleMaintenanceAttachmentModel.js +0 -64
  175. package/dist/models/LogisticsVehicleMaintenanceChatModel.d.ts +0 -20
  176. package/dist/models/LogisticsVehicleMaintenanceChatModel.js +0 -78
  177. package/dist/models/LogisticsVehicleMaintenanceRequestModel.d.ts +0 -28
  178. package/dist/models/LogisticsVehicleMaintenanceRequestModel.js +0 -109
  179. package/dist/models/LogisticsVehicleMaintenanceWorkflowModel.d.ts +0 -18
  180. package/dist/models/LogisticsVehicleMaintenanceWorkflowModel.js +0 -76
  181. package/dist/models/LogisticsWorkflowModel.d.ts +0 -18
  182. package/dist/models/LogisticsWorkflowModel.js +0 -76
  183. package/dist/models/MissionTravelPassportExpiryNotificationConfigModel.d.ts +0 -9
  184. package/dist/models/MissionTravelPassportExpiryNotificationConfigModel.js +0 -49
  185. package/dist/models/NationalityMasterModel.d.ts +0 -10
  186. package/dist/models/NationalityMasterModel.js +0 -51
  187. package/dist/models/NewResourceRequestModel.d.ts +0 -32
  188. package/dist/models/NewResourceRequestModel.js +0 -133
  189. package/dist/models/NotificationModel.d.ts +0 -23
  190. package/dist/models/NotificationModel.js +0 -92
  191. package/dist/models/PerformanceCyclePeriodModel.d.ts +0 -7
  192. package/dist/models/PerformanceCyclePeriodModel.js +0 -40
  193. package/dist/models/PerformanceGoalMasterModel.d.ts +0 -8
  194. package/dist/models/PerformanceGoalMasterModel.js +0 -45
  195. package/dist/models/PerformanceManagementRequestModel.d.ts +0 -34
  196. package/dist/models/PerformanceManagementRequestModel.js +0 -128
  197. package/dist/models/PermissionModel.d.ts +0 -18
  198. package/dist/models/PermissionModel.js +0 -68
  199. package/dist/models/PortalFeedbackModel.d.ts +0 -8
  200. package/dist/models/PortalFeedbackModel.js +0 -44
  201. package/dist/models/PositionModel.d.ts +0 -6
  202. package/dist/models/PositionModel.js +0 -34
  203. package/dist/models/PromotionRequestModel.d.ts +0 -32
  204. package/dist/models/PromotionRequestModel.js +0 -133
  205. package/dist/models/RequestForCoverageApprovalModel.d.ts +0 -26
  206. package/dist/models/RequestForCoverageApprovalModel.js +0 -108
  207. package/dist/models/RequestForCoverageAttachmentModel.d.ts +0 -13
  208. package/dist/models/RequestForCoverageAttachmentModel.js +0 -69
  209. package/dist/models/RequestForCoverageChatModel.d.ts +0 -26
  210. package/dist/models/RequestForCoverageChatModel.js +0 -89
  211. package/dist/models/RequestForCoverageRequestModel.d.ts +0 -49
  212. package/dist/models/RequestForCoverageRequestModel.js +0 -208
  213. package/dist/models/RequestForCoverageWorkflowModel.d.ts +0 -19
  214. package/dist/models/RequestForCoverageWorkflowModel.js +0 -81
  215. package/dist/models/SecondmentRequestModel.d.ts +0 -44
  216. package/dist/models/SecondmentRequestModel.js +0 -194
  217. package/dist/models/SectionModel.d.ts +0 -8
  218. package/dist/models/SectionModel.js +0 -44
  219. package/dist/models/SecurityAwarenessApprovalModel.d.ts +0 -24
  220. package/dist/models/SecurityAwarenessApprovalModel.js +0 -101
  221. package/dist/models/SecurityAwarenessAttachmentModel.d.ts +0 -12
  222. package/dist/models/SecurityAwarenessAttachmentModel.js +0 -64
  223. package/dist/models/SecurityAwarenessChatModel.d.ts +0 -20
  224. package/dist/models/SecurityAwarenessChatModel.js +0 -78
  225. package/dist/models/SecurityAwarenessRequestModel.d.ts +0 -30
  226. package/dist/models/SecurityAwarenessRequestModel.js +0 -122
  227. package/dist/models/SecurityAwarenessWorkflowModel.d.ts +0 -18
  228. package/dist/models/SecurityAwarenessWorkflowModel.js +0 -76
  229. package/dist/models/SecurityThreatApprovalModel.d.ts +0 -25
  230. package/dist/models/SecurityThreatApprovalModel.js +0 -102
  231. package/dist/models/SecurityThreatAttachmentModel.d.ts +0 -12
  232. package/dist/models/SecurityThreatAttachmentModel.js +0 -64
  233. package/dist/models/SecurityThreatChatModel.d.ts +0 -20
  234. package/dist/models/SecurityThreatChatModel.js +0 -78
  235. package/dist/models/SecurityThreatRequestModel.d.ts +0 -38
  236. package/dist/models/SecurityThreatRequestModel.js +0 -140
  237. package/dist/models/SecurityThreatWorkflowModel.d.ts +0 -18
  238. package/dist/models/SecurityThreatWorkflowModel.js +0 -76
  239. package/dist/models/ServiceTransferRequestModel.d.ts +0 -46
  240. package/dist/models/ServiceTransferRequestModel.js +0 -173
  241. package/dist/models/ServiceTypeModel.d.ts +0 -20
  242. package/dist/models/ServiceTypeModel.js +0 -88
  243. package/dist/models/ServicesNotificationConfigModel.d.ts +0 -15
  244. package/dist/models/ServicesNotificationConfigModel.js +0 -69
  245. package/dist/models/ShiftAllowanceRequestModel.d.ts +0 -39
  246. package/dist/models/ShiftAllowanceRequestModel.js +0 -150
  247. package/dist/models/SkillsEnhancementRequestModel.d.ts +0 -39
  248. package/dist/models/SkillsEnhancementRequestModel.js +0 -133
  249. package/dist/models/StudyLeaveApprovalModel.d.ts +0 -25
  250. package/dist/models/StudyLeaveApprovalModel.js +0 -107
  251. package/dist/models/StudyLeaveAttachmentModel.d.ts +0 -13
  252. package/dist/models/StudyLeaveAttachmentModel.js +0 -69
  253. package/dist/models/StudyLeaveChatModel.d.ts +0 -26
  254. package/dist/models/StudyLeaveChatModel.js +0 -89
  255. package/dist/models/StudyLeaveRequestModel.d.ts +0 -29
  256. package/dist/models/StudyLeaveRequestModel.js +0 -128
  257. package/dist/models/StudyLeaveWorkflowModel.d.ts +0 -19
  258. package/dist/models/StudyLeaveWorkflowModel.js +0 -81
  259. package/dist/models/TemporaryAssignmentRequestModel.d.ts +0 -51
  260. package/dist/models/TemporaryAssignmentRequestModel.js +0 -218
  261. package/dist/models/TrainingApprovalModel.d.ts +0 -25
  262. package/dist/models/TrainingApprovalModel.js +0 -107
  263. package/dist/models/TrainingAttachmentModel.d.ts +0 -13
  264. package/dist/models/TrainingAttachmentModel.js +0 -69
  265. package/dist/models/TrainingChatModel.d.ts +0 -20
  266. package/dist/models/TrainingChatModel.js +0 -82
  267. package/dist/models/TrainingRequestModel.d.ts +0 -43
  268. package/dist/models/TrainingRequestModel.js +0 -161
  269. package/dist/models/TrainingRoomBookingApprovalModel.d.ts +0 -25
  270. package/dist/models/TrainingRoomBookingApprovalModel.js +0 -107
  271. package/dist/models/TrainingRoomBookingAttachmentModel.d.ts +0 -13
  272. package/dist/models/TrainingRoomBookingAttachmentModel.js +0 -69
  273. package/dist/models/TrainingRoomBookingChatModel.d.ts +0 -26
  274. package/dist/models/TrainingRoomBookingChatModel.js +0 -89
  275. package/dist/models/TrainingRoomBookingRequestModel.d.ts +0 -38
  276. package/dist/models/TrainingRoomBookingRequestModel.js +0 -149
  277. package/dist/models/TrainingRoomBookingWorkflowModel.d.ts +0 -19
  278. package/dist/models/TrainingRoomBookingWorkflowModel.js +0 -81
  279. package/dist/models/TrainingRoomNotificationConfigModel.d.ts +0 -11
  280. package/dist/models/TrainingRoomNotificationConfigModel.js +0 -44
  281. package/dist/models/TrainingWorkflowModel.d.ts +0 -19
  282. package/dist/models/TrainingWorkflowModel.js +0 -81
  283. package/dist/models/UUIDBaseModel.d.ts +0 -14
  284. package/dist/models/UUIDBaseModel.js +0 -66
  285. package/dist/models/VpnApprovalModel.d.ts +0 -22
  286. package/dist/models/VpnApprovalModel.js +0 -91
  287. package/dist/models/VpnRequestAttachmentModel.d.ts +0 -11
  288. package/dist/models/VpnRequestAttachmentModel.js +0 -59
  289. package/dist/models/VpnRequestChatModel.d.ts +0 -26
  290. package/dist/models/VpnRequestChatModel.js +0 -86
  291. package/dist/models/VpnRequestModel.d.ts +0 -72
  292. package/dist/models/VpnRequestModel.js +0 -183
  293. package/dist/models/VpnWorkflowModel.d.ts +0 -17
  294. package/dist/models/VpnWorkflowModel.js +0 -71
  295. package/dist/models/WorkflowDefinitions.d.ts +0 -16
  296. package/dist/models/WorkflowDefinitions.js +0 -86
  297. package/dist/models/WorkflowHierarchy.d.ts +0 -17
  298. package/dist/models/WorkflowHierarchy.js +0 -86
  299. package/dist/models/WorkflowTask.d.ts +0 -13
  300. package/dist/models/WorkflowTask.js +0 -78
  301. package/dist/models/WorkflowTaskNames.d.ts +0 -17
  302. package/dist/models/WorkflowTaskNames.js +0 -63
  303. package/dist/models/contactInfoModel.d.ts +0 -18
  304. package/dist/models/contactInfoModel.js +0 -80
  305. package/dist/models/feedbackModel.d.ts +0 -16
  306. package/dist/models/feedbackModel.js +0 -61
  307. package/dist/models/importantLinksModel.d.ts +0 -6
  308. package/dist/models/importantLinksModel.js +0 -34
  309. package/dist/models/role.d.ts +0 -16
  310. package/dist/models/role.js +0 -44
  311. package/dist/models/roleRightsModel.d.ts +0 -13
  312. package/dist/models/roleRightsModel.js +0 -45
  313. package/dist/models/serviceBookmarksModel.d.ts +0 -6
  314. package/dist/models/serviceBookmarksModel.js +0 -34
  315. package/dist/models/user-sessions.d.ts +0 -18
  316. package/dist/models/user-sessions.js +0 -54
  317. package/dist/models/user.d.ts +0 -47
  318. package/dist/models/user.js +0 -238
  319. package/dist/models/userRolesModel.d.ts +0 -19
  320. package/dist/models/userRolesModel.js +0 -59
  321. package/dist/scripts.d.ts +0 -1
  322. package/dist/scripts.js +0 -11
@@ -1,77 +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.DutyMissionRequestChat = exports.DutyMissionMessageType = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var DutyMissionMessageType;
16
- (function (DutyMissionMessageType) {
17
- DutyMissionMessageType["TEXT"] = "text";
18
- DutyMissionMessageType["IMAGE"] = "image";
19
- DutyMissionMessageType["VIDEO"] = "video";
20
- DutyMissionMessageType["FILE"] = "file";
21
- DutyMissionMessageType["LINK"] = "link";
22
- })(DutyMissionMessageType || (exports.DutyMissionMessageType = DutyMissionMessageType = {}));
23
- let DutyMissionRequestChat = class DutyMissionRequestChat extends BaseModel_1.BaseModel {
24
- constructor(request_id, user_id, role_id, message, service_id, sub_service_id, messageType, status) {
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.user_id = user_id;
30
- this.role_id = role_id;
31
- this.message = message;
32
- this.messageType = messageType || DutyMissionMessageType.TEXT;
33
- this.status = status || null;
34
- }
35
- };
36
- exports.DutyMissionRequestChat = DutyMissionRequestChat;
37
- __decorate([
38
- (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
39
- __metadata("design:type", Number)
40
- ], DutyMissionRequestChat.prototype, "request_id", void 0);
41
- __decorate([
42
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
43
- __metadata("design:type", Object)
44
- ], DutyMissionRequestChat.prototype, "service_id", void 0);
45
- __decorate([
46
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
47
- __metadata("design:type", Object)
48
- ], DutyMissionRequestChat.prototype, "sub_service_id", void 0);
49
- __decorate([
50
- (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
51
- __metadata("design:type", Number)
52
- ], DutyMissionRequestChat.prototype, "user_id", void 0);
53
- __decorate([
54
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
55
- __metadata("design:type", Number)
56
- ], DutyMissionRequestChat.prototype, "role_id", void 0);
57
- __decorate([
58
- (0, typeorm_1.Column)({ type: 'text', nullable: false }),
59
- __metadata("design:type", String)
60
- ], DutyMissionRequestChat.prototype, "message", void 0);
61
- __decorate([
62
- (0, typeorm_1.Column)({
63
- type: 'enum',
64
- enum: DutyMissionMessageType,
65
- default: DutyMissionMessageType.TEXT,
66
- nullable: false
67
- }),
68
- __metadata("design:type", String)
69
- ], DutyMissionRequestChat.prototype, "messageType", void 0);
70
- __decorate([
71
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
72
- __metadata("design:type", Object)
73
- ], DutyMissionRequestChat.prototype, "status", void 0);
74
- exports.DutyMissionRequestChat = DutyMissionRequestChat = __decorate([
75
- (0, typeorm_1.Entity)({ name: 'duty_mission_chats' }),
76
- __metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, Object])
77
- ], DutyMissionRequestChat);
@@ -1,17 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- import { DutyMissionRequests } from './DutyMissionRequestModel';
3
- export declare class DutyMissionEmployeeDetails extends BaseModel {
4
- request_id: number;
5
- service_id: number | null;
6
- sub_service_id: number | null;
7
- employee_id: string;
8
- employee_name: string;
9
- department: string | null;
10
- grade: string | null;
11
- position: string | null;
12
- percentage: number | null;
13
- allowance_per_day: number | null;
14
- total_allowance: number | null;
15
- request: DutyMissionRequests;
16
- constructor(request_id: number, employee_id: string, employee_name: string, service_id?: number | null, sub_service_id?: number | null, department?: string | null, grade?: string | null, position?: string | null, percentage?: number | null, allowance_per_day?: number | null, total_allowance?: number | null);
17
- }
@@ -1,85 +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.DutyMissionEmployeeDetails = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- const DutyMissionRequestModel_1 = require("./DutyMissionRequestModel");
16
- let DutyMissionEmployeeDetails = class DutyMissionEmployeeDetails extends BaseModel_1.BaseModel {
17
- constructor(request_id, employee_id, employee_name, service_id, sub_service_id, department, grade, position, percentage, allowance_per_day, total_allowance) {
18
- super();
19
- this.request_id = request_id;
20
- this.service_id = service_id ?? null;
21
- this.sub_service_id = sub_service_id ?? null;
22
- this.employee_id = employee_id;
23
- this.employee_name = employee_name;
24
- this.department = department ?? null;
25
- this.grade = grade ?? null;
26
- this.position = position ?? null;
27
- this.percentage = percentage ?? 100;
28
- this.allowance_per_day = allowance_per_day ?? null;
29
- this.total_allowance = total_allowance ?? null;
30
- }
31
- };
32
- exports.DutyMissionEmployeeDetails = DutyMissionEmployeeDetails;
33
- __decorate([
34
- (0, typeorm_1.Column)({ type: 'int', nullable: false }),
35
- __metadata("design:type", Number)
36
- ], DutyMissionEmployeeDetails.prototype, "request_id", void 0);
37
- __decorate([
38
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
39
- __metadata("design:type", Object)
40
- ], DutyMissionEmployeeDetails.prototype, "service_id", void 0);
41
- __decorate([
42
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
43
- __metadata("design:type", Object)
44
- ], DutyMissionEmployeeDetails.prototype, "sub_service_id", void 0);
45
- __decorate([
46
- (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: false }),
47
- __metadata("design:type", String)
48
- ], DutyMissionEmployeeDetails.prototype, "employee_id", void 0);
49
- __decorate([
50
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
51
- __metadata("design:type", String)
52
- ], DutyMissionEmployeeDetails.prototype, "employee_name", void 0);
53
- __decorate([
54
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
55
- __metadata("design:type", Object)
56
- ], DutyMissionEmployeeDetails.prototype, "department", void 0);
57
- __decorate([
58
- (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
59
- __metadata("design:type", Object)
60
- ], DutyMissionEmployeeDetails.prototype, "grade", void 0);
61
- __decorate([
62
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
63
- __metadata("design:type", Object)
64
- ], DutyMissionEmployeeDetails.prototype, "position", void 0);
65
- __decorate([
66
- (0, typeorm_1.Column)({ type: 'decimal', precision: 5, scale: 2, nullable: true, default: 100 }),
67
- __metadata("design:type", Object)
68
- ], DutyMissionEmployeeDetails.prototype, "percentage", void 0);
69
- __decorate([
70
- (0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: true }),
71
- __metadata("design:type", Object)
72
- ], DutyMissionEmployeeDetails.prototype, "allowance_per_day", void 0);
73
- __decorate([
74
- (0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: true }),
75
- __metadata("design:type", Object)
76
- ], DutyMissionEmployeeDetails.prototype, "total_allowance", void 0);
77
- __decorate([
78
- (0, typeorm_1.ManyToOne)(() => DutyMissionRequestModel_1.DutyMissionRequests, { onDelete: 'CASCADE' }),
79
- (0, typeorm_1.JoinColumn)({ name: 'request_id', referencedColumnName: 'id' }),
80
- __metadata("design:type", DutyMissionRequestModel_1.DutyMissionRequests)
81
- ], DutyMissionEmployeeDetails.prototype, "request", void 0);
82
- exports.DutyMissionEmployeeDetails = DutyMissionEmployeeDetails = __decorate([
83
- (0, typeorm_1.Entity)({ name: 'duty_mission_employee_details' }),
84
- __metadata("design:paramtypes", [Number, String, String, Object, Object, Object, Object, Object, Object, Object, Object])
85
- ], DutyMissionEmployeeDetails);
@@ -1,68 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare enum TripType {
3
- ANNUAL = "Annual",
4
- PLANNED = "Planned",
5
- UNPLANNED = "Unplanned"
6
- }
7
- export declare enum ChooseType {
8
- INSIDE = "Inside",
9
- OUTSIDE = "Outside"
10
- }
11
- export declare enum MissionSponsoredBy {
12
- CAA = "CAA",
13
- LISTED = "Listed Companies",
14
- NON_LISTED = "Non-listed Companies"
15
- }
16
- export declare enum AirTicketRequired {
17
- YES = "Yes",
18
- NO = "No",
19
- CASH_COMPONENT = "Cash Component"
20
- }
21
- export declare enum VehicleRequired {
22
- YES = "Yes",
23
- NO = "No"
24
- }
25
- export declare enum DutyMissionStatus {
26
- PENDING = "Pending",
27
- ASSIGNED = "Assigned",
28
- IN_PROGRESS = "In Progress",
29
- APPROVED = "Approved",
30
- REJECTED = "Rejected"
31
- }
32
- export declare class DutyMissionRequests extends BaseModel {
33
- req_user_department_id: number | null;
34
- req_user_section_id: number | null;
35
- service_id: number;
36
- sub_service_id: number;
37
- user_id: number;
38
- status: DutyMissionStatus;
39
- workflow_execution_id: string | null;
40
- request_id: string | null;
41
- trip_type: TripType;
42
- mission_id: string | null;
43
- choose_type: ChooseType;
44
- mission_sponsored_by: MissionSponsoredBy;
45
- if_sponsored: string | null;
46
- mission_purpose: string;
47
- mission_number: string;
48
- mission_start_date: Date;
49
- mission_end_date: Date;
50
- mission_days: number | null;
51
- travelling_area_from: string;
52
- travelling_area_to: string;
53
- distance: string | null;
54
- from_country: string;
55
- to_country: string;
56
- travel_place: string;
57
- travel_start_date: Date;
58
- travel_return_date: Date;
59
- allowance_percentage: string | null;
60
- sponsored_company_allowance_amount: string | null;
61
- sponsored_total_company_amount: number | null;
62
- air_ticket_required: AirTicketRequired | null;
63
- vehicle_required: VehicleRequired | null;
64
- remarks: string | null;
65
- decision_number: string | null;
66
- decision_date: Date | null;
67
- constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, trip_type: TripType, choose_type: ChooseType, mission_sponsored_by: MissionSponsoredBy, mission_purpose: string, mission_number: string, mission_start_date: Date, mission_end_date: Date, travelling_area_from: string, travelling_area_to: string, from_country: string, to_country: string, travel_place: string, travel_start_date: Date, travel_return_date: Date, status: DutyMissionStatus, request_id?: string | null, mission_id?: string | null, mission_days?: number | null, distance?: string | null, if_sponsored?: string | null, allowance_percentage?: string | null, air_ticket_required?: AirTicketRequired | null, vehicle_required?: VehicleRequired | null, remarks?: string | null, decision_number?: string | null, decision_date?: Date | null, workflow_execution_id?: string | null, sponsored_company_allowance_amount?: string | null, sponsored_total_company_amount?: number | null);
68
- }
@@ -1,257 +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.DutyMissionRequests = exports.DutyMissionStatus = exports.VehicleRequired = exports.AirTicketRequired = exports.MissionSponsoredBy = exports.ChooseType = exports.TripType = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var TripType;
16
- (function (TripType) {
17
- TripType["ANNUAL"] = "Annual";
18
- TripType["PLANNED"] = "Planned";
19
- TripType["UNPLANNED"] = "Unplanned";
20
- })(TripType || (exports.TripType = TripType = {}));
21
- var ChooseType;
22
- (function (ChooseType) {
23
- ChooseType["INSIDE"] = "Inside";
24
- ChooseType["OUTSIDE"] = "Outside";
25
- })(ChooseType || (exports.ChooseType = ChooseType = {}));
26
- var MissionSponsoredBy;
27
- (function (MissionSponsoredBy) {
28
- MissionSponsoredBy["CAA"] = "CAA";
29
- MissionSponsoredBy["LISTED"] = "Listed Companies";
30
- MissionSponsoredBy["NON_LISTED"] = "Non-listed Companies";
31
- })(MissionSponsoredBy || (exports.MissionSponsoredBy = MissionSponsoredBy = {}));
32
- var AirTicketRequired;
33
- (function (AirTicketRequired) {
34
- AirTicketRequired["YES"] = "Yes";
35
- AirTicketRequired["NO"] = "No";
36
- AirTicketRequired["CASH_COMPONENT"] = "Cash Component";
37
- })(AirTicketRequired || (exports.AirTicketRequired = AirTicketRequired = {}));
38
- var VehicleRequired;
39
- (function (VehicleRequired) {
40
- VehicleRequired["YES"] = "Yes";
41
- VehicleRequired["NO"] = "No";
42
- })(VehicleRequired || (exports.VehicleRequired = VehicleRequired = {}));
43
- var DutyMissionStatus;
44
- (function (DutyMissionStatus) {
45
- DutyMissionStatus["PENDING"] = "Pending";
46
- DutyMissionStatus["ASSIGNED"] = "Assigned";
47
- DutyMissionStatus["IN_PROGRESS"] = "In Progress";
48
- DutyMissionStatus["APPROVED"] = "Approved";
49
- DutyMissionStatus["REJECTED"] = "Rejected";
50
- })(DutyMissionStatus || (exports.DutyMissionStatus = DutyMissionStatus = {}));
51
- let DutyMissionRequests = class DutyMissionRequests extends BaseModel_1.BaseModel {
52
- constructor(req_user_department_id, req_user_section_id, service_id, sub_service_id, user_id, trip_type, choose_type, mission_sponsored_by, mission_purpose, mission_number, mission_start_date, mission_end_date, travelling_area_from, travelling_area_to, from_country, to_country, travel_place, travel_start_date, travel_return_date, status, request_id, mission_id, mission_days, distance, if_sponsored, allowance_percentage, air_ticket_required, vehicle_required, remarks, decision_number, decision_date, workflow_execution_id, sponsored_company_allowance_amount, sponsored_total_company_amount) {
53
- super();
54
- this.req_user_department_id = req_user_department_id ?? null;
55
- this.req_user_section_id = req_user_section_id ?? null;
56
- this.service_id = service_id;
57
- this.sub_service_id = sub_service_id;
58
- this.user_id = user_id;
59
- this.trip_type = trip_type;
60
- this.choose_type = choose_type;
61
- this.mission_sponsored_by = mission_sponsored_by;
62
- this.mission_purpose = mission_purpose;
63
- this.mission_number = mission_number;
64
- this.mission_start_date = mission_start_date;
65
- this.mission_end_date = mission_end_date;
66
- this.travelling_area_from = travelling_area_from;
67
- this.travelling_area_to = travelling_area_to;
68
- this.from_country = from_country;
69
- this.to_country = to_country;
70
- this.travel_place = travel_place;
71
- this.travel_start_date = travel_start_date;
72
- this.travel_return_date = travel_return_date;
73
- this.status = status;
74
- this.request_id = request_id ?? null;
75
- this.mission_id = mission_id ?? null;
76
- this.mission_days = mission_days ?? null;
77
- this.distance = distance ?? null;
78
- this.if_sponsored = if_sponsored ?? null;
79
- this.allowance_percentage = allowance_percentage ?? null;
80
- this.air_ticket_required = air_ticket_required ?? null;
81
- this.vehicle_required = vehicle_required ?? null;
82
- this.remarks = remarks ?? null;
83
- this.decision_number = decision_number ?? null;
84
- this.decision_date = decision_date ?? null;
85
- this.workflow_execution_id = workflow_execution_id ?? null;
86
- this.sponsored_company_allowance_amount = sponsored_company_allowance_amount ?? null;
87
- this.sponsored_total_company_amount = sponsored_total_company_amount ?? null;
88
- }
89
- };
90
- exports.DutyMissionRequests = DutyMissionRequests;
91
- __decorate([
92
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
93
- __metadata("design:type", Object)
94
- ], DutyMissionRequests.prototype, "req_user_department_id", void 0);
95
- __decorate([
96
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
97
- __metadata("design:type", Object)
98
- ], DutyMissionRequests.prototype, "req_user_section_id", void 0);
99
- __decorate([
100
- (0, typeorm_1.Column)({ nullable: true }),
101
- __metadata("design:type", Number)
102
- ], DutyMissionRequests.prototype, "service_id", void 0);
103
- __decorate([
104
- (0, typeorm_1.Column)({ nullable: true }),
105
- __metadata("design:type", Number)
106
- ], DutyMissionRequests.prototype, "sub_service_id", void 0);
107
- __decorate([
108
- (0, typeorm_1.Column)({ nullable: false }),
109
- __metadata("design:type", Number)
110
- ], DutyMissionRequests.prototype, "user_id", void 0);
111
- __decorate([
112
- (0, typeorm_1.Column)({
113
- type: "enum",
114
- enum: DutyMissionStatus,
115
- default: DutyMissionStatus.PENDING,
116
- nullable: false,
117
- }),
118
- __metadata("design:type", String)
119
- ], DutyMissionRequests.prototype, "status", void 0);
120
- __decorate([
121
- (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
122
- __metadata("design:type", Object)
123
- ], DutyMissionRequests.prototype, "workflow_execution_id", void 0);
124
- __decorate([
125
- (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
126
- __metadata("design:type", Object)
127
- ], DutyMissionRequests.prototype, "request_id", void 0);
128
- __decorate([
129
- (0, typeorm_1.Column)({
130
- type: "enum",
131
- enum: TripType,
132
- nullable: true,
133
- }),
134
- __metadata("design:type", String)
135
- ], DutyMissionRequests.prototype, "trip_type", void 0);
136
- __decorate([
137
- (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
138
- __metadata("design:type", Object)
139
- ], DutyMissionRequests.prototype, "mission_id", void 0);
140
- __decorate([
141
- (0, typeorm_1.Column)({
142
- type: "enum",
143
- enum: ChooseType,
144
- nullable: true,
145
- }),
146
- __metadata("design:type", String)
147
- ], DutyMissionRequests.prototype, "choose_type", void 0);
148
- __decorate([
149
- (0, typeorm_1.Column)({
150
- type: "enum",
151
- enum: MissionSponsoredBy,
152
- nullable: false,
153
- }),
154
- __metadata("design:type", String)
155
- ], DutyMissionRequests.prototype, "mission_sponsored_by", void 0);
156
- __decorate([
157
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
158
- __metadata("design:type", Object)
159
- ], DutyMissionRequests.prototype, "if_sponsored", void 0);
160
- __decorate([
161
- (0, typeorm_1.Column)({ type: 'text', nullable: false }),
162
- __metadata("design:type", String)
163
- ], DutyMissionRequests.prototype, "mission_purpose", void 0);
164
- __decorate([
165
- (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
166
- __metadata("design:type", String)
167
- ], DutyMissionRequests.prototype, "mission_number", void 0);
168
- __decorate([
169
- (0, typeorm_1.Column)({ type: "date", nullable: false }),
170
- __metadata("design:type", Date)
171
- ], DutyMissionRequests.prototype, "mission_start_date", void 0);
172
- __decorate([
173
- (0, typeorm_1.Column)({ type: "date", nullable: false }),
174
- __metadata("design:type", Date)
175
- ], DutyMissionRequests.prototype, "mission_end_date", void 0);
176
- __decorate([
177
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
178
- __metadata("design:type", Object)
179
- ], DutyMissionRequests.prototype, "mission_days", void 0);
180
- __decorate([
181
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
182
- __metadata("design:type", String)
183
- ], DutyMissionRequests.prototype, "travelling_area_from", void 0);
184
- __decorate([
185
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
186
- __metadata("design:type", String)
187
- ], DutyMissionRequests.prototype, "travelling_area_to", void 0);
188
- __decorate([
189
- (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
190
- __metadata("design:type", Object)
191
- ], DutyMissionRequests.prototype, "distance", void 0);
192
- __decorate([
193
- (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
194
- __metadata("design:type", String)
195
- ], DutyMissionRequests.prototype, "from_country", void 0);
196
- __decorate([
197
- (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
198
- __metadata("design:type", String)
199
- ], DutyMissionRequests.prototype, "to_country", void 0);
200
- __decorate([
201
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
202
- __metadata("design:type", String)
203
- ], DutyMissionRequests.prototype, "travel_place", void 0);
204
- __decorate([
205
- (0, typeorm_1.Column)({ type: "date", nullable: true }),
206
- __metadata("design:type", Date)
207
- ], DutyMissionRequests.prototype, "travel_start_date", void 0);
208
- __decorate([
209
- (0, typeorm_1.Column)({ type: "date", nullable: true }),
210
- __metadata("design:type", Date)
211
- ], DutyMissionRequests.prototype, "travel_return_date", void 0);
212
- __decorate([
213
- (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
214
- __metadata("design:type", Object)
215
- ], DutyMissionRequests.prototype, "allowance_percentage", void 0);
216
- __decorate([
217
- (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
218
- __metadata("design:type", Object)
219
- ], DutyMissionRequests.prototype, "sponsored_company_allowance_amount", void 0);
220
- __decorate([
221
- (0, typeorm_1.Column)({ type: 'decimal', precision: 18, scale: 2, nullable: true }),
222
- __metadata("design:type", Object)
223
- ], DutyMissionRequests.prototype, "sponsored_total_company_amount", void 0);
224
- __decorate([
225
- (0, typeorm_1.Column)({
226
- type: "enum",
227
- enum: AirTicketRequired,
228
- nullable: true,
229
- }),
230
- __metadata("design:type", Object)
231
- ], DutyMissionRequests.prototype, "air_ticket_required", void 0);
232
- __decorate([
233
- (0, typeorm_1.Column)({
234
- type: "enum",
235
- enum: VehicleRequired,
236
- nullable: true,
237
- }),
238
- __metadata("design:type", Object)
239
- ], DutyMissionRequests.prototype, "vehicle_required", void 0);
240
- __decorate([
241
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
242
- __metadata("design:type", Object)
243
- ], DutyMissionRequests.prototype, "remarks", void 0);
244
- __decorate([
245
- (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
246
- __metadata("design:type", Object)
247
- ], DutyMissionRequests.prototype, "decision_number", void 0);
248
- __decorate([
249
- (0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
250
- __metadata("design:type", Object)
251
- ], DutyMissionRequests.prototype, "decision_date", void 0);
252
- exports.DutyMissionRequests = DutyMissionRequests = __decorate([
253
- (0, typeorm_1.Entity)({ name: 'duty_mission_requests' }),
254
- __metadata("design:paramtypes", [Object, Object, Number, Number, Number, String, String, String, String, String, Date,
255
- Date, String, String, String, String, String, Date,
256
- Date, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
257
- ], DutyMissionRequests);
@@ -1,18 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare enum DutyMissionWorkFlowStatus {
3
- COMPLETED = "Completed",
4
- NOT_YET_STARTED = "Not Yet Started",
5
- PENDING = "Pending"
6
- }
7
- export declare class DutyMissionWorkFlow extends BaseModel {
8
- request_id: number;
9
- service_id: number | null;
10
- sub_service_id: number | null;
11
- content: string;
12
- status: DutyMissionWorkFlowStatus;
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: DutyMissionWorkFlowStatus, service_id?: number, sub_service_id?: number, user_id?: number, role_id?: number, department_id?: number, section_id?: number);
18
- }
@@ -1,76 +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.DutyMissionWorkFlow = exports.DutyMissionWorkFlowStatus = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var DutyMissionWorkFlowStatus;
16
- (function (DutyMissionWorkFlowStatus) {
17
- DutyMissionWorkFlowStatus["COMPLETED"] = "Completed";
18
- DutyMissionWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
19
- DutyMissionWorkFlowStatus["PENDING"] = "Pending";
20
- })(DutyMissionWorkFlowStatus || (exports.DutyMissionWorkFlowStatus = DutyMissionWorkFlowStatus = {}));
21
- //This model is used to store the duty mission workflow status and activity logs
22
- let DutyMissionWorkFlow = class DutyMissionWorkFlow extends BaseModel_1.BaseModel {
23
- constructor(request_id, content, status, service_id, sub_service_id, user_id, role_id, department_id, section_id) {
24
- super();
25
- this.request_id = request_id;
26
- this.service_id = service_id || null;
27
- this.sub_service_id = sub_service_id || null;
28
- this.content = content;
29
- this.status = status;
30
- this.user_id = user_id || null;
31
- this.role_id = role_id || null;
32
- this.department_id = department_id || null;
33
- this.section_id = section_id || null;
34
- }
35
- };
36
- exports.DutyMissionWorkFlow = DutyMissionWorkFlow;
37
- __decorate([
38
- (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
39
- __metadata("design:type", Number)
40
- ], DutyMissionWorkFlow.prototype, "request_id", void 0);
41
- __decorate([
42
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
43
- __metadata("design:type", Object)
44
- ], DutyMissionWorkFlow.prototype, "service_id", void 0);
45
- __decorate([
46
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
47
- __metadata("design:type", Object)
48
- ], DutyMissionWorkFlow.prototype, "sub_service_id", void 0);
49
- __decorate([
50
- (0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
51
- __metadata("design:type", String)
52
- ], DutyMissionWorkFlow.prototype, "content", void 0);
53
- __decorate([
54
- (0, typeorm_1.Column)({ type: 'enum', enum: DutyMissionWorkFlowStatus, default: DutyMissionWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
55
- __metadata("design:type", String)
56
- ], DutyMissionWorkFlow.prototype, "status", void 0);
57
- __decorate([
58
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
59
- __metadata("design:type", Object)
60
- ], DutyMissionWorkFlow.prototype, "user_id", void 0);
61
- __decorate([
62
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
63
- __metadata("design:type", Object)
64
- ], DutyMissionWorkFlow.prototype, "role_id", void 0);
65
- __decorate([
66
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
67
- __metadata("design:type", Object)
68
- ], DutyMissionWorkFlow.prototype, "department_id", void 0);
69
- __decorate([
70
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
71
- __metadata("design:type", Object)
72
- ], DutyMissionWorkFlow.prototype, "section_id", void 0);
73
- exports.DutyMissionWorkFlow = DutyMissionWorkFlow = __decorate([
74
- (0, typeorm_1.Entity)({ name: 'duty_mission_workflows' }),
75
- __metadata("design:paramtypes", [Number, String, String, Number, Number, Number, Number, Number, Number])
76
- ], DutyMissionWorkFlow);
@@ -1,12 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- /**
3
- * This model is used to store the Financial Grade master data on the Admin Side
4
- */
5
- export declare class FinancialGrade extends BaseModel {
6
- financial_grade: number | null;
7
- daily_allowance: number | null;
8
- travel_class: string | null;
9
- currency: string | null;
10
- is_active: boolean;
11
- constructor(financial_grade?: number | null, daily_allowance?: number | null, travel_class?: string | null, currency?: string | null, is_active?: boolean);
12
- }