antchain-bot 1.12.40__py3-none-any.whl → 1.12.53__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.12.40
3
+ Version: 1.12.53
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=S4OlsU-V9PEDNa6tSTC_dmyh4LZqTUMBzQx_EIhw1-E,23
2
+ antchain_sdk_bot/client.py,sha256=NvFdeUaAOF4607qFoYI8cTxYakBH1OPUX-LqqA3ikpI,660244
3
+ antchain_sdk_bot/models.py,sha256=e-MMT6IVBZ-8jXPDTQAvO-627fuQT2RlE1QdJk2Y3Us,1706453
4
+ antchain_bot-1.12.53.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ antchain_bot-1.12.53.dist-info/METADATA,sha256=DOiMHlPUPsDqhF5RHDBgevWZt3rqxIhgmxSNaq98qDs,1989
6
+ antchain_bot-1.12.53.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
+ antchain_bot-1.12.53.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
8
+ antchain_bot-1.12.53.dist-info/RECORD,,
@@ -1 +1 @@
1
- __version__ = '1.12.40'
1
+ __version__ = '1.12.53'
@@ -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.12.40',
138
+ 'sdk_version': '1.12.53',
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.12.40',
242
+ 'sdk_version': '1.12.53',
243
243
  '_prod_code': 'BOT',
244
244
  '_prod_channel': 'undefined'
245
245
  }
@@ -8187,6 +8187,342 @@ class Client:
8187
8187
  await self.do_request_async('1.0', 'blockchain.bot.device.audio.push', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8188
8188
  )
8189
8189
 
