diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 67a81c9..0091521 100755 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -15,6 +15,8 @@ regula/documentreader/webclient/gen/models/authenticity_check_result_item.py regula/documentreader/webclient/gen/models/authenticity_result.py 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/check_diagnose.py regula/documentreader/webclient/gen/models/check_result.py regula/documentreader/webclient/gen/models/chosen_document_type.py @@ -22,9 +24,12 @@ regula/documentreader/webclient/gen/models/chosen_document_type_result.py regula/documentreader/webclient/gen/models/chosen_document_type_result_all_of.py regula/documentreader/webclient/gen/models/critical.py regula/documentreader/webclient/gen/models/cross_source_value_comparison.py +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/doc_bar_code_info.py +regula/documentreader/webclient/gen/models/doc_bar_code_info_all_of.py regula/documentreader/webclient/gen/models/doc_visual_extended_field.py regula/documentreader/webclient/gen/models/doc_visual_extended_info.py regula/documentreader/webclient/gen/models/document_format.py @@ -79,6 +84,7 @@ regula/documentreader/webclient/gen/models/ocr_security_text_result.py regula/documentreader/webclient/gen/models/ocr_security_text_result_all_of.py regula/documentreader/webclient/gen/models/one_candidate.py regula/documentreader/webclient/gen/models/original_symbol.py +regula/documentreader/webclient/gen/models/p_array_field.py regula/documentreader/webclient/gen/models/per_document_config.py regula/documentreader/webclient/gen/models/photo_ident_result.py regula/documentreader/webclient/gen/models/photo_ident_result_all_of.py diff --git a/regula/documentreader/webclient/ext/models/recognition_request.py b/regula/documentreader/webclient/ext/models/recognition_request.py index dbf2b3c..5466f62 100755 --- a/regula/documentreader/webclient/ext/models/recognition_request.py +++ b/regula/documentreader/webclient/ext/models/recognition_request.py @@ -62,7 +62,7 @@ class RecognitionRequest(ProcessRequest): def __init__( self, process_params: ProcessParams, images: List[Union[RecognitionImage, bytes, Base64String]] = None, - container_list: ContainerList = None + container_list: ContainerList = None, tag=None ): input_images = [] if images: @@ -71,6 +71,12 @@ def __init__( input_images.append(RecognitionImage(image)) else: input_images.append(image) - super().__init__(process_params, list=input_images, system_info=ProcessSystemInfo()) + super().__init__( + process_param=process_params, list=input_images, + system_info=ProcessSystemInfo(), tag=tag + ) if container_list: - super().__init__(process_params, container_list=container_list, system_info=ProcessSystemInfo()) + super().__init__( + process_param=process_params, container_list=container_list, + system_info=ProcessSystemInfo(), tag=tag + ) diff --git a/regula/documentreader/webclient/gen/__init__.py b/regula/documentreader/webclient/gen/__init__.py index a31d749..263652f 100755 --- a/regula/documentreader/webclient/gen/__init__.py +++ b/regula/documentreader/webclient/gen/__init__.py @@ -32,6 +32,8 @@ from regula.documentreader.webclient.gen.models.authenticity_result import AuthenticityResult from regula.documentreader.webclient.gen.models.authenticity_result_all_of import AuthenticityResultAllOf 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.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 @@ -40,9 +42,12 @@ from regula.documentreader.webclient.gen.models.container_list import ContainerList from regula.documentreader.webclient.gen.models.critical import Critical from regula.documentreader.webclient.gen.models.cross_source_value_comparison import CrossSourceValueComparison +from regula.documentreader.webclient.gen.models.data_module import DataModule 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.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_visual_extended_field import DocVisualExtendedField from regula.documentreader.webclient.gen.models.doc_visual_extended_info import DocVisualExtendedInfo from regula.documentreader.webclient.gen.models.document_format import DocumentFormat @@ -97,6 +102,7 @@ from regula.documentreader.webclient.gen.models.ocr_security_text_result_all_of import OCRSecurityTextResultAllOf from regula.documentreader.webclient.gen.models.one_candidate import OneCandidate from regula.documentreader.webclient.gen.models.original_symbol import OriginalSymbol +from regula.documentreader.webclient.gen.models.p_array_field import PArrayField from regula.documentreader.webclient.gen.models.per_document_config import PerDocumentConfig from regula.documentreader.webclient.gen.models.photo_ident_result import PhotoIdentResult from regula.documentreader.webclient.gen.models.photo_ident_result_all_of import PhotoIdentResultAllOf diff --git a/regula/documentreader/webclient/gen/models/__init__.py b/regula/documentreader/webclient/gen/models/__init__.py index 2d7d198..cce68be 100755 --- a/regula/documentreader/webclient/gen/models/__init__.py +++ b/regula/documentreader/webclient/gen/models/__init__.py @@ -16,6 +16,8 @@ from regula.documentreader.webclient.gen.models.authenticity_result import AuthenticityResult from regula.documentreader.webclient.gen.models.authenticity_result_all_of import AuthenticityResultAllOf 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.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 @@ -24,9 +26,12 @@ from regula.documentreader.webclient.gen.models.container_list import ContainerList from regula.documentreader.webclient.gen.models.critical import Critical from regula.documentreader.webclient.gen.models.cross_source_value_comparison import CrossSourceValueComparison +from regula.documentreader.webclient.gen.models.data_module import DataModule 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.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_visual_extended_field import DocVisualExtendedField from regula.documentreader.webclient.gen.models.doc_visual_extended_info import DocVisualExtendedInfo from regula.documentreader.webclient.gen.models.document_format import DocumentFormat @@ -81,6 +86,7 @@ from regula.documentreader.webclient.gen.models.ocr_security_text_result_all_of import OCRSecurityTextResultAllOf from regula.documentreader.webclient.gen.models.one_candidate import OneCandidate from regula.documentreader.webclient.gen.models.original_symbol import OriginalSymbol +from regula.documentreader.webclient.gen.models.p_array_field import PArrayField from regula.documentreader.webclient.gen.models.per_document_config import PerDocumentConfig from regula.documentreader.webclient.gen.models.photo_ident_result import PhotoIdentResult from regula.documentreader.webclient.gen.models.photo_ident_result_all_of import PhotoIdentResultAllOf diff --git a/regula/documentreader/webclient/gen/models/bc_pdf417_info.py b/regula/documentreader/webclient/gen/models/bc_pdf417_info.py new file mode 100644 index 0000000..322c85d --- /dev/null +++ b/regula/documentreader/webclient/gen/models/bc_pdf417_info.py @@ -0,0 +1,249 @@ +# 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 BcPDF417INFO(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 = { + 'angle': 'float', + 'bc_column': 'int', + 'bc_error_level': 'int', + 'bc_row': 'int', + 'min_x': 'float', + 'min_y': 'float' + } + + attribute_map = { + 'angle': 'Angle', + 'bc_column': 'bcColumn', + 'bc_error_level': 'bcErrorLevel', + 'bc_row': 'bcRow', + 'min_x': 'minX', + 'min_y': 'minY' + } + + def __init__(self, angle=None, bc_column=None, bc_error_level=None, bc_row=None, min_x=None, min_y=None, local_vars_configuration=None): # noqa: E501 + """BcPDF417INFO - 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._angle = None + self._bc_column = None + self._bc_error_level = None + self._bc_row = None + self._min_x = None + self._min_y = None + self.discriminator = None + + if angle is not None: + self.angle = angle + if bc_column is not None: + self.bc_column = bc_column + if bc_error_level is not None: + self.bc_error_level = bc_error_level + if bc_row is not None: + self.bc_row = bc_row + if min_x is not None: + self.min_x = min_x + if min_y is not None: + self.min_y = min_y + + @property + def angle(self): + """Gets the angle of this BcPDF417INFO. # noqa: E501 + + + :return: The angle of this BcPDF417INFO. # noqa: E501 + :rtype: float + """ + return self._angle + + @angle.setter + def angle(self, angle): + """Sets the angle of this BcPDF417INFO. + + + :param angle: The angle of this BcPDF417INFO. # noqa: E501 + :type angle: float + """ + + self._angle = angle + + @property + def bc_column(self): + """Gets the bc_column of this BcPDF417INFO. # noqa: E501 + + + :return: The bc_column of this BcPDF417INFO. # noqa: E501 + :rtype: int + """ + return self._bc_column + + @bc_column.setter + def bc_column(self, bc_column): + """Sets the bc_column of this BcPDF417INFO. + + + :param bc_column: The bc_column of this BcPDF417INFO. # noqa: E501 + :type bc_column: int + """ + + self._bc_column = bc_column + + @property + def bc_error_level(self): + """Gets the bc_error_level of this BcPDF417INFO. # noqa: E501 + + + :return: The bc_error_level of this BcPDF417INFO. # noqa: E501 + :rtype: int + """ + return self._bc_error_level + + @bc_error_level.setter + def bc_error_level(self, bc_error_level): + """Sets the bc_error_level of this BcPDF417INFO. + + + :param bc_error_level: The bc_error_level of this BcPDF417INFO. # noqa: E501 + :type bc_error_level: int + """ + + self._bc_error_level = bc_error_level + + @property + def bc_row(self): + """Gets the bc_row of this BcPDF417INFO. # noqa: E501 + + + :return: The bc_row of this BcPDF417INFO. # noqa: E501 + :rtype: int + """ + return self._bc_row + + @bc_row.setter + def bc_row(self, bc_row): + """Sets the bc_row of this BcPDF417INFO. + + + :param bc_row: The bc_row of this BcPDF417INFO. # noqa: E501 + :type bc_row: int + """ + + self._bc_row = bc_row + + @property + def min_x(self): + """Gets the min_x of this BcPDF417INFO. # noqa: E501 + + + :return: The min_x of this BcPDF417INFO. # noqa: E501 + :rtype: float + """ + return self._min_x + + @min_x.setter + def min_x(self, min_x): + """Sets the min_x of this BcPDF417INFO. + + + :param min_x: The min_x of this BcPDF417INFO. # noqa: E501 + :type min_x: float + """ + + self._min_x = min_x + + @property + def min_y(self): + """Gets the min_y of this BcPDF417INFO. # noqa: E501 + + + :return: The min_y of this BcPDF417INFO. # noqa: E501 + :rtype: float + """ + return self._min_y + + @min_y.setter + def min_y(self, min_y): + """Sets the min_y of this BcPDF417INFO. + + + :param min_y: The min_y of this BcPDF417INFO. # noqa: E501 + :type min_y: float + """ + + self._min_y = min_y + + 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, BcPDF417INFO): + 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, BcPDF417INFO): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/bc_roidetect.py b/regula/documentreader/webclient/gen/models/bc_roidetect.py new file mode 100644 index 0000000..eba4755 --- /dev/null +++ b/regula/documentreader/webclient/gen/models/bc_roidetect.py @@ -0,0 +1,197 @@ +# 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 BcROIDETECT(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 = { + 'bottom': 'int', + 'left': 'int', + 'right': 'int', + 'top': 'int' + } + + attribute_map = { + 'bottom': 'bottom', + 'left': 'left', + 'right': 'right', + 'top': 'top' + } + + def __init__(self, bottom=None, left=None, right=None, top=None, local_vars_configuration=None): # noqa: E501 + """BcROIDETECT - 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._bottom = None + self._left = None + self._right = None + self._top = None + self.discriminator = None + + if bottom is not None: + self.bottom = bottom + if left is not None: + self.left = left + if right is not None: + self.right = right + if top is not None: + self.top = top + + @property + def bottom(self): + """Gets the bottom of this BcROIDETECT. # noqa: E501 + + + :return: The bottom of this BcROIDETECT. # noqa: E501 + :rtype: int + """ + return self._bottom + + @bottom.setter + def bottom(self, bottom): + """Sets the bottom of this BcROIDETECT. + + + :param bottom: The bottom of this BcROIDETECT. # noqa: E501 + :type bottom: int + """ + + self._bottom = bottom + + @property + def left(self): + """Gets the left of this BcROIDETECT. # noqa: E501 + + + :return: The left of this BcROIDETECT. # noqa: E501 + :rtype: int + """ + return self._left + + @left.setter + def left(self, left): + """Sets the left of this BcROIDETECT. + + + :param left: The left of this BcROIDETECT. # noqa: E501 + :type left: int + """ + + self._left = left + + @property + def right(self): + """Gets the right of this BcROIDETECT. # noqa: E501 + + + :return: The right of this BcROIDETECT. # noqa: E501 + :rtype: int + """ + return self._right + + @right.setter + def right(self, right): + """Sets the right of this BcROIDETECT. + + + :param right: The right of this BcROIDETECT. # noqa: E501 + :type right: int + """ + + self._right = right + + @property + def top(self): + """Gets the top of this BcROIDETECT. # noqa: E501 + + + :return: The top of this BcROIDETECT. # noqa: E501 + :rtype: int + """ + return self._top + + @top.setter + def top(self, top): + """Sets the top of this BcROIDETECT. + + + :param top: The top of this BcROIDETECT. # noqa: E501 + :type top: int + """ + + self._top = top + + 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, BcROIDETECT): + 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, BcROIDETECT): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/data_module.py b/regula/documentreader/webclient/gen/models/data_module.py new file mode 100644 index 0000000..4a7e64b --- /dev/null +++ b/regula/documentreader/webclient/gen/models/data_module.py @@ -0,0 +1,223 @@ +# 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 DataModule(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 = { + 'm_data': 'str', + 'm_length': 'int', + 'm_reserved1': 'int', + 'm_reserver2': 'int', + 'm_type': 'int' + } + + attribute_map = { + 'm_data': 'mData', + 'm_length': 'mLength', + 'm_reserved1': 'mReserved1', + 'm_reserver2': 'mReserver2', + 'm_type': 'mType' + } + + def __init__(self, m_data=None, m_length=None, m_reserved1=None, m_reserver2=None, m_type=None, local_vars_configuration=None): # noqa: E501 + """DataModule - 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._m_data = None + self._m_length = None + self._m_reserved1 = None + self._m_reserver2 = None + self._m_type = None + self.discriminator = None + + if m_data is not None: + self.m_data = m_data + if m_length is not None: + self.m_length = m_length + if m_reserved1 is not None: + self.m_reserved1 = m_reserved1 + if m_reserver2 is not None: + self.m_reserver2 = m_reserver2 + if m_type is not None: + self.m_type = m_type + + @property + def m_data(self): + """Gets the m_data of this DataModule. # noqa: E501 + + + :return: The m_data of this DataModule. # noqa: E501 + :rtype: str + """ + return self._m_data + + @m_data.setter + def m_data(self, m_data): + """Sets the m_data of this DataModule. + + + :param m_data: The m_data of this DataModule. # noqa: E501 + :type m_data: str + """ + + self._m_data = m_data + + @property + def m_length(self): + """Gets the m_length of this DataModule. # noqa: E501 + + + :return: The m_length of this DataModule. # noqa: E501 + :rtype: int + """ + return self._m_length + + @m_length.setter + def m_length(self, m_length): + """Sets the m_length of this DataModule. + + + :param m_length: The m_length of this DataModule. # noqa: E501 + :type m_length: int + """ + + self._m_length = m_length + + @property + def m_reserved1(self): + """Gets the m_reserved1 of this DataModule. # noqa: E501 + + + :return: The m_reserved1 of this DataModule. # noqa: E501 + :rtype: int + """ + return self._m_reserved1 + + @m_reserved1.setter + def m_reserved1(self, m_reserved1): + """Sets the m_reserved1 of this DataModule. + + + :param m_reserved1: The m_reserved1 of this DataModule. # noqa: E501 + :type m_reserved1: int + """ + + self._m_reserved1 = m_reserved1 + + @property + def m_reserver2(self): + """Gets the m_reserver2 of this DataModule. # noqa: E501 + + + :return: The m_reserver2 of this DataModule. # noqa: E501 + :rtype: int + """ + return self._m_reserver2 + + @m_reserver2.setter + def m_reserver2(self, m_reserver2): + """Sets the m_reserver2 of this DataModule. + + + :param m_reserver2: The m_reserver2 of this DataModule. # noqa: E501 + :type m_reserver2: int + """ + + self._m_reserver2 = m_reserver2 + + @property + def m_type(self): + """Gets the m_type of this DataModule. # noqa: E501 + + + :return: The m_type of this DataModule. # noqa: E501 + :rtype: int + """ + return self._m_type + + @m_type.setter + def m_type(self, m_type): + """Sets the m_type of this DataModule. + + + :param m_type: The m_type of this DataModule. # noqa: E501 + :type m_type: int + """ + + self._m_type = m_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, DataModule): + 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, DataModule): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/doc_bar_code_info.py b/regula/documentreader/webclient/gen/models/doc_bar_code_info.py new file mode 100644 index 0000000..a21eccf --- /dev/null +++ b/regula/documentreader/webclient/gen/models/doc_bar_code_info.py @@ -0,0 +1,282 @@ +# 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 * + + +""" +Raw data from BarCodes +""" +class DocBarCodeInfo(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 = { + 'n_fields': 'int', + 'p_array_fields': 'list[PArrayField]', + 'buf_length': 'int', + 'light': 'int', + 'list_idx': 'int', + 'page_idx': 'int', + 'result_type': 'int' + } + + attribute_map = { + 'n_fields': 'nFields', + 'p_array_fields': 'pArrayFields', + 'buf_length': 'buf_length', + 'light': 'light', + 'list_idx': 'list_idx', + 'page_idx': 'page_idx', + 'result_type': 'result_type' + } + + def __init__(self, n_fields=None, p_array_fields=None, buf_length=None, light=None, list_idx=None, page_idx=None, result_type=0, local_vars_configuration=None): # noqa: E501 + """DocBarCodeInfo - 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._n_fields = None + self._p_array_fields = None + self._buf_length = None + self._light = None + self._list_idx = None + self._page_idx = None + self._result_type = None + self.discriminator = None + + if n_fields is not None: + self.n_fields = n_fields + if p_array_fields is not None: + self.p_array_fields = p_array_fields + 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 n_fields(self): + """Gets the n_fields of this DocBarCodeInfo. # noqa: E501 + + Count of array fields # noqa: E501 + + :return: The n_fields of this DocBarCodeInfo. # noqa: E501 + :rtype: int + """ + return self._n_fields + + @n_fields.setter + def n_fields(self, n_fields): + """Sets the n_fields of this DocBarCodeInfo. + + Count of array fields # noqa: E501 + + :param n_fields: The n_fields of this DocBarCodeInfo. # noqa: E501 + :type n_fields: int + """ + + self._n_fields = n_fields + + @property + def p_array_fields(self): + """Gets the p_array_fields of this DocBarCodeInfo. # noqa: E501 + + Data from barcode # noqa: E501 + + :return: The p_array_fields of this DocBarCodeInfo. # noqa: E501 + :rtype: list[PArrayField] + """ + return self._p_array_fields + + @p_array_fields.setter + def p_array_fields(self, p_array_fields): + """Sets the p_array_fields of this DocBarCodeInfo. + + Data from barcode # noqa: E501 + + :param p_array_fields: The p_array_fields of this DocBarCodeInfo. # noqa: E501 + :type p_array_fields: list[PArrayField] + """ + + self._p_array_fields = p_array_fields + + @property + def buf_length(self): + """Gets the buf_length of this DocBarCodeInfo. # noqa: E501 + + + :return: The buf_length of this DocBarCodeInfo. # noqa: E501 + :rtype: int + """ + return self._buf_length + + @buf_length.setter + def buf_length(self, buf_length): + """Sets the buf_length of this DocBarCodeInfo. + + + :param buf_length: The buf_length of this DocBarCodeInfo. # noqa: E501 + :type buf_length: int + """ + + self._buf_length = buf_length + + @property + def light(self): + """Gets the light of this DocBarCodeInfo. # noqa: E501 + + + :return: The light of this DocBarCodeInfo. # noqa: E501 + :rtype: int + """ + return self._light + + @light.setter + def light(self, light): + """Sets the light of this DocBarCodeInfo. + + + :param light: The light of this DocBarCodeInfo. # noqa: E501 + :type light: int + """ + + self._light = light + + @property + def list_idx(self): + """Gets the list_idx of this DocBarCodeInfo. # noqa: E501 + + + :return: The list_idx of this DocBarCodeInfo. # noqa: E501 + :rtype: int + """ + return self._list_idx + + @list_idx.setter + def list_idx(self, list_idx): + """Sets the list_idx of this DocBarCodeInfo. + + + :param list_idx: The list_idx of this DocBarCodeInfo. # noqa: E501 + :type list_idx: int + """ + + self._list_idx = list_idx + + @property + def page_idx(self): + """Gets the page_idx of this DocBarCodeInfo. # noqa: E501 + + + :return: The page_idx of this DocBarCodeInfo. # noqa: E501 + :rtype: int + """ + return self._page_idx + + @page_idx.setter + def page_idx(self, page_idx): + """Sets the page_idx of this DocBarCodeInfo. + + + :param page_idx: The page_idx of this DocBarCodeInfo. # noqa: E501 + :type page_idx: int + """ + + self._page_idx = page_idx + + @property + def result_type(self): + """Gets the result_type of this DocBarCodeInfo. # 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 DocBarCodeInfo. # noqa: E501 + :rtype: int + """ + return self._result_type + + @result_type.setter + def result_type(self, result_type): + """Sets the result_type of this DocBarCodeInfo. + + 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 DocBarCodeInfo. # 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, DocBarCodeInfo): + 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, DocBarCodeInfo): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/doc_bar_code_info_all_of.py b/regula/documentreader/webclient/gen/models/doc_bar_code_info_all_of.py new file mode 100644 index 0000000..c04c1e8 --- /dev/null +++ b/regula/documentreader/webclient/gen/models/doc_bar_code_info_all_of.py @@ -0,0 +1,149 @@ +# 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 DocBarCodeInfoAllOf(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 = { + 'n_fields': 'int', + 'p_array_fields': 'list[PArrayField]' + } + + attribute_map = { + 'n_fields': 'nFields', + 'p_array_fields': 'pArrayFields' + } + + def __init__(self, n_fields=None, p_array_fields=None, local_vars_configuration=None): # noqa: E501 + """DocBarCodeInfoAllOf - 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._n_fields = None + self._p_array_fields = None + self.discriminator = None + + if n_fields is not None: + self.n_fields = n_fields + if p_array_fields is not None: + self.p_array_fields = p_array_fields + + @property + def n_fields(self): + """Gets the n_fields of this DocBarCodeInfoAllOf. # noqa: E501 + + Count of array fields # noqa: E501 + + :return: The n_fields of this DocBarCodeInfoAllOf. # noqa: E501 + :rtype: int + """ + return self._n_fields + + @n_fields.setter + def n_fields(self, n_fields): + """Sets the n_fields of this DocBarCodeInfoAllOf. + + Count of array fields # noqa: E501 + + :param n_fields: The n_fields of this DocBarCodeInfoAllOf. # noqa: E501 + :type n_fields: int + """ + + self._n_fields = n_fields + + @property + def p_array_fields(self): + """Gets the p_array_fields of this DocBarCodeInfoAllOf. # noqa: E501 + + Data from barcode # noqa: E501 + + :return: The p_array_fields of this DocBarCodeInfoAllOf. # noqa: E501 + :rtype: list[PArrayField] + """ + return self._p_array_fields + + @p_array_fields.setter + def p_array_fields(self, p_array_fields): + """Sets the p_array_fields of this DocBarCodeInfoAllOf. + + Data from barcode # noqa: E501 + + :param p_array_fields: The p_array_fields of this DocBarCodeInfoAllOf. # noqa: E501 + :type p_array_fields: list[PArrayField] + """ + + self._p_array_fields = p_array_fields + + 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, DocBarCodeInfoAllOf): + 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, DocBarCodeInfoAllOf): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/p_array_field.py b/regula/documentreader/webclient/gen/models/p_array_field.py new file mode 100644 index 0000000..164e6de --- /dev/null +++ b/regula/documentreader/webclient/gen/models/p_array_field.py @@ -0,0 +1,353 @@ +# 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 PArrayField(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 = { + 'bc_angle_detect': 'float', + 'bc_code_result': 'int', + 'bc_count_module': 'int', + 'bc_data_module': 'list[DataModule]', + 'bc_pdf417_info': 'BcPDF417INFO', + 'bc_roi_detect': 'BcROIDETECT', + 'bc_text_decoder_types': 'int', + 'bc_text_field_type': 'int', + 'bc_type_decode': 'int', + 'bc_type_detect': 'int' + } + + attribute_map = { + 'bc_angle_detect': 'bcAngle_DETECT', + 'bc_code_result': 'bcCodeResult', + 'bc_count_module': 'bcCountModule', + 'bc_data_module': 'bcDataModule', + 'bc_pdf417_info': 'bcPDF417INFO', + 'bc_roi_detect': 'bcROI_DETECT', + 'bc_text_decoder_types': 'bcTextDecoderTypes', + 'bc_text_field_type': 'bcTextFieldType', + 'bc_type_decode': 'bcType_DECODE', + 'bc_type_detect': 'bcType_DETECT' + } + + def __init__(self, bc_angle_detect=None, bc_code_result=None, bc_count_module=None, bc_data_module=None, bc_pdf417_info=None, bc_roi_detect=None, bc_text_decoder_types=None, bc_text_field_type=None, bc_type_decode=None, bc_type_detect=None, local_vars_configuration=None): # noqa: E501 + """PArrayField - 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._bc_angle_detect = None + self._bc_code_result = None + self._bc_count_module = None + self._bc_data_module = None + self._bc_pdf417_info = None + self._bc_roi_detect = None + self._bc_text_decoder_types = None + self._bc_text_field_type = None + self._bc_type_decode = None + self._bc_type_detect = None + self.discriminator = None + + if bc_angle_detect is not None: + self.bc_angle_detect = bc_angle_detect + if bc_code_result is not None: + self.bc_code_result = bc_code_result + if bc_count_module is not None: + self.bc_count_module = bc_count_module + if bc_data_module is not None: + self.bc_data_module = bc_data_module + if bc_pdf417_info is not None: + self.bc_pdf417_info = bc_pdf417_info + if bc_roi_detect is not None: + self.bc_roi_detect = bc_roi_detect + if bc_text_decoder_types is not None: + self.bc_text_decoder_types = bc_text_decoder_types + if bc_text_field_type is not None: + self.bc_text_field_type = bc_text_field_type + if bc_type_decode is not None: + self.bc_type_decode = bc_type_decode + if bc_type_detect is not None: + self.bc_type_detect = bc_type_detect + + @property + def bc_angle_detect(self): + """Gets the bc_angle_detect of this PArrayField. # noqa: E501 + + + :return: The bc_angle_detect of this PArrayField. # noqa: E501 + :rtype: float + """ + return self._bc_angle_detect + + @bc_angle_detect.setter + def bc_angle_detect(self, bc_angle_detect): + """Sets the bc_angle_detect of this PArrayField. + + + :param bc_angle_detect: The bc_angle_detect of this PArrayField. # noqa: E501 + :type bc_angle_detect: float + """ + + self._bc_angle_detect = bc_angle_detect + + @property + def bc_code_result(self): + """Gets the bc_code_result of this PArrayField. # noqa: E501 + + + :return: The bc_code_result of this PArrayField. # noqa: E501 + :rtype: int + """ + return self._bc_code_result + + @bc_code_result.setter + def bc_code_result(self, bc_code_result): + """Sets the bc_code_result of this PArrayField. + + + :param bc_code_result: The bc_code_result of this PArrayField. # noqa: E501 + :type bc_code_result: int + """ + + self._bc_code_result = bc_code_result + + @property + def bc_count_module(self): + """Gets the bc_count_module of this PArrayField. # noqa: E501 + + + :return: The bc_count_module of this PArrayField. # noqa: E501 + :rtype: int + """ + return self._bc_count_module + + @bc_count_module.setter + def bc_count_module(self, bc_count_module): + """Sets the bc_count_module of this PArrayField. + + + :param bc_count_module: The bc_count_module of this PArrayField. # noqa: E501 + :type bc_count_module: int + """ + + self._bc_count_module = bc_count_module + + @property + def bc_data_module(self): + """Gets the bc_data_module of this PArrayField. # noqa: E501 + + + :return: The bc_data_module of this PArrayField. # noqa: E501 + :rtype: list[DataModule] + """ + return self._bc_data_module + + @bc_data_module.setter + def bc_data_module(self, bc_data_module): + """Sets the bc_data_module of this PArrayField. + + + :param bc_data_module: The bc_data_module of this PArrayField. # noqa: E501 + :type bc_data_module: list[DataModule] + """ + + self._bc_data_module = bc_data_module + + @property + def bc_pdf417_info(self): + """Gets the bc_pdf417_info of this PArrayField. # noqa: E501 + + + :return: The bc_pdf417_info of this PArrayField. # noqa: E501 + :rtype: BcPDF417INFO + """ + return self._bc_pdf417_info + + @bc_pdf417_info.setter + def bc_pdf417_info(self, bc_pdf417_info): + """Sets the bc_pdf417_info of this PArrayField. + + + :param bc_pdf417_info: The bc_pdf417_info of this PArrayField. # noqa: E501 + :type bc_pdf417_info: BcPDF417INFO + """ + + self._bc_pdf417_info = bc_pdf417_info + + @property + def bc_roi_detect(self): + """Gets the bc_roi_detect of this PArrayField. # noqa: E501 + + + :return: The bc_roi_detect of this PArrayField. # noqa: E501 + :rtype: BcROIDETECT + """ + return self._bc_roi_detect + + @bc_roi_detect.setter + def bc_roi_detect(self, bc_roi_detect): + """Sets the bc_roi_detect of this PArrayField. + + + :param bc_roi_detect: The bc_roi_detect of this PArrayField. # noqa: E501 + :type bc_roi_detect: BcROIDETECT + """ + + self._bc_roi_detect = bc_roi_detect + + @property + def bc_text_decoder_types(self): + """Gets the bc_text_decoder_types of this PArrayField. # noqa: E501 + + + :return: The bc_text_decoder_types of this PArrayField. # noqa: E501 + :rtype: int + """ + return self._bc_text_decoder_types + + @bc_text_decoder_types.setter + def bc_text_decoder_types(self, bc_text_decoder_types): + """Sets the bc_text_decoder_types of this PArrayField. + + + :param bc_text_decoder_types: The bc_text_decoder_types of this PArrayField. # noqa: E501 + :type bc_text_decoder_types: int + """ + + self._bc_text_decoder_types = bc_text_decoder_types + + @property + def bc_text_field_type(self): + """Gets the bc_text_field_type of this PArrayField. # noqa: E501 + + + :return: The bc_text_field_type of this PArrayField. # noqa: E501 + :rtype: int + """ + return self._bc_text_field_type + + @bc_text_field_type.setter + def bc_text_field_type(self, bc_text_field_type): + """Sets the bc_text_field_type of this PArrayField. + + + :param bc_text_field_type: The bc_text_field_type of this PArrayField. # noqa: E501 + :type bc_text_field_type: int + """ + + self._bc_text_field_type = bc_text_field_type + + @property + def bc_type_decode(self): + """Gets the bc_type_decode of this PArrayField. # noqa: E501 + + + :return: The bc_type_decode of this PArrayField. # noqa: E501 + :rtype: int + """ + return self._bc_type_decode + + @bc_type_decode.setter + def bc_type_decode(self, bc_type_decode): + """Sets the bc_type_decode of this PArrayField. + + + :param bc_type_decode: The bc_type_decode of this PArrayField. # noqa: E501 + :type bc_type_decode: int + """ + + self._bc_type_decode = bc_type_decode + + @property + def bc_type_detect(self): + """Gets the bc_type_detect of this PArrayField. # noqa: E501 + + + :return: The bc_type_detect of this PArrayField. # noqa: E501 + :rtype: int + """ + return self._bc_type_detect + + @bc_type_detect.setter + def bc_type_detect(self, bc_type_detect): + """Sets the bc_type_detect of this PArrayField. + + + :param bc_type_detect: The bc_type_detect of this PArrayField. # noqa: E501 + :type bc_type_detect: int + """ + + self._bc_type_detect = bc_type_detect + + 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, PArrayField): + 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, PArrayField): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/process_request.py b/regula/documentreader/webclient/gen/models/process_request.py index 84e9523..dd7add7 100755 --- a/regula/documentreader/webclient/gen/models/process_request.py +++ b/regula/documentreader/webclient/gen/models/process_request.py @@ -32,6 +32,7 @@ class ProcessRequest(object): and the value is json key in definition. """ openapi_types = { + 'tag': 'str', 'process_param': 'ProcessParams', 'list': 'list[ProcessRequestImage]', 'container_list': 'ContainerList', @@ -40,6 +41,7 @@ class ProcessRequest(object): } attribute_map = { + 'tag': 'tag', 'process_param': 'processParam', 'list': 'List', 'container_list': 'ContainerList', @@ -47,12 +49,13 @@ class ProcessRequest(object): 'pass_back_object': 'passBackObject' } - def __init__(self, process_param=None, list=None, container_list=None, system_info=None, pass_back_object=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, tag=None, process_param=None, list=None, container_list=None, system_info=None, pass_back_object=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() self.local_vars_configuration = local_vars_configuration + self._tag = None self._process_param = None self._list = None self._container_list = None @@ -60,6 +63,8 @@ def __init__(self, process_param=None, list=None, container_list=None, system_in self._pass_back_object = None self.discriminator = None + if tag is not None: + self.tag = tag self.process_param = process_param if list is not None: self.list = list @@ -70,6 +75,29 @@ def __init__(self, process_param=None, list=None, container_list=None, system_in if pass_back_object is not None: self.pass_back_object = pass_back_object + @property + def tag(self): + """Gets the tag of this ProcessRequest. # noqa: E501 + + session id # noqa: E501 + + :return: The tag of this ProcessRequest. # noqa: E501 + :rtype: str + """ + return self._tag + + @tag.setter + def tag(self, tag): + """Sets the tag of this ProcessRequest. + + session id # noqa: E501 + + :param tag: The tag of this ProcessRequest. # noqa: E501 + :type tag: str + """ + + self._tag = tag + @property def process_param(self): """Gets the process_param of this ProcessRequest. # noqa: E501 diff --git a/regula/documentreader/webclient/gen/models/result.py b/regula/documentreader/webclient/gen/models/result.py index d131229..5488f75 100755 --- a/regula/documentreader/webclient/gen/models/result.py +++ b/regula/documentreader/webclient/gen/models/result.py @@ -58,11 +58,13 @@ class Result(object): DOCUMENT_POSITION = int("85") + BARCODES = int("5") + LICENSE = int("50") ENCRYPTED_RCL = int("49") - allowable_values = [DOCUMENT_IMAGE, IMAGE_QUALITY, STATUS, TEXT, IMAGES, MRZ_TEXT, VISUAL_TEXT, BARCODE_TEXT, RFID_TEXT, LEXICAL_ANALYSIS, VISUAL_GRAPHICS, BARCODE_GRAPHICS, RFID_GRAPHICS, DOCUMENT_TYPE_CANDIDATES, DOCUMENT_TYPE, AUTHENTICITY, DOCUMENT_POSITION, LICENSE, ENCRYPTED_RCL] # noqa: E501 + allowable_values = [DOCUMENT_IMAGE, IMAGE_QUALITY, STATUS, TEXT, IMAGES, MRZ_TEXT, VISUAL_TEXT, BARCODE_TEXT, RFID_TEXT, LEXICAL_ANALYSIS, VISUAL_GRAPHICS, BARCODE_GRAPHICS, RFID_GRAPHICS, DOCUMENT_TYPE_CANDIDATES, DOCUMENT_TYPE, AUTHENTICITY, DOCUMENT_POSITION, BARCODES, LICENSE, ENCRYPTED_RCL] # noqa: E501 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/result_item.py b/regula/documentreader/webclient/gen/models/result_item.py index 644c0ef..3b5cabe 100755 --- a/regula/documentreader/webclient/gen/models/result_item.py +++ b/regula/documentreader/webclient/gen/models/result_item.py @@ -61,6 +61,7 @@ class ResultItem(object): 36 : 'TextResult', 37 : 'ImagesResult', 49 : 'EncryptedRCLResult', + 5 : 'DocBarCodeInfo', 50 : 'LicenseResult', 6 : 'GraphicsResult', 8 : 'DocumentTypesCandidatesResult',