@platform-modules/foreign-ministry 1.3.336 → 1.3.337
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/.env +5 -11
- package/dist/auth/authenticate-jwt-session.d.ts +19 -0
- package/dist/auth/authenticate-jwt-session.js +35 -0
- package/dist/auth/jwt-token.helper.d.ts +18 -0
- package/dist/auth/jwt-token.helper.js +58 -0
- package/dist/auth/user-session-validation.d.ts +42 -0
- package/dist/auth/user-session-validation.js +95 -0
- package/dist/i18n/workflow-chat-i18n.json +41 -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 +0 -1
- package/dist/index.js +0 -1
- package/dist/models/AppointmentChatModel.d.ts +0 -2
- package/dist/models/AppointmentChatModel.js +0 -8
- package/dist/models/AppointmentWorkflowModel.d.ts +0 -2
- package/dist/models/AppointmentWorkflowModel.js +0 -8
- package/dist/models/AssistanceCitizensAbroadChatModel.d.ts +0 -2
- package/dist/models/AssistanceCitizensAbroadChatModel.js +0 -8
- package/dist/models/AssistanceCitizensAbroadWorkflowModel.d.ts +0 -1
- package/dist/models/AssistanceCitizensAbroadWorkflowModel.js +0 -4
- package/dist/models/ChildrensEducationChatModel.d.ts +0 -2
- package/dist/models/ChildrensEducationChatModel.js +0 -8
- package/dist/models/ChildrensEducationWorkflowModel.d.ts +0 -1
- package/dist/models/ChildrensEducationWorkflowModel.js +0 -4
- package/dist/models/DiplomaticAcademyChatModel.d.ts +0 -2
- package/dist/models/DiplomaticAcademyChatModel.js +0 -8
- package/dist/models/DiplomaticAcademyWorkflowModel.d.ts +0 -2
- package/dist/models/DiplomaticAcademyWorkflowModel.js +0 -8
- package/dist/models/DiplomaticChatsModel.d.ts +0 -2
- package/dist/models/DiplomaticChatsModel.js +0 -8
- package/dist/models/DiplomaticWorkFlowModel.d.ts +0 -2
- package/dist/models/DiplomaticWorkFlowModel.js +0 -8
- package/dist/models/DocumentTranslationChatModel.d.ts +0 -2
- package/dist/models/DocumentTranslationChatModel.js +0 -8
- package/dist/models/DocumentTranslationWorkflowModel.d.ts +0 -2
- package/dist/models/DocumentTranslationWorkflowModel.js +0 -8
- package/dist/models/EarlyCheckoutChatModel.d.ts +0 -2
- package/dist/models/EarlyCheckoutChatModel.js +0 -8
- package/dist/models/EarlyCheckoutWorkflowModel.d.ts +0 -2
- package/dist/models/EarlyCheckoutWorkflowModel.js +0 -8
- package/dist/models/EmbassyEvaluationChatModel.d.ts +0 -1
- package/dist/models/EmbassyEvaluationChatModel.js +0 -4
- package/dist/models/EmbassyEvaluationWorkflowModel.d.ts +0 -1
- package/dist/models/EmbassyEvaluationWorkflowModel.js +0 -4
- package/dist/models/EmployeeCardChatsModel.d.ts +0 -2
- package/dist/models/EmployeeCardChatsModel.js +0 -8
- package/dist/models/EmployeeCardWorkFlowModel.d.ts +0 -2
- package/dist/models/EmployeeCardWorkFlowModel.js +0 -8
- package/dist/models/EmployeeEvaluationChatModel.d.ts +0 -1
- package/dist/models/EmployeeEvaluationChatModel.js +0 -4
- package/dist/models/EmployeeEvaluationWorkflowModel.d.ts +0 -1
- package/dist/models/EmployeeEvaluationWorkflowModel.js +0 -4
- package/dist/models/EmployeeOfMonthNominationChatModel.d.ts +0 -1
- package/dist/models/EmployeeOfMonthNominationChatModel.js +0 -4
- package/dist/models/EmployeeOfMonthNominationWorkflowModel.d.ts +0 -1
- package/dist/models/EmployeeOfMonthNominationWorkflowModel.js +0 -4
- package/dist/models/EmployeeOfMonthSupportNominationChatModel.d.ts +0 -1
- package/dist/models/EmployeeOfMonthSupportNominationChatModel.js +0 -4
- package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.d.ts +0 -1
- package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.js +0 -4
- package/dist/models/FinancialChatsModel.d.ts +0 -2
- package/dist/models/FinancialChatsModel.js +0 -8
- package/dist/models/FinancialWorkFlowModel.d.ts +0 -2
- package/dist/models/FinancialWorkFlowModel.js +0 -8
- package/dist/models/FoodChatModel.d.ts +0 -1
- package/dist/models/FoodChatModel.js +0 -4
- package/dist/models/FoodWorkflowModel.d.ts +0 -2
- package/dist/models/FoodWorkflowModel.js +0 -8
- package/dist/models/GatePassChatsModel.d.ts +0 -2
- package/dist/models/GatePassChatsModel.js +0 -8
- package/dist/models/GatePassWorkFlowModel.d.ts +0 -2
- package/dist/models/GatePassWorkFlowModel.js +0 -8
- package/dist/models/GeneralServiceChatsModel.d.ts +0 -2
- package/dist/models/GeneralServiceChatsModel.js +0 -8
- package/dist/models/GeneralServiceWorkFlowModel.d.ts +0 -2
- package/dist/models/GeneralServiceWorkFlowModel.js +0 -8
- package/dist/models/HallChatModel.d.ts +0 -1
- package/dist/models/HallChatModel.js +0 -4
- package/dist/models/HallWorkflowModel.d.ts +0 -2
- package/dist/models/HallWorkflowModel.js +0 -8
- package/dist/models/HousingRentalAccommodationChatModel.d.ts +0 -2
- package/dist/models/HousingRentalAccommodationChatModel.js +0 -8
- package/dist/models/HousingRentalAccommodationWorkflowModel.d.ts +0 -1
- package/dist/models/HousingRentalAccommodationWorkflowModel.js +0 -4
- package/dist/models/HousingRentalVehicleChatModel.d.ts +0 -2
- package/dist/models/HousingRentalVehicleChatModel.js +0 -8
- package/dist/models/HousingRentalVehicleWorkflowModel.d.ts +0 -1
- package/dist/models/HousingRentalVehicleWorkflowModel.js +0 -4
- package/dist/models/InitiatorEmployeeNominationChatModel.d.ts +0 -1
- package/dist/models/InitiatorEmployeeNominationChatModel.js +0 -4
- package/dist/models/InitiatorEmployeeNominationWorkflowModel.d.ts +0 -1
- package/dist/models/InitiatorEmployeeNominationWorkflowModel.js +0 -4
- package/dist/models/InnovativeEmployeeNominationChatModel.d.ts +0 -1
- package/dist/models/InnovativeEmployeeNominationChatModel.js +0 -4
- package/dist/models/InnovativeEmployeeNominationWorkflowModel.d.ts +0 -1
- package/dist/models/InnovativeEmployeeNominationWorkflowModel.js +0 -4
- package/dist/models/IpeGrievanceChatModel.d.ts +0 -1
- package/dist/models/IpeGrievanceChatModel.js +0 -4
- package/dist/models/IpeGrievanceWorkflowModel.d.ts +0 -1
- package/dist/models/IpeGrievanceWorkflowModel.js +0 -4
- package/dist/models/LMSCourseExternalLecturerChatModel.d.ts +0 -2
- package/dist/models/LMSCourseExternalLecturerChatModel.js +0 -8
- package/dist/models/LMSCourseExternalLecturerWorkflowModel.d.ts +0 -2
- package/dist/models/LMSCourseExternalLecturerWorkflowModel.js +0 -8
- package/dist/models/LMSExternalCourseParticipationChatModel.d.ts +0 -2
- package/dist/models/LMSExternalCourseParticipationChatModel.js +0 -8
- package/dist/models/LMSExternalCourseParticipationWorkflowModel.d.ts +0 -2
- package/dist/models/LMSExternalCourseParticipationWorkflowModel.js +0 -8
- package/dist/models/LMSExternalEntityTrainedChatModel.d.ts +0 -2
- package/dist/models/LMSExternalEntityTrainedChatModel.js +0 -8
- package/dist/models/LMSExternalEntityTrainedWorkflowModel.d.ts +0 -2
- package/dist/models/LMSExternalEntityTrainedWorkflowModel.js +0 -8
- package/dist/models/LanguageCourseChatModel.d.ts +0 -2
- package/dist/models/LanguageCourseChatModel.js +0 -8
- package/dist/models/LanguageCourseWorkflowModel.d.ts +0 -2
- package/dist/models/LanguageCourseWorkflowModel.js +0 -8
- package/dist/models/LeaveChatModel.d.ts +0 -2
- package/dist/models/LeaveChatModel.js +0 -8
- package/dist/models/LeaveWorkFlowModel.d.ts +0 -2
- package/dist/models/LeaveWorkFlowModel.js +0 -8
- package/dist/models/MediaChatModel.d.ts +0 -2
- package/dist/models/MediaChatModel.js +0 -8
- package/dist/models/MediaWorkflowModel.d.ts +0 -2
- package/dist/models/MediaWorkflowModel.js +0 -8
- package/dist/models/MedicalExpensesChatModel.d.ts +0 -2
- package/dist/models/MedicalExpensesChatModel.js +0 -8
- package/dist/models/MedicalExpensesWorkflowModel.d.ts +0 -1
- package/dist/models/MedicalExpensesWorkflowModel.js +0 -4
- package/dist/models/MeetingChatModel.d.ts +0 -2
- package/dist/models/MeetingChatModel.js +0 -8
- package/dist/models/MeetingWorkflowModel.d.ts +0 -2
- package/dist/models/MeetingWorkflowModel.js +0 -8
- package/dist/models/MissionBankAccountChatModel.d.ts +0 -2
- package/dist/models/MissionBankAccountChatModel.js +0 -8
- package/dist/models/MissionBankAccountWorkflowModel.d.ts +0 -2
- package/dist/models/MissionBankAccountWorkflowModel.js +0 -8
- package/dist/models/MissionContractsChatModel.d.ts +0 -2
- package/dist/models/MissionContractsChatModel.js +0 -8
- package/dist/models/MissionContractsWorkflowModel.d.ts +0 -1
- package/dist/models/MissionContractsWorkflowModel.js +0 -4
- package/dist/models/MissionTravelChatModel.d.ts +0 -1
- package/dist/models/MissionTravelChatModel.js +0 -4
- package/dist/models/MissionTravelWorkflowModel.d.ts +0 -2
- package/dist/models/MissionTravelWorkflowModel.js +0 -8
- package/dist/models/NationalDayCelebrationsChatModel.d.ts +0 -2
- package/dist/models/NationalDayCelebrationsChatModel.js +0 -8
- package/dist/models/NationalDayCelebrationsWorkflowModel.d.ts +0 -1
- package/dist/models/NationalDayCelebrationsWorkflowModel.js +0 -4
- package/dist/models/RecruitmentDomesticWorkersChatModel.d.ts +0 -2
- package/dist/models/RecruitmentDomesticWorkersChatModel.js +0 -8
- package/dist/models/RecruitmentDomesticWorkersWorkflowModel.d.ts +0 -1
- package/dist/models/RecruitmentDomesticWorkersWorkflowModel.js +0 -4
- package/dist/models/RegisterCandidateChatModel.d.ts +0 -2
- package/dist/models/RegisterCandidateChatModel.js +0 -8
- package/dist/models/RegisterCandidateWorkflowModel.d.ts +0 -2
- package/dist/models/RegisterCandidateWorkflowModel.js +0 -8
- package/dist/models/RegisterVacancyChatModel.d.ts +0 -2
- package/dist/models/RegisterVacancyChatModel.js +0 -8
- package/dist/models/RegisterVacancyWorkflowModel.d.ts +0 -2
- package/dist/models/RegisterVacancyWorkflowModel.js +0 -8
- package/dist/models/RepatriationCitizensChatModel.d.ts +0 -2
- package/dist/models/RepatriationCitizensChatModel.js +0 -8
- package/dist/models/RepatriationCitizensWorkflowModel.d.ts +0 -1
- package/dist/models/RepatriationCitizensWorkflowModel.js +0 -4
- package/dist/models/RequestParcelChatModel.d.ts +0 -2
- package/dist/models/RequestParcelChatModel.js +0 -8
- package/dist/models/RequestParcelWorkflowModel.d.ts +0 -2
- package/dist/models/RequestParcelWorkflowModel.js +0 -8
- package/dist/models/RequestPassportChatModel.d.ts +0 -2
- package/dist/models/RequestPassportChatModel.js +0 -8
- package/dist/models/RequestPassportWorkflowModel.d.ts +0 -2
- package/dist/models/RequestPassportWorkflowModel.js +0 -8
- package/dist/models/ResignationTerminationChatModel.d.ts +0 -2
- package/dist/models/ResignationTerminationChatModel.js +0 -8
- package/dist/models/ResignationTerminationWorkflowModel.d.ts +0 -2
- package/dist/models/ResignationTerminationWorkflowModel.js +0 -8
- package/dist/models/RetiredCardChatsModel.d.ts +0 -2
- package/dist/models/RetiredCardChatsModel.js +0 -8
- package/dist/models/RetiredCardWorkFlowModel.d.ts +0 -2
- package/dist/models/RetiredCardWorkFlowModel.js +0 -8
- package/dist/models/SecurityChatsModel.d.ts +0 -2
- package/dist/models/SecurityChatsModel.js +0 -8
- package/dist/models/StayAfterHoursChatModel.d.ts +0 -2
- package/dist/models/StayAfterHoursChatModel.js +0 -8
- package/dist/models/StayAfterHoursWorkflowModel.d.ts +0 -2
- package/dist/models/StayAfterHoursWorkflowModel.js +0 -8
- package/dist/models/TransferAllowanceChatModel.d.ts +0 -2
- package/dist/models/TransferAllowanceChatModel.js +0 -8
- package/dist/models/TransferAllowanceWorkflowModel.d.ts +0 -1
- package/dist/models/TransferAllowanceWorkflowModel.js +0 -4
- package/dist/models/TransferMissionChatModel.d.ts +0 -2
- package/dist/models/TransferMissionChatModel.js +0 -8
- package/dist/models/TransferMissionWorkflowModel.d.ts +0 -2
- package/dist/models/TransferMissionWorkflowModel.js +0 -8
- package/dist/models/TransferSalaryBankAccountChatModel.d.ts +0 -2
- package/dist/models/TransferSalaryBankAccountChatModel.js +0 -8
- package/dist/models/TransferSalaryBankAccountWorkflowModel.d.ts +0 -1
- package/dist/models/TransferSalaryBankAccountWorkflowModel.js +0 -4
- package/dist/models/UpdateAttendanceChatModel.d.ts +0 -1
- package/dist/models/UpdateAttendanceChatModel.js +0 -4
- package/dist/models/UpdateAttendanceWorkflowModel.d.ts +0 -2
- package/dist/models/UpdateAttendanceWorkflowModel.js +0 -8
- package/dist/models/user.d.ts +1 -0
- package/dist/models/user.js +4 -0
- package/package.json +1 -1
- package/sql/add_users_is_selected_lang.sql +11 -0
- package/src/index.ts +1 -3
- package/src/models/AppointmentChatModel.ts +0 -6
- package/src/models/AppointmentWorkflowModel.ts +0 -6
- package/src/models/AssistanceCitizensAbroadChatModel.ts +0 -6
- package/src/models/AssistanceCitizensAbroadWorkflowModel.ts +0 -3
- package/src/models/ChildrensEducationChatModel.ts +0 -6
- package/src/models/ChildrensEducationWorkflowModel.ts +0 -3
- package/src/models/DiplomaticAcademyChatModel.ts +0 -6
- package/src/models/DiplomaticAcademyWorkflowModel.ts +0 -6
- package/src/models/DiplomaticChatsModel.ts +0 -6
- package/src/models/DiplomaticWorkFlowModel.ts +0 -6
- package/src/models/DocumentTranslationChatModel.ts +0 -6
- package/src/models/DocumentTranslationWorkflowModel.ts +0 -6
- package/src/models/EarlyCheckoutChatModel.ts +0 -6
- package/src/models/EarlyCheckoutWorkflowModel.ts +0 -6
- package/src/models/EmbassyEvaluationChatModel.ts +0 -3
- package/src/models/EmbassyEvaluationWorkflowModel.ts +0 -3
- package/src/models/EmployeeCardChatsModel.ts +0 -6
- package/src/models/EmployeeCardWorkFlowModel.ts +2 -8
- package/src/models/EmployeeEvaluationChatModel.ts +0 -3
- package/src/models/EmployeeEvaluationWorkflowModel.ts +0 -3
- package/src/models/EmployeeOfMonthNominationChatModel.ts +0 -3
- package/src/models/EmployeeOfMonthNominationWorkflowModel.ts +0 -3
- package/src/models/EmployeeOfMonthSupportNominationChatModel.ts +0 -3
- package/src/models/EmployeeOfMonthSupportNominationWorkflowModel.ts +0 -3
- package/src/models/FinancialChatsModel.ts +0 -6
- package/src/models/FinancialWorkFlowModel.ts +0 -6
- package/src/models/FoodChatModel.ts +0 -3
- package/src/models/FoodWorkflowModel.ts +0 -6
- package/src/models/GatePassChatsModel.ts +0 -6
- package/src/models/GatePassWorkFlowModel.ts +2 -8
- package/src/models/GeneralServiceChatsModel.ts +0 -6
- package/src/models/GeneralServiceWorkFlowModel.ts +0 -6
- package/src/models/HallChatModel.ts +0 -3
- package/src/models/HallWorkflowModel.ts +0 -6
- package/src/models/HousingRentalAccommodationChatModel.ts +0 -6
- package/src/models/HousingRentalAccommodationWorkflowModel.ts +0 -3
- package/src/models/HousingRentalVehicleChatModel.ts +0 -6
- package/src/models/HousingRentalVehicleWorkflowModel.ts +0 -3
- package/src/models/InitiatorEmployeeNominationChatModel.ts +0 -3
- package/src/models/InitiatorEmployeeNominationWorkflowModel.ts +0 -3
- package/src/models/InnovativeEmployeeNominationChatModel.ts +0 -3
- package/src/models/InnovativeEmployeeNominationWorkflowModel.ts +0 -3
- package/src/models/IpeGrievanceChatModel.ts +0 -3
- package/src/models/IpeGrievanceWorkflowModel.ts +0 -3
- package/src/models/LMSCourseExternalLecturerChatModel.ts +0 -6
- package/src/models/LMSCourseExternalLecturerWorkflowModel.ts +0 -6
- package/src/models/LMSExternalCourseParticipationChatModel.ts +0 -6
- package/src/models/LMSExternalCourseParticipationWorkflowModel.ts +0 -6
- package/src/models/LMSExternalEntityTrainedChatModel.ts +0 -6
- package/src/models/LMSExternalEntityTrainedWorkflowModel.ts +0 -6
- package/src/models/LanguageCourseChatModel.ts +0 -6
- package/src/models/LanguageCourseWorkflowModel.ts +0 -6
- package/src/models/LeaveChatModel.ts +1 -7
- package/src/models/LeaveWorkFlowModel.ts +0 -6
- package/src/models/MediaChatModel.ts +0 -6
- package/src/models/MediaWorkflowModel.ts +0 -6
- package/src/models/MedicalExpensesChatModel.ts +0 -6
- package/src/models/MedicalExpensesWorkflowModel.ts +0 -3
- package/src/models/MeetingChatModel.ts +0 -6
- package/src/models/MeetingWorkflowModel.ts +0 -6
- package/src/models/MissionBankAccountChatModel.ts +0 -6
- package/src/models/MissionBankAccountWorkflowModel.ts +0 -6
- package/src/models/MissionContractsChatModel.ts +0 -6
- package/src/models/MissionContractsWorkflowModel.ts +0 -3
- package/src/models/MissionTravelChatModel.ts +0 -3
- package/src/models/MissionTravelWorkflowModel.ts +0 -6
- package/src/models/NationalDayCelebrationsChatModel.ts +0 -6
- package/src/models/NationalDayCelebrationsWorkflowModel.ts +0 -3
- package/src/models/RecruitmentDomesticWorkersChatModel.ts +0 -6
- package/src/models/RecruitmentDomesticWorkersWorkflowModel.ts +0 -3
- package/src/models/RegisterCandidateChatModel.ts +0 -6
- package/src/models/RegisterCandidateWorkflowModel.ts +0 -6
- package/src/models/RegisterVacancyChatModel.ts +0 -6
- package/src/models/RegisterVacancyWorkflowModel.ts +0 -6
- package/src/models/RepatriationCitizensChatModel.ts +0 -6
- package/src/models/RepatriationCitizensWorkflowModel.ts +0 -3
- package/src/models/RequestParcelChatModel.ts +0 -6
- package/src/models/RequestParcelWorkflowModel.ts +0 -6
- package/src/models/RequestPassportChatModel.ts +0 -6
- package/src/models/RequestPassportWorkflowModel.ts +0 -6
- package/src/models/ResignationTerminationChatModel.ts +0 -6
- package/src/models/ResignationTerminationWorkflowModel.ts +0 -6
- package/src/models/RetiredCardChatsModel.ts +0 -6
- package/src/models/RetiredCardWorkFlowModel.ts +2 -8
- package/src/models/SecurityChatsModel.ts +0 -6
- package/src/models/StayAfterHoursChatModel.ts +0 -6
- package/src/models/StayAfterHoursWorkflowModel.ts +0 -6
- package/src/models/TransferAllowanceChatModel.ts +0 -6
- package/src/models/TransferAllowanceWorkflowModel.ts +0 -3
- package/src/models/TransferMissionChatModel.ts +0 -6
- package/src/models/TransferMissionWorkflowModel.ts +0 -6
- package/src/models/TransferSalaryBankAccountChatModel.ts +0 -6
- package/src/models/TransferSalaryBankAccountWorkflowModel.ts +0 -3
- package/src/models/UpdateAttendanceChatModel.ts +0 -3
- package/src/models/UpdateAttendanceWorkflowModel.ts +0 -6
- package/src/models/user.ts +3 -0
- package/tsconfig.json +0 -1
- package/sql/add_fm_workflow_chat_arabic_columns.sql +0 -153
- package/src/i18n/workflow-chat-i18n.json +0 -320
- package/src/i18n/workflow-chat-i18n.ts +0 -5
- package/src/i18n/workflow-chat-message.builder.ts +0 -1405
|
@@ -65,10 +65,6 @@ __decorate([
|
|
|
65
65
|
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
66
66
|
__metadata("design:type", String)
|
|
67
67
|
], RetiredCardRequestChat.prototype, "message", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
70
|
-
__metadata("design:type", Object)
|
|
71
|
-
], RetiredCardRequestChat.prototype, "message_ar", void 0);
|
|
72
68
|
__decorate([
|
|
73
69
|
(0, typeorm_1.Column)({
|
|
74
70
|
type: 'enum',
|
|
@@ -82,10 +78,6 @@ __decorate([
|
|
|
82
78
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
83
79
|
__metadata("design:type", String)
|
|
84
80
|
], RetiredCardRequestChat.prototype, "status", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
87
|
-
__metadata("design:type", Object)
|
|
88
|
-
], RetiredCardRequestChat.prototype, "status_ar", void 0);
|
|
89
81
|
exports.RetiredCardRequestChat = RetiredCardRequestChat = __decorate([
|
|
90
82
|
(0, typeorm_1.Entity)({ name: 'retired_card_chats' }),
|
|
91
83
|
__metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
|
|
@@ -19,9 +19,7 @@ export declare class RetiredCardWorkFlow extends BaseModel {
|
|
|
19
19
|
retired_card_request_id: number;
|
|
20
20
|
retired_card_approval_details_id: number;
|
|
21
21
|
content: string;
|
|
22
|
-
content_ar: string | null;
|
|
23
22
|
status: RetiredCardWorkFlowStatus;
|
|
24
|
-
status_ar: string | null;
|
|
25
23
|
user_id: number | null;
|
|
26
24
|
role_id: number | null;
|
|
27
25
|
department_id: number | null;
|
|
@@ -44,18 +44,10 @@ __decorate([
|
|
|
44
44
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
46
|
], RetiredCardWorkFlow.prototype, "content", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
49
|
-
__metadata("design:type", Object)
|
|
50
|
-
], RetiredCardWorkFlow.prototype, "content_ar", void 0);
|
|
51
47
|
__decorate([
|
|
52
48
|
(0, typeorm_1.Column)({ type: 'enum', enum: RetiredCardWorkFlowStatus, default: RetiredCardWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
|
|
53
49
|
__metadata("design:type", String)
|
|
54
50
|
], RetiredCardWorkFlow.prototype, "status", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
57
|
-
__metadata("design:type", Object)
|
|
58
|
-
], RetiredCardWorkFlow.prototype, "status_ar", void 0);
|
|
59
51
|
__decorate([
|
|
60
52
|
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
61
53
|
__metadata("design:type", Object)
|
|
@@ -20,9 +20,7 @@ export declare class SecurityChat extends BaseModel {
|
|
|
20
20
|
user_id: number;
|
|
21
21
|
role_id: number;
|
|
22
22
|
message: string;
|
|
23
|
-
message_ar: string | null;
|
|
24
23
|
messageType: SecurityDeptMessageType;
|
|
25
24
|
status: string;
|
|
26
|
-
status_ar: string | null;
|
|
27
25
|
constructor(request_id: number, user_id: number, role_id: number, message: string, service_id?: number, sub_service_id?: number, messageType?: SecurityDeptMessageType, status?: string);
|
|
28
26
|
}
|
|
@@ -65,10 +65,6 @@ __decorate([
|
|
|
65
65
|
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
66
66
|
__metadata("design:type", String)
|
|
67
67
|
], SecurityChat.prototype, "message", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
70
|
-
__metadata("design:type", Object)
|
|
71
|
-
], SecurityChat.prototype, "message_ar", void 0);
|
|
72
68
|
__decorate([
|
|
73
69
|
(0, typeorm_1.Column)({
|
|
74
70
|
type: 'enum',
|
|
@@ -82,10 +78,6 @@ __decorate([
|
|
|
82
78
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
83
79
|
__metadata("design:type", String)
|
|
84
80
|
], SecurityChat.prototype, "status", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
87
|
-
__metadata("design:type", Object)
|
|
88
|
-
], SecurityChat.prototype, "status_ar", void 0);
|
|
89
81
|
exports.SecurityChat = SecurityChat = __decorate([
|
|
90
82
|
(0, typeorm_1.Entity)({ name: 'security_chats' }),
|
|
91
83
|
__metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
|
|
@@ -14,9 +14,7 @@ export declare class StayAfterHoursRequestChat extends BaseModel {
|
|
|
14
14
|
user_id: number;
|
|
15
15
|
role_id: number;
|
|
16
16
|
message: string;
|
|
17
|
-
message_ar: string | null;
|
|
18
17
|
messageType: StayAfterHoursMessageType;
|
|
19
18
|
status: string;
|
|
20
|
-
status_ar: string | null;
|
|
21
19
|
constructor(request_id: number, user_id: number, role_id: number, message: string, service_id?: number, sub_service_id?: number, messageType?: StayAfterHoursMessageType, status?: StayAfterHoursApprovalStatus);
|
|
22
20
|
}
|
|
@@ -59,10 +59,6 @@ __decorate([
|
|
|
59
59
|
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
60
60
|
__metadata("design:type", String)
|
|
61
61
|
], StayAfterHoursRequestChat.prototype, "message", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
64
|
-
__metadata("design:type", Object)
|
|
65
|
-
], StayAfterHoursRequestChat.prototype, "message_ar", void 0);
|
|
66
62
|
__decorate([
|
|
67
63
|
(0, typeorm_1.Column)({
|
|
68
64
|
type: 'enum',
|
|
@@ -76,10 +72,6 @@ __decorate([
|
|
|
76
72
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
77
73
|
__metadata("design:type", String)
|
|
78
74
|
], StayAfterHoursRequestChat.prototype, "status", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
81
|
-
__metadata("design:type", Object)
|
|
82
|
-
], StayAfterHoursRequestChat.prototype, "status_ar", void 0);
|
|
83
75
|
exports.StayAfterHoursRequestChat = StayAfterHoursRequestChat = __decorate([
|
|
84
76
|
(0, typeorm_1.Entity)({ name: 'stay_after_hours_chats' }),
|
|
85
77
|
__metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
|
|
@@ -9,9 +9,7 @@ export declare class StayAfterHoursWorkFlow extends BaseModel {
|
|
|
9
9
|
service_id: number | null;
|
|
10
10
|
sub_service_id: number | null;
|
|
11
11
|
content: string;
|
|
12
|
-
content_ar: string | null;
|
|
13
12
|
status: StayAfterHoursWorkFlowStatus;
|
|
14
|
-
status_ar: string | null;
|
|
15
13
|
user_id: number | null;
|
|
16
14
|
role_id: number | null;
|
|
17
15
|
department_id: number | null;
|
|
@@ -37,18 +37,10 @@ __decorate([
|
|
|
37
37
|
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], StayAfterHoursWorkFlow.prototype, "content", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
42
|
-
__metadata("design:type", Object)
|
|
43
|
-
], StayAfterHoursWorkFlow.prototype, "content_ar", void 0);
|
|
44
40
|
__decorate([
|
|
45
41
|
(0, typeorm_1.Column)({ type: 'enum', enum: StayAfterHoursWorkFlowStatus, default: StayAfterHoursWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
|
|
46
42
|
__metadata("design:type", String)
|
|
47
43
|
], StayAfterHoursWorkFlow.prototype, "status", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
50
|
-
__metadata("design:type", Object)
|
|
51
|
-
], StayAfterHoursWorkFlow.prototype, "status_ar", void 0);
|
|
52
44
|
__decorate([
|
|
53
45
|
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
54
46
|
__metadata("design:type", Object)
|
|
@@ -13,9 +13,7 @@ export declare class TransferAllowanceRequestChat extends BaseModel {
|
|
|
13
13
|
user_id: number;
|
|
14
14
|
role_id: number;
|
|
15
15
|
message: string;
|
|
16
|
-
message_ar: string | null;
|
|
17
16
|
messageType: TransferAllowanceMessageType;
|
|
18
17
|
status: string;
|
|
19
|
-
status_ar: string | null;
|
|
20
18
|
constructor(request_id: number, user_id: number, role_id: number, message: string, service_id?: number, sub_service_id?: number, messageType?: TransferAllowanceMessageType, status?: string);
|
|
21
19
|
}
|
|
@@ -58,10 +58,6 @@ __decorate([
|
|
|
58
58
|
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
59
59
|
__metadata("design:type", String)
|
|
60
60
|
], TransferAllowanceRequestChat.prototype, "message", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
63
|
-
__metadata("design:type", Object)
|
|
64
|
-
], TransferAllowanceRequestChat.prototype, "message_ar", void 0);
|
|
65
61
|
__decorate([
|
|
66
62
|
(0, typeorm_1.Column)({
|
|
67
63
|
type: 'enum',
|
|
@@ -75,10 +71,6 @@ __decorate([
|
|
|
75
71
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
76
72
|
__metadata("design:type", String)
|
|
77
73
|
], TransferAllowanceRequestChat.prototype, "status", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
80
|
-
__metadata("design:type", Object)
|
|
81
|
-
], TransferAllowanceRequestChat.prototype, "status_ar", void 0);
|
|
82
74
|
exports.TransferAllowanceRequestChat = TransferAllowanceRequestChat = __decorate([
|
|
83
75
|
(0, typeorm_1.Entity)({ name: 'transfer_allowance_chats' }),
|
|
84
76
|
__metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
|
|
@@ -9,7 +9,6 @@ export declare class TransferAllowanceWorkFlow extends BaseModel {
|
|
|
9
9
|
service_id: number | null;
|
|
10
10
|
sub_service_id: number | null;
|
|
11
11
|
content: string;
|
|
12
|
-
content_ar: string | null;
|
|
13
12
|
status: TransferAllowanceWorkFlowStatus;
|
|
14
13
|
user_id: number | null;
|
|
15
14
|
role_id: number | null;
|
|
@@ -37,10 +37,6 @@ __decorate([
|
|
|
37
37
|
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], TransferAllowanceWorkFlow.prototype, "content", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
42
|
-
__metadata("design:type", Object)
|
|
43
|
-
], TransferAllowanceWorkFlow.prototype, "content_ar", void 0);
|
|
44
40
|
__decorate([
|
|
45
41
|
(0, typeorm_1.Column)({
|
|
46
42
|
type: 'enum',
|
|
@@ -13,9 +13,7 @@ export declare class TransferMissionRequestChat extends BaseModel {
|
|
|
13
13
|
user_id: number;
|
|
14
14
|
role_id: number;
|
|
15
15
|
message: string;
|
|
16
|
-
message_ar: string | null;
|
|
17
16
|
messageType: TransferMissionMessageType;
|
|
18
17
|
status: string;
|
|
19
|
-
status_ar: string | null;
|
|
20
18
|
constructor(request_id: number, user_id: number, role_id: number, message: string, service_id?: number, sub_service_id?: number, messageType?: TransferMissionMessageType, status?: string);
|
|
21
19
|
}
|
|
@@ -59,10 +59,6 @@ __decorate([
|
|
|
59
59
|
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
60
60
|
__metadata("design:type", String)
|
|
61
61
|
], TransferMissionRequestChat.prototype, "message", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
64
|
-
__metadata("design:type", Object)
|
|
65
|
-
], TransferMissionRequestChat.prototype, "message_ar", void 0);
|
|
66
62
|
__decorate([
|
|
67
63
|
(0, typeorm_1.Column)({
|
|
68
64
|
type: 'enum',
|
|
@@ -76,10 +72,6 @@ __decorate([
|
|
|
76
72
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
77
73
|
__metadata("design:type", String)
|
|
78
74
|
], TransferMissionRequestChat.prototype, "status", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
81
|
-
__metadata("design:type", Object)
|
|
82
|
-
], TransferMissionRequestChat.prototype, "status_ar", void 0);
|
|
83
75
|
exports.TransferMissionRequestChat = TransferMissionRequestChat = __decorate([
|
|
84
76
|
(0, typeorm_1.Entity)({ name: 'transfer_mission_chats' }),
|
|
85
77
|
__metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
|
|
@@ -9,9 +9,7 @@ export declare class TransferMissionWorkFlow extends BaseModel {
|
|
|
9
9
|
service_id: number | null;
|
|
10
10
|
sub_service_id: number | null;
|
|
11
11
|
content: string;
|
|
12
|
-
content_ar: string | null;
|
|
13
12
|
status: TransferMissionWorkFlowStatus;
|
|
14
|
-
status_ar: string | null;
|
|
15
13
|
user_id: number | null;
|
|
16
14
|
role_id: number | null;
|
|
17
15
|
department_id: number | null;
|
|
@@ -37,18 +37,10 @@ __decorate([
|
|
|
37
37
|
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], TransferMissionWorkFlow.prototype, "content", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
42
|
-
__metadata("design:type", Object)
|
|
43
|
-
], TransferMissionWorkFlow.prototype, "content_ar", void 0);
|
|
44
40
|
__decorate([
|
|
45
41
|
(0, typeorm_1.Column)({ type: 'enum', enum: TransferMissionWorkFlowStatus, default: TransferMissionWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
|
|
46
42
|
__metadata("design:type", String)
|
|
47
43
|
], TransferMissionWorkFlow.prototype, "status", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
50
|
-
__metadata("design:type", Object)
|
|
51
|
-
], TransferMissionWorkFlow.prototype, "status_ar", void 0);
|
|
52
44
|
__decorate([
|
|
53
45
|
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
54
46
|
__metadata("design:type", Object)
|
|
@@ -13,9 +13,7 @@ export declare class TransferSalaryBankAccountRequestChat extends BaseModel {
|
|
|
13
13
|
user_id: number;
|
|
14
14
|
role_id: number;
|
|
15
15
|
message: string;
|
|
16
|
-
message_ar: string | null;
|
|
17
16
|
messageType: TransferSalaryBankAccountMessageType;
|
|
18
17
|
status: string;
|
|
19
|
-
status_ar: string | null;
|
|
20
18
|
constructor(request_id: number, user_id: number, role_id: number, message: string, service_id?: number, sub_service_id?: number, messageType?: TransferSalaryBankAccountMessageType, status?: string);
|
|
21
19
|
}
|
|
@@ -58,10 +58,6 @@ __decorate([
|
|
|
58
58
|
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
59
59
|
__metadata("design:type", String)
|
|
60
60
|
], TransferSalaryBankAccountRequestChat.prototype, "message", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
63
|
-
__metadata("design:type", Object)
|
|
64
|
-
], TransferSalaryBankAccountRequestChat.prototype, "message_ar", void 0);
|
|
65
61
|
__decorate([
|
|
66
62
|
(0, typeorm_1.Column)({
|
|
67
63
|
type: 'enum',
|
|
@@ -75,10 +71,6 @@ __decorate([
|
|
|
75
71
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
76
72
|
__metadata("design:type", String)
|
|
77
73
|
], TransferSalaryBankAccountRequestChat.prototype, "status", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
80
|
-
__metadata("design:type", Object)
|
|
81
|
-
], TransferSalaryBankAccountRequestChat.prototype, "status_ar", void 0);
|
|
82
74
|
exports.TransferSalaryBankAccountRequestChat = TransferSalaryBankAccountRequestChat = __decorate([
|
|
83
75
|
(0, typeorm_1.Entity)({ name: 'transfer_salary_bank_account_chats' }),
|
|
84
76
|
__metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
|
|
@@ -9,7 +9,6 @@ export declare class TransferSalaryBankAccountWorkFlow extends BaseModel {
|
|
|
9
9
|
service_id: number | null;
|
|
10
10
|
sub_service_id: number | null;
|
|
11
11
|
content: string;
|
|
12
|
-
content_ar: string | null;
|
|
13
12
|
status: TransferSalaryBankAccountWorkFlowStatus;
|
|
14
13
|
user_id: number | null;
|
|
15
14
|
role_id: number | null;
|
|
@@ -37,10 +37,6 @@ __decorate([
|
|
|
37
37
|
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], TransferSalaryBankAccountWorkFlow.prototype, "content", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
42
|
-
__metadata("design:type", Object)
|
|
43
|
-
], TransferSalaryBankAccountWorkFlow.prototype, "content_ar", void 0);
|
|
44
40
|
__decorate([
|
|
45
41
|
(0, typeorm_1.Column)({
|
|
46
42
|
type: 'enum',
|
|
@@ -48,10 +48,6 @@ __decorate([
|
|
|
48
48
|
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
49
49
|
__metadata("design:type", String)
|
|
50
50
|
], UpdateAttendanceRequestChat.prototype, "message", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
53
|
-
__metadata("design:type", Object)
|
|
54
|
-
], UpdateAttendanceRequestChat.prototype, "message_ar", void 0);
|
|
55
51
|
__decorate([
|
|
56
52
|
(0, typeorm_1.Column)({ type: 'enum', enum: UpdateAttendanceMessageType, default: UpdateAttendanceMessageType.TEXT, nullable: false }),
|
|
57
53
|
__metadata("design:type", String)
|
|
@@ -9,9 +9,7 @@ export declare class UpdateAttendanceWorkFlow extends BaseModel {
|
|
|
9
9
|
service_id: number | null;
|
|
10
10
|
sub_service_id: number | null;
|
|
11
11
|
content: string;
|
|
12
|
-
content_ar: string | null;
|
|
13
12
|
status: UpdateAttendanceWorkFlowStatus;
|
|
14
|
-
status_ar: string | null;
|
|
15
13
|
user_id: number | null;
|
|
16
14
|
role_id: number | null;
|
|
17
15
|
department_id: number | null;
|
|
@@ -37,18 +37,10 @@ __decorate([
|
|
|
37
37
|
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], UpdateAttendanceWorkFlow.prototype, "content", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
42
|
-
__metadata("design:type", Object)
|
|
43
|
-
], UpdateAttendanceWorkFlow.prototype, "content_ar", void 0);
|
|
44
40
|
__decorate([
|
|
45
41
|
(0, typeorm_1.Column)({ type: 'enum', enum: UpdateAttendanceWorkFlowStatus, default: UpdateAttendanceWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
|
|
46
42
|
__metadata("design:type", String)
|
|
47
43
|
], UpdateAttendanceWorkFlow.prototype, "status", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
50
|
-
__metadata("design:type", Object)
|
|
51
|
-
], UpdateAttendanceWorkFlow.prototype, "status_ar", void 0);
|
|
52
44
|
__decorate([
|
|
53
45
|
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
54
46
|
__metadata("design:type", Object)
|
package/dist/models/user.d.ts
CHANGED
package/dist/models/user.js
CHANGED
|
@@ -245,6 +245,10 @@ __decorate([
|
|
|
245
245
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
246
246
|
__metadata("design:type", String)
|
|
247
247
|
], User.prototype, "language_preferences", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
(0, typeorm_1.Column)({ type: "enum", enum: ["English", "Arabic"], nullable: false, default: "English" }),
|
|
250
|
+
__metadata("design:type", String)
|
|
251
|
+
], User.prototype, "is_selected_lang", void 0);
|
|
248
252
|
__decorate([
|
|
249
253
|
(0, typeorm_1.Column)({ type: "enum", enum: ["FM", "Embassy"], nullable: false, default: "FM" }),
|
|
250
254
|
__metadata("design:type", String)
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
-- Add is_selected_lang column to users table (FM).
|
|
2
|
+
-- Run once per environment before deploying updated services.
|
|
3
|
+
|
|
4
|
+
DO $$ BEGIN
|
|
5
|
+
CREATE TYPE is_selected_lang_enum AS ENUM ('English', 'Arabic');
|
|
6
|
+
EXCEPTION
|
|
7
|
+
WHEN duplicate_object THEN NULL;
|
|
8
|
+
END $$;
|
|
9
|
+
|
|
10
|
+
ALTER TABLE IF EXISTS users
|
|
11
|
+
ADD COLUMN IF NOT EXISTS is_selected_lang is_selected_lang_enum NOT NULL DEFAULT 'English';
|
package/src/index.ts
CHANGED
|
@@ -615,6 +615,4 @@ export { EvaluationFormSection } from './models/EvaluationFormSectionModel';
|
|
|
615
615
|
export {
|
|
616
616
|
EvaluationFormQuestion,
|
|
617
617
|
EvaluationFormQuestionType,
|
|
618
|
-
} from './models/EvaluationFormQuestionModel';
|
|
619
|
-
|
|
620
|
-
export * from './i18n/workflow-chat-message.builder';
|
|
618
|
+
} from './models/EvaluationFormQuestionModel';
|
|
@@ -29,9 +29,6 @@ export class AppointmentRequestChat extends BaseModel {
|
|
|
29
29
|
@Column({ type: 'text', nullable: false })
|
|
30
30
|
message: string;
|
|
31
31
|
|
|
32
|
-
@Column({ type: 'text', nullable: true })
|
|
33
|
-
message_ar: string | null;
|
|
34
|
-
|
|
35
32
|
@Column({
|
|
36
33
|
type: 'enum',
|
|
37
34
|
enum: AppointmentMessageType,
|
|
@@ -43,9 +40,6 @@ export class AppointmentRequestChat extends BaseModel {
|
|
|
43
40
|
@Column({ type: 'text', nullable: true })
|
|
44
41
|
status: string;
|
|
45
42
|
|
|
46
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
47
|
-
status_ar: string | null;
|
|
48
|
-
|
|
49
43
|
constructor(
|
|
50
44
|
appointment_id: number,
|
|
51
45
|
user_id: number,
|
|
@@ -21,15 +21,9 @@ export class AppointmentWorkFlow extends BaseModel {
|
|
|
21
21
|
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
22
22
|
content: string;
|
|
23
23
|
|
|
24
|
-
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
25
|
-
content_ar: string | null;
|
|
26
|
-
|
|
27
24
|
@Column({ type: 'enum', enum: AppointmentWorkFlowStatus, default: AppointmentWorkFlowStatus.NOT_YET_STARTED, nullable: false })
|
|
28
25
|
status: AppointmentWorkFlowStatus;
|
|
29
26
|
|
|
30
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
31
|
-
status_ar: string | null;
|
|
32
|
-
|
|
33
27
|
@Column({ type: 'integer', nullable: true })
|
|
34
28
|
user_id: number | null;
|
|
35
29
|
|
|
@@ -30,9 +30,6 @@ export class AssistanceCitizensAbroadRequestChat extends BaseModel {
|
|
|
30
30
|
@Column({ type: 'text', nullable: false })
|
|
31
31
|
message: string;
|
|
32
32
|
|
|
33
|
-
@Column({ type: 'text', nullable: true })
|
|
34
|
-
message_ar: string | null;
|
|
35
|
-
|
|
36
33
|
@Column({
|
|
37
34
|
type: 'enum',
|
|
38
35
|
enum: AssistanceCitizensAbroadMessageType,
|
|
@@ -44,9 +41,6 @@ export class AssistanceCitizensAbroadRequestChat extends BaseModel {
|
|
|
44
41
|
@Column({ type: 'text', nullable: true })
|
|
45
42
|
status: string;
|
|
46
43
|
|
|
47
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
48
|
-
status_ar: string | null;
|
|
49
|
-
|
|
50
44
|
constructor(
|
|
51
45
|
request_id: number,
|
|
52
46
|
user_id: number,
|
|
@@ -21,9 +21,6 @@ export class AssistanceCitizensAbroadWorkFlow extends BaseModel {
|
|
|
21
21
|
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
22
22
|
content: string;
|
|
23
23
|
|
|
24
|
-
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
25
|
-
content_ar: string | null;
|
|
26
|
-
|
|
27
24
|
@Column({
|
|
28
25
|
type: 'enum',
|
|
29
26
|
enum: AssistanceCitizensAbroadWorkFlowStatus,
|
|
@@ -29,9 +29,6 @@ export class ChildrensEducationRequestChat extends BaseModel {
|
|
|
29
29
|
@Column({ type: 'text', nullable: false })
|
|
30
30
|
message: string;
|
|
31
31
|
|
|
32
|
-
@Column({ type: 'text', nullable: true })
|
|
33
|
-
message_ar: string | null;
|
|
34
|
-
|
|
35
32
|
@Column({
|
|
36
33
|
type: 'enum',
|
|
37
34
|
enum: ChildrensEducationMessageType,
|
|
@@ -43,9 +40,6 @@ export class ChildrensEducationRequestChat extends BaseModel {
|
|
|
43
40
|
@Column({ type: 'text', nullable: true })
|
|
44
41
|
status: string;
|
|
45
42
|
|
|
46
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
47
|
-
status_ar: string | null;
|
|
48
|
-
|
|
49
43
|
constructor(
|
|
50
44
|
request_id: number,
|
|
51
45
|
user_id: number,
|
|
@@ -21,9 +21,6 @@ export class ChildrensEducationWorkFlow extends BaseModel {
|
|
|
21
21
|
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
22
22
|
content: string;
|
|
23
23
|
|
|
24
|
-
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
25
|
-
content_ar: string | null;
|
|
26
|
-
|
|
27
24
|
@Column({
|
|
28
25
|
type: 'enum',
|
|
29
26
|
enum: ChildrensEducationWorkFlowStatus,
|
|
@@ -31,9 +31,6 @@ export class DiplomaticAcademyRequestChat extends BaseModel {
|
|
|
31
31
|
@Column({ type: 'text', nullable: false })
|
|
32
32
|
message: string;
|
|
33
33
|
|
|
34
|
-
@Column({ type: 'text', nullable: true })
|
|
35
|
-
message_ar: string | null;
|
|
36
|
-
|
|
37
34
|
@Column({
|
|
38
35
|
type: 'enum',
|
|
39
36
|
enum: DiplomaticAcademyMessageType,
|
|
@@ -45,9 +42,6 @@ export class DiplomaticAcademyRequestChat extends BaseModel {
|
|
|
45
42
|
@Column({ type: 'text', nullable: true })
|
|
46
43
|
status: string;
|
|
47
44
|
|
|
48
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
49
|
-
status_ar: string | null;
|
|
50
|
-
|
|
51
45
|
constructor(
|
|
52
46
|
request_id: number,
|
|
53
47
|
user_id: number,
|
|
@@ -21,15 +21,9 @@ export class DiplomaticAcademyWorkFlow extends BaseModel {
|
|
|
21
21
|
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
22
22
|
content: string;
|
|
23
23
|
|
|
24
|
-
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
25
|
-
content_ar: string | null;
|
|
26
|
-
|
|
27
24
|
@Column({ type: 'enum', enum: DiplomaticAcademyWorkFlowStatus, default: DiplomaticAcademyWorkFlowStatus.NOT_YET_STARTED, nullable: false })
|
|
28
25
|
status: DiplomaticAcademyWorkFlowStatus;
|
|
29
26
|
|
|
30
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
31
|
-
status_ar: string | null;
|
|
32
|
-
|
|
33
27
|
@Column({ type: 'integer', nullable: true })
|
|
34
28
|
user_id: number | null;
|
|
35
29
|
|
|
@@ -18,9 +18,6 @@ export class DiplomaticChats extends BaseModel {
|
|
|
18
18
|
@Column({ type: 'text' })
|
|
19
19
|
content: string;
|
|
20
20
|
|
|
21
|
-
@Column({ type: 'text', nullable: true })
|
|
22
|
-
content_ar: string | null;
|
|
23
|
-
|
|
24
21
|
@Column({ type: 'int' })
|
|
25
22
|
sender_user_id: number;
|
|
26
23
|
|
|
@@ -30,9 +27,6 @@ export class DiplomaticChats extends BaseModel {
|
|
|
30
27
|
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
31
28
|
status: string | null;
|
|
32
29
|
|
|
33
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
34
|
-
status_ar: string | null;
|
|
35
|
-
|
|
36
30
|
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
37
31
|
message_type: DiplomaticMessageType | null;
|
|
38
32
|
|
|
@@ -22,15 +22,9 @@ export class DiplomaticWorkFlow extends BaseModel {
|
|
|
22
22
|
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
23
23
|
content: string;
|
|
24
24
|
|
|
25
|
-
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
26
|
-
content_ar: string | null;
|
|
27
|
-
|
|
28
25
|
@Column({ type: 'enum', enum: DiplomaticWorkFlowStatus, default: DiplomaticWorkFlowStatus.NOT_YET_STARTED })
|
|
29
26
|
status: DiplomaticWorkFlowStatus;
|
|
30
27
|
|
|
31
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
32
|
-
status_ar: string | null;
|
|
33
|
-
|
|
34
28
|
@Column({ type: 'int', nullable: true })
|
|
35
29
|
user_id: number | null;
|
|
36
30
|
|
|
@@ -31,9 +31,6 @@ export class DocumentTranslationRequestChat extends BaseModel {
|
|
|
31
31
|
@Column({ type: 'text', nullable: false })
|
|
32
32
|
message: string;
|
|
33
33
|
|
|
34
|
-
@Column({ type: 'text', nullable: true })
|
|
35
|
-
message_ar: string | null;
|
|
36
|
-
|
|
37
34
|
@Column({
|
|
38
35
|
type: 'enum',
|
|
39
36
|
enum: DocumentTranslationMessageType,
|
|
@@ -45,9 +42,6 @@ export class DocumentTranslationRequestChat extends BaseModel {
|
|
|
45
42
|
@Column({ type: 'text', nullable: true })
|
|
46
43
|
status: string;
|
|
47
44
|
|
|
48
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
49
|
-
status_ar: string | null;
|
|
50
|
-
|
|
51
45
|
constructor(
|
|
52
46
|
request_id: number,
|
|
53
47
|
user_id: number,
|
|
@@ -21,15 +21,9 @@ export class DocumentTranslationWorkFlow extends BaseModel {
|
|
|
21
21
|
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
22
22
|
content: string;
|
|
23
23
|
|
|
24
|
-
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
25
|
-
content_ar: string | null;
|
|
26
|
-
|
|
27
24
|
@Column({ type: 'enum', enum: DocumentTranslationWorkFlowStatus, default: DocumentTranslationWorkFlowStatus.NOT_YET_STARTED, nullable: false })
|
|
28
25
|
status: DocumentTranslationWorkFlowStatus;
|
|
29
26
|
|
|
30
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
31
|
-
status_ar: string | null;
|
|
32
|
-
|
|
33
27
|
@Column({ type: 'integer', nullable: true })
|
|
34
28
|
user_id: number | null;
|
|
35
29
|
|