Skip to content

Commit 153c7d5

Browse files
committed
update-clients
1 parent 1f99c1b commit 153c7d5

9 files changed

+83
-19
lines changed

regula/documentreader/webclient/gen/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def to_debug_report(self):
374374
return "Python SDK Debug Report:\n"\
375375
"OS: {env}\n"\
376376
"Python Version: {pyversion}\n"\
377-
"Version of the API: 6.3.0\n"\
377+
"Version of the API: 6.5.0\n"\
378378
"SDK Package Version: 1.0.0".\
379379
format(env=sys.platform, pyversion=sys.version)
380380

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

+29-1
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,52 @@ class AuthenticityCheckList(object):
3232
and the value is json key in definition.
3333
"""
3434
openapi_types = {
35+
'count': 'int',
3536
'list': 'list[AuthenticityCheckResult]'
3637
}
3738

3839
attribute_map = {
40+
'count': 'Count',
3941
'list': 'List'
4042
}
4143

42-
def __init__(self, list=None, local_vars_configuration=None): # noqa: E501
44+
def __init__(self, count=None, list=None, local_vars_configuration=None): # noqa: E501
4345
"""AuthenticityCheckList - a model defined in OpenAPI""" # noqa: E501
4446
if local_vars_configuration is None:
4547
local_vars_configuration = Configuration()
4648
self.local_vars_configuration = local_vars_configuration
4749

50+
self._count = None
4851
self._list = None
4952
self.discriminator = None
5053

54+
if count is not None:
55+
self.count = count
5156
self.list = list
5257

58+
@property
59+
def count(self):
60+
"""Gets the count of this AuthenticityCheckList. # noqa: E501
61+
62+
Count of items in List # noqa: E501
63+
64+
:return: The count of this AuthenticityCheckList. # noqa: E501
65+
:rtype: int
66+
"""
67+
return self._count
68+
69+
@count.setter
70+
def count(self, count):
71+
"""Sets the count of this AuthenticityCheckList.
72+
73+
Count of items in List # noqa: E501
74+
75+
:param count: The count of this AuthenticityCheckList. # noqa: E501
76+
:type count: int
77+
"""
78+
79+
self._count = count
80+
5381
@property
5482
def list(self):
5583
"""Gets the list of this AuthenticityCheckList. # noqa: E501

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ class CheckDiagnose(object):
182182

183183
LAST_DIAGNOSE_VALUE = int("157")
184184

