From 36618fa3fa1f0883fa57de6a1a38be6e35479062 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 25 Nov 2024 13:47:09 +0000 Subject: [PATCH] Update clients --- .openapi-generator/FILES | 6 +- .../documentreader/webclient/gen/__init__.py | 6 +- .../webclient/gen/api/healthcheck_api.py | 14 +- .../webclient/gen/api/transaction_api.py | 20 +- .../webclient/gen/models/__init__.py | 6 +- .../webclient/gen/models/byte_array_result.py | 255 ++++++++++++++ .../gen/models/byte_array_result_all_of.py | 122 +++++++ .../webclient/gen/models/check_diagnose.py | 8 +- .../webclient/gen/models/container_list.py | 6 +- .../webclient/gen/models/document_image.py | 34 +- .../gen/models/document_image_result.py | 2 +- .../models/document_image_result_all_of.py | 2 +- .../gen/models/documents_database.py | 205 ++++++++++++ .../get_transactions_by_tag_response.py | 6 +- .../webclient/gen/models/healthcheck.py | 310 ++++++++++++++++++ .../models/healthcheck_documents_database.py | 201 ++++++++++++ .../webclient/gen/models/image_data.py | 34 +- .../webclient/gen/models/process_params.py | 122 ++++++- .../webclient/gen/models/process_request.py | 62 +++- .../webclient/gen/models/result.py | 4 +- .../webclient/gen/models/result_item.py | 2 + .../webclient/gen/models/scenario.py | 4 +- .../gen/models/security_feature_type.py | 6 +- .../webclient/gen/models/text_field_type.py | 10 +- .../webclient/gen/models/transaction_info.py | 124 ++++++- .../transaction_process_get_response.py | 6 +- .../gen/models/transaction_process_request.py | 34 +- 27 files changed, 1555 insertions(+), 56 deletions(-) create mode 100644 regula/documentreader/webclient/gen/models/byte_array_result.py create mode 100644 regula/documentreader/webclient/gen/models/byte_array_result_all_of.py create mode 100644 regula/documentreader/webclient/gen/models/documents_database.py create mode 100644 regula/documentreader/webclient/gen/models/healthcheck.py create mode 100644 regula/documentreader/webclient/gen/models/healthcheck_documents_database.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 03293af..b8ef140 100755 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -20,6 +20,8 @@ regula/documentreader/webclient/gen/models/authenticity_result_all_of.py regula/documentreader/webclient/gen/models/authenticity_result_type.py regula/documentreader/webclient/gen/models/bc_pdf417_info.py regula/documentreader/webclient/gen/models/bc_roidetect.py +regula/documentreader/webclient/gen/models/byte_array_result.py +regula/documentreader/webclient/gen/models/byte_array_result_all_of.py regula/documentreader/webclient/gen/models/check_diagnose.py regula/documentreader/webclient/gen/models/check_result.py regula/documentreader/webclient/gen/models/chosen_document_type.py @@ -32,7 +34,6 @@ regula/documentreader/webclient/gen/models/data_module.py regula/documentreader/webclient/gen/models/details_optical.py regula/documentreader/webclient/gen/models/details_rfid.py regula/documentreader/webclient/gen/models/device_info.py -regula/documentreader/webclient/gen/models/device_info2.py regula/documentreader/webclient/gen/models/doc_bar_code_info.py regula/documentreader/webclient/gen/models/doc_bar_code_info_all_of.py regula/documentreader/webclient/gen/models/doc_bar_code_info_fields_list.py @@ -51,6 +52,7 @@ regula/documentreader/webclient/gen/models/document_types_candidates.py regula/documentreader/webclient/gen/models/document_types_candidates_list.py regula/documentreader/webclient/gen/models/document_types_candidates_result.py regula/documentreader/webclient/gen/models/document_types_candidates_result_all_of.py +regula/documentreader/webclient/gen/models/documents_database.py regula/documentreader/webclient/gen/models/encrypted_rcl_result.py regula/documentreader/webclient/gen/models/encrypted_rcl_result_all_of.py regula/documentreader/webclient/gen/models/face_api.py @@ -64,6 +66,8 @@ regula/documentreader/webclient/gen/models/graphic_field_type.py regula/documentreader/webclient/gen/models/graphic_fields_list.py regula/documentreader/webclient/gen/models/graphics_result.py regula/documentreader/webclient/gen/models/graphics_result_all_of.py +regula/documentreader/webclient/gen/models/healthcheck.py +regula/documentreader/webclient/gen/models/healthcheck_documents_database.py regula/documentreader/webclient/gen/models/ident_result.py regula/documentreader/webclient/gen/models/ident_result_all_of.py regula/documentreader/webclient/gen/models/image_data.py diff --git a/regula/documentreader/webclient/gen/__init__.py b/regula/documentreader/webclient/gen/__init__.py index 6434788..4c8dbfb 100755 --- a/regula/documentreader/webclient/gen/__init__.py +++ b/regula/documentreader/webclient/gen/__init__.py @@ -36,6 +36,8 @@ from regula.documentreader.webclient.gen.models.authenticity_result_type import AuthenticityResultType from regula.documentreader.webclient.gen.models.bc_pdf417_info import BcPDF417INFO from regula.documentreader.webclient.gen.models.bc_roidetect import BcROIDETECT +from regula.documentreader.webclient.gen.models.byte_array_result import ByteArrayResult +from regula.documentreader.webclient.gen.models.byte_array_result_all_of import ByteArrayResultAllOf from regula.documentreader.webclient.gen.models.check_diagnose import CheckDiagnose from regula.documentreader.webclient.gen.models.check_result import CheckResult from regula.documentreader.webclient.gen.models.chosen_document_type import ChosenDocumentType @@ -48,7 +50,6 @@ from regula.documentreader.webclient.gen.models.details_optical import DetailsOptical from regula.documentreader.webclient.gen.models.details_rfid import DetailsRFID from regula.documentreader.webclient.gen.models.device_info import DeviceInfo -from regula.documentreader.webclient.gen.models.device_info2 import DeviceInfo2 from regula.documentreader.webclient.gen.models.doc_bar_code_info import DocBarCodeInfo from regula.documentreader.webclient.gen.models.doc_bar_code_info_all_of import DocBarCodeInfoAllOf from regula.documentreader.webclient.gen.models.doc_bar_code_info_fields_list import DocBarCodeInfoFieldsList @@ -67,6 +68,7 @@ from regula.documentreader.webclient.gen.models.document_types_candidates_list import DocumentTypesCandidatesList from regula.documentreader.webclient.gen.models.document_types_candidates_result import DocumentTypesCandidatesResult from regula.documentreader.webclient.gen.models.document_types_candidates_result_all_of import DocumentTypesCandidatesResultAllOf +from regula.documentreader.webclient.gen.models.documents_database import DocumentsDatabase from regula.documentreader.webclient.gen.models.encrypted_rcl_result import EncryptedRCLResult from regula.documentreader.webclient.gen.models.encrypted_rcl_result_all_of import EncryptedRCLResultAllOf from regula.documentreader.webclient.gen.models.fdsid_list import FDSIDList @@ -80,6 +82,8 @@ from regula.documentreader.webclient.gen.models.graphic_fields_list import GraphicFieldsList from regula.documentreader.webclient.gen.models.graphics_result import GraphicsResult from regula.documentreader.webclient.gen.models.graphics_result_all_of import GraphicsResultAllOf +from regula.documentreader.webclient.gen.models.healthcheck import Healthcheck +from regula.documentreader.webclient.gen.models.healthcheck_documents_database import HealthcheckDocumentsDatabase from regula.documentreader.webclient.gen.models.ident_result import IdentResult from regula.documentreader.webclient.gen.models.ident_result_all_of import IdentResultAllOf from regula.documentreader.webclient.gen.models.image_data import ImageData diff --git a/regula/documentreader/webclient/gen/api/healthcheck_api.py b/regula/documentreader/webclient/gen/api/healthcheck_api.py index 5abfd5b..98f5ad6 100644 --- a/regula/documentreader/webclient/gen/api/healthcheck_api.py +++ b/regula/documentreader/webclient/gen/api/healthcheck_api.py @@ -31,7 +31,7 @@ def __init__(self, api_client=None): self.api_client = api_client def healthz(self, **kwargs): # noqa: E501 - """Server healthcheck # noqa: E501 + """Server health check # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -54,13 +54,13 @@ def healthz(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: DeviceInfo2 + :rtype: Healthcheck """ kwargs['_return_http_data_only'] = True return self.healthz_with_http_info(**kwargs) # noqa: E501 def healthz_with_http_info(self, **kwargs): # noqa: E501 - """Server healthcheck # noqa: E501 + """Server health check # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -90,7 +90,7 @@ def healthz_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(DeviceInfo2, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Healthcheck, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -139,7 +139,7 @@ def healthz_with_http_info(self, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 response_types_map = { - 200: "DeviceInfo2", + 200: "Healthcheck", } return self.api_client.call_api( @@ -289,7 +289,7 @@ def ping_with_http_info(self, **kwargs): # noqa: E501 _request_auth=local_var_params.get('_request_auth')) def readyz(self, **kwargs): # noqa: E501 - """License healthcheck # noqa: E501 + """License health check # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -318,7 +318,7 @@ def readyz(self, **kwargs): # noqa: E501 return self.readyz_with_http_info(**kwargs) # noqa: E501 def readyz_with_http_info(self, **kwargs): # noqa: E501 - """License healthcheck # noqa: E501 + """License health check # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/regula/documentreader/webclient/gen/api/transaction_api.py b/regula/documentreader/webclient/gen/api/transaction_api.py index 992003f..f708054 100644 --- a/regula/documentreader/webclient/gen/api/transaction_api.py +++ b/regula/documentreader/webclient/gen/api/transaction_api.py @@ -40,7 +40,7 @@ def api_v2_tag_tag_id_delete(self, tag_id, **kwargs): # noqa: E501 >>> result = thread.get() :param tag_id: Tag id (required) - :type tag_id: int + :type tag_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -69,7 +69,7 @@ def api_v2_tag_tag_id_delete_with_http_info(self, tag_id, **kwargs): # noqa: E5 >>> result = thread.get() :param tag_id: Tag id (required) - :type tag_id: int + :type tag_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -310,7 +310,7 @@ def api_v2_transaction_transaction_id_file_get(self, transaction_id, name, **kwa >>> result = thread.get() :param transaction_id: Transaction id (required) - :type transaction_id: int + :type transaction_id: str :param name: File name (required) :type name: str :param async_req: Whether to execute the request asynchronously. @@ -341,7 +341,7 @@ def api_v2_transaction_transaction_id_file_get_with_http_info(self, transaction_ >>> result = thread.get() :param transaction_id: Transaction id (required) - :type transaction_id: int + :type transaction_id: str :param name: File name (required) :type name: str :param async_req: Whether to execute the request asynchronously. @@ -455,7 +455,7 @@ def api_v2_transaction_transaction_id_get(self, transaction_id, **kwargs): # no >>> result = thread.get() :param transaction_id: Transaction id (required) - :type transaction_id: int + :type transaction_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -484,7 +484,7 @@ def api_v2_transaction_transaction_id_get_with_http_info(self, transaction_id, * >>> result = thread.get() :param transaction_id: Transaction id (required) - :type transaction_id: int + :type transaction_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -590,7 +590,7 @@ def api_v2_transaction_transaction_id_process_post(self, transaction_id, transac >>> result = thread.get() :param transaction_id: Transaction id (required) - :type transaction_id: int + :type transaction_id: str :param transaction_process_request: (required) :type transaction_process_request: TransactionProcessRequest :param async_req: Whether to execute the request asynchronously. @@ -621,7 +621,7 @@ def api_v2_transaction_transaction_id_process_post_with_http_info(self, transact >>> result = thread.get() :param transaction_id: Transaction id (required) - :type transaction_id: int + :type transaction_id: str :param transaction_process_request: (required) :type transaction_process_request: TransactionProcessRequest :param async_req: Whether to execute the request asynchronously. @@ -740,7 +740,7 @@ def api_v2_transaction_transaction_id_results_get(self, transaction_id, **kwargs >>> result = thread.get() :param transaction_id: Transaction id (required) - :type transaction_id: int + :type transaction_id: str :param with_images: With base64 images or url :type with_images: bool :param async_req: Whether to execute the request asynchronously. @@ -771,7 +771,7 @@ def api_v2_transaction_transaction_id_results_get_with_http_info(self, transacti >>> result = thread.get() :param transaction_id: Transaction id (required) - :type transaction_id: int + :type transaction_id: str :param with_images: With base64 images or url :type with_images: bool :param async_req: Whether to execute the request asynchronously. diff --git a/regula/documentreader/webclient/gen/models/__init__.py b/regula/documentreader/webclient/gen/models/__init__.py index c902658..995da58 100755 --- a/regula/documentreader/webclient/gen/models/__init__.py +++ b/regula/documentreader/webclient/gen/models/__init__.py @@ -19,6 +19,8 @@ from regula.documentreader.webclient.gen.models.authenticity_result_type import AuthenticityResultType from regula.documentreader.webclient.gen.models.bc_pdf417_info import BcPDF417INFO from regula.documentreader.webclient.gen.models.bc_roidetect import BcROIDETECT +from regula.documentreader.webclient.gen.models.byte_array_result import ByteArrayResult +from regula.documentreader.webclient.gen.models.byte_array_result_all_of import ByteArrayResultAllOf from regula.documentreader.webclient.gen.models.check_diagnose import CheckDiagnose from regula.documentreader.webclient.gen.models.check_result import CheckResult from regula.documentreader.webclient.gen.models.chosen_document_type import ChosenDocumentType @@ -31,7 +33,6 @@ from regula.documentreader.webclient.gen.models.details_optical import DetailsOptical from regula.documentreader.webclient.gen.models.details_rfid import DetailsRFID from regula.documentreader.webclient.gen.models.device_info import DeviceInfo -from regula.documentreader.webclient.gen.models.device_info2 import DeviceInfo2 from regula.documentreader.webclient.gen.models.doc_bar_code_info import DocBarCodeInfo from regula.documentreader.webclient.gen.models.doc_bar_code_info_all_of import DocBarCodeInfoAllOf from regula.documentreader.webclient.gen.models.doc_bar_code_info_fields_list import DocBarCodeInfoFieldsList @@ -50,6 +51,7 @@ from regula.documentreader.webclient.gen.models.document_types_candidates_list import DocumentTypesCandidatesList from regula.documentreader.webclient.gen.models.document_types_candidates_result import DocumentTypesCandidatesResult from regula.documentreader.webclient.gen.models.document_types_candidates_result_all_of import DocumentTypesCandidatesResultAllOf +from regula.documentreader.webclient.gen.models.documents_database import DocumentsDatabase from regula.documentreader.webclient.gen.models.encrypted_rcl_result import EncryptedRCLResult from regula.documentreader.webclient.gen.models.encrypted_rcl_result_all_of import EncryptedRCLResultAllOf from regula.documentreader.webclient.gen.models.fdsid_list import FDSIDList @@ -63,6 +65,8 @@ from regula.documentreader.webclient.gen.models.graphic_fields_list import GraphicFieldsList from regula.documentreader.webclient.gen.models.graphics_result import GraphicsResult from regula.documentreader.webclient.gen.models.graphics_result_all_of import GraphicsResultAllOf +from regula.documentreader.webclient.gen.models.healthcheck import Healthcheck +from regula.documentreader.webclient.gen.models.healthcheck_documents_database import HealthcheckDocumentsDatabase from regula.documentreader.webclient.gen.models.ident_result import IdentResult from regula.documentreader.webclient.gen.models.ident_result_all_of import IdentResultAllOf from regula.documentreader.webclient.gen.models.image_data import ImageData diff --git a/regula/documentreader/webclient/gen/models/byte_array_result.py b/regula/documentreader/webclient/gen/models/byte_array_result.py new file mode 100644 index 0000000..0d4c141 --- /dev/null +++ b/regula/documentreader/webclient/gen/models/byte_array_result.py @@ -0,0 +1,255 @@ +# coding: utf-8 + +""" + Generated by: https://openapi-generator.tech +""" + +import pprint +import re # noqa: F401 + +import six + +from regula.documentreader.webclient.gen.configuration import Configuration +# this line was added to enable pycharm type hinting +from regula.documentreader.webclient.gen.models import * + + +""" + +""" +class ByteArrayResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'byte_array': 'str', + 'buf_length': 'int', + 'light': 'int', + 'list_idx': 'int', + 'page_idx': 'int', + 'result_type': 'int' + } + + attribute_map = { + 'byte_array': 'ByteArray', + 'buf_length': 'buf_length', + 'light': 'light', + 'list_idx': 'list_idx', + 'page_idx': 'page_idx', + 'result_type': 'result_type' + } + + 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 + """ByteArrayResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._byte_array = None + self._buf_length = None + self._light = None + self._list_idx = None + self._page_idx = None + self._result_type = None + self.discriminator = None + + self.byte_array = byte_array + if buf_length is not None: + self.buf_length = buf_length + if light is not None: + self.light = light + if list_idx is not None: + self.list_idx = list_idx + if page_idx is not None: + self.page_idx = page_idx + self.result_type = result_type + + @property + def byte_array(self): + """Gets the byte_array of this ByteArrayResult. # noqa: E501 + + Byte array in base64 # noqa: E501 + + :return: The byte_array of this ByteArrayResult. # noqa: E501 + :rtype: str + """ + return self._byte_array + + @byte_array.setter + def byte_array(self, byte_array): + """Sets the byte_array of this ByteArrayResult. + + Byte array in base64 # noqa: E501 + + :param byte_array: The byte_array of this ByteArrayResult. # noqa: E501 + :type byte_array: str + """ + if self.local_vars_configuration.client_side_validation and byte_array is None: # noqa: E501 + raise ValueError("Invalid value for `byte_array`, must not be `None`") # noqa: E501 + + self._byte_array = byte_array + + @property + def buf_length(self): + """Gets the buf_length of this ByteArrayResult. # noqa: E501 + + + :return: The buf_length of this ByteArrayResult. # noqa: E501 + :rtype: int + """ + return self._buf_length + + @buf_length.setter + def buf_length(self, buf_length): + """Sets the buf_length of this ByteArrayResult. + + + :param buf_length: The buf_length of this ByteArrayResult. # noqa: E501 + :type buf_length: int + """ + + self._buf_length = buf_length + + @property + def light(self): + """Gets the light of this ByteArrayResult. # noqa: E501 + + + :return: The light of this ByteArrayResult. # noqa: E501 + :rtype: int + """ + return self._light + + @light.setter + def light(self, light): + """Sets the light of this ByteArrayResult. + + + :param light: The light of this ByteArrayResult. # noqa: E501 + :type light: int + """ + + self._light = light + + @property + def list_idx(self): + """Gets the list_idx of this ByteArrayResult. # noqa: E501 + + + :return: The list_idx of this ByteArrayResult. # noqa: E501 + :rtype: int + """ + return self._list_idx + + @list_idx.setter + def list_idx(self, list_idx): + """Sets the list_idx of this ByteArrayResult. + + + :param list_idx: The list_idx of this ByteArrayResult. # noqa: E501 + :type list_idx: int + """ + + self._list_idx = list_idx + + @property + def page_idx(self): + """Gets the page_idx of this ByteArrayResult. # noqa: E501 + + + :return: The page_idx of this ByteArrayResult. # noqa: E501 + :rtype: int + """ + return self._page_idx + + @page_idx.setter + def page_idx(self, page_idx): + """Sets the page_idx of this ByteArrayResult. + + + :param page_idx: The page_idx of this ByteArrayResult. # noqa: E501 + :type page_idx: int + """ + + self._page_idx = page_idx + + @property + def result_type(self): + """Gets the result_type of this ByteArrayResult. # noqa: E501 + + Same as Result type, but used for safe parsing of not-described values. See Result type. # noqa: E501 + + :return: The result_type of this ByteArrayResult. # noqa: E501 + :rtype: int + """ + return self._result_type + + @result_type.setter + def result_type(self, result_type): + """Sets the result_type of this ByteArrayResult. + + Same as Result type, but used for safe parsing of not-described values. See Result type. # noqa: E501 + + :param result_type: The result_type of this ByteArrayResult. # noqa: E501 + :type result_type: int + """ + if self.local_vars_configuration.client_side_validation and result_type is None: # noqa: E501 + raise ValueError("Invalid value for `result_type`, must not be `None`") # noqa: E501 + + self._result_type = result_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ByteArrayResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ByteArrayResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/byte_array_result_all_of.py b/regula/documentreader/webclient/gen/models/byte_array_result_all_of.py new file mode 100644 index 0000000..5edc18e --- /dev/null +++ b/regula/documentreader/webclient/gen/models/byte_array_result_all_of.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Generated by: https://openapi-generator.tech +""" + +import pprint +import re # noqa: F401 + +import six + +from regula.documentreader.webclient.gen.configuration import Configuration +# this line was added to enable pycharm type hinting +from regula.documentreader.webclient.gen.models import * + + +""" + +""" +class ByteArrayResultAllOf(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'byte_array': 'str' + } + + attribute_map = { + 'byte_array': 'ByteArray' + } + + def __init__(self, byte_array=None, local_vars_configuration=None): # noqa: E501 + """ByteArrayResultAllOf - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._byte_array = None + self.discriminator = None + + self.byte_array = byte_array + + @property + def byte_array(self): + """Gets the byte_array of this ByteArrayResultAllOf. # noqa: E501 + + Byte array in base64 # noqa: E501 + + :return: The byte_array of this ByteArrayResultAllOf. # noqa: E501 + :rtype: str + """ + return self._byte_array + + @byte_array.setter + def byte_array(self, byte_array): + """Sets the byte_array of this ByteArrayResultAllOf. + + Byte array in base64 # noqa: E501 + + :param byte_array: The byte_array of this ByteArrayResultAllOf. # noqa: E501 + :type byte_array: str + """ + if self.local_vars_configuration.client_side_validation and byte_array is None: # noqa: E501 + raise ValueError("Invalid value for `byte_array`, must not be `None`") # noqa: E501 + + self._byte_array = byte_array + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ByteArrayResultAllOf): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ByteArrayResultAllOf): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/check_diagnose.py b/regula/documentreader/webclient/gen/models/check_diagnose.py index 32e2aaf..5f9b517 100644 --- a/regula/documentreader/webclient/gen/models/check_diagnose.py +++ b/regula/documentreader/webclient/gen/models/check_diagnose.py @@ -122,6 +122,8 @@ class CheckDiagnose(object): FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR = int("85") + FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION = int("86") + OVI_IR_INVISIBLE = int("90") OVI_INSUFFICIENT_AREA = int("91") @@ -190,6 +192,8 @@ class CheckDiagnose(object): GLARES_IN_BARCODE_AREA = int("144") + NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK = int("145") + PORTRAIT_COMPARISON_PORTRAITS_DIFFER = int("150") PORTRAIT_COMPARISON_NO_SERVICE_REPLY = int("151") @@ -248,6 +252,8 @@ class CheckDiagnose(object): LASINK_INVALID_LINES_FREQUENCY = int("230") + DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED = int("239") + DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = int("240") DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = int("241") @@ -266,7 +272,7 @@ class CheckDiagnose(object): CHD_INCORRECT_OBJECT_COLOR = int("250") - 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 + 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 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/container_list.py b/regula/documentreader/webclient/gen/models/container_list.py index aa56dd2..538cb76 100755 --- a/regula/documentreader/webclient/gen/models/container_list.py +++ b/regula/documentreader/webclient/gen/models/container_list.py @@ -33,7 +33,7 @@ class ContainerList(object): """ openapi_types = { 'count': 'int', - 'list': 'list[ResultItem]' + 'list': 'list[AnyOfStatusResultTextResultDocumentImageResultImagesResultChosenDocumentTypeResultDocumentTypesCandidatesResultTextDataResultGraphicsResultLexicalAnalysisResultAuthenticityResultImageQualityResultDocumentPositionResultDocBarCodeInfoLicenseResultEncryptedRCLResultByteArrayResult]' } attribute_map = { @@ -84,7 +84,7 @@ def list(self): :return: The list of this ContainerList. # noqa: E501 - :rtype: list[ResultItem] + :rtype: list[AnyOfStatusResultTextResultDocumentImageResultImagesResultChosenDocumentTypeResultDocumentTypesCandidatesResultTextDataResultGraphicsResultLexicalAnalysisResultAuthenticityResultImageQualityResultDocumentPositionResultDocBarCodeInfoLicenseResultEncryptedRCLResultByteArrayResult] """ return self._list @@ -94,7 +94,7 @@ def list(self, list): :param list: The list of this ContainerList. # noqa: E501 - :type list: list[ResultItem] + :type list: list[AnyOfStatusResultTextResultDocumentImageResultImagesResultChosenDocumentTypeResultDocumentTypesCandidatesResultTextDataResultGraphicsResultLexicalAnalysisResultAuthenticityResultImageQualityResultDocumentPositionResultDocBarCodeInfoLicenseResultEncryptedRCLResultByteArrayResult] """ if self.local_vars_configuration.client_side_validation and list is None: # noqa: E501 raise ValueError("Invalid value for `list`, must not be `None`") # noqa: E501 diff --git a/regula/documentreader/webclient/gen/models/document_image.py b/regula/documentreader/webclient/gen/models/document_image.py index 6a4bc03..8ce9b9f 100644 --- a/regula/documentreader/webclient/gen/models/document_image.py +++ b/regula/documentreader/webclient/gen/models/document_image.py @@ -32,23 +32,28 @@ class DocumentImage(object): and the value is json key in definition. """ openapi_types = { - 'image': 'str' + 'image': 'str', + 'format': 'str' } attribute_map = { - 'image': 'image' + 'image': 'image', + 'format': 'format' } - def __init__(self, image=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, image=None, format=None, local_vars_configuration=None): # noqa: E501 """DocumentImage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._image = None + self._format = None self.discriminator = None self.image = image + if format is not None: + self.format = format @property def image(self): @@ -75,6 +80,29 @@ def image(self, image): self._image = image + @property + def format(self): + """Gets the format of this DocumentImage. # noqa: E501 + + Image format # noqa: E501 + + :return: The format of this DocumentImage. # noqa: E501 + :rtype: str + """ + return self._format + + @format.setter + def format(self, format): + """Sets the format of this DocumentImage. + + Image format # noqa: E501 + + :param format: The format of this DocumentImage. # noqa: E501 + :type format: str + """ + + self._format = format + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/regula/documentreader/webclient/gen/models/document_image_result.py b/regula/documentreader/webclient/gen/models/document_image_result.py index 610be43..c43cd56 100755 --- a/regula/documentreader/webclient/gen/models/document_image_result.py +++ b/regula/documentreader/webclient/gen/models/document_image_result.py @@ -15,7 +15,7 @@ """ - +Contains document image. """ class DocumentImageResult(object): """NOTE: This class is auto generated by OpenAPI Generator. diff --git a/regula/documentreader/webclient/gen/models/document_image_result_all_of.py b/regula/documentreader/webclient/gen/models/document_image_result_all_of.py index b10a6d9..9d82027 100755 --- a/regula/documentreader/webclient/gen/models/document_image_result_all_of.py +++ b/regula/documentreader/webclient/gen/models/document_image_result_all_of.py @@ -15,7 +15,7 @@ """ -Contains cropped and rotated with perspective compensation image of document. Single input image can contain multiple document side/pages, which will be returned as separated results. Most of coordinates in other types defined on that image + """ class DocumentImageResultAllOf(object): """NOTE: This class is auto generated by OpenAPI Generator. diff --git a/regula/documentreader/webclient/gen/models/documents_database.py b/regula/documentreader/webclient/gen/models/documents_database.py new file mode 100644 index 0000000..6622991 --- /dev/null +++ b/regula/documentreader/webclient/gen/models/documents_database.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Generated by: https://openapi-generator.tech +""" + +import pprint +import re # noqa: F401 + +import six + +from regula.documentreader.webclient.gen.configuration import Configuration +# this line was added to enable pycharm type hinting +from regula.documentreader.webclient.gen.models import * + + +""" +Document database information +""" +class DocumentsDatabase(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'export_date': 'str', + 'id': 'str', + 'version': 'str' + } + + attribute_map = { + 'description': 'Description', + 'export_date': 'ExportDate', + 'id': 'ID', + 'version': 'Version' + } + + def __init__(self, description=None, export_date=None, id=None, version=None, local_vars_configuration=None): # noqa: E501 + """DocumentsDatabase - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._export_date = None + self._id = None + self._version = None + self.discriminator = None + + if description is not None: + self.description = description + if export_date is not None: + self.export_date = export_date + if id is not None: + self.id = id + if version is not None: + self.version = version + + @property + def description(self): + """Gets the description of this DocumentsDatabase. # noqa: E501 + + Document database description # noqa: E501 + + :return: The description of this DocumentsDatabase. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this DocumentsDatabase. + + Document database description # noqa: E501 + + :param description: The description of this DocumentsDatabase. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def export_date(self): + """Gets the export_date of this DocumentsDatabase. # noqa: E501 + + Date the document database was created # noqa: E501 + + :return: The export_date of this DocumentsDatabase. # noqa: E501 + :rtype: str + """ + return self._export_date + + @export_date.setter + def export_date(self, export_date): + """Sets the export_date of this DocumentsDatabase. + + Date the document database was created # noqa: E501 + + :param export_date: The export_date of this DocumentsDatabase. # noqa: E501 + :type export_date: str + """ + + self._export_date = export_date + + @property + def id(self): + """Gets the id of this DocumentsDatabase. # noqa: E501 + + Document database identifier # noqa: E501 + + :return: The id of this DocumentsDatabase. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this DocumentsDatabase. + + Document database identifier # noqa: E501 + + :param id: The id of this DocumentsDatabase. # noqa: E501 + :type id: str + """ + + self._id = id + + @property + def version(self): + """Gets the version of this DocumentsDatabase. # noqa: E501 + + Document database version # noqa: E501 + + :return: The version of this DocumentsDatabase. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this DocumentsDatabase. + + Document database version # noqa: E501 + + :param version: The version of this DocumentsDatabase. # noqa: E501 + :type version: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DocumentsDatabase): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DocumentsDatabase): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py b/regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py index 9d1524c..c7f78dd 100644 --- a/regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py +++ b/regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py @@ -32,7 +32,7 @@ class GetTransactionsByTagResponse(object): and the value is json key in definition. """ openapi_types = { - 'id': 'int', + 'id': 'str', 'state': 'int', 'updated_at': 'datetime' } @@ -68,7 +68,7 @@ def id(self): Transaction id # noqa: E501 :return: The id of this GetTransactionsByTagResponse. # noqa: E501 - :rtype: int + :rtype: str """ return self._id @@ -79,7 +79,7 @@ def id(self, id): Transaction id # noqa: E501 :param id: The id of this GetTransactionsByTagResponse. # noqa: E501 - :type id: int + :type id: str """ self._id = id diff --git a/regula/documentreader/webclient/gen/models/healthcheck.py b/regula/documentreader/webclient/gen/models/healthcheck.py new file mode 100644 index 0000000..e6232b4 --- /dev/null +++ b/regula/documentreader/webclient/gen/models/healthcheck.py @@ -0,0 +1,310 @@ +# coding: utf-8 + +""" + Generated by: https://openapi-generator.tech +""" + +import pprint +import re # noqa: F401 + +import six + +from regula.documentreader.webclient.gen.configuration import Configuration +# this line was added to enable pycharm type hinting +from regula.documentreader.webclient.gen.models import * + + +""" + +""" +class Healthcheck(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'app': 'str', + 'license_id': 'str', + 'license_type': 'str', + 'license_serial': 'str', + 'license_valid_until': 'datetime', + 'scenarios': 'list[str]', + 'version': 'str', + 'documents_database': 'HealthcheckDocumentsDatabase' + } + + attribute_map = { + 'app': 'app', + 'license_id': 'licenseId', + 'license_type': 'licenseType', + 'license_serial': 'licenseSerial', + 'license_valid_until': 'licenseValidUntil', + 'scenarios': 'scenarios', + 'version': 'version', + 'documents_database': 'documentsDatabase' + } + + def __init__(self, app=None, license_id=None, license_type=None, license_serial=None, license_valid_until=None, scenarios=None, version=None, documents_database=None, local_vars_configuration=None): # noqa: E501 + """Healthcheck - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._app = None + self._license_id = None + self._license_type = None + self._license_serial = None + self._license_valid_until = None + self._scenarios = None + self._version = None + self._documents_database = None + self.discriminator = None + + self.app = app + self.license_id = license_id + self.license_type = license_type + self.license_serial = license_serial + self.license_valid_until = license_valid_until + self.scenarios = scenarios + self.version = version + if documents_database is not None: + self.documents_database = documents_database + + @property + def app(self): + """Gets the app of this Healthcheck. # noqa: E501 + + Application name. # noqa: E501 + + :return: The app of this Healthcheck. # noqa: E501 + :rtype: str + """ + return self._app + + @app.setter + def app(self, app): + """Sets the app of this Healthcheck. + + Application name. # noqa: E501 + + :param app: The app of this Healthcheck. # noqa: E501 + :type app: str + """ + if self.local_vars_configuration.client_side_validation and app is None: # noqa: E501 + raise ValueError("Invalid value for `app`, must not be `None`") # noqa: E501 + + self._app = app + + @property + def license_id(self): + """Gets the license_id of this Healthcheck. # noqa: E501 + + Unique license identifier. # noqa: E501 + + :return: The license_id of this Healthcheck. # noqa: E501 + :rtype: str + """ + return self._license_id + + @license_id.setter + def license_id(self, license_id): + """Sets the license_id of this Healthcheck. + + Unique license identifier. # noqa: E501 + + :param license_id: The license_id of this Healthcheck. # noqa: E501 + :type license_id: str + """ + + self._license_id = license_id + + @property + def license_type(self): + """Gets the license_type of this Healthcheck. # noqa: E501 + + License type. # noqa: E501 + + :return: The license_type of this Healthcheck. # noqa: E501 + :rtype: str + """ + return self._license_type + + @license_type.setter + def license_type(self, license_type): + """Sets the license_type of this Healthcheck. + + License type. # noqa: E501 + + :param license_type: The license_type of this Healthcheck. # noqa: E501 + :type license_type: str + """ + + self._license_type = license_type + + @property + def license_serial(self): + """Gets the license_serial of this Healthcheck. # noqa: E501 + + License serial number. # noqa: E501 + + :return: The license_serial of this Healthcheck. # noqa: E501 + :rtype: str + """ + return self._license_serial + + @license_serial.setter + def license_serial(self, license_serial): + """Sets the license_serial of this Healthcheck. + + License serial number. # noqa: E501 + + :param license_serial: The license_serial of this Healthcheck. # noqa: E501 + :type license_serial: str + """ + + self._license_serial = license_serial + + @property + def license_valid_until(self): + """Gets the license_valid_until of this Healthcheck. # noqa: E501 + + License validity date. # noqa: E501 + + :return: The license_valid_until of this Healthcheck. # noqa: E501 + :rtype: datetime + """ + return self._license_valid_until + + @license_valid_until.setter + def license_valid_until(self, license_valid_until): + """Sets the license_valid_until of this Healthcheck. + + License validity date. # noqa: E501 + + :param license_valid_until: The license_valid_until of this Healthcheck. # noqa: E501 + :type license_valid_until: datetime + """ + + self._license_valid_until = license_valid_until + + @property + def scenarios(self): + """Gets the scenarios of this Healthcheck. # noqa: E501 + + List of supported scenarios. # noqa: E501 + + :return: The scenarios of this Healthcheck. # noqa: E501 + :rtype: list[str] + """ + return self._scenarios + + @scenarios.setter + def scenarios(self, scenarios): + """Sets the scenarios of this Healthcheck. + + List of supported scenarios. # noqa: E501 + + :param scenarios: The scenarios of this Healthcheck. # noqa: E501 + :type scenarios: list[str] + """ + + self._scenarios = scenarios + + @property + def version(self): + """Gets the version of this Healthcheck. # noqa: E501 + + Product version. # noqa: E501 + + :return: The version of this Healthcheck. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this Healthcheck. + + Product version. # noqa: E501 + + :param version: The version of this Healthcheck. # noqa: E501 + :type version: str + """ + + self._version = version + + @property + def documents_database(self): + """Gets the documents_database of this Healthcheck. # noqa: E501 + + + :return: The documents_database of this Healthcheck. # noqa: E501 + :rtype: HealthcheckDocumentsDatabase + """ + return self._documents_database + + @documents_database.setter + def documents_database(self, documents_database): + """Sets the documents_database of this Healthcheck. + + + :param documents_database: The documents_database of this Healthcheck. # noqa: E501 + :type documents_database: HealthcheckDocumentsDatabase + """ + + self._documents_database = documents_database + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Healthcheck): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Healthcheck): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/healthcheck_documents_database.py b/regula/documentreader/webclient/gen/models/healthcheck_documents_database.py new file mode 100644 index 0000000..5433e08 --- /dev/null +++ b/regula/documentreader/webclient/gen/models/healthcheck_documents_database.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +""" + Generated by: https://openapi-generator.tech +""" + +import pprint +import re # noqa: F401 + +import six + +from regula.documentreader.webclient.gen.configuration import Configuration +# this line was added to enable pycharm type hinting +from regula.documentreader.webclient.gen.models import * + + +""" +Database information. +""" +class HealthcheckDocumentsDatabase(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'version': 'str', + 'export_date': 'date', + 'description': 'str' + } + + attribute_map = { + 'id': 'id', + 'version': 'version', + 'export_date': 'exportDate', + 'description': 'description' + } + + def __init__(self, id=None, version=None, export_date=None, description=None, local_vars_configuration=None): # noqa: E501 + """HealthcheckDocumentsDatabase - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._version = None + self._export_date = None + self._description = None + self.discriminator = None + + self.id = id + self.version = version + self.export_date = export_date + self.description = description + + @property + def id(self): + """Gets the id of this HealthcheckDocumentsDatabase. # noqa: E501 + + Database identifier. # noqa: E501 + + :return: The id of this HealthcheckDocumentsDatabase. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this HealthcheckDocumentsDatabase. + + Database identifier. # noqa: E501 + + :param id: The id of this HealthcheckDocumentsDatabase. # noqa: E501 + :type id: str + """ + + self._id = id + + @property + def version(self): + """Gets the version of this HealthcheckDocumentsDatabase. # noqa: E501 + + Database version. # noqa: E501 + + :return: The version of this HealthcheckDocumentsDatabase. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this HealthcheckDocumentsDatabase. + + Database version. # noqa: E501 + + :param version: The version of this HealthcheckDocumentsDatabase. # noqa: E501 + :type version: str + """ + + self._version = version + + @property + def export_date(self): + """Gets the export_date of this HealthcheckDocumentsDatabase. # noqa: E501 + + Date of database creation. # noqa: E501 + + :return: The export_date of this HealthcheckDocumentsDatabase. # noqa: E501 + :rtype: date + """ + return self._export_date + + @export_date.setter + def export_date(self, export_date): + """Sets the export_date of this HealthcheckDocumentsDatabase. + + Date of database creation. # noqa: E501 + + :param export_date: The export_date of this HealthcheckDocumentsDatabase. # noqa: E501 + :type export_date: date + """ + + self._export_date = export_date + + @property + def description(self): + """Gets the description of this HealthcheckDocumentsDatabase. # noqa: E501 + + Description of the database contents, such as the list of supported countries and documents. # noqa: E501 + + :return: The description of this HealthcheckDocumentsDatabase. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this HealthcheckDocumentsDatabase. + + Description of the database contents, such as the list of supported countries and documents. # noqa: E501 + + :param description: The description of this HealthcheckDocumentsDatabase. # noqa: E501 + :type description: str + """ + + self._description = description + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, HealthcheckDocumentsDatabase): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, HealthcheckDocumentsDatabase): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/image_data.py b/regula/documentreader/webclient/gen/models/image_data.py index ba78c87..8a8a349 100755 --- a/regula/documentreader/webclient/gen/models/image_data.py +++ b/regula/documentreader/webclient/gen/models/image_data.py @@ -32,23 +32,28 @@ class ImageData(object): and the value is json key in definition. """ openapi_types = { - 'image': 'str' + 'image': 'str', + 'format': 'str' } attribute_map = { - 'image': 'image' + 'image': 'image', + 'format': 'format' } - def __init__(self, image=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, image=None, format=None, local_vars_configuration=None): # noqa: E501 """ImageData - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._image = None + self._format = None self.discriminator = None self.image = image + if format is not None: + self.format = format @property def image(self): @@ -75,6 +80,29 @@ def image(self, image): self._image = image + @property + def format(self): + """Gets the format of this ImageData. # noqa: E501 + + Image format # noqa: E501 + + :return: The format of this ImageData. # noqa: E501 + :rtype: str + """ + return self._format + + @format.setter + def format(self, format): + """Sets the format of this ImageData. + + Image format # noqa: E501 + + :param format: The format of this ImageData. # noqa: E501 + :type format: str + """ + + self._format = format + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/regula/documentreader/webclient/gen/models/process_params.py b/regula/documentreader/webclient/gen/models/process_params.py index 989db25..ad99dd8 100755 --- a/regula/documentreader/webclient/gen/models/process_params.py +++ b/regula/documentreader/webclient/gen/models/process_params.py @@ -32,6 +32,7 @@ class ProcessParams(object): and the value is json key in definition. """ openapi_types = { + 'generate_dtcvc': 'bool', 'lcid_filter': 'list[int]', 'lcid_ignore_filter': 'list[int]', 'one_shot_identification': 'bool', @@ -60,6 +61,7 @@ class ProcessParams(object): 'check_required_text_fields': 'bool', 'return_cropped_barcode': 'bool', 'image_qa': 'ImageQA', + 'strict_image_quality': 'bool', 'respect_image_quality': 'bool', 'force_doc_format': 'DocumentFormat', 'no_graphics': 'bool', @@ -85,10 +87,13 @@ class ProcessParams(object): 'check_auth': 'bool', 'auth_params': 'AuthParams', 'mrz_detect_mode': 'MrzDetectModeEnum', - 'generate_numeric_codes': 'bool' + 'generate_numeric_codes': 'bool', + 'strict_barcode_digital_signature_check': 'bool', + 'select_longest_names': 'bool' } attribute_map = { + 'generate_dtcvc': 'generateDTCVC', 'lcid_filter': 'lcidFilter', 'lcid_ignore_filter': 'lcidIgnoreFilter', 'one_shot_identification': 'oneShotIdentification', @@ -117,6 +122,7 @@ class ProcessParams(object): 'check_required_text_fields': 'checkRequiredTextFields', 'return_cropped_barcode': 'returnCroppedBarcode', 'image_qa': 'imageQa', + 'strict_image_quality': 'strictImageQuality', 'respect_image_quality': 'respectImageQuality', 'force_doc_format': 'forceDocFormat', 'no_graphics': 'noGraphics', @@ -142,15 +148,18 @@ class ProcessParams(object): 'check_auth': 'checkAuth', 'auth_params': 'authParams', 'mrz_detect_mode': 'mrzDetectMode', - 'generate_numeric_codes': 'generateNumericCodes' + 'generate_numeric_codes': 'generateNumericCodes', + 'strict_barcode_digital_signature_check': 'strictBarcodeDigitalSignatureCheck', + 'select_longest_names': 'selectLongestNames' } - 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 + 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 """ProcessParams - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._generate_dtcvc = None self._lcid_filter = None self._lcid_ignore_filter = None self._one_shot_identification = None @@ -179,6 +188,7 @@ def __init__(self, lcid_filter=None, lcid_ignore_filter=None, one_shot_identific self._check_required_text_fields = None self._return_cropped_barcode = None self._image_qa = None + self._strict_image_quality = None self._respect_image_quality = None self._force_doc_format = None self._no_graphics = None @@ -205,8 +215,12 @@ def __init__(self, lcid_filter=None, lcid_ignore_filter=None, one_shot_identific self._auth_params = None self._mrz_detect_mode = None self._generate_numeric_codes = None + self._strict_barcode_digital_signature_check = None + self._select_longest_names = None self.discriminator = None + if generate_dtcvc is not None: + self.generate_dtcvc = generate_dtcvc if lcid_filter is not None: self.lcid_filter = lcid_filter if lcid_ignore_filter is not None: @@ -262,6 +276,8 @@ def __init__(self, lcid_filter=None, lcid_ignore_filter=None, one_shot_identific self.return_cropped_barcode = return_cropped_barcode if image_qa is not None: self.image_qa = image_qa + if strict_image_quality is not None: + self.strict_image_quality = strict_image_quality if respect_image_quality is not None: self.respect_image_quality = respect_image_quality if force_doc_format is not None: @@ -314,6 +330,33 @@ def __init__(self, lcid_filter=None, lcid_ignore_filter=None, one_shot_identific self.mrz_detect_mode = mrz_detect_mode if generate_numeric_codes is not None: self.generate_numeric_codes = generate_numeric_codes + if strict_barcode_digital_signature_check is not None: + self.strict_barcode_digital_signature_check = strict_barcode_digital_signature_check + if select_longest_names is not None: + self.select_longest_names = select_longest_names + + @property + def generate_dtcvc(self): + """Gets the generate_dtcvc of this ProcessParams. # noqa: E501 + + This parameter is used to generate separate DTC-VC data container from RFID session data. # noqa: E501 + + :return: The generate_dtcvc of this ProcessParams. # noqa: E501 + :rtype: bool + """ + return self._generate_dtcvc + + @generate_dtcvc.setter + def generate_dtcvc(self, generate_dtcvc): + """Sets the generate_dtcvc of this ProcessParams. + + This parameter is used to generate separate DTC-VC data container from RFID session data. # noqa: E501 + + :param generate_dtcvc: The generate_dtcvc of this ProcessParams. # noqa: E501 + :type generate_dtcvc: bool + """ + + self._generate_dtcvc = generate_dtcvc @property def lcid_filter(self): @@ -951,11 +994,34 @@ def image_qa(self, image_qa): self._image_qa = image_qa + @property + def strict_image_quality(self): + """Gets the strict_image_quality of this ProcessParams. # noqa: E501 + + When enabled, the image quality check status affects the document optical and overall status. Disabled by default. # noqa: E501 + + :return: The strict_image_quality of this ProcessParams. # noqa: E501 + :rtype: bool + """ + return self._strict_image_quality + + @strict_image_quality.setter + def strict_image_quality(self, strict_image_quality): + """Sets the strict_image_quality of this ProcessParams. + + When enabled, the image quality check status affects the document optical and overall status. Disabled by default. # noqa: E501 + + :param strict_image_quality: The strict_image_quality of this ProcessParams. # noqa: E501 + :type strict_image_quality: bool + """ + + self._strict_image_quality = strict_image_quality + @property def respect_image_quality(self): """Gets the respect_image_quality of this ProcessParams. # noqa: E501 - When enabled, image quality checks status affects document optical and overall status. Disabled by default. # noqa: E501 + Deprecated. Please use strictImageQuality instead. When enabled, image quality checks status affects document optical and overall status. Disabled by default. # noqa: E501 :return: The respect_image_quality of this ProcessParams. # noqa: E501 :rtype: bool @@ -966,7 +1032,7 @@ def respect_image_quality(self): def respect_image_quality(self, respect_image_quality): """Sets the respect_image_quality of this ProcessParams. - When enabled, image quality checks status affects document optical and overall status. Disabled by default. # noqa: E501 + Deprecated. Please use strictImageQuality instead. When enabled, image quality checks status affects document optical and overall status. Disabled by default. # noqa: E501 :param respect_image_quality: The respect_image_quality of this ProcessParams. # noqa: E501 :type respect_image_quality: bool @@ -1539,6 +1605,52 @@ def generate_numeric_codes(self, generate_numeric_codes): self._generate_numeric_codes = generate_numeric_codes + @property + def strict_barcode_digital_signature_check(self): + """Gets the strict_barcode_digital_signature_check of this ProcessParams. # noqa: E501 + + 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 + + :return: The strict_barcode_digital_signature_check of this ProcessParams. # noqa: E501 + :rtype: bool + """ + return self._strict_barcode_digital_signature_check + + @strict_barcode_digital_signature_check.setter + def strict_barcode_digital_signature_check(self, strict_barcode_digital_signature_check): + """Sets the strict_barcode_digital_signature_check of this ProcessParams. + + 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 + + :param strict_barcode_digital_signature_check: The strict_barcode_digital_signature_check of this ProcessParams. # noqa: E501 + :type strict_barcode_digital_signature_check: bool + """ + + self._strict_barcode_digital_signature_check = strict_barcode_digital_signature_check + + @property + def select_longest_names(self): + """Gets the select_longest_names of this ProcessParams. # noqa: E501 + + 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 + + :return: The select_longest_names of this ProcessParams. # noqa: E501 + :rtype: bool + """ + return self._select_longest_names + + @select_longest_names.setter + def select_longest_names(self, select_longest_names): + """Sets the select_longest_names of this ProcessParams. + + 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 + + :param select_longest_names: The select_longest_names of this ProcessParams. # noqa: E501 + :type select_longest_names: bool + """ + + self._select_longest_names = select_longest_names + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/regula/documentreader/webclient/gen/models/process_request.py b/regula/documentreader/webclient/gen/models/process_request.py index 719fb6f..a83294c 100755 --- a/regula/documentreader/webclient/gen/models/process_request.py +++ b/regula/documentreader/webclient/gen/models/process_request.py @@ -41,7 +41,9 @@ class ProcessRequest(object): 'ext_portrait': 'str', 'container_list': 'ContainerList', 'system_info': 'ProcessSystemInfo', - 'pass_back_object': 'dict(str, object)' + 'pass_back_object': 'dict(str, object)', + 'dtc': 'str', + 'image_urls': 'list[str]' } attribute_map = { @@ -54,10 +56,12 @@ class ProcessRequest(object): 'ext_portrait': 'extPortrait', 'container_list': 'ContainerList', 'system_info': 'systemInfo', - 'pass_back_object': 'passBackObject' + 'pass_back_object': 'passBackObject', + 'dtc': 'dtc', + 'image_urls': 'ImageUrls' } - 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 + 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 """ProcessRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -73,6 +77,8 @@ def __init__(self, process_param=None, list=None, tag=None, tenant=None, env=Non self._container_list = None self._system_info = None self._pass_back_object = None + self._dtc = None + self._image_urls = None self.discriminator = None self.process_param = process_param @@ -94,6 +100,10 @@ def __init__(self, process_param=None, list=None, tag=None, tenant=None, env=Non self.system_info = system_info if pass_back_object is not None: self.pass_back_object = pass_back_object + if dtc is not None: + self.dtc = dtc + if image_urls is not None: + self.image_urls = image_urls @property def process_param(self): @@ -319,6 +329,52 @@ def pass_back_object(self, pass_back_object): self._pass_back_object = pass_back_object + @property + def dtc(self): + """Gets the dtc of this ProcessRequest. # noqa: E501 + + Digital Travel Credential (DTC-VC) data in base64 format for processing # noqa: E501 + + :return: The dtc of this ProcessRequest. # noqa: E501 + :rtype: str + """ + return self._dtc + + @dtc.setter + def dtc(self, dtc): + """Sets the dtc of this ProcessRequest. + + Digital Travel Credential (DTC-VC) data in base64 format for processing # noqa: E501 + + :param dtc: The dtc of this ProcessRequest. # noqa: E501 + :type dtc: str + """ + + self._dtc = dtc + + @property + def image_urls(self): + """Gets the image_urls of this ProcessRequest. # noqa: E501 + + URLs to the document images for processing. # noqa: E501 + + :return: The image_urls of this ProcessRequest. # noqa: E501 + :rtype: list[str] + """ + return self._image_urls + + @image_urls.setter + def image_urls(self, image_urls): + """Sets the image_urls of this ProcessRequest. + + URLs to the document images for processing. # noqa: E501 + + :param image_urls: The image_urls of this ProcessRequest. # noqa: E501 + :type image_urls: list[str] + """ + + self._image_urls = image_urls + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/regula/documentreader/webclient/gen/models/result.py b/regula/documentreader/webclient/gen/models/result.py index cb93d97..a859011 100755 --- a/regula/documentreader/webclient/gen/models/result.py +++ b/regula/documentreader/webclient/gen/models/result.py @@ -76,7 +76,9 @@ class Result(object): RFID_ORIGINAL_GRAPHICS = int("105") - 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 + DTC_VC = int("109") + + 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 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/result_item.py b/regula/documentreader/webclient/gen/models/result_item.py index 41c2c6c..05ea5dc 100755 --- a/regula/documentreader/webclient/gen/models/result_item.py +++ b/regula/documentreader/webclient/gen/models/result_item.py @@ -50,7 +50,9 @@ class ResultItem(object): 1 : 'DocumentImageResult', 102 : 'TextDataResult', 103 : 'GraphicsResult', + 109 : 'ByteArrayResult', 15 : 'LexicalAnalysisResult', + 16 : 'DocumentImageResult', 17 : 'TextDataResult', 18 : 'TextDataResult', 19 : 'GraphicsResult', diff --git a/regula/documentreader/webclient/gen/models/scenario.py b/regula/documentreader/webclient/gen/models/scenario.py index c54aa71..d7a700d 100755 --- a/regula/documentreader/webclient/gen/models/scenario.py +++ b/regula/documentreader/webclient/gen/models/scenario.py @@ -60,7 +60,9 @@ class Scenario(object): CAPTURE = "Capture" - 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 + DTC = "DTC" + + 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 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/security_feature_type.py b/regula/documentreader/webclient/gen/models/security_feature_type.py index 9515c6c..7c81060 100644 --- a/regula/documentreader/webclient/gen/models/security_feature_type.py +++ b/regula/documentreader/webclient/gen/models/security_feature_type.py @@ -126,7 +126,11 @@ class SecurityFeatureType(object): CONTACT_CHIP_CLASSIFICATION = int("51") - 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 + HEAD_POSITION_CHECK = int("52") + + LIVENESS_BLACK_AND_WHITE_COPY_CHECK = int("53") + + 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 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/text_field_type.py b/regula/documentreader/webclient/gen/models/text_field_type.py index bbef23a..a23f25e 100755 --- a/regula/documentreader/webclient/gen/models/text_field_type.py +++ b/regula/documentreader/webclient/gen/models/text_field_type.py @@ -596,6 +596,12 @@ class TextFieldType(object): ISO_ISSUER_ID_NUMBER = int("336") + DTC_VERSION = int("337") + + DTC_ID = int("338") + + DTC_DATE_OF_EXPIRY = int("339") + GNIB_NUMBER = int("340") DEPT_NUMBER = int("341") @@ -1300,7 +1306,9 @@ class TextFieldType(object): FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT = int("691") - allowable_values = [DOCUMENT_CLASS_CODE, ISSUING_STATE_CODE, DOCUMENT_NUMBER, DATE_OF_EXPIRY, DATE_OF_ISSUE, DATE_OF_BIRTH, PLACE_OF_BIRTH, PERSONAL_NUMBER, SURNAME, GIVEN_NAMES, MOTHERS_NAME, NATIONALITY, SEX, HEIGHT, WEIGHT, EYES_COLOR, HAIR_COLOR, ADDRESS, DONOR, SOCIAL_SECURITY_NUMBER, DL_CLASS, DL_ENDORSED, DL_RESTRICTION_CODE, DL_UNDER_21_DATE, AUTHORITY, SURNAME_AND_GIVEN_NAMES, NATIONALITY_CODE, PASSPORT_NUMBER, INVITATION_NUMBER, VISA_ID, VISA_CLASS, VISA_SUBCLASS, MRZ_TYPE, OPTIONAL_DATA, DOCUMENT_CLASS_NAME, ISSUING_STATE_NAME, PLACE_OF_ISSUE, DOCUMENT_NUMBER_CHECKSUM, DATE_OF_BIRTH_CHECKSUM, DATE_OF_EXPIRY_CHECKSUM, PERSONAL_NUMBER_CHECKSUM, FINAL_CHECKSUM, PASSPORT_NUMBER_CHECKSUM, INVITATION_NUMBER_CHECKSUM, VISA_ID_CHECKSUM, SURNAME_AND_GIVEN_NAMES_CHECKSUM, VISA_VALID_UNTIL_CHECKSUM, OTHER, MRZ_STRINGS, NAME_SUFFIX, NAME_PREFIX, DATE_OF_ISSUE_CHECKSUM, DATE_OF_ISSUE_CHECK_DIGIT, DOCUMENT_SERIES, REG_CERT_REG_NUMBER, REG_CERT_CAR_MODEL, REG_CERT_CAR_COLOR, REG_CERT_BODY_NUMBER, REG_CERT_CAR_TYPE, REG_CERT_MAX_WEIGHT, REG_CERT_WEIGHT, ADDRESS_AREA, ADDRESS_STATE, ADDRESS_BUILDING, ADDRESS_HOUSE, ADDRESS_FLAT, PLACE_OF_REGISTRATION, DATE_OF_REGISTRATION, RESIDENT_FROM, RESIDENT_UNTIL, AUTHORITY_CODE, PLACE_OF_BIRTH_AREA, PLACE_OF_BIRTH_STATE_CODE, ADDRESS_STREET, ADDRESS_CITY, ADDRESS_JURISDICTION_CODE, ADDRESS_POSTAL_CODE, DOCUMENT_NUMBER_CHECK_DIGIT, DATE_OF_BIRTH_CHECK_DIGIT, DATE_OF_EXPIRY_CHECK_DIGIT, PERSONAL_NUMBER_CHECK_DIGIT, FINAL_CHECK_DIGIT, PASSPORT_NUMBER_CHECK_DIGIT, INVITATION_NUMBER_CHECK_DIGIT, VISA_ID_CHECK_DIGIT, SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT, VISA_VALID_UNTIL_CHECK_DIGIT, PERMIT_DL_CLASS, PERMIT_DATE_OF_EXPIRY, PERMIT_IDENTIFIER, PERMIT_DATE_OF_ISSUE, PERMIT_RESTRICTION_CODE, PERMIT_ENDORSED, ISSUE_TIMESTAMP, NUMBER_OF_DUPLICATES, MEDICAL_INDICATOR_CODES, NON_RESIDENT_INDICATOR, VISA_TYPE, VISA_VALID_FROM, VISA_VALID_UNTIL, DURATION_OF_STAY, NUMBER_OF_ENTRIES, DAY, MONTH, YEAR, UNIQUE_CUSTOMER_IDENTIFIER, COMMERCIAL_VEHICLE_CODES, AKA_DATE_OF_BIRTH, AKA_SOCIAL_SECURITY_NUMBER, AKA_SURNAME, AKA_GIVEN_NAMES, AKA_NAME_SUFFIX, AKA_NAME_PREFIX, MAILING_ADDRESS_STREET, MAILING_ADDRESS_CITY, MAILING_ADDRESS_JURISDICTION_CODE, MAILING_ADDRESS_POSTAL_CODE, AUDIT_INFORMATION, INVENTORY_NUMBER, RACE_ETHNICITY, JURISDICTION_VEHICLE_CLASS, JURISDICTION_ENDORSEMENT_CODE, JURISDICTION_RESTRICTION_CODE, FAMILY_NAME, GIVEN_NAMES_RUS, VISA_ID_RUS, FATHERS_NAME, FATHERS_NAME_RUS, SURNAME_AND_GIVEN_NAMES_RUS, PLACE_OF_BIRTH_RUS, AUTHORITY_RUS, ISSUING_STATE_CODE_NUMERIC, NATIONALITY_CODE_NUMERIC, ENGINE_POWER, ENGINE_VOLUME, CHASSIS_NUMBER, ENGINE_NUMBER, ENGINE_MODEL, VEHICLE_CATEGORY, IDENTITY_CARD_NUMBER, CONTROL_NUMBER, PARENTS_GIVEN_NAMES, SECOND_SURNAME, MIDDLE_NAME, REG_CERT_VIN, REG_CERT_VIN_CHECK_DIGIT, REG_CERT_VIN_CHECKSUM, LINE_1_CHECK_DIGIT, LINE_2_CHECK_DIGIT, LINE_3_CHECK_DIGIT, LINE_1_CHECKSUM, LINE_2_CHECKSUM, LINE_3_CHECKSUM, REG_CERT_REG_NUMBER_CHECK_DIGIT, REG_CERT_REG_NUMBER_CHECKSUM, REG_CERT_VEHICLE_ITS_CODE, CARD_ACCESS_NUMBER, MARITAL_STATUS, COMPANY_NAME, SPECIAL_NOTES, SURNAME_OF_SPOUSE, TRACKING_NUMBER, BOOKLET_NUMBER, CHILDREN, COPY, SERIAL_NUMBER, DOSSIER_NUMBER, AKA_SURNAME_AND_GIVEN_NAMES, TERRITORIAL_VALIDITY, MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS, DL_CDL_RESTRICTION_CODE, DL_UNDER_18_DATE, DL_RECORD_CREATED, DL_DUPLICATE_DATE, DL_ISSUE_TYPE, MILITARY_BOOK_NUMBER, DESTINATION, BLOOD_GROUP, SEQUENCE_NUMBER, REG_CERT_BODY_TYPE, REG_CERT_CAR_MARK, TRANSACTION_NUMBER, AGE, FOLIO_NUMBER, VOTER_KEY, ADDRESS_MUNICIPALITY, ADDRESS_LOCATION, SECTION, OCR_NUMBER, FEDERAL_ELECTIONS, REFERENCE_NUMBER, OPTIONAL_DATA_CHECKSUM, OPTIONAL_DATA_CHECK_DIGIT, VISA_NUMBER, VISA_NUMBER_CHECKSUM, VISA_NUMBER_CHECK_DIGIT, VOTER, PREVIOUS_TYPE, FIELD_FROM_MRZ, CURRENT_DATE, STATUS_DATE_OF_EXPIRY, BANKNOTE_NUMBER, CSC_CODE, ARTISTIC_NAME, ACADEMIC_TITLE, ADDRESS_COUNTRY, ADDRESS_ZIP_CODE, E_ID_RESIDENCE_PERMIT_1, E_ID_RESIDENCE_PERMIT_2, E_ID_PLACE_OF_BIRTH_STREET, E_ID_PLACE_OF_BIRTH_CITY, E_ID_PLACE_OF_BIRTH_STATE, E_ID_PLACE_OF_BIRTH_COUNTRY, E_ID_PLACE_OF_BIRTH_ZIP_CODE, CDL_CLASS, DL_UNDER_19_DATE, WEIGHT_POUNDS, LIMITED_DURATION_DOCUMENT_INDICATOR, ENDORSEMENT_EXPIRATION_DATE, REVISION_DATE, COMPLIANCE_TYPE, FAMILY_NAME_TRUNCATION, FIRST_NAME_TRUNCATION, MIDDLE_NAME_TRUNCATION, EXAM_DATE, ORGANIZATION, DEPARTMENT, PAY_GRADE, RANK, BENEFITS_NUMBER, SPONSOR_SERVICE, SPONSOR_STATUS, SPONSOR, RELATIONSHIP, USCIS, CATEGORY, CONDITIONS, IDENTIFIER, CONFIGURATION, DISCRETIONARY_DATA, LINE_1_OPTIONAL_DATA, LINE_2_OPTIONAL_DATA, LINE_3_OPTIONAL_DATA, EQV_CODE, ALT_CODE, BINARY_CODE, PSEUDO_CODE, FEE, STAMP_NUMBER, SBH_SECURITY_OPTIONS, SBH_INTEGRITY_OPTIONS, DATE_OF_CREATION, VALIDITY_PERIOD, PATRON_HEADER_VERSION, BDB_TYPE, BIOMETRIC_TYPE, BIOMETRIC_SUBTYPE, BIOMETRIC_PRODUCT_ID, BIOMETRIC_FORMAT_OWNER, BIOMETRIC_FORMAT_TYPE, PHONE, PROFESSION, TITLE, PERSONAL_SUMMARY, OTHER_VALID_ID, CUSTODY_INFO, OTHER_NAME, OBSERVATIONS, TAX, DATE_OF_PERSONALIZATION, PERSONALIZATION_SN, OTHER_PERSON_NAME, PERSON_TO_NOTIFY_DATE_OF_RECORD, PERSON_TO_NOTIFY_NAME, PERSON_TO_NOTIFY_PHONE, PERSON_TO_NOTIFY_ADDRESS, DS_CERTIFICATE_ISSUER, DS_CERTIFICATE_SUBJECT, DS_CERTIFICATE_VALID_FROM, DS_CERTIFICATE_VALID_TO, VRC_DATA_OBJECT_ENTRY, TYPE_APPROVAL_NUMBER, ADMINISTRATIVE_NUMBER, DOCUMENT_DISCRIMINATOR, DATA_DISCRIMINATOR, ISO_ISSUER_ID_NUMBER, GNIB_NUMBER, DEPT_NUMBER, TELEX_CODE, ALLERGIES, SP_CODE, COURT_CODE, CTY, SPONSOR_SSN, DOD_NUMBER, MC_NOVICE_DATE, DUF_NUMBER, AGY, PNR_CODE, FROM_AIRPORT_CODE, TO_AIRPORT_CODE, FLIGHT_NUMBER, DATE_OF_FLIGHT, SEAT_NUMBER, DATE_OF_ISSUE_BOARDING_PASS, CCW_UNTIL, REFERENCE_NUMBER_CHECKSUM, REFERENCE_NUMBER_CHECK_DIGIT, ROOM_NUMBER, RELIGION, REMAINDER_TERM, ELECTRONIC_TICKET_INDICATOR, COMPARTMENT_CODE, CHECK_IN_SEQUENCE_NUMBER, AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER, AIRLINE_NUMERIC_CODE, TICKET_NUMBER, FREQUENT_FLYER_AIRLINE_DESIGNATOR, FREQUENT_FLYER_NUMBER, FREE_BAGGAGE_ALLOWANCE, PDF417_CODEC, IDENTITY_CARD_NUMBER_CHECKSUM, IDENTITY_CARD_NUMBER_CHECK_DIGIT, VETERAN, DL_CLASS_CODE_A1_FROM, DL_CLASS_CODE_A1_TO, DL_CLASS_CODE_A1_NOTES, DL_CLASS_CODE_A_FROM, DL_CLASS_CODE_A_TO, DL_CLASS_CODE_A_NOTES, DL_CLASS_CODE_B_FROM, DL_CLASS_CODE_B_TO, DL_CLASS_CODE_B_NOTES, DL_CLASS_CODE_C1_FROM, DL_CLASS_CODE_C1_TO, DL_CLASS_CODE_C1_NOTES, DL_CLASS_CODE_C_FROM, DL_CLASS_CODE_C_TO, DL_CLASS_CODE_C_NOTES, DL_CLASS_CODE_D1_FROM, DL_CLASS_CODE_D1_TO, DL_CLASS_CODE_D1_NOTES, DL_CLASS_CODE_D_FROM, DL_CLASS_CODE_D_TO, DL_CLASS_CODE_D_NOTES, DL_CLASS_CODE_BE_FROM, DL_CLASS_CODE_BE_TO, DL_CLASS_CODE_BE_NOTES, DL_CLASS_CODE_C1E_FROM, DL_CLASS_CODE_C1E_TO, DL_CLASS_CODE_C1E_NOTES, DL_CLASS_CODE_CE_FROM, DL_CLASS_CODE_CE_TO, DL_CLASS_CODE_CE_NOTES, DL_CLASS_CODE_D1E_FROM, DL_CLASS_CODE_D1E_TO, DL_CLASS_CODE_D1E_NOTES, DL_CLASS_CODE_DE_FROM, DL_CLASS_CODE_DE_TO, DL_CLASS_CODE_DE_NOTES, DL_CLASS_CODE_M_FROM, DL_CLASS_CODE_M_TO, DL_CLASS_CODE_M_NOTES, DL_CLASS_CODE_L_FROM, DL_CLASS_CODE_L_TO, DL_CLASS_CODE_L_NOTES, DL_CLASS_CODE_T_FROM, DL_CLASS_CODE_T_TO, DL_CLASS_CODE_T_NOTES, DL_CLASS_CODE_AM_FROM, DL_CLASS_CODE_AM_TO, DL_CLASS_CODE_AM_NOTES, DL_CLASS_CODE_A2_FROM, DL_CLASS_CODE_A2_TO, DL_CLASS_CODE_A2_NOTES, DL_CLASS_CODE_B1_FROM, DL_CLASS_CODE_B1_TO, DL_CLASS_CODE_B1_NOTES, SURNAME_AT_BIRTH, CIVIL_STATUS, NUMBER_OF_SEATS, NUMBER_OF_STANDING_PLACES, MAX_SPEED, FUEL_TYPE, EC_ENVIRONMENTAL_TYPE, POWER_WEIGHT_RATIO, MAX_MASS_OF_TRAILER_BRAKED, MAX_MASS_OF_TRAILER_UNBRAKED, TRANSMISSION_TYPE, TRAILER_HITCH, ACCOMPANIED_BY, POLICE_DISTRICT, FIRST_ISSUE_DATE, PAYLOAD_CAPACITY, NUMBER_OF_AXLES, PERMISSIBLE_AXLE_LOAD, PRECINCT, INVITED_BY, PURPOSE_OF_ENTRY, SKIN_COLOR, COMPLEXION, AIRPORT_FROM, AIRPORT_TO, AIRLINE_NAME, AIRLINE_NAME_FREQUENT_FLYER, LICENSE_NUMBER, IN_TANKS, EXCEPT_IN_TANKS, FAST_TRACK, OWNER, MRZ_STRINGS_ICAO_RFID, NUMBER_OF_CARD_ISSUANCE, NUMBER_OF_CARD_ISSUANCE_CHECKSUM, NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT, CENTURY_DATE_OF_BIRTH, DL_CLASS_CODE_A3_FROM, DL_CLASS_CODE_A3_TO, DL_CLASS_CODE_A3_NOTES, DL_CLASS_CODE_C2_FROM, DL_CLASS_CODE_C2_TO, DL_CLASS_CODE_C2_NOTES, DL_CLASS_CODE_B2_FROM, DL_CLASS_CODE_B2_TO, DL_CLASS_CODE_B2_NOTES, DL_CLASS_CODE_D2_FROM, DL_CLASS_CODE_D2_TO, DL_CLASS_CODE_D2_NOTES, DL_CLASS_CODE_B2E_FROM, DL_CLASS_CODE_B2E_TO, DL_CLASS_CODE_B2E_NOTES, DL_CLASS_CODE_G_FROM, DL_CLASS_CODE_G_TO, DL_CLASS_CODE_G_NOTES, DL_CLASS_CODE_J_FROM, DL_CLASS_CODE_J_TO, DL_CLASS_CODE_J_NOTES, DL_CLASS_CODE_LC_FROM, DL_CLASS_CODE_LC_TO, DL_CLASS_CODE_LC_NOTES, BANK_CARD_NUMBER, BANK_CARD_VALID_THRU, TAX_NUMBER, HEALTH_NUMBER, GRANDFATHER_NAME, SELECTEE_INDICATOR, MOTHER_SURNAME, MOTHER_GIVEN_NAME, FATHER_SURNAME, FATHER_GIVEN_NAME, MOTHER_DATE_OF_BIRTH, FATHER_DATE_OF_BIRTH, MOTHER_PERSONAL_NUMBER, FATHER_PERSONAL_NUMBER, MOTHER_PLACE_OF_BIRTH, FATHER_PLACE_OF_BIRTH, MOTHER_COUNTRY_OF_BIRTH, FATHER_COUNTRY_OF_BIRTH, DATE_FIRST_RENEWAL, DATE_SECOND_RENEWAL, PLACE_OF_EXAMINATION, APPLICATION_NUMBER, VOUCHER_NUMBER, AUTHORIZATION_NUMBER, FACULTY, FORM_OF_EDUCATION, DNI_NUMBER, RETIREMENT_NUMBER, PROFESSIONAL_ID_NUMBER, AGE_AT_ISSUE, YEARS_SINCE_ISSUE, DL_CLASS_CODE_BTP_FROM, DL_CLASS_CODE_BTP_NOTES, DL_CLASS_CODE_BTP_TO, DL_CLASS_CODE_C3_FROM, DL_CLASS_CODE_C3_NOTES, DL_CLASS_CODE_C3_TO, DL_CLASS_CODE_E_FROM, DL_CLASS_CODE_E_NOTES, DL_CLASS_CODE_E_TO, DL_CLASS_CODE_F_FROM, DL_CLASS_CODE_F_NOTES, DL_CLASS_CODE_F_TO, DL_CLASS_CODE_FA_FROM, DL_CLASS_CODE_FA_NOTES, DL_CLASS_CODE_FA_TO, DL_CLASS_CODE_FA1_FROM, DL_CLASS_CODE_FA1_NOTES, DL_CLASS_CODE_FA1_TO, DL_CLASS_CODE_FB_FROM, DL_CLASS_CODE_FB_NOTES, DL_CLASS_CODE_FB_TO, DL_CLASS_CODE_G1_FROM, DL_CLASS_CODE_G1_NOTES, DL_CLASS_CODE_G1_TO, DL_CLASS_CODE_H_FROM, DL_CLASS_CODE_H_NOTES, DL_CLASS_CODE_H_TO, DL_CLASS_CODE_I_FROM, DL_CLASS_CODE_I_NOTES, DL_CLASS_CODE_I_TO, DL_CLASS_CODE_K_FROM, DL_CLASS_CODE_K_NOTES, DL_CLASS_CODE_K_TO, DL_CLASS_CODE_LK_FROM, DL_CLASS_CODE_LK_NOTES, DL_CLASS_CODE_LK_TO, DL_CLASS_CODE_N_FROM, DL_CLASS_CODE_N_NOTES, DL_CLASS_CODE_N_TO, DL_CLASS_CODE_S_FROM, DL_CLASS_CODE_S_NOTES, DL_CLASS_CODE_S_TO, DL_CLASS_CODE_TB_FROM, DL_CLASS_CODE_TB_NOTES, DL_CLASS_CODE_TB_TO, DL_CLASS_CODE_TM_FROM, DL_CLASS_CODE_TM_NOTES, DL_CLASS_CODE_TM_TO, DL_CLASS_CODE_TR_FROM, DL_CLASS_CODE_TR_NOTES, DL_CLASS_CODE_TR_TO, DL_CLASS_CODE_TV_FROM, DL_CLASS_CODE_TV_NOTES, DL_CLASS_CODE_TV_TO, DL_CLASS_CODE_V_FROM, DL_CLASS_CODE_V_NOTES, DL_CLASS_CODE_V_TO, DL_CLASS_CODE_W_FROM, DL_CLASS_CODE_W_NOTES, DL_CLASS_CODE_W_TO, URL, CALIBER, MODEL, MAKE, NUMBER_OF_CYLINDERS, SURNAME_OF_HUSBAND_AFTER_REGISTRATION, SURNAME_OF_WIFE_AFTER_REGISTRATION, DATE_OF_BIRTH_OF_WIFE, DATE_OF_BIRTH_OF_HUSBAND, CITIZENSHIP_OF_FIRST_PERSON, CITIZENSHIP_OF_SECOND_PERSON, CVV, DATE_OF_INSURANCE_EXPIRY, MORTGAGE_BY, OLD_DOCUMENT_NUMBER, OLD_DATE_OF_ISSUE, OLD_PLACE_OF_ISSUE, DL_CLASS_CODE_LR_FROM, DL_CLASS_CODE_LR_TO, DL_CLASS_CODE_LR_NOTES, DL_CLASS_CODE_MR_FROM, DL_CLASS_CODE_MR_TO, DL_CLASS_CODE_MR_NOTES, DL_CLASS_CODE_HR_FROM, DL_CLASS_CODE_HR_TO, DL_CLASS_CODE_HR_NOTES, DL_CLASS_CODE_HC_FROM, DL_CLASS_CODE_HC_TO, DL_CLASS_CODE_HC_NOTES, DL_CLASS_CODE_MC_FROM, DL_CLASS_CODE_MC_TO, DL_CLASS_CODE_MC_NOTES, DL_CLASS_CODE_RE_FROM, DL_CLASS_CODE_RE_TO, DL_CLASS_CODE_RE_NOTES, DL_CLASS_CODE_R_FROM, DL_CLASS_CODE_R_TO, DL_CLASS_CODE_R_NOTES, DL_CLASS_CODE_CA_FROM, DL_CLASS_CODE_CA_TO, DL_CLASS_CODE_CA_NOTES, CITIZENSHIP_STATUS, MILITARY_SERVICE_FROM, MILITARY_SERVICE_TO, DL_CLASS_CODE_NT_FROM, DL_CLASS_CODE_NT_TO, DL_CLASS_CODE_NT_NOTES, DL_CLASS_CODE_TN_FROM, DL_CLASS_CODE_TN_TO, DL_CLASS_CODE_TN_NOTES, DL_CLASS_CODE_D3_FROM, DL_CLASS_CODE_D3_TO, DL_CLASS_CODE_D3_NOTES, ALT_DATE_OF_EXPIRY, DL_CLASS_CODE_CD_FROM, DL_CLASS_CODE_CD_TO, DL_CLASS_CODE_CD_NOTES, ISSUER_IDENTIFICATION_NUMBER, PAYMENT_PERIOD_FROM, PAYMENT_PERIOD_TO, VACCINATION_CERTIFICATE_IDENTIFIER, FIRST_NAME, DATE_OF_ARRIVAL, SECOND_NAME, THIRD_NAME, FOURTH_NAME, LAST_NAME, DL_CLASS_CODE_RM_FROM, DL_CLASS_CODE_RM_NOTES, DL_CLASS_CODE_RM_TO, DL_CLASS_CODE_PW_FROM, DL_CLASS_CODE_PW_NOTES, DL_CLASS_CODE_PW_TO, DL_CLASS_CODE_EB_FROM, DL_CLASS_CODE_EB_NOTES, DL_CLASS_CODE_EB_TO, DL_CLASS_CODE_EC_FROM, DL_CLASS_CODE_EC_NOTES, DL_CLASS_CODE_EC_TO, DL_CLASS_CODE_EC1_FROM, DL_CLASS_CODE_EC1_NOTES, DL_CLASS_CODE_EC1_TO, PLACE_OF_BIRTH_CITY, YEAR_OF_BIRTH, YEAR_OF_EXPIRY, GRANDFATHER_NAME_MATERNAL, FIRST_SURNAME, MONTH_OF_BIRTH, ADDRESS_FLOOR_NUMBER, ADDRESS_ENTRANCE, ADDRESS_BLOCK_NUMBER, ADDRESS_STREET_NUMBER, ADDRESS_STREET_TYPE, ADDRESS_CITY_SECTOR, ADDRESS_COUNTY_TYPE, ADDRESS_CITY_TYPE, ADDRESS_BUILDING_TYPE, DATE_OF_RETIREMENT, DOCUMENT_STATUS, SIGNATURE, FT_UNIQUE_CERTIFICATE_IDENTIFIER, FT_EMAIL, FT_DATE_OF_SPECIMEN_COLLECTION, FT_TYPE_OF_TESTING, FT_RESULT_OF_TESTING, FT_METHOD_OF_TESTING, FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER, FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT] # noqa: E501 + EF_CARD_ACCESS = int("692") + + allowable_values = [DOCUMENT_CLASS_CODE, ISSUING_STATE_CODE, DOCUMENT_NUMBER, DATE_OF_EXPIRY, DATE_OF_ISSUE, DATE_OF_BIRTH, PLACE_OF_BIRTH, PERSONAL_NUMBER, SURNAME, GIVEN_NAMES, MOTHERS_NAME, NATIONALITY, SEX, HEIGHT, WEIGHT, EYES_COLOR, HAIR_COLOR, ADDRESS, DONOR, SOCIAL_SECURITY_NUMBER, DL_CLASS, DL_ENDORSED, DL_RESTRICTION_CODE, DL_UNDER_21_DATE, AUTHORITY, SURNAME_AND_GIVEN_NAMES, NATIONALITY_CODE, PASSPORT_NUMBER, INVITATION_NUMBER, VISA_ID, VISA_CLASS, VISA_SUBCLASS, MRZ_TYPE, OPTIONAL_DATA, DOCUMENT_CLASS_NAME, ISSUING_STATE_NAME, PLACE_OF_ISSUE, DOCUMENT_NUMBER_CHECKSUM, DATE_OF_BIRTH_CHECKSUM, DATE_OF_EXPIRY_CHECKSUM, PERSONAL_NUMBER_CHECKSUM, FINAL_CHECKSUM, PASSPORT_NUMBER_CHECKSUM, INVITATION_NUMBER_CHECKSUM, VISA_ID_CHECKSUM, SURNAME_AND_GIVEN_NAMES_CHECKSUM, VISA_VALID_UNTIL_CHECKSUM, OTHER, MRZ_STRINGS, NAME_SUFFIX, NAME_PREFIX, DATE_OF_ISSUE_CHECKSUM, DATE_OF_ISSUE_CHECK_DIGIT, DOCUMENT_SERIES, REG_CERT_REG_NUMBER, REG_CERT_CAR_MODEL, REG_CERT_CAR_COLOR, REG_CERT_BODY_NUMBER, REG_CERT_CAR_TYPE, REG_CERT_MAX_WEIGHT, REG_CERT_WEIGHT, ADDRESS_AREA, ADDRESS_STATE, ADDRESS_BUILDING, ADDRESS_HOUSE, ADDRESS_FLAT, PLACE_OF_REGISTRATION, DATE_OF_REGISTRATION, RESIDENT_FROM, RESIDENT_UNTIL, AUTHORITY_CODE, PLACE_OF_BIRTH_AREA, PLACE_OF_BIRTH_STATE_CODE, ADDRESS_STREET, ADDRESS_CITY, ADDRESS_JURISDICTION_CODE, ADDRESS_POSTAL_CODE, DOCUMENT_NUMBER_CHECK_DIGIT, DATE_OF_BIRTH_CHECK_DIGIT, DATE_OF_EXPIRY_CHECK_DIGIT, PERSONAL_NUMBER_CHECK_DIGIT, FINAL_CHECK_DIGIT, PASSPORT_NUMBER_CHECK_DIGIT, INVITATION_NUMBER_CHECK_DIGIT, VISA_ID_CHECK_DIGIT, SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT, VISA_VALID_UNTIL_CHECK_DIGIT, PERMIT_DL_CLASS, PERMIT_DATE_OF_EXPIRY, PERMIT_IDENTIFIER, PERMIT_DATE_OF_ISSUE, PERMIT_RESTRICTION_CODE, PERMIT_ENDORSED, ISSUE_TIMESTAMP, NUMBER_OF_DUPLICATES, MEDICAL_INDICATOR_CODES, NON_RESIDENT_INDICATOR, VISA_TYPE, VISA_VALID_FROM, VISA_VALID_UNTIL, DURATION_OF_STAY, NUMBER_OF_ENTRIES, DAY, MONTH, YEAR, UNIQUE_CUSTOMER_IDENTIFIER, COMMERCIAL_VEHICLE_CODES, AKA_DATE_OF_BIRTH, AKA_SOCIAL_SECURITY_NUMBER, AKA_SURNAME, AKA_GIVEN_NAMES, AKA_NAME_SUFFIX, AKA_NAME_PREFIX, MAILING_ADDRESS_STREET, MAILING_ADDRESS_CITY, MAILING_ADDRESS_JURISDICTION_CODE, MAILING_ADDRESS_POSTAL_CODE, AUDIT_INFORMATION, INVENTORY_NUMBER, RACE_ETHNICITY, JURISDICTION_VEHICLE_CLASS, JURISDICTION_ENDORSEMENT_CODE, JURISDICTION_RESTRICTION_CODE, FAMILY_NAME, GIVEN_NAMES_RUS, VISA_ID_RUS, FATHERS_NAME, FATHERS_NAME_RUS, SURNAME_AND_GIVEN_NAMES_RUS, PLACE_OF_BIRTH_RUS, AUTHORITY_RUS, ISSUING_STATE_CODE_NUMERIC, NATIONALITY_CODE_NUMERIC, ENGINE_POWER, ENGINE_VOLUME, CHASSIS_NUMBER, ENGINE_NUMBER, ENGINE_MODEL, VEHICLE_CATEGORY, IDENTITY_CARD_NUMBER, CONTROL_NUMBER, PARENTS_GIVEN_NAMES, SECOND_SURNAME, MIDDLE_NAME, REG_CERT_VIN, REG_CERT_VIN_CHECK_DIGIT, REG_CERT_VIN_CHECKSUM, LINE_1_CHECK_DIGIT, LINE_2_CHECK_DIGIT, LINE_3_CHECK_DIGIT, LINE_1_CHECKSUM, LINE_2_CHECKSUM, LINE_3_CHECKSUM, REG_CERT_REG_NUMBER_CHECK_DIGIT, REG_CERT_REG_NUMBER_CHECKSUM, REG_CERT_VEHICLE_ITS_CODE, CARD_ACCESS_NUMBER, MARITAL_STATUS, COMPANY_NAME, SPECIAL_NOTES, SURNAME_OF_SPOUSE, TRACKING_NUMBER, BOOKLET_NUMBER, CHILDREN, COPY, SERIAL_NUMBER, DOSSIER_NUMBER, AKA_SURNAME_AND_GIVEN_NAMES, TERRITORIAL_VALIDITY, MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS, DL_CDL_RESTRICTION_CODE, DL_UNDER_18_DATE, DL_RECORD_CREATED, DL_DUPLICATE_DATE, DL_ISSUE_TYPE, MILITARY_BOOK_NUMBER, DESTINATION, BLOOD_GROUP, SEQUENCE_NUMBER, REG_CERT_BODY_TYPE, REG_CERT_CAR_MARK, TRANSACTION_NUMBER, AGE, FOLIO_NUMBER, VOTER_KEY, ADDRESS_MUNICIPALITY, ADDRESS_LOCATION, SECTION, OCR_NUMBER, FEDERAL_ELECTIONS, REFERENCE_NUMBER, OPTIONAL_DATA_CHECKSUM, OPTIONAL_DATA_CHECK_DIGIT, VISA_NUMBER, VISA_NUMBER_CHECKSUM, VISA_NUMBER_CHECK_DIGIT, VOTER, PREVIOUS_TYPE, FIELD_FROM_MRZ, CURRENT_DATE, STATUS_DATE_OF_EXPIRY, BANKNOTE_NUMBER, CSC_CODE, ARTISTIC_NAME, ACADEMIC_TITLE, ADDRESS_COUNTRY, ADDRESS_ZIP_CODE, E_ID_RESIDENCE_PERMIT_1, E_ID_RESIDENCE_PERMIT_2, E_ID_PLACE_OF_BIRTH_STREET, E_ID_PLACE_OF_BIRTH_CITY, E_ID_PLACE_OF_BIRTH_STATE, E_ID_PLACE_OF_BIRTH_COUNTRY, E_ID_PLACE_OF_BIRTH_ZIP_CODE, CDL_CLASS, DL_UNDER_19_DATE, WEIGHT_POUNDS, LIMITED_DURATION_DOCUMENT_INDICATOR, ENDORSEMENT_EXPIRATION_DATE, REVISION_DATE, COMPLIANCE_TYPE, FAMILY_NAME_TRUNCATION, FIRST_NAME_TRUNCATION, MIDDLE_NAME_TRUNCATION, EXAM_DATE, ORGANIZATION, DEPARTMENT, PAY_GRADE, RANK, BENEFITS_NUMBER, SPONSOR_SERVICE, SPONSOR_STATUS, SPONSOR, RELATIONSHIP, USCIS, CATEGORY, CONDITIONS, IDENTIFIER, CONFIGURATION, DISCRETIONARY_DATA, LINE_1_OPTIONAL_DATA, LINE_2_OPTIONAL_DATA, LINE_3_OPTIONAL_DATA, EQV_CODE, ALT_CODE, BINARY_CODE, PSEUDO_CODE, FEE, STAMP_NUMBER, SBH_SECURITY_OPTIONS, SBH_INTEGRITY_OPTIONS, DATE_OF_CREATION, VALIDITY_PERIOD, PATRON_HEADER_VERSION, BDB_TYPE, BIOMETRIC_TYPE, BIOMETRIC_SUBTYPE, BIOMETRIC_PRODUCT_ID, BIOMETRIC_FORMAT_OWNER, BIOMETRIC_FORMAT_TYPE, PHONE, PROFESSION, TITLE, PERSONAL_SUMMARY, OTHER_VALID_ID, CUSTODY_INFO, OTHER_NAME, OBSERVATIONS, TAX, DATE_OF_PERSONALIZATION, PERSONALIZATION_SN, OTHER_PERSON_NAME, PERSON_TO_NOTIFY_DATE_OF_RECORD, PERSON_TO_NOTIFY_NAME, PERSON_TO_NOTIFY_PHONE, PERSON_TO_NOTIFY_ADDRESS, DS_CERTIFICATE_ISSUER, DS_CERTIFICATE_SUBJECT, DS_CERTIFICATE_VALID_FROM, DS_CERTIFICATE_VALID_TO, VRC_DATA_OBJECT_ENTRY, TYPE_APPROVAL_NUMBER, ADMINISTRATIVE_NUMBER, DOCUMENT_DISCRIMINATOR, DATA_DISCRIMINATOR, ISO_ISSUER_ID_NUMBER, DTC_VERSION, DTC_ID, DTC_DATE_OF_EXPIRY, GNIB_NUMBER, DEPT_NUMBER, TELEX_CODE, ALLERGIES, SP_CODE, COURT_CODE, CTY, SPONSOR_SSN, DOD_NUMBER, MC_NOVICE_DATE, DUF_NUMBER, AGY, PNR_CODE, FROM_AIRPORT_CODE, TO_AIRPORT_CODE, FLIGHT_NUMBER, DATE_OF_FLIGHT, SEAT_NUMBER, DATE_OF_ISSUE_BOARDING_PASS, CCW_UNTIL, REFERENCE_NUMBER_CHECKSUM, REFERENCE_NUMBER_CHECK_DIGIT, ROOM_NUMBER, RELIGION, REMAINDER_TERM, ELECTRONIC_TICKET_INDICATOR, COMPARTMENT_CODE, CHECK_IN_SEQUENCE_NUMBER, AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER, AIRLINE_NUMERIC_CODE, TICKET_NUMBER, FREQUENT_FLYER_AIRLINE_DESIGNATOR, FREQUENT_FLYER_NUMBER, FREE_BAGGAGE_ALLOWANCE, PDF417_CODEC, IDENTITY_CARD_NUMBER_CHECKSUM, IDENTITY_CARD_NUMBER_CHECK_DIGIT, VETERAN, DL_CLASS_CODE_A1_FROM, DL_CLASS_CODE_A1_TO, DL_CLASS_CODE_A1_NOTES, DL_CLASS_CODE_A_FROM, DL_CLASS_CODE_A_TO, DL_CLASS_CODE_A_NOTES, DL_CLASS_CODE_B_FROM, DL_CLASS_CODE_B_TO, DL_CLASS_CODE_B_NOTES, DL_CLASS_CODE_C1_FROM, DL_CLASS_CODE_C1_TO, DL_CLASS_CODE_C1_NOTES, DL_CLASS_CODE_C_FROM, DL_CLASS_CODE_C_TO, DL_CLASS_CODE_C_NOTES, DL_CLASS_CODE_D1_FROM, DL_CLASS_CODE_D1_TO, DL_CLASS_CODE_D1_NOTES, DL_CLASS_CODE_D_FROM, DL_CLASS_CODE_D_TO, DL_CLASS_CODE_D_NOTES, DL_CLASS_CODE_BE_FROM, DL_CLASS_CODE_BE_TO, DL_CLASS_CODE_BE_NOTES, DL_CLASS_CODE_C1E_FROM, DL_CLASS_CODE_C1E_TO, DL_CLASS_CODE_C1E_NOTES, DL_CLASS_CODE_CE_FROM, DL_CLASS_CODE_CE_TO, DL_CLASS_CODE_CE_NOTES, DL_CLASS_CODE_D1E_FROM, DL_CLASS_CODE_D1E_TO, DL_CLASS_CODE_D1E_NOTES, DL_CLASS_CODE_DE_FROM, DL_CLASS_CODE_DE_TO, DL_CLASS_CODE_DE_NOTES, DL_CLASS_CODE_M_FROM, DL_CLASS_CODE_M_TO, DL_CLASS_CODE_M_NOTES, DL_CLASS_CODE_L_FROM, DL_CLASS_CODE_L_TO, DL_CLASS_CODE_L_NOTES, DL_CLASS_CODE_T_FROM, DL_CLASS_CODE_T_TO, DL_CLASS_CODE_T_NOTES, DL_CLASS_CODE_AM_FROM, DL_CLASS_CODE_AM_TO, DL_CLASS_CODE_AM_NOTES, DL_CLASS_CODE_A2_FROM, DL_CLASS_CODE_A2_TO, DL_CLASS_CODE_A2_NOTES, DL_CLASS_CODE_B1_FROM, DL_CLASS_CODE_B1_TO, DL_CLASS_CODE_B1_NOTES, SURNAME_AT_BIRTH, CIVIL_STATUS, NUMBER_OF_SEATS, NUMBER_OF_STANDING_PLACES, MAX_SPEED, FUEL_TYPE, EC_ENVIRONMENTAL_TYPE, POWER_WEIGHT_RATIO, MAX_MASS_OF_TRAILER_BRAKED, MAX_MASS_OF_TRAILER_UNBRAKED, TRANSMISSION_TYPE, TRAILER_HITCH, ACCOMPANIED_BY, POLICE_DISTRICT, FIRST_ISSUE_DATE, PAYLOAD_CAPACITY, NUMBER_OF_AXLES, PERMISSIBLE_AXLE_LOAD, PRECINCT, INVITED_BY, PURPOSE_OF_ENTRY, SKIN_COLOR, COMPLEXION, AIRPORT_FROM, AIRPORT_TO, AIRLINE_NAME, AIRLINE_NAME_FREQUENT_FLYER, LICENSE_NUMBER, IN_TANKS, EXCEPT_IN_TANKS, FAST_TRACK, OWNER, MRZ_STRINGS_ICAO_RFID, NUMBER_OF_CARD_ISSUANCE, NUMBER_OF_CARD_ISSUANCE_CHECKSUM, NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT, CENTURY_DATE_OF_BIRTH, DL_CLASS_CODE_A3_FROM, DL_CLASS_CODE_A3_TO, DL_CLASS_CODE_A3_NOTES, DL_CLASS_CODE_C2_FROM, DL_CLASS_CODE_C2_TO, DL_CLASS_CODE_C2_NOTES, DL_CLASS_CODE_B2_FROM, DL_CLASS_CODE_B2_TO, DL_CLASS_CODE_B2_NOTES, DL_CLASS_CODE_D2_FROM, DL_CLASS_CODE_D2_TO, DL_CLASS_CODE_D2_NOTES, DL_CLASS_CODE_B2E_FROM, DL_CLASS_CODE_B2E_TO, DL_CLASS_CODE_B2E_NOTES, DL_CLASS_CODE_G_FROM, DL_CLASS_CODE_G_TO, DL_CLASS_CODE_G_NOTES, DL_CLASS_CODE_J_FROM, DL_CLASS_CODE_J_TO, DL_CLASS_CODE_J_NOTES, DL_CLASS_CODE_LC_FROM, DL_CLASS_CODE_LC_TO, DL_CLASS_CODE_LC_NOTES, BANK_CARD_NUMBER, BANK_CARD_VALID_THRU, TAX_NUMBER, HEALTH_NUMBER, GRANDFATHER_NAME, SELECTEE_INDICATOR, MOTHER_SURNAME, MOTHER_GIVEN_NAME, FATHER_SURNAME, FATHER_GIVEN_NAME, MOTHER_DATE_OF_BIRTH, FATHER_DATE_OF_BIRTH, MOTHER_PERSONAL_NUMBER, FATHER_PERSONAL_NUMBER, MOTHER_PLACE_OF_BIRTH, FATHER_PLACE_OF_BIRTH, MOTHER_COUNTRY_OF_BIRTH, FATHER_COUNTRY_OF_BIRTH, DATE_FIRST_RENEWAL, DATE_SECOND_RENEWAL, PLACE_OF_EXAMINATION, APPLICATION_NUMBER, VOUCHER_NUMBER, AUTHORIZATION_NUMBER, FACULTY, FORM_OF_EDUCATION, DNI_NUMBER, RETIREMENT_NUMBER, PROFESSIONAL_ID_NUMBER, AGE_AT_ISSUE, YEARS_SINCE_ISSUE, DL_CLASS_CODE_BTP_FROM, DL_CLASS_CODE_BTP_NOTES, DL_CLASS_CODE_BTP_TO, DL_CLASS_CODE_C3_FROM, DL_CLASS_CODE_C3_NOTES, DL_CLASS_CODE_C3_TO, DL_CLASS_CODE_E_FROM, DL_CLASS_CODE_E_NOTES, DL_CLASS_CODE_E_TO, DL_CLASS_CODE_F_FROM, DL_CLASS_CODE_F_NOTES, DL_CLASS_CODE_F_TO, DL_CLASS_CODE_FA_FROM, DL_CLASS_CODE_FA_NOTES, DL_CLASS_CODE_FA_TO, DL_CLASS_CODE_FA1_FROM, DL_CLASS_CODE_FA1_NOTES, DL_CLASS_CODE_FA1_TO, DL_CLASS_CODE_FB_FROM, DL_CLASS_CODE_FB_NOTES, DL_CLASS_CODE_FB_TO, DL_CLASS_CODE_G1_FROM, DL_CLASS_CODE_G1_NOTES, DL_CLASS_CODE_G1_TO, DL_CLASS_CODE_H_FROM, DL_CLASS_CODE_H_NOTES, DL_CLASS_CODE_H_TO, DL_CLASS_CODE_I_FROM, DL_CLASS_CODE_I_NOTES, DL_CLASS_CODE_I_TO, DL_CLASS_CODE_K_FROM, DL_CLASS_CODE_K_NOTES, DL_CLASS_CODE_K_TO, DL_CLASS_CODE_LK_FROM, DL_CLASS_CODE_LK_NOTES, DL_CLASS_CODE_LK_TO, DL_CLASS_CODE_N_FROM, DL_CLASS_CODE_N_NOTES, DL_CLASS_CODE_N_TO, DL_CLASS_CODE_S_FROM, DL_CLASS_CODE_S_NOTES, DL_CLASS_CODE_S_TO, DL_CLASS_CODE_TB_FROM, DL_CLASS_CODE_TB_NOTES, DL_CLASS_CODE_TB_TO, DL_CLASS_CODE_TM_FROM, DL_CLASS_CODE_TM_NOTES, DL_CLASS_CODE_TM_TO, DL_CLASS_CODE_TR_FROM, DL_CLASS_CODE_TR_NOTES, DL_CLASS_CODE_TR_TO, DL_CLASS_CODE_TV_FROM, DL_CLASS_CODE_TV_NOTES, DL_CLASS_CODE_TV_TO, DL_CLASS_CODE_V_FROM, DL_CLASS_CODE_V_NOTES, DL_CLASS_CODE_V_TO, DL_CLASS_CODE_W_FROM, DL_CLASS_CODE_W_NOTES, DL_CLASS_CODE_W_TO, URL, CALIBER, MODEL, MAKE, NUMBER_OF_CYLINDERS, SURNAME_OF_HUSBAND_AFTER_REGISTRATION, SURNAME_OF_WIFE_AFTER_REGISTRATION, DATE_OF_BIRTH_OF_WIFE, DATE_OF_BIRTH_OF_HUSBAND, CITIZENSHIP_OF_FIRST_PERSON, CITIZENSHIP_OF_SECOND_PERSON, CVV, DATE_OF_INSURANCE_EXPIRY, MORTGAGE_BY, OLD_DOCUMENT_NUMBER, OLD_DATE_OF_ISSUE, OLD_PLACE_OF_ISSUE, DL_CLASS_CODE_LR_FROM, DL_CLASS_CODE_LR_TO, DL_CLASS_CODE_LR_NOTES, DL_CLASS_CODE_MR_FROM, DL_CLASS_CODE_MR_TO, DL_CLASS_CODE_MR_NOTES, DL_CLASS_CODE_HR_FROM, DL_CLASS_CODE_HR_TO, DL_CLASS_CODE_HR_NOTES, DL_CLASS_CODE_HC_FROM, DL_CLASS_CODE_HC_TO, DL_CLASS_CODE_HC_NOTES, DL_CLASS_CODE_MC_FROM, DL_CLASS_CODE_MC_TO, DL_CLASS_CODE_MC_NOTES, DL_CLASS_CODE_RE_FROM, DL_CLASS_CODE_RE_TO, DL_CLASS_CODE_RE_NOTES, DL_CLASS_CODE_R_FROM, DL_CLASS_CODE_R_TO, DL_CLASS_CODE_R_NOTES, DL_CLASS_CODE_CA_FROM, DL_CLASS_CODE_CA_TO, DL_CLASS_CODE_CA_NOTES, CITIZENSHIP_STATUS, MILITARY_SERVICE_FROM, MILITARY_SERVICE_TO, DL_CLASS_CODE_NT_FROM, DL_CLASS_CODE_NT_TO, DL_CLASS_CODE_NT_NOTES, DL_CLASS_CODE_TN_FROM, DL_CLASS_CODE_TN_TO, DL_CLASS_CODE_TN_NOTES, DL_CLASS_CODE_D3_FROM, DL_CLASS_CODE_D3_TO, DL_CLASS_CODE_D3_NOTES, ALT_DATE_OF_EXPIRY, DL_CLASS_CODE_CD_FROM, DL_CLASS_CODE_CD_TO, DL_CLASS_CODE_CD_NOTES, ISSUER_IDENTIFICATION_NUMBER, PAYMENT_PERIOD_FROM, PAYMENT_PERIOD_TO, VACCINATION_CERTIFICATE_IDENTIFIER, FIRST_NAME, DATE_OF_ARRIVAL, SECOND_NAME, THIRD_NAME, FOURTH_NAME, LAST_NAME, DL_CLASS_CODE_RM_FROM, DL_CLASS_CODE_RM_NOTES, DL_CLASS_CODE_RM_TO, DL_CLASS_CODE_PW_FROM, DL_CLASS_CODE_PW_NOTES, DL_CLASS_CODE_PW_TO, DL_CLASS_CODE_EB_FROM, DL_CLASS_CODE_EB_NOTES, DL_CLASS_CODE_EB_TO, DL_CLASS_CODE_EC_FROM, DL_CLASS_CODE_EC_NOTES, DL_CLASS_CODE_EC_TO, DL_CLASS_CODE_EC1_FROM, DL_CLASS_CODE_EC1_NOTES, DL_CLASS_CODE_EC1_TO, PLACE_OF_BIRTH_CITY, YEAR_OF_BIRTH, YEAR_OF_EXPIRY, GRANDFATHER_NAME_MATERNAL, FIRST_SURNAME, MONTH_OF_BIRTH, ADDRESS_FLOOR_NUMBER, ADDRESS_ENTRANCE, ADDRESS_BLOCK_NUMBER, ADDRESS_STREET_NUMBER, ADDRESS_STREET_TYPE, ADDRESS_CITY_SECTOR, ADDRESS_COUNTY_TYPE, ADDRESS_CITY_TYPE, ADDRESS_BUILDING_TYPE, DATE_OF_RETIREMENT, DOCUMENT_STATUS, SIGNATURE, FT_UNIQUE_CERTIFICATE_IDENTIFIER, FT_EMAIL, FT_DATE_OF_SPECIMEN_COLLECTION, FT_TYPE_OF_TESTING, FT_RESULT_OF_TESTING, FT_METHOD_OF_TESTING, FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER, FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT, EF_CARD_ACCESS] # noqa: E501 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/transaction_info.py b/regula/documentreader/webclient/gen/models/transaction_info.py index 91f30a9..055f545 100755 --- a/regula/documentreader/webclient/gen/models/transaction_info.py +++ b/regula/documentreader/webclient/gen/models/transaction_info.py @@ -34,18 +34,26 @@ class TransactionInfo(object): openapi_types = { 'computer_name': 'str', 'date_time': 'str', + 'documents_database': 'DocumentsDatabase', + 'system_info': 'str', + 'tag': 'str', 'transaction_id': 'str', - 'user_name': 'str' + 'user_name': 'str', + 'version': 'str' } attribute_map = { 'computer_name': 'ComputerName', 'date_time': 'DateTime', + 'documents_database': 'DocumentsDatabase', + 'system_info': 'SystemInfo', + 'tag': 'Tag', 'transaction_id': 'TransactionID', - 'user_name': 'UserName' + 'user_name': 'UserName', + 'version': 'Version' } - def __init__(self, computer_name=None, date_time=None, transaction_id=None, user_name=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, computer_name=None, date_time=None, documents_database=None, system_info=None, tag=None, transaction_id=None, user_name=None, version=None, local_vars_configuration=None): # noqa: E501 """TransactionInfo - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -53,23 +61,36 @@ def __init__(self, computer_name=None, date_time=None, transaction_id=None, user self._computer_name = None self._date_time = None + self._documents_database = None + self._system_info = None + self._tag = None self._transaction_id = None self._user_name = None + self._version = None self.discriminator = None if computer_name is not None: self.computer_name = computer_name if date_time is not None: self.date_time = date_time + if documents_database is not None: + self.documents_database = documents_database + if system_info is not None: + self.system_info = system_info + if tag is not None: + self.tag = tag if transaction_id is not None: self.transaction_id = transaction_id if user_name is not None: self.user_name = user_name + if version is not None: + self.version = version @property def computer_name(self): """Gets the computer_name of this TransactionInfo. # noqa: E501 + Computer name # noqa: E501 :return: The computer_name of this TransactionInfo. # noqa: E501 :rtype: str @@ -80,6 +101,7 @@ def computer_name(self): def computer_name(self, computer_name): """Sets the computer_name of this TransactionInfo. + Computer name # noqa: E501 :param computer_name: The computer_name of this TransactionInfo. # noqa: E501 :type computer_name: str @@ -91,6 +113,7 @@ def computer_name(self, computer_name): def date_time(self): """Gets the date_time of this TransactionInfo. # noqa: E501 + Date and time # noqa: E501 :return: The date_time of this TransactionInfo. # noqa: E501 :rtype: str @@ -101,6 +124,7 @@ def date_time(self): def date_time(self, date_time): """Sets the date_time of this TransactionInfo. + Date and time # noqa: E501 :param date_time: The date_time of this TransactionInfo. # noqa: E501 :type date_time: str @@ -108,10 +132,78 @@ def date_time(self, date_time): self._date_time = date_time + @property + def documents_database(self): + """Gets the documents_database of this TransactionInfo. # noqa: E501 + + + :return: The documents_database of this TransactionInfo. # noqa: E501 + :rtype: DocumentsDatabase + """ + return self._documents_database + + @documents_database.setter + def documents_database(self, documents_database): + """Sets the documents_database of this TransactionInfo. + + + :param documents_database: The documents_database of this TransactionInfo. # noqa: E501 + :type documents_database: DocumentsDatabase + """ + + self._documents_database = documents_database + + @property + def system_info(self): + """Gets the system_info of this TransactionInfo. # noqa: E501 + + System information # noqa: E501 + + :return: The system_info of this TransactionInfo. # noqa: E501 + :rtype: str + """ + return self._system_info + + @system_info.setter + def system_info(self, system_info): + """Sets the system_info of this TransactionInfo. + + System information # noqa: E501 + + :param system_info: The system_info of this TransactionInfo. # noqa: E501 + :type system_info: str + """ + + self._system_info = system_info + + @property + def tag(self): + """Gets the tag of this TransactionInfo. # noqa: E501 + + Transaction tag # noqa: E501 + + :return: The tag of this TransactionInfo. # noqa: E501 + :rtype: str + """ + return self._tag + + @tag.setter + def tag(self, tag): + """Sets the tag of this TransactionInfo. + + Transaction tag # noqa: E501 + + :param tag: The tag of this TransactionInfo. # noqa: E501 + :type tag: str + """ + + self._tag = tag + @property def transaction_id(self): """Gets the transaction_id of this TransactionInfo. # noqa: E501 + Transaction identifier # noqa: E501 :return: The transaction_id of this TransactionInfo. # noqa: E501 :rtype: str @@ -122,6 +214,7 @@ def transaction_id(self): def transaction_id(self, transaction_id): """Sets the transaction_id of this TransactionInfo. + Transaction identifier # noqa: E501 :param transaction_id: The transaction_id of this TransactionInfo. # noqa: E501 :type transaction_id: str @@ -133,6 +226,7 @@ def transaction_id(self, transaction_id): def user_name(self): """Gets the user_name of this TransactionInfo. # noqa: E501 + User name # noqa: E501 :return: The user_name of this TransactionInfo. # noqa: E501 :rtype: str @@ -143,6 +237,7 @@ def user_name(self): def user_name(self, user_name): """Sets the user_name of this TransactionInfo. + User name # noqa: E501 :param user_name: The user_name of this TransactionInfo. # noqa: E501 :type user_name: str @@ -150,6 +245,29 @@ def user_name(self, user_name): self._user_name = user_name + @property + def version(self): + """Gets the version of this TransactionInfo. # noqa: E501 + + SDK version # noqa: E501 + + :return: The version of this TransactionInfo. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this TransactionInfo. + + SDK version # noqa: E501 + + :param version: The version of this TransactionInfo. # noqa: E501 + :type version: str + """ + + self._version = version + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/regula/documentreader/webclient/gen/models/transaction_process_get_response.py b/regula/documentreader/webclient/gen/models/transaction_process_get_response.py index ddab9f3..ed842b8 100644 --- a/regula/documentreader/webclient/gen/models/transaction_process_get_response.py +++ b/regula/documentreader/webclient/gen/models/transaction_process_get_response.py @@ -32,7 +32,7 @@ class TransactionProcessGetResponse(object): and the value is json key in definition. """ openapi_types = { - 'transaction_id': 'int', + 'transaction_id': 'str', 'tag': 'str', 'out_data': 'OutData', 'in_data': 'InData' @@ -72,7 +72,7 @@ def transaction_id(self): :return: The transaction_id of this TransactionProcessGetResponse. # noqa: E501 - :rtype: int + :rtype: str """ return self._transaction_id @@ -82,7 +82,7 @@ def transaction_id(self, transaction_id): :param transaction_id: The transaction_id of this TransactionProcessGetResponse. # noqa: E501 - :type transaction_id: int + :type transaction_id: str """ self._transaction_id = transaction_id diff --git a/regula/documentreader/webclient/gen/models/transaction_process_request.py b/regula/documentreader/webclient/gen/models/transaction_process_request.py index d620a8d..4abdb1d 100644 --- a/regula/documentreader/webclient/gen/models/transaction_process_request.py +++ b/regula/documentreader/webclient/gen/models/transaction_process_request.py @@ -38,7 +38,8 @@ class TransactionProcessRequest(object): 'ext_portrait': 'str', 'container_list': 'ContainerList', 'system_info': 'ProcessSystemInfo', - 'pass_back_object': 'dict(str, object)' + 'pass_back_object': 'dict(str, object)', + 'dtc': 'str' } attribute_map = { @@ -48,10 +49,11 @@ class TransactionProcessRequest(object): 'ext_portrait': 'extPortrait', 'container_list': 'ContainerList', 'system_info': 'systemInfo', - 'pass_back_object': 'passBackObject' + 'pass_back_object': 'passBackObject', + 'dtc': 'dtc' } - def __init__(self, process_param=None, list=None, live_portrait=None, ext_portrait=None, container_list=None, system_info=None, pass_back_object=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, process_param=None, list=None, live_portrait=None, ext_portrait=None, container_list=None, system_info=None, pass_back_object=None, dtc=None, local_vars_configuration=None): # noqa: E501 """TransactionProcessRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -64,6 +66,7 @@ def __init__(self, process_param=None, list=None, live_portrait=None, ext_portra self._container_list = None self._system_info = None self._pass_back_object = None + self._dtc = None self.discriminator = None self.process_param = process_param @@ -79,6 +82,8 @@ def __init__(self, process_param=None, list=None, live_portrait=None, ext_portra self.system_info = system_info if pass_back_object is not None: self.pass_back_object = pass_back_object + if dtc is not None: + self.dtc = dtc @property def process_param(self): @@ -235,6 +240,29 @@ def pass_back_object(self, pass_back_object): self._pass_back_object = pass_back_object + @property + def dtc(self): + """Gets the dtc of this TransactionProcessRequest. # noqa: E501 + + Digital Travel Credential (DTC-VC) data in base64 format for processing # noqa: E501 + + :return: The dtc of this TransactionProcessRequest. # noqa: E501 + :rtype: str + """ + return self._dtc + + @dtc.setter + def dtc(self, dtc): + """Sets the dtc of this TransactionProcessRequest. + + Digital Travel Credential (DTC-VC) data in base64 format for processing # noqa: E501 + + :param dtc: The dtc of this TransactionProcessRequest. # noqa: E501 + :type dtc: str + """ + + self._dtc = dtc + def to_dict(self): """Returns the model properties as a dict""" result = {}