antchain-bot 1.11.6__tar.gz → 1.11.10__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antchain_bot
3
- Version: 1.11.6
3
+ Version: 1.11.10
4
4
  Summary: Ant Chain BOT SDK Library for Python
5
5
  Home-page: https://github.com/alipay/antchain-openapi-prod-sdk
6
6
  Author: Ant Chain SDK
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antchain-bot
3
- Version: 1.11.6
3
+ Version: 1.11.10
4
4
  Summary: Ant Chain BOT SDK Library for Python
5
5
  Home-page: https://github.com/alipay/antchain-openapi-prod-sdk
6
6
  Author: Ant Chain SDK
@@ -0,0 +1 @@
1
+ __version__ = '1.11.10'
@@ -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.11.6',
138
+ 'sdk_version': '1.11.10',
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.11.6',
242
+ 'sdk_version': '1.11.10',
243
243
  '_prod_code': 'BOT',
244
244
  '_prod_channel': 'undefined'
245
245
  }
@@ -4962,8 +4962,8 @@ class Client:
4962
4962
  request: bot_models.RegisterDevicecorpCustomerRequest,
4963
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 = {}
@@ -4974,8 +4974,8 @@ class Client:
4974
4974
  request: bot_models.RegisterDevicecorpCustomerRequest,
4975
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 = {}
@@ -4988,8 +4988,8 @@ class Client:
4988
4988
  runtime: util_models.RuntimeOptions,
