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

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 (103) hide show
  1. package/dist/models/AppealAgainstAdministrativeDecisionRequestModel.d.ts +4 -4
  2. package/dist/models/AppealAgainstAdministrativeDecisionRequestModel.js +8 -8
  3. package/dist/models/CyberSecurityAuditRequestModel.d.ts +2 -0
  4. package/dist/models/CyberSecurityAuditRequestModel.js +8 -0
  5. package/dist/models/CyberSecurityRiskManagementRiskModel.d.ts +2 -0
  6. package/dist/models/CyberSecurityRiskManagementRiskModel.js +8 -0
  7. package/dist/models/MaintenanceRequestModel.d.ts +3 -1
  8. package/dist/models/MaintenanceRequestModel.js +2 -0
  9. package/dist/models/RequestATenderRequestModel.d.ts +2 -0
  10. package/dist/models/RequestATenderRequestModel.js +8 -0
  11. package/dist/models/ResidentialUnitRentalRequestModel.d.ts +1 -1
  12. package/dist/models/ResidentialUnitRentalRequestModel.js +2 -2
  13. package/package.json +1 -1
  14. package/sql/add_all_workflow_chat_arabic_columns.sql +1 -1
  15. package/sql/caa_api_payload_changes_2026_07.sql +32 -0
  16. package/src/models/AccessCardChatModel.ts +6 -6
  17. package/src/models/AccessCardWorkflowModel.ts +6 -6
  18. package/src/models/AccommodationChatModel.ts +6 -6
  19. package/src/models/AccommodationWorkflowModel.ts +6 -6
  20. package/src/models/AirportEntryPermitChatModel.ts +6 -6
  21. package/src/models/AirportEntryPermitWorkflowModel.ts +6 -6
  22. package/src/models/AnnualTrainingPlanChatModel.ts +6 -6
  23. package/src/models/AnnualTrainingPlanWorkflowModel.ts +6 -6
  24. package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +8 -8
  25. package/src/models/AssignTasksEmpChatModel.ts +6 -6
  26. package/src/models/AssignTasksEmpWorkflowModel.ts +6 -6
  27. package/src/models/ComplaintLostPropertyReportChatModel.ts +6 -6
  28. package/src/models/ComplaintLostPropertyReportWorkflowModel.ts +6 -6
  29. package/src/models/CyberSecurityAuditRequestModel.ts +6 -0
  30. package/src/models/CyberSecurityRiskManagementRiskModel.ts +6 -0
  31. package/src/models/DutyMissionChatModel.ts +6 -6
  32. package/src/models/DutyMissionWorkflowModel.ts +6 -6
  33. package/src/models/EventSupportChatModel.ts +6 -6
  34. package/src/models/EventSupportWorkflowModel.ts +6 -6
  35. package/src/models/FollowUpReportChatModel.ts +6 -6
  36. package/src/models/FollowUpReportWorkflowModel.ts +6 -6
  37. package/src/models/FoodChatModel.ts +6 -6
  38. package/src/models/FoodWorkflowModel.ts +6 -6
  39. package/src/models/HallChatModel.ts +6 -6
  40. package/src/models/HallWorkflowModel.ts +6 -6
  41. package/src/models/HotelChatModel.ts +6 -6
  42. package/src/models/HotelWorkFlowModel.ts +6 -6
  43. package/src/models/HousingContractCancelChatModel.ts +6 -6
  44. package/src/models/HousingContractCancelWorkflowModel.ts +6 -6
  45. package/src/models/HousingContractRenewalChatModel.ts +6 -6
  46. package/src/models/HousingContractRenewalWorkflowModel.ts +6 -6
  47. package/src/models/HrServiceChatModel.ts +6 -6
  48. package/src/models/HrServiceWorkflowModel.ts +6 -6
  49. package/src/models/ITRequestChatModel.ts +6 -6
  50. package/src/models/ImportExportMaterialChatModel.ts +6 -6
  51. package/src/models/ImportExportMaterialWorkflowModel.ts +6 -6
  52. package/src/models/InformationSecurityChatModel.ts +6 -6
  53. package/src/models/InformationSecurityWorkflowModel.ts +6 -6
  54. package/src/models/ItWorkflowModel.ts +6 -6
  55. package/src/models/LegalComplaintChatModel.ts +6 -6
  56. package/src/models/LegalComplaintWorkflowModel.ts +6 -6
  57. package/src/models/LegalConsultationChatModel.ts +6 -6
  58. package/src/models/LegalConsultationWorkflowModel.ts +6 -6
  59. package/src/models/LegalContractReviewChatModel.ts +6 -6
  60. package/src/models/LegalContractReviewWorkflowModel.ts +6 -6
  61. package/src/models/LogisticsChatModel.ts +6 -6
  62. package/src/models/LogisticsVehicleMaintenanceChatModel.ts +6 -6
  63. package/src/models/LogisticsVehicleMaintenanceWorkflowModel.ts +6 -6
  64. package/src/models/LogisticsWorkflowModel.ts +6 -6
  65. package/src/models/MaintenanceChatModel.ts +6 -6
  66. package/src/models/MaintenanceExternalStationsChatModel.ts +6 -6
  67. package/src/models/MaintenanceExternalStationsWorkflowModel.ts +6 -6
  68. package/src/models/MaintenanceRequestModel.ts +2 -0
  69. package/src/models/MaintenanceWorkflowModel.ts +6 -6
  70. package/src/models/MediaPublicationsChatModel.ts +6 -6
  71. package/src/models/MediaPublicationsWorkflowModel.ts +6 -6
  72. package/src/models/MultiPurposeHallChatModel.ts +6 -6
  73. package/src/models/MultiPurposeHallWorkflowModel.ts +6 -6
  74. package/src/models/RequestATenderRequestModel.ts +6 -0
  75. package/src/models/RequestForCoverageChatModel.ts +6 -6
  76. package/src/models/RequestForCoverageWorkflowModel.ts +6 -6
  77. package/src/models/RequestForPresidentsCoverageChatModel.ts +6 -6
  78. package/src/models/RequestForPresidentsCoverageWorkflowModel.ts +6 -6
  79. package/src/models/ResidentialUnitRentalChatModel.ts +6 -6
  80. package/src/models/ResidentialUnitRentalRequestModel.ts +2 -2
  81. package/src/models/ResidentialUnitRentalWorkflowModel.ts +6 -6
  82. package/src/models/RespondToEnquiriesChatModel.ts +6 -6
  83. package/src/models/RespondToEnquiriesWorkflowModel.ts +6 -6
  84. package/src/models/ScholarshipChatModel.ts +6 -6
  85. package/src/models/ScholarshipWorkflowModel.ts +6 -6
  86. package/src/models/SecurityAwarenessChatModel.ts +6 -6
  87. package/src/models/SecurityAwarenessWorkflowModel.ts +6 -6
  88. package/src/models/SecurityThreatChatModel.ts +6 -6
  89. package/src/models/SecurityThreatWorkflowModel.ts +6 -6
  90. package/src/models/ServiceExtensionAfter60ChatModel.ts +6 -6
  91. package/src/models/ServiceExtensionAfter60WorkflowModel.ts +6 -6
  92. package/src/models/StudyLeaveChatModel.ts +6 -6
  93. package/src/models/StudyLeaveWorkflowModel.ts +6 -6
  94. package/src/models/TrainingChatModel.ts +6 -6
  95. package/src/models/TrainingRoomBookingChatModel.ts +6 -6
  96. package/src/models/TrainingRoomBookingWorkflowModel.ts +6 -6
  97. package/src/models/TrainingWorkflowModel.ts +6 -6
  98. package/src/models/VipHallChatModel.ts +6 -6
  99. package/src/models/VipHallWorkflowModel.ts +6 -6
  100. package/src/models/VpnRequestChatModel.ts +6 -6
  101. package/src/models/VpnWorkflowModel.ts +6 -6
  102. package/src/models/WorkingHoursExtensionChatModel.ts +6 -6
  103. package/src/models/WorkingHoursExtensionWorkflowModel.ts +6 -6
