Skip to content

Commit 7b02205

Browse files
committed
update-clients
1 parent 57e818b commit 7b02205

File tree

7 files changed

+133
-201
lines changed

7 files changed

+133
-201
lines changed

.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ regula/documentreader/webclient/gen/models/transaction_image.py
146146
regula/documentreader/webclient/gen/models/transaction_info.py
147147
regula/documentreader/webclient/gen/models/transaction_process_get_response.py
148148
regula/documentreader/webclient/gen/models/transaction_process_request.py
149+
regula/documentreader/webclient/gen/models/transaction_scenario_request.py
149150
regula/documentreader/webclient/gen/models/verification_result.py
150151
regula/documentreader/webclient/gen/models/verified_field_map.py
151152
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
@@ -164,6 +164,7 @@
164164
from regula.documentreader.webclient.gen.models.transaction_info import TransactionInfo
165165
from regula.documentreader.webclient.gen.models.transaction_process_get_response import TransactionProcessGetResponse
166166
from regula.documentreader.webclient.gen.models.transaction_process_request import TransactionProcessRequest
167+
from regula.documentreader.webclient.gen.models.transaction_scenario_request import TransactionScenarioRequest
167168
from regula.documentreader.webclient.gen.models.verification_result import VerificationResult
168169
from regula.documentreader.webclient.gen.models.verified_field_map import VerifiedFieldMap
169170
from regula.documentreader.webclient.gen.models.visibility import Visibility

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def api_v2_tag_tag_id_delete_with_http_info(self, tag_id, **kwargs): # noqa: E5
149149
}
150150

