antchain-bot 1.12.31__py3-none-any.whl → 1.12.33__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.31.dist-info → antchain_bot-1.12.33.dist-info}/METADATA +1 -1
- antchain_bot-1.12.33.dist-info/RECORD +8 -0
- antchain_sdk_bot/__init__.py +1 -1
- antchain_sdk_bot/client.py +2 -2
- antchain_sdk_bot/models.py +14 -0
- antchain_bot-1.12.31.dist-info/RECORD +0 -8
- {antchain_bot-1.12.31.dist-info → antchain_bot-1.12.33.dist-info}/LICENSE +0 -0
- {antchain_bot-1.12.31.dist-info → antchain_bot-1.12.33.dist-info}/WHEEL +0 -0
- {antchain_bot-1.12.31.dist-info → antchain_bot-1.12.33.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
antchain_sdk_bot/__init__.py,sha256=cznow6oqVpjn7Iw1v2G02QBeNeE6n5ri268KUshExhY,23
|
|
2
|
+
antchain_sdk_bot/client.py,sha256=gU3RHS2DPgRjlHpNhn8l3c53Ut9EiFfkNNLam0ailfw,639530
|
|
3
|
+
antchain_sdk_bot/models.py,sha256=0psBCGZhs4he1l15hZkAxu2iPtEpHF9NcC9HCadHHDI,1650328
|
|
4
|
+
antchain_bot-1.12.33.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
antchain_bot-1.12.33.dist-info/METADATA,sha256=srBfMNCAQQqizeEaKlSAejLbij4MQ4PtllAymT1P3QY,1989
|
|
6
|
+
antchain_bot-1.12.33.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
+
antchain_bot-1.12.33.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
|
|
8
|
+
antchain_bot-1.12.33.dist-info/RECORD,,
|
antchain_sdk_bot/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.12.
|
|
1
|
+
__version__ = '1.12.33'
|
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.33',
|
|
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.33',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
antchain_sdk_bot/models.py
CHANGED
|
@@ -28921,6 +28921,8 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28921
28921
|
ble_name: str = None,
|
|
28922
28922
|
device_sn: str = None,
|
|
28923
28923
|
access_scene: str = None,
|
|
28924
|
+
aliyun_iot_enabled: bool = None,
|
|
28925
|
+
channel: str = None,
|
|
28924
28926
|
):
|
|
28925
28927
|
# OAuth模式下的授权token
|
|
28926
28928
|
self.auth_token = auth_token
|
|
@@ -28959,6 +28961,10 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28959
28961
|
self.device_sn = device_sn
|
|
28960
28962
|
# 接入场景码
|
|
28961
28963
|
self.access_scene = access_scene
|
|
28964
|
+
# 标识是否启用了阿里云物联网平台
|
|
28965
|
+
self.aliyun_iot_enabled = aliyun_iot_enabled
|
|
28966
|
+
# 设备接入 4g 渠道
|
|
28967
|
+
self.channel = channel
|
|
28962
28968
|
|
|
28963
28969
|
def validate(self):
|
|
28964
28970
|
self.validate_required(self.request_id, 'request_id')
|
|
@@ -29003,6 +29009,10 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
29003
29009
|
result['device_sn'] = self.device_sn
|
|
29004
29010
|
if self.access_scene is not None:
|
|
29005
29011
|
result['access_scene'] = self.access_scene
|
|
29012
|
+
if self.aliyun_iot_enabled is not None:
|
|
29013
|
+
result['aliyun_iot_enabled'] = self.aliyun_iot_enabled
|
|
29014
|
+
if self.channel is not None:
|
|
29015
|
+
result['channel'] = self.channel
|
|
29006
29016
|
return result
|
|
29007
29017
|
|
|
29008
29018
|
def from_map(self, m: dict = None):
|
|
@@ -29035,6 +29045,10 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
29035
29045
|
self.device_sn = m.get('device_sn')
|
|
29036
29046
|
if m.get('access_scene') is not None:
|
|
29037
29047
|
self.access_scene = m.get('access_scene')
|
|
29048
|
+
if m.get('aliyun_iot_enabled') is not None:
|
|
29049
|
+
self.aliyun_iot_enabled = m.get('aliyun_iot_enabled')
|
|
29050
|
+
if m.get('channel') is not None:
|
|
29051
|
+
self.channel = m.get('channel')
|
|
29038
29052
|
return self
|
|
29039
29053
|
|
|
29040
29054
|
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
antchain_sdk_bot/__init__.py,sha256=BzMPL9cMoWxtezBefMFTH-eQdhgXWcWYQGIuMhthmyw,23
|
|
2
|
-
antchain_sdk_bot/client.py,sha256=tCVYjPVhJr5uC_VUDRYNzR4S_MeUpLBSTD7qWFNaPtU,639530
|
|
3
|
-
antchain_sdk_bot/models.py,sha256=28hHwn44J9LqlUS9j7CWotDjNw5yKfHf2HZtr-4s3zA,1649685
|
|
4
|
-
antchain_bot-1.12.31.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
antchain_bot-1.12.31.dist-info/METADATA,sha256=nKazBvPl2_v-YzFDEL2vdtuQMAfoxaWEXbQDxwvFN8o,1989
|
|
6
|
-
antchain_bot-1.12.31.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
-
antchain_bot-1.12.31.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
|
|
8
|
-
antchain_bot-1.12.31.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|