antchain-bot 1.10.23__py3-none-any.whl → 1.10.30__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_bot-1.10.23.dist-info → antchain_bot-1.10.30.dist-info}/METADATA +1 -1
- antchain_bot-1.10.30.dist-info/RECORD +8 -0
- antchain_sdk_bot/__init__.py +1 -1
- antchain_sdk_bot/client.py +360 -80
- antchain_sdk_bot/models.py +755 -149
- antchain_bot-1.10.23.dist-info/RECORD +0 -8
- {antchain_bot-1.10.23.dist-info → antchain_bot-1.10.30.dist-info}/LICENSE +0 -0
- {antchain_bot-1.10.23.dist-info → antchain_bot-1.10.30.dist-info}/WHEEL +0 -0
- {antchain_bot-1.10.23.dist-info → antchain_bot-1.10.30.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
antchain_sdk_bot/__init__.py,sha256=hL7Iv0nC9O2zJ6Q2cDbm9pNLY1a31wKdAQptE76meuY,23
|
|
2
|
+
antchain_sdk_bot/client.py,sha256=MqyM38jfS3mKrJEc0So_8HoiflZaxMn-AyVYeQLhlfk,511710
|
|
3
|
+
antchain_sdk_bot/models.py,sha256=cdxiw5SbujynKpldpGlKm4nqYLtwLzA5PPi2zAWZ4NY,1326974
|
|
4
|
+
antchain_bot-1.10.30.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
antchain_bot-1.10.30.dist-info/METADATA,sha256=sY9YHDs_xoLTdxPQaM1GgBBpiRSgFcN9npRWXwt5bRc,1989
|
|
6
|
+
antchain_bot-1.10.30.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
+
antchain_bot-1.10.30.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
|
|
8
|
+
antchain_bot-1.10.30.dist-info/RECORD,,
|
antchain_sdk_bot/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.10.
|
|
1
|
+
__version__ = '1.10.30'
|
antchain_sdk_bot/client.py
CHANGED
|
@@ -135,7 +135,7 @@ class Client:
|
|
|
135
135
|
'req_msg_id': AntchainUtils.get_nonce(),
|
|
136
136
|
'access_key': self._access_key_id,
|
|
137
137
|
'base_sdk_version': 'TeaSDK-2.0',
|
|
138
|
-
'sdk_version': '1.10.
|
|
138
|
+
'sdk_version': '1.10.30',
|
|
139
139
|
'_prod_code': 'BOT',
|
|
140
140
|
'_prod_channel': 'undefined'
|
|
141
141
|
}
|
|
@@ -239,7 +239,7 @@ class Client:
|
|
|
239
239
|
'req_msg_id': AntchainUtils.get_nonce(),
|
|
240
240
|
'access_key': self._access_key_id,
|
|
241
241
|
'base_sdk_version': 'TeaSDK-2.0',
|
|
242
|
-
'sdk_version': '1.10.
|
|
242
|
+
'sdk_version': '1.10.30',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
|
@@ -4957,172 +4957,172 @@ class Client:
|
|
|
4957
4957
|
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.projectspacelist.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
4958
4958
|
)
|
|
4959
4959
|
|
|
4960
|
-
def
|
|
4960
|
+
def register_devicecorp_customer(
|
|
4961
4961
|
self,
|
|
4962
|
-
request: bot_models.
|
|
4963
|
-
) -> bot_models.
|
|
4962
|
+
request: bot_models.RegisterDevicecorpCustomerRequest,
|
|
4963
|
+
) -> bot_models.RegisterDevicecorpCustomerResponse:
|
|
4964
4964
|
"""
|
|
4965
|
-
Description: iotbasic
|
|
4966
|
-
Summary: iotbasic
|
|
4965
|
+
Description: iotbasic-设备厂商企业注册
|
|
4966
|
+
Summary: iotbasic-设备厂商企业注册
|
|
4967
4967
|
"""
|
|
4968
4968
|
runtime = util_models.RuntimeOptions()
|
|
4969
4969
|
headers = {}
|
|
4970
|
-
return self.
|
|
4970
|
+
return self.register_devicecorp_customer_ex(request, headers, runtime)
|
|
4971
4971
|
|
|
4972
|
-
async def
|
|
4972
|
+
async def register_devicecorp_customer_async(
|
|
4973
4973
|
self,
|
|
4974
|
-
request: bot_models.
|
|
4975
|
-
) -> bot_models.
|
|
4974
|
+
request: bot_models.RegisterDevicecorpCustomerRequest,
|
|
4975
|
+
) -> bot_models.RegisterDevicecorpCustomerResponse:
|
|
4976
4976
|
"""
|
|
4977
|
-
Description: iotbasic
|
|
4978
|
-
Summary: iotbasic
|
|
4977
|
+
Description: iotbasic-设备厂商企业注册
|
|
4978
|
+
Summary: iotbasic-设备厂商企业注册
|
|
4979
4979
|
"""
|
|
4980
4980
|
runtime = util_models.RuntimeOptions()
|
|
4981
4981
|
headers = {}
|
|
4982
|
-
return await self.
|
|
4982
|
+
return await self.register_devicecorp_customer_ex_async(request, headers, runtime)
|
|
4983
4983
|
|
|
4984
|
-
def
|
|
4984
|
+
def register_devicecorp_customer_ex(
|
|
4985
4985
|
self,
|
|
4986
|
-
request: bot_models.
|
|
4986
|
+
request: bot_models.RegisterDevicecorpCustomerRequest,
|
|
4987
4987
|
headers: Dict[str, str],
|
|
4988
4988
|
runtime: util_models.RuntimeOptions,
|
|
4989
|
-
) -> bot_models.
|
|
4989
|
+
) -> bot_models.RegisterDevicecorpCustomerResponse:
|
|
4990
4990
|
"""
|
|
4991
|
-
Description: iotbasic
|
|
4992
|
-
Summary: iotbasic
|
|
4991
|
+
Description: iotbasic-设备厂商企业注册
|
|
4992
|
+
Summary: iotbasic-设备厂商企业注册
|
|
4993
4993
|
"""
|
|
4994
4994
|
UtilClient.validate_model(request)
|
|
4995
4995
|
return TeaCore.from_map(
|
|
4996
|
-
bot_models.
|
|
4997
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
4996
|
+
bot_models.RegisterDevicecorpCustomerResponse(),
|
|
4997
|
+
self.do_request('1.0', 'blockchain.bot.devicecorp.customer.register', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
4998
4998
|
)
|
|
4999
4999
|
|
|
5000
|
-
async def
|
|
5000
|
+
async def register_devicecorp_customer_ex_async(
|
|
5001
5001
|
self,
|
|
5002
|
-
request: bot_models.
|
|
5002
|
+
request: bot_models.RegisterDevicecorpCustomerRequest,
|
|
5003
5003
|
headers: Dict[str, str],
|
|
5004
5004
|
runtime: util_models.RuntimeOptions,
|
|
5005
|
-
) -> bot_models.
|
|
5005
|
+
) -> bot_models.RegisterDevicecorpCustomerResponse:
|
|
5006
5006
|
"""
|
|
5007
|
-
Description: iotbasic
|
|
5008
|
-
Summary: iotbasic
|
|
5007
|
+
Description: iotbasic-设备厂商企业注册
|
|
5008
|
+
Summary: iotbasic-设备厂商企业注册
|
|
5009
5009
|
"""
|
|
5010
5010
|
UtilClient.validate_model(request)
|
|
5011
5011
|
return TeaCore.from_map(
|
|
5012
|
-
bot_models.
|
|
5013
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
5012
|
+
bot_models.RegisterDevicecorpCustomerResponse(),
|
|
5013
|
+
await self.do_request_async('1.0', 'blockchain.bot.devicecorp.customer.register', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5014
5014
|
)
|
|
5015
5015
|
|
|
5016
|
-
def
|
|
5016
|
+
def get_devicecorp_productinfo(
|
|
5017
5017
|
self,
|
|
5018
|
-
request: bot_models.
|
|
5019
|
-
) -> bot_models.
|
|
5018
|
+
request: bot_models.GetDevicecorpProductinfoRequest,
|
|
5019
|
+
) -> bot_models.GetDevicecorpProductinfoResponse:
|
|
5020
5020
|
"""
|
|
5021
|
-
Description: iotbasic
|
|
5022
|
-
Summary: iotbasic
|
|
5021
|
+
Description: iotbasic-设备厂商产品查询
|
|
5022
|
+
Summary: iotbasic-设备厂商产品查询
|
|
5023
5023
|
"""
|
|
5024
5024
|
runtime = util_models.RuntimeOptions()
|
|
5025
5025
|
headers = {}
|
|
5026
|
-
return self.
|
|
5026
|
+
return self.get_devicecorp_productinfo_ex(request, headers, runtime)
|
|
5027
5027
|
|
|
5028
|
-
async def
|
|
5028
|
+
async def get_devicecorp_productinfo_async(
|
|
5029
5029
|
self,
|
|
5030
|
-
request: bot_models.
|
|
5031
|
-
) -> bot_models.
|
|
5030
|
+
request: bot_models.GetDevicecorpProductinfoRequest,
|
|
5031
|
+
) -> bot_models.GetDevicecorpProductinfoResponse:
|
|
5032
5032
|
"""
|
|
5033
|
-
Description: iotbasic
|
|
5034
|
-
Summary: iotbasic
|
|
5033
|
+
Description: iotbasic-设备厂商产品查询
|
|
5034
|
+
Summary: iotbasic-设备厂商产品查询
|
|
5035
5035
|
"""
|
|
5036
5036
|
runtime = util_models.RuntimeOptions()
|
|
5037
5037
|
headers = {}
|
|
5038
|
-
return await self.
|
|
5038
|
+
return await self.get_devicecorp_productinfo_ex_async(request, headers, runtime)
|
|
5039
5039
|
|
|
5040
|
-
def
|
|
5040
|
+
def get_devicecorp_productinfo_ex(
|
|
5041
5041
|
self,
|
|
5042
|
-
request: bot_models.
|
|
5042
|
+
request: bot_models.GetDevicecorpProductinfoRequest,
|
|
5043
5043
|
headers: Dict[str, str],
|
|
5044
5044
|
runtime: util_models.RuntimeOptions,
|
|
5045
|
-
) -> bot_models.
|
|
5045
|
+
) -> bot_models.GetDevicecorpProductinfoResponse:
|
|
5046
5046
|
"""
|
|
5047
|
-
Description: iotbasic
|
|
5048
|
-
Summary: iotbasic
|
|
5047
|
+
Description: iotbasic-设备厂商产品查询
|
|
5048
|
+
Summary: iotbasic-设备厂商产品查询
|
|
5049
5049
|
"""
|
|
5050
5050
|
UtilClient.validate_model(request)
|
|
5051
5051
|
return TeaCore.from_map(
|
|
5052
|
-
bot_models.
|
|
5053
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
5052
|
+
bot_models.GetDevicecorpProductinfoResponse(),
|
|
5053
|
+
self.do_request('1.0', 'blockchain.bot.devicecorp.productinfo.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5054
5054
|
)
|
|
5055
5055
|
|
|
5056
|
-
async def
|
|
5056
|
+
async def get_devicecorp_productinfo_ex_async(
|
|
5057
5057
|
self,
|
|
5058
|
-
request: bot_models.
|
|
5058
|
+
request: bot_models.GetDevicecorpProductinfoRequest,
|
|
5059
5059
|
headers: Dict[str, str],
|
|
5060
5060
|
runtime: util_models.RuntimeOptions,
|
|
5061
|
-
) -> bot_models.
|
|
5061
|
+
) -> bot_models.GetDevicecorpProductinfoResponse:
|
|
5062
5062
|
"""
|
|
5063
|
-
Description: iotbasic
|
|
5064
|
-
Summary: iotbasic
|
|
5063
|
+
Description: iotbasic-设备厂商产品查询
|
|
5064
|
+
Summary: iotbasic-设备厂商产品查询
|
|
5065
5065
|
"""
|
|
5066
5066
|
UtilClient.validate_model(request)
|
|
5067
5067
|
return TeaCore.from_map(
|
|
5068
|
-
bot_models.
|
|
5069
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
5068
|
+
bot_models.GetDevicecorpProductinfoResponse(),
|
|
5069
|
+
await self.do_request_async('1.0', 'blockchain.bot.devicecorp.productinfo.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5070
5070
|
)
|
|
5071
5071
|
|
|
5072
|
-
def
|
|
5072
|
+
def add_devicecorp_deviceattributes(
|
|
5073
5073
|
self,
|
|
5074
|
-
request: bot_models.
|
|
5075
|
-
) -> bot_models.
|
|
5074
|
+
request: bot_models.AddDevicecorpDeviceattributesRequest,
|
|
5075
|
+
) -> bot_models.AddDevicecorpDeviceattributesResponse:
|
|
5076
5076
|
"""
|
|
5077
|
-
Description: iotbasic
|
|
5078
|
-
Summary: iotbasic
|
|
5077
|
+
Description: iotbasic-添加设备厂商设备属性
|
|
5078
|
+
Summary: iotbasic-添加设备厂商设备属性
|
|
5079
5079
|
"""
|
|
5080
5080
|
runtime = util_models.RuntimeOptions()
|
|
5081
5081
|
headers = {}
|
|
5082
|
-
return self.
|
|
5082
|
+
return self.add_devicecorp_deviceattributes_ex(request, headers, runtime)
|
|
5083
5083
|
|
|
5084
|
-
async def
|
|
5084
|
+
async def add_devicecorp_deviceattributes_async(
|
|
5085
5085
|
self,
|
|
5086
|
-
request: bot_models.
|
|
5087
|
-
) -> bot_models.
|
|
5086
|
+
request: bot_models.AddDevicecorpDeviceattributesRequest,
|
|
5087
|
+
) -> bot_models.AddDevicecorpDeviceattributesResponse:
|
|
5088
5088
|
"""
|
|
5089
|
-
Description: iotbasic
|
|
5090
|
-
Summary: iotbasic
|
|
5089
|
+
Description: iotbasic-添加设备厂商设备属性
|
|
5090
|
+
Summary: iotbasic-添加设备厂商设备属性
|
|
5091
5091
|
"""
|
|
5092
5092
|
runtime = util_models.RuntimeOptions()
|
|
5093
5093
|
headers = {}
|
|
5094
|
-
return await self.
|
|
5094
|
+
return await self.add_devicecorp_deviceattributes_ex_async(request, headers, runtime)
|
|
5095
5095
|
|
|
5096
|
-
def
|
|
5096
|
+
def add_devicecorp_deviceattributes_ex(
|
|
5097
5097
|
self,
|
|
5098
|
-
request: bot_models.
|
|
5098
|
+
request: bot_models.AddDevicecorpDeviceattributesRequest,
|
|
5099
5099
|
headers: Dict[str, str],
|
|
5100
5100
|
runtime: util_models.RuntimeOptions,
|
|
5101
|
-
) -> bot_models.
|
|
5101
|
+
) -> bot_models.AddDevicecorpDeviceattributesResponse:
|
|
5102
5102
|
"""
|
|
5103
|
-
Description: iotbasic
|
|
5104
|
-
Summary: iotbasic
|
|
5103
|
+
Description: iotbasic-添加设备厂商设备属性
|
|
5104
|
+
Summary: iotbasic-添加设备厂商设备属性
|
|
5105
5105
|
"""
|
|
5106
5106
|
UtilClient.validate_model(request)
|
|
5107
5107
|
return TeaCore.from_map(
|
|
5108
|
-
bot_models.
|
|
5109
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
5108
|
+
bot_models.AddDevicecorpDeviceattributesResponse(),
|
|
5109
|
+
self.do_request('1.0', 'blockchain.bot.devicecorp.deviceattributes.add', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5110
5110
|
)
|
|
5111
5111
|
|
|
5112
|
-
async def
|
|
5112
|
+
async def add_devicecorp_deviceattributes_ex_async(
|
|
5113
5113
|
self,
|
|
5114
|
-
request: bot_models.
|
|
5114
|
+
request: bot_models.AddDevicecorpDeviceattributesRequest,
|
|
5115
5115
|
headers: Dict[str, str],
|
|
5116
5116
|
runtime: util_models.RuntimeOptions,
|
|
5117
|
-
) -> bot_models.
|
|
5117
|
+
) -> bot_models.AddDevicecorpDeviceattributesResponse:
|
|
5118
5118
|
"""
|
|
5119
|
-
Description: iotbasic
|
|
5120
|
-
Summary: iotbasic
|
|
5119
|
+
Description: iotbasic-添加设备厂商设备属性
|
|
5120
|
+
Summary: iotbasic-添加设备厂商设备属性
|
|
5121
5121
|
"""
|
|
5122
5122
|
UtilClient.validate_model(request)
|
|
5123
5123
|
return TeaCore.from_map(
|
|
5124
|
-
bot_models.
|
|
5125
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
5124
|
+
bot_models.AddDevicecorpDeviceattributesResponse(),
|
|
5125
|
+
await self.do_request_async('1.0', 'blockchain.bot.devicecorp.deviceattributes.add', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5126
5126
|
)
|
|
5127
5127
|
|
|
5128
5128
|
def exec_device_thingservice(
|
|
@@ -5293,6 +5293,230 @@ class Client:
|
|
|
5293
5293
|
await self.do_request_async('1.0', 'blockchain.bot.device.modeldata.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5294
5294
|
)
|
|
5295
5295
|
|
|
5296
|
+
def create_devicecorp_device(
|
|
5297
|
+
self,
|
|
5298
|
+
request: bot_models.CreateDevicecorpDeviceRequest,
|
|
5299
|
+
) -> bot_models.CreateDevicecorpDeviceResponse:
|
|
5300
|
+
"""
|
|
5301
|
+
Description: iotbasic-设备厂商注册设备
|
|
5302
|
+
Summary: iotbasic-设备厂商注册设备
|
|
5303
|
+
"""
|
|
5304
|
+
runtime = util_models.RuntimeOptions()
|
|
5305
|
+
headers = {}
|
|
5306
|
+
return self.create_devicecorp_device_ex(request, headers, runtime)
|
|
5307
|
+
|
|
5308
|
+
async def create_devicecorp_device_async(
|
|
5309
|
+
self,
|
|
5310
|
+
request: bot_models.CreateDevicecorpDeviceRequest,
|
|
5311
|
+
) -> bot_models.CreateDevicecorpDeviceResponse:
|
|
5312
|
+
"""
|
|
5313
|
+
Description: iotbasic-设备厂商注册设备
|
|
5314
|
+
Summary: iotbasic-设备厂商注册设备
|
|
5315
|
+
"""
|
|
5316
|
+
runtime = util_models.RuntimeOptions()
|
|
5317
|
+
headers = {}
|
|
5318
|
+
return await self.create_devicecorp_device_ex_async(request, headers, runtime)
|
|
5319
|
+
|
|
5320
|
+
def create_devicecorp_device_ex(
|
|
5321
|
+
self,
|
|
5322
|
+
request: bot_models.CreateDevicecorpDeviceRequest,
|
|
5323
|
+
headers: Dict[str, str],
|
|
5324
|
+
runtime: util_models.RuntimeOptions,
|
|
5325
|
+
) -> bot_models.CreateDevicecorpDeviceResponse:
|
|
5326
|
+
"""
|
|
5327
|
+
Description: iotbasic-设备厂商注册设备
|
|
5328
|
+
Summary: iotbasic-设备厂商注册设备
|
|
5329
|
+
"""
|
|
5330
|
+
UtilClient.validate_model(request)
|
|
5331
|
+
return TeaCore.from_map(
|
|
5332
|
+
bot_models.CreateDevicecorpDeviceResponse(),
|
|
5333
|
+
self.do_request('1.0', 'blockchain.bot.devicecorp.device.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5334
|
+
)
|
|
5335
|
+
|
|
5336
|
+
async def create_devicecorp_device_ex_async(
|
|
5337
|
+
self,
|
|
5338
|
+
request: bot_models.CreateDevicecorpDeviceRequest,
|
|
5339
|
+
headers: Dict[str, str],
|
|
5340
|
+
runtime: util_models.RuntimeOptions,
|
|
5341
|
+
) -> bot_models.CreateDevicecorpDeviceResponse:
|
|
5342
|
+
"""
|
|
5343
|
+
Description: iotbasic-设备厂商注册设备
|
|
5344
|
+
Summary: iotbasic-设备厂商注册设备
|
|
5345
|
+
"""
|
|
5346
|
+
UtilClient.validate_model(request)
|
|
5347
|
+
return TeaCore.from_map(
|
|
5348
|
+
bot_models.CreateDevicecorpDeviceResponse(),
|
|
5349
|
+
await self.do_request_async('1.0', 'blockchain.bot.devicecorp.device.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5350
|
+
)
|
|
5351
|
+
|
|
5352
|
+
def batchcreate_devicecorp_device(
|
|
5353
|
+
self,
|
|
5354
|
+
request: bot_models.BatchcreateDevicecorpDeviceRequest,
|
|
5355
|
+
) -> bot_models.BatchcreateDevicecorpDeviceResponse:
|
|
5356
|
+
"""
|
|
5357
|
+
Description: iotbasic-设备厂商批量注册设备
|
|
5358
|
+
Summary: iotbasic-设备厂商批量注册设备
|
|
5359
|
+
"""
|
|
5360
|
+
runtime = util_models.RuntimeOptions()
|
|
5361
|
+
headers = {}
|
|
5362
|
+
return self.batchcreate_devicecorp_device_ex(request, headers, runtime)
|
|
5363
|
+
|
|
5364
|
+
async def batchcreate_devicecorp_device_async(
|
|
5365
|
+
self,
|
|
5366
|
+
request: bot_models.BatchcreateDevicecorpDeviceRequest,
|
|
5367
|
+
) -> bot_models.BatchcreateDevicecorpDeviceResponse:
|
|
5368
|
+
"""
|
|
5369
|
+
Description: iotbasic-设备厂商批量注册设备
|
|
5370
|
+
Summary: iotbasic-设备厂商批量注册设备
|
|
5371
|
+
"""
|
|
5372
|
+
runtime = util_models.RuntimeOptions()
|
|
5373
|
+
headers = {}
|
|
5374
|
+
return await self.batchcreate_devicecorp_device_ex_async(request, headers, runtime)
|
|
5375
|
+
|
|
5376
|
+
def batchcreate_devicecorp_device_ex(
|
|
5377
|
+
self,
|
|
5378
|
+
request: bot_models.BatchcreateDevicecorpDeviceRequest,
|
|
5379
|
+
headers: Dict[str, str],
|
|
5380
|
+
runtime: util_models.RuntimeOptions,
|
|
5381
|
+
) -> bot_models.BatchcreateDevicecorpDeviceResponse:
|
|
5382
|
+
"""
|
|
5383
|
+
Description: iotbasic-设备厂商批量注册设备
|
|
5384
|
+
Summary: iotbasic-设备厂商批量注册设备
|
|
5385
|
+
"""
|
|
5386
|
+
UtilClient.validate_model(request)
|
|
5387
|
+
return TeaCore.from_map(
|
|
5388
|
+
bot_models.BatchcreateDevicecorpDeviceResponse(),
|
|
5389
|
+
self.do_request('1.0', 'blockchain.bot.devicecorp.device.batchcreate', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5390
|
+
)
|
|
5391
|
+
|
|
5392
|
+
async def batchcreate_devicecorp_device_ex_async(
|
|
5393
|
+
self,
|
|
5394
|
+
request: bot_models.BatchcreateDevicecorpDeviceRequest,
|
|
5395
|
+
headers: Dict[str, str],
|
|
5396
|
+
runtime: util_models.RuntimeOptions,
|
|
5397
|
+
) -> bot_models.BatchcreateDevicecorpDeviceResponse:
|
|
5398
|
+
"""
|
|
5399
|
+
Description: iotbasic-设备厂商批量注册设备
|
|
5400
|
+
Summary: iotbasic-设备厂商批量注册设备
|
|
5401
|
+
"""
|
|
5402
|
+
UtilClient.validate_model(request)
|
|
5403
|
+
return TeaCore.from_map(
|
|
5404
|
+
bot_models.BatchcreateDevicecorpDeviceResponse(),
|
|
5405
|
+
await self.do_request_async('1.0', 'blockchain.bot.devicecorp.device.batchcreate', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5406
|
+
)
|
|
5407
|
+
|
|
5408
|
+
def query_devicecorp_customerregisterresult(
|
|
5409
|
+
self,
|
|
5410
|
+
request: bot_models.QueryDevicecorpCustomerregisterresultRequest,
|
|
5411
|
+
) -> bot_models.QueryDevicecorpCustomerregisterresultResponse:
|
|
5412
|
+
"""
|
|
5413
|
+
Description: iotbasic-查询设备厂商企业注册结果
|
|
5414
|
+
Summary: 查询设备厂商企业注册结果
|
|
5415
|
+
"""
|
|
5416
|
+
runtime = util_models.RuntimeOptions()
|
|
5417
|
+
headers = {}
|
|
5418
|
+
return self.query_devicecorp_customerregisterresult_ex(request, headers, runtime)
|
|
5419
|
+
|
|
5420
|
+
async def query_devicecorp_customerregisterresult_async(
|
|
5421
|
+
self,
|
|
5422
|
+
request: bot_models.QueryDevicecorpCustomerregisterresultRequest,
|
|
5423
|
+
) -> bot_models.QueryDevicecorpCustomerregisterresultResponse:
|
|
5424
|
+
"""
|
|
5425
|
+
Description: iotbasic-查询设备厂商企业注册结果
|
|
5426
|
+
Summary: 查询设备厂商企业注册结果
|
|
5427
|
+
"""
|
|
5428
|
+
runtime = util_models.RuntimeOptions()
|
|
5429
|
+
headers = {}
|
|
5430
|
+
return await self.query_devicecorp_customerregisterresult_ex_async(request, headers, runtime)
|
|
5431
|
+
|
|
5432
|
+
def query_devicecorp_customerregisterresult_ex(
|
|
5433
|
+
self,
|
|
5434
|
+
request: bot_models.QueryDevicecorpCustomerregisterresultRequest,
|
|
5435
|
+
headers: Dict[str, str],
|
|
5436
|
+
runtime: util_models.RuntimeOptions,
|
|
5437
|
+
) -> bot_models.QueryDevicecorpCustomerregisterresultResponse:
|
|
5438
|
+
"""
|
|
5439
|
+
Description: iotbasic-查询设备厂商企业注册结果
|
|
5440
|
+
Summary: 查询设备厂商企业注册结果
|
|
5441
|
+
"""
|
|
5442
|
+
UtilClient.validate_model(request)
|
|
5443
|
+
return TeaCore.from_map(
|
|
5444
|
+
bot_models.QueryDevicecorpCustomerregisterresultResponse(),
|
|
5445
|
+
self.do_request('1.0', 'blockchain.bot.devicecorp.customerregisterresult.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5446
|
+
)
|
|
5447
|
+
|
|
5448
|
+
async def query_devicecorp_customerregisterresult_ex_async(
|
|
5449
|
+
self,
|
|
5450
|
+
request: bot_models.QueryDevicecorpCustomerregisterresultRequest,
|
|
5451
|
+
headers: Dict[str, str],
|
|
5452
|
+
runtime: util_models.RuntimeOptions,
|
|
5453
|
+
) -> bot_models.QueryDevicecorpCustomerregisterresultResponse:
|
|
5454
|
+
"""
|
|
5455
|
+
Description: iotbasic-查询设备厂商企业注册结果
|
|
5456
|
+
Summary: 查询设备厂商企业注册结果
|
|
5457
|
+
"""
|
|
5458
|
+
UtilClient.validate_model(request)
|
|
5459
|
+
return TeaCore.from_map(
|
|
5460
|
+
bot_models.QueryDevicecorpCustomerregisterresultResponse(),
|
|
5461
|
+
await self.do_request_async('1.0', 'blockchain.bot.devicecorp.customerregisterresult.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5462
|
+
)
|
|
5463
|
+
|
|
5464
|
+
def operate_devicecorp_devicecontrol(
|
|
5465
|
+
self,
|
|
5466
|
+
request: bot_models.OperateDevicecorpDevicecontrolRequest,
|
|
5467
|
+
) -> bot_models.OperateDevicecorpDevicecontrolResponse:
|
|
5468
|
+
"""
|
|
5469
|
+
Description: iotbasic-管控设备厂商设备
|
|
5470
|
+
Summary: iotbasic-管控设备厂商设备
|
|
5471
|
+
"""
|
|
5472
|
+
runtime = util_models.RuntimeOptions()
|
|
5473
|
+
headers = {}
|
|
5474
|
+
return self.operate_devicecorp_devicecontrol_ex(request, headers, runtime)
|
|
5475
|
+
|
|
5476
|
+
async def operate_devicecorp_devicecontrol_async(
|
|
5477
|
+
self,
|
|
5478
|
+
request: bot_models.OperateDevicecorpDevicecontrolRequest,
|
|
5479
|
+
) -> bot_models.OperateDevicecorpDevicecontrolResponse:
|
|
5480
|
+
"""
|
|
5481
|
+
Description: iotbasic-管控设备厂商设备
|
|
5482
|
+
Summary: iotbasic-管控设备厂商设备
|
|
5483
|
+
"""
|
|
5484
|
+
runtime = util_models.RuntimeOptions()
|
|
5485
|
+
headers = {}
|
|
5486
|
+
return await self.operate_devicecorp_devicecontrol_ex_async(request, headers, runtime)
|
|
5487
|
+
|
|
5488
|
+
def operate_devicecorp_devicecontrol_ex(
|
|
5489
|
+
self,
|
|
5490
|
+
request: bot_models.OperateDevicecorpDevicecontrolRequest,
|
|
5491
|
+
headers: Dict[str, str],
|
|
5492
|
+
runtime: util_models.RuntimeOptions,
|
|
5493
|
+
) -> bot_models.OperateDevicecorpDevicecontrolResponse:
|
|
5494
|
+
"""
|
|
5495
|
+
Description: iotbasic-管控设备厂商设备
|
|
5496
|
+
Summary: iotbasic-管控设备厂商设备
|
|
5497
|
+
"""
|
|
5498
|
+
UtilClient.validate_model(request)
|
|
5499
|
+
return TeaCore.from_map(
|
|
5500
|
+
bot_models.OperateDevicecorpDevicecontrolResponse(),
|
|
5501
|
+
self.do_request('1.0', 'blockchain.bot.devicecorp.devicecontrol.operate', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5502
|
+
)
|
|
5503
|
+
|
|
5504
|
+
async def operate_devicecorp_devicecontrol_ex_async(
|
|
5505
|
+
self,
|
|
5506
|
+
request: bot_models.OperateDevicecorpDevicecontrolRequest,
|
|
5507
|
+
headers: Dict[str, str],
|
|
5508
|
+
runtime: util_models.RuntimeOptions,
|
|
5509
|
+
) -> bot_models.OperateDevicecorpDevicecontrolResponse:
|
|
5510
|
+
"""
|
|
5511
|
+
Description: iotbasic-管控设备厂商设备
|
|
5512
|
+
Summary: iotbasic-管控设备厂商设备
|
|
5513
|
+
"""
|
|
5514
|
+
UtilClient.validate_model(request)
|
|
5515
|
+
return TeaCore.from_map(
|
|
5516
|
+
bot_models.OperateDevicecorpDevicecontrolResponse(),
|
|
5517
|
+
await self.do_request_async('1.0', 'blockchain.bot.devicecorp.devicecontrol.operate', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5518
|
+
)
|
|
5519
|
+
|
|
5296
5520
|
def query_iotplatform_purchaseorder(
|
|
5297
5521
|
self,
|
|
5298
5522
|
request: bot_models.QueryIotplatformPurchaseorderRequest,
|
|
@@ -11509,6 +11733,62 @@ class Client:
|
|
|
11509
11733
|
await self.do_request_async('1.0', 'blockchain.bot.onlinepressuretest.data.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
11510
11734
|
)
|
|
11511
11735
|
|
|
11736
|
+
def exec_thing_service(
|
|
11737
|
+
self,
|
|
11738
|
+
request: bot_models.ExecThingServiceRequest,
|
|
11739
|
+
) -> bot_models.ExecThingServiceResponse:
|
|
11740
|
+
"""
|
|
11741
|
+
Description: 物模型服务调用
|
|
11742
|
+
Summary: 物模型服务调用
|
|
11743
|
+
"""
|
|
11744
|
+
runtime = util_models.RuntimeOptions()
|
|
11745
|
+
headers = {}
|
|
11746
|
+
return self.exec_thing_service_ex(request, headers, runtime)
|
|
11747
|
+
|
|
11748
|
+
async def exec_thing_service_async(
|
|
11749
|
+
self,
|
|
11750
|
+
request: bot_models.ExecThingServiceRequest,
|
|
11751
|
+
) -> bot_models.ExecThingServiceResponse:
|
|
11752
|
+
"""
|
|
11753
|
+
Description: 物模型服务调用
|
|
11754
|
+
Summary: 物模型服务调用
|
|
11755
|
+
"""
|
|
11756
|
+
runtime = util_models.RuntimeOptions()
|
|
11757
|
+
headers = {}
|
|
11758
|
+
return await self.exec_thing_service_ex_async(request, headers, runtime)
|
|
11759
|
+
|
|
11760
|
+
def exec_thing_service_ex(
|
|
11761
|
+
self,
|
|
11762
|
+
request: bot_models.ExecThingServiceRequest,
|
|
11763
|
+
headers: Dict[str, str],
|
|
11764
|
+
runtime: util_models.RuntimeOptions,
|
|
11765
|
+
) -> bot_models.ExecThingServiceResponse:
|
|
11766
|
+
"""
|
|
11767
|
+
Description: 物模型服务调用
|
|
11768
|
+
Summary: 物模型服务调用
|
|
11769
|
+
"""
|
|
11770
|
+
UtilClient.validate_model(request)
|
|
11771
|
+
return TeaCore.from_map(
|
|
11772
|
+
bot_models.ExecThingServiceResponse(),
|
|
11773
|
+
self.do_request('1.0', 'blockchain.bot.thing.service.exec', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
11774
|
+
)
|
|
11775
|
+
|
|
11776
|
+
async def exec_thing_service_ex_async(
|
|
11777
|
+
self,
|
|
11778
|
+
request: bot_models.ExecThingServiceRequest,
|
|
11779
|
+
headers: Dict[str, str],
|
|
11780
|
+
runtime: util_models.RuntimeOptions,
|
|
11781
|
+
) -> bot_models.ExecThingServiceResponse:
|
|
11782
|
+
"""
|
|
11783
|
+
Description: 物模型服务调用
|
|
11784
|
+
Summary: 物模型服务调用
|
|
11785
|
+
"""
|
|
11786
|
+
UtilClient.validate_model(request)
|
|
11787
|
+
return TeaCore.from_map(
|
|
11788
|
+
bot_models.ExecThingServiceResponse(),
|
|
11789
|
+
await self.do_request_async('1.0', 'blockchain.bot.thing.service.exec', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
11790
|
+
)
|
|
11791
|
+
|
|
11512
11792
|
def exec_thingsdid_oneapi(
|
|
11513
11793
|
self,
|
|
11514
11794
|
request: bot_models.ExecThingsdidOneapiRequest,
|