185-
allowable_values = [UNKNOWN, PASS, INVALID_INPUT_DATA, INTERNAL_ERROR, EXCEPTION_IN_MODULE, UNCERTAIN_VERIFICATION, NECESSARY_IMAGE_NOT_FOUND, PHOTO_SIDES_NOT_FOUND, INVALID_CHECKSUM, SYNTAX_ERROR, LOGIC_ERROR, SOURCES_COMPARISON_ERROR, FIELDS_COMPARISON_LOGIC_ERROR, INVALID_FIELD_FORMAT, TRUE_LUMINESCENCE_ERROR, FALSE_LUMINESCENCE_ERROR, FIXED_PATTERN_ERROR, LOW_CONTRAST_IN_IR_LIGHT, INCORRECT_BACKGROUND_LIGHT, BACKGROUND_COMPARISON_ERROR, INCORRECT_TEXT_COLOR, PHOTO_FALSE_LUMINESCENCE, TOO_MUCH_SHIFT, FIBERS_NOT_FOUND, TOO_MANY_OBJECTS, SPECKS_IN_UV, TOO_LOW_RESOLUTION, INVISIBLE_ELEMENT_PRESENT, VISIBLE_ELEMENT_ABSENT, ELEMENT_SHOULD_BE_COLORED, ELEMENT_SHOULD_BE_GRAYSCALE, PHOTO_WHITE_IR_DONT_MATCH, UV_DULL_PAPER_MRZ, FALSE_LUMINESCENCE_IN_MRZ, UV_DULL_PAPER_PHOTO, UV_DULL_PAPER_BLANK, UV_DULL_PAPER_ERROR, FALSE_LUMINESCENCE_IN_BLANK, BAD_AREA_IN_AXIAL, FALSE_IP_PARAMETERS, FIELD_POS_CORRECTOR_HIGHLIGHT_IR, OVI_IR_INVISIBLE, OVI_INSUFFICIENT_AREA, OVI_COLOR_INVARIABLE, OVI_BAD_COLOR_FRONT, OVI_BAD_COLOR_SIDE, OVI_WIDE_COLOR_SPREAD, OVI_BAD_COLOR_PERCENT, HOLOGRAM_ELEMENT_ABSENT, HOLOGRAM_SIDE_TOP_IMAGES_ABSENT, HOLOGRAM_ELEMENT_PRESENT, PHOTO_PATTERN_INTERRUPTED, PHOTO_PATTERN_SHIFTED, PHOTO_PATTERN_DIFFERENT_COLORS, PHOTO_PATTERN_IR_VISIBLE, PHOTO_PATTERN_NOT_INTERSECT, PHOTO_SIZE_IS_WRONG, PHOTO_PATTERN_INVALID_COLOR, PHOTO_PATTERN_SHIFTED_VERT, PHOTO_PATTERN_PATTERN_NOT_FOUND, PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS, PHOTO_IS_NOT_RECTANGLE, PHOTO_CORNERS_IS_WRONG, TEXT_COLOR_SHOULD_BE_BLUE, TEXT_COLOR_SHOULD_BE_GREEN, TEXT_COLOR_SHOULD_BE_RED, TEXT_SHOULD_BE_BLACK, BARCODE_WAS_READ_WITH_ERRORS, BARCODE_DATA_FORMAT_ERROR, BARCODE_SIZE_PARAMS_ERROR, NOT_ALL_BARCODES_READ, PORTRAIT_COMPARISON_PORTRAITS_DIFFER, PORTRAIT_COMPARISON_NO_SERVICE_REPLY, PORTRAIT_COMPARISON_SERVICE_ERROR, PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES, PORTRAIT_COMPARISON_NO_LIVE_PHOTO, PORTRAIT_COMPARISON_NO_SERVICE_LICENSE, PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED, LAST_DIAGNOSE_VALUE] # noqa: E501
185+
FIELD_POS_CORRECTOR_PHOTO_REPLACED = int("82")
186+
187+
allowable_values = [UNKNOWN, PASS, INVALID_INPUT_DATA, INTERNAL_ERROR, EXCEPTION_IN_MODULE, UNCERTAIN_VERIFICATION, NECESSARY_IMAGE_NOT_FOUND, PHOTO_SIDES_NOT_FOUND, INVALID_CHECKSUM, SYNTAX_ERROR, LOGIC_ERROR, SOURCES_COMPARISON_ERROR, FIELDS_COMPARISON_LOGIC_ERROR, INVALID_FIELD_FORMAT, TRUE_LUMINESCENCE_ERROR, FALSE_LUMINESCENCE_ERROR, FIXED_PATTERN_ERROR, LOW_CONTRAST_IN_IR_LIGHT, INCORRECT_BACKGROUND_LIGHT, BACKGROUND_COMPARISON_ERROR, INCORRECT_TEXT_COLOR, PHOTO_FALSE_LUMINESCENCE, TOO_MUCH_SHIFT, FIBERS_NOT_FOUND, TOO_MANY_OBJECTS, SPECKS_IN_UV, TOO_LOW_RESOLUTION, INVISIBLE_ELEMENT_PRESENT, VISIBLE_ELEMENT_ABSENT, ELEMENT_SHOULD_BE_COLORED, ELEMENT_SHOULD_BE_GRAYSCALE, PHOTO_WHITE_IR_DONT_MATCH, UV_DULL_PAPER_MRZ, FALSE_LUMINESCENCE_IN_MRZ, UV_DULL_PAPER_PHOTO, UV_DULL_PAPER_BLANK, UV_DULL_PAPER_ERROR, FALSE_LUMINESCENCE_IN_BLANK, BAD_AREA_IN_AXIAL, FALSE_IP_PARAMETERS, FIELD_POS_CORRECTOR_HIGHLIGHT_IR, OVI_IR_INVISIBLE, OVI_INSUFFICIENT_AREA, OVI_COLOR_INVARIABLE, OVI_BAD_COLOR_FRONT, OVI_BAD_COLOR_SIDE, OVI_WIDE_COLOR_SPREAD, OVI_BAD_COLOR_PERCENT, HOLOGRAM_ELEMENT_ABSENT, HOLOGRAM_SIDE_TOP_IMAGES_ABSENT, HOLOGRAM_ELEMENT_PRESENT, PHOTO_PATTERN_INTERRUPTED, PHOTO_PATTERN_SHIFTED, PHOTO_PATTERN_DIFFERENT_COLORS, PHOTO_PATTERN_IR_VISIBLE, PHOTO_PATTERN_NOT_INTERSECT, PHOTO_SIZE_IS_WRONG, PHOTO_PATTERN_INVALID_COLOR, PHOTO_PATTERN_SHIFTED_VERT, PHOTO_PATTERN_PATTERN_NOT_FOUND, PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS, PHOTO_IS_NOT_RECTANGLE, PHOTO_CORNERS_IS_WRONG, TEXT_COLOR_SHOULD_BE_BLUE, TEXT_COLOR_SHOULD_BE_GREEN, TEXT_COLOR_SHOULD_BE_RED, TEXT_SHOULD_BE_BLACK, BARCODE_WAS_READ_WITH_ERRORS, BARCODE_DATA_FORMAT_ERROR, BARCODE_SIZE_PARAMS_ERROR, NOT_ALL_BARCODES_READ, PORTRAIT_COMPARISON_PORTRAITS_DIFFER, PORTRAIT_COMPARISON_NO_SERVICE_REPLY, PORTRAIT_COMPARISON_SERVICE_ERROR, PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES, PORTRAIT_COMPARISON_NO_LIVE_PHOTO, PORTRAIT_COMPARISON_NO_SERVICE_LICENSE, PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED, LAST_DIAGNOSE_VALUE, FIELD_POS_CORRECTOR_PHOTO_REPLACED] # noqa: E501
186188

