Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ regula/documentreader/webclient/gen/models/transaction_image.py
regula/documentreader/webclient/gen/models/transaction_info.py
regula/documentreader/webclient/gen/models/transaction_process_get_response.py
regula/documentreader/webclient/gen/models/transaction_process_request.py
regula/documentreader/webclient/gen/models/transaction_scenario_request.py
regula/documentreader/webclient/gen/models/verification_result.py
regula/documentreader/webclient/gen/models/verified_field_map.py
regula/documentreader/webclient/gen/models/visibility.py
Expand Down
1 change: 1 addition & 0 deletions regula/documentreader/webclient/gen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
from regula.documentreader.webclient.gen.models.transaction_info import TransactionInfo
from regula.documentreader.webclient.gen.models.transaction_process_get_response import TransactionProcessGetResponse
from regula.documentreader.webclient.gen.models.transaction_process_request import TransactionProcessRequest
from regula.documentreader.webclient.gen.models.transaction_scenario_request import TransactionScenarioRequest
from regula.documentreader.webclient.gen.models.verification_result import VerificationResult
from regula.documentreader.webclient.gen.models.verified_field_map import VerifiedFieldMap
from regula.documentreader.webclient.gen.models.visibility import Visibility
Expand Down
10 changes: 5 additions & 5 deletions regula/documentreader/webclient/gen/api/transaction_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def api_v2_tag_tag_id_delete_with_http_info(self, tag_id, **kwargs): # noqa: E5
}