4989
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(
@@ -5004,8 +5004,8 @@ class Client:
5004
5004
  runtime: util_models.RuntimeOptions,
5005
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(
@@ -6133,6 +6133,286 @@ class Client:
6133
6133
  await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withhold.notify', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6134
6134
  )
6135
6135
 
6136
+ def query_category_industryscenelist(
6137
+ self,
6138
+ request: bot_models.QueryCategoryIndustryscenelistRequest,
6139
+ ) -> bot_models.QueryCategoryIndustryscenelistResponse:
6140
+ """
6141
+ Description: iotbasic-查询品类行业,场景列表
6142
+ Summary: iotbasic-查询品类行业,场景列表
6143
+ """
6144
+ runtime = util_models.RuntimeOptions()
6145
+ headers = {}
6146
+ return self.query_category_industryscenelist_ex(request, headers, runtime)
6147
+
6148
+ async def query_category_industryscenelist_async(
6149
+ self,
6150
+ request: bot_models.QueryCategoryIndustryscenelistRequest,
6151
+ ) -> bot_models.QueryCategoryIndustryscenelistResponse:
6152
+ """
6153
+ Description: iotbasic-查询品类行业,场景列表
6154
+ Summary: iotbasic-查询品类行业,场景列表
6155
+ """
6156
+ runtime = util_models.RuntimeOptions()
6157
+ headers = {}
6158
+ return await self.query_category_industryscenelist_ex_async(request, headers, runtime)
6159
+
6160
+ def query_category_industryscenelist_ex(
6161
+ self,
6162
+ request: bot_models.QueryCategoryIndustryscenelistRequest,
6163
+ headers: Dict[str, str],
6164
+ runtime: util_models.RuntimeOptions,
6165
+ ) -> bot_models.QueryCategoryIndustryscenelistResponse:
6166
+ """
6167
+ Description: iotbasic-查询品类行业,场景列表
6168
+ Summary: iotbasic-查询品类行业,场景列表
6169
+ """
6170
+ UtilClient.validate_model(request)
6171
+ return TeaCore.from_map(
6172
+ bot_models.QueryCategoryIndustryscenelistResponse(),
6173
+ self.do_request('1.0', 'blockchain.bot.category.industryscenelist.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6174
+ )
6175
+
6176
+ async def query_category_industryscenelist_ex_async(
6177
+ self,
6178
+ request: bot_models.QueryCategoryIndustryscenelistRequest,
6179
+ headers: Dict[str, str],
6180
+ runtime: util_models.RuntimeOptions,
6181
+ ) -> bot_models.QueryCategoryIndustryscenelistResponse:
6182
+ """
6183
+ Description: iotbasic-查询品类行业,场景列表
6184
+ Summary: iotbasic-查询品类行业,场景列表
6185
+ """
6186
+ UtilClient.validate_model(request)
6187
+ return TeaCore.from_map(
6188
+ bot_models.QueryCategoryIndustryscenelistResponse(),
6189
+ await self.do_request_async('1.0', 'blockchain.bot.category.industryscenelist.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6190
+ )
6191
+
6192
+ def create_category_custom(
6193
+ self,
6194
+ request: bot_models.CreateCategoryCustomRequest,
6195
+ ) -> bot_models.CreateCategoryCustomResponse:
6196
+ """
6197
+ Description: iotbasic-创建自定义品类
6198
+ Summary: iotbasic-创建自定义品类
6199
+ """
6200
+ runtime = util_models.RuntimeOptions()
6201
+ headers = {}
6202
+ return self.create_category_custom_ex(request, headers, runtime)
6203
+
6204
+ async def create_category_custom_async(
6205
+ self,
6206
+ request: bot_models.CreateCategoryCustomRequest,
6207
+ ) -> bot_models.CreateCategoryCustomResponse:
6208
+ """
6209
+ Description: iotbasic-创建自定义品类
6210
+ Summary: iotbasic-创建自定义品类
6211
+ """
6212
+ runtime = util_models.RuntimeOptions()
6213
+ headers = {}
6214
+ return await self.create_category_custom_ex_async(request, headers, runtime)
6215
+
6216
+ def create_category_custom_ex(
6217
+ self,
6218
+ request: bot_models.CreateCategoryCustomRequest,
6219
+ headers: Dict[str, str],
6220
+ runtime: util_models.RuntimeOptions,
6221
+ ) -> bot_models.CreateCategoryCustomResponse:
6222
+ """
6223
+ Description: iotbasic-创建自定义品类
6224
+ Summary: iotbasic-创建自定义品类
6225
+ """
6226
+ UtilClient.validate_model(request)
6227
+ return TeaCore.from_map(
6228
+ bot_models.CreateCategoryCustomResponse(),
6229
+ self.do_request('1.0', 'blockchain.bot.category.custom.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6230
+ )
6231
+
6232
+ async def create_category_custom_ex_async(
6233
+ self,
6234
+ request: bot_models.CreateCategoryCustomRequest,
6235
+ headers: Dict[str, str],
6236
+ runtime: util_models.RuntimeOptions,
6237
+ ) -> bot_models.CreateCategoryCustomResponse:
6238
+ """
6239
+ Description: iotbasic-创建自定义品类
6240
+ Summary: iotbasic-创建自定义品类
6241
+ """
6242
+ UtilClient.validate_model(request)
6243
+ return TeaCore.from_map(
6244
+ bot_models.CreateCategoryCustomResponse(),
6245
+ await self.do_request_async('1.0', 'blockchain.bot.category.custom.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6246
+ )
6247
+
6248
+ def create_device_model(
6249
+ self,
6250
+ request: bot_models.CreateDeviceModelRequest,
6251
+ ) -> bot_models.CreateDeviceModelResponse:
6252
+ """
6253
+ Description: iotbasic-设备模型创建
6254
+ Summary: iotbasic-设备模型创建
6255
+ """
6256
+ runtime = util_models.RuntimeOptions()
6257
+ headers = {}
6258
+ return self.create_device_model_ex(request, headers, runtime)
6259
+
6260
+ async def create_device_model_async(
6261
+ self,
6262
+ request: bot_models.CreateDeviceModelRequest,
6263
+ ) -> bot_models.CreateDeviceModelResponse:
6264
+ """
6265
+ Description: iotbasic-设备模型创建
6266
+ Summary: iotbasic-设备模型创建
6267
+ """
6268
+ runtime = util_models.RuntimeOptions()
6269
+ headers = {}
6270
+ return await self.create_device_model_ex_async(request, headers, runtime)
6271
+
6272
+ def create_device_model_ex(
6273
+ self,
6274
+ request: bot_models.CreateDeviceModelRequest,
6275
+ headers: Dict[str, str],
6276
+ runtime: util_models.RuntimeOptions,
6277
+ ) -> bot_models.CreateDeviceModelResponse:
6278
+ """
6279
+ Description: iotbasic-设备模型创建
6280
+ Summary: iotbasic-设备模型创建
6281
+ """
6282
+ UtilClient.validate_model(request)
6283
+ return TeaCore.from_map(
6284
+ bot_models.CreateDeviceModelResponse(),
6285
+ self.do_request('1.0', 'blockchain.bot.device.model.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6286
+ )
6287
+
6288
+ async def create_device_model_ex_async(
6289
+ self,
6290
+ request: bot_models.CreateDeviceModelRequest,
6291
+ headers: Dict[str, str],
6292
+ runtime: util_models.RuntimeOptions,
6293
+ ) -> bot_models.CreateDeviceModelResponse:
6294
+ """
6295
+ Description: iotbasic-设备模型创建
6296
+ Summary: iotbasic-设备模型创建
6297
+ """
6298
+ UtilClient.validate_model(request)
6299
+ return TeaCore.from_map(
6300
+ bot_models.CreateDeviceModelResponse(),
6301
+ await self.do_request_async('1.0', 'blockchain.bot.device.model.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6302
+ )
6303
+
6304
+ def create_iotbasic_product(
6305
+ self,
6306
+ request: bot_models.CreateIotbasicProductRequest,
6307
+ ) -> bot_models.CreateIotbasicProductResponse:
6308
+ """
6309
+ Description: iotbasic-创建iot产品
6310
+ Summary: iotbasic-创建iot产品
6311
+ """
6312
+ runtime = util_models.RuntimeOptions()
6313
+ headers = {}
6314
+ return self.create_iotbasic_product_ex(request, headers, runtime)
6315
+
6316
+ async def create_iotbasic_product_async(
6317
+ self,
6318
+ request: bot_models.CreateIotbasicProductRequest,
6319
+ ) -> bot_models.CreateIotbasicProductResponse:
6320
+ """
6321
+ Description: iotbasic-创建iot产品
6322
+ Summary: iotbasic-创建iot产品
6323
+ """
6324
+ runtime = util_models.RuntimeOptions()
6325
+ headers = {}
6326
+ return await self.create_iotbasic_product_ex_async(request, headers, runtime)
6327
+
6328
+ def create_iotbasic_product_ex(
6329
+ self,
6330
+ request: bot_models.CreateIotbasicProductRequest,
6331
+ headers: Dict[str, str],
6332
+ runtime: util_models.RuntimeOptions,
6333
+ ) -> bot_models.CreateIotbasicProductResponse:
6334
+ """
6335
+ Description: iotbasic-创建iot产品
6336
+ Summary: iotbasic-创建iot产品
6337
+ """
6338
+ UtilClient.validate_model(request)
6339
+ return TeaCore.from_map(
6340
+ bot_models.CreateIotbasicProductResponse(),
6341
+ self.do_request('1.0', 'blockchain.bot.iotbasic.product.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6342
+ )
6343
+
6344
+ async def create_iotbasic_product_ex_async(
6345
+ self,
6346
+ request: bot_models.CreateIotbasicProductRequest,
6347
+ headers: Dict[str, str],
6348
+ runtime: util_models.RuntimeOptions,
6349
+ ) -> bot_models.CreateIotbasicProductResponse:
6350
+ """
6351
+ Description: iotbasic-创建iot产品
6352
+ Summary: iotbasic-创建iot产品
6353
+ """
6354
+ UtilClient.validate_model(request)
6355
+ return TeaCore.from_map(
6356
+ bot_models.CreateIotbasicProductResponse(),
6357
+ await self.do_request_async('1.0', 'blockchain.bot.iotbasic.product.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6358
+ )
6359
+
6360
+ def query_digitalkey_withholdpay(
6361
+ self,
6362
+ request: bot_models.QueryDigitalkeyWithholdpayRequest,
6363
+ ) -> bot_models.QueryDigitalkeyWithholdpayResponse:
6364
+ """
6365
+ Description: 代扣支付订单查询
6366
+ Summary: 代扣支付订单查询
6367
+ """
6368
+ runtime = util_models.RuntimeOptions()
6369
+ headers = {}
6370
+ return self.query_digitalkey_withholdpay_ex(request, headers, runtime)
6371
+
6372
+ async def query_digitalkey_withholdpay_async(
6373
+ self,
6374
+ request: bot_models.QueryDigitalkeyWithholdpayRequest,
6375
+ ) -> bot_models.QueryDigitalkeyWithholdpayResponse:
6376
+ """
6377
+ Description: 代扣支付订单查询
6378
+ Summary: 代扣支付订单查询
6379
+ """
6380
+ runtime = util_models.RuntimeOptions()
6381
+ headers = {}
6382
+ return await self.query_digitalkey_withholdpay_ex_async(request, headers, runtime)
6383
+
6384
+ def query_digitalkey_withholdpay_ex(
6385
+ self,
6386
+ request: bot_models.QueryDigitalkeyWithholdpayRequest,
6387
+ headers: Dict[str, str],
6388
+ runtime: util_models.RuntimeOptions,
6389
+ ) -> bot_models.QueryDigitalkeyWithholdpayResponse:
6390
+ """
6391
+ Description: 代扣支付订单查询
6392
+ Summary: 代扣支付订单查询
6393
+ """
6394
+ UtilClient.validate_model(request)
6395
+ return TeaCore.from_map(
6396
+ bot_models.QueryDigitalkeyWithholdpayResponse(),
6397
+ self.do_request('1.0', 'blockchain.bot.digitalkey.withholdpay.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6398
+ )
6399
+
6400
+ async def query_digitalkey_withholdpay_ex_async(
6401
+ self,
6402
+ request: bot_models.QueryDigitalkeyWithholdpayRequest,
6403
+ headers: Dict[str, str],
6404
+ runtime: util_models.RuntimeOptions,
6405
+ ) -> bot_models.QueryDigitalkeyWithholdpayResponse:
6406
+ """
6407
+ Description: 代扣支付订单查询
6408
+ Summary: 代扣支付订单查询
6409
+ """
6410
+ UtilClient.validate_model(request)
6411
+ return TeaCore.from_map(
6412
+ bot_models.QueryDigitalkeyWithholdpayResponse(),
6413
+ await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withholdpay.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6414
+ )
6415
+
6136
6416
  def query_iotplatform_purchaseorder(
6137
6417
  self,
6138
6418
  request: bot_models.QueryIotplatformPurchaseorderRequest,
@@ -12461,6 +12741,62 @@ class Client:
12461
12741
  await self.do_request_async('1.0', 'blockchain.bot.thing.servicebyevent.callback', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
12462
12742
  )
12463
12743
 
12744
+ def import_techintegration_skugrantwhitelist(
12745
+ self,
12746
+ request: bot_models.ImportTechintegrationSkugrantwhitelistRequest,
12747
+ ) -> bot_models.ImportTechintegrationSkugrantwhitelistResponse:
12748
+ """
12749
+ Description: 客户添加SKU授权白名单
12750
+ Summary: 客户添加SKU授权白名单
12751
+ """
12752
+ runtime = util_models.RuntimeOptions()
12753
+ headers = {}
12754
+ return self.import_techintegration_skugrantwhitelist_ex(request, headers, runtime)
12755
+
12756
+ async def import_techintegration_skugrantwhitelist_async(
12757
+ self,
12758
+ request: bot_models.ImportTechintegrationSkugrantwhitelistRequest,
12759
+ ) -> bot_models.ImportTechintegrationSkugrantwhitelistResponse:
12760
+ """
12761
+ Description: 客户添加SKU授权白名单
12762
+ Summary: 客户添加SKU授权白名单
12763
+ """
12764
+ runtime = util_models.RuntimeOptions()
12765
+ headers = {}
12766
+ return await self.import_techintegration_skugrantwhitelist_ex_async(request, headers, runtime)
12767
+
12768
+ def import_techintegration_skugrantwhitelist_ex(
12769
+ self,
12770
+ request: bot_models.ImportTechintegrationSkugrantwhitelistRequest,
12771
+ headers: Dict[str, str],
12772
+ runtime: util_models.RuntimeOptions,
12773
+ ) -> bot_models.ImportTechintegrationSkugrantwhitelistResponse:
12774
+ """
12775
+ Description: 客户添加SKU授权白名单
12776
+ Summary: 客户添加SKU授权白名单
12777
+ """
12778
+ UtilClient.validate_model(request)
12779
+ return TeaCore.from_map(
12780
+ bot_models.ImportTechintegrationSkugrantwhitelistResponse(),
12781
+ self.do_request('1.0', 'blockchain.bot.techintegration.skugrantwhitelist.import', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
12782
+ )
12783
+
12784
+ async def import_techintegration_skugrantwhitelist_ex_async(
12785
+ self,
12786
+ request: bot_models.ImportTechintegrationSkugrantwhitelistRequest,
12787
+ headers: Dict[str, str],
12788
+ runtime: util_models.RuntimeOptions,
12789
+ ) -> bot_models.ImportTechintegrationSkugrantwhitelistResponse:
12790
+ """
12791
+ Description: 客户添加SKU授权白名单
12792
+ Summary: 客户添加SKU授权白名单
12793
+ """
12794
+ UtilClient.validate_model(request)
12795
+ return TeaCore.from_map(
12796
+ bot_models.ImportTechintegrationSkugrantwhitelistResponse(),
12797
+ await self.do_request_async('1.0', 'blockchain.bot.techintegration.skugrantwhitelist.import', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
12798
+ )
12799
+
12464
12800
  def exec_thingsdid_oneapi(
12465
12801
  self,
12466
12802
  request: bot_models.ExecThingsdidOneapiRequest,