antchain-ak-d3c4f09125a14cd587057c405561809a 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- antchain_ak_d3c4f09125a14cd587057c405561809a-1.0.0.dist-info/LICENSE +13 -0
- antchain_ak_d3c4f09125a14cd587057c405561809a-1.0.0.dist-info/METADATA +68 -0
- antchain_ak_d3c4f09125a14cd587057c405561809a-1.0.0.dist-info/RECORD +8 -0
- antchain_ak_d3c4f09125a14cd587057c405561809a-1.0.0.dist-info/WHEEL +5 -0
- antchain_ak_d3c4f09125a14cd587057c405561809a-1.0.0.dist-info/top_level.txt +1 -0
- antchain_sdk_ak_d3c4f09125a14cd587057c405561809a/__init__.py +1 -0
- antchain_sdk_ak_d3c4f09125a14cd587057c405561809a/client.py +668 -0
- antchain_sdk_ak_d3c4f09125a14cd587057c405561809a/models.py +1807 -0
@@ -0,0 +1,668 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
3
|
+
import time
|
4
|
+
|
5
|
+
from Tea.exceptions import TeaException, UnretryableException
|
6
|
+
from Tea.request import TeaRequest
|
7
|
+
from Tea.core import TeaCore
|
8
|
+
from antchain_alipay_util.antchain_utils import AntchainUtils
|
9
|
+
from typing import Dict
|
10
|
+
|
11
|
+
from antchain_sdk_ak_d3c4f09125a14cd587057c405561809a import models as ak_d_3c_4f_09125a_14cd_587057c_405561809a_models
|
12
|
+
from alibabacloud_tea_util.client import Client as UtilClient
|
13
|
+
from alibabacloud_tea_util import models as util_models
|
14
|
+
from alibabacloud_rpc_util.client import Client as RPCUtilClient
|
15
|
+
|
16
|
+
|
17
|
+
class Client:
|
18
|
+
_endpoint: str = None
|
19
|
+
_region_id: str = None
|
20
|
+
_access_key_id: str = None
|
21
|
+
_access_key_secret: str = None
|
22
|
+
_protocol: str = None
|
23
|
+
_user_agent: str = None
|
24
|
+
_read_timeout: int = None
|
25
|
+
_connect_timeout: int = None
|
26
|
+
_http_proxy: str = None
|
27
|
+
_https_proxy: str = None
|
28
|
+
_socks_5proxy: str = None
|
29
|
+
_socks_5net_work: str = None
|
30
|
+
_no_proxy: str = None
|
31
|
+
_max_idle_conns: int = None
|
32
|
+
_security_token: str = None
|
33
|
+
_max_idle_time_millis: int = None
|
34
|
+
_keep_alive_duration_millis: int = None
|
35
|
+
_max_requests: int = None
|
36
|
+
_max_requests_per_host: int = None
|
37
|
+
|
38
|
+
def __init__(
|
39
|
+
self,
|
40
|
+
config: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.Config,
|
41
|
+
):
|
42
|
+
"""
|
43
|
+
Init client with Config
|
44
|
+
@param config: config contains the necessary information to create a client
|
45
|
+
"""
|
46
|
+
if UtilClient.is_unset(config):
|
47
|
+
raise TeaException({
|
48
|
+
'code': 'ParameterMissing',
|
49
|
+
'message': "'config' can not be unset"
|
50
|
+
})
|
51
|
+
self._access_key_id = config.access_key_id
|
52
|
+
self._access_key_secret = config.access_key_secret
|
53
|
+
self._security_token = config.security_token
|
54
|
+
self._endpoint = config.endpoint
|
55
|
+
self._protocol = config.protocol
|
56
|
+
self._user_agent = config.user_agent
|
57
|
+
self._read_timeout = UtilClient.default_number(config.read_timeout, 20000)
|
58
|
+
self._connect_timeout = UtilClient.default_number(config.connect_timeout, 20000)
|
59
|
+
self._http_proxy = config.http_proxy
|
60
|
+
self._https_proxy = config.https_proxy
|
61
|
+
self._no_proxy = config.no_proxy
|
62
|
+
self._socks_5proxy = config.socks_5proxy
|
63
|
+
self._socks_5net_work = config.socks_5net_work
|
64
|
+
self._max_idle_conns = UtilClient.default_number(config.max_idle_conns, 60000)
|
65
|
+
self._max_idle_time_millis = UtilClient.default_number(config.max_idle_time_millis, 5)
|
66
|
+
self._keep_alive_duration_millis = UtilClient.default_number(config.keep_alive_duration_millis, 5000)
|
67
|
+
self._max_requests = UtilClient.default_number(config.max_requests, 100)
|
68
|
+
self._max_requests_per_host = UtilClient.default_number(config.max_requests_per_host, 100)
|
69
|
+
|
70
|
+
def do_request(
|
71
|
+
self,
|
72
|
+
version: str,
|
73
|
+
action: str,
|
74
|
+
protocol: str,
|
75
|
+
method: str,
|
76
|
+
pathname: str,
|
77
|
+
request: dict,
|
78
|
+
headers: Dict[str, str],
|
79
|
+
runtime: util_models.RuntimeOptions,
|
80
|
+
) -> dict:
|
81
|
+
"""
|
82
|
+
Encapsulate the request and invoke the network
|
83
|
+
@param action: api name
|
84
|
+
@param protocol: http or https
|
85
|
+
@param method: e.g. GET
|
86
|
+
@param pathname: pathname of every api
|
87
|
+
@param request: which contains request params
|
88
|
+
@param runtime: which controls some details of call api, such as retry times
|
89
|
+
@return: the response
|
90
|
+
"""
|
91
|
+
runtime.validate()
|
92
|
+
_runtime = {
|
93
|
+
'timeouted': 'retry',
|
94
|
+
'readTimeout': UtilClient.default_number(runtime.read_timeout, self._read_timeout),
|
95
|
+
'connectTimeout': UtilClient.default_number(runtime.connect_timeout, self._connect_timeout),
|
96
|
+
'httpProxy': UtilClient.default_string(runtime.http_proxy, self._http_proxy),
|
97
|
+
'httpsProxy': UtilClient.default_string(runtime.https_proxy, self._https_proxy),
|
98
|
+
'noProxy': UtilClient.default_string(runtime.no_proxy, self._no_proxy),
|
99
|
+
'maxIdleConns': UtilClient.default_number(runtime.max_idle_conns, self._max_idle_conns),
|
100
|
+
'maxIdleTimeMillis': self._max_idle_time_millis,
|
101
|
+
'keepAliveDuration': self._keep_alive_duration_millis,
|
102
|
+
'maxRequests': self._max_requests,
|
103
|
+
'maxRequestsPerHost': self._max_requests_per_host,
|
104
|
+
'retry': {
|
105
|
+
'retryable': runtime.autoretry,
|
106
|
+
'maxAttempts': UtilClient.default_number(runtime.max_attempts, 3)
|
107
|
+
},
|
108
|
+
'backoff': {
|
109
|
+
'policy': UtilClient.default_string(runtime.backoff_policy, 'no'),
|
110
|
+
'period': UtilClient.default_number(runtime.backoff_period, 1)
|
111
|
+
},
|
112
|
+
'ignoreSSL': runtime.ignore_ssl,
|
113
|
+
# 登录类型
|
114
|
+
}
|
115
|
+
_last_request = None
|
116
|
+
_last_exception = None
|
117
|
+
_now = time.time()
|
118
|
+
_retry_times = 0
|
119
|
+
while TeaCore.allow_retry(_runtime.get('retry'), _retry_times, _now):
|
120
|
+
if _retry_times > 0:
|
121
|
+
_backoff_time = TeaCore.get_backoff_time(_runtime.get('backoff'), _retry_times)
|
122
|
+
if _backoff_time > 0:
|
123
|
+
TeaCore.sleep(_backoff_time)
|
124
|
+
_retry_times = _retry_times + 1
|
125
|
+
try:
|
126
|
+
_request = TeaRequest()
|
127
|
+
_request.protocol = UtilClient.default_string(self._protocol, protocol)
|
128
|
+
_request.method = method
|
129
|
+
_request.pathname = pathname
|
130
|
+
_request.query = {
|
131
|
+
'method': action,
|
132
|
+
'version': version,
|
133
|
+
'sign_type': 'HmacSHA1',
|
134
|
+
'req_time': AntchainUtils.get_timestamp(),
|
135
|
+
'req_msg_id': AntchainUtils.get_nonce(),
|
136
|
+
'access_key': self._access_key_id,
|
137
|
+
'base_sdk_version': 'TeaSDK-2.0',
|
138
|
+
'sdk_version': '1.0.0',
|
139
|
+
'_prod_code': 'ak_d3c4f09125a14cd587057c405561809a',
|
140
|
+
'_prod_channel': 'saas'
|
141
|
+
}
|
142
|
+
if not UtilClient.empty(self._security_token):
|
143
|
+
_request.query['security_token'] = self._security_token
|
144
|
+
_request.headers = TeaCore.merge({
|
145
|
+
'host': UtilClient.default_string(self._endpoint, 'openapi.antchain.antgroup.com'),
|
146
|
+
'user-agent': UtilClient.get_user_agent(self._user_agent)
|
147
|
+
}, headers)
|
148
|
+
tmp = UtilClient.anyify_map_value(RPCUtilClient.query(request))
|
149
|
+
_request.body = UtilClient.to_form_string(tmp)
|
150
|
+
_request.headers['content-type'] = 'application/x-www-form-urlencoded'
|
151
|
+
signed_param = TeaCore.merge(_request.query,
|
152
|
+
RPCUtilClient.query(request))
|
153
|
+
_request.query['sign'] = AntchainUtils.get_signature(signed_param, self._access_key_secret)
|
154
|
+
_last_request = _request
|
155
|
+
_response = TeaCore.do_action(_request, _runtime)
|
156
|
+
raw = UtilClient.read_as_string(_response.body)
|
157
|
+
obj = UtilClient.parse_json(raw)
|
158
|
+
res = UtilClient.assert_as_map(obj)
|
159
|
+
resp = UtilClient.assert_as_map(res.get('response'))
|
160
|
+
if AntchainUtils.has_error(raw, self._access_key_secret):
|
161
|
+
raise TeaException({
|
162
|
+
'message': resp.get('result_msg'),
|
163
|
+
'data': resp,
|
164
|
+
'code': resp.get('result_code')
|
165
|
+
})
|
166
|
+
return resp
|
167
|
+
except Exception as e:
|
168
|
+
if TeaCore.is_retryable(e):
|
169
|
+
_last_exception = e
|
170
|
+
continue
|
171
|
+
raise e
|
172
|
+
raise UnretryableException(_last_request, _last_exception)
|
173
|
+
|
174
|
+
async def do_request_async(
|
175
|
+
self,
|
176
|
+
version: str,
|
177
|
+
action: str,
|
178
|
+
protocol: str,
|
179
|
+
method: str,
|
180
|
+
pathname: str,
|
181
|
+
request: dict,
|
182
|
+
headers: Dict[str, str],
|
183
|
+
runtime: util_models.RuntimeOptions,
|
184
|
+
) -> dict:
|
185
|
+
"""
|
186
|
+
Encapsulate the request and invoke the network
|
187
|
+
@param action: api name
|
188
|
+
@param protocol: http or https
|
189
|
+
@param method: e.g. GET
|
190
|
+
@param pathname: pathname of every api
|
191
|
+
@param request: which contains request params
|
192
|
+
@param runtime: which controls some details of call api, such as retry times
|
193
|
+
@return: the response
|
194
|
+
"""
|
195
|
+
runtime.validate()
|
196
|
+
_runtime = {
|
197
|
+
'timeouted': 'retry',
|
198
|
+
'readTimeout': UtilClient.default_number(runtime.read_timeout, self._read_timeout),
|
199
|
+
'connectTimeout': UtilClient.default_number(runtime.connect_timeout, self._connect_timeout),
|
200
|
+
'httpProxy': UtilClient.default_string(runtime.http_proxy, self._http_proxy),
|
201
|
+
'httpsProxy': UtilClient.default_string(runtime.https_proxy, self._https_proxy),
|
202
|
+
'noProxy': UtilClient.default_string(runtime.no_proxy, self._no_proxy),
|
203
|
+
'maxIdleConns': UtilClient.default_number(runtime.max_idle_conns, self._max_idle_conns),
|
204
|
+
'maxIdleTimeMillis': self._max_idle_time_millis,
|
205
|
+
'keepAliveDuration': self._keep_alive_duration_millis,
|
206
|
+
'maxRequests': self._max_requests,
|
207
|
+
'maxRequestsPerHost': self._max_requests_per_host,
|
208
|
+
'retry': {
|
209
|
+
'retryable': runtime.autoretry,
|
210
|
+
'maxAttempts': UtilClient.default_number(runtime.max_attempts, 3)
|
211
|
+
},
|
212
|
+
'backoff': {
|
213
|
+
'policy': UtilClient.default_string(runtime.backoff_policy, 'no'),
|
214
|
+
'period': UtilClient.default_number(runtime.backoff_period, 1)
|
215
|
+
},
|
216
|
+
'ignoreSSL': runtime.ignore_ssl,
|
217
|
+
# 登录类型
|
218
|
+
}
|
219
|
+
_last_request = None
|
220
|
+
_last_exception = None
|
221
|
+
_now = time.time()
|
222
|
+
_retry_times = 0
|
223
|
+
while TeaCore.allow_retry(_runtime.get('retry'), _retry_times, _now):
|
224
|
+
if _retry_times > 0:
|
225
|
+
_backoff_time = TeaCore.get_backoff_time(_runtime.get('backoff'), _retry_times)
|
226
|
+
if _backoff_time > 0:
|
227
|
+
TeaCore.sleep(_backoff_time)
|
228
|
+
_retry_times = _retry_times + 1
|
229
|
+
try:
|
230
|
+
_request = TeaRequest()
|
231
|
+
_request.protocol = UtilClient.default_string(self._protocol, protocol)
|
232
|
+
_request.method = method
|
233
|
+
_request.pathname = pathname
|
234
|
+
_request.query = {
|
235
|
+
'method': action,
|
236
|
+
'version': version,
|
237
|
+
'sign_type': 'HmacSHA1',
|
238
|
+
'req_time': AntchainUtils.get_timestamp(),
|
239
|
+
'req_msg_id': AntchainUtils.get_nonce(),
|
240
|
+
'access_key': self._access_key_id,
|
241
|
+
'base_sdk_version': 'TeaSDK-2.0',
|
242
|
+
'sdk_version': '1.0.0',
|
243
|
+
'_prod_code': 'ak_d3c4f09125a14cd587057c405561809a',
|
244
|
+
'_prod_channel': 'saas'
|
245
|
+
}
|
246
|
+
if not UtilClient.empty(self._security_token):
|
247
|
+
_request.query['security_token'] = self._security_token
|
248
|
+
_request.headers = TeaCore.merge({
|
249
|
+
'host': UtilClient.default_string(self._endpoint, 'openapi.antchain.antgroup.com'),
|
250
|
+
'user-agent': UtilClient.get_user_agent(self._user_agent)
|
251
|
+
}, headers)
|
252
|
+
tmp = UtilClient.anyify_map_value(RPCUtilClient.query(request))
|
253
|
+
_request.body = UtilClient.to_form_string(tmp)
|
254
|
+
_request.headers['content-type'] = 'application/x-www-form-urlencoded'
|
255
|
+
signed_param = TeaCore.merge(_request.query,
|
256
|
+
RPCUtilClient.query(request))
|
257
|
+
_request.query['sign'] = AntchainUtils.get_signature(signed_param, self._access_key_secret)
|
258
|
+
_last_request = _request
|
259
|
+
_response = await TeaCore.async_do_action(_request, _runtime)
|
260
|
+
raw = await UtilClient.read_as_string_async(_response.body)
|
261
|
+
obj = UtilClient.parse_json(raw)
|
262
|
+
res = UtilClient.assert_as_map(obj)
|
263
|
+
resp = UtilClient.assert_as_map(res.get('response'))
|
264
|
+
if AntchainUtils.has_error(raw, self._access_key_secret):
|
265
|
+
raise TeaException({
|
266
|
+
'message': resp.get('result_msg'),
|
267
|
+
'data': resp,
|
268
|
+
'code': resp.get('result_code')
|
269
|
+
})
|
270
|
+
return resp
|
271
|
+
except Exception as e:
|
272
|
+
if TeaCore.is_retryable(e):
|
273
|
+
_last_exception = e
|
274
|
+
continue
|
275
|
+
raise e
|
276
|
+
raise UnretryableException(_last_request, _last_exception)
|
277
|
+
|
278
|
+
def query_antdigital_webtrwatrade_issuer_subuser(
|
279
|
+
self,
|
280
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserRequest,
|
281
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserResponse:
|
282
|
+
"""
|
283
|
+
Description: 查询单个二级用户
|
284
|
+
Summary: 查询单个二级用户
|
285
|
+
"""
|
286
|
+
runtime = util_models.RuntimeOptions()
|
287
|
+
headers = {}
|
288
|
+
return self.query_antdigital_webtrwatrade_issuer_subuser_ex(request, headers, runtime)
|
289
|
+
|
290
|
+
async def query_antdigital_webtrwatrade_issuer_subuser_async(
|
291
|
+
self,
|
292
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserRequest,
|
293
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserResponse:
|
294
|
+
"""
|
295
|
+
Description: 查询单个二级用户
|
296
|
+
Summary: 查询单个二级用户
|
297
|
+
"""
|
298
|
+
runtime = util_models.RuntimeOptions()
|
299
|
+
headers = {}
|
300
|
+
return await self.query_antdigital_webtrwatrade_issuer_subuser_ex_async(request, headers, runtime)
|
301
|
+
|
302
|
+
def query_antdigital_webtrwatrade_issuer_subuser_ex(
|
303
|
+
self,
|
304
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserRequest,
|
305
|
+
headers: Dict[str, str],
|
306
|
+
runtime: util_models.RuntimeOptions,
|
307
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserResponse:
|
308
|
+
"""
|
309
|
+
Description: 查询单个二级用户
|
310
|
+
Summary: 查询单个二级用户
|
311
|
+
"""
|
312
|
+
UtilClient.validate_model(request)
|
313
|
+
return TeaCore.from_map(
|
314
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserResponse(),
|
315
|
+
self.do_request('1.0', 'antdigital.webtrwatrade.issuer.subuser.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
316
|
+
)
|
317
|
+
|
318
|
+
async def query_antdigital_webtrwatrade_issuer_subuser_ex_async(
|
319
|
+
self,
|
320
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserRequest,
|
321
|
+
headers: Dict[str, str],
|
322
|
+
runtime: util_models.RuntimeOptions,
|
323
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserResponse:
|
324
|
+
"""
|
325
|
+
Description: 查询单个二级用户
|
326
|
+
Summary: 查询单个二级用户
|
327
|
+
"""
|
328
|
+
UtilClient.validate_model(request)
|
329
|
+
return TeaCore.from_map(
|
330
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeIssuerSubuserResponse(),
|
331
|
+
await self.do_request_async('1.0', 'antdigital.webtrwatrade.issuer.subuser.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
332
|
+
)
|
333
|
+
|
334
|
+
def query_antdigital_webtrwatrade_distributor_subuser(
|
335
|
+
self,
|
336
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserRequest,
|
337
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserResponse:
|
338
|
+
"""
|
339
|
+
Description: 查询单个二级用户
|
340
|
+
Summary: 查询单个二级用户
|
341
|
+
"""
|
342
|
+
runtime = util_models.RuntimeOptions()
|
343
|
+
headers = {}
|
344
|
+
return self.query_antdigital_webtrwatrade_distributor_subuser_ex(request, headers, runtime)
|
345
|
+
|
346
|
+
async def query_antdigital_webtrwatrade_distributor_subuser_async(
|
347
|
+
self,
|
348
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserRequest,
|
349
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserResponse:
|
350
|
+
"""
|
351
|
+
Description: 查询单个二级用户
|
352
|
+
Summary: 查询单个二级用户
|
353
|
+
"""
|
354
|
+
runtime = util_models.RuntimeOptions()
|
355
|
+
headers = {}
|
356
|
+
return await self.query_antdigital_webtrwatrade_distributor_subuser_ex_async(request, headers, runtime)
|
357
|
+
|
358
|
+
def query_antdigital_webtrwatrade_distributor_subuser_ex(
|
359
|
+
self,
|
360
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserRequest,
|
361
|
+
headers: Dict[str, str],
|
362
|
+
runtime: util_models.RuntimeOptions,
|
363
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserResponse:
|
364
|
+
"""
|
365
|
+
Description: 查询单个二级用户
|
366
|
+
Summary: 查询单个二级用户
|
367
|
+
"""
|
368
|
+
UtilClient.validate_model(request)
|
369
|
+
return TeaCore.from_map(
|
370
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserResponse(),
|
371
|
+
self.do_request('1.0', 'antdigital.webtrwatrade.distributor.subuser.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
372
|
+
)
|
373
|
+
|
374
|
+
async def query_antdigital_webtrwatrade_distributor_subuser_ex_async(
|
375
|
+
self,
|
376
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserRequest,
|
377
|
+
headers: Dict[str, str],
|
378
|
+
runtime: util_models.RuntimeOptions,
|
379
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserResponse:
|
380
|
+
"""
|
381
|
+
Description: 查询单个二级用户
|
382
|
+
Summary: 查询单个二级用户
|
383
|
+
"""
|
384
|
+
UtilClient.validate_model(request)
|
385
|
+
return TeaCore.from_map(
|
386
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.QueryAntdigitalWebtrwatradeDistributorSubuserResponse(),
|
387
|
+
await self.do_request_async('1.0', 'antdigital.webtrwatrade.distributor.subuser.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
388
|
+
)
|
389
|
+
|
390
|
+
def list_antdigital_webtrwatrade_issuer_operationlog(
|
391
|
+
self,
|
392
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogRequest,
|
393
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogResponse:
|
394
|
+
"""
|
395
|
+
Description: 发行机构查询登录登出操作日志
|
396
|
+
Summary: 发行机构查询登录登出操作日志
|
397
|
+
"""
|
398
|
+
runtime = util_models.RuntimeOptions()
|
399
|
+
headers = {}
|
400
|
+
return self.list_antdigital_webtrwatrade_issuer_operationlog_ex(request, headers, runtime)
|
401
|
+
|
402
|
+
async def list_antdigital_webtrwatrade_issuer_operationlog_async(
|
403
|
+
self,
|
404
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogRequest,
|
405
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogResponse:
|
406
|
+
"""
|
407
|
+
Description: 发行机构查询登录登出操作日志
|
408
|
+
Summary: 发行机构查询登录登出操作日志
|
409
|
+
"""
|
410
|
+
runtime = util_models.RuntimeOptions()
|
411
|
+
headers = {}
|
412
|
+
return await self.list_antdigital_webtrwatrade_issuer_operationlog_ex_async(request, headers, runtime)
|
413
|
+
|
414
|
+
def list_antdigital_webtrwatrade_issuer_operationlog_ex(
|
415
|
+
self,
|
416
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogRequest,
|
417
|
+
headers: Dict[str, str],
|
418
|
+
runtime: util_models.RuntimeOptions,
|
419
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogResponse:
|
420
|
+
"""
|
421
|
+
Description: 发行机构查询登录登出操作日志
|
422
|
+
Summary: 发行机构查询登录登出操作日志
|
423
|
+
"""
|
424
|
+
UtilClient.validate_model(request)
|
425
|
+
return TeaCore.from_map(
|
426
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogResponse(),
|
427
|
+
self.do_request('1.0', 'antdigital.webtrwatrade.issuer.operationlog.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
428
|
+
)
|
429
|
+
|
430
|
+
async def list_antdigital_webtrwatrade_issuer_operationlog_ex_async(
|
431
|
+
self,
|
432
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogRequest,
|
433
|
+
headers: Dict[str, str],
|
434
|
+
runtime: util_models.RuntimeOptions,
|
435
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogResponse:
|
436
|
+
"""
|
437
|
+
Description: 发行机构查询登录登出操作日志
|
438
|
+
Summary: 发行机构查询登录登出操作日志
|
439
|
+
"""
|
440
|
+
UtilClient.validate_model(request)
|
441
|
+
return TeaCore.from_map(
|
442
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerOperationlogResponse(),
|
443
|
+
await self.do_request_async('1.0', 'antdigital.webtrwatrade.issuer.operationlog.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
444
|
+
)
|
445
|
+
|
446
|
+
def list_antdigital_webtrwatrade_distributor_operationlog(
|
447
|
+
self,
|
448
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogRequest,
|
449
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogResponse:
|
450
|
+
"""
|
451
|
+
Description: 代销机构查询登录登出操作日志
|
452
|
+
Summary: 代销机构查询登录登出操作日志
|
453
|
+
"""
|
454
|
+
runtime = util_models.RuntimeOptions()
|
455
|
+
headers = {}
|
456
|
+
return self.list_antdigital_webtrwatrade_distributor_operationlog_ex(request, headers, runtime)
|
457
|
+
|
458
|
+
async def list_antdigital_webtrwatrade_distributor_operationlog_async(
|
459
|
+
self,
|
460
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogRequest,
|
461
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogResponse:
|
462
|
+
"""
|
463
|
+
Description: 代销机构查询登录登出操作日志
|
464
|
+
Summary: 代销机构查询登录登出操作日志
|
465
|
+
"""
|
466
|
+
runtime = util_models.RuntimeOptions()
|
467
|
+
headers = {}
|
468
|
+
return await self.list_antdigital_webtrwatrade_distributor_operationlog_ex_async(request, headers, runtime)
|
469
|
+
|
470
|
+
def list_antdigital_webtrwatrade_distributor_operationlog_ex(
|
471
|
+
self,
|
472
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogRequest,
|
473
|
+
headers: Dict[str, str],
|
474
|
+
runtime: util_models.RuntimeOptions,
|
475
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogResponse:
|
476
|
+
"""
|
477
|
+
Description: 代销机构查询登录登出操作日志
|
478
|
+
Summary: 代销机构查询登录登出操作日志
|
479
|
+
"""
|
480
|
+
UtilClient.validate_model(request)
|
481
|
+
return TeaCore.from_map(
|
482
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogResponse(),
|
483
|
+
self.do_request('1.0', 'antdigital.webtrwatrade.distributor.operationlog.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
484
|
+
)
|
485
|
+
|
486
|
+
async def list_antdigital_webtrwatrade_distributor_operationlog_ex_async(
|
487
|
+
self,
|
488
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogRequest,
|
489
|
+
headers: Dict[str, str],
|
490
|
+
runtime: util_models.RuntimeOptions,
|
491
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogResponse:
|
492
|
+
"""
|
493
|
+
Description: 代销机构查询登录登出操作日志
|
494
|
+
Summary: 代销机构查询登录登出操作日志
|
495
|
+
"""
|
496
|
+
UtilClient.validate_model(request)
|
497
|
+
return TeaCore.from_map(
|
498
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorOperationlogResponse(),
|
499
|
+
await self.do_request_async('1.0', 'antdigital.webtrwatrade.distributor.operationlog.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
500
|
+
)
|
501
|
+
|
502
|
+
def list_antdigital_webtrwatrade_issuer_crossaccount(
|
503
|
+
self,
|
504
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountRequest,
|
505
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountResponse:
|
506
|
+
"""
|
507
|
+
Description: 发行机构跨链账号明细
|
508
|
+
Summary: 发行机构跨链账号明细
|
509
|
+
"""
|
510
|
+
runtime = util_models.RuntimeOptions()
|
511
|
+
headers = {}
|
512
|
+
return self.list_antdigital_webtrwatrade_issuer_crossaccount_ex(request, headers, runtime)
|
513
|
+
|
514
|
+
async def list_antdigital_webtrwatrade_issuer_crossaccount_async(
|
515
|
+
self,
|
516
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountRequest,
|
517
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountResponse:
|
518
|
+
"""
|
519
|
+
Description: 发行机构跨链账号明细
|
520
|
+
Summary: 发行机构跨链账号明细
|
521
|
+
"""
|
522
|
+
runtime = util_models.RuntimeOptions()
|
523
|
+
headers = {}
|
524
|
+
return await self.list_antdigital_webtrwatrade_issuer_crossaccount_ex_async(request, headers, runtime)
|
525
|
+
|
526
|
+
def list_antdigital_webtrwatrade_issuer_crossaccount_ex(
|
527
|
+
self,
|
528
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountRequest,
|
529
|
+
headers: Dict[str, str],
|
530
|
+
runtime: util_models.RuntimeOptions,
|
531
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountResponse:
|
532
|
+
"""
|
533
|
+
Description: 发行机构跨链账号明细
|
534
|
+
Summary: 发行机构跨链账号明细
|
535
|
+
"""
|
536
|
+
UtilClient.validate_model(request)
|
537
|
+
return TeaCore.from_map(
|
538
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountResponse(),
|
539
|
+
self.do_request('1.0', 'antdigital.webtrwatrade.issuer.crossaccount.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
540
|
+
)
|
541
|
+
|
542
|
+
async def list_antdigital_webtrwatrade_issuer_crossaccount_ex_async(
|
543
|
+
self,
|
544
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountRequest,
|
545
|
+
headers: Dict[str, str],
|
546
|
+
runtime: util_models.RuntimeOptions,
|
547
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountResponse:
|
548
|
+
"""
|
549
|
+
Description: 发行机构跨链账号明细
|
550
|
+
Summary: 发行机构跨链账号明细
|
551
|
+
"""
|
552
|
+
UtilClient.validate_model(request)
|
553
|
+
return TeaCore.from_map(
|
554
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeIssuerCrossaccountResponse(),
|
555
|
+
await self.do_request_async('1.0', 'antdigital.webtrwatrade.issuer.crossaccount.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
556
|
+
)
|
557
|
+
|
558
|
+
def list_antdigital_webtrwatrade_distributor_crossaccount(
|
559
|
+
self,
|
560
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountRequest,
|
561
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountResponse:
|
562
|
+
"""
|
563
|
+
Description: 代销机构跨链账号明细
|
564
|
+
Summary: 代销机构跨链账号明细
|
565
|
+
"""
|
566
|
+
runtime = util_models.RuntimeOptions()
|
567
|
+
headers = {}
|
568
|
+
return self.list_antdigital_webtrwatrade_distributor_crossaccount_ex(request, headers, runtime)
|
569
|
+
|
570
|
+
async def list_antdigital_webtrwatrade_distributor_crossaccount_async(
|
571
|
+
self,
|
572
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountRequest,
|
573
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountResponse:
|
574
|
+
"""
|
575
|
+
Description: 代销机构跨链账号明细
|
576
|
+
Summary: 代销机构跨链账号明细
|
577
|
+
"""
|
578
|
+
runtime = util_models.RuntimeOptions()
|
579
|
+
headers = {}
|
580
|
+
return await self.list_antdigital_webtrwatrade_distributor_crossaccount_ex_async(request, headers, runtime)
|
581
|
+
|
582
|
+
def list_antdigital_webtrwatrade_distributor_crossaccount_ex(
|
583
|
+
self,
|
584
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountRequest,
|
585
|
+
headers: Dict[str, str],
|
586
|
+
runtime: util_models.RuntimeOptions,
|
587
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountResponse:
|
588
|
+
"""
|
589
|
+
Description: 代销机构跨链账号明细
|
590
|
+
Summary: 代销机构跨链账号明细
|
591
|
+
"""
|
592
|
+
UtilClient.validate_model(request)
|
593
|
+
return TeaCore.from_map(
|
594
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountResponse(),
|
595
|
+
self.do_request('1.0', 'antdigital.webtrwatrade.distributor.crossaccount.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
596
|
+
)
|
597
|
+
|
598
|
+
async def list_antdigital_webtrwatrade_distributor_crossaccount_ex_async(
|
599
|
+
self,
|
600
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountRequest,
|
601
|
+
headers: Dict[str, str],
|
602
|
+
runtime: util_models.RuntimeOptions,
|
603
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountResponse:
|
604
|
+
"""
|
605
|
+
Description: 代销机构跨链账号明细
|
606
|
+
Summary: 代销机构跨链账号明细
|
607
|
+
"""
|
608
|
+
UtilClient.validate_model(request)
|
609
|
+
return TeaCore.from_map(
|
610
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.ListAntdigitalWebtrwatradeDistributorCrossaccountResponse(),
|
611
|
+
await self.do_request_async('1.0', 'antdigital.webtrwatrade.distributor.crossaccount.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
612
|
+
)
|
613
|
+
|
614
|
+
def detail_antdigital_webtrwatrade_issuer_projectwithrole(
|
615
|
+
self,
|
616
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleRequest,
|
617
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleResponse:
|
618
|
+
"""
|
619
|
+
Description: 发行机构查询项目及角色信息
|
620
|
+
Summary: 发行机构查询项目及角色信息
|
621
|
+
"""
|
622
|
+
runtime = util_models.RuntimeOptions()
|
623
|
+
headers = {}
|
624
|
+
return self.detail_antdigital_webtrwatrade_issuer_projectwithrole_ex(request, headers, runtime)
|
625
|
+
|
626
|
+
async def detail_antdigital_webtrwatrade_issuer_projectwithrole_async(
|
627
|
+
self,
|
628
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleRequest,
|
629
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleResponse:
|
630
|
+
"""
|
631
|
+
Description: 发行机构查询项目及角色信息
|
632
|
+
Summary: 发行机构查询项目及角色信息
|
633
|
+
"""
|
634
|
+
runtime = util_models.RuntimeOptions()
|
635
|
+
headers = {}
|
636
|
+
return await self.detail_antdigital_webtrwatrade_issuer_projectwithrole_ex_async(request, headers, runtime)
|
637
|
+
|
638
|
+
def detail_antdigital_webtrwatrade_issuer_projectwithrole_ex(
|
639
|
+
self,
|
640
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleRequest,
|
641
|
+
headers: Dict[str, str],
|
642
|
+
runtime: util_models.RuntimeOptions,
|
643
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleResponse:
|
644
|
+
"""
|
645
|
+
Description: 发行机构查询项目及角色信息
|
646
|
+
Summary: 发行机构查询项目及角色信息
|
647
|
+
"""
|
648
|
+
UtilClient.validate_model(request)
|
649
|
+
return TeaCore.from_map(
|
650
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleResponse(),
|
651
|
+
self.do_request('1.0', 'antdigital.webtrwatrade.issuer.projectwithrole.detail', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
652
|
+
)
|
653
|
+
|
654
|
+
async def detail_antdigital_webtrwatrade_issuer_projectwithrole_ex_async(
|
655
|
+
self,
|
656
|
+
request: ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleRequest,
|
657
|
+
headers: Dict[str, str],
|
658
|
+
runtime: util_models.RuntimeOptions,
|
659
|
+
) -> ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleResponse:
|
660
|
+
"""
|
661
|
+
Description: 发行机构查询项目及角色信息
|
662
|
+
Summary: 发行机构查询项目及角色信息
|
663
|
+
"""
|
664
|
+
UtilClient.validate_model(request)
|
665
|
+
return TeaCore.from_map(
|
666
|
+
ak_d_3c_4f_09125a_14cd_587057c_405561809a_models.DetailAntdigitalWebtrwatradeIssuerProjectwithroleResponse(),
|
667
|
+
await self.do_request_async('1.0', 'antdigital.webtrwatrade.issuer.projectwithrole.detail', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
668
|
+
)
|