antchain-bot 1.12.58__py3-none-any.whl → 1.12.60__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.58
3
+ Version: 1.12.60
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=ZKO3GoM0jOHJNOI9HGFyMP4t29ZsUU-BJl33KKdf0j8,23
2
+ antchain_sdk_bot/client.py,sha256=YbSvtlDsx0L-pEF429gXIm0p9zIRYiR_xzJ3n6pvDjY,664342
3
+ antchain_sdk_bot/models.py,sha256=-i_qzKQz-U9FSF8OQIBP8jwmmuCoNLKArjEKj5190xU,1712560
4
+ antchain_bot-1.12.60.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ antchain_bot-1.12.60.dist-info/METADATA,sha256=MI3F6hPSgHTiNwnBFHRJ34BqovDPXHAkoR6BBd3xf4o,1989
6
+ antchain_bot-1.12.60.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
+ antchain_bot-1.12.60.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
8
+ antchain_bot-1.12.60.dist-info/RECORD,,
@@ -1 +1 @@
1
- __version__ = '1.12.58'
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.58',
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.58',
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
- device_neme: str = None,
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.device_neme = device_neme
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.device_neme, 'device_neme')
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.device_neme is not None:
30281
- result['device_neme'] = self.device_neme
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('device_neme') is not None:
30297
- self.device_neme = m.get('device_neme')
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,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,,