regula.documentreader.webclient 7.5.166rc0__py3-none-any.whl → 7.5.167.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.
Files changed (38) hide show
  1. regula/documentreader/webclient/ext/api/document_reader_api.py +2 -18
  2. regula/documentreader/webclient/ext/models/raw_authenticity_result_item.py +2 -2
  3. regula/documentreader/webclient/ext/models/recognition_request.py +12 -6
  4. regula/documentreader/webclient/gen/__init__.py +6 -1
  5. regula/documentreader/webclient/gen/api/__init__.py +1 -1
  6. regula/documentreader/webclient/gen/api/healthcheck_api.py +412 -0
  7. regula/documentreader/webclient/gen/api/transaction_api.py +10 -10
  8. regula/documentreader/webclient/gen/models/__init__.py +5 -0
  9. regula/documentreader/webclient/gen/models/authenticity_check_result.py +6 -3
  10. regula/documentreader/webclient/gen/models/byte_array_result.py +255 -0
  11. regula/documentreader/webclient/gen/models/byte_array_result_all_of.py +122 -0
  12. regula/documentreader/webclient/gen/models/check_diagnose.py +7 -1
  13. regula/documentreader/webclient/gen/models/container_list.py +36 -9
  14. regula/documentreader/webclient/gen/models/device_info2.py +275 -0
  15. regula/documentreader/webclient/gen/models/document_image.py +31 -3
  16. regula/documentreader/webclient/gen/models/document_image_result.py +1 -1
  17. regula/documentreader/webclient/gen/models/document_image_result_all_of.py +1 -1
  18. regula/documentreader/webclient/gen/models/documents_database.py +205 -0
  19. regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py +3 -3
  20. regula/documentreader/webclient/gen/models/healthcheck.py +310 -0
  21. regula/documentreader/webclient/gen/models/healthcheck_documents_database.py +201 -0
  22. regula/documentreader/webclient/gen/models/ident_result.py +0 -2
  23. regula/documentreader/webclient/gen/models/ident_result_all_of.py +1 -29
  24. regula/documentreader/webclient/gen/models/image_data.py +31 -3
  25. regula/documentreader/webclient/gen/models/process_params.py +117 -5
  26. regula/documentreader/webclient/gen/models/process_request.py +59 -3
  27. regula/documentreader/webclient/gen/models/result.py +3 -1
  28. regula/documentreader/webclient/gen/models/result_item.py +2 -0
  29. regula/documentreader/webclient/gen/models/scenario.py +3 -1
  30. regula/documentreader/webclient/gen/models/security_feature_type.py +5 -1
  31. regula/documentreader/webclient/gen/models/text_field_type.py +9 -1
  32. regula/documentreader/webclient/gen/models/transaction_info.py +121 -3
  33. regula/documentreader/webclient/gen/models/transaction_process_get_response.py +3 -3
  34. regula/documentreader/webclient/gen/models/transaction_process_request.py +31 -3
  35. {regula.documentreader.webclient-7.5.166rc0.dist-info → regula.documentreader.webclient-7.5.167.dev0.dist-info}/METADATA +1 -1
  36. {regula.documentreader.webclient-7.5.166rc0.dist-info → regula.documentreader.webclient-7.5.167.dev0.dist-info}/RECORD +38 -31
  37. {regula.documentreader.webclient-7.5.166rc0.dist-info → regula.documentreader.webclient-7.5.167.dev0.dist-info}/WHEEL +1 -1
  38. {regula.documentreader.webclient-7.5.166rc0.dist-info → regula.documentreader.webclient-7.5.167.dev0.dist-info}/top_level.txt +0 -0
@@ -14,6 +14,9 @@ from regula.documentreader.webclient.gen.configuration import Configuration
14
14
  from regula.documentreader.webclient.gen.models import *
15
15
 
16
16
 
17
+ """
18
+
19
+ """
17
20
  class AuthenticityCheckResult(object):
18
21
  """NOTE: This class is auto generated by OpenAPI Generator.
19
22
  Ref: https://openapi-generator.tech
@@ -29,7 +32,7 @@ class AuthenticityCheckResult(object):
29
32
  and the value is json key in definition.
30
33
  """
