diff --git a/acacore/__version__.py b/acacore/__version__.py index 5c4105c..7863915 100644 --- a/acacore/__version__.py +++ b/acacore/__version__.py @@ -1 +1 @@ -__version__ = "1.0.1" +__version__ = "1.0.2" diff --git a/acacore/models/reference_files.py b/acacore/models/reference_files.py index cb27425..6c08040 100644 --- a/acacore/models/reference_files.py +++ b/acacore/models/reference_files.py @@ -54,9 +54,12 @@ class ReplaceAction(BaseModel): Attributes: template (str): The replacement template. + template_text (Optional[str]): Optional. Text to use instead of the default template, + if template is set to "text". """ - template: str + template: Literal["text", "empty", "password-protected", "corrupted", "not-preservable", "not-convertable"] + template_text: Optional[str] = None class ManualAction(BaseModel): diff --git a/pyproject.toml b/pyproject.toml index 00e7d42..aad5540 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "acacore" -version = "1.0.1" +version = "1.0.2" description = "" authors = ["Matteo Campinoti "] license = "GPL-3.0"