regula.documentreader.webclient 7.5.159.dev0__py3-none-any.whl → 7.5.160.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 (29) hide show
  1. regula/documentreader/webclient/gen/__init__.py +5 -1
  2. regula/documentreader/webclient/gen/api/healthcheck_api.py +7 -7
  3. regula/documentreader/webclient/gen/api/transaction_api.py +10 -10
  4. regula/documentreader/webclient/gen/models/__init__.py +5 -1
  5. regula/documentreader/webclient/gen/models/byte_array_result.py +255 -0
  6. regula/documentreader/webclient/gen/models/byte_array_result_all_of.py +122 -0
  7. regula/documentreader/webclient/gen/models/check_diagnose.py +7 -1
  8. regula/documentreader/webclient/gen/models/document_image.py +31 -3
  9. regula/documentreader/webclient/gen/models/document_image_result.py +1 -1
  10. regula/documentreader/webclient/gen/models/document_image_result_all_of.py +1 -1
  11. regula/documentreader/webclient/gen/models/documents_database.py +205 -0
  12. regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py +3 -3
  13. regula/documentreader/webclient/gen/models/healthcheck.py +310 -0
  14. regula/documentreader/webclient/gen/models/healthcheck_documents_database.py +201 -0
  15. regula/documentreader/webclient/gen/models/image_data.py +31 -3
  16. regula/documentreader/webclient/gen/models/process_params.py +117 -5
  17. regula/documentreader/webclient/gen/models/process_request.py +59 -3
  18. regula/documentreader/webclient/gen/models/result.py +3 -1
  19. regula/documentreader/webclient/gen/models/result_item.py +2 -0
  20. regula/documentreader/webclient/gen/models/scenario.py +3 -1
  21. regula/documentreader/webclient/gen/models/security_feature_type.py +5 -1
  22. regula/documentreader/webclient/gen/models/text_field_type.py +9 -1
  23. regula/documentreader/webclient/gen/models/transaction_info.py +121 -3
  24. regula/documentreader/webclient/gen/models/transaction_process_get_response.py +3 -3
  25. regula/documentreader/webclient/gen/models/transaction_process_request.py +31 -3
  26. {regula.documentreader.webclient-7.5.159.dev0.dist-info → regula.documentreader.webclient-7.5.160.dev0.dist-info}/METADATA +1 -1
  27. {regula.documentreader.webclient-7.5.159.dev0.dist-info → regula.documentreader.webclient-7.5.160.dev0.dist-info}/RECORD +29 -24
  28. {regula.documentreader.webclient-7.5.159.dev0.dist-info → regula.documentreader.webclient-7.5.160.dev0.dist-info}/WHEEL +0 -0
  29. {regula.documentreader.webclient-7.5.159.dev0.dist-info → regula.documentreader.webclient-7.5.160.dev0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,201 @@
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
+ Database information.
19
+ """
20
+ class HealthcheckDocumentsDatabase(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
+ 'id': 'str',
36
+ 'version': 'str',
37
+ 'export_date': 'date',
38
+ 'description': 'str'
39
+ }
40
+
41
+ attribute_map = {
42
+ 'id': 'id',
43
+ 'version': 'version',
44
+ 'export_date': 'exportDate',
45
+ 'description': 'description'
46
+ }
47
+
48
+ def __init__(self, id=None, version=None, export_date=None, description=None, local_vars_configuration=None): # noqa: E501
49
+ """HealthcheckDocumentsDatabase - a model defined in OpenAPI""" # noqa: E501
50
+ if local_vars_configuration is None:
51
+ local_vars_configuration = Configuration()
52
+ self.local_vars_configuration = local_vars_configuration
53
+
54
+ self._id = None
55
+ self._version = None
56
+ self._export_date = None
57
+ self._description = None
58
+ self.discriminator = None
59
+
60
+ self.id = id
61
+ self.version = version
62
+ self.export_date = export_date
63
+ self.description = description
64
+
65
+ @property
66
+ def id(self):
67
+ """Gets the id of this HealthcheckDocumentsDatabase. # noqa: E501
68
+
69
+ Database identifier. # noqa: E501
70
+
71
+ :return: The id of this HealthcheckDocumentsDatabase. # noqa: E501
72
+ :rtype: str
73
+ """
74
+ return self._id
75
+
76
+ @id.setter
77
+ def id(self, id):
78
+ """Sets the id of this HealthcheckDocumentsDatabase.
79
+
80
+ Database identifier. # noqa: E501
81
+
82
+ :param id: The id of this HealthcheckDocumentsDatabase. # noqa: E501
83
+ :type id: str
84
+ """
85
+
86
+ self._id = id
87
+
88
+ @property
89
+ def version(self):
90
+ """Gets the version of this HealthcheckDocumentsDatabase. # noqa: E501
91
+
92
+ Database version. # noqa: E501
93
+
94
+ :return: The version of this HealthcheckDocumentsDatabase. # noqa: E501
95
+ :rtype: str
96
+ """
97
+ return self._version
98
+
99
+ @version.setter
100
+ def version(self, version):
101
+ """Sets the version of this HealthcheckDocumentsDatabase.
102
+
103
+ Database version. # noqa: E501
104
+
105
+ :param version: The version of this HealthcheckDocumentsDatabase. # noqa: E501
106
+ :type version: str
107
+ """
108
+
109
+ self._version = version
110
+
111
+ @property
112
+ def export_date(self):
113
+ """Gets the export_date of this HealthcheckDocumentsDatabase. # noqa: E501
114
+
115
+ Date of database creation. # noqa: E501
116
+
117
+ :return: The export_date of this HealthcheckDocumentsDatabase. # noqa: E501
118
+ :rtype: date
119
+ """
120
+ return self._export_date
121
+
122
+ @export_date.setter
123
+ def export_date(self, export_date):
124
+ """Sets the export_date of this HealthcheckDocumentsDatabase.
125
+
126
+ Date of database creation. # noqa: E501
127
+
128
+ :param export_date: The export_date of this HealthcheckDocumentsDatabase. # noqa: E501
129
+ :type export_date: date
130
+ """
131
+
132
+ self._export_date = export_date
133
+
134
+ @property
135
+ def description(self):
136
+ """Gets the description of this HealthcheckDocumentsDatabase. # noqa: E501
137
+
138
+ Description of the database contents, such as the list of supported countries and documents. # noqa: E501
139
+
140
+ :return: The description of this HealthcheckDocumentsDatabase. # noqa: E501
141
+ :rtype: str
142
+ """
143
+ return self._description
144
+
145
+ @description.setter
146
+ def description(self, description):
147
+ """Sets the description of this HealthcheckDocumentsDatabase.
148
+
149
+ Description of the database contents, such as the list of supported countries and documents. # noqa: E501
150
+
151
+ :param description: The description of this HealthcheckDocumentsDatabase. # noqa: E501
152
+ :type description: str
153
+ """
154
+
155
+ self._description = description
156
+
157
+ def to_dict(self):
158
+ """Returns the model properties as a dict"""
159
+ result = {}
160
+
161
+ for attr, _ in six.iteritems(self.openapi_types):
162
+ value = getattr(self, attr)
163
+ if isinstance(value, list):
164
+ result[attr] = list(map(
165
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
166
+ value
167
+ ))
168
+ elif hasattr(value, "to_dict"):
169
+ result[attr] = value.to_dict()
170
+ elif isinstance(value, dict):
171
+ result[attr] = dict(map(
172
+ lambda item: (item[0], item[1].to_dict())
173
+ if hasattr(item[1], "to_dict") else item,
174
+ value.items()
175
+ ))
176
+ else:
177
+ result[attr] = value
178
+
179
+ return result
180
+
181
+ def to_str(self):
182
+ """Returns the string representation of the model"""
183
+ return pprint.pformat(self.to_dict())
184
+
185
+ def __repr__(self):
186
+ """For `print` and `pprint`"""
187
+ return self.to_str()
188
+
189
+ def __eq__(self, other):
190
+ """Returns true if both objects are equal"""
191
+ if not isinstance(other, HealthcheckDocumentsDatabase):
192
+ return False
193
+
194
+ return self.to_dict() == other.to_dict()
195
+
196
+ def __ne__(self, other):
197
+ """Returns true if both objects are not equal"""
198
+ if not isinstance(other, HealthcheckDocumentsDatabase):
199
+ return True
200
+
201
+ return self.to_dict() != other.to_dict()
@@ -32,23 +32,28 @@ class ImageData(object):
32
32
  and the value is json key in definition.
33
33
  """
34
34
  openapi_types = {
35
- 'image': 'str'
35
+ 'image': 'str',
36
+ 'format': 'str'
36
37
  }
37
38
 
38
39
  attribute_map = {
39
- 'image': 'image'
40
+ 'image': 'image',
41
+ 'format': 'format'
40
42
  }
41
43
 
42
- def __init__(self, image=None, local_vars_configuration=None): # noqa: E501
44
+ def __init__(self, image=None, format=None, local_vars_configuration=None): # noqa: E501
43
45
  """ImageData - a model defined in OpenAPI""" # noqa: E501
44
46
  if local_vars_configuration is None:
45
47
  local_vars_configuration = Configuration()
46
48
  self.local_vars_configuration = local_vars_configuration
47
49
 
48
50
  self._image = None
51
+ self._format = None
49
52
  self.discriminator = None
50
53
 
51
54
  self.image = image
55
+ if format is not None:
56
+ self.format = format
52
57
 
53
58
  @property
54
59
  def image(self):
@@ -75,6 +80,29 @@ class ImageData(object):
75
80
 
76
81
  self._image = image
77
82
 
83
+ @property
84
+ def format(self):
85
+ """Gets the format of this ImageData. # noqa: E501
86
+
87
+ Image format # noqa: E501
88
+
89
+ :return: The format of this ImageData. # noqa: E501
90
+ :rtype: str
91
+ """
92
+ return self._format
93
+
94
+ @format.setter
95
+ def format(self, format):
96
+ """Sets the format of this ImageData.
97
+
98
+ Image format # noqa: E501
99
+
100
+ :param format: The format of this ImageData. # noqa: E501
101
+ :type format: str
102
+ """
103
+
104
+ self._format = format
105
+
78
106
  def to_dict(self):
79
107
  """Returns the model properties as a dict"""
80
108
  result = {}
@@ -32,6 +32,7 @@ class ProcessParams(object):
32
32
  and the value is json key in definition.
33
33
  """
34
34
  openapi_types = {
35
+ 'generate_dtcvc': 'bool',
35
36
  'lcid_filter': 'list[int]',
36
37
  'lcid_ignore_filter': 'list[int]',
37
38
  'one_shot_identification': 'bool',
@@ -60,6 +61,7 @@ class ProcessParams(object):
60
61
  'check_required_text_fields': 'bool',
61
62
  'return_cropped_barcode': 'bool',
62
63
  'image_qa': 'ImageQA',
64
+ 'strict_image_quality': 'bool',
63
65
  'respect_image_quality': 'bool',
64
66
  'force_doc_format': 'DocumentFormat',
65
67
  'no_graphics': 'bool',
@@ -85,10 +87,13 @@ class ProcessParams(object):
85
87
  'check_auth': 'bool',
86
88
  'auth_params': 'AuthParams',
87
89
  'mrz_detect_mode': 'MrzDetectModeEnum',
88
- 'generate_numeric_codes': 'bool'
90
+ 'generate_numeric_codes': 'bool',
91
+ 'strict_barcode_digital_signature_check': 'bool',
92
+ 'select_longest_names': 'bool'
89
93
  }
90
94
 
91
95
  attribute_map = {
96
+ 'generate_dtcvc': 'generateDTCVC',
92
97
  'lcid_filter': 'lcidFilter',
93
98
  'lcid_ignore_filter': 'lcidIgnoreFilter',
94
99
  'one_shot_identification': 'oneShotIdentification',
@@ -117,6 +122,7 @@ class ProcessParams(object):
117
122
  'check_required_text_fields': 'checkRequiredTextFields',
118
123
  'return_cropped_barcode': 'returnCroppedBarcode',
119
124
  'image_qa': 'imageQa',
125
+ 'strict_image_quality': 'strictImageQuality',
120
126
  'respect_image_quality': 'respectImageQuality',
121
127
  'force_doc_format': 'forceDocFormat',
122
128
  'no_graphics': 'noGraphics',
@@ -142,15 +148,18 @@ class ProcessParams(object):
142
148
  'check_auth': 'checkAuth',
143
149
  'auth_params': 'authParams',
144
150
  'mrz_detect_mode': 'mrzDetectMode',
145
- 'generate_numeric_codes': 'generateNumericCodes'
151
+ 'generate_numeric_codes': 'generateNumericCodes',
152
+ 'strict_barcode_digital_signature_check': 'strictBarcodeDigitalSignatureCheck',
153
+ 'select_longest_names': 'selectLongestNames'
146
154
  }
147
155
 
148
- def __init__(self, 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, 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, local_vars_configuration=None): # noqa: E501
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
149
157
  """ProcessParams - a model defined in OpenAPI""" # noqa: E501
150
158
  if local_vars_configuration is None:
151
159
  local_vars_configuration = Configuration()
152
160
  self.local_vars_configuration = local_vars_configuration
153
161
 
162
+ self._generate_dtcvc = None
154
163
  self._lcid_filter = None
155
164
  self._lcid_ignore_filter = None
156
165
  self._one_shot_identification = None
@@ -179,6 +188,7 @@ class ProcessParams(object):
179
188
  self._check_required_text_fields = None
180
189
  self._return_cropped_barcode = None
181
190
  self._image_qa = None
191
+ self._strict_image_quality = None
182
192
  self._respect_image_quality = None
183
193
  self._force_doc_format = None
184
194
  self._no_graphics = None
@@ -205,8 +215,12 @@ class ProcessParams(object):
205
215
  self._auth_params = None
206
216
  self._mrz_detect_mode = None
207
217
  self._generate_numeric_codes = None
218
+ self._strict_barcode_digital_signature_check = None
219
+ self._select_longest_names = None
208
220
  self.discriminator = None
209
221
 
222
+ if generate_dtcvc is not None:
223
+ self.generate_dtcvc = generate_dtcvc
210
224
  if lcid_filter is not None:
211
225
  self.lcid_filter = lcid_filter
212
226
  if lcid_ignore_filter is not None:
@@ -262,6 +276,8 @@ class ProcessParams(object):
262
276
  self.return_cropped_barcode = return_cropped_barcode
263
277
  if image_qa is not None:
264
278
  self.image_qa = image_qa
279
+ if strict_image_quality is not None:
280
+ self.strict_image_quality = strict_image_quality
265
281
  if respect_image_quality is not None:
266
282
  self.respect_image_quality = respect_image_quality
267
283
  if force_doc_format is not None:
@@ -314,6 +330,33 @@ class ProcessParams(object):
314
330
  self.mrz_detect_mode = mrz_detect_mode
315
331
  if generate_numeric_codes is not None:
316
332
  self.generate_numeric_codes = generate_numeric_codes
333
+ if strict_barcode_digital_signature_check is not None:
334
+ self.strict_barcode_digital_signature_check = strict_barcode_digital_signature_check
335
+ if select_longest_names is not None:
336
+ self.select_longest_names = select_longest_names
337
+
338
+ @property
339
+ def generate_dtcvc(self):
340
+ """Gets the generate_dtcvc of this ProcessParams. # noqa: E501
341
+
342
+ This parameter is used to generate separate DTC-VC data container from RFID session data. # noqa: E501
343
+
344
+ :return: The generate_dtcvc of this ProcessParams. # noqa: E501
345
+ :rtype: bool
346
+ """
347
+ return self._generate_dtcvc
348
+
349
+ @generate_dtcvc.setter
350
+ def generate_dtcvc(self, generate_dtcvc):
351
+ """Sets the generate_dtcvc of this ProcessParams.
352
+
353
+ This parameter is used to generate separate DTC-VC data container from RFID session data. # noqa: E501
354
+
355
+ :param generate_dtcvc: The generate_dtcvc of this ProcessParams. # noqa: E501
356
+ :type generate_dtcvc: bool
357
+ """
358
+
359
+ self._generate_dtcvc = generate_dtcvc
317
360
 
318
361
  @property
319
362
  def lcid_filter(self):
@@ -951,11 +994,34 @@ class ProcessParams(object):
951
994
 
952
995
  self._image_qa = image_qa
953
996
 
997
+ @property
998
+ def strict_image_quality(self):
999
+ """Gets the strict_image_quality of this ProcessParams. # noqa: E501
1000
+
1001
+ When enabled, the image quality check status affects the document optical and overall status. Disabled by default. # noqa: E501
1002
+
1003
+ :return: The strict_image_quality of this ProcessParams. # noqa: E501
1004
+ :rtype: bool
1005
+ """
1006
+ return self._strict_image_quality
1007
+
1008
+ @strict_image_quality.setter
1009
+ def strict_image_quality(self, strict_image_quality):
1010
+ """Sets the strict_image_quality of this ProcessParams.
1011
+
1012
+ When enabled, the image quality check status affects the document optical and overall status. Disabled by default. # noqa: E501
1013
+
1014
+ :param strict_image_quality: The strict_image_quality of this ProcessParams. # noqa: E501
1015
+ :type strict_image_quality: bool
1016
+ """
1017
+
1018
+ self._strict_image_quality = strict_image_quality
1019
+
954
1020
  @property
955
1021
  def respect_image_quality(self):
956
1022
  """Gets the respect_image_quality of this ProcessParams. # noqa: E501
957
1023
 
958
- When enabled, image quality checks status affects document optical and overall status. Disabled by default. # noqa: E501
1024
+ Deprecated. Please use strictImageQuality instead. When enabled, image quality checks status affects document optical and overall status. Disabled by default. # noqa: E501
959
1025
 
960
1026
  :return: The respect_image_quality of this ProcessParams. # noqa: E501
961
1027
  :rtype: bool
@@ -966,7 +1032,7 @@ class ProcessParams(object):
966
1032
  def respect_image_quality(self, respect_image_quality):
967
1033
  """Sets the respect_image_quality of this ProcessParams.
968
1034
 
969
- When enabled, image quality checks status affects document optical and overall status. Disabled by default. # noqa: E501
1035
+ Deprecated. Please use strictImageQuality instead. When enabled, image quality checks status affects document optical and overall status. Disabled by default. # noqa: E501
970
1036
 
971
1037
  :param respect_image_quality: The respect_image_quality of this ProcessParams. # noqa: E501
972
1038
  :type respect_image_quality: bool
@@ -1539,6 +1605,52 @@ class ProcessParams(object):
1539
1605
 
1540
1606
  self._generate_numeric_codes = generate_numeric_codes
1541
1607
 
1608
+ @property
1609
+ def strict_barcode_digital_signature_check(self):
1610
+ """Gets the strict_barcode_digital_signature_check of this ProcessParams. # noqa: E501
1611
+
1612
+ This parameter if enabled will require all necessary certificates to verify digital signature in barcode data to be present in order for the Barcode format check to succeed. # noqa: E501
1613
+
1614
+ :return: The strict_barcode_digital_signature_check of this ProcessParams. # noqa: E501
1615
+ :rtype: bool
1616
+ """
1617
+ return self._strict_barcode_digital_signature_check
1618
+
1619
+ @strict_barcode_digital_signature_check.setter
1620
+ def strict_barcode_digital_signature_check(self, strict_barcode_digital_signature_check):
1621
+ """Sets the strict_barcode_digital_signature_check of this ProcessParams.
1622
+
1623
+ This parameter if enabled will require all necessary certificates to verify digital signature in barcode data to be present in order for the Barcode format check to succeed. # noqa: E501
1624
+
1625
+ :param strict_barcode_digital_signature_check: The strict_barcode_digital_signature_check of this ProcessParams. # noqa: E501
1626
+ :type strict_barcode_digital_signature_check: bool
1627
+ """
1628
+
1629
+ self._strict_barcode_digital_signature_check = strict_barcode_digital_signature_check
1630
+
1631
+ @property
1632
+ def select_longest_names(self):
1633
+ """Gets the select_longest_names of this ProcessParams. # noqa: E501
1634
+
1635
+ Select the longest value from the different value sources and write it to the value field if comparison is done successfully. The parameter applies this logic to the personal names, such as given name, surname, surname and given name, middle name and etc. # noqa: E501
1636
+
1637
+ :return: The select_longest_names of this ProcessParams. # noqa: E501
1638
+ :rtype: bool
1639
+ """
1640
+ return self._select_longest_names
1641
+
1642
+ @select_longest_names.setter
1643
+ def select_longest_names(self, select_longest_names):
1644
+ """Sets the select_longest_names of this ProcessParams.
1645
+
1646
+ Select the longest value from the different value sources and write it to the value field if comparison is done successfully. The parameter applies this logic to the personal names, such as given name, surname, surname and given name, middle name and etc. # noqa: E501
1647
+
1648
+ :param select_longest_names: The select_longest_names of this ProcessParams. # noqa: E501
1649
+ :type select_longest_names: bool
1650
+ """
1651
+
1652
+ self._select_longest_names = select_longest_names
1653
+
1542
1654
  def to_dict(self):
1543
1655
  """Returns the model properties as a dict"""
1544
1656
  result = {}
@@ -41,7 +41,9 @@ class ProcessRequest(object):
41
41
  'ext_portrait': 'str',
42
42
  'container_list': 'ContainerList',
43
43
  'system_info': 'ProcessSystemInfo',
44
- 'pass_back_object': 'dict(str, object)'
44
+ 'pass_back_object': 'dict(str, object)',
45
+ 'dtc': 'str',
46
+ 'image_urls': 'list[str]'
45
47
  }
46
48
 
47
49
  attribute_map = {
@@ -54,10 +56,12 @@ class ProcessRequest(object):
54
56
  'ext_portrait': 'extPortrait',
55
57
  'container_list': 'ContainerList',
56
58
  'system_info': 'systemInfo',
57
- 'pass_back_object': 'passBackObject'
59
+ 'pass_back_object': 'passBackObject',
60
+ 'dtc': 'dtc',
61
+ 'image_urls': 'ImageUrls'
58
62
  }
59
63
 
60
- def __init__(self, process_param=None, list=None, tag=None, tenant=None, env=None, live_portrait=None, ext_portrait=None, container_list=None, system_info=None, pass_back_object=None, local_vars_configuration=None): # noqa: E501
64
+ def __init__(self, process_param=None, list=None, tag=None, tenant=None, env=None, live_portrait=None, ext_portrait=None, container_list=None, system_info=None, pass_back_object=None, dtc=None, image_urls=None, local_vars_configuration=None): # noqa: E501
61
65
  """ProcessRequest - a model defined in OpenAPI""" # noqa: E501
62
66
  if local_vars_configuration is None:
63
67
  local_vars_configuration = Configuration()
@@ -73,6 +77,8 @@ class ProcessRequest(object):
73
77
  self._container_list = None
74
78
  self._system_info = None
75
79
  self._pass_back_object = None
80
+ self._dtc = None
81
+ self._image_urls = None
76
82
  self.discriminator = None
77
83
 
78
84
  self.process_param = process_param
@@ -94,6 +100,10 @@ class ProcessRequest(object):
94
100
  self.system_info = system_info
95
101
  if pass_back_object is not None:
96
102
  self.pass_back_object = pass_back_object
103
+ if dtc is not None:
104
+ self.dtc = dtc
105
+ if image_urls is not None:
106
+ self.image_urls = image_urls
97
107
 
98
108
  @property
99
109
  def process_param(self):
@@ -319,6 +329,52 @@ class ProcessRequest(object):
319
329
 
320
330
  self._pass_back_object = pass_back_object
321
331
 
332
+ @property
333
+ def dtc(self):
334
+ """Gets the dtc of this ProcessRequest. # noqa: E501
335
+
336
+ Digital Travel Credential (DTC-VC) data in base64 format for processing # noqa: E501
337
+
338
+ :return: The dtc of this ProcessRequest. # noqa: E501
339
+ :rtype: str
340
+ """
341
+ return self._dtc
342
+
343
+ @dtc.setter
344
+ def dtc(self, dtc):
345
+ """Sets the dtc of this ProcessRequest.
346
+
347
+ Digital Travel Credential (DTC-VC) data in base64 format for processing # noqa: E501
348
+
349
+ :param dtc: The dtc of this ProcessRequest. # noqa: E501
350
+ :type dtc: str
351
+ """
352
+
353
+ self._dtc = dtc
354
+
355
+ @property
356
+ def image_urls(self):
357
+ """Gets the image_urls of this ProcessRequest. # noqa: E501
358
+
359
+ URLs to the document images for processing. # noqa: E501
360
+
361
+ :return: The image_urls of this ProcessRequest. # noqa: E501
362
+ :rtype: list[str]
363
+ """
364
+ return self._image_urls
365
+
366
+ @image_urls.setter
367
+ def image_urls(self, image_urls):
368
+ """Sets the image_urls of this ProcessRequest.
369
+
370
+ URLs to the document images for processing. # noqa: E501
371
+
372
+ :param image_urls: The image_urls of this ProcessRequest. # noqa: E501
373
+ :type image_urls: list[str]
374
+ """
375
+
376
+ self._image_urls = image_urls
377
+
322
378
  def to_dict(self):
323
379
  """Returns the model properties as a dict"""
324
380
  result = {}
@@ -76,7 +76,9 @@ class Result(object):
76
76
 
77
77
  RFID_ORIGINAL_GRAPHICS = int("105")
78
78
 
79
- allowable_values = [DOCUMENT_IMAGE, MRZ_TEXT, BARCODES, VISUAL_GRAPHICS, DOCUMENT_TYPE_CANDIDATES, DOCUMENT_TYPE, LEXICAL_ANALYSIS, RAW_UNCROPPED_IMAGE, VISUAL_TEXT, BARCODE_TEXT, BARCODE_GRAPHICS, AUTHENTICITY, IMAGE_QUALITY, STATUS, PORTRAIT_COMPARISON, TEXT, IMAGES, FINGERPRINT_COMPARISON, ENCRYPTED_RCL, LICENSE, DOCUMENT_POSITION, RFID_RAW_DATA, RFID_TEXT, RFID_GRAPHICS, RFID_BINARY_DATA, RFID_ORIGINAL_GRAPHICS] # noqa: E501
79
+ DTC_VC = int("109")
80
+
81
+ allowable_values = [DOCUMENT_IMAGE, MRZ_TEXT, BARCODES, VISUAL_GRAPHICS, DOCUMENT_TYPE_CANDIDATES, DOCUMENT_TYPE, LEXICAL_ANALYSIS, RAW_UNCROPPED_IMAGE, VISUAL_TEXT, BARCODE_TEXT, BARCODE_GRAPHICS, AUTHENTICITY, IMAGE_QUALITY, STATUS, PORTRAIT_COMPARISON, TEXT, IMAGES, FINGERPRINT_COMPARISON, ENCRYPTED_RCL, LICENSE, DOCUMENT_POSITION, RFID_RAW_DATA, RFID_TEXT, RFID_GRAPHICS, RFID_BINARY_DATA, RFID_ORIGINAL_GRAPHICS, DTC_VC] # noqa: E501
80
82
 
81
83
  """
82
84
  Attributes:
@@ -50,7 +50,9 @@ class ResultItem(object):
50
50
  1 : 'DocumentImageResult',
51
51
  102 : 'TextDataResult',
52
52
  103 : 'GraphicsResult',
53
+ 109 : 'ByteArrayResult',
53
54
  15 : 'LexicalAnalysisResult',
55
+ 16 : 'DocumentImageResult',
54
56
  17 : 'TextDataResult',
55
57
  18 : 'TextDataResult',
56
58
  19 : 'GraphicsResult',
@@ -60,7 +60,9 @@ class Scenario(object):
60
60
 
61
61
  CAPTURE = "Capture"
62
62
 
63
- allowable_values = [MRZ, BARCODE, LOCATE, OCR, DOCTYPE, MRZ_OR_BARCODE, MRZ_OR_LOCATE, MRZ_AND_LOCATE, BARCODE_AND_LOCATE, MRZ_OR_OCR, MRZ_OR_BARCODE_OR_OCR, LOCATE_VISUAL_AND_MRZ_OR_OCR, FULL_PROCESS, FULL_AUTH, RUS_STAMP, OCR_FREE, CREDIT_CARD, CAPTURE] # noqa: E501
63
+ DTC = "DTC"
64
+
65
+ allowable_values = [MRZ, BARCODE, LOCATE, OCR, DOCTYPE, MRZ_OR_BARCODE, MRZ_OR_LOCATE, MRZ_AND_LOCATE, BARCODE_AND_LOCATE, MRZ_OR_OCR, MRZ_OR_BARCODE_OR_OCR, LOCATE_VISUAL_AND_MRZ_OR_OCR, FULL_PROCESS, FULL_AUTH, RUS_STAMP, OCR_FREE, CREDIT_CARD, CAPTURE, DTC] # noqa: E501
64
66
 
65
67
  """
66
68
  Attributes:
@@ -126,7 +126,11 @@ class SecurityFeatureType(object):
126
126
 
127
127
  CONTACT_CHIP_CLASSIFICATION = int("51")
128
128
 
129
- allowable_values = [BLANK, FILL, PHOTO, MRZ, FALSE_LUMINESCENCE, HOLO_SIMPLE, HOLO_VERIFY_STATIC, HOLO_VERIFY_MULTI_STATIC, HOLO_VERIFY_DYNAMIC, PATTERN_NOT_INTERRUPTED, PATTERN_NOT_SHIFTED, PATTERN_SAME_COLORS, PATTERN_IR_INVISIBLE, PHOTO_SIZE_CHECK, PORTRAIT_COMPARISON_VS_GHOST, PORTRAIT_COMPARISON_VS_RFID, PORTRAIT_COMPARISON_VS_VISUAL, BARCODE, PATTERN_DIFFERENT_LINES_THICKNESS, PORTRAIT_COMPARISON_VS_CAMERA, PORTRAIT_COMPARISON_RFID_VS_CAMERA, GHOST_PHOTO, CLEAR_GHOST_PHOTO, INVISIBLE_OBJECT, LOW_CONTRAST_OBJECT, PHOTO_COLOR, PHOTO_SHAPE, PHOTO_CORNERS, OCR, PORTRAIT_COMPARISON_EXT_VS_VISUAL, PORTRAIT_COMPARISON_EXT_VS_RFID, PORTRAIT_COMPARISON_EXT_VS_CAMERA, LIVENESS_DEPTH, MICRO_TEXT, FLUORESCENT_OBJECT, LANDMARK_CHECK, FACE_PRESENCE, FACE_ABSENCE, LIVENESS_SCREEN_CAPTURE, LIVENESS_ELECTRONIC_DEVICE, LIVENESS_OVI, BARCODE_SIZE_CHECK, LASINK, LIVENESS_MLI, LIVENESS_BARCODE_BACKGROUND, PORTRAIT_COMPARISON_VS_BARCODE, PORTRAIT_COMPARISON_RFID_VS_BARCODE, PORTRAIT_COMPARISON_EXT_VS_BARCODE, PORTRAIT_COMPARISON_BARCODE_VS_CAMERA, CHECK_DIGITAL_SIGNATURE, CONTACT_CHIP_CLASSIFICATION] # noqa: E501
129
+ HEAD_POSITION_CHECK = int("52")
130
+
131
+ LIVENESS_BLACK_AND_WHITE_COPY_CHECK = int("53")
132
+
133
+ allowable_values = [BLANK, FILL, PHOTO, MRZ, FALSE_LUMINESCENCE, HOLO_SIMPLE, HOLO_VERIFY_STATIC, HOLO_VERIFY_MULTI_STATIC, HOLO_VERIFY_DYNAMIC, PATTERN_NOT_INTERRUPTED, PATTERN_NOT_SHIFTED, PATTERN_SAME_COLORS, PATTERN_IR_INVISIBLE, PHOTO_SIZE_CHECK, PORTRAIT_COMPARISON_VS_GHOST, PORTRAIT_COMPARISON_VS_RFID, PORTRAIT_COMPARISON_VS_VISUAL, BARCODE, PATTERN_DIFFERENT_LINES_THICKNESS, PORTRAIT_COMPARISON_VS_CAMERA, PORTRAIT_COMPARISON_RFID_VS_CAMERA, GHOST_PHOTO, CLEAR_GHOST_PHOTO, INVISIBLE_OBJECT, LOW_CONTRAST_OBJECT, PHOTO_COLOR, PHOTO_SHAPE, PHOTO_CORNERS, OCR, PORTRAIT_COMPARISON_EXT_VS_VISUAL, PORTRAIT_COMPARISON_EXT_VS_RFID, PORTRAIT_COMPARISON_EXT_VS_CAMERA, LIVENESS_DEPTH, MICRO_TEXT, FLUORESCENT_OBJECT, LANDMARK_CHECK, FACE_PRESENCE, FACE_ABSENCE, LIVENESS_SCREEN_CAPTURE, LIVENESS_ELECTRONIC_DEVICE, LIVENESS_OVI, BARCODE_SIZE_CHECK, LASINK, LIVENESS_MLI, LIVENESS_BARCODE_BACKGROUND, PORTRAIT_COMPARISON_VS_BARCODE, PORTRAIT_COMPARISON_RFID_VS_BARCODE, PORTRAIT_COMPARISON_EXT_VS_BARCODE, PORTRAIT_COMPARISON_BARCODE_VS_CAMERA, CHECK_DIGITAL_SIGNATURE, CONTACT_CHIP_CLASSIFICATION, HEAD_POSITION_CHECK, LIVENESS_BLACK_AND_WHITE_COPY_CHECK] # noqa: E501
130
134
 
131
135
  """
132
136
  Attributes: