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

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 (119) hide show
  1. package/dist/data-source.js +2 -0
  2. package/dist/i18n/workflow-chat-i18n.json +45 -41
  3. package/dist/i18n/workflow-chat-message.builder.d.ts +9 -0
  4. package/dist/i18n/workflow-chat-message.builder.js +60 -27
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.js +1 -0
  7. package/dist/models/AppealAgainstAdministrativeDecisionRequestModel.d.ts +4 -4
  8. package/dist/models/AppealAgainstAdministrativeDecisionRequestModel.js +8 -8
  9. package/dist/models/CyberSecurityAuditRequestModel.d.ts +2 -0
  10. package/dist/models/CyberSecurityAuditRequestModel.js +8 -0
  11. package/dist/models/CyberSecurityRiskManagementRiskModel.d.ts +2 -0
  12. package/dist/models/CyberSecurityRiskManagementRiskModel.js +8 -0
  13. package/dist/models/FollowUpReportItemModel.d.ts +16 -0
  14. package/dist/models/FollowUpReportItemModel.js +74 -0
  15. package/dist/models/FollowUpReportRequestModel.d.ts +5 -0
  16. package/dist/models/FollowUpReportRequestModel.js +20 -0
  17. package/dist/models/MaintenanceRequestModel.d.ts +3 -1
  18. package/dist/models/MaintenanceRequestModel.js +2 -0
  19. package/dist/models/RequestATenderRequestModel.d.ts +2 -0
  20. package/dist/models/RequestATenderRequestModel.js +8 -0
  21. package/dist/models/ResidentialUnitRentalRequestModel.d.ts +1 -1
  22. package/dist/models/ResidentialUnitRentalRequestModel.js +2 -2
  23. package/package.json +1 -1
  24. package/sql/add_all_workflow_chat_arabic_columns.sql +1 -1
  25. package/sql/caa_api_payload_changes_2026_07.sql +32 -0
  26. package/src/data-source.ts +2 -0
  27. package/src/i18n/workflow-chat-i18n.json +45 -41
  28. package/src/i18n/workflow-chat-message.builder.ts +77 -26
  29. package/src/index.ts +1 -0
  30. package/src/models/AccessCardChatModel.ts +6 -6
  31. package/src/models/AccessCardWorkflowModel.ts +6 -6
  32. package/src/models/AccommodationChatModel.ts +6 -6
  33. package/src/models/AccommodationWorkflowModel.ts +6 -6
  34. package/src/models/AirportEntryPermitChatModel.ts +6 -6
  35. package/src/models/AirportEntryPermitWorkflowModel.ts +6 -6
  36. package/src/models/AnnualTrainingPlanChatModel.ts +6 -6
  37. package/src/models/AnnualTrainingPlanWorkflowModel.ts +6 -6
  38. package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +8 -8
  39. package/src/models/AssignTasksEmpChatModel.ts +6 -6
  40. package/src/models/AssignTasksEmpWorkflowModel.ts +6 -6
  41. package/src/models/ComplaintLostPropertyReportChatModel.ts +6 -6
  42. package/src/models/ComplaintLostPropertyReportWorkflowModel.ts +6 -6
  43. package/src/models/CyberSecurityAuditRequestModel.ts +6 -0
  44. package/src/models/CyberSecurityRiskManagementRiskModel.ts +6 -0
  45. package/src/models/DutyMissionChatModel.ts +6 -6
  46. package/src/models/DutyMissionWorkflowModel.ts +6 -6
  47. package/src/models/EventSupportChatModel.ts +6 -6
  48. package/src/models/EventSupportWorkflowModel.ts +6 -6
  49. package/src/models/FollowUpReportChatModel.ts +6 -6
  50. package/src/models/FollowUpReportItemModel.ts +47 -0
  51. package/src/models/FollowUpReportRequestModel.ts +15 -0
  52. package/src/models/FollowUpReportWorkflowModel.ts +6 -6
  53. package/src/models/FoodChatModel.ts +6 -6
  54. package/src/models/FoodWorkflowModel.ts +6 -6
  55. package/src/models/HallChatModel.ts +6 -6
  56. package/src/models/HallWorkflowModel.ts +6 -6
  57. package/src/models/HotelChatModel.ts +6 -6
  58. package/src/models/HotelWorkFlowModel.ts +6 -6
  59. package/src/models/HousingContractCancelChatModel.ts +6 -6
  60. package/src/models/HousingContractCancelWorkflowModel.ts +6 -6
  61. package/src/models/HousingContractRenewalChatModel.ts +6 -6
  62. package/src/models/HousingContractRenewalWorkflowModel.ts +6 -6
  63. package/src/models/HrServiceChatModel.ts +6 -6
  64. package/src/models/HrServiceWorkflowModel.ts +6 -6
  65. package/src/models/ITRequestChatModel.ts +6 -6
  66. package/src/models/ImportExportMaterialChatModel.ts +6 -6
  67. package/src/models/ImportExportMaterialWorkflowModel.ts +6 -6
  68. package/src/models/InformationSecurityChatModel.ts +6 -6
  69. package/src/models/InformationSecurityWorkflowModel.ts +6 -6
  70. package/src/models/ItWorkflowModel.ts +6 -6
  71. package/src/models/LegalComplaintChatModel.ts +6 -6
  72. package/src/models/LegalComplaintWorkflowModel.ts +6 -6
  73. package/src/models/LegalConsultationChatModel.ts +6 -6
  74. package/src/models/LegalConsultationWorkflowModel.ts +6 -6
  75. package/src/models/LegalContractReviewChatModel.ts +6 -6
  76. package/src/models/LegalContractReviewWorkflowModel.ts +6 -6
  77. package/src/models/LogisticsChatModel.ts +6 -6
  78. package/src/models/LogisticsVehicleMaintenanceChatModel.ts +6 -6
  79. package/src/models/LogisticsVehicleMaintenanceWorkflowModel.ts +6 -6
  80. package/src/models/LogisticsWorkflowModel.ts +6 -6
  81. package/src/models/MaintenanceChatModel.ts +6 -6
  82. package/src/models/MaintenanceExternalStationsChatModel.ts +6 -6
  83. package/src/models/MaintenanceExternalStationsWorkflowModel.ts +6 -6
  84. package/src/models/MaintenanceRequestModel.ts +2 -0
  85. package/src/models/MaintenanceWorkflowModel.ts +6 -6
  86. package/src/models/MediaPublicationsChatModel.ts +6 -6
  87. package/src/models/MediaPublicationsWorkflowModel.ts +6 -6
  88. package/src/models/MultiPurposeHallChatModel.ts +6 -6
  89. package/src/models/MultiPurposeHallWorkflowModel.ts +6 -6
  90. package/src/models/RequestATenderRequestModel.ts +6 -0
  91. package/src/models/RequestForCoverageChatModel.ts +6 -6
  92. package/src/models/RequestForCoverageWorkflowModel.ts +6 -6
  93. package/src/models/RequestForPresidentsCoverageChatModel.ts +6 -6
  94. package/src/models/RequestForPresidentsCoverageWorkflowModel.ts +6 -6
  95. package/src/models/ResidentialUnitRentalChatModel.ts +6 -6
  96. package/src/models/ResidentialUnitRentalRequestModel.ts +2 -2
  97. package/src/models/ResidentialUnitRentalWorkflowModel.ts +6 -6
  98. package/src/models/RespondToEnquiriesChatModel.ts +6 -6
  99. package/src/models/RespondToEnquiriesWorkflowModel.ts +6 -6
  100. package/src/models/ScholarshipChatModel.ts +6 -6
  101. package/src/models/ScholarshipWorkflowModel.ts +6 -6
  102. package/src/models/SecurityAwarenessChatModel.ts +6 -6
  103. package/src/models/SecurityAwarenessWorkflowModel.ts +6 -6
  104. package/src/models/SecurityThreatChatModel.ts +6 -6
  105. package/src/models/SecurityThreatWorkflowModel.ts +6 -6
  106. package/src/models/ServiceExtensionAfter60ChatModel.ts +6 -6
  107. package/src/models/ServiceExtensionAfter60WorkflowModel.ts +6 -6
  108. package/src/models/StudyLeaveChatModel.ts +6 -6
  109. package/src/models/StudyLeaveWorkflowModel.ts +6 -6
  110. package/src/models/TrainingChatModel.ts +6 -6
  111. package/src/models/TrainingRoomBookingChatModel.ts +6 -6
  112. package/src/models/TrainingRoomBookingWorkflowModel.ts +6 -6
  113. package/src/models/TrainingWorkflowModel.ts +6 -6
  114. package/src/models/VipHallChatModel.ts +6 -6
  115. package/src/models/VipHallWorkflowModel.ts +6 -6
  116. package/src/models/VpnRequestChatModel.ts +6 -6
  117. package/src/models/VpnWorkflowModel.ts +6 -6
  118. package/src/models/WorkingHoursExtensionChatModel.ts +6 -6
  119. package/src/models/WorkingHoursExtensionWorkflowModel.ts +6 -6