187189
"""
188190
Attributes:

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

+7-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ class GraphicFieldType(object):
6868

6969
FINGER_RIGHT_LITTLE = int("309")
7070

71-
allowable_values = [PORTRAIT, FINGERPRINT, EYE, SIGNATURE, BAR_CODE, PROOF_OF_CITIZENSHIP, DOCUMENT_FRONT, DOCUMENT_REAR, COLOR_DYNAMIC, GHOST_PORTRAIT, STAMP, OTHER, FINGER_LEFT_THUMB, FINGER_LEFT_INDEX, FINGER_LEFT_MIDDLE, FINGER_LEFT_RING, FINGER_LEFT_LITTLE, FINGER_RIGHT_THUMB, FINGER_RIGHT_INDEX, FINGER_RIGHT_MIDDLE, FINGER_RIGHT_RING, FINGER_RIGHT_LITTLE] # noqa: E501
71+
FINGER_RIGHT_FOUR_FINGERS = int("313")
72+
73+
FINGER_LEFT_FOUR_FINGERS = int("314")
74+
75+
FINGER_TWO_THUMBS = int("315")
76+
77+
allowable_values = [PORTRAIT, FINGERPRINT, EYE, SIGNATURE, BAR_CODE, PROOF_OF_CITIZENSHIP, DOCUMENT_FRONT, DOCUMENT_REAR, COLOR_DYNAMIC, GHOST_PORTRAIT, STAMP, OTHER, FINGER_LEFT_THUMB, FINGER_LEFT_INDEX, FINGER_LEFT_MIDDLE, FINGER_LEFT_RING, FINGER_LEFT_LITTLE, FINGER_RIGHT_THUMB, FINGER_RIGHT_INDEX, FINGER_RIGHT_MIDDLE, FINGER_RIGHT_RING, FINGER_RIGHT_LITTLE, FINGER_RIGHT_FOUR_FINGERS, FINGER_LEFT_FOUR_FINGERS, FINGER_TWO_THUMBS] # noqa: E501
7278

7379
"""
7480
Attributes:

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class IdentResult(object):
4141
'image': 'ImageData',
4242
'etalon_image': 'ImageData',
4343
'percent_value': 'int',
44-
'area_list': 'list[AreaContainer]'
44+
'area_list': 'AreaContainer'
4545
}
4646

