@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.
- package/dist/data-source.js +2 -0
- package/dist/i18n/workflow-chat-i18n.json +45 -41
- package/dist/i18n/workflow-chat-message.builder.d.ts +9 -0
- package/dist/i18n/workflow-chat-message.builder.js +60 -27
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/models/AppealAgainstAdministrativeDecisionRequestModel.d.ts +4 -4
- package/dist/models/AppealAgainstAdministrativeDecisionRequestModel.js +8 -8
- package/dist/models/CyberSecurityAuditRequestModel.d.ts +2 -0
- package/dist/models/CyberSecurityAuditRequestModel.js +8 -0
- package/dist/models/CyberSecurityRiskManagementRiskModel.d.ts +2 -0
- package/dist/models/CyberSecurityRiskManagementRiskModel.js +8 -0
- package/dist/models/FollowUpReportItemModel.d.ts +16 -0
- package/dist/models/FollowUpReportItemModel.js +74 -0
- package/dist/models/FollowUpReportRequestModel.d.ts +5 -0
- package/dist/models/FollowUpReportRequestModel.js +20 -0
- package/dist/models/MaintenanceRequestModel.d.ts +3 -1
- package/dist/models/MaintenanceRequestModel.js +2 -0
- package/dist/models/RequestATenderRequestModel.d.ts +2 -0
- package/dist/models/RequestATenderRequestModel.js +8 -0
- package/dist/models/ResidentialUnitRentalRequestModel.d.ts +1 -1
- package/dist/models/ResidentialUnitRentalRequestModel.js +2 -2
- package/package.json +1 -1
- package/sql/add_all_workflow_chat_arabic_columns.sql +1 -1
- package/sql/caa_api_payload_changes_2026_07.sql +32 -0
- package/src/data-source.ts +2 -0
- package/src/i18n/workflow-chat-i18n.json +45 -41
- package/src/i18n/workflow-chat-message.builder.ts +77 -26
- package/src/index.ts +1 -0
- package/src/models/AccessCardChatModel.ts +6 -6
- package/src/models/AccessCardWorkflowModel.ts +6 -6
- package/src/models/AccommodationChatModel.ts +6 -6
- package/src/models/AccommodationWorkflowModel.ts +6 -6
- package/src/models/AirportEntryPermitChatModel.ts +6 -6
- package/src/models/AirportEntryPermitWorkflowModel.ts +6 -6
- package/src/models/AnnualTrainingPlanChatModel.ts +6 -6
- package/src/models/AnnualTrainingPlanWorkflowModel.ts +6 -6
- package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +8 -8
- package/src/models/AssignTasksEmpChatModel.ts +6 -6
- package/src/models/AssignTasksEmpWorkflowModel.ts +6 -6
- package/src/models/ComplaintLostPropertyReportChatModel.ts +6 -6
- package/src/models/ComplaintLostPropertyReportWorkflowModel.ts +6 -6
- package/src/models/CyberSecurityAuditRequestModel.ts +6 -0
- package/src/models/CyberSecurityRiskManagementRiskModel.ts +6 -0
- package/src/models/DutyMissionChatModel.ts +6 -6
- package/src/models/DutyMissionWorkflowModel.ts +6 -6
- package/src/models/EventSupportChatModel.ts +6 -6
- package/src/models/EventSupportWorkflowModel.ts +6 -6
- package/src/models/FollowUpReportChatModel.ts +6 -6
- package/src/models/FollowUpReportItemModel.ts +47 -0
- package/src/models/FollowUpReportRequestModel.ts +15 -0
- package/src/models/FollowUpReportWorkflowModel.ts +6 -6
- package/src/models/FoodChatModel.ts +6 -6
- package/src/models/FoodWorkflowModel.ts +6 -6
- package/src/models/HallChatModel.ts +6 -6
- package/src/models/HallWorkflowModel.ts +6 -6
- package/src/models/HotelChatModel.ts +6 -6
- package/src/models/HotelWorkFlowModel.ts +6 -6
- package/src/models/HousingContractCancelChatModel.ts +6 -6
- package/src/models/HousingContractCancelWorkflowModel.ts +6 -6
- package/src/models/HousingContractRenewalChatModel.ts +6 -6
- package/src/models/HousingContractRenewalWorkflowModel.ts +6 -6
- package/src/models/HrServiceChatModel.ts +6 -6
- package/src/models/HrServiceWorkflowModel.ts +6 -6
- package/src/models/ITRequestChatModel.ts +6 -6
- package/src/models/ImportExportMaterialChatModel.ts +6 -6
- package/src/models/ImportExportMaterialWorkflowModel.ts +6 -6
- package/src/models/InformationSecurityChatModel.ts +6 -6
- package/src/models/InformationSecurityWorkflowModel.ts +6 -6
- package/src/models/ItWorkflowModel.ts +6 -6
- package/src/models/LegalComplaintChatModel.ts +6 -6
- package/src/models/LegalComplaintWorkflowModel.ts +6 -6
- package/src/models/LegalConsultationChatModel.ts +6 -6
- package/src/models/LegalConsultationWorkflowModel.ts +6 -6
- package/src/models/LegalContractReviewChatModel.ts +6 -6
- package/src/models/LegalContractReviewWorkflowModel.ts +6 -6
- package/src/models/LogisticsChatModel.ts +6 -6
- package/src/models/LogisticsVehicleMaintenanceChatModel.ts +6 -6
- package/src/models/LogisticsVehicleMaintenanceWorkflowModel.ts +6 -6
- package/src/models/LogisticsWorkflowModel.ts +6 -6
- package/src/models/MaintenanceChatModel.ts +6 -6
- package/src/models/MaintenanceExternalStationsChatModel.ts +6 -6
- package/src/models/MaintenanceExternalStationsWorkflowModel.ts +6 -6
- package/src/models/MaintenanceRequestModel.ts +2 -0
- package/src/models/MaintenanceWorkflowModel.ts +6 -6
- package/src/models/MediaPublicationsChatModel.ts +6 -6
- package/src/models/MediaPublicationsWorkflowModel.ts +6 -6
- package/src/models/MultiPurposeHallChatModel.ts +6 -6
- package/src/models/MultiPurposeHallWorkflowModel.ts +6 -6
- package/src/models/RequestATenderRequestModel.ts +6 -0
- package/src/models/RequestForCoverageChatModel.ts +6 -6
- package/src/models/RequestForCoverageWorkflowModel.ts +6 -6
- package/src/models/RequestForPresidentsCoverageChatModel.ts +6 -6
- package/src/models/RequestForPresidentsCoverageWorkflowModel.ts +6 -6
- package/src/models/ResidentialUnitRentalChatModel.ts +6 -6
- package/src/models/ResidentialUnitRentalRequestModel.ts +2 -2
- package/src/models/ResidentialUnitRentalWorkflowModel.ts +6 -6
- package/src/models/RespondToEnquiriesChatModel.ts +6 -6
- package/src/models/RespondToEnquiriesWorkflowModel.ts +6 -6
- package/src/models/ScholarshipChatModel.ts +6 -6
- package/src/models/ScholarshipWorkflowModel.ts +6 -6
- package/src/models/SecurityAwarenessChatModel.ts +6 -6
- package/src/models/SecurityAwarenessWorkflowModel.ts +6 -6
- package/src/models/SecurityThreatChatModel.ts +6 -6
- package/src/models/SecurityThreatWorkflowModel.ts +6 -6
- package/src/models/ServiceExtensionAfter60ChatModel.ts +6 -6
- package/src/models/ServiceExtensionAfter60WorkflowModel.ts +6 -6
- package/src/models/StudyLeaveChatModel.ts +6 -6
- package/src/models/StudyLeaveWorkflowModel.ts +6 -6
- package/src/models/TrainingChatModel.ts +6 -6
- package/src/models/TrainingRoomBookingChatModel.ts +6 -6
- package/src/models/TrainingRoomBookingWorkflowModel.ts +6 -6
- package/src/models/TrainingWorkflowModel.ts +6 -6
- package/src/models/VipHallChatModel.ts +6 -6
- package/src/models/VipHallWorkflowModel.ts +6 -6
- package/src/models/VpnRequestChatModel.ts +6 -6
- package/src/models/VpnWorkflowModel.ts +6 -6
- package/src/models/WorkingHoursExtensionChatModel.ts +6 -6
- package/src/models/WorkingHoursExtensionWorkflowModel.ts +6 -6
|
@@ -28,9 +28,9 @@ export class AccessCardRequestChat extends BaseModel {
|
|
|
28
28
|
role_id: number;
|
|
29
29
|
|
|
30
30
|
@Column({ type: "text", nullable: false })
|
|
31
|
-
message: string;
|
|
32
|
-
@Column({ type: "text", nullable: true })
|
|
33
|
-
message_ar: string | null;
|
|
31
|
+
message: string;
|
|
32
|
+
@Column({ type: "text", nullable: true })
|
|
33
|
+
message_ar: string | null;
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
@Column({
|
|
@@ -42,9 +42,9 @@ export class AccessCardRequestChat extends BaseModel {
|
|
|
42
42
|
messageType: AccessCardMessageType;
|
|
43
43
|
|
|
44
44
|
@Column({ type: 'text', nullable: true })
|
|
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
|
constructor(
|
|
@@ -19,9 +19,9 @@ 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;
|
|
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 AccessCardWorkflow extends BaseModel {
|
|
|
30
30
|
default: AccessCardWorkflowStatus.NOT_YET_STARTED,
|
|
31
31
|
nullable: false
|
|
32
32
|
})
|
|
33
|
-
status: AccessCardWorkflowStatus;
|
|
34
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
35
|
-
status_ar: string | null;
|
|
33
|
+
status: AccessCardWorkflowStatus;
|
|
34
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
35
|
+
status_ar: string | null;
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
@Column({ type: "integer", nullable: true })
|
|
@@ -24,9 +24,9 @@ export class AccommodationChat extends BaseModel {
|
|
|
24
24
|
user_id: number;
|
|
25
25
|
|
|
26
26
|
@Column({ type: 'text', nullable: false })
|
|
27
|
-
message: string;
|
|
28
|
-
@Column({ type: "text", nullable: true })
|
|
29
|
-
message_ar: string | null;
|
|
27
|
+
message: string;
|
|
28
|
+
@Column({ type: "text", nullable: true })
|
|
29
|
+
message_ar: string | null;
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
@Column({ type: 'varchar', length: 20, nullable: false })
|
|
@@ -39,9 +39,9 @@ export class AccommodationChat extends BaseModel {
|
|
|
39
39
|
approver_role_id: number;
|
|
40
40
|
|
|
41
41
|
@Column({ type: 'varchar', length: 50, nullable: true })
|
|
42
|
-
status: string;
|
|
43
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
44
|
-
status_ar: string | null;
|
|
42
|
+
status: string;
|
|
43
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
44
|
+
status_ar: string | null;
|
|
45
45
|
// Submitted, Pending, Approved, Rejected
|
|
46
46
|
|
|
47
47
|
@Column({ type: 'int', nullable: false })
|
|
@@ -27,9 +27,9 @@ export class AccommodationWorkflow 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({
|
|
@@ -38,9 +38,9 @@ export class AccommodationWorkflow extends BaseModel {
|
|
|
38
38
|
default: AccommodationWorkFlowStatus.Pending,
|
|
39
39
|
nullable: false
|
|
40
40
|
})
|
|
41
|
-
status: AccommodationWorkFlowStatus;
|
|
42
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
43
|
-
status_ar: string | null;
|
|
41
|
+
status: AccommodationWorkFlowStatus;
|
|
42
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
43
|
+
status_ar: string | null;
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
@Column({ type: 'int', nullable: true })
|
|
@@ -29,9 +29,9 @@ export class AirportEntryPermitChat 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 AirportEntryPermitChat extends BaseModel {
|
|
|
43
43
|
messageType: AirportEntryPermitMessageTypes;
|
|
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(
|
|
@@ -19,15 +19,15 @@ 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;
|
|
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: 'enum', enum: AirportEntryPermitWorkFlowStatus, default: AirportEntryPermitWorkFlowStatus.NOT_YET_STARTED, nullable: false })
|
|
28
|
-
status: AirportEntryPermitWorkFlowStatus;
|
|
29
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
30
|
-
status_ar: string | null;
|
|
28
|
+
status: AirportEntryPermitWorkFlowStatus;
|
|
29
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
30
|
+
status_ar: string | null;
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
@Column({ type: 'integer', nullable: true })
|
|
@@ -31,9 +31,9 @@ export class AnnualTrainingPlanRequestChat 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 AnnualTrainingPlanRequestChat 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 AnnualTrainingPlanWorkFlow 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 AnnualTrainingPlanWorkFlow extends BaseModel {
|
|
|
43
43
|
default: AnnualTrainingPlanWorkFlowStatus.PENDING,
|
|
44
44
|
nullable: false
|
|
45
45
|
})
|
|
46
|
-
status: AnnualTrainingPlanWorkFlowStatus;
|
|
47
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
48
|
-
status_ar: string | null;
|
|
46
|
+
status: AnnualTrainingPlanWorkFlowStatus;
|
|
47
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
48
|
+
status_ar: string | null;
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
constructor(
|
|
@@ -63,20 +63,20 @@ export class AppealAgainstAdministrativeDecisionRequest extends BaseModel {
|
|
|
63
63
|
@Column({ type: "text", nullable: false })
|
|
64
64
|
appeal_against_decision: string;
|
|
65
65
|
|
|
66
|
-
@Column({ type: "text", nullable:
|
|
67
|
-
description: string;
|
|
66
|
+
@Column({ type: "text", nullable: true })
|
|
67
|
+
description: string | null;
|
|
68
68
|
|
|
69
69
|
@Column({ type: "varchar", length: 255, nullable: false })
|
|
70
70
|
decision_number: string;
|
|
71
71
|
|
|
72
|
-
@Column({ type: "date", nullable:
|
|
73
|
-
decision_date: Date;
|
|
72
|
+
@Column({ type: "date", nullable: true })
|
|
73
|
+
decision_date: Date | null;
|
|
74
74
|
|
|
75
75
|
@Column({ type: "text", nullable: false })
|
|
76
76
|
decision_subject: string;
|
|
77
77
|
|
|
78
|
-
@Column({ type: "text", nullable:
|
|
79
|
-
grievance_details: string;
|
|
78
|
+
@Column({ type: "text", nullable: true })
|
|
79
|
+
grievance_details: string | null;
|
|
80
80
|
|
|
81
81
|
@Column({ type: "jsonb", nullable: true })
|
|
82
82
|
individuals_involved: string[] | null;
|
|
@@ -96,8 +96,8 @@ export class AppealAgainstAdministrativeDecisionRequest extends BaseModel {
|
|
|
96
96
|
@Column({ type: "jsonb", nullable: true })
|
|
97
97
|
events: string[] | null;
|
|
98
98
|
|
|
99
|
-
@Column({ type: "varchar", length: 500, nullable:
|
|
100
|
-
grievant_name: string;
|
|
99
|
+
@Column({ type: "varchar", length: 500, nullable: true })
|
|
100
|
+
grievant_name: string | null;
|
|
101
101
|
|
|
102
102
|
@Column({ type: "varchar", length: 100, nullable: false })
|
|
103
103
|
grievant_employee_number: string;
|
|
@@ -28,9 +28,9 @@ export class AssignTasksEmpRequestChat extends BaseModel {
|
|
|
28
28
|
role_id: number;
|
|
29
29
|
|
|
30
30
|
@Column({ type: 'text', nullable: false })
|
|
31
|
-
message: string;
|
|
32
|
-
@Column({ type: "text", nullable: true })
|
|
33
|
-
message_ar: string | null;
|
|
31
|
+
message: string;
|
|
32
|
+
@Column({ type: "text", nullable: true })
|
|
33
|
+
message_ar: string | null;
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
@Column({
|
|
@@ -42,9 +42,9 @@ export class AssignTasksEmpRequestChat extends BaseModel {
|
|
|
42
42
|
messageType: AssignTasksEmpMessageType;
|
|
43
43
|
|
|
44
44
|
@Column({ type: 'text', nullable: true })
|
|
45
|
-
status: string | null;
|
|
46
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
47
|
-
status_ar: string | null;
|
|
45
|
+
status: string | null;
|
|
46
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
47
|
+
status_ar: string | null;
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
constructor(
|
|
@@ -20,15 +20,15 @@ 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;
|
|
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: AssignTasksEmpWorkFlowStatus, default: AssignTasksEmpWorkFlowStatus.NOT_YET_STARTED, nullable: false })
|
|
29
|
-
status: AssignTasksEmpWorkFlowStatus;
|
|
30
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
31
|
-
status_ar: string | null;
|
|
29
|
+
status: AssignTasksEmpWorkFlowStatus;
|
|
30
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
31
|
+
status_ar: string | null;
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
@Column({ type: 'integer', nullable: true })
|
|
@@ -24,18 +24,18 @@ export class ComplaintLostPropertyReportChat extends BaseModel {
|
|
|
24
24
|
user_id: number;
|
|
25
25
|
|
|
26
26
|
@Column({ type: "text", nullable: false })
|
|
27
|
-
message: string;
|
|
28
|
-
@Column({ type: "text", nullable: true })
|
|
29
|
-
message_ar: string | null;
|
|
27
|
+
message: string;
|
|
28
|
+
@Column({ type: "text", nullable: true })
|
|
29
|
+
message_ar: string | null;
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
@Column({ type: "int", nullable: true })
|
|
33
33
|
approver_role_id: number | null;
|
|
34
34
|
|
|
35
35
|
@Column({ type: "varchar", length: 255, nullable: false, default: "Pending" })
|
|
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({
|
|
@@ -19,15 +19,15 @@ export class ComplaintLostPropertyReportWorkflow 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 })
|
|
@@ -81,6 +81,12 @@ export class CyberSecurityAuditRequest extends BaseModel {
|
|
|
81
81
|
@Column({ type: "date", nullable: false })
|
|
82
82
|
submission_date: Date;
|
|
83
83
|
|
|
84
|
+
@Column({ type: "date", nullable: true })
|
|
85
|
+
date: Date | null;
|
|
86
|
+
|
|
87
|
+
@Column({ type: "varchar", length: 8, nullable: true })
|
|
88
|
+
time: string | null;
|
|
89
|
+
|
|
84
90
|
constructor(
|
|
85
91
|
user_id: number,
|
|
86
92
|
request_classification: CyberSecurityAuditClassification,
|
|
@@ -68,6 +68,12 @@ export class CyberSecurityRiskManagementRisk extends BaseModel {
|
|
|
68
68
|
@Column({ type: "text", nullable: false })
|
|
69
69
|
risk_treatment_plan: string;
|
|
70
70
|
|
|
71
|
+
@Column({ type: "text", nullable: true })
|
|
72
|
+
treatment: string | null;
|
|
73
|
+
|
|
74
|
+
@Column({ type: "text", nullable: true })
|
|
75
|
+
action: string | null;
|
|
76
|
+
|
|
71
77
|
@Column({ type: "integer", nullable: true })
|
|
72
78
|
confidentiality: number | null;
|
|
73
79
|
|
|
@@ -29,9 +29,9 @@ export class DutyMissionRequestChat 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 DutyMissionRequestChat extends BaseModel {
|
|
|
43
43
|
messageType: DutyMissionMessageType;
|
|
44
44
|
|
|
45
45
|
@Column({ type: 'text', nullable: true })
|
|
46
|
-
status: string | null;
|
|
47
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
48
|
-
status_ar: string | null;
|
|
46
|
+
status: string | null;
|
|
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 DutyMissionWorkFlow 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: DutyMissionWorkFlowStatus, default: DutyMissionWorkFlowStatus.NOT_YET_STARTED, nullable: false })
|
|
29
|
-
status: DutyMissionWorkFlowStatus;
|
|
30
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
31
|
-
status_ar: string | null;
|
|
29
|
+
status: DutyMissionWorkFlowStatus;
|
|
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 EventSupportRequestChat 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 EventSupportRequestChat extends BaseModel {
|
|
|
41
41
|
messageType: EventSupportMessageType;
|
|
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,15 +19,15 @@ 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;
|
|
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: "enum", enum: EventSupportWorkFlowStatus, default: EventSupportWorkFlowStatus.NOT_YET_STARTED, nullable: false })
|
|
28
|
-
status: EventSupportWorkFlowStatus;
|
|
29
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
30
|
-
status_ar: string | null;
|
|
28
|
+
status: EventSupportWorkFlowStatus;
|
|
29
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
30
|
+
status_ar: string | null;
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
@Column({ type: "integer", nullable: true })
|
|
@@ -27,9 +27,9 @@ export class FollowUpReportChat 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,9 +41,9 @@ export class FollowUpReportChat extends BaseModel {
|
|
|
41
41
|
messageType: FollowUpReportMessageType;
|
|
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
|
}
|
|
49
49
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Column, Entity } from 'typeorm';
|
|
2
|
+
import { BaseModel } from './BaseModel';
|
|
3
|
+
import { FollowUpReportSubjectClassification } from './FollowUpReportRequestModel';
|
|
4
|
+
|
|
5
|
+
@Entity({ name: 'followup_report_items' })
|
|
6
|
+
export class FollowUpReportItem extends BaseModel {
|
|
7
|
+
@Column({ type: 'integer', nullable: false })
|
|
8
|
+
request_id: number;
|
|
9
|
+
|
|
10
|
+
@Column({ type: 'integer', nullable: true })
|
|
11
|
+
service_id: number | null;
|
|
12
|
+
|
|
13
|
+
@Column({ type: 'integer', nullable: true })
|
|
14
|
+
sub_service_id: number | null;
|
|
15
|
+
|
|
16
|
+
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
17
|
+
reference_type: string | null;
|
|
18
|
+
|
|
19
|
+
@Column({ type: 'date', nullable: true })
|
|
20
|
+
letter_date: Date | null;
|
|
21
|
+
|
|
22
|
+
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
23
|
+
subject: string | null;
|
|
24
|
+
|
|
25
|
+
@Column({
|
|
26
|
+
type: 'enum',
|
|
27
|
+
enum: FollowUpReportSubjectClassification,
|
|
28
|
+
enumName: 'maintenance_subject_classification_en',
|
|
29
|
+
nullable: true,
|
|
30
|
+
})
|
|
31
|
+
subject_classification: FollowUpReportSubjectClassification | null;
|
|
32
|
+
|
|
33
|
+
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
34
|
+
general_manager_comment: string | null;
|
|
35
|
+
|
|
36
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
37
|
+
response_date_target: string | null;
|
|
38
|
+
|
|
39
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
40
|
+
action_status: string | null;
|
|
41
|
+
|
|
42
|
+
@Column({ type: 'text', nullable: true })
|
|
43
|
+
action_taken: string | null;
|
|
44
|
+
|
|
45
|
+
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
46
|
+
delay_period: string | null;
|
|
47
|
+
}
|
|
@@ -78,6 +78,21 @@ export class FollowUpReportRequests extends BaseModel {
|
|
|
78
78
|
@Column({ type: 'date', nullable: false })
|
|
79
79
|
date_to: Date;
|
|
80
80
|
|
|
81
|
+
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
82
|
+
general_manager_comment: string | null;
|
|
83
|
+
|
|
84
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
85
|
+
response_date_target: string | null;
|
|
86
|
+
|
|
87
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
88
|
+
action_status: string | null;
|
|
89
|
+
|
|
90
|
+
@Column({ type: 'text', nullable: true })
|
|
91
|
+
action_taken: string | null;
|
|
92
|
+
|
|
93
|
+
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
94
|
+
delay_period: string | null;
|
|
95
|
+
|
|
81
96
|
@Column({ type: 'date', nullable: false, default: () => 'CURRENT_DATE' })
|
|
82
97
|
request_submission_date: Date;
|
|
83
98
|
|
|
@@ -19,9 +19,9 @@ 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;
|
|
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 FollowUpReportWorkFlow extends BaseModel {
|
|
|
30
30
|
default: FollowUpReportWorkFlowStatus.NOT_YET_STARTED,
|
|
31
31
|
nullable: false,
|
|
32
32
|
})
|
|
33
|
-
status: FollowUpReportWorkFlowStatus;
|
|
34
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
35
|
-
status_ar: string | null;
|
|
33
|
+
status: FollowUpReportWorkFlowStatus;
|
|
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 FoodRequestChat 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 FoodRequestChat extends BaseModel {
|
|
|
41
41
|
messageType: FoodMessageType;
|
|
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 FoodWorkFlow 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 FoodWorkFlow extends BaseModel {
|
|
|
30
30
|
default: FoodWorkFlowStatus.NOT_YET_STARTED,
|
|
31
31
|
nullable: false,
|
|
32
32
|
})
|
|
33
|
-
status: FoodWorkFlowStatus;
|
|
34
|
-
@Column({ type: "varchar", length: 100, nullable: true })
|
|
35
|
-
status_ar: string | null;
|
|
33
|
+
status: FoodWorkFlowStatus;
|
|
34
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
35
|
+
status_ar: string | null;
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
@Column({ type: "integer", nullable: true })
|