antchain-bot 1.12.58__tar.gz → 1.12.60__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.
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/PKG-INFO +1 -1
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/antchain_bot.egg-info/PKG-INFO +1 -1
- antchain_bot-1.12.60/antchain_sdk_bot/__init__.py +1 -0
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/antchain_sdk_bot/client.py +2 -2
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/antchain_sdk_bot/models.py +7 -15
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/setup.py +1 -1
- antchain_bot-1.12.58/antchain_sdk_bot/__init__.py +0 -1
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/LICENSE +0 -0
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/MANIFEST.in +0 -0
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/README-CN.md +0 -0
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/README.md +0 -0
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/antchain_bot.egg-info/SOURCES.txt +0 -0
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/antchain_bot.egg-info/dependency_links.txt +0 -0
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/antchain_bot.egg-info/requires.txt +0 -0
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/antchain_bot.egg-info/top_level.txt +0 -0
- {antchain_bot-1.12.58 → antchain_bot-1.12.60}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.12.60'
|
|
@@ -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.
|
|
138
|
+
'sdk_version': '1.12.60',
|
|
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.
|
|
242
|
+
'sdk_version': '1.12.60',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
|
@@ -30242,8 +30242,7 @@ class RegisterElectrocarDeviceRequest(TeaModel):
|
|
|
30242
30242
|
self,
|
|
30243
30243
|
auth_token: str = None,
|
|
30244
30244
|
product_instance_id: str = None,
|
|
30245
|
-
|
|
30246
|
-
nick_name: str = None,
|
|
30245
|
+
device_name: str = None,
|
|
30247
30246
|
trust_product_key: str = None,
|
|
30248
30247
|
kyt_apply_params: KytApplyParams = None,
|
|
30249
30248
|
):
|
|
@@ -30251,17 +30250,14 @@ class RegisterElectrocarDeviceRequest(TeaModel):
|
|
|
30251
30250
|
self.auth_token = auth_token
|
|
30252
30251
|
self.product_instance_id = product_instance_id
|
|
30253
30252
|
# 设备名称
|
|
30254
|
-
self.
|
|
30255
|
-
# 设备名称
|
|
30256
|
-
self.nick_name = nick_name
|
|
30253
|
+
self.device_name = device_name
|
|
30257
30254
|
# 产品key
|
|
30258
30255
|
self.trust_product_key = trust_product_key
|
|
30259
30256
|
# 凭证申请参数
|
|
30260
30257
|
self.kyt_apply_params = kyt_apply_params
|
|
30261
30258
|
|
|
30262
30259
|
def validate(self):
|
|
30263
|
-
self.validate_required(self.
|
|
30264
|
-
self.validate_required(self.nick_name, 'nick_name')
|
|
30260
|
+
self.validate_required(self.device_name, 'device_name')
|
|
30265
30261
|
self.validate_required(self.trust_product_key, 'trust_product_key')
|
|
30266
30262
|
self.validate_required(self.kyt_apply_params, 'kyt_apply_params')
|
|
30267
30263
|
if self.kyt_apply_params:
|
|
@@ -30277,10 +30273,8 @@ class RegisterElectrocarDeviceRequest(TeaModel):
|
|
|
30277
30273
|
result['auth_token'] = self.auth_token
|
|
30278
30274
|
if self.product_instance_id is not None:
|
|
30279
30275
|
result['product_instance_id'] = self.product_instance_id
|
|
30280
|
-
if self.
|
|
30281
|
-
result['
|
|
30282
|
-
if self.nick_name is not None:
|
|
30283
|
-
result['nick_name'] = self.nick_name
|
|
30276
|
+
if self.device_name is not None:
|
|
30277
|
+
result['device_name'] = self.device_name
|
|
30284
30278
|
if self.trust_product_key is not None:
|
|
30285
30279
|
result['trust_product_key'] = self.trust_product_key
|
|
30286
30280
|
if self.kyt_apply_params is not None:
|
|
@@ -30293,10 +30287,8 @@ class RegisterElectrocarDeviceRequest(TeaModel):
|
|
|
30293
30287
|
self.auth_token = m.get('auth_token')
|
|
30294
30288
|
if m.get('product_instance_id') is not None:
|
|
30295
30289
|
self.product_instance_id = m.get('product_instance_id')
|
|
30296
|
-
if m.get('
|
|
30297
|
-
self.
|
|
30298
|
-
if m.get('nick_name') is not None:
|
|
30299
|
-
self.nick_name = m.get('nick_name')
|
|
30290
|
+
if m.get('device_name') is not None:
|
|
30291
|
+
self.device_name = m.get('device_name')
|
|
30300
30292
|
if m.get('trust_product_key') is not None:
|
|
30301
30293
|
self.trust_product_key = m.get('trust_product_key')
|
|
30302
30294
|
if m.get('kyt_apply_params') is not None:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.12.58'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|