4747
attribute_map = {
@@ -296,7 +296,7 @@ def area_list(self):
296296
297297
298298
:return: The area_list of this IdentResult. # noqa: E501
299-
:rtype: list[AreaContainer]
299+
:rtype: AreaContainer
300300
"""
301301
return self._area_list
302302

@@ -306,7 +306,7 @@ def area_list(self, area_list):
306306
307307
308308
:param area_list: The area_list of this IdentResult. # noqa: E501
309-
:type area_list: list[AreaContainer]
309+
:type area_list: AreaContainer
310310
"""
311311

312312
self._area_list = area_list

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class IdentResultAllOf(object):
3838
'image': 'ImageData',
3939
'etalon_image': 'ImageData',
4040
'percent_value': 'int',
41-
'area_list': 'list[AreaContainer]'
41+
'area_list': 'AreaContainer'
4242
}
4343

4444
attribute_map = {
@@ -215,7 +215,7 @@ def area_list(self):
215215
216216
217217
:return: The area_list of this IdentResultAllOf. # noqa: E501
218-
:rtype: list[AreaContainer]
218+
:rtype: AreaContainer
219219
"""
220220
return self._area_list
221221

@@ -225,7 +225,7 @@ def area_list(self, area_list):
225225
226226
227227
:param area_list: The area_list of this IdentResultAllOf. # noqa: E501
228-
:type area_list: list[AreaContainer]
228+
:type area_list: AreaContainer
229229
"""
230230

231231
self._area_list = area_list

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

+31-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ class ProcessParams(object):
6767
'convert_case': 'TextPostProcessing',
6868
'split_names': 'bool',
6969
'disable_perforation_ocr': 'bool',
70-
'document_group_filter': 'list[DocumentType]'
70+
'document_group_filter': 'list[DocumentType]',
71+
'process_auth': 'list[AuthenticityResultType]'
7172
}
7273

7374
attribute_map = {
@@ -106,10 +107,11 @@ class ProcessParams(object):
106107
'convert_case': 'convertCase',
107108
'split_names': 'splitNames',
108109
'disable_perforation_ocr': 'disablePerforationOCR',
109-
'document_group_filter': 'documentGroupFilter'
110+
'document_group_filter': 'documentGroupFilter',
111+
'process_auth': 'processAuth'
110112
}
111113

