diff --git a/anansyTypes/schemas.py b/anansyTypes/schemas.py index 7750390..f3df415 100644 --- a/anansyTypes/schemas.py +++ b/anansyTypes/schemas.py @@ -46,6 +46,7 @@ class AudioToSymbolRequest(ModifiedBaseModel): class AudioToSymbolResponse(ModifiedBaseModel): symbols: List[Symbol] sentence: str + refunded: bool = False # the translation was too poor to use up a free translation class TextToSymbolRequest(ModifiedBaseModel): text: str @@ -150,6 +151,7 @@ class TranslationTrace(ModifiedBaseModel): class TextToSymbolResponse(ModifiedBaseModel): symbols: List[Symbol] trace: Optional[TranslationTrace] = None # only when asked for, and allowed (ALLOW_TRACE) + refunded: bool = False # the translation was too poor to use up a free translation class GetLeafSymbolsRequest(ModifiedBaseModel): leaves: List[SymbolLeaf]