Skip to content

Commit 470fa55

Browse files
Merge pull request #111 from regulaforensics/1cb75119
update
2 parents cb64c7d + 0216df0 commit 470fa55

File tree

5 files changed

+329
-16
lines changed

5 files changed

+329
-16
lines changed

.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ regula/documentreader/webclient/gen/models/text_result_all_of.py
143143
regula/documentreader/webclient/gen/models/transaction_image.py
144144
regula/documentreader/webclient/gen/models/transaction_info.py
145145
regula/documentreader/webclient/gen/models/transaction_process_get_response.py
146+
regula/documentreader/webclient/gen/models/transaction_process_request.py
146147
regula/documentreader/webclient/gen/models/verification_result.py
147148
regula/documentreader/webclient/gen/models/verified_field_map.py
148149
regula/documentreader/webclient/gen/models/visibility.py

regula/documentreader/webclient/gen/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@
161161
from regula.documentreader.webclient.gen.models.transaction_image import TransactionImage
162162
from regula.documentreader.webclient.gen.models.transaction_info import TransactionInfo
163163
from regula.documentreader.webclient.gen.models.transaction_process_get_response import TransactionProcessGetResponse
164+
from regula.documentreader.webclient.gen.models.transaction_process_request import TransactionProcessRequest
164165
from regula.documentreader.webclient.gen.models.verification_result import VerificationResult
165166
from regula.documentreader.webclient.gen.models.verified_field_map import VerifiedFieldMap
166167
from regula.documentreader.webclient.gen.models.visibility import Visibility

regula/documentreader/webclient/gen/api/transaction_api.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -300,21 +300,21 @@ def api_v2_transaction_transaction_id_get_with_http_info(self, transaction_id, *
300300
collection_formats=collection_formats,
301301
_request_auth=local_var_params.get('_request_auth'))
302302

303-
def api_v2_transaction_transaction_id_process_post(self, transaction_id, x_client_key, body, **kwargs): # noqa: E501
303+
def api_v2_transaction_transaction_id_process_post(self, transaction_id, x_client_key, transaction_process_request, **kwargs): # noqa: E501
304304
"""Preprocess # noqa: E501
305305
306306
This method makes a synchronous HTTP request by default. To make an
307307
asynchronous HTTP request, please pass async_req=True
308308
309-
>>> thread = api.api_v2_transaction_transaction_id_process_post(transaction_id, x_client_key, body, async_req=True)
309+
>>> thread = api.api_v2_transaction_transaction_id_process_post(transaction_id, x_client_key, transaction_process_request, async_req=True)
310310
>>> result = thread.get()
311311
312312
:param transaction_id: Transaction id (required)
313313
:type transaction_id: int
314314
:param x_client_key: (required)
315315
:type x_client_key: str
316-
:param body: (required)
317-
:type body: TransactionTransactionIdProcess
316+
:param transaction_process_request: (required)
317+
:type transaction_process_request: TransactionProcessRequest
318318
:param async_req: Whether to execute the request asynchronously.
319319
:type async_req: bool, optional
320320
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -331,23 +331,23 @@ def api_v2_transaction_transaction_id_process_post(self, transaction_id, x_clien
331331
:rtype: InlineResponse200
332332
"""
333333
kwargs['_return_http_data_only'] = True
334-
return self.api_v2_transaction_transaction_id_process_post_with_http_info(transaction_id, x_client_key, body, **kwargs) # noqa: E501
334+
return self.api_v2_transaction_transaction_id_process_post_with_http_info(transaction_id, x_client_key, transaction_process_request, **kwargs) # noqa: E501
335335

336-
def api_v2_transaction_transaction_id_process_post_with_http_info(self, transaction_id, x_client_key, body, **kwargs): # noqa: E501
336+
def api_v2_transaction_transaction_id_process_post_with_http_info(self, transaction_id, x_client_key, transaction_process_request, **kwargs): # noqa: E501
337337
"""Preprocess # noqa: E501
338338
339339
This method makes a synchronous HTTP request by default. To make an
340340
asynchronous HTTP request, please pass async_req=True
341341
342-
>>> thread = api.api_v2_transaction_transaction_id_process_post_with_http_info(transaction_id, x_client_key, body, async_req=True)
342+
>>> thread = api.api_v2_transaction_transaction_id_process_post_with_http_info(transaction_id, x_client_key, transaction_process_request, async_req=True)
343343
>>> result = thread.get()
344344
345345
:param transaction_id: Transaction id (required)
346346
:type transaction_id: int
347347
:param x_client_key: (required)
348348
:type x_client_key: str
349-
:param body: (required)
350-
:type body: TransactionTransactionIdProcess
349+
:param transaction_process_request: (required)
350+
:type transaction_process_request: TransactionProcessRequest
351351
:param async_req: Whether to execute the request asynchronously.
352352
:type async_req: bool, optional
353353
:param _return_http_data_only: response data without head status code
@@ -376,7 +376,7 @@ def api_v2_transaction_transaction_id_process_post_with_http_info(self, transact
376376
all_params = [
377377
'transaction_id',
378378
'x_client_key',
379-
'body'
379+
'transaction_process_request'
380380
]
381381
all_params.extend(
382382
[
@@ -404,10 +404,10 @@ def api_v2_transaction_transaction_id_process_post_with_http_info(self, transact
404404
if self.api_client.client_side_validation and ('x_client_key' not in local_var_params or # noqa: E501
405405
local_var_params['x_client_key'] is None): # noqa: E501
406406
raise ApiValueError("Missing the required parameter `x_client_key` when calling `api_v2_transaction_transaction_id_process_post`") # noqa: E501
407-
# verify the required parameter 'body' is set
408-
if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501
409-
local_var_params['body'] is None): # noqa: E501
410-
raise ApiValueError("Missing the required parameter `body` when calling `api_v2_transaction_transaction_id_process_post`") # noqa: E501
407+
# verify the required parameter 'transaction_process_request' is set
408+
if self.api_client.client_side_validation and ('transaction_process_request' not in local_var_params or # noqa: E501
409+
local_var_params['transaction_process_request'] is None): # noqa: E501
410+
raise ApiValueError("Missing the required parameter `transaction_process_request` when calling `api_v2_transaction_transaction_id_process_post`") # noqa: E501
411411

412412
collection_formats = {}
413413

@@ -425,8 +425,8 @@ def api_v2_transaction_transaction_id_process_post_with_http_info(self, transact
425425
local_var_files = {}
426426

427427
body_params = None
428-
if 'body' in local_var_params:
429-
body_params = local_var_params['body']
428+
if 'transaction_process_request' in local_var_params:
429+
body_params = local_var_params['transaction_process_request']
430430
# HTTP header `Accept`
431431
header_params['Accept'] = self.api_client.select_header_accept(
432432
['application/json']) # noqa: E501

regula/documentreader/webclient/gen/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
from regula.documentreader.webclient.gen.models.transaction_image import TransactionImage
145145
from regula.documentreader.webclient.gen.models.transaction_info import TransactionInfo
146146
from regula.documentreader.webclient.gen.models.transaction_process_get_response import TransactionProcessGetResponse
147+
from regula.documentreader.webclient.gen.models.transaction_process_request import TransactionProcessRequest
147148
from regula.documentreader.webclient.gen.models.verification_result import VerificationResult
148149
from regula.documentreader.webclient.gen.models.verified_field_map import VerifiedFieldMap
149150
from regula.documentreader.webclient.gen.models.visibility import Visibility

0 commit comments

Comments
 (0)