Skip to content

Commit b81f242

Browse files
Update models
1 parent 1e18094 commit b81f242

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ class AuthParams(BaseModel):
3434
check_photo_embedding: Optional[StrictBool] = Field(default=None, description="This parameter is used to enable Owner's photo embedding check (is photo printed or sticked)", alias="checkPhotoEmbedding")
3535
check_photo_comparison: Optional[StrictBool] = Field(default=None, description="This parameter is used to enable Portrait comparison check", alias="checkPhotoComparison")
3636
check_letter_screen: Optional[StrictBool] = Field(default=None, description="This parameter is used to enable LetterScreen check", alias="checkLetterScreen")
37-
__properties: ClassVar[List[str]] = ["checkLiveness", "livenessParams", "checkUVLuminiscence", "checkIRB900", "checkImagePatterns", "checkFibers", "checkExtMRZ", "checkExtOCR", "checkAxial", "checkBarcodeFormat", "checkIRVisibility", "checkIPI", "checkPhotoEmbedding", "checkPhotoComparison", "checkLetterScreen"]
37+
check_security_text: Optional[StrictBool] = Field(default=None, description="This parameter is used to enable Security text check", alias="checkSecurityText")
38+
__properties: ClassVar[List[str]] = ["checkLiveness", "livenessParams", "checkUVLuminiscence", "checkIRB900", "checkImagePatterns", "checkFibers", "checkExtMRZ", "checkExtOCR", "checkAxial", "checkBarcodeFormat", "checkIRVisibility", "checkIPI", "checkPhotoEmbedding", "checkPhotoComparison", "checkLetterScreen", "checkSecurityText"]
3839

3940
model_config = ConfigDict(
4041
populate_by_name=True,
@@ -104,7 +105,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
104105
"checkIPI": obj.get("checkIPI"),
105106
"checkPhotoEmbedding": obj.get("checkPhotoEmbedding"),
106107
"checkPhotoComparison": obj.get("checkPhotoComparison"),
107-
"checkLetterScreen": obj.get("checkLetterScreen")
108+
"checkLetterScreen": obj.get("checkLetterScreen"),
109+
"checkSecurityText": obj.get("checkSecurityText")
108110
})
109111
return _obj
110112

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ class CheckDiagnose(int, Enum):
132132
OCR_QUALITY_INVALID_FONT = 221
133133
OCR_QUALITY_INVALID_BACKGROUND = 222
134134
LASINK_INVALID_LINES_FREQUENCY = 230
135+
DOC_LIVENESS_DOCUMENT_NOT_LIVE = 238
135136
DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED = 239
136137
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = 240
137138
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = 241

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class LivenessParams(BaseModel):
2222
check_mli: Optional[StrictBool] = Field(default=None, description="This parameter is used to enable MLI check", alias="checkMLI")
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")
25-
__properties: ClassVar[List[str]] = ["checkOVI", "checkMLI", "checkHolo", "checkED"]
25+
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"]
2627

2728
model_config = ConfigDict(
2829
populate_by_name=True,
@@ -78,7 +79,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
7879
"checkOVI": obj.get("checkOVI"),
7980
"checkMLI": obj.get("checkMLI"),
8081
"checkHolo": obj.get("checkHolo"),
81-
"checkED": obj.get("checkED")
82+
"checkED": obj.get("checkED"),
83+
"checkBlackAndWhiteCopy": obj.get("checkBlackAndWhiteCopy")
8284
})
8385
return _obj
8486

0 commit comments

Comments
 (0)