@@ -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 })
@@ -27,9 +27,9 @@ export class AssetMaintenanceChat 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,9 +41,9 @@ export class AssetMaintenanceChat extends BaseModel {
41
41
  messageType: AssetMaintenanceMessageType;
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
  }
49
49
 
@@ -27,9 +27,9 @@ export class MaintenanceExternalStationsChat extends BaseModel {
27
27
  role_id: number;
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 MaintenanceExternalStationsChat extends BaseModel {
41
41
  messageType: MaintenanceExternalStationsMessageType;
42
42
 
43
43
  @Column({ type: 'text', nullable: true })
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
  }
@@ -19,9 +19,9 @@ export class MaintenanceExternalStationsWorkFlow 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 MaintenanceExternalStationsWorkFlow extends BaseModel {
30
30
  default: MaintenanceExternalStationsWorkFlowStatus.NOT_YET_STARTED,
31
31
  nullable: false,
32
32
  })
33
- status: MaintenanceExternalStationsWorkFlowStatus;
34
- @Column({ type: "varchar", length: 100, nullable: true })
35
- status_ar: string | null;
33
+ status: MaintenanceExternalStationsWorkFlowStatus;
34
+ @Column({ type: "varchar", length: 100, nullable: true })
35
+ status_ar: string | null;
36
36
 
