tencentcloud-sdk-python-ccc 3.0.1256__tar.gz → 3.0.1273__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-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/PKG-INFO +3 -3
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/setup.cfg +0 -1
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/setup.py +1 -1
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud/ccc/v20200210/ccc_client.py +26 -1
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud/ccc/v20200210/models.py +3036 -256
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud_sdk_python_ccc.egg-info/PKG-INFO +3 -3
- tencentcloud-sdk-python-ccc-3.0.1273/tencentcloud_sdk_python_ccc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ccc-3.0.1256/tencentcloud_sdk_python_ccc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/README.rst +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud/ccc/__init__.py +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud/ccc/v20200210/__init__.py +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud_sdk_python_ccc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud_sdk_python_ccc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1256 → tencentcloud-sdk-python-ccc-3.0.1273}/tencentcloud_sdk_python_ccc.egg-info/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 1.
|
|
1
|
+
Metadata-Version: 1.2
|
|
2
2
|
Name: tencentcloud-sdk-python-ccc
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1273
|
|
4
4
|
Summary: Tencent Cloud Ccc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
7
|
-
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
8
|
License: Apache License 2.0
|
|
9
9
|
Description: ============================
|
|
10
10
|
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-ccc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1273"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ccc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -96,7 +96,9 @@ class CccClient(AbstractClient):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
def CreateAICall(self, request):
|
|
99
|
-
"""
|
|
99
|
+
"""用于调用AI模型发起外呼通话,仅限自有电话号码使用,目前开通高级版座席**限时**免费体验。
|
|
100
|
+
|
|
101
|
+
发起通话前,请先确认您的AI模型是否兼容 OpenAI、Azure 或 Minimax 协议,并前往模型服务商网站获取相关鉴权信息。 具体功能说明请参考文档 [腾讯云联络中心AI通话平台](https://cloud.tencent.com/document/product/679/112100)。
|
|
100
102
|
|
|
101
103
|
:param request: Request instance for CreateAICall.
|
|
102
104
|
:type request: :class:`tencentcloud.ccc.v20200210.models.CreateAICallRequest`
|
|
@@ -1040,6 +1042,29 @@ class CccClient(AbstractClient):
|
|
|
1040
1042
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1041
1043
|
|
|
1042
1044
|
|
|
1045
|
+
def DescribeTelRecordAsr(self, request):
|
|
1046
|
+
"""拉取会话录音转文本信息
|
|
1047
|
+
|
|
1048
|
+
:param request: Request instance for DescribeTelRecordAsr.
|
|
1049
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeTelRecordAsrRequest`
|
|
1050
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeTelRecordAsrResponse`
|
|
1051
|
+
|
|
1052
|
+
"""
|
|
1053
|
+
try:
|
|
1054
|
+
params = request._serialize()
|
|
1055
|
+
headers = request.headers
|
|
1056
|
+
body = self.call("DescribeTelRecordAsr", params, headers=headers)
|
|
1057
|
+
response = json.loads(body)
|
|
1058
|
+
model = models.DescribeTelRecordAsrResponse()
|
|
1059
|
+
model._deserialize(response["Response"])
|
|
1060
|
+
return model
|
|
1061
|
+
except Exception as e:
|
|
1062
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1063
|
+
raise
|
|
1064
|
+
else:
|
|
1065
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1066
|
+
|
|
1067
|
+
|
|
1043
1068
|
def DescribeTelSession(self, request):
|
|
1044
1069
|
"""获取 PSTN 会话信息
|
|
1045
1070
|
|
|
@@ -152,12 +152,18 @@ LIMITEXCEEDED_BASEPACKAGEEXPIRED = 'LimitExceeded.BasePackageExpired'
|
|
|
152
152
|
# 超出数量限制。
|
|
153
153
|
LIMITEXCEEDED_OUTOFCOUNTLIMIT = 'LimitExceeded.OutOfCountLimit'
|
|
154
154
|
|
|
155
|
+
# 缺少参数错误。
|
|
156
|
+
MISSINGPARAMETER = 'MissingParameter'
|
|
157
|
+
|
|
155
158
|
# 不在白名单中。
|
|
156
159
|
OPERATIONDENIED_NOTINWHITELIST = 'OperationDenied.NotInWhiteList'
|
|
157
160
|
|
|
158
161
|
# 账号已被禁用。
|
|
159
162
|
OPERATIONDENIED_UINDISABLED = 'OperationDenied.UinDisabled'
|
|
160
163
|
|
|
164
|
+
# 资源不存在。
|
|
165
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
166
|
+
|
|
161
167
|
# 未知参数错误。
|
|
162
168
|
UNKNOWNPARAMETER = 'UnknownParameter'
|
|
163
169
|
|