31
34
  openapi_types = {
32
- 'type': 'SecurityFeatureType',
35
+ 'type': 'AuthenticityResultType',
33
36
  'result': 'CheckResult',
34
37
  'list': 'list[AuthenticityCheckResultItem]'
35
38
  }
@@ -61,7 +64,7 @@ class AuthenticityCheckResult(object):
61
64
 
62
65
 
63
66
  :return: The type of this AuthenticityCheckResult. # noqa: E501
64
- :rtype: SecurityFeatureType
67
+ :rtype: AuthenticityResultType
65
68
  """
66
69
  return self._type
67
70
 
@@ -71,7 +74,7 @@ class AuthenticityCheckResult(object):
71
74
 
72
75
 
73
76
  :param type: The type of this AuthenticityCheckResult. # noqa: E501
74
- :type type: SecurityFeatureType
77
+ :type type: AuthenticityResultType
75
78
  """
76
79
  if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501
77
80
  raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501
@@ -0,0 +1,255 @@
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
+
19
+ """
20
+ class ByteArrayResult(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
+ """
28
+ Attributes:
29
+ openapi_types (dict): The key is attribute name
30
+ and the value is attribute type.
31
+ attribute_map (dict): The key is attribute name
32
+ and the value is json key in definition.
33
+ """
34
+ openapi_types = {
35
+ 'byte_array': 'str',
36
+ 'buf_length': 'int',
37
+ 'light': 'int',
38
+ 'list_idx': 'int',
39
+ 'page_idx': 'int',
40
+ 'result_type': 'int'
41
+ }
42
+
43
+ attribute_map = {
44
+ 'byte_array': 'ByteArray',
45
+ 'buf_length': 'buf_length',
46
+ 'light': 'light',
47
+ 'list_idx': 'list_idx',
48
+ 'page_idx': 'page_idx',
49
+ 'result_type': 'result_type'
50
+ }
51
+
52
+ def __init__(self, byte_array=None, buf_length=None, light=None, list_idx=None, page_idx=None, result_type=0, local_vars_configuration=None): # noqa: E501
53
+ """ByteArrayResult - a model defined in OpenAPI""" # noqa: E501
54
+ if local_vars_configuration is None:
55
+ local_vars_configuration = Configuration()
56
+ self.local_vars_configuration = local_vars_configuration
57
+
58
+ self._byte_array = None
59
+ self._buf_length = None
60
+ self._light = None
61
+ self._list_idx = None
62
+ self._page_idx = None
63
+ self._result_type = None
64
+ self.discriminator = None
65
+
66
+ self.byte_array = byte_array
67
+ if buf_length is not None:
68
+ self.buf_length = buf_length
69
+ if light is not None:
70
+ self.light = light
71
+ if list_idx is not None:
72
+ self.list_idx = list_idx
73
+ if page_idx is not None:
74
+ self.page_idx = page_idx
75
+ self.result_type = result_type
76
+
77
+ @property
78
+ def byte_array(self):
79
+ """Gets the byte_array of this ByteArrayResult. # noqa: E501
80
+
81
+ Byte array in base64 # noqa: E501
82
+
83
+ :return: The byte_array of this ByteArrayResult. # noqa: E501
84
+ :rtype: str
85
+ """
86
+ return self._byte_array
87
+
88
+ @byte_array.setter
89
+ def byte_array(self, byte_array):
90
+ """Sets the byte_array of this ByteArrayResult.
91
+
92
+ Byte array in base64 # noqa: E501
93
+
94
+ :param byte_array: The byte_array of this ByteArrayResult. # noqa: E501
95
+ :type byte_array: str
96
+ """
97
+ if self.local_vars_configuration.client_side_validation and byte_array is None: # noqa: E501
98
+ raise ValueError("Invalid value for `byte_array`, must not be `None`") # noqa: E501
99
+
100
+ self._byte_array = byte_array
101
+
102
+ @property
103
+ def buf_length(self):
104
+ """Gets the buf_length of this ByteArrayResult. # noqa: E501
105
+
106
+
107
+ :return: The buf_length of this ByteArrayResult. # noqa: E501
108
+ :rtype: int
109
+ """
110
+ return self._buf_length
111
+
112
+ @buf_length.setter
113
+ def buf_length(self, buf_length):
114
+ """Sets the buf_length of this ByteArrayResult.
115
+
116
+
117
+ :param buf_length: The buf_length of this ByteArrayResult. # noqa: E501
118
+ :type buf_length: int
119
+ """
120
+
121
+ self._buf_length = buf_length
122
+
123
+ @property
124
+ def light(self):
125
+ """Gets the light of this ByteArrayResult. # noqa: E501
126
+
127
+
128
+ :return: The light of this ByteArrayResult. # noqa: E501
129
+ :rtype: int
130
+ """
131
+ return self._light
132
+
133
+ @light.setter
134
+ def light(self, light):
135
+ """Sets the light of this ByteArrayResult.
136
+
137
+
138
+ :param light: The light of this ByteArrayResult. # noqa: E501
139
+ :type light: int
140
+ """
141
+
142
+ self._light = light
143
+
144
+ @property
145
+ def list_idx(self):
146
+ """Gets the list_idx of this ByteArrayResult. # noqa: E501
147
+
148
+
149
+ :return: The list_idx of this ByteArrayResult. # noqa: E501
150
+ :rtype: int
151
+ """
152
+ return self._list_idx
153
+
154
+ @list_idx.setter
155
+ def list_idx(self, list_idx):
156
+ """Sets the list_idx of this ByteArrayResult.
157
+
158
+
159
+ :param list_idx: The list_idx of this ByteArrayResult. # noqa: E501
160
+ :type list_idx: int
161
+ """
162
+
163
+ self._list_idx = list_idx
164
+
165
+ @property
166
+ def page_idx(self):
167
+ """Gets the page_idx of this ByteArrayResult. # noqa: E501
168
+
169
+
170
+ :return: The page_idx of this ByteArrayResult. # noqa: E501
171
+ :rtype: int
172
+ """
173
+ return self._page_idx
174
+
175
+ @page_idx.setter
176
+ def page_idx(self, page_idx):
177
+ """Sets the page_idx of this ByteArrayResult.
178
+
179
+
180
+ :param page_idx: The page_idx of this ByteArrayResult. # noqa: E501
181
+ :type page_idx: int
182
+ """
183
+
184
+ self._page_idx = page_idx
185
+
186
+ @property
187
+ def result_type(self):
188
+ """Gets the result_type of this ByteArrayResult. # noqa: E501
189
+
190
+ Same as Result type, but used for safe parsing of not-described values. See Result type. # noqa: E501
191
+
192
+ :return: The result_type of this ByteArrayResult. # noqa: E501
193
+ :rtype: int
194
+ """
195
+ return self._result_type
196
+
197
+ @result_type.setter
198
+ def result_type(self, result_type):
199
+ """Sets the result_type of this ByteArrayResult.
200
+
201
+ Same as Result type, but used for safe parsing of not-described values. See Result type. # noqa: E501
202
+
203
+ :param result_type: The result_type of this ByteArrayResult. # noqa: E501
204
+ :type result_type: int
205
+ """
206
+ if self.local_vars_configuration.client_side_validation and result_type is None: # noqa: E501
207
+ raise ValueError("Invalid value for `result_type`, must not be `None`") # noqa: E501
208
+
209
+ self._result_type = result_type
210
+
211
+ def to_dict(self):
212
+ """Returns the model properties as a dict"""
213
+ result = {}
214
+
215
+ for attr, _ in six.iteritems(self.openapi_types):
216
+ value = getattr(self, attr)
217
+ if isinstance(value, list):
218
+ result[attr] = list(map(
219
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
220
+ value
221
+ ))
222
+ elif hasattr(value, "to_dict"):
223
+ result[attr] = value.to_dict()
224
+ elif isinstance(value, dict):
225
+ result[attr] = dict(map(
226
+ lambda item: (item[0], item[1].to_dict())
227
+ if hasattr(item[1], "to_dict") else item,
228
+ value.items()
229
+ ))
230
+ else:
231
+ result[attr] = value
232
+
233
+ return result
234
+
235
+ def to_str(self):
236
+ """Returns the string representation of the model"""
237
+ return pprint.pformat(self.to_dict())
238
+
239
+ def __repr__(self):
240
+ """For `print` and `pprint`"""
241
+ return self.to_str()
242
+
243
+ def __eq__(self, other):
244
+ """Returns true if both objects are equal"""
245
+ if not isinstance(other, ByteArrayResult):
246
+ return False
247
+
248
+ return self.to_dict() == other.to_dict()
249
+
250
+ def __ne__(self, other):
251
+ """Returns true if both objects are not equal"""
252
+ if not isinstance(other, ByteArrayResult):
253
+ return True
254
+
255
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,122 @@
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
+
19
+ """
20
+ class ByteArrayResultAllOf(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
+ """
28
+ Attributes:
29
+ openapi_types (dict): The key is attribute name
30
+ and the value is attribute type.
31
+ attribute_map (dict): The key is attribute name
32
+ and the value is json key in definition.
33
+ """
34
+ openapi_types = {
35
+ 'byte_array': 'str'
36
+ }
37
+
38
+ attribute_map = {
39
+ 'byte_array': 'ByteArray'
40
+ }
41
+
42
+ def __init__(self, byte_array=None, local_vars_configuration=None): # noqa: E501
43
+ """ByteArrayResultAllOf - a model defined in OpenAPI""" # noqa: E501
44
+ if local_vars_configuration is None:
45
+ local_vars_configuration = Configuration()
46
+ self.local_vars_configuration = local_vars_configuration
47
+
48
+ self._byte_array = None
49
+ self.discriminator = None
50
+
51
+ self.byte_array = byte_array
52
+
53
+ @property
54
+ def byte_array(self):
55
+ """Gets the byte_array of this ByteArrayResultAllOf. # noqa: E501
56
+
57
+ Byte array in base64 # noqa: E501
58
+
59
+ :return: The byte_array of this ByteArrayResultAllOf. # noqa: E501
60
+ :rtype: str
61
+ """
62
+ return self._byte_array
63
+
64
+ @byte_array.setter
65
+ def byte_array(self, byte_array):
66
+ """Sets the byte_array of this ByteArrayResultAllOf.
67
+
68
+ Byte array in base64 # noqa: E501
69
+
70
+ :param byte_array: The byte_array of this ByteArrayResultAllOf. # noqa: E501
71
+ :type byte_array: str
72
+ """
73
+ if self.local_vars_configuration.client_side_validation and byte_array is None: # noqa: E501
74
+ raise ValueError("Invalid value for `byte_array`, must not be `None`") # noqa: E501
75
+
76
+ self._byte_array = byte_array
77
+
78
+ def to_dict(self):
79
+ """Returns the model properties as a dict"""
80
+ result = {}
81
+
82
+ for attr, _ in six.iteritems(self.openapi_types):
83
+ value = getattr(self, attr)
84
+ if isinstance(value, list):
85
+ result[attr] = list(map(
86
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
87
+ value
88
+ ))
89
+ elif hasattr(value, "to_dict"):
90
+ result[attr] = value.to_dict()
91
+ elif isinstance(value, dict):
92
+ result[attr] = dict(map(
93
+ lambda item: (item[0], item[1].to_dict())
94
+ if hasattr(item[1], "to_dict") else item,
95
+ value.items()
96
+ ))
97
+ else:
98
+ result[attr] = value
99
+
100
+ return result
101
+
102
+ def to_str(self):
103
+ """Returns the string representation of the model"""
104
+ return pprint.pformat(self.to_dict())
105
+
106
+ def __repr__(self):
107
+ """For `print` and `pprint`"""
108
+ return self.to_str()
109
+
110
+ def __eq__(self, other):
111
+ """Returns true if both objects are equal"""
112
+ if not isinstance(other, ByteArrayResultAllOf):
113
+ return False
114
+
115
+ return self.to_dict() == other.to_dict()
116
+
117
+ def __ne__(self, other):
118
+ """Returns true if both objects are not equal"""
119
+ if not isinstance(other, ByteArrayResultAllOf):
120
+ return True
121
+
122
+ return self.to_dict() != other.to_dict()
@@ -122,6 +122,8 @@ class CheckDiagnose(object):
122
122
 
123
123
  FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR = int("85")
124
124
 
125
+ FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION = int("86")
126
+
125
127
  OVI_IR_INVISIBLE = int("90")
126
128
 
127
129
  OVI_INSUFFICIENT_AREA = int("91")
@@ -190,6 +192,8 @@ class CheckDiagnose(object):
190
192
 
191
193
  GLARES_IN_BARCODE_AREA = int("144")
192
194
 
195
+ NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK = int("145")
196
+
193
197
  PORTRAIT_COMPARISON_PORTRAITS_DIFFER = int("150")
194
198
 
195
199
  PORTRAIT_COMPARISON_NO_SERVICE_REPLY = int("151")
@@ -248,6 +252,8 @@ class CheckDiagnose(object):
248
252
 
249
253
  LASINK_INVALID_LINES_FREQUENCY = int("230")
250
254
 
255
+ DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED = int("239")
256
+
251
257
  DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = int("240")
252
258
 
253
259
  DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = int("241")
@@ -266,7 +272,7 @@ class CheckDiagnose(object):
266
272
 
267
273
  CHD_INCORRECT_OBJECT_COLOR = int("250")
268
274
 
269
- 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, 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, 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_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
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
270
276
 
271
277
  """
272
278
  Attributes:
@@ -1,23 +1,22 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Regula Document Reader Web API
5
-
6
- Regula Document Reader Web API # noqa: E501
7
-
8
- The version of the OpenAPI document: 5.1.0
9
4
  Generated by: https://openapi-generator.tech
10
5
  """
11
6
 
12
-
13
7
  import pprint
14
8
  import re # noqa: F401
15
9
 
16
10
  import six
17
11
 
18
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 *
19
15
 
20
16
 
17
+ """
18
+ List with various objects, containing processing results
19
+ """
21
20
  class ContainerList(object):
22
21
  """NOTE: This class is auto generated by OpenAPI Generator.
23
22
  Ref: https://openapi-generator.tech
@@ -33,31 +32,59 @@ class ContainerList(object):
33
32
  and the value is json key in definition.
34
33
  """
35
34
  openapi_types = {
35
+ 'count': 'int',
36
36
  'list': 'list[ResultItem]'
37
37
  }
38
38
 
39
39
  attribute_map = {
40
+ 'count': 'Count',
40
41
  'list': 'List'
41
42
  }
42
43
 
43
- 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
44
45
  """ContainerList - a model defined in OpenAPI""" # noqa: E501
45
46
  if local_vars_configuration is None:
46
47
  local_vars_configuration = Configuration()
47
48
  self.local_vars_configuration = local_vars_configuration
48
49
 
50
+ self._count = None
49
51
  self._list = None
50
52
  self.discriminator = None
51
53
 
54
+ if count is not None:
55
+ self.count = count
52
56
  self.list = list
53
57
 
58
+ @property
59
+ def count(self):
60
+ """Gets the count of this ContainerList. # noqa: E501
61
+
62
+ Length of list (Count for items) # noqa: E501
63
+
64
+ :return: The count of this ContainerList. # 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 ContainerList.
72
+
73
+ Length of list (Count for items) # noqa: E501
74
+
75
+ :param count: The count of this ContainerList. # noqa: E501
76
+ :type count: int
77
+ """
78
+
79
+ self._count = count
80
+
54
81
  @property
55
82
  def list(self):
56
83
  """Gets the list of this ContainerList. # noqa: E501
57
84
 
58
85
 
59
86
  :return: The list of this ContainerList. # noqa: E501
60
- :rtype: list[AnyOfRawImageResultTextResultStatusResultTextDataResultGraphicsResultLexicalAnalysisResultChosenDocumentTypeResultDocumentTypesCandidatesResultImagesResult]
87
+ :rtype: list[ResultItem]
61
88
  """
62
89
  return self._list
63
90
 
@@ -67,7 +94,7 @@ class ContainerList(object):
67
94
 
68
95
 
69
96
  :param list: The list of this ContainerList. # noqa: E501
70
- :type list: list[AnyOfRawImageResultTextResultStatusResultTextDataResultGraphicsResultLexicalAnalysisResultChosenDocumentTypeResultDocumentTypesCandidatesResultImagesResult]
97
+ :type list: list[ResultItem]
71
98
  """
72
99
  if self.local_vars_configuration.client_side_validation and list is None: # noqa: E501
73
100
  raise ValueError("Invalid value for `list`, must not be `None`") # noqa: E501