37
37
 
38
38
  @Column({ type: 'integer', nullable: true })
@@ -6,6 +6,8 @@ export enum AssetMaintenanceCategory {
6
6
  EQUIPMENT = 'Equipment',
7
7
  RESIDENTIAL = 'Residential',
8
8
  STATION = 'Station',
9
+ PLOT_OF_LAND = 'Plot of land',
10
+ OTHER = 'Other',
9
11
  }
10
12
 
11
13
  export enum AssetMaintenanceSubCategory {
@@ -19,9 +19,9 @@ export class AssetMaintenanceWorkflow 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 AssetMaintenanceWorkflow extends BaseModel {
30
30
  default: AssetMaintenanceWorkflowStatus.NOT_YET_STARTED,
31
31
  nullable: false,
32
32
  })
33
- status: AssetMaintenanceWorkflowStatus;
34
- @Column({ type: "varchar", length: 100, nullable: true })
35
- status_ar: string | null;
33
+ status: AssetMaintenanceWorkflowStatus;
34
+ @Column({ type: "varchar", length: 100, nullable: true })
35
+ status_ar: string | null;
36
36
 
37
37
 
38
38
  @Column({ type: 'integer', nullable: true })
@@ -27,9 +27,9 @@ export class MediaPublicationsChat extends BaseModel {
27
27
  role_id: number;
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 MediaPublicationsChat extends BaseModel {
41
41
  messageType: MediaPublicationsMessageType;
42
42
 
43
43
  @Column({ type: 'text', nullable: true })
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
  }
@@ -19,9 +19,9 @@ export class MediaPublicationsWorkFlow 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 MediaPublicationsWorkFlow extends BaseModel {
30
30
  default: MediaPublicationsWorkFlowStatus.NOT_YET_STARTED,
31
31
  nullable: false,
32
32
  })
33
- status: MediaPublicationsWorkFlowStatus;
34
- @Column({ type: "varchar", length: 100, nullable: true })
35
- status_ar: string | null;
33
+ status: MediaPublicationsWorkFlowStatus;
34
+ @Column({ type: "varchar", length: 100, nullable: true })
35
+ status_ar: string | null;
36
36
 
37
37
 
38
38
  @Column({ type: 'integer', nullable: true })
