regula.documentreader.webclient 7.6.268.dev0__py3-none-any.whl → 7.6.269.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- regula/documentreader/webclient/gen/__init__.py +2 -0
- regula/documentreader/webclient/gen/models/__init__.py +2 -0
- regula/documentreader/webclient/gen/models/auth_params.py +31 -3
- regula/documentreader/webclient/gen/models/check_diagnose.py +3 -1
- regula/documentreader/webclient/gen/models/face_api.py +59 -3
- regula/documentreader/webclient/gen/models/image_qa.py +31 -3
- regula/documentreader/webclient/gen/models/input_barcode_type.py +133 -0
- regula/documentreader/webclient/gen/models/input_image_quality_checks.py +109 -0
- regula/documentreader/webclient/gen/models/liveness_params.py +31 -3
- regula/documentreader/webclient/gen/models/process_params.py +31 -3
- regula/documentreader/webclient/gen/models/process_request_image.py +2 -3
- {regula.documentreader.webclient-7.6.268.dev0.dist-info → regula.documentreader.webclient-7.6.269.dev0.dist-info}/METADATA +1 -1
- {regula.documentreader.webclient-7.6.268.dev0.dist-info → regula.documentreader.webclient-7.6.269.dev0.dist-info}/RECORD +15 -13
- {regula.documentreader.webclient-7.6.268.dev0.dist-info → regula.documentreader.webclient-7.6.269.dev0.dist-info}/WHEEL +0 -0
- {regula.documentreader.webclient-7.6.268.dev0.dist-info → regula.documentreader.webclient-7.6.269.dev0.dist-info}/top_level.txt +0 -0
|
@@ -105,6 +105,8 @@ from regula.documentreader.webclient.gen.models.in_data_transaction_images_field
|
|
|
105
105
|
from regula.documentreader.webclient.gen.models.in_data_video import InDataVideo
|
|
106
106
|
from regula.documentreader.webclient.gen.models.inline_response200 import InlineResponse200
|
|
107
107
|
from regula.documentreader.webclient.gen.models.inline_response2001 import InlineResponse2001
|
|
108
|
+
from regula.documentreader.webclient.gen.models.input_barcode_type import InputBarcodeType
|
|
109
|
+
from regula.documentreader.webclient.gen.models.input_image_quality_checks import InputImageQualityChecks
|
|
108
110
|
from regula.documentreader.webclient.gen.models.lcid import LCID
|
|
109
111
|
from regula.documentreader.webclient.gen.models.lexical_analysis_result import LexicalAnalysisResult
|
|
110
112
|
from regula.documentreader.webclient.gen.models.lexical_analysis_result_all_of import LexicalAnalysisResultAllOf
|
|
@@ -88,6 +88,8 @@ from regula.documentreader.webclient.gen.models.in_data_transaction_images_field
|
|
|
88
88
|
from regula.documentreader.webclient.gen.models.in_data_video import InDataVideo
|
|
89
89
|
from regula.documentreader.webclient.gen.models.inline_response200 import InlineResponse200
|
|
90
90
|
from regula.documentreader.webclient.gen.models.inline_response2001 import InlineResponse2001
|
|
91
|
+
from regula.documentreader.webclient.gen.models.input_barcode_type import InputBarcodeType
|
|
92
|
+
from regula.documentreader.webclient.gen.models.input_image_quality_checks import InputImageQualityChecks
|
|
91
93
|
from regula.documentreader.webclient.gen.models.lcid import LCID
|
|
92
94
|
from regula.documentreader.webclient.gen.models.lexical_analysis_result import LexicalAnalysisResult
|
|
93
95
|
from regula.documentreader.webclient.gen.models.lexical_analysis_result_all_of import LexicalAnalysisResultAllOf
|
|
@@ -46,7 +46,8 @@ class AuthParams(object):
|
|
|
46
46
|
'check_ipi': 'bool',
|
|
47
47
|
'check_photo_embedding': 'bool',
|
|
48
48
|
'check_photo_comparison': 'bool',
|
|
49
|
-
'check_letter_screen': 'bool'
|
|
49
|
+
'check_letter_screen': 'bool',
|
|
50
|
+
'check_security_text': 'bool'
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
attribute_map = {
|
|
@@ -64,10 +65,11 @@ class AuthParams(object):
|
|
|
64
65
|
'check_ipi': 'checkIPI',
|
|
65
66
|
'check_photo_embedding': 'checkPhotoEmbedding',
|
|
66
67
|
'check_photo_comparison': 'checkPhotoComparison',
|
|
67
|
-
'check_letter_screen': 'checkLetterScreen'
|
|
68
|
+
'check_letter_screen': 'checkLetterScreen',
|
|
69
|
+
'check_security_text': 'checkSecurityText'
|
|
68
70
|
}
|
|
69
71
|
|
|
70
|
-
def __init__(self, check_liveness=None, liveness_params=None, check_uv_luminiscence=None, check_irb900=None, check_image_patterns=None, check_fibers=None, check_ext_mrz=None, check_ext_ocr=None, check_axial=None, check_barcode_format=None, check_ir_visibility=None, check_ipi=None, check_photo_embedding=None, check_photo_comparison=None, check_letter_screen=None, local_vars_configuration=None): # noqa: E501
|
|
72
|
+
def __init__(self, check_liveness=None, liveness_params=None, check_uv_luminiscence=None, check_irb900=None, check_image_patterns=None, check_fibers=None, check_ext_mrz=None, check_ext_ocr=None, check_axial=None, check_barcode_format=None, check_ir_visibility=None, check_ipi=None, check_photo_embedding=None, check_photo_comparison=None, check_letter_screen=None, check_security_text=None, local_vars_configuration=None): # noqa: E501
|
|
71
73
|
"""AuthParams - a model defined in OpenAPI""" # noqa: E501
|
|
72
74
|
if local_vars_configuration is None:
|
|
73
75
|
local_vars_configuration = Configuration()
|
|
@@ -88,6 +90,7 @@ class AuthParams(object):
|
|
|
88
90
|
self._check_photo_embedding = None
|
|
89
91
|
self._check_photo_comparison = None
|
|
90
92
|
self._check_letter_screen = None
|
|
93
|
+
self._check_security_text = None
|
|
91
94
|
self.discriminator = None
|
|
92
95
|
|
|
93
96
|
if check_liveness is not None:
|
|
@@ -120,6 +123,8 @@ class AuthParams(object):
|
|
|
120
123
|
self.check_photo_comparison = check_photo_comparison
|
|
121
124
|
if check_letter_screen is not None:
|
|
122
125
|
self.check_letter_screen = check_letter_screen
|
|
126
|
+
if check_security_text is not None:
|
|
127
|
+
self.check_security_text = check_security_text
|
|
123
128
|
|
|
124
129
|
@property
|
|
125
130
|
def check_liveness(self):
|
|
@@ -464,6 +469,29 @@ class AuthParams(object):
|
|
|
464
469
|
|
|
465
470
|
self._check_letter_screen = check_letter_screen
|
|
466
471
|
|
|
472
|
+
@property
|
|
473
|
+
def check_security_text(self):
|
|
474
|
+
"""Gets the check_security_text of this AuthParams. # noqa: E501
|
|
475
|
+
|
|
476
|
+
This parameter is used to enable Security text check # noqa: E501
|
|
477
|
+
|
|
478
|
+
:return: The check_security_text of this AuthParams. # noqa: E501
|
|
479
|
+
:rtype: bool
|
|
480
|
+
"""
|
|
481
|
+
return self._check_security_text
|
|
482
|
+
|
|
483
|
+
@check_security_text.setter
|
|
484
|
+
def check_security_text(self, check_security_text):
|
|
485
|
+
"""Sets the check_security_text of this AuthParams.
|
|
486
|
+
|
|
487
|
+
This parameter is used to enable Security text check # noqa: E501
|
|
488
|
+
|
|
489
|
+
:param check_security_text: The check_security_text of this AuthParams. # noqa: E501
|
|
490
|
+
:type check_security_text: bool
|
|
491
|
+
"""
|
|
492
|
+
|
|
493
|
+
self._check_security_text = check_security_text
|
|
494
|
+
|
|
467
495
|
def to_dict(self):
|
|
468
496
|
"""Returns the model properties as a dict"""
|
|
469
497
|
result = {}
|
|
@@ -252,6 +252,8 @@ class CheckDiagnose(object):
|
|
|
252
252
|
|
|
253
253
|
LASINK_INVALID_LINES_FREQUENCY = int("230")
|
|
254
254
|
|
|
255
|
+
DOC_LIVENESS_DOCUMENT_NOT_LIVE = int("238")
|
|
256
|
+
|
|
255
257
|
DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED = int("239")
|
|
256
258
|
|
|
257
259
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = int("240")
|
|
@@ -272,7 +274,7 @@ class CheckDiagnose(object):
|
|
|
272
274
|
|
|
273
275
|
CHD_INCORRECT_OBJECT_COLOR = int("250")
|
|
274
276
|
|
|
275
|
-
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, CONTACT_CHIP_TYPE_MISMATCH, 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_IPI_PARAMETERS, ENCRYPTED_IPI_NOT_FOUND, ENCRYPTED_IPI_DATA_DONT_MATCH, FIELD_POS_CORRECTOR_HIGHLIGHT_IR, FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA, FIELD_POS_CORRECTOR_PHOTO_REPLACED, FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR, FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR, FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR, FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION, 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, HOLOGRAM_FRAMES_IS_ABSENT, HOLOGRAM_HOLO_FIELD_IS_ABSENT, 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, DOCUMENT_IS_CANCELLING, 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, GLARES_IN_BARCODE_AREA, NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK, 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, MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS, MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE, FINGERPRINTS_COMPARISON_MISMATCH, HOLO_PHOTO_FACE_NOT_DETECTED, HOLO_PHOTO_FACE_COMPARISON_FAILED, HOLO_PHOTO_GLARE_IN_CENTER_ABSENT, HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR, HOLO_PHOTO_ALGORITHMS_STEPS_ERROR, HOLO_PHOTO_HOLO_AREAS_NOT_LOADED, HOLO_PHOTO_FINISHED_BY_TIMEOUT, HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME, LIVENESS_DEPTH_CHECK_FAILED, MRZ_QUALITY_WRONG_SYMBOL_POSITION, MRZ_QUALITY_WRONG_BACKGROUND, MRZ_QUALITY_WRONG_MRZ_WIDTH, MRZ_QUALITY_WRONG_MRZ_HEIGHT, MRZ_QUALITY_WRONG_LINE_POSITION, MRZ_QUALITY_WRONG_FONT_TYPE, OCR_QUALITY_TEXT_POSITION, OCR_QUALITY_INVALID_FONT, OCR_QUALITY_INVALID_BACKGROUND, LASINK_INVALID_LINES_FREQUENCY, DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED, DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED, DOC_LIVENESS_INVALID_BARCODE_BACKGROUND, CHD_ICAO_IDB_BASE32_ERROR, CHD_ICAO_IDB_ZIPPED_ERROR, CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY, CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT, CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT, CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT, CHD_INCORRECT_OBJECT_COLOR] # noqa: E501
|
|
277
|
+
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, CONTACT_CHIP_TYPE_MISMATCH, 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_IPI_PARAMETERS, ENCRYPTED_IPI_NOT_FOUND, ENCRYPTED_IPI_DATA_DONT_MATCH, FIELD_POS_CORRECTOR_HIGHLIGHT_IR, FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA, FIELD_POS_CORRECTOR_PHOTO_REPLACED, FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR, FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR, FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR, FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION, 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, HOLOGRAM_FRAMES_IS_ABSENT, HOLOGRAM_HOLO_FIELD_IS_ABSENT, 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, DOCUMENT_IS_CANCELLING, 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, GLARES_IN_BARCODE_AREA, NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK, 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, MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS, MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE, FINGERPRINTS_COMPARISON_MISMATCH, HOLO_PHOTO_FACE_NOT_DETECTED, HOLO_PHOTO_FACE_COMPARISON_FAILED, HOLO_PHOTO_GLARE_IN_CENTER_ABSENT, HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR, HOLO_PHOTO_ALGORITHMS_STEPS_ERROR, HOLO_PHOTO_HOLO_AREAS_NOT_LOADED, HOLO_PHOTO_FINISHED_BY_TIMEOUT, HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME, LIVENESS_DEPTH_CHECK_FAILED, MRZ_QUALITY_WRONG_SYMBOL_POSITION, MRZ_QUALITY_WRONG_BACKGROUND, MRZ_QUALITY_WRONG_MRZ_WIDTH, MRZ_QUALITY_WRONG_MRZ_HEIGHT, MRZ_QUALITY_WRONG_LINE_POSITION, MRZ_QUALITY_WRONG_FONT_TYPE, OCR_QUALITY_TEXT_POSITION, OCR_QUALITY_INVALID_FONT, OCR_QUALITY_INVALID_BACKGROUND, LASINK_INVALID_LINES_FREQUENCY, DOC_LIVENESS_DOCUMENT_NOT_LIVE, DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED, DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED, DOC_LIVENESS_INVALID_BARCODE_BACKGROUND, CHD_ICAO_IDB_BASE32_ERROR, CHD_ICAO_IDB_ZIPPED_ERROR, CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY, CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT, CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT, CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT, CHD_INCORRECT_OBJECT_COLOR] # noqa: E501
|
|
276
278
|
|
|
277
279
|
"""
|
|
278
280
|
Attributes:
|
|
@@ -39,7 +39,9 @@ class FaceApi(object):
|
|
|
39
39
|
'service_timeout': 'int',
|
|
40
40
|
'proxy': 'str',
|
|
41
41
|
'proxy_userpwd': 'str',
|
|
42
|
-
'proxy_type': 'int'
|
|
42
|
+
'proxy_type': 'int',
|
|
43
|
+
'child_age_threshold': 'int',
|
|
44
|
+
'child_doc_validity_years': 'int'
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
attribute_map = {
|
|
@@ -50,10 +52,12 @@ class FaceApi(object):
|
|
|
50
52
|
'service_timeout': 'serviceTimeout',
|
|
51
53
|
'proxy': 'proxy',
|
|
52
54
|
'proxy_userpwd': 'proxy_userpwd',
|
|
53
|
-
'proxy_type': 'proxy_type'
|
|
55
|
+
'proxy_type': 'proxy_type',
|
|
56
|
+
'child_age_threshold': 'childAgeThreshold',
|
|
57
|
+
'child_doc_validity_years': 'childDocValidityYears'
|
|
54
58
|
}
|
|
55
59
|
|
|
56
|
-
def __init__(self, url=None, mode=None, search=None, threshold=None, service_timeout=None, proxy=None, proxy_userpwd=None, proxy_type=None, local_vars_configuration=None): # noqa: E501
|
|
60
|
+
def __init__(self, url=None, mode=None, search=None, threshold=None, service_timeout=None, proxy=None, proxy_userpwd=None, proxy_type=None, child_age_threshold=None, child_doc_validity_years=None, local_vars_configuration=None): # noqa: E501
|
|
57
61
|
"""FaceApi - a model defined in OpenAPI""" # noqa: E501
|
|
58
62
|
if local_vars_configuration is None:
|
|
59
63
|
local_vars_configuration = Configuration()
|
|
@@ -67,6 +71,8 @@ class FaceApi(object):
|
|
|
67
71
|
self._proxy = None
|
|
68
72
|
self._proxy_userpwd = None
|
|
69
73
|
self._proxy_type = None
|
|
74
|
+
self._child_age_threshold = None
|
|
75
|
+
self._child_doc_validity_years = None
|
|
70
76
|
self.discriminator = None
|
|
71
77
|
|
|
72
78
|
if url is not None:
|
|
@@ -85,6 +91,10 @@ class FaceApi(object):
|
|
|
85
91
|
self.proxy_userpwd = proxy_userpwd
|
|
86
92
|
if proxy_type is not None:
|
|
87
93
|
self.proxy_type = proxy_type
|
|
94
|
+
if child_age_threshold is not None:
|
|
95
|
+
self.child_age_threshold = child_age_threshold
|
|
96
|
+
if child_doc_validity_years is not None:
|
|
97
|
+
self.child_doc_validity_years = child_doc_validity_years
|
|
88
98
|
|
|
89
99
|
@property
|
|
90
100
|
def url(self):
|
|
@@ -268,6 +278,52 @@ class FaceApi(object):
|
|
|
268
278
|
|
|
269
279
|
self._proxy_type = proxy_type
|
|
270
280
|
|
|
281
|
+
@property
|
|
282
|
+
def child_age_threshold(self):
|
|
283
|
+
"""Gets the child_age_threshold of this FaceApi. # noqa: E501
|
|
284
|
+
|
|
285
|
+
Minimum age of a child, at which portrait comparison result will be effective. Default: 13. # noqa: E501
|
|
286
|
+
|
|
287
|
+
:return: The child_age_threshold of this FaceApi. # noqa: E501
|
|
288
|
+
:rtype: int
|
|
289
|
+
"""
|
|
290
|
+
return self._child_age_threshold
|
|
291
|
+
|
|
292
|
+
@child_age_threshold.setter
|
|
293
|
+
def child_age_threshold(self, child_age_threshold):
|
|
294
|
+
"""Sets the child_age_threshold of this FaceApi.
|
|
295
|
+
|
|
296
|
+
Minimum age of a child, at which portrait comparison result will be effective. Default: 13. # noqa: E501
|
|
297
|
+
|
|
298
|
+
:param child_age_threshold: The child_age_threshold of this FaceApi. # noqa: E501
|
|
299
|
+
:type child_age_threshold: int
|
|
300
|
+
"""
|
|
301
|
+
|
|
302
|
+
self._child_age_threshold = child_age_threshold
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
def child_doc_validity_years(self):
|
|
306
|
+
"""Gets the child_doc_validity_years of this FaceApi. # noqa: E501
|
|
307
|
+
|
|
308
|
+
Estimated duration of validity for a child's passport, years. Default: 5. # noqa: E501
|
|
309
|
+
|
|
310
|
+
:return: The child_doc_validity_years of this FaceApi. # noqa: E501
|
|
311
|
+
:rtype: int
|
|
312
|
+
"""
|
|
313
|
+
return self._child_doc_validity_years
|
|
314
|
+
|
|
315
|
+
@child_doc_validity_years.setter
|
|
316
|
+
def child_doc_validity_years(self, child_doc_validity_years):
|
|
317
|
+
"""Sets the child_doc_validity_years of this FaceApi.
|
|
318
|
+
|
|
319
|
+
Estimated duration of validity for a child's passport, years. Default: 5. # noqa: E501
|
|
320
|
+
|
|
321
|
+
:param child_doc_validity_years: The child_doc_validity_years of this FaceApi. # noqa: E501
|
|
322
|
+
:type child_doc_validity_years: int
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
self._child_doc_validity_years = child_doc_validity_years
|
|
326
|
+
|
|
271
327
|
def to_dict(self):
|
|
272
328
|
"""Returns the model properties as a dict"""
|
|
273
329
|
result = {}
|
|
@@ -38,7 +38,8 @@ class ImageQA(object):
|
|
|
38
38
|
'focus_check': 'bool',
|
|
39
39
|
'glares_check': 'bool',
|
|
40
40
|
'colorness_check': 'bool',
|
|
41
|
-
'document_position_indent': 'int'
|
|
41
|
+
'document_position_indent': 'int',
|
|
42
|
+
'expected_pass': 'list[InputImageQualityChecks]'
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
attribute_map = {
|
|
@@ -48,10 +49,11 @@ class ImageQA(object):
|
|
|
48
49
|
'focus_check': 'focusCheck',
|
|
49
50
|
'glares_check': 'glaresCheck',
|
|
50
51
|
'colorness_check': 'colornessCheck',
|
|
51
|
-
'document_position_indent': 'documentPositionIndent'
|
|
52
|
+
'document_position_indent': 'documentPositionIndent',
|
|
53
|
+
'expected_pass': 'expectedPass'
|
|
52
54
|
}
|
|
53
55
|
|
|
54
|
-
def __init__(self, brightness_threshold=None, dpi_threshold=None, angle_threshold=None, focus_check=None, glares_check=None, colorness_check=None, document_position_indent=None, local_vars_configuration=None): # noqa: E501
|
|
56
|
+
def __init__(self, brightness_threshold=None, dpi_threshold=None, angle_threshold=None, focus_check=None, glares_check=None, colorness_check=None, document_position_indent=None, expected_pass=None, local_vars_configuration=None): # noqa: E501
|
|
55
57
|
"""ImageQA - a model defined in OpenAPI""" # noqa: E501
|
|
56
58
|
if local_vars_configuration is None:
|
|
57
59
|
local_vars_configuration = Configuration()
|
|
@@ -64,6 +66,7 @@ class ImageQA(object):
|
|
|
64
66
|
self._glares_check = None
|
|
65
67
|
self._colorness_check = None
|
|
66
68
|
self._document_position_indent = None
|
|
69
|
+
self._expected_pass = None
|
|
67
70
|
self.discriminator = None
|
|
68
71
|
|
|
69
72
|
if brightness_threshold is not None:
|
|
@@ -80,6 +83,8 @@ class ImageQA(object):
|
|
|
80
83
|
self.colorness_check = colorness_check
|
|
81
84
|
if document_position_indent is not None:
|
|
82
85
|
self.document_position_indent = document_position_indent
|
|
86
|
+
if expected_pass is not None:
|
|
87
|
+
self.expected_pass = expected_pass
|
|
83
88
|
|
|
84
89
|
@property
|
|
85
90
|
def brightness_threshold(self):
|
|
@@ -242,6 +247,29 @@ class ImageQA(object):
|
|
|
242
247
|
|
|
243
248
|
self._document_position_indent = document_position_indent
|
|
244
249
|
|
|
250
|
+
@property
|
|
251
|
+
def expected_pass(self):
|
|
252
|
+
"""Gets the expected_pass of this ImageQA. # noqa: E501
|
|
253
|
+
|
|
254
|
+
This parameter controls the quality checks that the image should pass to be considered a valid input during the scanning process. # noqa: E501
|
|
255
|
+
|
|
256
|
+
:return: The expected_pass of this ImageQA. # noqa: E501
|
|
257
|
+
:rtype: list[InputImageQualityChecks]
|
|
258
|
+
"""
|
|
259
|
+
return self._expected_pass
|
|
260
|
+
|
|
261
|
+
@expected_pass.setter
|
|
262
|
+
def expected_pass(self, expected_pass):
|
|
263
|
+
"""Sets the expected_pass of this ImageQA.
|
|
264
|
+
|
|
265
|
+
This parameter controls the quality checks that the image should pass to be considered a valid input during the scanning process. # noqa: E501
|
|
266
|
+
|
|
267
|
+
:param expected_pass: The expected_pass of this ImageQA. # noqa: E501
|
|
268
|
+
:type expected_pass: list[InputImageQualityChecks]
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
self._expected_pass = expected_pass
|
|
272
|
+
|
|
245
273
|
def to_dict(self):
|
|
246
274
|
"""Returns the model properties as a dict"""
|
|
247
275
|
result = {}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Generated by: https://openapi-generator.tech
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import pprint
|
|
8
|
+
import re # noqa: F401
|
|
9
|
+
|
|
10
|
+
import six
|
|
11
|
+
|
|
12
|
+
from regula.documentreader.webclient.gen.configuration import Configuration
|
|
13
|
+
# this line was added to enable pycharm type hinting
|
|
14
|
+
from regula.documentreader.webclient.gen.models import *
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
Enumeration contains the types of barcodes that can be processed
|
|
19
|
+
"""
|
|
20
|
+
class InputBarcodeType(object):
|
|
21
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
22
|
+
Ref: https://openapi-generator.tech
|
|
23
|
+
|
|
24
|
+
Do not edit the class manually.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
UNKNOWN = "bct_unknown"
|
|
28
|
+
|
|
29
|
+
CODE128 = "bct_Code128"
|
|
30
|
+
|
|
31
|
+
CODE39 = "bct_Code39"
|
|
32
|
+
|
|
33
|
+
EAN8 = "bct_EAN8"
|
|
34
|
+
|
|
35
|
+
ITF = "bct_ITF"
|
|
36
|
+
|
|
37
|
+
PDF417 = "bct_PDF417"
|
|
38
|
+
|
|
39
|
+
STF = "bct_STF"
|
|
40
|
+
|
|
41
|
+
MTF = "bct_MTF"
|
|
42
|
+
|
|
43
|
+
IATA = "bct_IATA"
|
|
44
|
+
|
|
45
|
+
CODABAR = "bct_CODABAR"
|
|
46
|
+
|
|
47
|
+
UPCA = "bct_UPCA"
|
|
48
|
+
|
|
49
|
+
CODE93 = "bct_CODE93"
|
|
50
|
+
|
|
51
|
+
UPCE = "bct_UPCE"
|
|
52
|
+
|
|
53
|
+
EAN13 = "bct_EAN13"
|
|
54
|
+
|
|
55
|
+
QRCODE = "bct_QRCODE"
|
|
56
|
+
|
|
57
|
+
AZTEC = "bct_AZTEC"
|
|
58
|
+
|
|
59
|
+
DATAMATRIX = "bct_DATAMATRIX"
|
|
60
|
+
|
|
61
|
+
ALL_1D = "bct_ALL_1D"
|
|
62
|
+
|
|
63
|
+
CODE11 = "bct_Code11"
|
|
64
|
+
|
|
65
|
+
JABCODE = "bct_JABCODE"
|
|
66
|
+
|
|
67
|
+
allowable_values = [UNKNOWN, CODE128, CODE39, EAN8, ITF, PDF417, STF, MTF, IATA, CODABAR, UPCA, CODE93, UPCE, EAN13, QRCODE, AZTEC, DATAMATRIX, ALL_1D, CODE11, JABCODE] # noqa: E501
|
|
68
|
+
|
|
69
|
+
"""
|
|
70
|
+
Attributes:
|
|
71
|
+
openapi_types (dict): The key is attribute name
|
|
72
|
+
and the value is attribute type.
|
|
73
|
+
attribute_map (dict): The key is attribute name
|
|
74
|
+
and the value is json key in definition.
|
|
75
|
+
"""
|
|
76
|
+
openapi_types = {
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
attribute_map = {
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
83
|
+
"""InputBarcodeType - a model defined in OpenAPI""" # noqa: E501
|
|
84
|
+
if local_vars_configuration is None:
|
|
85
|
+
local_vars_configuration = Configuration()
|
|
86
|
+
self.local_vars_configuration = local_vars_configuration
|
|
87
|
+
self.discriminator = None
|
|
88
|
+
|
|
89
|
+
def to_dict(self):
|
|
90
|
+
"""Returns the model properties as a dict"""
|
|
91
|
+
result = {}
|
|
92
|
+
|
|
93
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
94
|
+
value = getattr(self, attr)
|
|
95
|
+
if isinstance(value, list):
|
|
96
|
+
result[attr] = list(map(
|
|
97
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
98
|
+
value
|
|
99
|
+
))
|
|
100
|
+
elif hasattr(value, "to_dict"):
|
|
101
|
+
result[attr] = value.to_dict()
|
|
102
|
+
elif isinstance(value, dict):
|
|
103
|
+
result[attr] = dict(map(
|
|
104
|
+
lambda item: (item[0], item[1].to_dict())
|
|
105
|
+
if hasattr(item[1], "to_dict") else item,
|
|
106
|
+
value.items()
|
|
107
|
+
))
|
|
108
|
+
else:
|
|
109
|
+
result[attr] = value
|
|
110
|
+
|
|
111
|
+
return result
|
|
112
|
+
|
|
113
|
+
def to_str(self):
|
|
114
|
+
"""Returns the string representation of the model"""
|
|
115
|
+
return pprint.pformat(self.to_dict())
|
|
116
|
+
|
|
117
|
+
def __repr__(self):
|
|
118
|
+
"""For `print` and `pprint`"""
|
|
119
|
+
return self.to_str()
|
|
120
|
+
|
|
121
|
+
def __eq__(self, other):
|
|
122
|
+
"""Returns true if both objects are equal"""
|
|
123
|
+
if not isinstance(other, InputBarcodeType):
|
|
124
|
+
return False
|
|
125
|
+
|
|
126
|
+
return self.to_dict() == other.to_dict()
|
|
127
|
+
|
|
128
|
+
def __ne__(self, other):
|
|
129
|
+
"""Returns true if both objects are not equal"""
|
|
130
|
+
if not isinstance(other, InputBarcodeType):
|
|
131
|
+
return True
|
|
132
|
+
|
|
133
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Generated by: https://openapi-generator.tech
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import pprint
|
|
8
|
+
import re # noqa: F401
|
|
9
|
+
|
|
10
|
+
import six
|
|
11
|
+
|
|
12
|
+
from regula.documentreader.webclient.gen.configuration import Configuration
|
|
13
|
+
# this line was added to enable pycharm type hinting
|
|
14
|
+
from regula.documentreader.webclient.gen.models import *
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
Input image quality checks for the document processing
|
|
19
|
+
"""
|
|
20
|
+
class InputImageQualityChecks(object):
|
|
21
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
22
|
+
Ref: https://openapi-generator.tech
|
|
23
|
+
|
|
24
|
+
Do not edit the class manually.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
Glares = "glaresCheck"
|
|
28
|
+
|
|
29
|
+
Focus = "focusCheck"
|
|
30
|
+
|
|
31
|
+
Resolution = "dpiThreshold"
|
|
32
|
+
|
|
33
|
+
Colorness = "colornessCheck"
|
|
34
|
+
|
|
35
|
+
Perspective = "perspectiveCheck"
|
|
36
|
+
|
|
37
|
+
Bounds = "documentPosition"
|
|
38
|
+
|
|
39
|
+
Portrait = "portraitCheck"
|
|
40
|
+
|
|
41
|
+
Brightness = "brightnessCheck"
|
|
42
|
+
|
|
43
|
+
allowable_values = [Glares, Focus, Resolution, Colorness, Perspective, Bounds, Portrait, Brightness] # noqa: E501
|
|
44
|
+
|
|
45
|
+
"""
|
|
46
|
+
Attributes:
|
|
47
|
+
openapi_types (dict): The key is attribute name
|
|
48
|
+
and the value is attribute type.
|
|
49
|
+
attribute_map (dict): The key is attribute name
|
|
50
|
+
and the value is json key in definition.
|
|
51
|
+
"""
|
|
52
|
+
openapi_types = {
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
attribute_map = {
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
59
|
+
"""InputImageQualityChecks - a model defined in OpenAPI""" # noqa: E501
|
|
60
|
+
if local_vars_configuration is None:
|
|
61
|
+
local_vars_configuration = Configuration()
|
|
62
|
+
self.local_vars_configuration = local_vars_configuration
|
|
63
|
+
self.discriminator = None
|
|
64
|
+
|
|
65
|
+
def to_dict(self):
|
|
66
|
+
"""Returns the model properties as a dict"""
|
|
67
|
+
result = {}
|
|
68
|
+
|
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
70
|
+
value = getattr(self, attr)
|
|
71
|
+
if isinstance(value, list):
|
|
72
|
+
result[attr] = list(map(
|
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
74
|
+
value
|
|
75
|
+
))
|
|
76
|
+
elif hasattr(value, "to_dict"):
|
|
77
|
+
result[attr] = value.to_dict()
|
|
78
|
+
elif isinstance(value, dict):
|
|
79
|
+
result[attr] = dict(map(
|
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
|
82
|
+
value.items()
|
|
83
|
+
))
|
|
84
|
+
else:
|
|
85
|
+
result[attr] = value
|
|
86
|
+
|
|
87
|
+
return result
|
|
88
|
+
|
|
89
|
+
def to_str(self):
|
|
90
|
+
"""Returns the string representation of the model"""
|
|
91
|
+
return pprint.pformat(self.to_dict())
|
|
92
|
+
|
|
93
|
+
def __repr__(self):
|
|
94
|
+
"""For `print` and `pprint`"""
|
|
95
|
+
return self.to_str()
|
|
96
|
+
|
|
97
|
+
def __eq__(self, other):
|
|
98
|
+
"""Returns true if both objects are equal"""
|
|
99
|
+
if not isinstance(other, InputImageQualityChecks):
|
|
100
|
+
return False
|
|
101
|
+
|
|
102
|
+
return self.to_dict() == other.to_dict()
|
|
103
|
+
|
|
104
|
+
def __ne__(self, other):
|
|
105
|
+
"""Returns true if both objects are not equal"""
|
|
106
|
+
if not isinstance(other, InputImageQualityChecks):
|
|
107
|
+
return True
|
|
108
|
+
|
|
109
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -35,17 +35,19 @@ class LivenessParams(object):
|
|
|
35
35
|
'check_ovi': 'bool',
|
|
36
36
|
'check_mli': 'bool',
|
|
37
37
|
'check_holo': 'bool',
|
|
38
|
-
'check_ed': 'bool'
|
|
38
|
+
'check_ed': 'bool',
|
|
39
|
+
'check_black_and_white_copy': 'bool'
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
attribute_map = {
|
|
42
43
|
'check_ovi': 'checkOVI',
|
|
43
44
|
'check_mli': 'checkMLI',
|
|
44
45
|
'check_holo': 'checkHolo',
|
|
45
|
-
'check_ed': 'checkED'
|
|
46
|
+
'check_ed': 'checkED',
|
|
47
|
+
'check_black_and_white_copy': 'checkBlackAndWhiteCopy'
|
|
46
48
|
}
|
|
47
49
|
|
|
48
|
-
def __init__(self, check_ovi=None, check_mli=None, check_holo=None, check_ed=None, local_vars_configuration=None): # noqa: E501
|
|
50
|
+
def __init__(self, check_ovi=None, check_mli=None, check_holo=None, check_ed=None, check_black_and_white_copy=None, local_vars_configuration=None): # noqa: E501
|
|
49
51
|
"""LivenessParams - a model defined in OpenAPI""" # noqa: E501
|
|
50
52
|
if local_vars_configuration is None:
|
|
51
53
|
local_vars_configuration = Configuration()
|
|
@@ -55,6 +57,7 @@ class LivenessParams(object):
|
|
|
55
57
|
self._check_mli = None
|
|
56
58
|
self._check_holo = None
|
|
57
59
|
self._check_ed = None
|
|
60
|
+
self._check_black_and_white_copy = None
|
|
58
61
|
self.discriminator = None
|
|
59
62
|
|
|
60
63
|
if check_ovi is not None:
|
|
@@ -65,6 +68,8 @@ class LivenessParams(object):
|
|
|
65
68
|
self.check_holo = check_holo
|
|
66
69
|
if check_ed is not None:
|
|
67
70
|
self.check_ed = check_ed
|
|
71
|
+
if check_black_and_white_copy is not None:
|
|
72
|
+
self.check_black_and_white_copy = check_black_and_white_copy
|
|
68
73
|
|
|
69
74
|
@property
|
|
70
75
|
def check_ovi(self):
|
|
@@ -158,6 +163,29 @@ class LivenessParams(object):
|
|
|
158
163
|
|
|
159
164
|
self._check_ed = check_ed
|
|
160
165
|
|
|
166
|
+
@property
|
|
167
|
+
def check_black_and_white_copy(self):
|
|
168
|
+
"""Gets the check_black_and_white_copy of this LivenessParams. # noqa: E501
|
|
169
|
+
|
|
170
|
+
This parameter is used to enable Black and white copy check # noqa: E501
|
|
171
|
+
|
|
172
|
+
:return: The check_black_and_white_copy of this LivenessParams. # noqa: E501
|
|
173
|
+
:rtype: bool
|
|
174
|
+
"""
|
|
175
|
+
return self._check_black_and_white_copy
|
|
176
|
+
|
|
177
|
+
@check_black_and_white_copy.setter
|
|
178
|
+
def check_black_and_white_copy(self, check_black_and_white_copy):
|
|
179
|
+
"""Sets the check_black_and_white_copy of this LivenessParams.
|
|
180
|
+
|
|
181
|
+
This parameter is used to enable Black and white copy check # noqa: E501
|
|
182
|
+
|
|
183
|
+
:param check_black_and_white_copy: The check_black_and_white_copy of this LivenessParams. # noqa: E501
|
|
184
|
+
:type check_black_and_white_copy: bool
|
|
185
|
+
"""
|
|
186
|
+
|
|
187
|
+
self._check_black_and_white_copy = check_black_and_white_copy
|
|
188
|
+
|
|
161
189
|
def to_dict(self):
|
|
162
190
|
"""Returns the model properties as a dict"""
|
|
163
191
|
result = {}
|
|
@@ -89,7 +89,8 @@ class ProcessParams(object):
|
|
|
89
89
|
'mrz_detect_mode': 'MrzDetectModeEnum',
|
|
90
90
|
'generate_numeric_codes': 'bool',
|
|
91
91
|
'strict_barcode_digital_signature_check': 'bool',
|
|
92
|
-
'select_longest_names': 'bool'
|
|
92
|
+
'select_longest_names': 'bool',
|
|
93
|
+
'do_barcodes': 'list[InputBarcodeType]'
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
attribute_map = {
|
|
@@ -150,10 +151,11 @@ class ProcessParams(object):
|
|
|
150
151
|
'mrz_detect_mode': 'mrzDetectMode',
|
|
151
152
|
'generate_numeric_codes': 'generateNumericCodes',
|
|
152
153
|
'strict_barcode_digital_signature_check': 'strictBarcodeDigitalSignatureCheck',
|
|
153
|
-
'select_longest_names': 'selectLongestNames'
|
|
154
|
+
'select_longest_names': 'selectLongestNames',
|
|
155
|
+
'do_barcodes': 'doBarcodes'
|
|
154
156
|
}
|
|
155
157
|
|
|
156
|
-
def __init__(self, generate_dtcvc=None, lcid_filter=None, lcid_ignore_filter=None, one_shot_identification=None, use_face_api=None, face_api=None, do_detect_can=None, image_output_max_height=None, image_output_max_width=None, 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, strict_image_quality=None, respect_image_quality=None, force_doc_format=None, no_graphics=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, device_id=None, device_type=None, device_type_hex=None, ignore_device_id_from_image=None, document_id_list=None, rfid=None, check_auth=None, auth_params=None, mrz_detect_mode=None, generate_numeric_codes=None, strict_barcode_digital_signature_check=None, select_longest_names=None, local_vars_configuration=None): # noqa: E501
|
|
158
|
+
def __init__(self, generate_dtcvc=None, lcid_filter=None, lcid_ignore_filter=None, one_shot_identification=None, use_face_api=None, face_api=None, do_detect_can=None, image_output_max_height=None, image_output_max_width=None, 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, strict_image_quality=None, respect_image_quality=None, force_doc_format=None, no_graphics=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, device_id=None, device_type=None, device_type_hex=None, ignore_device_id_from_image=None, document_id_list=None, rfid=None, check_auth=None, auth_params=None, mrz_detect_mode=None, generate_numeric_codes=None, strict_barcode_digital_signature_check=None, select_longest_names=None, do_barcodes=None, local_vars_configuration=None): # noqa: E501
|
|
157
159
|
"""ProcessParams - a model defined in OpenAPI""" # noqa: E501
|
|
158
160
|
if local_vars_configuration is None:
|
|
159
161
|
local_vars_configuration = Configuration()
|
|
@@ -217,6 +219,7 @@ class ProcessParams(object):
|
|
|
217
219
|
self._generate_numeric_codes = None
|
|
218
220
|
self._strict_barcode_digital_signature_check = None
|
|
219
221
|
self._select_longest_names = None
|
|
222
|
+
self._do_barcodes = None
|
|
220
223
|
self.discriminator = None
|
|
221
224
|
|
|
222
225
|
if generate_dtcvc is not None:
|
|
@@ -334,6 +337,8 @@ class ProcessParams(object):
|
|
|
334
337
|
self.strict_barcode_digital_signature_check = strict_barcode_digital_signature_check
|
|
335
338
|
if select_longest_names is not None:
|
|
336
339
|
self.select_longest_names = select_longest_names
|
|
340
|
+
if do_barcodes is not None:
|
|
341
|
+
self.do_barcodes = do_barcodes
|
|
337
342
|
|
|
338
343
|
@property
|
|
339
344
|
def generate_dtcvc(self):
|
|
@@ -1651,6 +1656,29 @@ class ProcessParams(object):
|
|
|
1651
1656
|
|
|
1652
1657
|
self._select_longest_names = select_longest_names
|
|
1653
1658
|
|
|
1659
|
+
@property
|
|
1660
|
+
def do_barcodes(self):
|
|
1661
|
+
"""Gets the do_barcodes of this ProcessParams. # noqa: E501
|
|
1662
|
+
|
|
1663
|
+
Set the types of barcodes to process. # noqa: E501
|
|
1664
|
+
|
|
1665
|
+
:return: The do_barcodes of this ProcessParams. # noqa: E501
|
|
1666
|
+
:rtype: list[InputBarcodeType]
|
|
1667
|
+
"""
|
|
1668
|
+
return self._do_barcodes
|
|
1669
|
+
|
|
1670
|
+
@do_barcodes.setter
|
|
1671
|
+
def do_barcodes(self, do_barcodes):
|
|
1672
|
+
"""Sets the do_barcodes of this ProcessParams.
|
|
1673
|
+
|
|
1674
|
+
Set the types of barcodes to process. # noqa: E501
|
|
1675
|
+
|
|
1676
|
+
:param do_barcodes: The do_barcodes of this ProcessParams. # noqa: E501
|
|
1677
|
+
:type do_barcodes: list[InputBarcodeType]
|
|
1678
|
+
"""
|
|
1679
|
+
|
|
1680
|
+
self._do_barcodes = do_barcodes
|
|
1681
|
+
|
|
1654
1682
|
def to_dict(self):
|
|
1655
1683
|
"""Returns the model properties as a dict"""
|
|
1656
1684
|
result = {}
|
|
@@ -54,7 +54,8 @@ class ProcessRequestImage(object):
|
|
|
54
54
|
self._page_idx = None
|
|
55
55
|
self.discriminator = None
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
if image_data is not None:
|
|
58
|
+
self.image_data = image_data
|
|
58
59
|
if light is not None:
|
|
59
60
|
self.light = light
|
|
60
61
|
if page_idx is not None:
|
|
@@ -78,8 +79,6 @@ class ProcessRequestImage(object):
|
|
|
78
79
|
:param image_data: The image_data of this ProcessRequestImage. # noqa: E501
|
|
79
80
|
:type image_data: ImageData
|
|
80
81
|
"""
|
|
81
|
-
if self.local_vars_configuration.client_side_validation and image_data is None: # noqa: E501
|
|
82
|
-
raise ValueError("Invalid value for `image_data`, must not be `None`") # noqa: E501
|
|
83
82
|
|
|
84
83
|
self._image_data = image_data
|
|
85
84
|
|
|
@@ -19,7 +19,7 @@ regula/documentreader/webclient/ext/models/authenticity/ident.py,sha256=7rWPNmK7
|
|
|
19
19
|
regula/documentreader/webclient/ext/models/authenticity/image_ident.py,sha256=GKwlntMSHTfR4OZzQe0NO95GlvHQotCN4FyFpIP12-A,288
|
|
20
20
|
regula/documentreader/webclient/ext/models/authenticity/ocr_security_text.py,sha256=X2_lC7y4_BXWiPmLfIBmtibFFuD-tiH8yDK158iqAbg,299
|
|
21
21
|
regula/documentreader/webclient/ext/models/authenticity/security_feature.py,sha256=QjTP2NLgMiUha3Eg73HXJ5we6P7segdlQtY3I-5Mz-0,485
|
|
22
|
-
regula/documentreader/webclient/gen/__init__.py,sha256=
|
|
22
|
+
regula/documentreader/webclient/gen/__init__.py,sha256=DjutYGCmUoqSm6C1pqTBdBiMV5g3N1DNtg4VYCV1qUQ,14964
|
|
23
23
|
regula/documentreader/webclient/gen/api_client.py,sha256=DgJFP29cmD9q1D1n38dQ_sj01_tlMUg-NeIBNh-SMjE,26739
|
|
24
24
|
regula/documentreader/webclient/gen/configuration.py,sha256=Nfr6drG3bmDYRom9ZXiS76Tteo5LkttKRQP0xtpubKU,16383
|
|
25
25
|
regula/documentreader/webclient/gen/exceptions.py,sha256=RCgqdeb5Z3va2bEu1bndBdOouxPPUXi80UD8cdYxRsA,4944
|
|
@@ -29,10 +29,10 @@ regula/documentreader/webclient/gen/api/default_api.py,sha256=Xjb17rx1BR9UFNvhjL
|
|
|
29
29
|
regula/documentreader/webclient/gen/api/healthcheck_api.py,sha256=5POc6SUXUjb8BEgU4l0HiD3GZhg2tfAOqdY48YISpgA,16000
|
|
30
30
|
regula/documentreader/webclient/gen/api/process_api.py,sha256=aSEEDy_vUS-vvRigA4SYVc3GNIeTTfOYvjqMRI1a3Pk,7067
|
|
31
31
|
regula/documentreader/webclient/gen/api/transaction_api.py,sha256=cPVV8crmvoFYhj4B8IhKqipzVio9crctuoRquN3jKMY,39245
|
|
32
|
-
regula/documentreader/webclient/gen/models/__init__.py,sha256=
|
|
32
|
+
regula/documentreader/webclient/gen/models/__init__.py,sha256=KiFG97bMgqgFofVjCfvG8PoWktetM51xIeX2yFSCloc,14063
|
|
33
33
|
regula/documentreader/webclient/gen/models/area_array.py,sha256=lqYvHOxZ0-4xrPKeJFAPZLEqGODElt4dw44zk-4c10E,3909
|
|
34
34
|
regula/documentreader/webclient/gen/models/area_container.py,sha256=AIyeiFcUyyconYSjWlqlR_DgT1SEJyq0DfVwm2dqgc8,4607
|
|
35
|
-
regula/documentreader/webclient/gen/models/auth_params.py,sha256=
|
|
35
|
+
regula/documentreader/webclient/gen/models/auth_params.py,sha256=sWdcIqyro1sLla8Y49a2xdn2EfDaKYymYRfQlgTw0Zk,18725
|
|
36
36
|
regula/documentreader/webclient/gen/models/authenticity_check_list.py,sha256=xaZRlS5-hWGmqk5ceo-0g1v-NWCbhu8VnWgA4RTqdBc,4328
|
|
37
37
|
regula/documentreader/webclient/gen/models/authenticity_check_result.py,sha256=4dK5dfau7t6hjVGI4uO3PkV1zuDKIH1zpQgfRcsQ6Z0,5230
|
|
38
38
|
regula/documentreader/webclient/gen/models/authenticity_check_result_item.py,sha256=dMj1pmzM1ppZ-UOc90ELG9YmhBO_YWF3jHfag0LIc64,7846
|
|
@@ -43,7 +43,7 @@ regula/documentreader/webclient/gen/models/bc_pdf417_info.py,sha256=F3NnD1SloCI4
|
|
|
43
43
|
regula/documentreader/webclient/gen/models/bc_roidetect.py,sha256=v68eAgzOCrzkFZ1lKVl4fagOtZa-DvoKYhZVvs9EzJU,4981
|
|
44
44
|
regula/documentreader/webclient/gen/models/byte_array_result.py,sha256=hw9Kcmy_4oS5j7bG7Q0QRoQT1vCR1FUJZHUkzdCkJwc,7420
|
|
45
45
|
regula/documentreader/webclient/gen/models/byte_array_result_all_of.py,sha256=rnNLacx7EPWU07UHnEgrKiehABnGxOYrx1Uac53xumY,3648
|
|
46
|
-
regula/documentreader/webclient/gen/models/check_diagnose.py,sha256
|
|
46
|
+
regula/documentreader/webclient/gen/models/check_diagnose.py,sha256=-g9U5rPI19PDjz32NdrAtDswDYunG8Tzc3-sQ1kydwc,12089
|
|
47
47
|
regula/documentreader/webclient/gen/models/check_result.py,sha256=iJXGEcYBkiVWV6947R-0MSuSdT4twY2HgYleXn1zh7I,2837
|
|
48
48
|
regula/documentreader/webclient/gen/models/chosen_document_type.py,sha256=H7gf5PYa8ccOEslKiUcANVfqc-FptYFtdh48VI8sbTo,11794
|
|
49
49
|
regula/documentreader/webclient/gen/models/chosen_document_type_result.py,sha256=WSJaNaHthi2hogA_ogdZMtr552EgRLhvZ4SIjbAygyU,8383
|
|
@@ -77,7 +77,7 @@ regula/documentreader/webclient/gen/models/document_types_candidates_result_all_
|
|
|
77
77
|
regula/documentreader/webclient/gen/models/documents_database.py,sha256=JeffM90y0spEkA5gn2wInonlv7go6eiWNawApXvhUBw,5826
|
|
78
78
|
regula/documentreader/webclient/gen/models/encrypted_rcl_result.py,sha256=-ElWQwnl7954wk3M7CBnjCrcpanPyIOxXakemLafsj8,7568
|
|
79
79
|
regula/documentreader/webclient/gen/models/encrypted_rcl_result_all_of.py,sha256=h2-zv7xrQCC6lADQzbhzZ1BAwejMLmEaymtXLwfm2WQ,3776
|
|
80
|
-
regula/documentreader/webclient/gen/models/face_api.py,sha256=
|
|
80
|
+
regula/documentreader/webclient/gen/models/face_api.py,sha256=P4hEOsXG32y3-Yyv4SFyExnI3zyGdDJD6VfBx7WwrYM,11879
|
|
81
81
|
regula/documentreader/webclient/gen/models/face_api_search.py,sha256=gnmt6Kmht_oXr3g-gDcyqSuGgDEEMncBLv5ZYtx77aQ,5414
|
|
82
82
|
regula/documentreader/webclient/gen/models/fdsid_list.py,sha256=zftjZnLyPw9Swt_EaqADuZT5vlIZX_56uVgnTsG7wkQ,11751
|
|
83
83
|
regula/documentreader/webclient/gen/models/fiber_result.py,sha256=W6oBU63sPjg2gFSvdEL-a83yeJPbMvMbTXweRBCY4-E,13601
|
|
@@ -93,7 +93,7 @@ regula/documentreader/webclient/gen/models/healthcheck_documents_database.py,sha
|
|
|
93
93
|
regula/documentreader/webclient/gen/models/ident_result.py,sha256=p0LJm7_8TQhrxBOEIdhebCiRYsomm9nLmApteoO6_10,10474
|
|
94
94
|
regula/documentreader/webclient/gen/models/ident_result_all_of.py,sha256=lVfum0xphtNdSedYfsiVdJJ4uX8GIpB7hKxDGT-XJ84,7011
|
|
95
95
|
regula/documentreader/webclient/gen/models/image_data.py,sha256=sYCo6_ikyq8zkccaLC1IsJcP7xu5GDaRrOvAocP6fcU,4133
|
|
96
|
-
regula/documentreader/webclient/gen/models/image_qa.py,sha256=
|
|
96
|
+
regula/documentreader/webclient/gen/models/image_qa.py,sha256=FYNvTtFLggH_6as4ZN6rUyUjo9RSR93nHdoTWkEcUkA,11126
|
|
97
97
|
regula/documentreader/webclient/gen/models/image_quality_check.py,sha256=RCL9xcY7yltnxwG8-_qjtal_MCNXFMG4vxg6Hg376vg,7461
|
|
98
98
|
regula/documentreader/webclient/gen/models/image_quality_check_list.py,sha256=TaR-Lk9k5DCNTo0dNjtr2cVfyNGUJhk4kJBL_BoflSY,4339
|
|
99
99
|
regula/documentreader/webclient/gen/models/image_quality_check_type.py,sha256=dHQHMla35chX-6UC3Hnd0rNn4i-n57uW_zScbMlMjaI,3052
|
|
@@ -112,6 +112,8 @@ regula/documentreader/webclient/gen/models/in_data_transaction_images_field_valu
|
|
|
112
112
|
regula/documentreader/webclient/gen/models/in_data_video.py,sha256=uvx7LUZGtZCeXrctlIl3Uyev2856fpmo9cqP7NI__js,4119
|
|
113
113
|
regula/documentreader/webclient/gen/models/inline_response200.py,sha256=67wA1C9uT2LP5IByGL9OlAiuCsgQwdHk4brdqfLuhgQ,5413
|
|
114
114
|
regula/documentreader/webclient/gen/models/inline_response2001.py,sha256=57Cso2sHRv3fm6q-R5yBRpG0MehjNEbsoMxTnMs2fZM,10698
|
|
115
|
+
regula/documentreader/webclient/gen/models/input_barcode_type.py,sha256=usUa1hlD2YtWHdfbjI-_f6TkVUOOAAMiV1VQdGjAYSM,3417
|
|
116
|
+
regula/documentreader/webclient/gen/models/input_image_quality_checks.py,sha256=Ni1CN751IQH5XrNM7kOpjT6ZLK81tfAeUfzqIDbnxJY,3109
|
|
115
117
|
regula/documentreader/webclient/gen/models/lcid.py,sha256=kXRzemz1EnGb2M1WRDTWyfyWsueSuLWwprm-iVptjF0,10290
|
|
116
118
|
regula/documentreader/webclient/gen/models/lexical_analysis_result.py,sha256=pBR796hT4w-lzCohzAx005qxn69v7X-EbQL3u1JEsls,7915
|
|
117
119
|
regula/documentreader/webclient/gen/models/lexical_analysis_result_all_of.py,sha256=WY-7QEzBtUPtDrdW7xZs4866Qu6fRTsCLKXDjGjA2bY,3704
|
|
@@ -120,7 +122,7 @@ regula/documentreader/webclient/gen/models/license_result_all_of.py,sha256=ahPg0
|
|
|
120
122
|
regula/documentreader/webclient/gen/models/light.py,sha256=AbQiY4-Ggq-v_SgZREXoOHBbq930ZcoJNSh6xV8PMwk,2762
|
|
121
123
|
regula/documentreader/webclient/gen/models/list_transactions_by_tag_response.py,sha256=5Os8NHrDyF4eJcbmGYfP_5AWiu_T-RYFBGzF6bf-rC8,4239
|
|
122
124
|
regula/documentreader/webclient/gen/models/list_verified_fields.py,sha256=EC_eVJvOpVpjmuIrij9qVUzWYuhN82tNjuhBG1FN6ho,3484
|
|
123
|
-
regula/documentreader/webclient/gen/models/liveness_params.py,sha256=
|
|
125
|
+
regula/documentreader/webclient/gen/models/liveness_params.py,sha256=56xvSpB6M-0yQ7iZJlsru0rSFmm3AcTRuoaW-9iXjg4,7216
|
|
124
126
|
regula/documentreader/webclient/gen/models/log_level.py,sha256=Ew7WmeZL2bWXm9w6V6Coq2wNWYYWEI6Ez3mXWu3gTmk,2814
|
|
125
127
|
regula/documentreader/webclient/gen/models/measure_system.py,sha256=7FRPfbctFSex3OOx8dUOc0MTdMEJ5UDSJWXOAomjujU,2740
|
|
126
128
|
regula/documentreader/webclient/gen/models/mrz_detect_mode_enum.py,sha256=Rex2xON98f4jpBF5HvA9sHdDNps9lc6VxF2RXtO4pCU,2967
|
|
@@ -139,10 +141,10 @@ regula/documentreader/webclient/gen/models/photo_ident_result_all_of.py,sha256=4
|
|
|
139
141
|
regula/documentreader/webclient/gen/models/point.py,sha256=32hbww9QplPA--1mGv3k9XGKMdnqINZljFKAYTXlQMI,3585
|
|
140
142
|
regula/documentreader/webclient/gen/models/point_array.py,sha256=A2wlQC6urEW_q9dOK-P9vKg-fQNJ1e3Itop4BZ4UbKg,3367
|
|
141
143
|
regula/documentreader/webclient/gen/models/points_container.py,sha256=d1Z1o_ghAVKphjO1JZcODjSZepvggbdjIaywUzEmWvM,4147
|
|
142
|
-
regula/documentreader/webclient/gen/models/process_params.py,sha256=
|
|
144
|
+
regula/documentreader/webclient/gen/models/process_params.py,sha256=ndop_Vme4s62P_TJRYVerrs_WkRMjVa6lDixuSkLq6c,70878
|
|
143
145
|
regula/documentreader/webclient/gen/models/process_params_rfid.py,sha256=7fGyqC8IUj-OLuJze1g6QJNUgXBX_BN5CFc88MYLtb4,4053
|
|
144
146
|
regula/documentreader/webclient/gen/models/process_request.py,sha256=tdsIjlVPVZ5He7Tf-FiZYYqlRpHLfVZIWK7y6LRZdEw,12518
|
|
145
|
-
regula/documentreader/webclient/gen/models/process_request_image.py,sha256=
|
|
147
|
+
regula/documentreader/webclient/gen/models/process_request_image.py,sha256=9M71ftTx2ByIB5VIHQGvvzEyMPoMcbY689tIdOiDxRs,4823
|
|
146
148
|
regula/documentreader/webclient/gen/models/process_response.py,sha256=PnUfvIqpwAVQ8hDO_3iDsV6oCOTx4QiWY7h4TJMU4KU,10150
|
|
147
149
|
regula/documentreader/webclient/gen/models/process_system_info.py,sha256=DztDgrZsosh9u4MhdU-67ZhNtvhiaJ_vuNXQMmtFYOo,4385
|
|
148
150
|
regula/documentreader/webclient/gen/models/processing_status.py,sha256=n8sNaHEe0ZB26sismsj1Gbycx41GTAtdWGTe-lMUT3g,2797
|
|
@@ -184,7 +186,7 @@ regula/documentreader/webclient/gen/models/transaction_scenario_request.py,sha25
|
|
|
184
186
|
regula/documentreader/webclient/gen/models/verification_result.py,sha256=QmecwNs6cz3OTzPSNaSkY4ktudmsAF_wpn4DjDWDbMM,2905
|
|
185
187
|
regula/documentreader/webclient/gen/models/verified_field_map.py,sha256=L3JXmadMiV6RNdbpSbE8_jiJ0Zh85ZSpCvwPuKeDHR4,10406
|
|
186
188
|
regula/documentreader/webclient/gen/models/visibility.py,sha256=c5H2K34md6ykhebeNmqyqUOb_hCUJx6b5sdmeAIQQ7c,2917
|
|
187
|
-
regula.documentreader.webclient-7.6.
|
|
188
|
-
regula.documentreader.webclient-7.6.
|
|
189
|
-
regula.documentreader.webclient-7.6.
|
|
190
|
-
regula.documentreader.webclient-7.6.
|
|
189
|
+
regula.documentreader.webclient-7.6.269.dev0.dist-info/METADATA,sha256=Im8YfFL_PzF3Ygq2Hv4ZBXx3ydIbdpBefrcgFqlen2o,3585
|
|
190
|
+
regula.documentreader.webclient-7.6.269.dev0.dist-info/WHEEL,sha256=uCRv0ZEik_232NlR4YDw4Pv3Ajt5bKvMH13NUU7hFuI,91
|
|
191
|
+
regula.documentreader.webclient-7.6.269.dev0.dist-info/top_level.txt,sha256=SFSSVn4j8QDivd3307s97NtpIJ8zOjiWZloAxZIClJY,7
|
|
192
|
+
regula.documentreader.webclient-7.6.269.dev0.dist-info/RECORD,,
|
|
File without changes
|