antchain-bot 1.12.23__tar.gz → 1.12.25__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.23 → antchain_bot-1.12.25}/PKG-INFO +1 -1
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/antchain_bot.egg-info/PKG-INFO +1 -1
- antchain_bot-1.12.25/antchain_sdk_bot/__init__.py +1 -0
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/antchain_sdk_bot/client.py +2 -2
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/antchain_sdk_bot/models.py +30 -23
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/setup.py +1 -1
- antchain_bot-1.12.23/antchain_sdk_bot/__init__.py +0 -1
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/LICENSE +0 -0
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/MANIFEST.in +0 -0
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/README-CN.md +0 -0
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/README.md +0 -0
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/antchain_bot.egg-info/SOURCES.txt +0 -0
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/antchain_bot.egg-info/dependency_links.txt +0 -0
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/antchain_bot.egg-info/requires.txt +0 -0
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/antchain_bot.egg-info/top_level.txt +0 -0
- {antchain_bot-1.12.23 → antchain_bot-1.12.25}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.12.25'
|
|
@@ -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.25',
|
|
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.25',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
|
@@ -28806,7 +28806,7 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28806
28806
|
protocol_type: str = None,
|
|
28807
28807
|
key_less: str = None,
|
|
28808
28808
|
mac: str = None,
|
|
28809
|
-
|
|
28809
|
+
ble_name: str = None,
|
|
28810
28810
|
device_sn: str = None,
|
|
28811
28811
|
access_scene: str = None,
|
|
28812
28812
|
):
|
|
@@ -28815,7 +28815,7 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28815
28815
|
self.product_instance_id = product_instance_id
|
|
28816
28816
|
# 请求唯一标识Id 调用方生成,需要保证唯一性
|
|
28817
28817
|
self.request_id = request_id
|
|
28818
|
-
# 模式 默认为false
|
|
28818
|
+
# 模式 默认为false,产线申请为true
|
|
28819
28819
|
self.online_flag = online_flag
|
|
28820
28820
|
# 设备类型 默认为4-芯片SE,联系技术配置具体的设备类型
|
|
28821
28821
|
self.device_type = device_type
|
|
@@ -28841,8 +28841,8 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28841
28841
|
self.key_less = key_less
|
|
28842
28842
|
# mac
|
|
28843
28843
|
self.mac = mac
|
|
28844
|
-
#
|
|
28845
|
-
self.
|
|
28844
|
+
# ble_name
|
|
28845
|
+
self.ble_name = ble_name
|
|
28846
28846
|
# 设备sn
|
|
28847
28847
|
self.device_sn = device_sn
|
|
28848
28848
|
# 接入场景码
|
|
@@ -28853,7 +28853,7 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28853
28853
|
self.validate_required(self.brand_id, 'brand_id')
|
|
28854
28854
|
self.validate_required(self.protocol_type, 'protocol_type')
|
|
28855
28855
|
self.validate_required(self.mac, 'mac')
|
|
28856
|
-
self.validate_required(self.
|
|
28856
|
+
self.validate_required(self.ble_name, 'ble_name')
|
|
28857
28857
|
self.validate_required(self.device_sn, 'device_sn')
|
|
28858
28858
|
self.validate_required(self.access_scene, 'access_scene')
|
|
28859
28859
|
|
|
@@ -28885,8 +28885,8 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28885
28885
|
result['key_less'] = self.key_less
|
|
28886
28886
|
if self.mac is not None:
|
|
28887
28887
|
result['mac'] = self.mac
|
|
28888
|
-
if self.
|
|
28889
|
-
result['
|
|
28888
|
+
if self.ble_name is not None:
|
|
28889
|
+
result['ble_name'] = self.ble_name
|
|
28890
28890
|
if self.device_sn is not None:
|
|
28891
28891
|
result['device_sn'] = self.device_sn
|
|
28892
28892
|
if self.access_scene is not None:
|
|
@@ -28917,8 +28917,8 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28917
28917
|
self.key_less = m.get('key_less')
|
|
28918
28918
|
if m.get('mac') is not None:
|
|
28919
28919
|
self.mac = m.get('mac')
|
|
28920
|
-
if m.get('
|
|
28921
|
-
self.
|
|
28920
|
+
if m.get('ble_name') is not None:
|
|
28921
|
+
self.ble_name = m.get('ble_name')
|
|
28922
28922
|
if m.get('device_sn') is not None:
|
|
28923
28923
|
self.device_sn = m.get('device_sn')
|
|
28924
28924
|
if m.get('access_scene') is not None:
|
|
@@ -28932,9 +28932,10 @@ class CreateElectrocarApplycarkeycertificateResponse(TeaModel):
|
|
|
28932
28932
|
req_msg_id: str = None,
|
|
28933
28933
|
result_code: str = None,
|
|
28934
28934
|
result_msg: str = None,
|
|
28935
|
-
|
|
28936
|
-
mqtt_content: str = None,
|
|
28935
|
+
tuid: str = None,
|
|
28937
28936
|
device_did: str = None,
|
|
28937
|
+
mqtt_content: str = None,
|
|
28938
|
+
car_key_init_data: str = None,
|
|
28938
28939
|
success: bool = None,
|
|
28939
28940
|
):
|
|
28940
28941
|
# 请求唯一ID,用于链路跟踪和问题排查
|
|
@@ -28943,12 +28944,14 @@ class CreateElectrocarApplycarkeycertificateResponse(TeaModel):
|
|
|
28943
28944
|
self.result_code = result_code
|
|
28944
28945
|
# 异常信息的文本描述
|
|
28945
28946
|
self.result_msg = result_msg
|
|
28946
|
-
#
|
|
28947
|
-
self.
|
|
28948
|
-
# 三元组+连接实例id
|
|
28949
|
-
self.mqtt_content = mqtt_content
|
|
28947
|
+
# sn
|
|
28948
|
+
self.tuid = tuid
|
|
28950
28949
|
# deviceDid
|
|
28951
28950
|
self.device_did = device_did
|
|
28951
|
+
# 三元组+连接实例id
|
|
28952
|
+
self.mqtt_content = mqtt_content
|
|
28953
|
+
# 凭证接口返回参数
|
|
28954
|
+
self.car_key_init_data = car_key_init_data
|
|
28952
28955
|
# 成功/失败
|
|
28953
28956
|
self.success = success
|
|
28954
28957
|
|
|
@@ -28967,12 +28970,14 @@ class CreateElectrocarApplycarkeycertificateResponse(TeaModel):
|
|
|
28967
28970
|
result['result_code'] = self.result_code
|
|
28968
28971
|
if self.result_msg is not None:
|
|
28969
28972
|
result['result_msg'] = self.result_msg
|
|
28970
|
-
if self.
|
|
28971
|
-
result['
|
|
28972
|
-
if self.mqtt_content is not None:
|
|
28973
|
-
result['mqtt_content'] = self.mqtt_content
|
|
28973
|
+
if self.tuid is not None:
|
|
28974
|
+
result['tuid'] = self.tuid
|
|
28974
28975
|
if self.device_did is not None:
|
|
28975
28976
|
result['device_did'] = self.device_did
|
|
28977
|
+
if self.mqtt_content is not None:
|
|
28978
|
+
result['mqtt_content'] = self.mqtt_content
|
|
28979
|
+
if self.car_key_init_data is not None:
|
|
28980
|
+
result['car_key_init_data'] = self.car_key_init_data
|
|
28976
28981
|
if self.success is not None:
|
|
28977
28982
|
result['success'] = self.success
|
|
28978
28983
|
return result
|
|
@@ -28985,12 +28990,14 @@ class CreateElectrocarApplycarkeycertificateResponse(TeaModel):
|
|
|
28985
28990
|
self.result_code = m.get('result_code')
|
|
28986
28991
|
if m.get('result_msg') is not None:
|
|
28987
28992
|
self.result_msg = m.get('result_msg')
|
|
28988
|
-
if m.get('
|
|
28989
|
-
self.
|
|
28990
|
-
if m.get('mqtt_content') is not None:
|
|
28991
|
-
self.mqtt_content = m.get('mqtt_content')
|
|
28993
|
+
if m.get('tuid') is not None:
|
|
28994
|
+
self.tuid = m.get('tuid')
|
|
28992
28995
|
if m.get('device_did') is not None:
|
|
28993
28996
|
self.device_did = m.get('device_did')
|
|
28997
|
+
if m.get('mqtt_content') is not None:
|
|
28998
|
+
self.mqtt_content = m.get('mqtt_content')
|
|
28999
|
+
if m.get('car_key_init_data') is not None:
|
|
29000
|
+
self.car_key_init_data = m.get('car_key_init_data')
|
|
28994
29001
|
if m.get('success') is not None:
|
|
28995
29002
|
self.success = m.get('success')
|
|
28996
29003
|
return self
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.12.23'
|
|
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
|