antchain-bot 1.12.35__py3-none-any.whl → 1.12.48__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.35
3
+ Version: 1.12.48
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=7TASDBBxJDnIKPoEw5_h4p2IU2YRLjrNRAh92XHeiW4,23
2
+ antchain_sdk_bot/client.py,sha256=0H5yuLOT1UKD2nlhgLb59MActaCvjm1fb9i2PeN-HxI,655548
3
+ antchain_sdk_bot/models.py,sha256=JtlMZSPyMGNDEHNd-_Qu-Wa9FbSRCeC_oXHhmwWl06E,1688810
4
+ antchain_bot-1.12.48.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ antchain_bot-1.12.48.dist-info/METADATA,sha256=Y1UlKvvCopwCe39zbpVB7g8KFqAX7Le9vowY87LwxwU,1989
6
+ antchain_bot-1.12.48.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
+ antchain_bot-1.12.48.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
8
+ antchain_bot-1.12.48.dist-info/RECORD,,
@@ -1 +1 @@
1
- __version__ = '1.12.35'
1
+ __version__ = '1.12.48'
@@ -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.35',
138
+ 'sdk_version': '1.12.48',
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.35',
242
+ 'sdk_version': '1.12.48',
243
243
  '_prod_code': 'BOT',
244
244
  '_prod_channel': 'undefined'
245
245
  }
@@ -8131,6 +8131,286 @@ class Client:
8131
8131
  await self.do_request_async('1.0', 'blockchain.bot.electrocar.applycarkeycertificate.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8132
8132
  )
8133
8133
 
8134
+ def push_device_audio(
8135
+ self,
8136
+ request: bot_models.PushDeviceAudioRequest,
8137
+ ) -> bot_models.PushDeviceAudioResponse:
8138
+ """
8139
+ Description: 二轮车设备下发音频
8140
+ Summary: 二轮车设备下发音频
8141
+ """
8142
+ runtime = util_models.RuntimeOptions()
8143
+ headers = {}
8144
+ return self.push_device_audio_ex(request, headers, runtime)
8145
+
8146
+ async def push_device_audio_async(
8147
+ self,
8148
+ request: bot_models.PushDeviceAudioRequest,
8149
+ ) -> bot_models.PushDeviceAudioResponse:
8150
+ """
8151
+ Description: 二轮车设备下发音频
8152
+ Summary: 二轮车设备下发音频
8153
+ """
8154
+ runtime = util_models.RuntimeOptions()
8155
+ headers = {}
8156
+ return await self.push_device_audio_ex_async(request, headers, runtime)
8157
+
8158
+ def push_device_audio_ex(
8159
+ self,
8160
+ request: bot_models.PushDeviceAudioRequest,
8161
+ headers: Dict[str, str],
8162
+ runtime: util_models.RuntimeOptions,
8163
+ ) -> bot_models.PushDeviceAudioResponse:
8164
+ """
8165
+ Description: 二轮车设备下发音频
8166
+ Summary: 二轮车设备下发音频
8167
+ """
8168
+ UtilClient.validate_model(request)
8169
+ return TeaCore.from_map(
8170
+ bot_models.PushDeviceAudioResponse(),
8171
+ self.do_request('1.0', 'blockchain.bot.device.audio.push', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8172
+ )
8173
+
8174
+ async def push_device_audio_ex_async(
8175
+ self,
8176
+ request: bot_models.PushDeviceAudioRequest,
8177
+ headers: Dict[str, str],
8178
+ runtime: util_models.RuntimeOptions,
8179
+ ) -> bot_models.PushDeviceAudioResponse:
8180
+ """
8181
+ Description: 二轮车设备下发音频
8182
+ Summary: 二轮车设备下发音频
8183
+ """
8184
+ UtilClient.validate_model(request)
8185
+ return TeaCore.from_map(
8186
+ bot_models.PushDeviceAudioResponse(),
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
+ )
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
+
8134
8414
  def query_iotplatform_purchaseorder(
8135
8415
  self,
8136
8416
  request: bot_models.QueryIotplatformPurchaseorderRequest,
@@ -14963,6 +15243,62 @@ class Client:
14963
15243
  await self.do_request_async('1.0', 'blockchain.bot.taskalarm.send', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
14964
15244
  )
14965
15245
 
15246
+ def apply_techintegration_skushipemptymodelbyuid(
15247
+ self,
15248
+ request: bot_models.ApplyTechintegrationSkushipemptymodelbyuidRequest,
15249
+ ) -> bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse:
15250
+ """
15251
+ Description: 支付芯非SE方案空发接口
15252
+ Summary: 支付芯非SE方案空发接口
15253
+ """
15254
+ runtime = util_models.RuntimeOptions()
15255
+ headers = {}
15256
+ return self.apply_techintegration_skushipemptymodelbyuid_ex(request, headers, runtime)
15257
+
15258
+ async def apply_techintegration_skushipemptymodelbyuid_async(
15259
+ self,
15260
+ request: bot_models.ApplyTechintegrationSkushipemptymodelbyuidRequest,
15261
+ ) -> bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse:
15262
+ """
15263
+ Description: 支付芯非SE方案空发接口
15264
+ Summary: 支付芯非SE方案空发接口
15265
+ """
15266
+ runtime = util_models.RuntimeOptions()
15267
+ headers = {}
15268
+ return await self.apply_techintegration_skushipemptymodelbyuid_ex_async(request, headers, runtime)
15269
+
15270
+ def apply_techintegration_skushipemptymodelbyuid_ex(
15271
+ self,
15272
+ request: bot_models.ApplyTechintegrationSkushipemptymodelbyuidRequest,
15273
+ headers: Dict[str, str],
15274
+ runtime: util_models.RuntimeOptions,
15275
+ ) -> bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse:
15276
+ """
15277
+ Description: 支付芯非SE方案空发接口
15278
+ Summary: 支付芯非SE方案空发接口
15279
+ """
15280
+ UtilClient.validate_model(request)
15281
+ return TeaCore.from_map(
15282
+ bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse(),
15283
+ self.do_request('1.0', 'blockchain.bot.techintegration.skushipemptymodelbyuid.apply', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
15284
+ )
15285
+
15286
+ async def apply_techintegration_skushipemptymodelbyuid_ex_async(
15287
+ self,
15288
+ request: bot_models.ApplyTechintegrationSkushipemptymodelbyuidRequest,
15289
+ headers: Dict[str, str],
15290
+ runtime: util_models.RuntimeOptions,
15291
+ ) -> bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse:
15292
+ """
15293
+ Description: 支付芯非SE方案空发接口
15294
+ Summary: 支付芯非SE方案空发接口
15295
+ """
15296
+ UtilClient.validate_model(request)
15297
+ return TeaCore.from_map(
15298
+ bot_models.ApplyTechintegrationSkushipemptymodelbyuidResponse(),
15299
+ await self.do_request_async('1.0', 'blockchain.bot.techintegration.skushipemptymodelbyuid.apply', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
15300
+ )
15301
+
14966
15302
  def exec_thingsdid_oneapi(
14967
15303
  self,
14968
15304
  request: bot_models.ExecThingsdidOneapiRequest,