Skip to content

Commit

Permalink
Merge pull request #137 from IDEMSInternational/update-models-for-swift
Browse files Browse the repository at this point in the history
Update parenttext_models.py
  • Loading branch information
fagiothree authored Aug 12, 2024
2 parents 5c8922d + bdcb90d commit 281c771
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/parenttext_pipeline/models/parenttext_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -508,6 +516,7 @@ class SettingsProfileModel(DataRowModel):

class ReferralsModel(DataRowModel):
referrals: str = ''
intro: str = ''
option_name: str = ''
intro: str = ''

Expand Down Expand Up @@ -552,6 +561,7 @@ class Language(ParserModel):
afr: str = ""
xho: str = ""
zul: str = ""
hau: str = ""

class GoalDataModel(DataRowModel):
priority_c: str = ""
Expand Down Expand Up @@ -597,3 +607,5 @@ class GlobalVariableModel(DataRowModel):

class IncentiveModel(DataRowModel):
amount: str = ''
currency: str = ''

0 comments on commit 281c771

Please sign in to comment.