Skip to content

Commit e4e2fe2

Browse files
Merge pull request #348 from regulaforensics/develop
Develop -> Stable
2 parents 6bf4126 + 5f8f54a commit e4e2fe2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

regula/documentreader/webclient/gen/models/face_api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ class FaceApi(BaseModel):
3030
proxy_type: SkipValidation[Optional[int]] = Field(alias="proxy_type", default=None, description="Proxy protocol type, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXYTYPE.html\" target=\"_blank\">cURL standard</a>.")
3131
child_age_threshold: SkipValidation[Optional[int]] = Field(alias="childAgeThreshold", default=None, description="The age threshold for the portrait comparison. Default: 13.")
3232
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.")
33-
__properties: ClassVar[List[str]] = ["url", "mode", "search", "threshold", "serviceTimeout", "proxy", "proxy_userpwd", "proxy_type", "childAgeThreshold", "childDocValidityYears"]
33+
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.")
34+
__properties: ClassVar[List[str]] = ["url", "mode", "search", "threshold", "serviceTimeout", "proxy", "proxy_userpwd", "proxy_type", "childAgeThreshold", "childDocValidityYears", "livenessTransactionId"]
3435

3536
model_config = ConfigDict(
3637
populate_by_name=True,
@@ -97,7 +98,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9798
"proxy_userpwd": obj.get("proxy_userpwd"),
9899
"proxy_type": obj.get("proxy_type"),
99100
"childAgeThreshold": obj.get("childAgeThreshold"),
100-
"childDocValidityYears": obj.get("childDocValidityYears")
101+
"childDocValidityYears": obj.get("childDocValidityYears"),
102+
"livenessTransactionId": obj.get("livenessTransactionId")
101103
})
102104
return _obj
103105

0 commit comments

Comments
 (0)