tencentcloud-sdk-python-workbuddyenterprise 3.1.180__tar.gz → 3.1.181__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.
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/setup.py +1 -1
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud/workbuddyenterprise/v20260709/errorcodes.py +9 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud/workbuddyenterprise/v20260709/models.py +34 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client.py +23 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client_async.py +18 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud_sdk_python_workbuddyenterprise.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_workbuddyenterprise-3.1.181/tencentcloud_sdk_python_workbuddyenterprise.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_workbuddyenterprise-3.1.180/tencentcloud_sdk_python_workbuddyenterprise.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/README.rst +0 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/setup.cfg +0 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud/workbuddyenterprise/__init__.py +0 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud/workbuddyenterprise/v20260709/__init__.py +0 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud_sdk_python_workbuddyenterprise.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud_sdk_python_workbuddyenterprise.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.181}/tencentcloud_sdk_python_workbuddyenterprise.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-workbuddyenterprise
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.181
|
|
4
4
|
Summary: Tencent Cloud Workbuddyenterprise SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-workbuddyenterprise',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.181,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Workbuddyenterprise SDK for Python',
|
|
@@ -107,6 +107,12 @@ INTERNALERROR_TRACINGNOTCONFIGURED = 'InternalError.TracingNotConfigured'
|
|
|
107
107
|
# InternalError.Unknown
|
|
108
108
|
INTERNALERROR_UNKNOWN = 'InternalError.Unknown'
|
|
109
109
|
|
|
110
|
+
# InternalError.UserAccessTokenExchangeFailed
|
|
111
|
+
INTERNALERROR_USERACCESSTOKENEXCHANGEFAILED = 'InternalError.UserAccessTokenExchangeFailed'
|
|
112
|
+
|
|
113
|
+
# InternalError.UserAccessTokenNotConfigured
|
|
114
|
+
INTERNALERROR_USERACCESSTOKENNOTCONFIGURED = 'InternalError.UserAccessTokenNotConfigured'
|
|
115
|
+
|
|
110
116
|
# InternalError.VersionOperationFailed
|
|
111
117
|
INTERNALERROR_VERSIONOPERATIONFAILED = 'InternalError.VersionOperationFailed'
|
|
112
118
|
|
|
@@ -188,6 +194,9 @@ INVALIDPARAMETERVALUE_INVALIDCONNECTORSOURCE = 'InvalidParameterValue.InvalidCon
|
|
|
188
194
|
# InvalidParameterValue.InvalidConnectorStatus
|
|
189
195
|
INVALIDPARAMETERVALUE_INVALIDCONNECTORSTATUS = 'InvalidParameterValue.InvalidConnectorStatus'
|
|
190
196
|
|
|
197
|
+
# MissingParameter.SubAccountUinRequired
|
|
198
|
+
MISSINGPARAMETER_SUBACCOUNTUINREQUIRED = 'MissingParameter.SubAccountUinRequired'
|
|
199
|
+
|
|
191
200
|
# MissingParameter.UinRequired
|
|
192
201
|
MISSINGPARAMETER_UINREQUIRED = 'MissingParameter.UinRequired'
|
|
193
202
|
|
|
@@ -5067,6 +5067,40 @@ class DescribeSkillListResponse(AbstractModel):
|
|
|
5067
5067
|
self._RequestId = params.get("RequestId")
|
|
5068
5068
|
|
|
5069
5069
|
|
|
5070
|
+
class DescribeUserAccessTokenRequest(AbstractModel):
|
|
5071
|
+
r"""DescribeUserAccessToken请求参数结构体
|
|
5072
|
+
|
|
5073
|
+
"""
|
|
5074
|
+
|
|
5075
|
+
|
|
5076
|
+
class DescribeUserAccessTokenResponse(AbstractModel):
|
|
5077
|
+
r"""DescribeUserAccessToken返回参数结构体
|
|
5078
|
+
|
|
5079
|
+
"""
|
|
5080
|
+
|
|
5081
|
+
def __init__(self):
|
|
5082
|
+
r"""
|
|
5083
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5084
|
+
:type RequestId: str
|
|
5085
|
+
"""
|
|
5086
|
+
self._RequestId = None
|
|
5087
|
+
|
|
5088
|
+
@property
|
|
5089
|
+
def RequestId(self):
|
|
5090
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5091
|
+
:rtype: str
|
|
5092
|
+
"""
|
|
5093
|
+
return self._RequestId
|
|
5094
|
+
|
|
5095
|
+
@RequestId.setter
|
|
5096
|
+
def RequestId(self, RequestId):
|
|
5097
|
+
self._RequestId = RequestId
|
|
5098
|
+
|
|
5099
|
+
|
|
5100
|
+
def _deserialize(self, params):
|
|
5101
|
+
self._RequestId = params.get("RequestId")
|
|
5102
|
+
|
|
5103
|
+
|
|
5070
5104
|
class ExpertCounts(AbstractModel):
|
|
5071
5105
|
r"""全局专家计数
|
|
5072
5106
|
|
|
@@ -463,6 +463,29 @@ class WorkbuddyenterpriseClient(AbstractClient):
|
|
|
463
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
464
|
|
|
465
465
|
|
|
466
|
+
def DescribeUserAccessToken(self, request):
|
|
467
|
+
r"""根据调用者的 Uin / SubAccountUin 调用 OneID 换取用户级 access_token。换取到的 token 是 OneID 用户身份的短期凭证,供调用方以用户身份访问 OneID 开平接口。默认开启 JIT,SubAccountUin 不存在时自动在目标企业下创建影子用户。
|
|
468
|
+
|
|
469
|
+
:param request: Request instance for DescribeUserAccessToken.
|
|
470
|
+
:type request: :class:`tencentcloud.workbuddyenterprise.v20260709.models.DescribeUserAccessTokenRequest`
|
|
471
|
+
:rtype: :class:`tencentcloud.workbuddyenterprise.v20260709.models.DescribeUserAccessTokenResponse`
|
|
472
|
+
|
|
473
|
+
"""
|
|
474
|
+
try:
|
|
475
|
+
params = request._serialize()
|
|
476
|
+
headers = request.headers
|
|
477
|
+
body = self.call("DescribeUserAccessToken", params, headers=headers)
|
|
478
|
+
response = json.loads(body)
|
|
479
|
+
model = models.DescribeUserAccessTokenResponse()
|
|
480
|
+
model._deserialize(response["Response"])
|
|
481
|
+
return model
|
|
482
|
+
except Exception as e:
|
|
483
|
+
if isinstance(e, TencentCloudSDKException):
|
|
484
|
+
raise
|
|
485
|
+
else:
|
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
487
|
+
|
|
488
|
+
|
|
466
489
|
def MigrateAgentSession(self, request):
|
|
467
490
|
r"""将指定会话迁移到目标版本。SessionID / RuntimeID 保持不变,通过 AgentOS UpdateSession 在原沙箱上更新 manifest 到新版本;AgentId 必须与原 Session 一致(禁止跨 Agent 迁移);ChatToken 复用旧值不轮转。
|
|
468
491
|
|
|
@@ -367,6 +367,24 @@ class WorkbuddyenterpriseClient(AbstractClient):
|
|
|
367
367
|
|
|
368
368
|
return await self.call_and_deserialize(**kwargs)
|
|
369
369
|
|
|
370
|
+
async def DescribeUserAccessToken(
|
|
371
|
+
self,
|
|
372
|
+
request: models.DescribeUserAccessTokenRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.DescribeUserAccessTokenResponse:
|
|
375
|
+
"""
|
|
376
|
+
根据调用者的 Uin / SubAccountUin 调用 OneID 换取用户级 access_token。换取到的 token 是 OneID 用户身份的短期凭证,供调用方以用户身份访问 OneID 开平接口。默认开启 JIT,SubAccountUin 不存在时自动在目标企业下创建影子用户。
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "DescribeUserAccessToken"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.DescribeUserAccessTokenResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
370
388
|
async def MigrateAgentSession(
|
|
371
389
|
self,
|
|
372
390
|
request: models.MigrateAgentSessionRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-workbuddyenterprise
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.181
|
|
4
4
|
Summary: Tencent Cloud Workbuddyenterprise SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.181
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.180
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|