return self.api_client.call_api(
'/api/v2/tag/{tag_id}', 'DELETE',
'/api/v2/tag/{tagId}', 'DELETE',
path_params,
query_params,
header_params,
Expand Down Expand Up @@ -294,7 +294,7 @@ def api_v2_transaction_transaction_id_file_get_with_http_info(self, transaction_
}

return self.api_client.call_api(
'/api/v2/transaction/{transaction_id}/file', 'GET',
'/api/v2/transaction/{transactionId}/file', 'GET',
path_params,
query_params,
header_params,
Expand Down Expand Up @@ -429,7 +429,7 @@ def api_v2_transaction_transaction_id_get_with_http_info(self, transaction_id, *
}

return self.api_client.call_api(
'/api/v2/transaction/{transaction_id}', 'GET',
'/api/v2/transaction/{transactionId}', 'GET',
path_params,
query_params,
header_params,
Expand Down Expand Up @@ -579,7 +579,7 @@ def api_v2_transaction_transaction_id_process_post_with_http_info(self, transact
}

return self.api_client.call_api(
'/api/v2/transaction/{transaction_id}/process', 'POST',
'/api/v2/transaction/{transactionId}/process', 'POST',
path_params,
query_params,
header_params,
Expand Down Expand Up @@ -721,7 +721,7 @@ def api_v2_transaction_transaction_id_results_get_with_http_info(self, transacti
}

return self.api_client.call_api(
'/api/v2/transaction/{transaction_id}/results', 'GET',
'/api/v2/transaction/{transactionId}/results', 'GET',
path_params,
query_params,
header_params,
Expand Down
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: 7.1.2\n"\
"Version of the API: 7.2.0\n"\
"SDK Package Version: 1.0.0".\
format(env=sys.platform, pyversion=sys.version)

Expand Down
1 change: 1 addition & 0 deletions regula/documentreader/webclient/gen/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
from regula.documentreader.webclient.gen.models.transaction_info import TransactionInfo
from regula.documentreader.webclient.gen.models.transaction_process_get_response import TransactionProcessGetResponse
from regula.documentreader.webclient.gen.models.transaction_process_request import TransactionProcessRequest
from regula.documentreader.webclient.gen.models.transaction_scenario_request import TransactionScenarioRequest
from regula.documentreader.webclient.gen.models.verification_result import VerificationResult
from regula.documentreader.webclient.gen.models.verified_field_map import VerifiedFieldMap
from regula.documentreader.webclient.gen.models.visibility import Visibility
Original file line number Diff line number Diff line change
Expand Up @@ -32,89 +32,31 @@ class TransactionProcessRequest(object):
and the value is json key in definition.
"""
openapi_types = {
'tag': 'str',
'process_param': 'ProcessParams',
'list': 'list[ProcessRequestImage]',
'live_portrait': 'str',
'ext_portrait': 'str',
'container_list': 'ContainerList',
'system_info': 'ProcessSystemInfo',
'pass_back_object': 'dict(str, object)'
'process_param': 'TransactionScenarioRequest'
}

attribute_map = {
'tag': 'tag',
'process_param': 'processParam',
'list': 'List',
'live_portrait': 'livePortrait',
'ext_portrait': 'extPortrait',
'container_list': 'ContainerList',
'system_info': 'systemInfo',
'pass_back_object': 'passBackObject'
'process_param': 'processParam'
}

def __init__(self, tag=None, 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, local_vars_configuration=None): # noqa: E501
"""TransactionProcessRequest - 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._live_portrait = None
self._ext_portrait = None
self._container_list = None
self._system_info = None
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
if live_portrait is not None:
self.live_portrait = live_portrait
if ext_portrait is not None:
self.ext_portrait = ext_portrait
if container_list is not None:
self.container_list = container_list
if system_info is not None:
self.system_info = system_info
if pass_back_object is not None:
self.pass_back_object = pass_back_object

@property
def tag(self):
"""Gets the tag of this TransactionProcessRequest. # noqa: E501

session id # noqa: E501

:return: The tag of this TransactionProcessRequest. # noqa: E501
:rtype: str
"""
return self._tag

@tag.setter
def tag(self, tag):
"""Sets the tag of this TransactionProcessRequest.

session id # noqa: E501

:param tag: The tag of this TransactionProcessRequest. # noqa: E501
:type tag: str
"""

self._tag = tag

@property
def process_param(self):
"""Gets the process_param of this TransactionProcessRequest. # noqa: E501


:return: The process_param of this TransactionProcessRequest. # noqa: E501
:rtype: ProcessParams
:rtype: TransactionScenarioRequest
"""
return self._process_param

Expand All @@ -124,145 +66,13 @@ def process_param(self, process_param):


:param process_param: The process_param of this TransactionProcessRequest. # noqa: E501
:type process_param: ProcessParams
:type process_param: TransactionScenarioRequest
"""
if self.local_vars_configuration.client_side_validation and process_param is None: # noqa: E501
raise ValueError("Invalid value for `process_param`, must not be `None`") # noqa: E501

self._process_param = process_param

@property
def list(self):
"""Gets the list of this TransactionProcessRequest. # noqa: E501


:return: The list of this TransactionProcessRequest. # noqa: E501
:rtype: list[ProcessRequestImage]
"""
return self._list

@list.setter
def list(self, list):
"""Sets the list of this TransactionProcessRequest.


:param list: The list of this TransactionProcessRequest. # noqa: E501
:type list: list[ProcessRequestImage]
"""

self._list = list

@property
def live_portrait(self):
"""Gets the live_portrait of this TransactionProcessRequest. # noqa: E501

Live portrait photo # noqa: E501

:return: The live_portrait of this TransactionProcessRequest. # noqa: E501
:rtype: str
"""
return self._live_portrait

@live_portrait.setter
def live_portrait(self, live_portrait):
"""Sets the live_portrait of this TransactionProcessRequest.

Live portrait photo # noqa: E501

:param live_portrait: The live_portrait of this TransactionProcessRequest. # noqa: E501
:type live_portrait: str
"""

self._live_portrait = live_portrait

@property
def ext_portrait(self):
"""Gets the ext_portrait of this TransactionProcessRequest. # noqa: E501

Portrait photo from an external source # noqa: E501

:return: The ext_portrait of this TransactionProcessRequest. # noqa: E501
:rtype: str
"""
return self._ext_portrait

@ext_portrait.setter
def ext_portrait(self, ext_portrait):
"""Sets the ext_portrait of this TransactionProcessRequest.

Portrait photo from an external source # noqa: E501

:param ext_portrait: The ext_portrait of this TransactionProcessRequest. # noqa: E501
:type ext_portrait: str
"""

self._ext_portrait = ext_portrait

@property
def container_list(self):
"""Gets the container_list of this TransactionProcessRequest. # noqa: E501


:return: The container_list of this TransactionProcessRequest. # noqa: E501
:rtype: ContainerList
"""
return self._container_list

@container_list.setter
def container_list(self, container_list):
"""Sets the container_list of this TransactionProcessRequest.


:param container_list: The container_list of this TransactionProcessRequest. # noqa: E501
:type container_list: ContainerList
"""

self._container_list = container_list

@property
def system_info(self):
"""Gets the system_info of this TransactionProcessRequest. # noqa: E501


:return: The system_info of this TransactionProcessRequest. # noqa: E501
:rtype: ProcessSystemInfo
"""
return self._system_info

@system_info.setter
def system_info(self, system_info):
"""Sets the system_info of this TransactionProcessRequest.


:param system_info: The system_info of this TransactionProcessRequest. # noqa: E501
:type system_info: ProcessSystemInfo
"""

self._system_info = system_info

@property
def pass_back_object(self):
"""Gets the pass_back_object of this TransactionProcessRequest. # noqa: E501

Free-form object to be included in response. Must be object, not list or simple value. Do not affect document processing. Use it freely to pass your app params. Stored in process logs. # noqa: E501

:return: The pass_back_object of this TransactionProcessRequest. # noqa: E501
:rtype: dict(str, object)
"""
return self._pass_back_object

@pass_back_object.setter
def pass_back_object(self, pass_back_object):
"""Sets the pass_back_object of this TransactionProcessRequest.

Free-form object to be included in response. Must be object, not list or simple value. Do not affect document processing. Use it freely to pass your app params. Stored in process logs. # noqa: E501

:param pass_back_object: The pass_back_object of this TransactionProcessRequest. # noqa: E501
:type pass_back_object: dict(str, object)
"""

self._pass_back_object = pass_back_object

def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
Expand Down
Loading