@platform-modules/civil-aviation-authority 2.3.282 → 2.3.290

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 (253) hide show
  1. package/dist/i18n/workflow-chat-i18n.json +162 -1
  2. package/dist/i18n/workflow-chat-message.builder.d.ts +178 -1
  3. package/dist/i18n/workflow-chat-message.builder.js +406 -13
  4. package/dist/models/AccessCardChatModel.d.ts +2 -0
  5. package/dist/models/AccessCardChatModel.js +8 -0
  6. package/dist/models/AccessCardWorkflowModel.d.ts +2 -0
  7. package/dist/models/AccessCardWorkflowModel.js +8 -0
  8. package/dist/models/AccommodationChatModel.d.ts +2 -0
  9. package/dist/models/AccommodationChatModel.js +8 -0
  10. package/dist/models/AccommodationWorkflowModel.d.ts +2 -0
  11. package/dist/models/AccommodationWorkflowModel.js +8 -0
  12. package/dist/models/AirportEntryPermitChatModel.d.ts +2 -0
  13. package/dist/models/AirportEntryPermitChatModel.js +8 -0
  14. package/dist/models/AirportEntryPermitWorkflowModel.d.ts +2 -0
  15. package/dist/models/AirportEntryPermitWorkflowModel.js +8 -0
  16. package/dist/models/AnnualTrainingPlanChatModel.d.ts +2 -0
  17. package/dist/models/AnnualTrainingPlanChatModel.js +8 -0
  18. package/dist/models/AnnualTrainingPlanWorkflowModel.d.ts +2 -0
  19. package/dist/models/AnnualTrainingPlanWorkflowModel.js +8 -0
  20. package/dist/models/AssignTasksEmpChatModel.d.ts +2 -0
  21. package/dist/models/AssignTasksEmpChatModel.js +8 -0
  22. package/dist/models/AssignTasksEmpWorkflowModel.d.ts +2 -0
  23. package/dist/models/AssignTasksEmpWorkflowModel.js +8 -0
  24. package/dist/models/ComplaintLostPropertyReportChatModel.d.ts +2 -0
  25. package/dist/models/ComplaintLostPropertyReportChatModel.js +8 -0
  26. package/dist/models/ComplaintLostPropertyReportWorkflowModel.d.ts +2 -0
  27. package/dist/models/ComplaintLostPropertyReportWorkflowModel.js +8 -0
  28. package/dist/models/DutyMissionChatModel.d.ts +2 -0
  29. package/dist/models/DutyMissionChatModel.js +8 -0
  30. package/dist/models/DutyMissionWorkflowModel.d.ts +2 -0
  31. package/dist/models/DutyMissionWorkflowModel.js +8 -0
  32. package/dist/models/EventSupportChatModel.d.ts +2 -0
  33. package/dist/models/EventSupportChatModel.js +8 -0
  34. package/dist/models/EventSupportWorkflowModel.d.ts +2 -0
  35. package/dist/models/EventSupportWorkflowModel.js +8 -0
  36. package/dist/models/FollowUpReportChatModel.d.ts +2 -0
  37. package/dist/models/FollowUpReportChatModel.js +8 -0
  38. package/dist/models/FollowUpReportWorkflowModel.d.ts +2 -0
  39. package/dist/models/FollowUpReportWorkflowModel.js +8 -0
  40. package/dist/models/FoodChatModel.d.ts +2 -0
  41. package/dist/models/FoodChatModel.js +8 -0
  42. package/dist/models/FoodWorkflowModel.d.ts +2 -0
  43. package/dist/models/FoodWorkflowModel.js +8 -0
  44. package/dist/models/HallChatModel.d.ts +2 -0
  45. package/dist/models/HallChatModel.js +8 -0
  46. package/dist/models/HallWorkflowModel.d.ts +2 -0
  47. package/dist/models/HallWorkflowModel.js +8 -0
  48. package/dist/models/HotelChatModel.d.ts +2 -0
  49. package/dist/models/HotelChatModel.js +8 -0
  50. package/dist/models/HotelWorkFlowModel.d.ts +2 -0
  51. package/dist/models/HotelWorkFlowModel.js +8 -0
  52. package/dist/models/HousingContractCancelChatModel.d.ts +2 -0
  53. package/dist/models/HousingContractCancelChatModel.js +8 -0
  54. package/dist/models/HousingContractCancelWorkflowModel.d.ts +2 -0
  55. package/dist/models/HousingContractCancelWorkflowModel.js +8 -0
  56. package/dist/models/HousingContractRenewalChatModel.d.ts +2 -0
  57. package/dist/models/HousingContractRenewalChatModel.js +8 -0
  58. package/dist/models/HousingContractRenewalWorkflowModel.d.ts +2 -0
  59. package/dist/models/HousingContractRenewalWorkflowModel.js +8 -0
  60. package/dist/models/HrServiceChatModel.d.ts +2 -0
  61. package/dist/models/HrServiceChatModel.js +8 -0
  62. package/dist/models/HrServiceWorkflowModel.d.ts +2 -0
  63. package/dist/models/HrServiceWorkflowModel.js +8 -0
  64. package/dist/models/ITRequestChatModel.d.ts +2 -0
  65. package/dist/models/ITRequestChatModel.js +8 -0
  66. package/dist/models/ImportExportMaterialChatModel.d.ts +2 -0
  67. package/dist/models/ImportExportMaterialChatModel.js +8 -0
  68. package/dist/models/ImportExportMaterialWorkflowModel.d.ts +2 -0
  69. package/dist/models/ImportExportMaterialWorkflowModel.js +8 -0
  70. package/dist/models/InformationSecurityChatModel.d.ts +2 -0
  71. package/dist/models/InformationSecurityChatModel.js +8 -0
  72. package/dist/models/InformationSecurityWorkflowModel.d.ts +2 -0
  73. package/dist/models/InformationSecurityWorkflowModel.js +8 -0
  74. package/dist/models/ItWorkflowModel.d.ts +2 -0
  75. package/dist/models/ItWorkflowModel.js +8 -0
  76. package/dist/models/LegalComplaintChatModel.d.ts +2 -0
  77. package/dist/models/LegalComplaintChatModel.js +8 -0
  78. package/dist/models/LegalComplaintWorkflowModel.d.ts +2 -0
  79. package/dist/models/LegalComplaintWorkflowModel.js +8 -0
  80. package/dist/models/LegalConsultationChatModel.d.ts +2 -0
  81. package/dist/models/LegalConsultationChatModel.js +8 -0
  82. package/dist/models/LegalConsultationWorkflowModel.d.ts +2 -0
  83. package/dist/models/LegalConsultationWorkflowModel.js +8 -0
  84. package/dist/models/LegalContractReviewChatModel.d.ts +2 -0
  85. package/dist/models/LegalContractReviewChatModel.js +8 -0
  86. package/dist/models/LegalContractReviewWorkflowModel.d.ts +2 -0
  87. package/dist/models/LegalContractReviewWorkflowModel.js +8 -0
  88. package/dist/models/LogisticsChatModel.d.ts +2 -0
  89. package/dist/models/LogisticsChatModel.js +8 -0
  90. package/dist/models/LogisticsVehicleMaintenanceChatModel.d.ts +2 -0
  91. package/dist/models/LogisticsVehicleMaintenanceChatModel.js +8 -0
  92. package/dist/models/LogisticsVehicleMaintenanceWorkflowModel.d.ts +2 -0
  93. package/dist/models/LogisticsVehicleMaintenanceWorkflowModel.js +8 -0
  94. package/dist/models/LogisticsWorkflowModel.d.ts +2 -0
  95. package/dist/models/LogisticsWorkflowModel.js +8 -0
  96. package/dist/models/MaintenanceChatModel.d.ts +2 -0
  97. package/dist/models/MaintenanceChatModel.js +8 -0
  98. package/dist/models/MaintenanceExternalStationsChatModel.d.ts +2 -0
  99. package/dist/models/MaintenanceExternalStationsChatModel.js +8 -0
  100. package/dist/models/MaintenanceExternalStationsWorkflowModel.d.ts +2 -0
  101. package/dist/models/MaintenanceExternalStationsWorkflowModel.js +8 -0
  102. package/dist/models/MaintenanceWorkflowModel.d.ts +2 -0
  103. package/dist/models/MaintenanceWorkflowModel.js +8 -0
  104. package/dist/models/MediaPublicationsChatModel.d.ts +2 -0
  105. package/dist/models/MediaPublicationsChatModel.js +8 -0
  106. package/dist/models/MediaPublicationsWorkflowModel.d.ts +2 -0
  107. package/dist/models/MediaPublicationsWorkflowModel.js +8 -0
  108. package/dist/models/MultiPurposeHallChatModel.d.ts +2 -0
  109. package/dist/models/MultiPurposeHallChatModel.js +8 -0
  110. package/dist/models/MultiPurposeHallWorkflowModel.d.ts +2 -0
  111. package/dist/models/MultiPurposeHallWorkflowModel.js +8 -0
  112. package/dist/models/RequestForCoverageChatModel.d.ts +2 -0
  113. package/dist/models/RequestForCoverageChatModel.js +8 -0
  114. package/dist/models/RequestForCoverageWorkflowModel.d.ts +2 -0
  115. package/dist/models/RequestForCoverageWorkflowModel.js +8 -0
  116. package/dist/models/RequestForPresidentsCoverageChatModel.d.ts +2 -0
  117. package/dist/models/RequestForPresidentsCoverageChatModel.js +8 -0
  118. package/dist/models/RequestForPresidentsCoverageWorkflowModel.d.ts +2 -0
  119. package/dist/models/RequestForPresidentsCoverageWorkflowModel.js +8 -0
  120. package/dist/models/ResidentialUnitRentalChatModel.d.ts +2 -0
  121. package/dist/models/ResidentialUnitRentalChatModel.js +8 -0
  122. package/dist/models/ResidentialUnitRentalWorkflowModel.d.ts +2 -0
  123. package/dist/models/ResidentialUnitRentalWorkflowModel.js +8 -0
  124. package/dist/models/RespondToEnquiriesChatModel.d.ts +2 -0
  125. package/dist/models/RespondToEnquiriesChatModel.js +8 -0
  126. package/dist/models/RespondToEnquiriesWorkflowModel.d.ts +2 -0
  127. package/dist/models/RespondToEnquiriesWorkflowModel.js +8 -0
  128. package/dist/models/ScholarshipChatModel.d.ts +2 -0
  129. package/dist/models/ScholarshipChatModel.js +8 -0
  130. package/dist/models/ScholarshipWorkflowModel.d.ts +2 -0
  131. package/dist/models/ScholarshipWorkflowModel.js +8 -0
  132. package/dist/models/SecurityAwarenessChatModel.d.ts +2 -0
  133. package/dist/models/SecurityAwarenessChatModel.js +8 -0
  134. package/dist/models/SecurityAwarenessWorkflowModel.d.ts +2 -0
  135. package/dist/models/SecurityAwarenessWorkflowModel.js +8 -0
  136. package/dist/models/SecurityThreatChatModel.d.ts +2 -0
  137. package/dist/models/SecurityThreatChatModel.js +8 -0
  138. package/dist/models/SecurityThreatWorkflowModel.d.ts +2 -0
  139. package/dist/models/SecurityThreatWorkflowModel.js +8 -0
  140. package/dist/models/ServiceExtensionAfter60ChatModel.d.ts +2 -0
  141. package/dist/models/ServiceExtensionAfter60ChatModel.js +8 -0
  142. package/dist/models/ServiceExtensionAfter60WorkflowModel.d.ts +2 -0
  143. package/dist/models/ServiceExtensionAfter60WorkflowModel.js +8 -0
  144. package/dist/models/StudyLeaveChatModel.d.ts +2 -0
  145. package/dist/models/StudyLeaveChatModel.js +8 -0
  146. package/dist/models/StudyLeaveWorkflowModel.d.ts +2 -0
  147. package/dist/models/StudyLeaveWorkflowModel.js +8 -0
  148. package/dist/models/TrainingChatModel.d.ts +2 -0
  149. package/dist/models/TrainingChatModel.js +8 -0
  150. package/dist/models/TrainingRoomBookingChatModel.d.ts +2 -0
  151. package/dist/models/TrainingRoomBookingChatModel.js +8 -0
  152. package/dist/models/TrainingRoomBookingWorkflowModel.d.ts +2 -0
  153. package/dist/models/TrainingRoomBookingWorkflowModel.js +8 -0
  154. package/dist/models/TrainingWorkflowModel.d.ts +2 -0
  155. package/dist/models/TrainingWorkflowModel.js +8 -0
  156. package/dist/models/VipHallChatModel.d.ts +2 -0
  157. package/dist/models/VipHallChatModel.js +8 -0
  158. package/dist/models/VipHallWorkflowModel.d.ts +2 -0
  159. package/dist/models/VipHallWorkflowModel.js +8 -0
  160. package/dist/models/VpnRequestChatModel.d.ts +2 -0
  161. package/dist/models/VpnRequestChatModel.js +8 -0
  162. package/dist/models/VpnWorkflowModel.d.ts +2 -0
  163. package/dist/models/VpnWorkflowModel.js +8 -0
  164. package/dist/models/WorkingHoursExtensionChatModel.d.ts +2 -0
  165. package/dist/models/WorkingHoursExtensionChatModel.js +8 -0
  166. package/dist/models/WorkingHoursExtensionWorkflowModel.d.ts +2 -0
  167. package/dist/models/WorkingHoursExtensionWorkflowModel.js +8 -0
  168. package/package.json +1 -1
  169. package/sql/add_all_workflow_chat_arabic_columns.sql +1 -0
  170. package/src/i18n/workflow-chat-i18n.json +162 -1
  171. package/src/i18n/workflow-chat-message.builder.ts +680 -13
  172. package/src/models/AccessCardChatModel.ts +8 -2
  173. package/src/models/AccessCardWorkflowModel.ts +8 -2
  174. package/src/models/AccommodationChatModel.ts +8 -2
  175. package/src/models/AccommodationWorkflowModel.ts +8 -2
  176. package/src/models/AirportEntryPermitChatModel.ts +8 -2
  177. package/src/models/AirportEntryPermitWorkflowModel.ts +8 -2
  178. package/src/models/AnnualTrainingPlanChatModel.ts +8 -2
  179. package/src/models/AnnualTrainingPlanWorkflowModel.ts +8 -2
  180. package/src/models/AssignTasksEmpChatModel.ts +8 -2
  181. package/src/models/AssignTasksEmpWorkflowModel.ts +8 -2
  182. package/src/models/ComplaintLostPropertyReportChatModel.ts +8 -2
  183. package/src/models/ComplaintLostPropertyReportWorkflowModel.ts +8 -2
  184. package/src/models/DutyMissionChatModel.ts +8 -2
  185. package/src/models/DutyMissionWorkflowModel.ts +8 -2
  186. package/src/models/EventSupportChatModel.ts +8 -2
  187. package/src/models/EventSupportWorkflowModel.ts +8 -2
  188. package/src/models/FollowUpReportChatModel.ts +8 -2
  189. package/src/models/FollowUpReportWorkflowModel.ts +8 -2
  190. package/src/models/FoodChatModel.ts +8 -2
  191. package/src/models/FoodWorkflowModel.ts +8 -2
  192. package/src/models/HallChatModel.ts +8 -2
  193. package/src/models/HallWorkflowModel.ts +8 -2
  194. package/src/models/HotelChatModel.ts +8 -2
  195. package/src/models/HotelWorkFlowModel.ts +8 -2
  196. package/src/models/HousingContractCancelChatModel.ts +8 -2
  197. package/src/models/HousingContractCancelWorkflowModel.ts +8 -2
  198. package/src/models/HousingContractRenewalChatModel.ts +8 -2
  199. package/src/models/HousingContractRenewalWorkflowModel.ts +8 -2
  200. package/src/models/HrServiceChatModel.ts +8 -2
  201. package/src/models/HrServiceWorkflowModel.ts +8 -2
  202. package/src/models/ITRequestChatModel.ts +8 -2
  203. package/src/models/ImportExportMaterialChatModel.ts +8 -2
  204. package/src/models/ImportExportMaterialWorkflowModel.ts +8 -2
  205. package/src/models/InformationSecurityChatModel.ts +8 -2
  206. package/src/models/InformationSecurityWorkflowModel.ts +8 -2
  207. package/src/models/ItWorkflowModel.ts +8 -2
  208. package/src/models/LegalComplaintChatModel.ts +8 -2
  209. package/src/models/LegalComplaintWorkflowModel.ts +8 -2
  210. package/src/models/LegalConsultationChatModel.ts +8 -2
  211. package/src/models/LegalConsultationWorkflowModel.ts +8 -2
  212. package/src/models/LegalContractReviewChatModel.ts +8 -2
  213. package/src/models/LegalContractReviewWorkflowModel.ts +8 -2
  214. package/src/models/LogisticsChatModel.ts +8 -2
  215. package/src/models/LogisticsVehicleMaintenanceChatModel.ts +8 -2
  216. package/src/models/LogisticsVehicleMaintenanceWorkflowModel.ts +8 -2
  217. package/src/models/LogisticsWorkflowModel.ts +8 -2
  218. package/src/models/MaintenanceChatModel.ts +8 -2
  219. package/src/models/MaintenanceExternalStationsChatModel.ts +8 -2
  220. package/src/models/MaintenanceExternalStationsWorkflowModel.ts +8 -2
  221. package/src/models/MaintenanceWorkflowModel.ts +8 -2
  222. package/src/models/MediaPublicationsChatModel.ts +8 -2
  223. package/src/models/MediaPublicationsWorkflowModel.ts +8 -2
  224. package/src/models/MultiPurposeHallChatModel.ts +8 -2
  225. package/src/models/MultiPurposeHallWorkflowModel.ts +8 -2
  226. package/src/models/RequestForCoverageChatModel.ts +8 -2
  227. package/src/models/RequestForCoverageWorkflowModel.ts +8 -2
  228. package/src/models/RequestForPresidentsCoverageChatModel.ts +8 -2
  229. package/src/models/RequestForPresidentsCoverageWorkflowModel.ts +8 -2
  230. package/src/models/ResidentialUnitRentalChatModel.ts +8 -2
  231. package/src/models/ResidentialUnitRentalWorkflowModel.ts +8 -2
  232. package/src/models/RespondToEnquiriesChatModel.ts +8 -2
  233. package/src/models/RespondToEnquiriesWorkflowModel.ts +8 -2
  234. package/src/models/ScholarshipChatModel.ts +8 -2
  235. package/src/models/ScholarshipWorkflowModel.ts +8 -2
  236. package/src/models/SecurityAwarenessChatModel.ts +8 -2
  237. package/src/models/SecurityAwarenessWorkflowModel.ts +8 -2
  238. package/src/models/SecurityThreatChatModel.ts +8 -2
  239. package/src/models/SecurityThreatWorkflowModel.ts +8 -2
  240. package/src/models/ServiceExtensionAfter60ChatModel.ts +8 -2
  241. package/src/models/ServiceExtensionAfter60WorkflowModel.ts +8 -2
  242. package/src/models/StudyLeaveChatModel.ts +8 -2
  243. package/src/models/StudyLeaveWorkflowModel.ts +8 -2
  244. package/src/models/TrainingChatModel.ts +8 -2
  245. package/src/models/TrainingRoomBookingChatModel.ts +8 -2
  246. package/src/models/TrainingRoomBookingWorkflowModel.ts +8 -2
  247. package/src/models/TrainingWorkflowModel.ts +8 -2
  248. package/src/models/VipHallChatModel.ts +8 -2
  249. package/src/models/VipHallWorkflowModel.ts +8 -2
  250. package/src/models/VpnRequestChatModel.ts +8 -2
  251. package/src/models/VpnWorkflowModel.ts +8 -2
  252. package/src/models/WorkingHoursExtensionChatModel.ts +8 -2
  253. package/src/models/WorkingHoursExtensionWorkflowModel.ts +8 -2
