Skip to content

Commit

Permalink
Issue with processing the document
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 12, 2023
1 parent 2a285dd commit 758f85f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion regula/documentreader/webclient/gen/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 6.8.0\n"\
"Version of the API: 6.9.0\n"\
"SDK Package Version: 1.0.0".\
format(env=sys.platform, pyversion=sys.version)

Expand Down
8 changes: 5 additions & 3 deletions regula/documentreader/webclient/gen/models/process_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class ProcessParams(object):
'split_names': 'bool',
'disable_perforation_ocr': 'bool',
'document_group_filter': 'list[DocumentType]',
'process_auth': 'AuthenticityResultType[object]',
'process_auth': 'int',
'device_id': 'int',
'device_type': 'int',
'device_type_hex': 'str',
Expand Down Expand Up @@ -1248,19 +1248,21 @@ def document_group_filter(self, document_group_filter):
def process_auth(self):
"""Gets the process_auth of this ProcessParams. # noqa: E501
Authenticity checks that should be performed regardless of the document type. The available checks are listed in the eRPRM_Authenticity enum. Note that only supported by your license checks can be added. # noqa: E501
:return: The process_auth of this ProcessParams. # noqa: E501
:rtype: AuthenticityResultType[object]
:rtype: int
"""
return self._process_auth

@process_auth.setter
def process_auth(self, process_auth):
"""Sets the process_auth of this ProcessParams.
Authenticity checks that should be performed regardless of the document type. The available checks are listed in the eRPRM_Authenticity enum. Note that only supported by your license checks can be added. # noqa: E501
:param process_auth: The process_auth of this ProcessParams. # noqa: E501
:type process_auth: AuthenticityResultType[object]
:type process_auth: int
"""

self._process_auth = process_auth
Expand Down
6 changes: 5 additions & 1 deletion regula/documentreader/webclient/gen/models/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,14 @@ class Result(object):

STATUS = int("33")

PORTRAIT_COMPARISON = int("34")

TEXT = int("36")

IMAGES = int("37")

FINGERPRINT_COMPARISON = int("39")

ENCRYPTED_RCL = int("49")

LICENSE = int("50")
Expand All @@ -70,7 +74,7 @@ class Result(object):

RFID_ORIGINAL_GRAPHICS = int("105")

allowable_values = [DOCUMENT_IMAGE, MRZ_TEXT, BARCODES, VISUAL_GRAPHICS, DOCUMENT_TYPE_CANDIDATES, DOCUMENT_TYPE, LEXICAL_ANALYSIS, VISUAL_TEXT, BARCODE_TEXT, BARCODE_GRAPHICS, AUTHENTICITY, IMAGE_QUALITY, STATUS, TEXT, IMAGES, ENCRYPTED_RCL, LICENSE, DOCUMENT_POSITION, RFID_RAW_DATA, RFID_TEXT, RFID_GRAPHICS, RFID_BINARY_DATA, RFID_ORIGINAL_GRAPHICS] # noqa: E501
allowable_values = [DOCUMENT_IMAGE, MRZ_TEXT, BARCODES, VISUAL_GRAPHICS, DOCUMENT_TYPE_CANDIDATES, DOCUMENT_TYPE, LEXICAL_ANALYSIS, 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

"""
Attributes:
Expand Down
2 changes: 2 additions & 0 deletions regula/documentreader/webclient/gen/models/result_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ class ResultItem(object):
3 : 'TextDataResult',
30 : 'ImageQualityResult',
33 : 'StatusResult',
34 : 'AuthenticityResult',
36 : 'TextResult',
37 : 'ImagesResult',
39 : 'AuthenticityResult',
49 : 'EncryptedRCLResult',
5 : 'DocBarCodeInfo',
50 : 'LicenseResult',
Expand Down

0 comments on commit 758f85f

Please sign in to comment.