@@ -27,9 +27,9 @@ export class MultiPurposeHallRequestChat 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 MultiPurposeHallRequestChat extends BaseModel {
41
41
  messageType: MultiPurposeHallMessageType;
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 MultiPurposeHallWorkFlow 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 MultiPurposeHallWorkFlow extends BaseModel {
30
30
  default: MultiPurposeHallWorkFlowStatus.NOT_YET_STARTED,
31
31
  nullable: false,
32
32
  })
33
- status: MultiPurposeHallWorkFlowStatus;
34
- @Column({ type: "varchar", length: 100, nullable: true })
35
- status_ar: string | null;
33
+ status: MultiPurposeHallWorkFlowStatus;
34
+ @Column({ type: "varchar", length: 100, nullable: true })
35
+ status_ar: string | null;
36
36
 
37
37
 
38
38
  @Column({ type: "integer", nullable: true })
@@ -47,6 +47,12 @@ export class RequestATenderRequest extends BaseModel {
47
47
  @Column({ type: "date", nullable: false })
48
48
  date_of_submission: Date;
49
49
 
50
+ @Column({ type: "date", nullable: true })
51
+ date: Date | null;
52
+
53
+ @Column({ type: "varchar", length: 8, nullable: true })
54
+ time: string | null;
55
+
50
56
  @Column({ type: "varchar", length: 30, nullable: false })
51
57
  phone: string;
52
58
 
@@ -31,9 +31,9 @@ export class RequestForCoverageRequestChat extends BaseModel {
31
31
  user_id: number;
32
32
 
33
33
  @Column({ type: "text", nullable: false })
34
- message: string;
35
- @Column({ type: "text", nullable: true })
36
- message_ar: string | null;
34
+ message: string;
35
+ @Column({ type: "text", nullable: true })
36
+ message_ar: string | null;
37
37
 
38
38
 
39
39
  @Column({ type: "integer", nullable: true })
@@ -51,9 +51,9 @@ export class RequestForCoverageRequestChat extends BaseModel {
51
51
  is_internal: boolean;
52
52
 
53
53
  @Column({ type: "text", nullable: false })
54
- status: string;
55
- @Column({ type: "varchar", length: 100, nullable: true })
56
- status_ar: string | null;
54
+ status: string;
55
+ @Column({ type: "varchar", length: 100, nullable: true })
56
+ status_ar: string | null;
57
57
 
58
58
 
59
59
  constructor(
@@ -23,9 +23,9 @@ export class RequestForCoverageWorkFlow 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 RequestForCoverageWorkFlow extends BaseModel {
43
43
  default: RequestForCoverageWorkFlowStatus.PENDING,
44
44
  nullable: false
45
45
  })
46
- status: RequestForCoverageWorkFlowStatus;
47
- @Column({ type: "varchar", length: 100, nullable: true })
48
- status_ar: string | null;
46
+ status: RequestForCoverageWorkFlowStatus;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
49
 
50
50
 
51
51
  constructor(
@@ -31,9 +31,9 @@ export class RequestForPresidentsCoverageRequestChat extends BaseModel {
31
31
  user_id: number;
32
32
 
33
33
  @Column({ type: "text", nullable: false })
34
- message: string;
35
- @Column({ type: "text", nullable: true })
36
- message_ar: string | null;
34
+ message: string;
35
+ @Column({ type: "text", nullable: true })
36
+ message_ar: string | null;
37
37
 
38
38
 
39
39
  @Column({ type: "integer", nullable: true })
@@ -51,9 +51,9 @@ export class RequestForPresidentsCoverageRequestChat extends BaseModel {
51
51
  is_internal: boolean;
52
52
 
53
53
  @Column({ type: "text", nullable: false })
54
- status: string;
55
- @Column({ type: "varchar", length: 100, nullable: true })
56
- status_ar: string | null;
54
+ status: string;
55
+ @Column({ type: "varchar", length: 100, nullable: true })
56
+ status_ar: string | null;
57
57
 
58
58
 
59
59
  constructor(
@@ -23,9 +23,9 @@ export class RequestForPresidentsCoverageWorkFlow 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 RequestForPresidentsCoverageWorkFlow extends BaseModel {
43
43
  default: RequestForPresidentsCoverageWorkFlowStatus.PENDING,
44
44
  nullable: false
45
45
  })
46
- status: RequestForPresidentsCoverageWorkFlowStatus;
47
- @Column({ type: "varchar", length: 100, nullable: true })
48
- status_ar: string | null;
46
+ status: RequestForPresidentsCoverageWorkFlowStatus;
47
+ @Column({ type: "varchar", length: 100, nullable: true })
48
+ status_ar: string | null;
49
49
 
50
50
 
51
51
  constructor(
@@ -33,18 +33,18 @@ export class ResidentialUnitRentalChat 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 })
@@ -88,9 +88,9 @@ export class ResidentialUnitRentalRequest extends BaseModel {
88
88
 
89
89
 
90
90
 
91
- @Column({ type: 'date', nullable: false })
91
+ @Column({ type: 'date', nullable: true })
92
92
 
93
- preferred_start_date: Date;
93
+ preferred_start_date: Date | null;
94
94
 
95
95
 
96
96
 
@@ -66,9 +66,9 @@ export class ResidentialUnitRentalWorkflow extends BaseModel {
66
66
 
67
67
  @Column({ type: 'varchar', length: 500, nullable: true })
68
68
 
69
- content: string;
70
- @Column({ type: "varchar", length: 500, nullable: true })
71
- content_ar: string | null;
69
+ content: string;
70
+ @Column({ type: "varchar", length: 500, nullable: true })
71
+ content_ar: string | null;
72
72
 
73
73
 
74
74
 
@@ -76,9 +76,9 @@ export class ResidentialUnitRentalWorkflow extends BaseModel {
76
76
 
77
77
  @Column({ type: 'varchar', length: 50, nullable: false })
78
78
 
79
- status: string;
80
- @Column({ type: "varchar", length: 100, nullable: true })
81
- status_ar: string | null;
79
+ status: string;
80
+ @Column({ type: "varchar", length: 100, nullable: true })
81
+ status_ar: string | null;
82
82
 
83
83
 
84
84
 
@@ -34,9 +34,9 @@ export class RespondToEnquiriesRequestChat 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 })
@@ -61,9 +61,9 @@ export class RespondToEnquiriesRequestChat extends BaseModel {
61
61
  nullable: false,
62
62
  enumName: "respond_to_enquiries_chat_status_en"
63
63
  })
64
- status: RespondToEnquiriesChatStatus;
65
- @Column({ type: "varchar", length: 100, nullable: true })
66
- status_ar: string | null;
64
+ status: RespondToEnquiriesChatStatus;
65
+ @Column({ type: "varchar", length: 100, nullable: true })
66
+ status_ar: string | null;
67
67
 
68
68
 
69
69
  constructor(
@@ -23,9 +23,9 @@ export class RespondToEnquiriesWorkFlow 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 })
@@ -44,9 +44,9 @@ export class RespondToEnquiriesWorkFlow extends BaseModel {
44
44
  nullable: false,
45
45
  enumName: "respond_to_enquiries_workflow_status_en"
46
46
  })
47
- status: RespondToEnquiriesWorkFlowStatus;
48
- @Column({ type: "varchar", length: 100, nullable: true })
49
- status_ar: string | null;
47
+ status: RespondToEnquiriesWorkFlowStatus;
48
+ @Column({ type: "varchar", length: 100, nullable: true })
49
+ status_ar: string | null;
50
50
 
51
51
 
52
52
  constructor(
@@ -27,9 +27,9 @@ export class ScholarshipRequestChat 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 ScholarshipRequestChat extends BaseModel {
41
41
  messageType: ScholarshipMessageType;
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
  }