codosdk 1.0.37__tar.gz → 1.0.39__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.
- {codosdk-1.0.37 → codosdk-1.0.39}/PKG-INFO +1 -1
- {codosdk-1.0.37 → codosdk-1.0.39}/codosdk.egg-info/PKG-INFO +1 -1
- {codosdk-1.0.37 → codosdk-1.0.39}/setup.py +1 -1
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/apis/agent_apis.py +2 -2
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/consts.py +16 -1
- {codosdk-1.0.37 → codosdk-1.0.39}/LICENSE +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/README.md +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/codosdk.egg-info/SOURCES.txt +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/codosdk.egg-info/dependency_links.txt +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/codosdk.egg-info/requires.txt +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/codosdk.egg-info/top_level.txt +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/opssdk/__init__.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/opssdk/utils/__init__.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/pyproject.toml +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/setup.cfg +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/__init__.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/api_set.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/apis/__init__.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/apis/admin_apis.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/apis/cmdb_apis.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/apis/kerrigan_apis.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/apis/mgv4_apis.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/apis/notice_apis.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/apis/task_apis.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/application.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/base_handler.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/cache.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/cache_context.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/client.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/cloud/__init__.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/cloud/qcloud_api.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/cloud/ucloud_api.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/cloud_utils.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/configs.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/crud_utils.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/db_context.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/error.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/fetch_coroutine.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/jwt_token.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/ldap.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/logger.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/model_utils.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/mqhelper.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/program.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/salt_api.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/sqlalchemy_pagination.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/tools.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/utils/__init__.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/utils/cc_crypto.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/utils/date_format.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/utils/pydantic_utils.py +0 -0
- {codosdk-1.0.37 → codosdk-1.0.39}/websdk2/web_logs.py +0 -0
|
@@ -9,7 +9,7 @@ desc : CODO SDK
|
|
|
9
9
|
import sys
|
|
10
10
|
from setuptools import setup, find_packages
|
|
11
11
|
|
|
12
|
-
VERSION = '1.0.
|
|
12
|
+
VERSION = '1.0.39'
|
|
13
13
|
|
|
14
14
|
if sys.version_info < (2, 7) or (3, 0) <= sys.version_info < (3, 6):
|
|
15
15
|
print('This program requires at least Python 2.7 or 3.6 to run.')
|
|
@@ -16,8 +16,8 @@ class AgentAPIS:
|
|
|
16
16
|
sync_files_url = f'{route_prefix}/v1/manager/agent/share_file/register'
|
|
17
17
|
cloud_native_url = f'{route_prefix}/v1/manager/agent/task/cloud_native'
|
|
18
18
|
|
|
19
|
-
sync_files_register_url_v2 = f"{route_prefix}/agent/share_filev2/register"
|
|
20
|
-
sync_files_cancel_url_v2 = f"{route_prefix}/agent/share_filev2/cancel"
|
|
19
|
+
sync_files_register_url_v2 = f"{route_prefix}/v1/manager/agent/share_filev2/register"
|
|
20
|
+
sync_files_cancel_url_v2 = f"{route_prefix}/v1/manager/agent/share_filev2/cancel"
|
|
21
21
|
|
|
22
22
|
get_agent_list = dict(method='GET',
|
|
23
23
|
url=agent_list_url,
|
|
@@ -181,8 +181,23 @@ const.SMS_DOMAIN = "SMS_DOMAIN"
|
|
|
181
181
|
|
|
182
182
|
const.SMS_ACCESS_KEY_ID = 'SMS_ACCESS_KEY_ID'
|
|
183
183
|
const.SMS_ACCESS_KEY_SECRET = 'SMS_ACCESS_KEY_SECRET'
|
|
184
|
+
|
|
184
185
|
# 钉钉
|
|
185
|
-
const.
|
|
186
|
+
const.DINGTALK_CLIENT_ID = "dingtalk_client_id"
|
|
187
|
+
const.DINGTALK_CLIENT_SECRET = "dingtalk_client_secret"
|
|
188
|
+
const.DINGTALK_AGENT_ID = "dingtalk_agent_id"
|
|
189
|
+
const.DINGTALK_AUTH = "dingtalk_auth"
|
|
190
|
+
|
|
191
|
+
# 飞书
|
|
192
|
+
const.FEISHU_CLIENT_ID = "feishu_client_id"
|
|
193
|
+
const.FEISHU_CLIENT_SECRET = "feishu_client_secret"
|
|
194
|
+
const.FEISHU_AUTH = "feishu_auth"
|
|
195
|
+
|
|
196
|
+
# 企微
|
|
197
|
+
const.WECHATWORK_CORP_ID = "wechatwork_corp_id"
|
|
198
|
+
const.WECHATWORK_AGENT_ID = "wechatwork_agent_id"
|
|
199
|
+
const.WECHATWORK_AUTH = "wechatwork_auth"
|
|
200
|
+
|
|
186
201
|
# 存储
|
|
187
202
|
const.STORAGE_REGION = "STORAGE_REGION"
|
|
188
203
|
const.STORAGE_NAME = "STORAGE_NAME"
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|