8190
+ def query_electrocar_tripstatistics(
8191
+ self,
8192
+ request: bot_models.QueryElectrocarTripstatisticsRequest,
8193
+ ) -> bot_models.QueryElectrocarTripstatisticsResponse:
8194
+ """
8195
+ Description: iotx二轮车行程统计接口
8196
+ Summary: iotx二轮车行程统计接口
8197
+ """
8198
+ runtime = util_models.RuntimeOptions()
8199
+ headers = {}
8200
+ return self.query_electrocar_tripstatistics_ex(request, headers, runtime)
8201
+
8202
+ async def query_electrocar_tripstatistics_async(
8203
+ self,
8204
+ request: bot_models.QueryElectrocarTripstatisticsRequest,
8205
+ ) -> bot_models.QueryElectrocarTripstatisticsResponse:
8206
+ """
8207
+ Description: iotx二轮车行程统计接口
8208
+ Summary: iotx二轮车行程统计接口
8209
+ """
8210
+ runtime = util_models.RuntimeOptions()
8211
+ headers = {}
8212
+ return await self.query_electrocar_tripstatistics_ex_async(request, headers, runtime)
8213
+
8214
+ def query_electrocar_tripstatistics_ex(
8215
+ self,
8216
+ request: bot_models.QueryElectrocarTripstatisticsRequest,
8217
+ headers: Dict[str, str],
8218
+ runtime: util_models.RuntimeOptions,
8219
+ ) -> bot_models.QueryElectrocarTripstatisticsResponse:
8220
+ """
8221
+ Description: iotx二轮车行程统计接口
8222
+ Summary: iotx二轮车行程统计接口
8223
+ """
8224
+ UtilClient.validate_model(request)
8225
+ return TeaCore.from_map(
8226
+ bot_models.QueryElectrocarTripstatisticsResponse(),
8227
+ self.do_request('1.0', 'blockchain.bot.electrocar.tripstatistics.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8228
+ )
8229
+
8230
+ async def query_electrocar_tripstatistics_ex_async(
8231
+ self,
8232
+ request: bot_models.QueryElectrocarTripstatisticsRequest,
8233
+ headers: Dict[str, str],
8234
+ runtime: util_models.RuntimeOptions,
8235
+ ) -> bot_models.QueryElectrocarTripstatisticsResponse:
8236
+ """
8237
+ Description: iotx二轮车行程统计接口
8238
+ Summary: iotx二轮车行程统计接口
8239
+ """
8240
+ UtilClient.validate_model(request)
8241
+ return TeaCore.from_map(
8242
+ bot_models.QueryElectrocarTripstatisticsResponse(),
8243
+ await self.do_request_async('1.0', 'blockchain.bot.electrocar.tripstatistics.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8244
+ )
8245
+
8246
+ def query_electrocar_triplist(
8247
+ self,
8248
+ request: bot_models.QueryElectrocarTriplistRequest,
8249
+ ) -> bot_models.QueryElectrocarTriplistResponse:
8250
+ """
8251
+ Description: iotx二轮车行程列表接口
8252
+ Summary: iotx二轮车行程列表接口
8253
+ """
8254
+ runtime = util_models.RuntimeOptions()
8255
+ headers = {}
8256
+ return self.query_electrocar_triplist_ex(request, headers, runtime)
8257
+
8258
+ async def query_electrocar_triplist_async(
8259
+ self,
8260
+ request: bot_models.QueryElectrocarTriplistRequest,
8261
+ ) -> bot_models.QueryElectrocarTriplistResponse:
8262
+ """
8263
+ Description: iotx二轮车行程列表接口
8264
+ Summary: iotx二轮车行程列表接口
8265
+ """
8266
+ runtime = util_models.RuntimeOptions()
8267
+ headers = {}
8268
+ return await self.query_electrocar_triplist_ex_async(request, headers, runtime)
8269
+
8270
+ def query_electrocar_triplist_ex(
8271
+ self,
8272
+ request: bot_models.QueryElectrocarTriplistRequest,
8273
+ headers: Dict[str, str],
8274
+ runtime: util_models.RuntimeOptions,
8275
+ ) -> bot_models.QueryElectrocarTriplistResponse:
8276
+ """
8277
+ Description: iotx二轮车行程列表接口
8278
+ Summary: iotx二轮车行程列表接口
8279
+ """
8280
+ UtilClient.validate_model(request)
8281
+ return TeaCore.from_map(
8282
+ bot_models.QueryElectrocarTriplistResponse(),
8283
+ self.do_request('1.0', 'blockchain.bot.electrocar.triplist.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8284
+ )
8285
+
8286
+ async def query_electrocar_triplist_ex_async(
8287
+ self,
8288
+ request: bot_models.QueryElectrocarTriplistRequest,
8289
+ headers: Dict[str, str],
8290
+ runtime: util_models.RuntimeOptions,
8291
+ ) -> bot_models.QueryElectrocarTriplistResponse:
8292
+ """
8293
+ Description: iotx二轮车行程列表接口
8294
+ Summary: iotx二轮车行程列表接口
8295
+ """
8296
+ UtilClient.validate_model(request)
8297
+ return TeaCore.from_map(
8298
+ bot_models.QueryElectrocarTriplistResponse(),
8299
+ await self.do_request_async('1.0', 'blockchain.bot.electrocar.triplist.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8300
+ )
8301
+
8302
+ def query_electrocar_trippoints(
8303
+ self,
8304
+ request: bot_models.QueryElectrocarTrippointsRequest,
8305
+ ) -> bot_models.QueryElectrocarTrippointsResponse:
8306
+ """
8307
+ Description: iotx二轮车行程定位
8308
+ Summary: iotx二轮车行程定位
8309
+ """
8310
+ runtime = util_models.RuntimeOptions()
8311
+ headers = {}
8312
+ return self.query_electrocar_trippoints_ex(request, headers, runtime)
8313
+
8314
+ async def query_electrocar_trippoints_async(
8315
+ self,
8316
+ request: bot_models.QueryElectrocarTrippointsRequest,
8317
+ ) -> bot_models.QueryElectrocarTrippointsResponse:
8318
+ """
8319
+ Description: iotx二轮车行程定位
8320
+ Summary: iotx二轮车行程定位
8321
+ """
8322
+ runtime = util_models.RuntimeOptions()
8323
+ headers = {}
8324
+ return await self.query_electrocar_trippoints_ex_async(request, headers, runtime)
8325
+
8326
+ def query_electrocar_trippoints_ex(
8327
+ self,
8328
+ request: bot_models.QueryElectrocarTrippointsRequest,
8329
+ headers: Dict[str, str],
8330
+ runtime: util_models.RuntimeOptions,
8331
+ ) -> bot_models.QueryElectrocarTrippointsResponse:
8332
+ """
8333
+ Description: iotx二轮车行程定位
8334
+ Summary: iotx二轮车行程定位
8335
+ """
8336
+ UtilClient.validate_model(request)
8337
+ return TeaCore.from_map(
8338
+ bot_models.QueryElectrocarTrippointsResponse(),
8339
+ self.do_request('1.0', 'blockchain.bot.electrocar.trippoints.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8340
+ )
8341
+
8342
+ async def query_electrocar_trippoints_ex_async(
8343
+ self,
8344
+ request: bot_models.QueryElectrocarTrippointsRequest,
8345
+ headers: Dict[str, str],
8346
+ runtime: util_models.RuntimeOptions,
8347
+ ) -> bot_models.QueryElectrocarTrippointsResponse:
8348
+ """
8349
+ Description: iotx二轮车行程定位
8350
+ Summary: iotx二轮车行程定位
8351
+ """
8352
+ UtilClient.validate_model(request)
8353
+ return TeaCore.from_map(
8354
+ bot_models.QueryElectrocarTrippointsResponse(),
8355
+ await self.do_request_async('1.0', 'blockchain.bot.electrocar.trippoints.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8356
+ )
8357
+
8358
+ def query_electrocar_triplast(
8359
+ self,
8360
+ request: bot_models.QueryElectrocarTriplastRequest,
8361
+ ) -> bot_models.QueryElectrocarTriplastResponse:
8362
+ """
8363
+ Description: iotx二轮车最近一段行程查询接口
8364
+ Summary: iotx二轮车最近一段行程查询接口
8365
+ """
8366
+ runtime = util_models.RuntimeOptions()
8367
+ headers = {}
8368
+ return self.query_electrocar_triplast_ex(request, headers, runtime)
8369
+
8370
+ async def query_electrocar_triplast_async(
8371
+ self,
8372
+ request: bot_models.QueryElectrocarTriplastRequest,
8373
+ ) -> bot_models.QueryElectrocarTriplastResponse:
8374
+ """
8375
+ Description: iotx二轮车最近一段行程查询接口
8376
+ Summary: iotx二轮车最近一段行程查询接口
8377
+ """
8378
+ runtime = util_models.RuntimeOptions()
8379
+ headers = {}
8380
+ return await self.query_electrocar_triplast_ex_async(request, headers, runtime)
8381
+
8382
+ def query_electrocar_triplast_ex(
8383
+ self,
8384
+ request: bot_models.QueryElectrocarTriplastRequest,
8385
+ headers: Dict[str, str],
8386
+ runtime: util_models.RuntimeOptions,
8387
+ ) -> bot_models.QueryElectrocarTriplastResponse:
8388
+ """
8389
+ Description: iotx二轮车最近一段行程查询接口
8390
+ Summary: iotx二轮车最近一段行程查询接口
8391
+ """
8392
+ UtilClient.validate_model(request)
8393
+ return TeaCore.from_map(
8394
+ bot_models.QueryElectrocarTriplastResponse(),
8395
+ self.do_request('1.0', 'blockchain.bot.electrocar.triplast.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8396
+ )
8397
+
8398
+ async def query_electrocar_triplast_ex_async(
8399
+ self,
8400
+ request: bot_models.QueryElectrocarTriplastRequest,
8401
+ headers: Dict[str, str],
8402
+ runtime: util_models.RuntimeOptions,
8403
+ ) -> bot_models.QueryElectrocarTriplastResponse:
8404
+ """
8405
+ Description: iotx二轮车最近一段行程查询接口
8406
+ Summary: iotx二轮车最近一段行程查询接口
8407
+ """
8408
+ UtilClient.validate_model(request)
8409
+ return TeaCore.from_map(
8410
+ bot_models.QueryElectrocarTriplastResponse(),
8411
+ await self.do_request_async('1.0', 'blockchain.bot.electrocar.triplast.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8412
+ )
8413
+
8414
+ def register_electrocar_device(
8415
+ self,
8416
+ request: bot_models.RegisterElectrocarDeviceRequest,
8417
+ ) -> bot_models.RegisterElectrocarDeviceResponse:
8418
+ """
8419
+ Description: iotx二轮车设备注册
8420
+ Summary: iotx二轮车设备注册
8421
+ """
8422
+ runtime = util_models.RuntimeOptions()
8423
+ headers = {}
8424
+ return self.register_electrocar_device_ex(request, headers, runtime)
8425
+
8426
+ async def register_electrocar_device_async(
8427
+ self,
8428
+ request: bot_models.RegisterElectrocarDeviceRequest,
8429
+ ) -> bot_models.RegisterElectrocarDeviceResponse:
8430
+ """
8431
+ Description: iotx二轮车设备注册
8432
+ Summary: iotx二轮车设备注册
8433
+ """
8434
+ runtime = util_models.RuntimeOptions()
8435
+ headers = {}
8436
+ return await self.register_electrocar_device_ex_async(request, headers, runtime)
8437
+
8438
+ def register_electrocar_device_ex(
8439
+ self,
8440
+ request: bot_models.RegisterElectrocarDeviceRequest,
8441
+ headers: Dict[str, str],
8442
+ runtime: util_models.RuntimeOptions,
8443
+ ) -> bot_models.RegisterElectrocarDeviceResponse:
8444
+ """
8445
+ Description: iotx二轮车设备注册
8446
+ Summary: iotx二轮车设备注册
8447
+ """
8448
+ UtilClient.validate_model(request)
8449
+ return TeaCore.from_map(
8450
+ bot_models.RegisterElectrocarDeviceResponse(),
8451
+ self.do_request('1.0', 'blockchain.bot.electrocar.device.register', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8452
+ )
8453
+
8454
+ async def register_electrocar_device_ex_async(
8455
+ self,
8456
+ request: bot_models.RegisterElectrocarDeviceRequest,
8457
+ headers: Dict[str, str],
8458
+ runtime: util_models.RuntimeOptions,
8459
+ ) -> bot_models.RegisterElectrocarDeviceResponse:
8460
+ """
8461
+ Description: iotx二轮车设备注册
8462
+ Summary: iotx二轮车设备注册
8463
+ """
8464
+ UtilClient.validate_model(request)
8465
+ return TeaCore.from_map(
8466
+ bot_models.RegisterElectrocarDeviceResponse(),
8467
+ await self.do_request_async('1.0', 'blockchain.bot.electrocar.device.register', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8468
+ )
8469
+
8470
+ def query_electrocar_devicehistoryproperties(
8471
+ self,
8472
+ request: bot_models.QueryElectrocarDevicehistorypropertiesRequest,
8473
+ ) -> bot_models.QueryElectrocarDevicehistorypropertiesResponse:
8474
+ """
8475
+ Description: iotx二轮车设备属性
8476
+ Summary: iotx二轮车设备属性
8477
+ """
8478
+ runtime = util_models.RuntimeOptions()
8479
+ headers = {}
8480
+ return self.query_electrocar_devicehistoryproperties_ex(request, headers, runtime)
8481
+
8482
+ async def query_electrocar_devicehistoryproperties_async(
8483
+ self,
8484
+ request: bot_models.QueryElectrocarDevicehistorypropertiesRequest,
8485
+ ) -> bot_models.QueryElectrocarDevicehistorypropertiesResponse:
8486
+ """
8487
+ Description: iotx二轮车设备属性
8488
+ Summary: iotx二轮车设备属性
8489
+ """
8490
+ runtime = util_models.RuntimeOptions()
8491
+ headers = {}
8492
+ return await self.query_electrocar_devicehistoryproperties_ex_async(request, headers, runtime)
8493
+
8494
+ def query_electrocar_devicehistoryproperties_ex(
8495
+ self,
8496
+ request: bot_models.QueryElectrocarDevicehistorypropertiesRequest,
8497
+ headers: Dict[str, str],
8498
+ runtime: util_models.RuntimeOptions,
8499
+ ) -> bot_models.QueryElectrocarDevicehistorypropertiesResponse:
8500
+ """
8501
+ Description: iotx二轮车设备属性
8502
+ Summary: iotx二轮车设备属性
8503
+ """
8504
+ UtilClient.validate_model(request)
8505
+ return TeaCore.from_map(
8506
+ bot_models.QueryElectrocarDevicehistorypropertiesResponse(),
8507
+ self.do_request('1.0', 'blockchain.bot.electrocar.devicehistoryproperties.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8508
+ )
8509
+
8510
+ async def query_electrocar_devicehistoryproperties_ex_async(
8511
+ self,
8512
+ request: bot_models.QueryElectrocarDevicehistorypropertiesRequest,
8513
+ headers: Dict[str, str],
8514
+ runtime: util_models.RuntimeOptions,
8515
+ ) -> bot_models.QueryElectrocarDevicehistorypropertiesResponse:
8516
+ """
8517
+ Description: iotx二轮车设备属性
8518
+ Summary: iotx二轮车设备属性
8519
+ """
8520
+ UtilClient.validate_model(request)
8521
+ return TeaCore.from_map(
8522
+ bot_models.QueryElectrocarDevicehistorypropertiesResponse(),
8523
+ await self.do_request_async('1.0', 'blockchain.bot.electrocar.devicehistoryproperties.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8524
+ )
8525
+
8190
8526
  def query_iotplatform_purchaseorder(
8191
8527
  self,
8192
8528
  request: bot_models.QueryIotplatformPurchaseorderRequest,
@@ -15019,6 +15355,62 @@ class Client:
15019
15355
  await self.do_request_async('1.0', 'blockchain.bot.taskalarm.send', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
15020
15356
  )
15021
15357
 
15358
+ def apply_techintegration_skushipemptymodelbyuid(
15359
+ self,
15360
+ request: bot_models.ApplyTechintegrationSkushipemptymodelbyuidRequest,
15361
+ ) -> bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse:
15362
+ """
15363
+ Description: 支付芯非SE方案空发接口
15364
+ Summary: 支付芯非SE方案空发接口
15365
+ """
15366
+ runtime = util_models.RuntimeOptions()
15367
+ headers = {}
15368
+ return self.apply_techintegration_skushipemptymodelbyuid_ex(request, headers, runtime)
15369
+
15370
+ async def apply_techintegration_skushipemptymodelbyuid_async(
15371
+ self,
15372
+ request: bot_models.ApplyTechintegrationSkushipemptymodelbyuidRequest,
15373
+ ) -> bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse:
15374
+ """
15375
+ Description: 支付芯非SE方案空发接口
15376
+ Summary: 支付芯非SE方案空发接口
15377
+ """
15378
+ runtime = util_models.RuntimeOptions()
15379
+ headers = {}
15380
+ return await self.apply_techintegration_skushipemptymodelbyuid_ex_async(request, headers, runtime)
15381
+
15382
+ def apply_techintegration_skushipemptymodelbyuid_ex(
15383
+ self,
15384
+ request: bot_models.ApplyTechintegrationSkushipemptymodelbyuidRequest,
15385
+ headers: Dict[str, str],
15386
+ runtime: util_models.RuntimeOptions,
15387
+ ) -> bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse:
15388
+ """
15389
+ Description: 支付芯非SE方案空发接口
15390
+ Summary: 支付芯非SE方案空发接口
15391
+ """
15392
+ UtilClient.validate_model(request)
15393
+ return TeaCore.from_map(
15394
+ bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse(),
15395
+ self.do_request('1.0', 'blockchain.bot.techintegration.skushipemptymodelbyuid.apply', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
15396
+ )
15397
+
15398
+ async def apply_techintegration_skushipemptymodelbyuid_ex_async(
15399
+ self,
15400
+ request: bot_models.ApplyTechintegrationSkushipemptymodelbyuidRequest,
15401
+ headers: Dict[str, str],
15402
+ runtime: util_models.RuntimeOptions,
15403
+ ) -> bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse:
15404
+ """
15405
+ Description: 支付芯非SE方案空发接口
15406
+ Summary: 支付芯非SE方案空发接口
15407
+ """
15408
+ UtilClient.validate_model(request)
15409
+ return TeaCore.from_map(
15410
+ bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse(),
15411
+ await self.do_request_async('1.0', 'blockchain.bot.techintegration.skushipemptymodelbyuid.apply', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
15412
+ )
15413
+
15022
15414
  def exec_thingsdid_oneapi(
15023
15415
  self,
15024
15416
  request: bot_models.ExecThingsdidOneapiRequest,