112-
def __init__(self, scenario=None, result_type_output=None, double_page_spread=None, generate_double_page_spread_image=None, field_types_filter=None, date_format=None, measure_system=None, image_dpi_out_max=None, already_cropped=None, custom_params=None, config=None, log=None, log_level=None, force_doc_id=None, match_text_field_mask=None, fast_doc_detect=None, update_ocr_validity_by_glare=None, check_required_text_fields=None, return_cropped_barcode=None, image_qa=None, respect_image_quality=None, force_doc_format=None, no_graphics=None, document_area_min=None, depersonalize_log=None, multi_doc_on_image=None, shift_expiry_date=None, minimal_holder_age=None, return_uncropped_image=None, mrz_formats_filter=None, force_read_mrz_before_locate=None, parse_barcodes=None, convert_case=None, split_names=None, disable_perforation_ocr=None, document_group_filter=None, local_vars_configuration=None): # noqa: E501
114+
def __init__(self, scenario=None, result_type_output=None, double_page_spread=None, generate_double_page_spread_image=None, field_types_filter=None, date_format=None, measure_system=None, image_dpi_out_max=None, already_cropped=None, custom_params=None, config=None, log=None, log_level=None, force_doc_id=None, match_text_field_mask=None, fast_doc_detect=None, update_ocr_validity_by_glare=None, check_required_text_fields=None, return_cropped_barcode=None, image_qa=None, respect_image_quality=None, force_doc_format=None, no_graphics=None, document_area_min=None, depersonalize_log=None, multi_doc_on_image=None, shift_expiry_date=None, minimal_holder_age=None, return_uncropped_image=None, mrz_formats_filter=None, force_read_mrz_before_locate=None, parse_barcodes=None, convert_case=None, split_names=None, disable_perforation_ocr=None, document_group_filter=None, process_auth=None, local_vars_configuration=None): # noqa: E501
113115
"""ProcessParams - a model defined in OpenAPI""" # noqa: E501
114116
if local_vars_configuration is None:
115117
local_vars_configuration = Configuration()
@@ -151,6 +153,7 @@ def __init__(self, scenario=None, result_type_output=None, double_page_spread=No
151153
self._split_names = None
152154
self._disable_perforation_ocr = None
153155
self._document_group_filter = None
156+
self._process_auth = None
154157
self.discriminator = None
155158

156159
self.scenario = scenario
@@ -224,6 +227,8 @@ def __init__(self, scenario=None, result_type_output=None, double_page_spread=No
224227
self.disable_perforation_ocr = disable_perforation_ocr
225228
if document_group_filter is not None:
226229
self.document_group_filter = document_group_filter
230+
if process_auth is not None:
231+
self.process_auth = process_auth
227232

228233
@property
229234
def scenario(self):
@@ -1043,6 +1048,29 @@ def document_group_filter(self, document_group_filter):
10431048

10441049
self._document_group_filter = document_group_filter
10451050

1051+
@property
1052+
def process_auth(self):
1053+
"""Gets the process_auth of this ProcessParams. # noqa: E501
1054+
1055+
Authenticity checks that should be performed regardless of the document type. The available checks are listed in the eRPRM_Authenticity enum. Note that only supported by your license checks can be added. # noqa: E501
1056+
1057+
:return: The process_auth of this ProcessParams. # noqa: E501
1058+
:rtype: list[AuthenticityResultType]
1059+
"""
1060+
return self._process_auth
1061+
1062+
@process_auth.setter
1063+
def process_auth(self, process_auth):
1064+
"""Sets the process_auth of this ProcessParams.
1065+
1066+
Authenticity checks that should be performed regardless of the document type. The available checks are listed in the eRPRM_Authenticity enum. Note that only supported by your license checks can be added. # noqa: E501
1067+
1068+
:param process_auth: The process_auth of this ProcessParams. # noqa: E501
1069+
:type process_auth: list[AuthenticityResultType]
1070+
"""
1071+
1072+
self._process_auth = process_auth
1073+
10461074
def to_dict(self):
10471075
"""Returns the model properties as a dict"""
10481076
result = {}

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SecurityFeatureResult(object):
3939
'element_rect': 'RectangleCoordinates',
4040
'visibility': 'Visibility',
4141
'critical_flag': 'Critical',
42-
'area_list': 'list[AreaContainer]',
42+
'area_list': 'AreaContainer',
4343
'reserved2': 'int'
4444
}
4545

@@ -247,7 +247,7 @@ def area_list(self):
247247
248248
249249
:return: The area_list of this SecurityFeatureResult. # noqa: E501
250-
:rtype: list[AreaContainer]
250+
:rtype: AreaContainer
251251
"""
252252
return self._area_list
253253

@@ -257,7 +257,7 @@ def area_list(self, area_list):
257257
258258
259259
:param area_list: The area_list of this SecurityFeatureResult. # noqa: E501
260-
:type area_list: list[AreaContainer]
260+
:type area_list: AreaContainer
261261
"""
262262

263263
self._area_list = area_list

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class SecurityFeatureResultAllOf(object):
3636
'element_rect': 'RectangleCoordinates',
3737
'visibility': 'Visibility',
3838
'critical_flag': 'Critical',
39-
'area_list': 'list[AreaContainer]',
39+
'area_list': 'AreaContainer',
4040
'reserved2': 'int'
4141
}
4242

@@ -166,7 +166,7 @@ def area_list(self):
166166
167167
168168
:return: The area_list of this SecurityFeatureResultAllOf. # noqa: E501
169-
:rtype: list[AreaContainer]
169+
:rtype: AreaContainer
170170
"""
171171
return self._area_list
172172

@@ -176,7 +176,7 @@ def area_list(self, area_list):
176176
177177
178178
:param area_list: The area_list of this SecurityFeatureResultAllOf. # noqa: E501
179-
:type area_list: list[AreaContainer]
179+
:type area_list: AreaContainer
180180
"""
181181

182182
self._area_list = area_list

0 commit comments

Comments
 (0)