Skip to content

Commit d6d0549

Browse files
Update models
1 parent b81f242 commit d6d0549

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class FaceApi(BaseModel):
2727
proxy: Optional[StrictStr] = Field(default=None, description="Proxy to use, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXY.html\" target=\"_blank\">cURL standard</a>.")
2828
proxy_userpwd: Optional[StrictStr] = Field(default=None, description="Username and password to use for proxy authentication, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXYUSERPWD.html\" target=\"_blank\">cURL standard</a>.")
2929
proxy_type: Optional[StrictInt] = Field(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>.")
30-
child_age_threshold: Optional[StrictInt] = Field(default=None, description="Minimum age of a child, at which portrait comparison result will be effective. Default: 13.", alias="childAgeThreshold")
30+
child_age_threshold: Optional[StrictInt] = Field(default=None, description="The age threshold for the portrait comparison. Default: 13.", alias="childAgeThreshold")
3131
child_doc_validity_years: Optional[StrictInt] = Field(default=None, description="Estimated duration of validity for a child's passport, years. Default: 5.", alias="childDocValidityYears")
3232
__properties: ClassVar[List[str]] = ["url", "mode", "search", "threshold", "serviceTimeout", "proxy", "proxy_userpwd", "proxy_type", "childAgeThreshold", "childDocValidityYears"]
3333

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ class LivenessParams(BaseModel):
2323
check_holo: Optional[StrictBool] = Field(default=None, description="This parameter is used to enable Hologram detection", alias="checkHolo")
2424
check_ed: Optional[StrictBool] = Field(default=None, description="This parameter is used to enable Electronic device detection", alias="checkED")
2525
check_black_and_white_copy: Optional[StrictBool] = Field(default=None, description="This parameter is used to enable Black and white copy check", alias="checkBlackAndWhiteCopy")
26-
__properties: ClassVar[List[str]] = ["checkOVI", "checkMLI", "checkHolo", "checkED", "checkBlackAndWhiteCopy"]
26+
check_dynaprint: Optional[StrictBool] = Field(default=None, description="This parameter is used to enable Dynaprint check", alias="checkDynaprint")
27+
__properties: ClassVar[List[str]] = ["checkOVI", "checkMLI", "checkHolo", "checkED", "checkBlackAndWhiteCopy", "checkDynaprint"]
2728

2829
model_config = ConfigDict(
2930
populate_by_name=True,
@@ -80,7 +81,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
8081
"checkMLI": obj.get("checkMLI"),
8182
"checkHolo": obj.get("checkHolo"),
8283
"checkED": obj.get("checkED"),
83-
"checkBlackAndWhiteCopy": obj.get("checkBlackAndWhiteCopy")
84+
"checkBlackAndWhiteCopy": obj.get("checkBlackAndWhiteCopy"),
85+
"checkDynaprint": obj.get("checkDynaprint")
8486
})
8587
return _obj
8688

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,8 @@ class TextFieldType(int, Enum):
660660
FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER = 690
661661
FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT = 691
662662
EF_CARD_ACCESS = 692
663+
SHORT_FLIGHT_NUMBER = 693
664+
AIRLINE_CODE = 694
663665

664666
@classmethod
665667
def from_json(cls, json_str: str) -> Self:

0 commit comments

Comments
 (0)