From 77ce5190e0cc54fbfb2fa4e41b0f264775420304 Mon Sep 17 00:00:00 2001 From: fagiothree <32491856+fagiothree@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:37:41 +0200 Subject: [PATCH 1/2] Update parenttext_models.py --- src/parenttext_pipeline/models/parenttext_models.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/parenttext_pipeline/models/parenttext_models.py b/src/parenttext_pipeline/models/parenttext_models.py index 4a9bc05..fdf872f 100644 --- a/src/parenttext_pipeline/models/parenttext_models.py +++ b/src/parenttext_pipeline/models/parenttext_models.py @@ -419,6 +419,8 @@ class ActivityOfferModel(DataRowModel): accept: AgeGroupModel = AgeGroupModel() refuse: str = '' refuse_msg: str = '' + other_option: str = '' + other_flow: str = '' next_offer_msg: str = '' next_accept: str = '' next_refuse: str = '' @@ -454,6 +456,12 @@ class SingleMessageModel(DataRowModel): attachment: AttachmentModel = AttachmentModel() metadata: MetadataModel = MetadataModel() +class MessageListModel(DataRowModel): + msg: List[str] = [] + next_button_option: str = '' + attachment: AttachmentModel = AttachmentModel() + metadata: MetadataModel = MetadataModel() + #################################### ## Menu class MenuOptionModel(ParserModel): @@ -508,6 +516,7 @@ class SettingsProfileModel(DataRowModel): class ReferralsModel(DataRowModel): referrals: str = '' + intro: str = '' option_name: str = '' @@ -551,6 +560,7 @@ class Language(ParserModel): afr: str = "" xho: str = "" zul: str = "" + hau: str = "" class GoalDataModel(DataRowModel): priority_c: str = "" @@ -595,4 +605,5 @@ class GlobalVariableModel(DataRowModel): var_value: str = '' class IncentiveModel(DataRowModel): - amount: str = '' \ No newline at end of file + amount: str = '' + currency: str = '' \ No newline at end of file From bdcb90d6c139e77abf710bf6dc5a6413fe0136b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chiara=20Facciol=C3=A0?= <32491856+fagiothree@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:41:58 +0200 Subject: [PATCH 2/2] Update parenttext_models.py --- src/parenttext_pipeline/models/parenttext_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parenttext_pipeline/models/parenttext_models.py b/src/parenttext_pipeline/models/parenttext_models.py index 4674b80..203adaa 100644 --- a/src/parenttext_pipeline/models/parenttext_models.py +++ b/src/parenttext_pipeline/models/parenttext_models.py @@ -607,5 +607,5 @@ class GlobalVariableModel(DataRowModel): class IncentiveModel(DataRowModel): amount: str = '' - currency: str = '' + currency: str = ''