antchain-bot 1.12.58__py3-none-any.whl → 1.12.59__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.
- {antchain_bot-1.12.58.dist-info → antchain_bot-1.12.59.dist-info}/METADATA +1 -1
- antchain_bot-1.12.59.dist-info/RECORD +8 -0
- antchain_sdk_bot/__init__.py +1 -1
- antchain_sdk_bot/client.py +2 -2
- antchain_sdk_bot/models.py +7 -7
- antchain_bot-1.12.58.dist-info/RECORD +0 -8
- {antchain_bot-1.12.58.dist-info → antchain_bot-1.12.59.dist-info}/LICENSE +0 -0
- {antchain_bot-1.12.58.dist-info → antchain_bot-1.12.59.dist-info}/WHEEL +0 -0
- {antchain_bot-1.12.58.dist-info → antchain_bot-1.12.59.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
antchain_sdk_bot/__init__.py,sha256=MFsejnjjebNmAIyVIulnJyFohR_QOFb-5pceaSQccrk,23
|
|
2
|
+
antchain_sdk_bot/client.py,sha256=ho-JigHo8YBLRwS-XavkczPZV2E2CK591Wic2RTSv68,664342
|
|
3
|
+
antchain_sdk_bot/models.py,sha256=d3dylTNuJw4Gqd-qmmUTyOpJgMO9z08ufcrwzIiSVrw,1712888
|
|
4
|
+
antchain_bot-1.12.59.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
antchain_bot-1.12.59.dist-info/METADATA,sha256=bZNrDBZadFTO8HdPs260E_LT5PNxaxxfTZ7TXGLjJ2Y,1989
|
|
6
|
+
antchain_bot-1.12.59.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
+
antchain_bot-1.12.59.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
|
|
8
|
+
antchain_bot-1.12.59.dist-info/RECORD,,
|
antchain_sdk_bot/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.12.
|
|
1
|
+
__version__ = '1.12.59'
|
antchain_sdk_bot/client.py
CHANGED
|
@@ -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.59',
|
|
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.59',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
antchain_sdk_bot/models.py
CHANGED
|
@@ -30242,7 +30242,7 @@ class RegisterElectrocarDeviceRequest(TeaModel):
|
|
|
30242
30242
|
self,
|
|
30243
30243
|
auth_token: str = None,
|
|
30244
30244
|
product_instance_id: str = None,
|
|
30245
|
-
|
|
30245
|
+
device_name: str = None,
|
|
30246
30246
|
nick_name: str = None,
|
|
30247
30247
|
trust_product_key: str = None,
|
|
30248
30248
|
kyt_apply_params: KytApplyParams = None,
|
|
@@ -30251,7 +30251,7 @@ class RegisterElectrocarDeviceRequest(TeaModel):
|
|
|
30251
30251
|
self.auth_token = auth_token
|
|
30252
30252
|
self.product_instance_id = product_instance_id
|
|
30253
30253
|
# 设备名称
|
|
30254
|
-
self.
|
|
30254
|
+
self.device_name = device_name
|
|
30255
30255
|
# 设备名称
|
|
30256
30256
|
self.nick_name = nick_name
|
|
30257
30257
|
# 产品key
|
|
@@ -30260,7 +30260,7 @@ class RegisterElectrocarDeviceRequest(TeaModel):
|
|
|
30260
30260
|
self.kyt_apply_params = kyt_apply_params
|
|
30261
30261
|
|
|
30262
30262
|
def validate(self):
|
|
30263
|
-
self.validate_required(self.
|
|
30263
|
+
self.validate_required(self.device_name, 'device_name')
|
|
30264
30264
|
self.validate_required(self.nick_name, 'nick_name')
|
|
30265
30265
|
self.validate_required(self.trust_product_key, 'trust_product_key')
|
|
30266
30266
|
self.validate_required(self.kyt_apply_params, 'kyt_apply_params')
|
|
@@ -30277,8 +30277,8 @@ class RegisterElectrocarDeviceRequest(TeaModel):
|
|
|
30277
30277
|
result['auth_token'] = self.auth_token
|
|
30278
30278
|
if self.product_instance_id is not None:
|
|
30279
30279
|
result['product_instance_id'] = self.product_instance_id
|
|
30280
|
-
if self.
|
|
30281
|
-
result['
|
|
30280
|
+
if self.device_name is not None:
|
|
30281
|
+
result['device_name'] = self.device_name
|
|
30282
30282
|
if self.nick_name is not None:
|
|
30283
30283
|
result['nick_name'] = self.nick_name
|
|
30284
30284
|
if self.trust_product_key is not None:
|
|
@@ -30293,8 +30293,8 @@ class RegisterElectrocarDeviceRequest(TeaModel):
|
|
|
30293
30293
|
self.auth_token = m.get('auth_token')
|
|
30294
30294
|
if m.get('product_instance_id') is not None:
|
|
30295
30295
|
self.product_instance_id = m.get('product_instance_id')
|
|
30296
|
-
if m.get('
|
|
30297
|
-
self.
|
|
30296
|
+
if m.get('device_name') is not None:
|
|
30297
|
+
self.device_name = m.get('device_name')
|
|
30298
30298
|
if m.get('nick_name') is not None:
|
|
30299
30299
|
self.nick_name = m.get('nick_name')
|
|
30300
30300
|
if m.get('trust_product_key') is not None:
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
antchain_sdk_bot/__init__.py,sha256=5Ppehw8hYOuw5C6mMNsTzzWUYn6WYawc_Hry0JsRNHw,23
|
|
2
|
-
antchain_sdk_bot/client.py,sha256=O-OLLgkQmyZF-5rVYtXvLl9GPXlEIGS7mLG9KQwwrH8,664342
|
|
3
|
-
antchain_sdk_bot/models.py,sha256=gei5JEi_2Ij8skTidE_GcnO7w1rYeVbjCTHZTDEDEKg,1712888
|
|
4
|
-
antchain_bot-1.12.58.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
antchain_bot-1.12.58.dist-info/METADATA,sha256=bIIsBuiPJPRr_kopdPamXV1VZuWkGSMFvQvX_2lHs10,1989
|
|
6
|
-
antchain_bot-1.12.58.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
-
antchain_bot-1.12.58.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
|
|
8
|
-
antchain_bot-1.12.58.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|