antchain-bot 1.11.4__py3-none-any.whl → 1.11.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antchain-bot
3
- Version: 1.11.4
3
+ Version: 1.11.7
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,8 @@
1
+ antchain_sdk_bot/__init__.py,sha256=H8EnJPlRk8DAfBs6MxLlLQ37kgleIqUt7rn52KnNTO0,22
2
+ antchain_sdk_bot/client.py,sha256=44ZExQxp7mgWI3VqC7thuv5AtEW-8KDCTkVV9sQGyBw,547632
3
+ antchain_sdk_bot/models.py,sha256=_gHGR4k3YcYrW-SOxTIXu6PdqukjHsxbLTuCILbTyXU,1418243
4
+ antchain_bot-1.11.7.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ antchain_bot-1.11.7.dist-info/METADATA,sha256=j1OxKCBI6iBvnKcc_UJQTchdXGhddomKGAIu_dpSX2I,1988
6
+ antchain_bot-1.11.7.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
+ antchain_bot-1.11.7.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
8
+ antchain_bot-1.11.7.dist-info/RECORD,,
@@ -1 +1 @@
1
- __version__ = '1.11.4'
1
+ __version__ = '1.11.7'
@@ -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.4',
138
+ 'sdk_version': '1.11.7',
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.4',
242
+ 'sdk_version': '1.11.7',
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(
@@ -5858,8 +5858,8 @@ class Client:
5858
5858
  request: bot_models.PayDigitalkeyWithholdRequest,
5859
5859
  ) -> bot_models.PayDigitalkeyWithholdResponse:
5860
5860
  """
5861
- Description: 代扣支付
5862
- Summary: 代扣支付
5861
+ Description: 网约车代扣支付
5862
+ Summary: 网约车代扣支付
5863
5863
  """
5864
5864
  runtime = util_models.RuntimeOptions()
5865
5865
  headers = {}
@@ -5870,8 +5870,8 @@ class Client:
5870
5870
  request: bot_models.PayDigitalkeyWithholdRequest,
5871
5871
  ) -> bot_models.PayDigitalkeyWithholdResponse:
5872
5872
  """
5873
- Description: 代扣支付
5874
- Summary: 代扣支付
5873
+ Description: 网约车代扣支付
5874
+ Summary: 网约车代扣支付
5875
5875
  """
5876
5876
  runtime = util_models.RuntimeOptions()
5877
5877
  headers = {}
@@ -5884,8 +5884,8 @@ class Client:
5884
5884
  runtime: util_models.RuntimeOptions,
5885
5885
  ) -> bot_models.PayDigitalkeyWithholdResponse:
5886
5886
  """
5887
- Description: 代扣支付
5888
- Summary: 代扣支付
5887
+ Description: 网约车代扣支付
5888
+ Summary: 网约车代扣支付
5889
5889
  """
5890
5890
  UtilClient.validate_model(request)
5891
5891
  return TeaCore.from_map(
@@ -5900,8 +5900,8 @@ class Client:
5900
5900
  runtime: util_models.RuntimeOptions,
5901
5901
  ) -> bot_models.PayDigitalkeyWithholdResponse:
5902
5902
  """
5903
- Description: 代扣支付
5904
- Summary: 代扣支付
5903
+ Description: 网约车代扣支付
5904
+ Summary: 网约车代扣支付
5905
5905
  """
5906
5906
  UtilClient.validate_model(request)
5907
5907
  return TeaCore.from_map(
@@ -6133,6 +6133,230 @@ 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
+
6136
6360
  def query_iotplatform_purchaseorder(
6137
6361
  self,
6138
6362
  request: bot_models.QueryIotplatformPurchaseorderRequest,