antchain-bot 1.12.32__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.32.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 +7 -0
- antchain_bot-1.12.32.dist-info/RECORD +0 -8
- {antchain_bot-1.12.32.dist-info → antchain_bot-1.12.33.dist-info}/LICENSE +0 -0
- {antchain_bot-1.12.32.dist-info → antchain_bot-1.12.33.dist-info}/WHEEL +0 -0
- {antchain_bot-1.12.32.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
|
@@ -28922,6 +28922,7 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28922
28922
|
device_sn: str = None,
|
|
28923
28923
|
access_scene: str = None,
|
|
28924
28924
|
aliyun_iot_enabled: bool = None,
|
|
28925
|
+
channel: str = None,
|
|
28925
28926
|
):
|
|
28926
28927
|
# OAuth模式下的授权token
|
|
28927
28928
|
self.auth_token = auth_token
|
|
@@ -28962,6 +28963,8 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
28962
28963
|
self.access_scene = access_scene
|
|
28963
28964
|
# 标识是否启用了阿里云物联网平台
|
|
28964
28965
|
self.aliyun_iot_enabled = aliyun_iot_enabled
|
|
28966
|
+
# 设备接入 4g 渠道
|
|
28967
|
+
self.channel = channel
|
|
28965
28968
|
|
|
28966
28969
|
def validate(self):
|
|
28967
28970
|
self.validate_required(self.request_id, 'request_id')
|
|
@@ -29008,6 +29011,8 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
29008
29011
|
result['access_scene'] = self.access_scene
|
|
29009
29012
|
if self.aliyun_iot_enabled is not None:
|
|
29010
29013
|
result['aliyun_iot_enabled'] = self.aliyun_iot_enabled
|
|
29014
|
+
if self.channel is not None:
|
|
29015
|
+
result['channel'] = self.channel
|
|
29011
29016
|
return result
|
|
29012
29017
|
|
|
29013
29018
|
def from_map(self, m: dict = None):
|
|
@@ -29042,6 +29047,8 @@ class CreateElectrocarApplycarkeycertificateRequest(TeaModel):
|
|
|
29042
29047
|
self.access_scene = m.get('access_scene')
|
|
29043
29048
|
if m.get('aliyun_iot_enabled') is not None:
|
|
29044
29049
|
self.aliyun_iot_enabled = m.get('aliyun_iot_enabled')
|
|
29050
|
+
if m.get('channel') is not None:
|
|
29051
|
+
self.channel = m.get('channel')
|
|
29045
29052
|
return self
|
|
29046
29053
|
|
|
29047
29054
|
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
antchain_sdk_bot/__init__.py,sha256=HIQPOfEwloNAiDDtR_KU3frv1cQuZsxBviZ2z_oy560,23
|
|
2
|
-
antchain_sdk_bot/client.py,sha256=73VkQSl-xLSB1Hyd1neqHgm2HqO4QRrp2qLcPkHB1ME,639530
|
|
3
|
-
antchain_sdk_bot/models.py,sha256=z9jSKf7F78wVwaeVDL8XJYC4m0c2wmmDI-Bs8AWgMrQ,1650068
|
|
4
|
-
antchain_bot-1.12.32.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
antchain_bot-1.12.32.dist-info/METADATA,sha256=rCxE6nLqzSUBg6-6FY1OqudM0q49Er5XRFO3gU041U4,1989
|
|
6
|
-
antchain_bot-1.12.32.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
-
antchain_bot-1.12.32.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
|
|
8
|
-
antchain_bot-1.12.32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|