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 @@ -143,6 +143,7 @@ regula/documentreader/webclient/gen/models/text_result_all_of.py
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/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 @@ -161,6 +161,7 @@
from regula.documentreader.webclient.gen.models.transaction_image import TransactionImage
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.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
32 changes: 16 additions & 16 deletions regula/documentreader/webclient/gen/api/transaction_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,21 +300,21 @@ def api_v2_transaction_transaction_id_get_with_http_info(self, transaction_id, *
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))

def api_v2_transaction_transaction_id_process_post(self, transaction_id, x_client_key, body, **kwargs): # noqa: E501
def api_v2_transaction_transaction_id_process_post(self, transaction_id, x_client_key, transaction_process_request, **kwargs): # noqa: E501
"""Preprocess # noqa: E501

This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.api_v2_transaction_transaction_id_process_post(transaction_id, x_client_key, body, async_req=True)
>>> thread = api.api_v2_transaction_transaction_id_process_post(transaction_id, x_client_key, transaction_process_request, async_req=True)
>>> result = thread.get()

:param transaction_id: Transaction id (required)
:type transaction_id: int
:param x_client_key: (required)
:type x_client_key: str
:param body: (required)
:type body: TransactionTransactionIdProcess
:param transaction_process_request: (required)
:type transaction_process_request: TransactionProcessRequest
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
Expand All @@ -331,23 +331,23 @@ def api_v2_transaction_transaction_id_process_post(self, transaction_id, x_clien
:rtype: InlineResponse200
"""
kwargs['_return_http_data_only'] = True
return self.api_v2_transaction_transaction_id_process_post_with_http_info(transaction_id, x_client_key, body, **kwargs) # noqa: E501
return self.api_v2_transaction_transaction_id_process_post_with_http_info(transaction_id, x_client_key, transaction_process_request, **kwargs) # noqa: E501

def api_v2_transaction_transaction_id_process_post_with_http_info(self, transaction_id, x_client_key, body, **kwargs): # noqa: E501
def api_v2_transaction_transaction_id_process_post_with_http_info(self, transaction_id, x_client_key, transaction_process_request, **kwargs): # noqa: E501
"""Preprocess # noqa: E501

This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.api_v2_transaction_transaction_id_process_post_with_http_info(transaction_id, x_client_key, body, async_req=True)
>>> thread = api.api_v2_transaction_transaction_id_process_post_with_http_info(transaction_id, x_client_key, transaction_process_request, async_req=True)
>>> result = thread.get()

:param transaction_id: Transaction id (required)
:type transaction_id: int
:param x_client_key: (required)
:type x_client_key: str
:param body: (required)
:type body: TransactionTransactionIdProcess
:param transaction_process_request: (required)
:type transaction_process_request: TransactionProcessRequest
: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
Expand Down Expand Up @@ -376,7 +376,7 @@ def api_v2_transaction_transaction_id_process_post_with_http_info(self, transact
all_params = [
'transaction_id',
'x_client_key',
'body'
'transaction_process_request'
]
all_params.extend(
[
Expand Down Expand Up @@ -404,10 +404,10 @@ def api_v2_transaction_transaction_id_process_post_with_http_info(self, transact
if self.api_client.client_side_validation and ('x_client_key' not in local_var_params or # noqa: E501
local_var_params['x_client_key'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `x_client_key` when calling `api_v2_transaction_transaction_id_process_post`") # noqa: E501
# verify the required parameter 'body' is set
if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501
local_var_params['body'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `body` when calling `api_v2_transaction_transaction_id_process_post`") # noqa: E501
# verify the required parameter 'transaction_process_request' is set
if self.api_client.client_side_validation and ('transaction_process_request' not in local_var_params or # noqa: E501
local_var_params['transaction_process_request'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `transaction_process_request` when calling `api_v2_transaction_transaction_id_process_post`") # noqa: E501

collection_formats = {}

Expand All @@ -425,8 +425,8 @@ def api_v2_transaction_transaction_id_process_post_with_http_info(self, transact
local_var_files = {}

body_params = None
if 'body' in local_var_params:
body_params = local_var_params['body']
if 'transaction_process_request' in local_var_params:
body_params = local_var_params['transaction_process_request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
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 @@ -144,6 +144,7 @@
from regula.documentreader.webclient.gen.models.transaction_image import TransactionImage
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.verification_result import VerificationResult
from regula.documentreader.webclient.gen.models.verified_field_map import VerifiedFieldMap
from regula.documentreader.webclient.gen.models.visibility import Visibility
Loading