@@ -27,9 +27,9 @@ export class HallRequestChat extends BaseModel {
27
27
  role_id: number | null;
28
28
 
29
29
  @Column({ type: "text", nullable: false })
30
- message: string;
31
- @Column({ type: "text", nullable: true })
32
- message_ar: string | null;
30
+ message: string;
31
+ @Column({ type: "text", nullable: true })
32
+ message_ar: string | null;
33
33
 
34
34
 
35
35
  @Column({
@@ -41,8 +41,8 @@ export class HallRequestChat extends BaseModel {
41
41
  messageType: HallMessageType;
42
42
 
43
43
  @Column({ type: "text", nullable: true })
44
- status: string | null;
45
- @Column({ type: "varchar", length: 100, nullable: true })
46
- status_ar: string | null;
44
+ status: string | null;
45
+ @Column({ type: "varchar", length: 100, nullable: true })
46
+ status_ar: string | null;
47
47
 
48
48
  }
@@ -19,9 +19,9 @@ 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;
23
- @Column({ type: "varchar", length: 500, nullable: true })
24
- content_ar: string | null;
22
+ content: string;
23
+ @Column({ type: "varchar", length: 500, nullable: true })
24
+ content_ar: string | null;
25
25
 
26
26
 
27
27
  @Column({
@@ -30,9 +30,9 @@ export class HallWorkFlow extends BaseModel {
30
30
  default: HallWorkFlowStatus.NOT_YET_STARTED,
31
31
  nullable: false,
32
32
  })
33
- status: HallWorkFlowStatus;
34
- @Column({ type: "varchar", length: 100, nullable: true })
35
- status_ar: string | null;
33
+ status: HallWorkFlowStatus;
34
+ @Column({ type: "varchar", length: 100, nullable: true })
35
+ status_ar: string | null;
36
36
 
37
37
 
38
38
  @Column({ type: "integer", nullable: true })
@@ -29,9 +29,9 @@ export class HotelRequestChat extends BaseModel {
29
29
  role_id: number | null;
30
30
 
31
31
  @Column({ type: 'text', nullable: false })
32
- message: string;
33
- @Column({ type: "text", nullable: true })
34
- message_ar: string | null;
32
+ message: string;
33
+ @Column({ type: "text", nullable: true })
34
+ message_ar: string | null;
35
35
 
36
36
 
37
37
  @Column({
@@ -43,9 +43,9 @@ export class HotelRequestChat extends BaseModel {
43
43
  messageType: HotelMessageTypes;
44
44
 
45
45
  @Column({ type: 'text', nullable: true })
46
- status: string;
47
- @Column({ type: "varchar", length: 100, nullable: true })
48
- status_ar: string | null;
46
+ status: string;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
49
 
50
50
 
51
51
  constructor(
@@ -20,9 +20,9 @@ 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;
24
- @Column({ type: "varchar", length: 500, nullable: true })
25
- content_ar: string | null;
23
+ content: string;
24
+ @Column({ type: "varchar", length: 500, nullable: true })
25
+ content_ar: string | null;
26
26
 
27
27
 
28
28
  @Column({ type: 'integer', nullable: true })
@@ -35,9 +35,9 @@ export class HotelWorkFlow extends BaseModel {
35
35
  approver_user_id: number | null;
36
36
 
37
37
  @Column({ type: 'enum', enum: HotelWorkFlowStatus, default: HotelWorkFlowStatus.NOT_YET_STARTED, nullable: false })
38
- status: HotelWorkFlowStatus;
39
- @Column({ type: "varchar", length: 100, nullable: true })
40
- status_ar: string | null;
38
+ status: HotelWorkFlowStatus;
39
+ @Column({ type: "varchar", length: 100, nullable: true })
40
+ status_ar: string | null;
41
41
 
42
42
 
43
43
  constructor(
@@ -33,18 +33,18 @@ export class HousingContractCancelChat extends BaseModel {
33
33
  user_id: number;
34
34
 
35
35
  @Column({ type: 'text', nullable: false })
36
- message: string;
37
- @Column({ type: "text", nullable: true })
38
- message_ar: string | null;
36
+ message: string;
37
+ @Column({ type: "text", nullable: true })
38
+ message_ar: string | null;
39
39
 
40
40
 
41
41
  @Column({ type: 'int', nullable: true })
42
42
  approver_role_id: number | null;
43
43
 
44
44
  @Column({ type: 'varchar', length: 255, nullable: false, default: 'Pending' })
45
- status: string;
46
- @Column({ type: "varchar", length: 100, nullable: true })
47
- status_ar: string | null;
45
+ status: string;
46
+ @Column({ type: "varchar", length: 100, nullable: true })
47
+ status_ar: string | null;
48
48
 
49
49
 
50
50
  @Column({ type: 'varchar', length: 20, nullable: false })
@@ -28,15 +28,15 @@ export class HousingContractCancelWorkflow extends BaseModel {
28
28
  current_level: number;
29
29
 
30
30
  @Column({ type: 'varchar', length: 500, nullable: true })
31
- content: string;
32
- @Column({ type: "varchar", length: 500, nullable: true })
33
- content_ar: string | null;
31
+ content: string;
32
+ @Column({ type: "varchar", length: 500, nullable: true })
33
+ content_ar: string | null;
34
34
 
35
35
 
36
36
  @Column({ type: 'varchar', length: 50, nullable: false })
37
- status: string;
38
- @Column({ type: "varchar", length: 100, nullable: true })
39
- status_ar: string | null;
37
+ status: string;
38
+ @Column({ type: "varchar", length: 100, nullable: true })
39
+ status_ar: string | null;
40
40
 
41
41
 
42
42
  @Column({ type: 'int', nullable: true })
@@ -35,9 +35,9 @@ export class HousingContractRenewalChat extends BaseModel {
35
35
  user_id: number;
36
36
 
37
37
  @Column({ type: 'text', nullable: false })
38
- message: string;
39
- @Column({ type: "text", nullable: true })
40
- message_ar: string | null;
38
+ message: string;
39
+ @Column({ type: "text", nullable: true })
40
+ message_ar: string | null;
41
41
 
42
42
 
43
43
  /** Role context for the chat line (e.g. active role when message was posted) */
@@ -45,9 +45,9 @@ export class HousingContractRenewalChat extends BaseModel {
45
45
  approver_role_id: number | null;
46
46
 
47
47
  @Column({ type: 'varchar', length: 255, nullable: false, default: 'Pending' })
48
- status: string;
49
- @Column({ type: "varchar", length: 100, nullable: true })
50
- status_ar: string | null;
48
+ status: string;
49
+ @Column({ type: "varchar", length: 100, nullable: true })
50
+ status_ar: string | null;
51
51
 
52
52
 
53
53
  @Column({ type: 'varchar', length: 20, nullable: false })
@@ -28,15 +28,15 @@ export class HousingContractRenewalWorkflow extends BaseModel {
28
28
  current_level: number;
29
29
 
30
30
  @Column({ type: 'varchar', length: 500, nullable: true })
31
- content: string;
32
- @Column({ type: "varchar", length: 500, nullable: true })
33
- content_ar: string | null;
31
+ content: string;
32
+ @Column({ type: "varchar", length: 500, nullable: true })
33
+ content_ar: string | null;
34
34
 
35
35
 
36
36
  @Column({ type: 'varchar', length: 50, nullable: false })
37
- status: string;
38
- @Column({ type: "varchar", length: 100, nullable: true })
39
- status_ar: string | null;
37
+ status: string;
38
+ @Column({ type: "varchar", length: 100, nullable: true })
39
+ status_ar: string | null;
40
40
 
41
41
 
42
42
  @Column({ type: 'int', nullable: true })
@@ -34,9 +34,9 @@ export class HrServiceRequestChat extends BaseModel {
34
34
  user_id: number;
35
35
 
36
36
  @Column({ type: "text", nullable: false })
37
- message: string;
38
- @Column({ type: "text", nullable: true })
39
- message_ar: string | null;
37
+ message: string;
38
+ @Column({ type: "text", nullable: true })
39
+ message_ar: string | null;
40
40
 
41
41
 
42
42
  @Column({ type: "integer", nullable: true })
@@ -59,9 +59,9 @@ export class HrServiceRequestChat extends BaseModel {
59
59
  default: HrServiceChatStatus.PENDING,
60
60
  nullable: false
61
61
  })
62
- status: HrServiceChatStatus;
63
- @Column({ type: "varchar", length: 100, nullable: true })
64
- status_ar: string | null;
62
+ status: HrServiceChatStatus;
63
+ @Column({ type: "varchar", length: 100, nullable: true })
64
+ status_ar: string | null;
65
65
 
66
66
 
67
67
  constructor(
@@ -23,9 +23,9 @@ export class HrServiceWorkFlow extends BaseModel {
23
23
  order: number | null;
24
24
 
25
25
  @Column({ type: "varchar", length: 255, nullable: false })
26
- content: string;
27
- @Column({ type: "varchar", length: 500, nullable: true })
28
- content_ar: string | null;
26
+ content: string;
27
+ @Column({ type: "varchar", length: 500, nullable: true })
28
+ content_ar: string | null;
29
29
 
30
30
 
31
31
  @Column({ type: "integer", nullable: true })
@@ -43,9 +43,9 @@ export class HrServiceWorkFlow extends BaseModel {
43
43
  default: HrServiceWorkFlowStatus.PENDING,
44
44
  nullable: false
45
45
  })
46
- status: HrServiceWorkFlowStatus;
47
- @Column({ type: "varchar", length: 100, nullable: true })
48
- status_ar: string | null;
46
+ status: HrServiceWorkFlowStatus;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
49
 
50
50
 
51
51
  constructor(
@@ -39,18 +39,18 @@ export class ITRequestChat extends BaseModel {
39
39
  role_id: number | null;
40
40
 
41
41
  @Column({ type: 'text', nullable: false })
42
- message: string;
43
- @Column({ type: "text", nullable: true })
44
- message_ar: string | null;
42
+ message: string;
43
+ @Column({ type: "text", nullable: true })
44
+ message_ar: string | null;
45
45
 
46
46
 
47
47
  @Column({ type: 'varchar', length: 20, nullable: false, default: ITHelpDeskMessageType.TEXT })
48
48
  message_type: string;
49
49
 
50
50
  @Column({ type: 'text', nullable: true })
51
- status: string | null;
52
- @Column({ type: "varchar", length: 100, nullable: true })
53
- status_ar: string | null;
51
+ status: string | null;
52
+ @Column({ type: "varchar", length: 100, nullable: true })
53
+ status_ar: string | null;
54
54
 
55
55
 
56
56
  @Column({ type: 'boolean', default: false })
@@ -32,18 +32,18 @@ export class ImportExportMaterialChat extends BaseModel {
32
32
  user_id: number;
33
33
 
34
34
  @Column({ type: "text", nullable: false })
35
- message: string;
36
- @Column({ type: "text", nullable: true })
37
- message_ar: string | null;
35
+ message: string;
36
+ @Column({ type: "text", nullable: true })
37
+ message_ar: string | null;
38
38
 
39
39
 
40
40
  @Column({ type: "int", nullable: true })
41
41
  approver_role_id: number | null;
42
42
 
43
43
  @Column({ type: "varchar", length: 255, nullable: false, default: "Pending" })
44
- status: string;
45
- @Column({ type: "varchar", length: 100, nullable: true })
46
- status_ar: string | null;
44
+ status: string;
45
+ @Column({ type: "varchar", length: 100, nullable: true })
46
+ status_ar: string | null;
47
47
 
48
48
 
49
49
  @Column({
@@ -19,15 +19,15 @@ export class ImportExportMaterialWorkflow extends BaseModel {
19
19
  current_level: number;
20
20
 
21
21
  @Column({ type: "varchar", length: 500, nullable: true })
22
- content: string;
23
- @Column({ type: "varchar", length: 500, nullable: true })
24
- content_ar: string | null;
22
+ content: string;
23
+ @Column({ type: "varchar", length: 500, nullable: true })
24
+ content_ar: string | null;
25
25
 
26
26
 
27
27
  @Column({ type: "varchar", length: 50, nullable: false })
28
- status: string;
29
- @Column({ type: "varchar", length: 100, nullable: true })
30
- status_ar: string | null;
28
+ status: string;
29
+ @Column({ type: "varchar", length: 100, nullable: true })
30
+ status_ar: string | null;
31
31
 
32
32
 
33
33
  @Column({ type: "int", nullable: true })
@@ -34,9 +34,9 @@ export class InformationSecurityRequestChat extends BaseModel {
34
34
  user_id: number;
35
35
 
36
36
  @Column({ type: "text", nullable: false })
37
- message: string;
38
- @Column({ type: "text", nullable: true })
39
- message_ar: string | null;
37
+ message: string;
38
+ @Column({ type: "text", nullable: true })
39
+ message_ar: string | null;
40
40
 
41
41
 
42
42
  @Column({ type: "integer", nullable: true })
@@ -59,9 +59,9 @@ export class InformationSecurityRequestChat extends BaseModel {
59
59
  default: InformationSecurityChatStatus.PENDING,
60
60
  nullable: false
61
61
  })
62
- status: InformationSecurityChatStatus;
63
- @Column({ type: "varchar", length: 100, nullable: true })
64
- status_ar: string | null;
62
+ status: InformationSecurityChatStatus;
63
+ @Column({ type: "varchar", length: 100, nullable: true })
64
+ status_ar: string | null;
65
65
 
66
66
 
67
67
  constructor(
@@ -23,9 +23,9 @@ export class InformationSecurityWorkFlow extends BaseModel {
23
23
  order: number | null;
24
24
 
25
25
  @Column({ type: "varchar", length: 255, nullable: false })
26
- content: string;
27
- @Column({ type: "varchar", length: 500, nullable: true })
28
- content_ar: string | null;
26
+ content: string;
27
+ @Column({ type: "varchar", length: 500, nullable: true })
28
+ content_ar: string | null;
29
29
 
30
30
 
31
31
  @Column({ type: "integer", nullable: true })
@@ -43,9 +43,9 @@ export class InformationSecurityWorkFlow extends BaseModel {
43
43
  default: InformationSecurityWorkFlowStatus.PENDING,
44
44
  nullable: false
45
45
  })
46
- status: InformationSecurityWorkFlowStatus;
47
- @Column({ type: "varchar", length: 100, nullable: true })
48
- status_ar: string | null;
46
+ status: InformationSecurityWorkFlowStatus;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
49
 
50
50
 
51
51
  constructor(
@@ -23,15 +23,15 @@ export class ItWorkFlow extends BaseModel {
23
23
  order: number | null;
24
24
 
25
25
  @Column({ type: 'varchar', length: 255, nullable: false })
26
- content: string;
27
- @Column({ type: "varchar", length: 500, nullable: true })
28
- content_ar: string | null;
26
+ content: string;
27
+ @Column({ type: "varchar", length: 500, nullable: true })
28
+ content_ar: string | null;
29
29
 
30
30
 
31
31
  @Column({ type: 'enum', enum: workFlowStatus, default: workFlowStatus.NOT_YET_STARTED, nullable: false })
32
- status: workFlowStatus;
33
- @Column({ type: "varchar", length: 100, nullable: true })
34
- status_ar: string | null;
32
+ status: workFlowStatus;
33
+ @Column({ type: "varchar", length: 100, nullable: true })
34
+ status_ar: string | null;
35
35
 
36
36
 
37
37
  @Column({ type: 'integer', nullable: true })
@@ -23,18 +23,18 @@ export class LegalComplaintChat extends BaseModel {
23
23
  approver_role_id: number;
24
24
 
25
25
  @Column({ type: 'text', nullable: false })
26
- message: string;
27
- @Column({ type: "text", nullable: true })
28
- message_ar: string | null;
26
+ message: string;
27
+ @Column({ type: "text", nullable: true })
28
+ message_ar: string | null;
29
29
 
30
30
 
31
31
  @Column({ type: 'varchar', length: 50, nullable: false, default: 'text' })
32
32
  message_type: string;
33
33
 
34
34
  @Column({ type: 'varchar', length: 50, nullable: true })
35
- status: string;
36
- @Column({ type: "varchar", length: 100, nullable: true })
37
- status_ar: string | null;
35
+ status: string;
36
+ @Column({ type: "varchar", length: 100, nullable: true })
37
+ status_ar: string | null;
38
38
 
39
39
 
40
40
  @Column({ type: 'boolean', nullable: false, default: false })
@@ -27,15 +27,15 @@ export class LegalComplaintWorkflow extends BaseModel {
27
27
  current_level: number;
28
28
 
29
29
  @Column({ type: 'varchar', length: 500, nullable: true })
30
- content: string;
31
- @Column({ type: "varchar", length: 500, nullable: true })
32
- content_ar: string | null;
30
+ content: string;
31
+ @Column({ type: "varchar", length: 500, nullable: true })
32
+ content_ar: string | null;
33
33
 
34
34
 
35
35
  @Column({ type: 'varchar', length: 50, nullable: false })
36
- status: string;
37
- @Column({ type: "varchar", length: 100, nullable: true })
38
- status_ar: string | null;
36
+ status: string;
37
+ @Column({ type: "varchar", length: 100, nullable: true })
38
+ status_ar: string | null;
39
39
 
40
40
 
41
41
  @Column({ type: 'int', nullable: true })
@@ -32,18 +32,18 @@ export class LegalConsultationChat extends BaseModel {
32
32
  user_id: number;
33
33
 
34
34
  @Column({ type: 'text', nullable: false })
35
- message: string;
36
- @Column({ type: "text", nullable: true })
37
- message_ar: string | null;
35
+ message: string;
36
+ @Column({ type: "text", nullable: true })
37
+ message_ar: string | null;
38
38
 
39
39
 
40
40
  @Column({ type: 'int', nullable: true })
41
41
  approver_role_id: number | null;
42
42
 
43
43
  @Column({ type: 'varchar', length: 255, nullable: false, default: 'Pending' })
44
- status: string;
45
- @Column({ type: "varchar", length: 100, nullable: true })
46
- status_ar: string | null;
44
+ status: string;
45
+ @Column({ type: "varchar", length: 100, nullable: true })
46
+ status_ar: string | null;
47
47
 
48
48
 
49
49
  @Column({ type: 'varchar', length: 20, nullable: false })
@@ -27,15 +27,15 @@ export class LegalConsultationWorkflow extends BaseModel {
27
27
  current_level: number;
28
28
 
29
29
  @Column({ type: 'varchar', length: 500, nullable: true })
30
- content: string;
31
- @Column({ type: "varchar", length: 500, nullable: true })
32
- content_ar: string | null;
30
+ content: string;
31
+ @Column({ type: "varchar", length: 500, nullable: true })
32
+ content_ar: string | null;
33
33
 
34
34
 
35
35
  @Column({ type: 'varchar', length: 50, nullable: false })
36
- status: string;
37
- @Column({ type: "varchar", length: 100, nullable: true })
38
- status_ar: string | null;
36
+ status: string;
37
+ @Column({ type: "varchar", length: 100, nullable: true })
38
+ status_ar: string | null;
39
39
 
40
40
 
41
41
  @Column({ type: 'int', nullable: true })
@@ -34,9 +34,9 @@ export class LegalContractReviewRequestChat extends BaseModel {
34
34
  user_id: number;
35
35
 
36
36
  @Column({ type: "text", nullable: false })
37
- message: string;
38
- @Column({ type: "text", nullable: true })
39
- message_ar: string | null;
37
+ message: string;
38
+ @Column({ type: "text", nullable: true })
39
+ message_ar: string | null;
40
40
 
41
41
 
42
42
  @Column({ type: "integer", nullable: true })
@@ -59,8 +59,8 @@ export class LegalContractReviewRequestChat extends BaseModel {
59
59
  default: LegalContractReviewChatStatus.PENDING,
60
60
  nullable: false
61
61
  })
62
- status: LegalContractReviewChatStatus;
63
- @Column({ type: "varchar", length: 100, nullable: true })
64
- status_ar: string | null;
62
+ status: LegalContractReviewChatStatus;
63
+ @Column({ type: "varchar", length: 100, nullable: true })
64
+ status_ar: string | null;
65
65
 
66
66
  }
@@ -23,9 +23,9 @@ export class LegalContractReviewWorkFlow extends BaseModel {
23
23
  order: number | null;
24
24
 
25
25
  @Column({ type: "varchar", length: 255, nullable: false })
26
- content: string;
27
- @Column({ type: "varchar", length: 500, nullable: true })
28
- content_ar: string | null;
26
+ content: string;
27
+ @Column({ type: "varchar", length: 500, nullable: true })
28
+ content_ar: string | null;
29
29
 
30
30
 
31
31
  @Column({ type: "integer", nullable: true })
@@ -43,8 +43,8 @@ export class LegalContractReviewWorkFlow extends BaseModel {
43
43
  default: LegalContractReviewWorkFlowStatus.PENDING,
44
44
  nullable: false
45
45
  })
46
- status: LegalContractReviewWorkFlowStatus;
47
- @Column({ type: "varchar", length: 100, nullable: true })
48
- status_ar: string | null;
46
+ status: LegalContractReviewWorkFlowStatus;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
49
 
50
50
  }
@@ -29,9 +29,9 @@ export class LogisticsRequestChat extends BaseModel {
29
29
  role_id: number;
30
30
 
31
31
  @Column({ type: 'text', nullable: false })
32
- message: string;
33
- @Column({ type: "text", nullable: true })
34
- message_ar: string | null;
32
+ message: string;
33
+ @Column({ type: "text", nullable: true })
34
+ message_ar: string | null;
35
35
 
36
36
 
37
37
  @Column({
@@ -43,9 +43,9 @@ export class LogisticsRequestChat extends BaseModel {
43
43
  messageType: MessageType;
44
44
 
45
45
  @Column({ type: 'text', nullable: true })
46
- status: string;
47
- @Column({ type: "varchar", length: 100, nullable: true })
48
- status_ar: string | null;
46
+ status: string;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
49
 
50
50
 
51
51
  constructor(
@@ -29,9 +29,9 @@ export class LogisticsVehicleMaintenanceChat extends BaseModel {
29
29
  role_id: number;
30
30
 
31
31
  @Column({ type: 'text', nullable: false })
32
- message: string;
33
- @Column({ type: "text", nullable: true })
34
- message_ar: string | null;
32
+ message: string;
33
+ @Column({ type: "text", nullable: true })
34
+ message_ar: string | null;
35
35
 
36
36
 
37
37
  @Column({
@@ -43,9 +43,9 @@ export class LogisticsVehicleMaintenanceChat extends BaseModel {
43
43
  messageType: LogisticsVehicleMaintenanceMessageType;
44
44
 
45
45
  @Column({ type: 'text', nullable: true })
46
- status: string;
47
- @Column({ type: "varchar", length: 100, nullable: true })
48
- status_ar: string | null;
46
+ status: string;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
49
 
50
50
 
51
51
  constructor(
@@ -20,15 +20,15 @@ export class LogisticsVehicleMaintenanceWorkFlow extends BaseModel {
20
20
  sub_service_id: number | null;
21
21
 
22
22
  @Column({ type: 'varchar', length: 500, nullable: false })
23
- content: string;
24
- @Column({ type: "varchar", length: 500, nullable: true })
25
- content_ar: string | null;
23
+ content: string;
24
+ @Column({ type: "varchar", length: 500, nullable: true })
25
+ content_ar: string | null;
26
26
 
27
27
 
28
28
  @Column({ type: 'enum', enum: LogisticsVehicleMaintenanceWorkFlowStatus, default: LogisticsVehicleMaintenanceWorkFlowStatus.NOT_YET_STARTED, nullable: false })
29
- status: LogisticsVehicleMaintenanceWorkFlowStatus;
30
- @Column({ type: "varchar", length: 100, nullable: true })
31
- status_ar: string | null;
29
+ status: LogisticsVehicleMaintenanceWorkFlowStatus;
30
+ @Column({ type: "varchar", length: 100, nullable: true })
31
+ status_ar: string | null;
32
32
 
33
33
 
34
34
  @Column({ type: 'integer', nullable: true })
@@ -20,15 +20,15 @@ export class LogisticsWorkFlow extends BaseModel {
20
20
  sub_service_id: number | null;
21
21
 
22
22
  @Column({ type: 'varchar', length: 500, nullable: false })
23
- content: string;
24
- @Column({ type: "varchar", length: 500, nullable: true })
25
- content_ar: string | null;
23
+ content: string;
24
+ @Column({ type: "varchar", length: 500, nullable: true })
25
+ content_ar: string | null;
26
26
 
27
27
 
28
28
  @Column({ type: 'enum', enum: LogisticsWorkFlowStatus, default: LogisticsWorkFlowStatus.NOT_YET_STARTED, nullable: false })
29
- status: LogisticsWorkFlowStatus;
30
- @Column({ type: "varchar", length: 100, nullable: true })
31
- status_ar: string | null;
29
+ status: LogisticsWorkFlowStatus;
30
+ @Column({ type: "varchar", length: 100, nullable: true })
31
+ status_ar: string | null;
32
32
 
33
33
 
34
34
  @Column({ type: 'integer', nullable: true })