tencentcloud-sdk-python-workbuddyenterprise 3.1.180__tar.gz → 3.1.191__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/setup.py +1 -1
  3. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud/workbuddyenterprise/v20260709/errorcodes.py +9 -0
  5. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud/workbuddyenterprise/v20260709/models.py +51 -2
  6. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client.py +23 -0
  7. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client_async.py +18 -0
  8. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud_sdk_python_workbuddyenterprise.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_workbuddyenterprise-3.1.191/tencentcloud_sdk_python_workbuddyenterprise.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_workbuddyenterprise-3.1.180/tencentcloud_sdk_python_workbuddyenterprise.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/README.rst +0 -0
  12. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud/workbuddyenterprise/__init__.py +0 -0
  14. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud/workbuddyenterprise/v20260709/__init__.py +0 -0
  15. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud_sdk_python_workbuddyenterprise.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/tencentcloud_sdk_python_workbuddyenterprise.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_workbuddyenterprise-3.1.180 → tencentcloud_sdk_python_workbuddyenterprise-3.1.191}/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.180
3
+ Version: 3.1.191
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.180
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.191
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.180,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.191,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Workbuddyenterprise SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.180'
17
+ __version__ = '3.1.191'
@@ -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
 
@@ -1236,7 +1236,7 @@ class ConnectorInfo(AbstractModel):
1236
1236
  :type Type: str
1237
1237
  :param _ServiceUrl: 上游服务地址
1238
1238
  :type ServiceUrl: str
1239
- :param _AuthModes: 授权方式列表:NONE / ONEID / OAUTH2_IDP
1239
+ :param _AuthModes: 授权方式列表:NONE / ONEID / OAUTH2_IDP / API_KEY
1240
1240
  :type AuthModes: list of str
1241
1241
  :param _LatestVersionNo: 最新版本号
1242
1242
  :type LatestVersionNo: int
@@ -1248,6 +1248,8 @@ class ConnectorInfo(AbstractModel):
1248
1248
  :type CreatedTime: str
1249
1249
  :param _ModifiedTime: 最后修改时间(ISO8601,UTC)
1250
1250
  :type ModifiedTime: str
1251
+ :param _VpcConfigId: VPC 网络配置 ID。为空表示该连接器通过公网访问 ServiceUrl。仅绑定 VPC 网络配置时本字段有值。
1252
+ :type VpcConfigId: str
1251
1253
  """
1252
1254
  self._ConnectorId = None
1253
1255
  self._ConnectorSlug = None
@@ -1265,6 +1267,7 @@ class ConnectorInfo(AbstractModel):
1265
1267
  self._CreatorId = None
1266
1268
  self._CreatedTime = None
1267
1269
  self._ModifiedTime = None
1270
+ self._VpcConfigId = None
1268
1271
 
1269
1272
  @property
1270
1273
  def ConnectorId(self):
@@ -1378,7 +1381,7 @@ class ConnectorInfo(AbstractModel):
1378
1381
 
1379
1382
  @property
1380
1383
  def AuthModes(self):
1381
- r"""授权方式列表:NONE / ONEID / OAUTH2_IDP
1384
+ r"""授权方式列表:NONE / ONEID / OAUTH2_IDP / API_KEY
1382
1385
  :rtype: list of str
1383
1386
  """
1384
1387
  return self._AuthModes
@@ -1442,6 +1445,17 @@ class ConnectorInfo(AbstractModel):
1442
1445
  def ModifiedTime(self, ModifiedTime):
1443
1446
  self._ModifiedTime = ModifiedTime
1444
1447
 
1448
+ @property
1449
+ def VpcConfigId(self):
1450
+ r"""VPC 网络配置 ID。为空表示该连接器通过公网访问 ServiceUrl。仅绑定 VPC 网络配置时本字段有值。
1451
+ :rtype: str
1452
+ """
1453
+ return self._VpcConfigId
1454
+
1455
+ @VpcConfigId.setter
1456
+ def VpcConfigId(self, VpcConfigId):
1457
+ self._VpcConfigId = VpcConfigId
1458
+
1445
1459
 
1446
1460
  def _deserialize(self, params):
1447
1461
  self._ConnectorId = params.get("ConnectorId")
@@ -1460,6 +1474,7 @@ class ConnectorInfo(AbstractModel):
1460
1474
  self._CreatorId = params.get("CreatorId")
1461
1475
  self._CreatedTime = params.get("CreatedTime")
1462
1476
  self._ModifiedTime = params.get("ModifiedTime")
1477
+ self._VpcConfigId = params.get("VpcConfigId")
1463
1478
  memeber_set = set(params.keys())
1464
1479
  for name, value in vars(self).items():
1465
1480
  property_name = name[1:]
@@ -5067,6 +5082,40 @@ class DescribeSkillListResponse(AbstractModel):
5067
5082
  self._RequestId = params.get("RequestId")
5068
5083
 
5069
5084
 
5085
+ class DescribeUserAccessTokenRequest(AbstractModel):
5086
+ r"""DescribeUserAccessToken请求参数结构体
5087
+
5088
+ """
5089
+
5090
+
5091
+ class DescribeUserAccessTokenResponse(AbstractModel):
5092
+ r"""DescribeUserAccessToken返回参数结构体
5093
+
5094
+ """
5095
+
5096
+ def __init__(self):
5097
+ r"""
5098
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5099
+ :type RequestId: str
5100
+ """
5101
+ self._RequestId = None
5102
+
5103
+ @property
5104
+ def RequestId(self):
5105
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5106
+ :rtype: str
5107
+ """
5108
+ return self._RequestId
5109
+
5110
+ @RequestId.setter
5111
+ def RequestId(self, RequestId):
5112
+ self._RequestId = RequestId
5113
+
5114
+
5115
+ def _deserialize(self, params):
5116
+ self._RequestId = params.get("RequestId")
5117
+
5118
+
5070
5119
  class ExpertCounts(AbstractModel):
5071
5120
  r"""全局专家计数
5072
5121
 
@@ -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.180
3
+ Version: 3.1.191
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.180
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.191
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python