@@ -28,7 +28,10 @@ export class AccessCardRequestChat extends BaseModel {
28
28
  role_id: number;
29
29
 
30
30
  @Column({ type: "text", nullable: false })
31
- message: string;
31
+ message: string;
32
+ @Column({ type: "text", nullable: true })
33
+ message_ar: string | null;
34
+
32
35
 
33
36
  @Column({
34
37
  type: "enum",
@@ -39,7 +42,10 @@ export class AccessCardRequestChat extends BaseModel {
39
42
  messageType: AccessCardMessageType;
40
43
 
41
44
  @Column({ type: 'text', nullable: true })
42
- status: string;
45
+ status: string;
46
+ @Column({ type: "varchar", length: 100, nullable: true })
47
+ status_ar: string | null;
48
+
43
49
 
44
50
  constructor(
45
51
  request_id: number,
@@ -19,7 +19,10 @@ export class AccessCardWorkflow extends BaseModel {
19
19
  sub_service_id: number | null;
20
20
 
21
21
  @Column({ type: "varchar", length: 500, nullable: false })
22
- content: string;
22
+ content: string;
23
+ @Column({ type: "varchar", length: 500, nullable: true })
24
+ content_ar: string | null;
25
+
23
26
 
24
27
  @Column({
25
28
  type: "enum",
@@ -27,7 +30,10 @@ export class AccessCardWorkflow extends BaseModel {
27
30
  default: AccessCardWorkflowStatus.NOT_YET_STARTED,
28
31
  nullable: false
29
32
  })
30
- status: AccessCardWorkflowStatus;
33
+ status: AccessCardWorkflowStatus;
34
+ @Column({ type: "varchar", length: 100, nullable: true })
35
+ status_ar: string | null;
36
+
31
37
 
32
38
  @Column({ type: "integer", nullable: true })
33
39
  user_id: number | null;
@@ -24,7 +24,10 @@ export class AccommodationChat extends BaseModel {
24
24
  user_id: number;
25
25
 
26
26
  @Column({ type: 'text', nullable: false })
27
- message: string;
27
+ message: string;
28
+ @Column({ type: "text", nullable: true })
29
+ message_ar: string | null;
30
+
28
31
 
29
32
  @Column({ type: 'varchar', length: 20, nullable: false })
30
33
  message_type: string; // text, image, video, file, link
@@ -36,7 +39,10 @@ export class AccommodationChat extends BaseModel {
36
39
  approver_role_id: number;
37
40
 
38
41
  @Column({ type: 'varchar', length: 50, nullable: true })
39
- status: string; // Submitted, Pending, Approved, Rejected
42
+ status: string;
43
+ @Column({ type: "varchar", length: 100, nullable: true })
44
+ status_ar: string | null;
45
+ // Submitted, Pending, Approved, Rejected
40
46
 
41
47
  @Column({ type: 'int', nullable: false })
42
48
  created_by: number;
@@ -27,7 +27,10 @@ export class AccommodationWorkflow extends BaseModel {
27
27
  current_level: number;
28
28
 
29
29
  @Column({ type: 'varchar', length: 500, nullable: true })
30
- content: string;
30
+ content: string;
31
+ @Column({ type: "varchar", length: 500, nullable: true })
32
+ content_ar: string | null;
33
+
31
34
 
32
35
  @Column({
33
36
  type: 'enum',
@@ -35,7 +38,10 @@ export class AccommodationWorkflow extends BaseModel {
35
38
  default: AccommodationWorkFlowStatus.Pending,
36
39
  nullable: false
37
40
  })
38
- status: AccommodationWorkFlowStatus;
41
+ status: AccommodationWorkFlowStatus;
42
+ @Column({ type: "varchar", length: 100, nullable: true })
43
+ status_ar: string | null;
44
+
39
45
 
40
46
  @Column({ type: 'int', nullable: true })
41
47
  step_order: number;
@@ -29,7 +29,10 @@ export class AirportEntryPermitChat extends BaseModel {
29
29
  role_id: number | null;
30
30
 
31
31
  @Column({ type: 'text', nullable: false })
32
- message: string;
32
+ message: string;
33
+ @Column({ type: "text", nullable: true })
34
+ message_ar: string | null;
35
+
33
36
 
34
37
  @Column({
35
38
  type: 'enum',
@@ -40,7 +43,10 @@ export class AirportEntryPermitChat extends BaseModel {
40
43
  messageType: AirportEntryPermitMessageTypes;
41
44
 
42
45
  @Column({ type: 'text', nullable: true })
43
- status: string;
46
+ status: string;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
+
44
50
 
45
51
  constructor(
46
52
  request_id: number,
@@ -19,10 +19,16 @@ export class AirportEntryPermitWorkFlow extends BaseModel {
19
19
  sub_service_id: number | null;
20
20
 
21
21
  @Column({ type: 'varchar', length: 500, nullable: false })
22
- content: string;
22
+ content: string;
23
+ @Column({ type: "varchar", length: 500, nullable: true })
24
+ content_ar: string | null;
25
+
23
26
 
24
27
  @Column({ type: 'enum', enum: AirportEntryPermitWorkFlowStatus, default: AirportEntryPermitWorkFlowStatus.NOT_YET_STARTED, nullable: false })
25
- status: AirportEntryPermitWorkFlowStatus;
28
+ status: AirportEntryPermitWorkFlowStatus;
29
+ @Column({ type: "varchar", length: 100, nullable: true })
30
+ status_ar: string | null;
31
+
26
32
 
27
33
  @Column({ type: 'integer', nullable: true })
28
34
  user_id: number | null;
@@ -31,7 +31,10 @@ export class AnnualTrainingPlanRequestChat extends BaseModel {
31
31
  user_id: number;
32
32
 
33
33
  @Column({ type: "text", nullable: false })
34
- message: string;
34
+ message: string;
35
+ @Column({ type: "text", nullable: true })
36
+ message_ar: string | null;
37
+
35
38
 
36
39
  @Column({ type: "integer", nullable: true })
37
40
  approver_role_id: number | null;
@@ -48,7 +51,10 @@ export class AnnualTrainingPlanRequestChat extends BaseModel {
48
51
  is_internal: boolean;
49
52
 
50
53
  @Column({ type: "text", nullable: false })
51
- status: string;
54
+ status: string;
55
+ @Column({ type: "varchar", length: 100, nullable: true })
56
+ status_ar: string | null;
57
+
52
58
 
53
59
  constructor(
54
60
  request_id: number,
@@ -23,7 +23,10 @@ export class AnnualTrainingPlanWorkFlow extends BaseModel {
23
23
  order: number | null;
24
24
 
25
25
  @Column({ type: "varchar", length: 255, nullable: false })
26
- content: string;
26
+ content: string;
27
+ @Column({ type: "varchar", length: 500, nullable: true })
28
+ content_ar: string | null;
29
+
27
30
 
28
31
  @Column({ type: "integer", nullable: true })
29
32
  approver_role_id: number | null;
@@ -40,7 +43,10 @@ export class AnnualTrainingPlanWorkFlow extends BaseModel {
40
43
  default: AnnualTrainingPlanWorkFlowStatus.PENDING,
41
44
  nullable: false
42
45
  })
43
- status: AnnualTrainingPlanWorkFlowStatus;
46
+ status: AnnualTrainingPlanWorkFlowStatus;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
+
44
50
 
45
51
  constructor(
46
52
  request_id: number,
@@ -28,7 +28,10 @@ export class AssignTasksEmpRequestChat extends BaseModel {
28
28
  role_id: number;
29
29
 
30
30
  @Column({ type: 'text', nullable: false })
31
- message: string;
31
+ message: string;
32
+ @Column({ type: "text", nullable: true })
33
+ message_ar: string | null;
34
+
32
35
 
33
36
  @Column({
34
37
  type: 'enum',
@@ -39,7 +42,10 @@ export class AssignTasksEmpRequestChat extends BaseModel {
39
42
  messageType: AssignTasksEmpMessageType;
40
43
 
41
44
  @Column({ type: 'text', nullable: true })
42
- status: string | null;
45
+ status: string | null;
46
+ @Column({ type: "varchar", length: 100, nullable: true })
47
+ status_ar: string | null;
48
+
43
49
 
44
50
  constructor(
45
51
  request_id: number,
@@ -20,10 +20,16 @@ export class AssignTasksEmpWorkFlow extends BaseModel {
20
20
  sub_service_id: number | null;
21
21
 
22
22
  @Column({ type: 'varchar', length: 500, nullable: false })
23
- content: string;
23
+ content: string;
24
+ @Column({ type: "varchar", length: 500, nullable: true })
25
+ content_ar: string | null;
26
+
24
27
 
25
28
  @Column({ type: 'enum', enum: AssignTasksEmpWorkFlowStatus, default: AssignTasksEmpWorkFlowStatus.NOT_YET_STARTED, nullable: false })
26
- status: AssignTasksEmpWorkFlowStatus;
29
+ status: AssignTasksEmpWorkFlowStatus;
30
+ @Column({ type: "varchar", length: 100, nullable: true })
31
+ status_ar: string | null;
32
+
27
33
 
28
34
  @Column({ type: 'integer', nullable: true })
29
35
  user_id: number | null;
@@ -24,13 +24,19 @@ export class ComplaintLostPropertyReportChat extends BaseModel {
24
24
  user_id: number;
25
25
 
26
26
  @Column({ type: "text", nullable: false })
27
- message: string;
27
+ message: string;
28
+ @Column({ type: "text", nullable: true })
29
+ message_ar: string | null;
30
+
28
31
 
29
32
  @Column({ type: "int", nullable: true })
30
33
  approver_role_id: number | null;
31
34
 
32
35
  @Column({ type: "varchar", length: 255, nullable: false, default: "Pending" })
33
- status: string;
36
+ status: string;
37
+ @Column({ type: "varchar", length: 100, nullable: true })
38
+ status_ar: string | null;
39
+
34
40
 
35
41
  @Column({
36
42
  type: "enum",
@@ -19,10 +19,16 @@ export class ComplaintLostPropertyReportWorkflow extends BaseModel {
19
19
  current_level: number;
20
20
 
21
21
  @Column({ type: "varchar", length: 500, nullable: true })
22
- content: string;
22
+ content: string;
23
+ @Column({ type: "varchar", length: 500, nullable: true })
24
+ content_ar: string | null;
25
+
23
26
 
24
27
  @Column({ type: "varchar", length: 50, nullable: false })
25
- status: string;
28
+ status: string;
29
+ @Column({ type: "varchar", length: 100, nullable: true })
30
+ status_ar: string | null;
31
+
26
32
 
27
33
  @Column({ type: "int", nullable: true })
28
34
  step_order: number;
@@ -29,7 +29,10 @@ export class DutyMissionRequestChat extends BaseModel {
29
29
  role_id: number;
30
30
 
31
31
  @Column({ type: 'text', nullable: false })
32
- message: string;
32
+ message: string;
33
+ @Column({ type: "text", nullable: true })
34
+ message_ar: string | null;
35
+
33
36
 
34
37
  @Column({
35
38
  type: 'enum',
@@ -40,7 +43,10 @@ export class DutyMissionRequestChat extends BaseModel {
40
43
  messageType: DutyMissionMessageType;
41
44
 
42
45
  @Column({ type: 'text', nullable: true })
43
- status: string | null;
46
+ status: string | null;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
+
44
50
 
45
51
  constructor(
46
52
  request_id: number,
@@ -20,10 +20,16 @@ export class DutyMissionWorkFlow extends BaseModel {
20
20
  sub_service_id: number | null;
21
21
 
22
22
  @Column({ type: 'varchar', length: 500, nullable: false })
23
- content: string;
23
+ content: string;
24
+ @Column({ type: "varchar", length: 500, nullable: true })
25
+ content_ar: string | null;
26
+
24
27
 
25
28
  @Column({ type: 'enum', enum: DutyMissionWorkFlowStatus, default: DutyMissionWorkFlowStatus.NOT_YET_STARTED, nullable: false })
26
- status: DutyMissionWorkFlowStatus;
29
+ status: DutyMissionWorkFlowStatus;
30
+ @Column({ type: "varchar", length: 100, nullable: true })
31
+ status_ar: string | null;
32
+
27
33
 
28
34
  @Column({ type: 'integer', nullable: true })
29
35
  user_id: number | null;
@@ -27,7 +27,10 @@ export class EventSupportRequestChat extends BaseModel {
27
27
  role_id: number | null;
28
28
 
29
29
  @Column({ type: "text", nullable: false })
30
- message: string;
30
+ message: string;
31
+ @Column({ type: "text", nullable: true })
32
+ message_ar: string | null;
33
+
31
34
 
32
35
  @Column({
33
36
  type: "enum",
@@ -38,5 +41,8 @@ export class EventSupportRequestChat extends BaseModel {
38
41
  messageType: EventSupportMessageType;
39
42
 
40
43
  @Column({ type: "text", nullable: true })
41
- status: string | null;
44
+ status: string | null;
45
+ @Column({ type: "varchar", length: 100, nullable: true })
46
+ status_ar: string | null;
47
+
42
48
  }
@@ -19,10 +19,16 @@ export class EventSupportWorkFlow extends BaseModel {
19
19
  sub_service_id: number | null;
20
20
 
21
21
  @Column({ type: "varchar", length: 500, nullable: false })
22
- content: string;
22
+ content: string;
23
+ @Column({ type: "varchar", length: 500, nullable: true })
24
+ content_ar: string | null;
25
+
23
26
 
24
27
  @Column({ type: "enum", enum: EventSupportWorkFlowStatus, default: EventSupportWorkFlowStatus.NOT_YET_STARTED, nullable: false })
25
- status: EventSupportWorkFlowStatus;
28
+ status: EventSupportWorkFlowStatus;
29
+ @Column({ type: "varchar", length: 100, nullable: true })
30
+ status_ar: string | null;
31
+
26
32
 
27
33
  @Column({ type: "integer", nullable: true })
28
34
  user_id: number | null;
@@ -27,7 +27,10 @@ export class FollowUpReportChat extends BaseModel {
27
27
  role_id: number;
28
28
 
29
29
  @Column({ type: 'text', nullable: false })
30
- message: string;
30
+ message: string;
31
+ @Column({ type: "text", nullable: true })
32
+ message_ar: string | null;
33
+
31
34
 
32
35
  @Column({
33
36
  type: 'enum',
@@ -38,6 +41,9 @@ export class FollowUpReportChat extends BaseModel {
38
41
  messageType: FollowUpReportMessageType;
39
42
 
40
43
  @Column({ type: 'text', nullable: true })
41
- status: string;
44
+ status: string;
45
+ @Column({ type: "varchar", length: 100, nullable: true })
46
+ status_ar: string | null;
47
+
42
48
  }
43
49
 
@@ -19,7 +19,10 @@ export class FollowUpReportWorkFlow extends BaseModel {
19
19
  sub_service_id: number | null;
20
20
 
21
21
  @Column({ type: 'varchar', length: 500, nullable: false })
22
- content: string;
22
+ content: string;
23
+ @Column({ type: "varchar", length: 500, nullable: true })
24
+ content_ar: string | null;
25
+
23
26
 
24
27
  @Column({
25
28
  type: 'enum',
@@ -27,7 +30,10 @@ export class FollowUpReportWorkFlow extends BaseModel {
27
30
  default: FollowUpReportWorkFlowStatus.NOT_YET_STARTED,
28
31
  nullable: false,
29
32
  })
30
- status: FollowUpReportWorkFlowStatus;
33
+ status: FollowUpReportWorkFlowStatus;
34
+ @Column({ type: "varchar", length: 100, nullable: true })
35
+ status_ar: string | null;
36
+
31
37
 
32
38
  @Column({ type: 'integer', nullable: true })
33
39
  user_id: number | null;
@@ -27,7 +27,10 @@ export class FoodRequestChat extends BaseModel {
27
27
  role_id: number | null;
28
28
 
29
29
  @Column({ type: "text", nullable: false })
30
- message: string;
30
+ message: string;
31
+ @Column({ type: "text", nullable: true })
32
+ message_ar: string | null;
33
+
31
34
 
32
35
  @Column({
33
36
  type: "enum",
@@ -38,5 +41,8 @@ export class FoodRequestChat extends BaseModel {
38
41
  messageType: FoodMessageType;
39
42
 
40
43
  @Column({ type: "text", nullable: true })
41
- status: string | null;
44
+ status: string | null;
45
+ @Column({ type: "varchar", length: 100, nullable: true })
46
+ status_ar: string | null;
47
+
42
48
  }
@@ -19,7 +19,10 @@ export class FoodWorkFlow extends BaseModel {
19
19
  sub_service_id: number | null;
20
20
 
21
21
  @Column({ type: "varchar", length: 500, nullable: false })
22
- content: string;
22
+ content: string;
23
+ @Column({ type: "varchar", length: 500, nullable: true })
24
+ content_ar: string | null;
25
+
23
26
 
24
27
  @Column({
25
28
  type: "enum",
@@ -27,7 +30,10 @@ export class FoodWorkFlow extends BaseModel {
27
30
  default: FoodWorkFlowStatus.NOT_YET_STARTED,
28
31
  nullable: false,
29
32
  })
30
- status: FoodWorkFlowStatus;
33
+ status: FoodWorkFlowStatus;
34
+ @Column({ type: "varchar", length: 100, nullable: true })
35
+ status_ar: string | null;
36
+
31
37
 
32
38
  @Column({ type: "integer", nullable: true })
33
39
  user_id: number | null;
@@ -27,7 +27,10 @@ export class HallRequestChat extends BaseModel {
27
27
  role_id: number | null;
28
28
 
29
29
  @Column({ type: "text", nullable: false })
30
- message: string;
30
+ message: string;
31
+ @Column({ type: "text", nullable: true })
32
+ message_ar: string | null;
33
+
31
34
 
32
35
  @Column({
33
36
  type: "enum",
@@ -38,5 +41,8 @@ export class HallRequestChat extends BaseModel {
38
41
  messageType: HallMessageType;
39
42
 
40
43
  @Column({ type: "text", nullable: true })
41
- status: string | null;
44
+ status: string | null;
45
+ @Column({ type: "varchar", length: 100, nullable: true })
46
+ status_ar: string | null;
47
+
42
48
  }
@@ -19,7 +19,10 @@ export class HallWorkFlow extends BaseModel {
19
19
  sub_service_id: number | null;
20
20
 
21
21
  @Column({ type: "varchar", length: 500, nullable: false })
22
- content: string;
22
+ content: string;
23
+ @Column({ type: "varchar", length: 500, nullable: true })
24
+ content_ar: string | null;
25
+
23
26
 
24
27
  @Column({
25
28
  type: "enum",
@@ -27,7 +30,10 @@ export class HallWorkFlow extends BaseModel {
27
30
  default: HallWorkFlowStatus.NOT_YET_STARTED,
28
31
  nullable: false,
29
32
  })
30
- status: HallWorkFlowStatus;
33
+ status: HallWorkFlowStatus;
34
+ @Column({ type: "varchar", length: 100, nullable: true })
35
+ status_ar: string | null;
36
+
31
37
 
32
38
  @Column({ type: "integer", nullable: true })
33
39
  user_id: number | null;
@@ -29,7 +29,10 @@ export class HotelRequestChat extends BaseModel {
29
29
  role_id: number | null;
30
30
 
31
31
  @Column({ type: 'text', nullable: false })
32
- message: string;
32
+ message: string;
33
+ @Column({ type: "text", nullable: true })
34
+ message_ar: string | null;
35
+
33
36
 
34
37
  @Column({
35
38
  type: 'enum',
@@ -40,7 +43,10 @@ export class HotelRequestChat extends BaseModel {
40
43
  messageType: HotelMessageTypes;
41
44
 
42
45
  @Column({ type: 'text', nullable: true })
43
- status: string;
46
+ status: string;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
+
44
50
 
45
51
  constructor(
46
52
  request_id: number,
@@ -20,7 +20,10 @@ export class HotelWorkFlow extends BaseModel {
20
20
  sub_service_id: number | null;
21
21
 
22
22
  @Column({ type: 'varchar', length: 500, nullable: false })
23
- content: string;
23
+ content: string;
24
+ @Column({ type: "varchar", length: 500, nullable: true })
25
+ content_ar: string | null;
26
+
24
27
 
25
28
  @Column({ type: 'integer', nullable: true })
26
29
  level: number | null;
@@ -32,7 +35,10 @@ export class HotelWorkFlow extends BaseModel {
32
35
  approver_user_id: number | null;
33
36
 
34
37
  @Column({ type: 'enum', enum: HotelWorkFlowStatus, default: HotelWorkFlowStatus.NOT_YET_STARTED, nullable: false })
35
- status: HotelWorkFlowStatus;
38
+ status: HotelWorkFlowStatus;
39
+ @Column({ type: "varchar", length: 100, nullable: true })
40
+ status_ar: string | null;
41
+
36
42
 
37
43
  constructor(
38
44
  request_id: number,
@@ -33,13 +33,19 @@ export class HousingContractCancelChat extends BaseModel {
33
33
  user_id: number;
34
34
 
35
35
  @Column({ type: 'text', nullable: false })
36
- message: string;
36
+ message: string;
37
+ @Column({ type: "text", nullable: true })
38
+ message_ar: string | null;
39
+
37
40
 
38
41
  @Column({ type: 'int', nullable: true })
39
42
  approver_role_id: number | null;
40
43
 
41
44
  @Column({ type: 'varchar', length: 255, nullable: false, default: 'Pending' })
42
- status: string;
45
+ status: string;
46
+ @Column({ type: "varchar", length: 100, nullable: true })
47
+ status_ar: string | null;
48
+
43
49
 
44
50
  @Column({ type: 'varchar', length: 20, nullable: false })
45
51
  message_type: string;
@@ -28,10 +28,16 @@ export class HousingContractCancelWorkflow extends BaseModel {
28
28
  current_level: number;
29
29
 
30
30
  @Column({ type: 'varchar', length: 500, nullable: true })
31
- content: string;
31
+ content: string;
32
+ @Column({ type: "varchar", length: 500, nullable: true })
33
+ content_ar: string | null;
34
+
32
35
 
33
36
  @Column({ type: 'varchar', length: 50, nullable: false })
34
- status: string;
37
+ status: string;
38
+ @Column({ type: "varchar", length: 100, nullable: true })
39
+ status_ar: string | null;
40
+
35
41
 
36
42
  @Column({ type: 'int', nullable: true })
37
43
  step_order: number;
@@ -35,14 +35,20 @@ export class HousingContractRenewalChat extends BaseModel {
35
35
  user_id: number;
36
36
 
37
37
  @Column({ type: 'text', nullable: false })
38
- message: string;
38
+ message: string;
39
+ @Column({ type: "text", nullable: true })
40
+ message_ar: string | null;
41
+
39
42
 
40
43
  /** Role context for the chat line (e.g. active role when message was posted) */
41
44
  @Column({ type: 'int', nullable: true })
42
45
  approver_role_id: number | null;
43
46
 
44
47
  @Column({ type: 'varchar', length: 255, nullable: false, default: 'Pending' })
45
- status: string;
48
+ status: string;
49
+ @Column({ type: "varchar", length: 100, nullable: true })
50
+ status_ar: string | null;
51
+
46
52
 
47
53
  @Column({ type: 'varchar', length: 20, nullable: false })
48
54
  message_type: string;
@@ -28,10 +28,16 @@ export class HousingContractRenewalWorkflow extends BaseModel {
28
28
  current_level: number;
29
29
 
30
30
  @Column({ type: 'varchar', length: 500, nullable: true })
31
- content: string;
31
+ content: string;
32
+ @Column({ type: "varchar", length: 500, nullable: true })
33
+ content_ar: string | null;
34
+
32
35
 
33
36
  @Column({ type: 'varchar', length: 50, nullable: false })
34
- status: string;
37
+ status: string;
38
+ @Column({ type: "varchar", length: 100, nullable: true })
39
+ status_ar: string | null;
40
+
35
41
 
36
42
  @Column({ type: 'int', nullable: true })
37
43
  step_order: number;
@@ -34,7 +34,10 @@ export class HrServiceRequestChat extends BaseModel {
34
34
  user_id: number;
35
35
 
36
36
  @Column({ type: "text", nullable: false })
37
- message: string;
37
+ message: string;
38
+ @Column({ type: "text", nullable: true })
39
+ message_ar: string | null;
40
+
38
41
 
39
42
  @Column({ type: "integer", nullable: true })
40
43
  approver_role_id: number | null;
@@ -56,7 +59,10 @@ export class HrServiceRequestChat extends BaseModel {
56
59
  default: HrServiceChatStatus.PENDING,
57
60
  nullable: false
58
61
  })
59
- status: HrServiceChatStatus;
62
+ status: HrServiceChatStatus;
63
+ @Column({ type: "varchar", length: 100, nullable: true })
64
+ status_ar: string | null;
65
+
60
66
 
61
67
  constructor(
62
68
  request_id: number,