antchain-bot 1.12.3__tar.gz → 1.12.4__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.3 → antchain_bot-1.12.4}/PKG-INFO +1 -1
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/antchain_bot.egg-info/PKG-INFO +1 -1
- antchain_bot-1.12.4/antchain_sdk_bot/__init__.py +1 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/antchain_sdk_bot/client.py +2 -2
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/antchain_sdk_bot/models.py +7 -0
- antchain_bot-1.12.3/antchain_sdk_bot/__init__.py +0 -1
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/LICENSE +0 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/MANIFEST.in +0 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/README-CN.md +0 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/README.md +0 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/antchain_bot.egg-info/SOURCES.txt +0 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/antchain_bot.egg-info/dependency_links.txt +0 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/antchain_bot.egg-info/requires.txt +0 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/antchain_bot.egg-info/top_level.txt +0 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/setup.cfg +0 -0
- {antchain_bot-1.12.3 → antchain_bot-1.12.4}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.12.4'
|
|
@@ -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.4',
|
|
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.4',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
|
@@ -22144,6 +22144,7 @@ class CreateDevicecorpDeviceRequest(TeaModel):
|
|
|
22144
22144
|
device_sn: str = None,
|
|
22145
22145
|
nick_name: str = None,
|
|
22146
22146
|
device_ext: str = None,
|
|
22147
|
+
sec_id: str = None,
|
|
22147
22148
|
):
|
|
22148
22149
|
# OAuth模式下的授权token
|
|
22149
22150
|
self.auth_token = auth_token
|
|
@@ -22164,6 +22165,8 @@ class CreateDevicecorpDeviceRequest(TeaModel):
|
|
|
22164
22165
|
self.nick_name = nick_name
|
|
22165
22166
|
# 设备扩展信息(json字符串,车架号等信息)
|
|
22166
22167
|
self.device_ext = device_ext
|
|
22168
|
+
# 安全认证ID
|
|
22169
|
+
self.sec_id = sec_id
|
|
22167
22170
|
|
|
22168
22171
|
def validate(self):
|
|
22169
22172
|
self.validate_required(self.project_code, 'project_code')
|
|
@@ -22199,6 +22202,8 @@ class CreateDevicecorpDeviceRequest(TeaModel):
|
|
|
22199
22202
|
result['nick_name'] = self.nick_name
|
|
22200
22203
|
if self.device_ext is not None:
|
|
22201
22204
|
result['device_ext'] = self.device_ext
|
|
22205
|
+
if self.sec_id is not None:
|
|
22206
|
+
result['sec_id'] = self.sec_id
|
|
22202
22207
|
return result
|
|
22203
22208
|
|
|
22204
22209
|
def from_map(self, m: dict = None):
|
|
@@ -22223,6 +22228,8 @@ class CreateDevicecorpDeviceRequest(TeaModel):
|
|
|
22223
22228
|
self.nick_name = m.get('nick_name')
|
|
22224
22229
|
if m.get('device_ext') is not None:
|
|
22225
22230
|
self.device_ext = m.get('device_ext')
|
|
22231
|
+
if m.get('sec_id') is not None:
|
|
22232
|
+
self.sec_id = m.get('sec_id')
|
|
22226
22233
|
return self
|
|
22227
22234
|
|
|
22228
22235
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.12.3'
|
|
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
|
|
File without changes
|