From 6303c5c3bd74b39aaf7df67b3d7ab96f72cc1509 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 7 Jul 2026 06:54:29 +0000 Subject: [PATCH] Commit: ab93ef4a --- regula/documentreader/webclient/gen/models/face_api.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/regula/documentreader/webclient/gen/models/face_api.py b/regula/documentreader/webclient/gen/models/face_api.py index 58d6643..e5e33e5 100644 --- a/regula/documentreader/webclient/gen/models/face_api.py +++ b/regula/documentreader/webclient/gen/models/face_api.py @@ -30,7 +30,8 @@ class FaceApi(BaseModel): proxy_type: SkipValidation[Optional[int]] = Field(alias="proxy_type", default=None, description="Proxy protocol type, should be set according to the cURL standard.") child_age_threshold: SkipValidation[Optional[int]] = Field(alias="childAgeThreshold", default=None, description="The age threshold for the portrait comparison. Default: 13.") child_doc_validity_years: SkipValidation[Optional[int]] = Field(alias="childDocValidityYears", default=None, description="Estimated duration of validity for a child's passport, years. Default: 5.") - __properties: ClassVar[List[str]] = ["url", "mode", "search", "threshold", "serviceTimeout", "proxy", "proxy_userpwd", "proxy_type", "childAgeThreshold", "childDocValidityYears"] + liveness_transaction_id: SkipValidation[Optional[str]] = Field(alias="livenessTransactionId", default=None, description="This parameter allows you to use a liveness transaction id instead of a selfie photo.") + __properties: ClassVar[List[str]] = ["url", "mode", "search", "threshold", "serviceTimeout", "proxy", "proxy_userpwd", "proxy_type", "childAgeThreshold", "childDocValidityYears", "livenessTransactionId"] model_config = ConfigDict( populate_by_name=True, @@ -97,7 +98,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "proxy_userpwd": obj.get("proxy_userpwd"), "proxy_type": obj.get("proxy_type"), "childAgeThreshold": obj.get("childAgeThreshold"), - "childDocValidityYears": obj.get("childDocValidityYears") + "childDocValidityYears": obj.get("childDocValidityYears"), + "livenessTransactionId": obj.get("livenessTransactionId") }) return _obj