151151
return self.api_client.call_api(
152-
'/api/v2/tag/{tag_id}', 'DELETE',
152+
'/api/v2/tag/{tagId}', 'DELETE',
153153
path_params,
154154
query_params,
155155
header_params,
@@ -294,7 +294,7 @@ def api_v2_transaction_transaction_id_file_get_with_http_info(self, transaction_
294294
}
295295

296296
return self.api_client.call_api(
297-
'/api/v2/transaction/{transaction_id}/file', 'GET',
297+
'/api/v2/transaction/{transactionId}/file', 'GET',
298298
path_params,
299299
query_params,
300300
header_params,
@@ -429,7 +429,7 @@ def api_v2_transaction_transaction_id_get_with_http_info(self, transaction_id, *
429429
}
430430

431431
return self.api_client.call_api(
432-
'/api/v2/transaction/{transaction_id}', 'GET',
432+
'/api/v2/transaction/{transactionId}', 'GET',
433433
path_params,
434434
query_params,
435435
header_params,
@@ -579,7 +579,7 @@ def api_v2_transaction_transaction_id_process_post_with_http_info(self, transact
579579
}
580580

581581
return self.api_client.call_api(
582-
'/api/v2/transaction/{transaction_id}/process', 'POST',
582+
'/api/v2/transaction/{transactionId}/process', 'POST',
583583
path_params,
584584
query_params,
585585
header_params,
@@ -721,7 +721,7 @@ def api_v2_transaction_transaction_id_results_get_with_http_info(self, transacti
721721
}
722722

723723
return self.api_client.call_api(
724-
'/api/v2/transaction/{transaction_id}/results', 'GET',
724+
'/api/v2/transaction/{transactionId}/results', 'GET',
725725
path_params,
726726
query_params,
727727
header_params,

regula/documentreader/webclient/gen/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def to_debug_report(self):
374374
return "Python SDK Debug Report:\n"\
375375
"OS: {env}\n"\
376376
"Python Version: {pyversion}\n"\
377-
"Version of the API: 7.1.2\n"\
377+
"Version of the API: 7.2.0\n"\
378378
"SDK Package Version: 1.0.0".\
379379
format(env=sys.platform, pyversion=sys.version)
380380

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
from regula.documentreader.webclient.gen.models.transaction_info import TransactionInfo
148148
from regula.documentreader.webclient.gen.models.transaction_process_get_response import TransactionProcessGetResponse
149149
from regula.documentreader.webclient.gen.models.transaction_process_request import TransactionProcessRequest
150+
from regula.documentreader.webclient.gen.models.transaction_scenario_request import TransactionScenarioRequest
150151
from regula.documentreader.webclient.gen.models.verification_result import VerificationResult
151152
from regula.documentreader.webclient.gen.models.verified_field_map import VerifiedFieldMap
152153
from regula.documentreader.webclient.gen.models.visibility import Visibility

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

Lines changed: 5 additions & 195 deletions
Original file line numberDiff line numberDiff line change
@@ -32,89 +32,31 @@ class TransactionProcessRequest(object):
3232
and the value is json key in definition.
3333
"""
3434
openapi_types = {
35-
'tag': 'str',
36-
'process_param': 'ProcessParams',
37-
'list': 'list[ProcessRequestImage]',
38-
'live_portrait': 'str',
39-
'ext_portrait': 'str',
40-
'container_list': 'ContainerList',
41-
'system_info': 'ProcessSystemInfo',
42-
'pass_back_object': 'dict(str, object)'
35+
'process_param': 'TransactionScenarioRequest'
4336
}
4437

4538
attribute_map = {
46-
'tag': 'tag',
47-
'process_param': 'processParam',
48-
'list': 'List',
49-
'live_portrait': 'livePortrait',
50-
'ext_portrait': 'extPortrait',
51-
'container_list': 'ContainerList',
52-
'system_info': 'systemInfo',
53-
'pass_back_object': 'passBackObject'
39+
'process_param': 'processParam'
5440
}
5541

56-
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
42+
def __init__(self, process_param=None, local_vars_configuration=None): # noqa: E501
5743
"""TransactionProcessRequest - a model defined in OpenAPI""" # noqa: E501
5844
if local_vars_configuration is None:
5945
local_vars_configuration = Configuration()
6046
self.local_vars_configuration = local_vars_configuration
6147

62-
self._tag = None
6348
self._process_param = None
64-
self._list = None
65-
self._live_portrait = None
66-
self._ext_portrait = None
67-
self._container_list = None
68-
self._system_info = None
69-
self._pass_back_object = None
7049
self.discriminator = None
7150

72-
if tag is not None:
73-
self.tag = tag
7451
self.process_param = process_param
75-
if list is not None:
76-
self.list = list
77-
if live_portrait is not None:
78-
self.live_portrait = live_portrait
79-
if ext_portrait is not None:
80-
self.ext_portrait = ext_portrait
81-
if container_list is not None:
82-
self.container_list = container_list
83-
if system_info is not None:
84-
self.system_info = system_info
85-
if pass_back_object is not None:
86-
self.pass_back_object = pass_back_object
87-
88-
@property
89-
def tag(self):
90-
"""Gets the tag of this TransactionProcessRequest. # noqa: E501
91-
92-
session id # noqa: E501
93-
94-
:return: The tag of this TransactionProcessRequest. # noqa: E501
95-
:rtype: str
96-
"""
97-
return self._tag
98-
99-
@tag.setter
100-
def tag(self, tag):
101-
"""Sets the tag of this TransactionProcessRequest.
102-
103-
session id # noqa: E501
104-
105-
:param tag: The tag of this TransactionProcessRequest. # noqa: E501
106-
:type tag: str
107-
"""
108-
109-
self._tag = tag
11052

11153
@property
11254
def process_param(self):
11355
"""Gets the process_param of this TransactionProcessRequest. # noqa: E501
11456
11557
11658
:return: The process_param of this TransactionProcessRequest. # noqa: E501
117-
:rtype: ProcessParams
59+
:rtype: TransactionScenarioRequest
11860
"""
11961
return self._process_param
12062

@@ -124,145 +66,13 @@ def process_param(self, process_param):
12466
12567
12668
:param process_param: The process_param of this TransactionProcessRequest. # noqa: E501
127-
:type process_param: ProcessParams
69+
:type process_param: TransactionScenarioRequest
12870
"""
12971
if self.local_vars_configuration.client_side_validation and process_param is None: # noqa: E501
13072
raise ValueError("Invalid value for `process_param`, must not be `None`") # noqa: E501
13173

13274
self._process_param = process_param
13375

134-
@property
135-
def list(self):
136-
"""Gets the list of this TransactionProcessRequest. # noqa: E501
137-
138-
139-
:return: The list of this TransactionProcessRequest. # noqa: E501
140-
:rtype: list[ProcessRequestImage]
141-
"""
142-
return self._list
143-
144-
@list.setter
145-
def list(self, list):
146-
"""Sets the list of this TransactionProcessRequest.
147-
148-
149-
:param list: The list of this TransactionProcessRequest. # noqa: E501
150-
:type list: list[ProcessRequestImage]
151-
"""
152-
153-
self._list = list
154-
155-
@property
156-
def live_portrait(self):
157-
"""Gets the live_portrait of this TransactionProcessRequest. # noqa: E501
158-
159-
Live portrait photo # noqa: E501
160-
161-
:return: The live_portrait of this TransactionProcessRequest. # noqa: E501
162-
:rtype: str
163-
"""
164-
return self._live_portrait
165-
166-
@live_portrait.setter
167-
def live_portrait(self, live_portrait):
168-
"""Sets the live_portrait of this TransactionProcessRequest.
169-
170-
Live portrait photo # noqa: E501
171-
172-
:param live_portrait: The live_portrait of this TransactionProcessRequest. # noqa: E501
173-
:type live_portrait: str
174-
"""
175-
176-
self._live_portrait = live_portrait
177-
178-
@property
179-
def ext_portrait(self):
180-
"""Gets the ext_portrait of this TransactionProcessRequest. # noqa: E501
181-
182-
Portrait photo from an external source # noqa: E501
183-
184-
:return: The ext_portrait of this TransactionProcessRequest. # noqa: E501
185-
:rtype: str
186-
"""
187-
return self._ext_portrait
188-
189-
@ext_portrait.setter
190-
def ext_portrait(self, ext_portrait):
191-
"""Sets the ext_portrait of this TransactionProcessRequest.
192-
193-
Portrait photo from an external source # noqa: E501
194-
195-
:param ext_portrait: The ext_portrait of this TransactionProcessRequest. # noqa: E501
196-
:type ext_portrait: str
197-
"""
198-
199-
self._ext_portrait = ext_portrait
200-
201-
@property
202-
def container_list(self):
203-
"""Gets the container_list of this TransactionProcessRequest. # noqa: E501
204-
205-
206-
:return: The container_list of this TransactionProcessRequest. # noqa: E501
207-
:rtype: ContainerList
208-
"""
209-
return self._container_list
210-
211-
@container_list.setter
212-
def container_list(self, container_list):
213-
"""Sets the container_list of this TransactionProcessRequest.
214-
215-
216-
:param container_list: The container_list of this TransactionProcessRequest. # noqa: E501
217-
:type container_list: ContainerList
218-
"""
219-
220-
self._container_list = container_list
221-
222-
@property
223-
def system_info(self):
224-
"""Gets the system_info of this TransactionProcessRequest. # noqa: E501
225-
226-
227-
:return: The system_info of this TransactionProcessRequest. # noqa: E501
228-
:rtype: ProcessSystemInfo
229-
"""
230-
return self._system_info
231-
232-
@system_info.setter
233-
def system_info(self, system_info):
234-
"""Sets the system_info of this TransactionProcessRequest.
235-
236-
237-
:param system_info: The system_info of this TransactionProcessRequest. # noqa: E501
238-
:type system_info: ProcessSystemInfo
239-
"""
240-
241-
self._system_info = system_info
242-
243-
@property
244-
def pass_back_object(self):
245-
"""Gets the pass_back_object of this TransactionProcessRequest. # noqa: E501
246-
247-
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
248-
249-
:return: The pass_back_object of this TransactionProcessRequest. # noqa: E501
250-
:rtype: dict(str, object)
251-
"""
252-
return self._pass_back_object
253-
254-
@pass_back_object.setter
255-
def pass_back_object(self, pass_back_object):
256-
"""Sets the pass_back_object of this TransactionProcessRequest.
257-
258-
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
259-
260-
:param pass_back_object: The pass_back_object of this TransactionProcessRequest. # noqa: E501
261-
:type pass_back_object: dict(str, object)
262-
"""
263-
264-
self._pass_back_object = pass_back_object
265-
26676
def to_dict(self):
26777
"""Returns the model properties as a dict"""
26878
result = {}

0 commit comments

Comments
 (0)