tencentcloud-sdk-python-ccc 3.0.1245__tar.gz → 3.0.1259__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.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/setup.py +1 -1
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud/ccc/v20200210/models.py +370 -136
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud_sdk_python_ccc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ccc-3.0.1259/tencentcloud_sdk_python_ccc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ccc-3.0.1245/tencentcloud_sdk_python_ccc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/README.rst +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud/ccc/__init__.py +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud/ccc/v20200210/__init__.py +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud_sdk_python_ccc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud_sdk_python_ccc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ccc-3.0.1245 → tencentcloud-sdk-python-ccc-3.0.1259}/tencentcloud_sdk_python_ccc.egg-info/top_level.txt +0 -0
|
@@ -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.1259"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ccc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1040,6 +1040,29 @@ class CccClient(AbstractClient):
|
|
|
1040
1040
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1041
1041
|
|
|
1042
1042
|
|
|
1043
|
+
def DescribeTelRecordAsr(self, request):
|
|
1044
|
+
"""拉取会话录音转文本信息
|
|
1045
|
+
|
|
1046
|
+
:param request: Request instance for DescribeTelRecordAsr.
|
|
1047
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeTelRecordAsrRequest`
|
|
1048
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeTelRecordAsrResponse`
|
|
1049
|
+
|
|
1050
|
+
"""
|
|
1051
|
+
try:
|
|
1052
|
+
params = request._serialize()
|
|
1053
|
+
headers = request.headers
|
|
1054
|
+
body = self.call("DescribeTelRecordAsr", params, headers=headers)
|
|
1055
|
+
response = json.loads(body)
|
|
1056
|
+
model = models.DescribeTelRecordAsrResponse()
|
|
1057
|
+
model._deserialize(response["Response"])
|
|
1058
|
+
return model
|
|
1059
|
+
except Exception as e:
|
|
1060
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1061
|
+
raise
|
|
1062
|
+
else:
|
|
1063
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1064
|
+
|
|
1065
|
+
|
|
1043
1066
|
def DescribeTelSession(self, request):
|
|
1044
1067
|
"""获取 PSTN 会话信息
|
|
1045
1068
|
|
|
@@ -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
|
|
|
@@ -157,6 +157,91 @@ class ActiveCarrierPrivilegeNumber(AbstractModel):
|
|
|
157
157
|
|
|
158
158
|
|
|
159
159
|
|
|
160
|
+
class AsrData(AbstractModel):
|
|
161
|
+
"""语音转文本信息
|
|
162
|
+
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
def __init__(self):
|
|
166
|
+
r"""
|
|
167
|
+
:param _User: 用户方
|
|
168
|
+
:type User: str
|
|
169
|
+
:param _Message: 消息内容
|
|
170
|
+
:type Message: str
|
|
171
|
+
:param _Timestamp: 时间戳
|
|
172
|
+
:type Timestamp: int
|
|
173
|
+
:param _Start: 句子开始时间,Unix 毫秒时间戳
|
|
174
|
+
:type Start: int
|
|
175
|
+
:param _End: 句子结束时间,Unix 毫秒时间戳
|
|
176
|
+
:type End: int
|
|
177
|
+
"""
|
|
178
|
+
self._User = None
|
|
179
|
+
self._Message = None
|
|
180
|
+
self._Timestamp = None
|
|
181
|
+
self._Start = None
|
|
182
|
+
self._End = None
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def User(self):
|
|
186
|
+
return self._User
|
|
187
|
+
|
|
188
|
+
@User.setter
|
|
189
|
+
def User(self, User):
|
|
190
|
+
self._User = User
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
def Message(self):
|
|
194
|
+
return self._Message
|
|
195
|
+
|
|
196
|
+
@Message.setter
|
|
197
|
+
def Message(self, Message):
|
|
198
|
+
self._Message = Message
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
def Timestamp(self):
|
|
202
|
+
warnings.warn("parameter `Timestamp` is deprecated", DeprecationWarning)
|
|
203
|
+
|
|
204
|
+
return self._Timestamp
|
|
205
|
+
|
|
206
|
+
@Timestamp.setter
|
|
207
|
+
def Timestamp(self, Timestamp):
|
|
208
|
+
warnings.warn("parameter `Timestamp` is deprecated", DeprecationWarning)
|
|
209
|
+
|
|
210
|
+
self._Timestamp = Timestamp
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
def Start(self):
|
|
214
|
+
return self._Start
|
|
215
|
+
|
|
216
|
+
@Start.setter
|
|
217
|
+
def Start(self, Start):
|
|
218
|
+
self._Start = Start
|
|
219
|
+
|
|
220
|
+
@property
|
|
221
|
+
def End(self):
|
|
222
|
+
return self._End
|
|
223
|
+
|
|
224
|
+
@End.setter
|
|
225
|
+
def End(self, End):
|
|
226
|
+
self._End = End
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
def _deserialize(self, params):
|
|
230
|
+
self._User = params.get("User")
|
|
231
|
+
self._Message = params.get("Message")
|
|
232
|
+
self._Timestamp = params.get("Timestamp")
|
|
233
|
+
self._Start = params.get("Start")
|
|
234
|
+
self._End = params.get("End")
|
|
235
|
+
memeber_set = set(params.keys())
|
|
236
|
+
for name, value in vars(self).items():
|
|
237
|
+
property_name = name[1:]
|
|
238
|
+
if property_name in memeber_set:
|
|
239
|
+
memeber_set.remove(property_name)
|
|
240
|
+
if len(memeber_set) > 0:
|
|
241
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
160
245
|
class AudioFileInfo(AbstractModel):
|
|
161
246
|
"""音频文件审核信息
|
|
162
247
|
|
|
@@ -165,16 +250,12 @@ class AudioFileInfo(AbstractModel):
|
|
|
165
250
|
def __init__(self):
|
|
166
251
|
r"""
|
|
167
252
|
:param _FileId: 文件ID
|
|
168
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
169
253
|
:type FileId: int
|
|
170
254
|
:param _CustomFileName: 文件别名
|
|
171
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
172
255
|
:type CustomFileName: str
|
|
173
256
|
:param _AudioFileName: 文件名
|
|
174
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
175
257
|
:type AudioFileName: str
|
|
176
258
|
:param _Status: 审核状态,0-未审核,1-审核通过,2-审核拒绝
|
|
177
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
178
259
|
:type Status: int
|
|
179
260
|
"""
|
|
180
261
|
self._FileId = None
|
|
@@ -949,7 +1030,6 @@ class CarrierPrivilegeNumberApplicant(AbstractModel):
|
|
|
949
1030
|
:param _Callees: 被叫号码列表
|
|
950
1031
|
:type Callees: list of str
|
|
951
1032
|
:param _Description: 描述
|
|
952
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
953
1033
|
:type Description: str
|
|
954
1034
|
:param _State: 审批状态:1 待审核、2 通过、3 拒绝
|
|
955
1035
|
:type State: int
|
|
@@ -1059,73 +1139,50 @@ class CompanyApplyInfo(AbstractModel):
|
|
|
1059
1139
|
def __init__(self):
|
|
1060
1140
|
r"""
|
|
1061
1141
|
:param _ApplicantType: 申请人身份,0-公司法定代表人,1-经办人(受法定代表人委托)
|
|
1062
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1063
1142
|
:type ApplicantType: int
|
|
1064
1143
|
:param _CompanyName: 企业名称
|
|
1065
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1066
1144
|
:type CompanyName: str
|
|
1067
1145
|
:param _BusinessId: 统一社会信用代码
|
|
1068
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1069
1146
|
:type BusinessId: str
|
|
1070
1147
|
:param _BusinessIdPicUrl: 营业执照扫描件(加盖公章)。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1071
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1072
1148
|
:type BusinessIdPicUrl: str
|
|
1073
1149
|
:param _CorporationName: 法定代表人名称
|
|
1074
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1075
1150
|
:type CorporationName: str
|
|
1076
1151
|
:param _CorporationId: 法定代表人身份证号码
|
|
1077
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1078
1152
|
:type CorporationId: str
|
|
1079
1153
|
:param _CorporationIdPicUrl: 法定代表人身份证正反面扫描件。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1080
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1081
1154
|
:type CorporationIdPicUrl: str
|
|
1082
1155
|
:param _NetworkCommitmentPicUrl: 安全合规使用承诺书。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1083
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1084
1156
|
:type NetworkCommitmentPicUrl: str
|
|
1085
1157
|
:param _IsEqualTencentCloud: 是否与腾讯云账号的资质一致,0-不一致,1-一致
|
|
1086
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1087
1158
|
:type IsEqualTencentCloud: int
|
|
1088
1159
|
:param _CorporationMobile: 法定代表人手机号
|
|
1089
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1090
1160
|
:type CorporationMobile: str
|
|
1091
1161
|
:param _CorporationMobilePicUrl: 法定代表人手机号码实名认证。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1092
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1093
1162
|
:type CorporationMobilePicUrl: str
|
|
1094
1163
|
:param _UseDescribeFileUrl: 通话话术。(支持doc、docx格式的文档不超过50MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1095
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1096
1164
|
:type UseDescribeFileUrl: str
|
|
1097
1165
|
:param _CompanyAuthLetterPicUrl: 公司授权函。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1098
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1099
1166
|
:type CompanyAuthLetterPicUrl: str
|
|
1100
1167
|
:param _AcceptPicUrl: 电话受理单。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1101
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1102
1168
|
:type AcceptPicUrl: str
|
|
1103
1169
|
:param _CorporationHoldingOnIdPicUrl: 法定代表人手持身份证照,申请人类型为法定代表人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1104
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1105
1170
|
:type CorporationHoldingOnIdPicUrl: str
|
|
1106
1171
|
:param _OperatorName: 经办人名称,申请人类型为经办人时必填。
|
|
1107
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1108
1172
|
:type OperatorName: str
|
|
1109
1173
|
:param _OperatorId: 经办人证件号码,申请人类型为经办人时必填。
|
|
1110
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1111
1174
|
:type OperatorId: str
|
|
1112
1175
|
:param _OperatorIdPicUrl: 经办人身份证正反面扫描件,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1113
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1114
1176
|
:type OperatorIdPicUrl: str
|
|
1115
1177
|
:param _OperatorHoldingOnIdPicUrl: 经办人手持身份证照,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1116
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1117
1178
|
:type OperatorHoldingOnIdPicUrl: str
|
|
1118
1179
|
:param _CommissionPicUrl: 委托授权书,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1120
1180
|
:type CommissionPicUrl: str
|
|
1121
1181
|
:param _OperatorMobile: 经办人手机号,申请人类型为经办人时必填。
|
|
1122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1123
1182
|
:type OperatorMobile: str
|
|
1124
1183
|
:param _OperatorEmail: 经办人邮箱,申请人类型为经办人时必填。
|
|
1125
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1126
1184
|
:type OperatorEmail: str
|
|
1127
1185
|
:param _OperatorMobilePicUrl: 经办人手机号码实名认证,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
1128
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1129
1186
|
:type OperatorMobilePicUrl: str
|
|
1130
1187
|
"""
|
|
1131
1188
|
self._ApplicantType = None
|
|
@@ -1381,25 +1438,18 @@ class CompanyStateInfo(AbstractModel):
|
|
|
1381
1438
|
:param _Id: 申请单ID
|
|
1382
1439
|
:type Id: int
|
|
1383
1440
|
:param _CompanyName: 公司名称
|
|
1384
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1385
1441
|
:type CompanyName: str
|
|
1386
1442
|
:param _CreateTime: 创建时间
|
|
1387
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1388
1443
|
:type CreateTime: int
|
|
1389
1444
|
:param _CheckTime: 审核时间
|
|
1390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1391
1445
|
:type CheckTime: int
|
|
1392
1446
|
:param _CheckMsg: 审核备注
|
|
1393
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1394
1447
|
:type CheckMsg: str
|
|
1395
1448
|
:param _State: 审核状态,1-待审核,2-审核通过,3-驳回
|
|
1396
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1397
1449
|
:type State: int
|
|
1398
1450
|
:param _BusinessId: 公司统一社会信用代码
|
|
1399
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1400
1451
|
:type BusinessId: str
|
|
1401
1452
|
:param _ModifyTime: 修改时间
|
|
1402
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1403
1453
|
:type ModifyTime: int
|
|
1404
1454
|
"""
|
|
1405
1455
|
self._Id = None
|
|
@@ -1509,12 +1559,16 @@ class CreateAICallRequest(AbstractModel):
|
|
|
1509
1559
|
:param _SystemPrompt: 用于设定AI座席人设、说话规则、任务等的全局提示词。
|
|
1510
1560
|
:type SystemPrompt: str
|
|
1511
1561
|
:param _LLMType: LLM类型
|
|
1562
|
+
目前有两种
|
|
1563
|
+
openai(兼容openai协议的模型)
|
|
1564
|
+
azure
|
|
1512
1565
|
:type LLMType: str
|
|
1513
1566
|
:param _Model: 模型(当前仅支持openai协议的模型)
|
|
1514
1567
|
:type Model: str
|
|
1515
1568
|
:param _APIKey: API密钥
|
|
1516
1569
|
:type APIKey: str
|
|
1517
|
-
:param _APIUrl: API URL,仅支持兼容openai协议的模型,填写url时后缀不要带/chat/completions
|
|
1570
|
+
:param _APIUrl: API URL,仅支持兼容openai协议的模型,填写url时后缀不要带/chat/completions;
|
|
1571
|
+
llmType为azure时,URL填写格式需为:https://{your-resource-name}.openai.azure.com?api-version={api-version},填写url时后缀不要带/openai/deployments/{deployment-id}/chat/completions,系统会自动帮您填充后缀
|
|
1518
1572
|
:type APIUrl: str
|
|
1519
1573
|
:param _VoiceType: 音色,目前仅支持以下音色:
|
|
1520
1574
|
汉语:
|
|
@@ -1593,6 +1647,93 @@ HoaiMy
|
|
|
1593
1647
|
:type EndFunctionEnable: bool
|
|
1594
1648
|
:param _EndFunctionDesc: EndFunctionEnable为true时生效;call_end function calling的desc,默认为 "End the call when user has to leave (like says bye) or you are instructed to do so."
|
|
1595
1649
|
:type EndFunctionDesc: str
|
|
1650
|
+
:param _NotifyDuration: 用户多久没说话提示时长,最小10秒,默认10秒
|
|
1651
|
+
:type NotifyDuration: int
|
|
1652
|
+
:param _NotifyMessage: 用户NotifyDuration没说话,ai提示的语句,默认是"抱歉,我没听清。您可以重复下吗?"
|
|
1653
|
+
:type NotifyMessage: str
|
|
1654
|
+
:param _CustomTTSConfig: 和voiceType字段需要选填一个,这里是使用自己自定义的TTS,voiceType是系统内置的一些音色
|
|
1655
|
+
|
|
1656
|
+
tencent TTS:
|
|
1657
|
+
{
|
|
1658
|
+
"TTSType": "tencent", // String TTS类型, 目前支持"tencent" 和 “minixmax”, 其他的厂商支持中
|
|
1659
|
+
"AppId": "您的应用ID", // String 必填
|
|
1660
|
+
"SecretId": "您的密钥ID", // String 必填
|
|
1661
|
+
"SecretKey": "您的密钥Key", // String 必填
|
|
1662
|
+
"VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见语音合成计费概述。完整的音色 ID 列表请参见语音合成音色列表。
|
|
1663
|
+
"Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 语速转换
|
|
1664
|
+
"Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。
|
|
1665
|
+
"PrimaryLanguage": 1, // Integer 可选 主要语言 1-中文(默认) 2-英文 3-日文
|
|
1666
|
+
"FastVoiceType": "xxxx" // 可选参数, 快速声音复刻的参数
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
参考:https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823
|
|
1670
|
+
|
|
1671
|
+
minimax TTS
|
|
1672
|
+
{
|
|
1673
|
+
"TTSType": "minimax", // String TTS类型,
|
|
1674
|
+
"Model": "speech-01-turbo",
|
|
1675
|
+
"APIUrl": "https://api.minimax.chat/v1/t2a_v2",
|
|
1676
|
+
"APIKey": "eyxxxx",
|
|
1677
|
+
"GroupId": "181000000000000",
|
|
1678
|
+
"VoiceType":"female-tianmei-jingpin",
|
|
1679
|
+
"Speed": 1.2
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
参考:https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643
|
|
1683
|
+
限频参考:https://platform.minimaxi.com/document/Rate%20limits?key=66b19417290299a26b234572 可能会导致回答卡顿
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
volcengine TTS
|
|
1688
|
+
{
|
|
1689
|
+
"TTSType": "volcengine", // 必填:String TTS类型
|
|
1690
|
+
"AppId" : "xxxxxxxx", // 必填:String 火山引擎分配的Appid
|
|
1691
|
+
"Token" : "TY9d4sQXHxxxxxxx", // 必填: String类型 火山引擎的访问token
|
|
1692
|
+
"Speed" : 1.0, // 可选参数 语速,默认为1.0
|
|
1693
|
+
"Volume": 1.0, // 可选参数, 音量大小, 默认为1.0
|
|
1694
|
+
"Cluster" : "volcano_tts", // 可选参数,业务集群, 默认是 volcano_tts
|
|
1695
|
+
"VoiceType" : "zh_male_aojiaobazong_moon_bigtts" // 音色类型, 默认为大模型语音合成的音色。 如果使用普通语音合成,则需要填写对应的音色类型。 音色类型填写错误会导致没有声音。
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
火山引擎音色类型参考:
|
|
1701
|
+
https://www.volcengine.com/docs/6561/162929
|
|
1702
|
+
语音合成音色列表--语音技术-火山引擎
|
|
1703
|
+
大模型语音合成音色列表--语音技术-火山引擎
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
Azure TTS
|
|
1707
|
+
{
|
|
1708
|
+
"TTSType": "azure", // 必填:String TTS类型
|
|
1709
|
+
"SubscriptionKey": "xxxxxxxx", // 必填:String 订阅的Key
|
|
1710
|
+
"Region": "chinanorth3", // 必填:String 订阅的地区
|
|
1711
|
+
"VoiceName": "zh-CN-XiaoxiaoNeural", // 必填:String 音色名必填
|
|
1712
|
+
"Language": "zh-CN", // 必填:String 合成的语言
|
|
1713
|
+
"Rate": 1 // 选填:float 语速 0.5~2 默认为 1
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
参考:
|
|
1717
|
+
https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
自定义 TTS
|
|
1721
|
+
{
|
|
1722
|
+
"TTSType": "custom", // String 必填
|
|
1723
|
+
"APIKey": "ApiKey", // String 必填 用来鉴权
|
|
1724
|
+
"APIUrl": "http://0.0.0.0:8080/stream-audio" // String,必填,TTS API URL
|
|
1725
|
+
"AudioFormat": "wav", // String, 非必填,期望输出的音频格式,如mp3, ogg_opus,pcm,wav,默认为 wav,目前只支持pcm和wav,
|
|
1726
|
+
"SampleRate": 16000, // Integer,非必填,音频采样率,默认为16000(16k),推荐值为16000
|
|
1727
|
+
"AudioChannel": 1, // Integer,非必填,音频通道数,取值:1 或 2 默认为1
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
具体协议规范:
|
|
1732
|
+
https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
|
|
1736
|
+
:type CustomTTSConfig: str
|
|
1596
1737
|
"""
|
|
1597
1738
|
self._SdkAppId = None
|
|
1598
1739
|
self._Callee = None
|
|
@@ -1611,6 +1752,9 @@ HoaiMy
|
|
|
1611
1752
|
self._InterruptSpeechDuration = None
|
|
1612
1753
|
self._EndFunctionEnable = None
|
|
1613
1754
|
self._EndFunctionDesc = None
|
|
1755
|
+
self._NotifyDuration = None
|
|
1756
|
+
self._NotifyMessage = None
|
|
1757
|
+
self._CustomTTSConfig = None
|
|
1614
1758
|
|
|
1615
1759
|
@property
|
|
1616
1760
|
def SdkAppId(self):
|
|
@@ -1748,6 +1892,30 @@ HoaiMy
|
|
|
1748
1892
|
def EndFunctionDesc(self, EndFunctionDesc):
|
|
1749
1893
|
self._EndFunctionDesc = EndFunctionDesc
|
|
1750
1894
|
|
|
1895
|
+
@property
|
|
1896
|
+
def NotifyDuration(self):
|
|
1897
|
+
return self._NotifyDuration
|
|
1898
|
+
|
|
1899
|
+
@NotifyDuration.setter
|
|
1900
|
+
def NotifyDuration(self, NotifyDuration):
|
|
1901
|
+
self._NotifyDuration = NotifyDuration
|
|
1902
|
+
|
|
1903
|
+
@property
|
|
1904
|
+
def NotifyMessage(self):
|
|
1905
|
+
return self._NotifyMessage
|
|
1906
|
+
|
|
1907
|
+
@NotifyMessage.setter
|
|
1908
|
+
def NotifyMessage(self, NotifyMessage):
|
|
1909
|
+
self._NotifyMessage = NotifyMessage
|
|
1910
|
+
|
|
1911
|
+
@property
|
|
1912
|
+
def CustomTTSConfig(self):
|
|
1913
|
+
return self._CustomTTSConfig
|
|
1914
|
+
|
|
1915
|
+
@CustomTTSConfig.setter
|
|
1916
|
+
def CustomTTSConfig(self, CustomTTSConfig):
|
|
1917
|
+
self._CustomTTSConfig = CustomTTSConfig
|
|
1918
|
+
|
|
1751
1919
|
|
|
1752
1920
|
def _deserialize(self, params):
|
|
1753
1921
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -1767,6 +1935,9 @@ HoaiMy
|
|
|
1767
1935
|
self._InterruptSpeechDuration = params.get("InterruptSpeechDuration")
|
|
1768
1936
|
self._EndFunctionEnable = params.get("EndFunctionEnable")
|
|
1769
1937
|
self._EndFunctionDesc = params.get("EndFunctionDesc")
|
|
1938
|
+
self._NotifyDuration = params.get("NotifyDuration")
|
|
1939
|
+
self._NotifyMessage = params.get("NotifyMessage")
|
|
1940
|
+
self._CustomTTSConfig = params.get("CustomTTSConfig")
|
|
1770
1941
|
memeber_set = set(params.keys())
|
|
1771
1942
|
for name, value in vars(self).items():
|
|
1772
1943
|
property_name = name[1:]
|
|
@@ -2115,7 +2286,7 @@ class CreateCCCSkillGroupRequest(AbstractModel):
|
|
|
2115
2286
|
|
|
2116
2287
|
def __init__(self):
|
|
2117
2288
|
r"""
|
|
2118
|
-
:param _SdkAppId: 应用 ID
|
|
2289
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
2119
2290
|
:type SdkAppId: int
|
|
2120
2291
|
:param _SkillGroupName: 技能组名称
|
|
2121
2292
|
:type SkillGroupName: str
|
|
@@ -2380,7 +2551,7 @@ class CreateCarrierPrivilegeNumberApplicantRequest(AbstractModel):
|
|
|
2380
2551
|
|
|
2381
2552
|
def __init__(self):
|
|
2382
2553
|
r"""
|
|
2383
|
-
:param _SdkAppId:
|
|
2554
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
2384
2555
|
:type SdkAppId: int
|
|
2385
2556
|
:param _Callers: 主叫号码,必须为实例中存在的号码,格式为0086xxxx(暂时只支持国内号码)
|
|
2386
2557
|
:type Callers: list of str
|
|
@@ -2558,7 +2729,7 @@ class CreateExtensionRequest(AbstractModel):
|
|
|
2558
2729
|
|
|
2559
2730
|
def __init__(self):
|
|
2560
2731
|
r"""
|
|
2561
|
-
:param _SdkAppId:
|
|
2732
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
2562
2733
|
:type SdkAppId: int
|
|
2563
2734
|
:param _ExtensionId: 分机号
|
|
2564
2735
|
:type ExtensionId: str
|
|
@@ -3305,7 +3476,6 @@ class CreateStaffResponse(AbstractModel):
|
|
|
3305
3476
|
def __init__(self):
|
|
3306
3477
|
r"""
|
|
3307
3478
|
:param _ErrorStaffList: 错误坐席列表及错误信息
|
|
3308
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3309
3479
|
:type ErrorStaffList: list of ErrStaffItem
|
|
3310
3480
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3311
3481
|
:type RequestId: str
|
|
@@ -3453,7 +3623,7 @@ class DeleteExtensionRequest(AbstractModel):
|
|
|
3453
3623
|
|
|
3454
3624
|
def __init__(self):
|
|
3455
3625
|
r"""
|
|
3456
|
-
:param _SdkAppId:
|
|
3626
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
3457
3627
|
:type SdkAppId: int
|
|
3458
3628
|
:param _ExtensionId: 分机号
|
|
3459
3629
|
:type ExtensionId: str
|
|
@@ -3639,7 +3809,6 @@ class DeleteStaffResponse(AbstractModel):
|
|
|
3639
3809
|
def __init__(self):
|
|
3640
3810
|
r"""
|
|
3641
3811
|
:param _OnlineStaffList: 无法删除的状态为在线的客服列表
|
|
3642
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3643
3812
|
:type OnlineStaffList: list of str
|
|
3644
3813
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3645
3814
|
:type RequestId: str
|
|
@@ -3676,7 +3845,7 @@ class DescribeActiveCarrierPrivilegeNumberRequest(AbstractModel):
|
|
|
3676
3845
|
|
|
3677
3846
|
def __init__(self):
|
|
3678
3847
|
r"""
|
|
3679
|
-
:param _SdkAppId:
|
|
3848
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
3680
3849
|
:type SdkAppId: int
|
|
3681
3850
|
:param _PageNumber: 默认0
|
|
3682
3851
|
:type PageNumber: int
|
|
@@ -4359,7 +4528,7 @@ class DescribeCarrierPrivilegeNumberApplicantsRequest(AbstractModel):
|
|
|
4359
4528
|
|
|
4360
4529
|
def __init__(self):
|
|
4361
4530
|
r"""
|
|
4362
|
-
:param _SdkAppId:
|
|
4531
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
4363
4532
|
:type SdkAppId: int
|
|
4364
4533
|
:param _PageNumber: 默认0,从0开始
|
|
4365
4534
|
:type PageNumber: int
|
|
@@ -4603,7 +4772,6 @@ class DescribeChatMessagesResponse(AbstractModel):
|
|
|
4603
4772
|
:param _TotalCount: 总记录数
|
|
4604
4773
|
:type TotalCount: int
|
|
4605
4774
|
:param _Messages: 消息列表
|
|
4606
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4607
4775
|
:type Messages: list of MessageBody
|
|
4608
4776
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4609
4777
|
:type RequestId: str
|
|
@@ -4737,7 +4905,6 @@ class DescribeCompanyListResponse(AbstractModel):
|
|
|
4737
4905
|
def __init__(self):
|
|
4738
4906
|
r"""
|
|
4739
4907
|
:param _TotalCount: 总数
|
|
4740
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4741
4908
|
:type TotalCount: int
|
|
4742
4909
|
:param _CompanyInfo: 企业资质审核信息
|
|
4743
4910
|
:type CompanyInfo: list of CompanyStateInfo
|
|
@@ -4791,7 +4958,7 @@ class DescribeExtensionRequest(AbstractModel):
|
|
|
4791
4958
|
|
|
4792
4959
|
def __init__(self):
|
|
4793
4960
|
r"""
|
|
4794
|
-
:param _SdkAppId:
|
|
4961
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
4795
4962
|
:type SdkAppId: int
|
|
4796
4963
|
:param _ExtensionId: 分机号
|
|
4797
4964
|
:type ExtensionId: str
|
|
@@ -4921,7 +5088,7 @@ class DescribeExtensionsRequest(AbstractModel):
|
|
|
4921
5088
|
|
|
4922
5089
|
def __init__(self):
|
|
4923
5090
|
r"""
|
|
4924
|
-
:param _SdkAppId:
|
|
5091
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
4925
5092
|
:type SdkAppId: int
|
|
4926
5093
|
:param _PageNumber: 分页页号(从0开始)
|
|
4927
5094
|
:type PageNumber: int
|
|
@@ -5164,7 +5331,6 @@ class DescribeIMCdrListResponse(AbstractModel):
|
|
|
5164
5331
|
:param _TotalCount: 总记录数
|
|
5165
5332
|
:type TotalCount: int
|
|
5166
5333
|
:param _IMCdrList: 服务记录列表
|
|
5167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5168
5334
|
:type IMCdrList: list of IMCdrInfo
|
|
5169
5335
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5170
5336
|
:type RequestId: str
|
|
@@ -5973,28 +6139,20 @@ class DescribePredictiveDialingCampaignsElement(AbstractModel):
|
|
|
5973
6139
|
def __init__(self):
|
|
5974
6140
|
r"""
|
|
5975
6141
|
:param _CampaignId: 任务 ID
|
|
5976
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5977
6142
|
:type CampaignId: int
|
|
5978
6143
|
:param _Name: 任务名称
|
|
5979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5980
6144
|
:type Name: str
|
|
5981
6145
|
:param _Status: 任务状态 0 待开始 1 进行中 2 已暂停 3 已终止 4 已完成
|
|
5982
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5983
6146
|
:type Status: int
|
|
5984
6147
|
:param _StatusReason: 任务状态原因 0 正常 1 手动结束 2 超时结束
|
|
5985
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5986
6148
|
:type StatusReason: int
|
|
5987
6149
|
:param _CalleeCount: 被叫号码个数
|
|
5988
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5989
6150
|
:type CalleeCount: int
|
|
5990
6151
|
:param _FinishedCalleeCount: 已完成的被叫个数
|
|
5991
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5992
6152
|
:type FinishedCalleeCount: int
|
|
5993
6153
|
:param _Priority: 相同应用内多个任务运行优先级,从高到底 1 - 5
|
|
5994
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5995
6154
|
:type Priority: int
|
|
5996
6155
|
:param _SkillGroupId: 使用的座席技能组 ID
|
|
5997
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5998
6156
|
:type SkillGroupId: int
|
|
5999
6157
|
"""
|
|
6000
6158
|
self._CampaignId = None
|
|
@@ -6179,10 +6337,8 @@ class DescribePredictiveDialingCampaignsResponse(AbstractModel):
|
|
|
6179
6337
|
def __init__(self):
|
|
6180
6338
|
r"""
|
|
6181
6339
|
:param _TotalCount: 数据总量
|
|
6182
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6183
6340
|
:type TotalCount: int
|
|
6184
6341
|
:param _CampaignList: 数据
|
|
6185
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6186
6342
|
:type CampaignList: list of DescribePredictiveDialingCampaignsElement
|
|
6187
6343
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6188
6344
|
:type RequestId: str
|
|
@@ -7296,6 +7452,94 @@ class DescribeTelCdrResponse(AbstractModel):
|
|
|
7296
7452
|
self._RequestId = params.get("RequestId")
|
|
7297
7453
|
|
|
7298
7454
|
|
|
7455
|
+
class DescribeTelRecordAsrRequest(AbstractModel):
|
|
7456
|
+
"""DescribeTelRecordAsr请求参数结构体
|
|
7457
|
+
|
|
7458
|
+
"""
|
|
7459
|
+
|
|
7460
|
+
def __init__(self):
|
|
7461
|
+
r"""
|
|
7462
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
7463
|
+
:type SdkAppId: int
|
|
7464
|
+
:param _SessionId: 会话 ID
|
|
7465
|
+
:type SessionId: str
|
|
7466
|
+
"""
|
|
7467
|
+
self._SdkAppId = None
|
|
7468
|
+
self._SessionId = None
|
|
7469
|
+
|
|
7470
|
+
@property
|
|
7471
|
+
def SdkAppId(self):
|
|
7472
|
+
return self._SdkAppId
|
|
7473
|
+
|
|
7474
|
+
@SdkAppId.setter
|
|
7475
|
+
def SdkAppId(self, SdkAppId):
|
|
7476
|
+
self._SdkAppId = SdkAppId
|
|
7477
|
+
|
|
7478
|
+
@property
|
|
7479
|
+
def SessionId(self):
|
|
7480
|
+
return self._SessionId
|
|
7481
|
+
|
|
7482
|
+
@SessionId.setter
|
|
7483
|
+
def SessionId(self, SessionId):
|
|
7484
|
+
self._SessionId = SessionId
|
|
7485
|
+
|
|
7486
|
+
|
|
7487
|
+
def _deserialize(self, params):
|
|
7488
|
+
self._SdkAppId = params.get("SdkAppId")
|
|
7489
|
+
self._SessionId = params.get("SessionId")
|
|
7490
|
+
memeber_set = set(params.keys())
|
|
7491
|
+
for name, value in vars(self).items():
|
|
7492
|
+
property_name = name[1:]
|
|
7493
|
+
if property_name in memeber_set:
|
|
7494
|
+
memeber_set.remove(property_name)
|
|
7495
|
+
if len(memeber_set) > 0:
|
|
7496
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7497
|
+
|
|
7498
|
+
|
|
7499
|
+
|
|
7500
|
+
class DescribeTelRecordAsrResponse(AbstractModel):
|
|
7501
|
+
"""DescribeTelRecordAsr返回参数结构体
|
|
7502
|
+
|
|
7503
|
+
"""
|
|
7504
|
+
|
|
7505
|
+
def __init__(self):
|
|
7506
|
+
r"""
|
|
7507
|
+
:param _AsrDataList: 录音转文本信息
|
|
7508
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7509
|
+
:type AsrDataList: list of AsrData
|
|
7510
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7511
|
+
:type RequestId: str
|
|
7512
|
+
"""
|
|
7513
|
+
self._AsrDataList = None
|
|
7514
|
+
self._RequestId = None
|
|
7515
|
+
|
|
7516
|
+
@property
|
|
7517
|
+
def AsrDataList(self):
|
|
7518
|
+
return self._AsrDataList
|
|
7519
|
+
|
|
7520
|
+
@AsrDataList.setter
|
|
7521
|
+
def AsrDataList(self, AsrDataList):
|
|
7522
|
+
self._AsrDataList = AsrDataList
|
|
7523
|
+
|
|
7524
|
+
@property
|
|
7525
|
+
def RequestId(self):
|
|
7526
|
+
return self._RequestId
|
|
7527
|
+
|
|
7528
|
+
@RequestId.setter
|
|
7529
|
+
def RequestId(self, RequestId):
|
|
7530
|
+
self._RequestId = RequestId
|
|
7531
|
+
|
|
7532
|
+
|
|
7533
|
+
def _deserialize(self, params):
|
|
7534
|
+
if params.get("AsrDataList") is not None:
|
|
7535
|
+
self._AsrDataList = []
|
|
7536
|
+
for item in params.get("AsrDataList"):
|
|
7537
|
+
obj = AsrData()
|
|
7538
|
+
obj._deserialize(item)
|
|
7539
|
+
self._AsrDataList.append(obj)
|
|
7540
|
+
self._RequestId = params.get("RequestId")
|
|
7541
|
+
|
|
7542
|
+
|
|
7299
7543
|
class DescribeTelSessionRequest(AbstractModel):
|
|
7300
7544
|
"""DescribeTelSession请求参数结构体
|
|
7301
7545
|
|
|
@@ -7724,7 +7968,7 @@ class HangUpCallRequest(AbstractModel):
|
|
|
7724
7968
|
|
|
7725
7969
|
def __init__(self):
|
|
7726
7970
|
r"""
|
|
7727
|
-
:param _SdkAppId:
|
|
7971
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
7728
7972
|
:type SdkAppId: int
|
|
7729
7973
|
:param _SessionId: 会话ID
|
|
7730
7974
|
:type SessionId: str
|
|
@@ -7818,13 +8062,10 @@ class IMCdrInfo(AbstractModel):
|
|
|
7818
8062
|
:param _Timestamp: 服务时间戳
|
|
7819
8063
|
:type Timestamp: int
|
|
7820
8064
|
:param _SessionId: 会话ID
|
|
7821
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7822
8065
|
:type SessionId: str
|
|
7823
8066
|
:param _SkillGroupId: 技能组ID
|
|
7824
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7825
8067
|
:type SkillGroupId: str
|
|
7826
8068
|
:param _SkillGroupName: 技能组名称
|
|
7827
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7828
8069
|
:type SkillGroupName: str
|
|
7829
8070
|
:param _Satisfaction: 满意度
|
|
7830
8071
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -7975,10 +8216,8 @@ class IMSatisfaction(AbstractModel):
|
|
|
7975
8216
|
def __init__(self):
|
|
7976
8217
|
r"""
|
|
7977
8218
|
:param _Id: 满意度值
|
|
7978
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7979
8219
|
:type Id: int
|
|
7980
8220
|
:param _Label: 满意度标签
|
|
7981
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7982
8221
|
:type Label: str
|
|
7983
8222
|
"""
|
|
7984
8223
|
self._Id = None
|
|
@@ -8021,15 +8260,25 @@ class IVRKeyPressedElement(AbstractModel):
|
|
|
8021
8260
|
|
|
8022
8261
|
def __init__(self):
|
|
8023
8262
|
r"""
|
|
8024
|
-
:param _Key:
|
|
8025
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8263
|
+
:param _Key: 命中的关键字或者按键
|
|
8026
8264
|
:type Key: str
|
|
8027
8265
|
:param _Label: 按键关联的标签
|
|
8028
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8029
8266
|
:type Label: str
|
|
8267
|
+
:param _Timestamp: Unix 毫秒时间戳
|
|
8268
|
+
:type Timestamp: int
|
|
8269
|
+
:param _NodeLabel: 节点标签
|
|
8270
|
+
:type NodeLabel: str
|
|
8271
|
+
:param _OriginalContent: 用户原始输入
|
|
8272
|
+
:type OriginalContent: str
|
|
8273
|
+
:param _TTSPrompt: TTS 提示音内容
|
|
8274
|
+
:type TTSPrompt: str
|
|
8030
8275
|
"""
|
|
8031
8276
|
self._Key = None
|
|
8032
8277
|
self._Label = None
|
|
8278
|
+
self._Timestamp = None
|
|
8279
|
+
self._NodeLabel = None
|
|
8280
|
+
self._OriginalContent = None
|
|
8281
|
+
self._TTSPrompt = None
|
|
8033
8282
|
|
|
8034
8283
|
@property
|
|
8035
8284
|
def Key(self):
|
|
@@ -8047,10 +8296,46 @@ class IVRKeyPressedElement(AbstractModel):
|
|
|
8047
8296
|
def Label(self, Label):
|
|
8048
8297
|
self._Label = Label
|
|
8049
8298
|
|
|
8299
|
+
@property
|
|
8300
|
+
def Timestamp(self):
|
|
8301
|
+
return self._Timestamp
|
|
8302
|
+
|
|
8303
|
+
@Timestamp.setter
|
|
8304
|
+
def Timestamp(self, Timestamp):
|
|
8305
|
+
self._Timestamp = Timestamp
|
|
8306
|
+
|
|
8307
|
+
@property
|
|
8308
|
+
def NodeLabel(self):
|
|
8309
|
+
return self._NodeLabel
|
|
8310
|
+
|
|
8311
|
+
@NodeLabel.setter
|
|
8312
|
+
def NodeLabel(self, NodeLabel):
|
|
8313
|
+
self._NodeLabel = NodeLabel
|
|
8314
|
+
|
|
8315
|
+
@property
|
|
8316
|
+
def OriginalContent(self):
|
|
8317
|
+
return self._OriginalContent
|
|
8318
|
+
|
|
8319
|
+
@OriginalContent.setter
|
|
8320
|
+
def OriginalContent(self, OriginalContent):
|
|
8321
|
+
self._OriginalContent = OriginalContent
|
|
8322
|
+
|
|
8323
|
+
@property
|
|
8324
|
+
def TTSPrompt(self):
|
|
8325
|
+
return self._TTSPrompt
|
|
8326
|
+
|
|
8327
|
+
@TTSPrompt.setter
|
|
8328
|
+
def TTSPrompt(self, TTSPrompt):
|
|
8329
|
+
self._TTSPrompt = TTSPrompt
|
|
8330
|
+
|
|
8050
8331
|
|
|
8051
8332
|
def _deserialize(self, params):
|
|
8052
8333
|
self._Key = params.get("Key")
|
|
8053
8334
|
self._Label = params.get("Label")
|
|
8335
|
+
self._Timestamp = params.get("Timestamp")
|
|
8336
|
+
self._NodeLabel = params.get("NodeLabel")
|
|
8337
|
+
self._OriginalContent = params.get("OriginalContent")
|
|
8338
|
+
self._TTSPrompt = params.get("TTSPrompt")
|
|
8054
8339
|
memeber_set = set(params.keys())
|
|
8055
8340
|
for name, value in vars(self).items():
|
|
8056
8341
|
property_name = name[1:]
|
|
@@ -8247,7 +8532,7 @@ class ModifyExtensionRequest(AbstractModel):
|
|
|
8247
8532
|
|
|
8248
8533
|
def __init__(self):
|
|
8249
8534
|
r"""
|
|
8250
|
-
:param _SdkAppId:
|
|
8535
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
8251
8536
|
:type SdkAppId: int
|
|
8252
8537
|
:param _ExtensionId: 分机号
|
|
8253
8538
|
:type ExtensionId: str
|
|
@@ -8534,7 +8819,7 @@ class ModifyStaffRequest(AbstractModel):
|
|
|
8534
8819
|
|
|
8535
8820
|
def __init__(self):
|
|
8536
8821
|
r"""
|
|
8537
|
-
:param _SdkAppId: 应用ID
|
|
8822
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
8538
8823
|
:type SdkAppId: int
|
|
8539
8824
|
:param _Email: 座席账户
|
|
8540
8825
|
:type Email: str
|
|
@@ -8753,11 +9038,14 @@ class OwnNumberApplyDetailItem(AbstractModel):
|
|
|
8753
9038
|
:type MaxCallCount: int
|
|
8754
9039
|
:param _MaxCallPSec: 每秒最大并发数
|
|
8755
9040
|
:type MaxCallPSec: int
|
|
9041
|
+
:param _OutboundCalleeFormat: 呼出被叫格式,使用 {+E.164} 或 {E.164},
|
|
9042
|
+
:type OutboundCalleeFormat: str
|
|
8756
9043
|
"""
|
|
8757
9044
|
self._CallType = None
|
|
8758
9045
|
self._PhoneNumber = None
|
|
8759
9046
|
self._MaxCallCount = None
|
|
8760
9047
|
self._MaxCallPSec = None
|
|
9048
|
+
self._OutboundCalleeFormat = None
|
|
8761
9049
|
|
|
8762
9050
|
@property
|
|
8763
9051
|
def CallType(self):
|
|
@@ -8791,12 +9079,21 @@ class OwnNumberApplyDetailItem(AbstractModel):
|
|
|
8791
9079
|
def MaxCallPSec(self, MaxCallPSec):
|
|
8792
9080
|
self._MaxCallPSec = MaxCallPSec
|
|
8793
9081
|
|
|
9082
|
+
@property
|
|
9083
|
+
def OutboundCalleeFormat(self):
|
|
9084
|
+
return self._OutboundCalleeFormat
|
|
9085
|
+
|
|
9086
|
+
@OutboundCalleeFormat.setter
|
|
9087
|
+
def OutboundCalleeFormat(self, OutboundCalleeFormat):
|
|
9088
|
+
self._OutboundCalleeFormat = OutboundCalleeFormat
|
|
9089
|
+
|
|
8794
9090
|
|
|
8795
9091
|
def _deserialize(self, params):
|
|
8796
9092
|
self._CallType = params.get("CallType")
|
|
8797
9093
|
self._PhoneNumber = params.get("PhoneNumber")
|
|
8798
9094
|
self._MaxCallCount = params.get("MaxCallCount")
|
|
8799
9095
|
self._MaxCallPSec = params.get("MaxCallPSec")
|
|
9096
|
+
self._OutboundCalleeFormat = params.get("OutboundCalleeFormat")
|
|
8800
9097
|
memeber_set = set(params.keys())
|
|
8801
9098
|
for name, value in vars(self).items():
|
|
8802
9099
|
property_name = name[1:]
|
|
@@ -9452,7 +9749,7 @@ class ResetExtensionPasswordRequest(AbstractModel):
|
|
|
9452
9749
|
|
|
9453
9750
|
def __init__(self):
|
|
9454
9751
|
r"""
|
|
9455
|
-
:param _SdkAppId:
|
|
9752
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
9456
9753
|
:type SdkAppId: int
|
|
9457
9754
|
:param _ExtensionId: 分机号
|
|
9458
9755
|
:type ExtensionId: str
|
|
@@ -9615,7 +9912,6 @@ class SdkAppIdBuyInfo(AbstractModel):
|
|
|
9615
9912
|
:param _PhoneNumBuyList: 号码购买列表
|
|
9616
9913
|
:type PhoneNumBuyList: list of PhoneNumBuyInfo
|
|
9617
9914
|
:param _SipBuyNum: 办公电话购买数(还在有效期内)
|
|
9618
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9619
9915
|
:type SipBuyNum: int
|
|
9620
9916
|
"""
|
|
9621
9917
|
self._SdkAppId = None
|
|
@@ -9713,7 +10009,6 @@ class SeatUserInfo(AbstractModel):
|
|
|
9713
10009
|
:param _Mail: 座席邮箱
|
|
9714
10010
|
:type Mail: str
|
|
9715
10011
|
:param _StaffNumber: 工号
|
|
9716
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9717
10012
|
:type StaffNumber: str
|
|
9718
10013
|
:param _Phone: 座席电话号码(带0086前缀)
|
|
9719
10014
|
:type Phone: str
|
|
@@ -9722,13 +10017,11 @@ class SeatUserInfo(AbstractModel):
|
|
|
9722
10017
|
:param _UserId: 用户ID
|
|
9723
10018
|
:type UserId: str
|
|
9724
10019
|
:param _SkillGroupNameList: 座席关联的技能组列表
|
|
9725
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9726
10020
|
:type SkillGroupNameList: list of str
|
|
9727
10021
|
:param _Role: 1:管理员
|
|
9728
10022
|
2:质检员
|
|
9729
10023
|
3:普通座席
|
|
9730
10024
|
else:自定义角色ID
|
|
9731
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9732
10025
|
:type Role: int
|
|
9733
10026
|
"""
|
|
9734
10027
|
self._Name = None
|
|
@@ -9832,58 +10125,40 @@ class ServeParticipant(AbstractModel):
|
|
|
9832
10125
|
def __init__(self):
|
|
9833
10126
|
r"""
|
|
9834
10127
|
:param _Mail: 座席邮箱
|
|
9835
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9836
10128
|
:type Mail: str
|
|
9837
10129
|
:param _Phone: 座席电话
|
|
9838
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9839
10130
|
:type Phone: str
|
|
9840
10131
|
:param _RingTimestamp: 振铃时间戳,Unix 秒级时间戳
|
|
9841
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9842
10132
|
:type RingTimestamp: int
|
|
9843
10133
|
:param _AcceptTimestamp: 接听时间戳,Unix 秒级时间戳
|
|
9844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9845
10134
|
:type AcceptTimestamp: int
|
|
9846
10135
|
:param _EndedTimestamp: 结束时间戳,Unix 秒级时间戳
|
|
9847
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9848
10136
|
:type EndedTimestamp: int
|
|
9849
10137
|
:param _RecordId: 录音 ID,能够索引到座席侧的录音
|
|
9850
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9851
10138
|
:type RecordId: str
|
|
9852
10139
|
:param _Type: 参与者类型,"staffSeat", "outboundSeat", "staffPhoneSeat"
|
|
9853
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9854
10140
|
:type Type: str
|
|
9855
10141
|
:param _TransferFrom: 转接来源座席信息
|
|
9856
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9857
10142
|
:type TransferFrom: str
|
|
9858
10143
|
:param _TransferFromType: 转接来源参与者类型,取值与 Type 一致
|
|
9859
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9860
10144
|
:type TransferFromType: str
|
|
9861
10145
|
:param _TransferTo: 转接去向座席信息
|
|
9862
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9863
10146
|
:type TransferTo: str
|
|
9864
10147
|
:param _TransferToType: 转接去向参与者类型,取值与 Type 一致
|
|
9865
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9866
10148
|
:type TransferToType: str
|
|
9867
10149
|
:param _SkillGroupId: 技能组 ID
|
|
9868
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9869
10150
|
:type SkillGroupId: int
|
|
9870
10151
|
:param _EndStatusString: 结束状态
|
|
9871
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9872
10152
|
:type EndStatusString: str
|
|
9873
10153
|
:param _RecordURL: 录音 URL
|
|
9874
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9875
10154
|
:type RecordURL: str
|
|
9876
10155
|
:param _Sequence: 参与者序号,从 0 开始
|
|
9877
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9878
10156
|
:type Sequence: int
|
|
9879
10157
|
:param _StartTimestamp: 开始时间戳,Unix 秒级时间戳
|
|
9880
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9881
10158
|
:type StartTimestamp: int
|
|
9882
10159
|
:param _SkillGroupName: 技能组名称
|
|
9883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9884
10160
|
:type SkillGroupName: str
|
|
9885
10161
|
:param _CustomRecordURL: 录音转存第三方COS地址
|
|
9886
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9887
10162
|
:type CustomRecordURL: str
|
|
9888
10163
|
"""
|
|
9889
10164
|
self._Mail = None
|
|
@@ -10093,22 +10368,16 @@ class SkillGroupInfoItem(AbstractModel):
|
|
|
10093
10368
|
:param _Type: (废弃)类型:IM、TEL、ALL(全媒体)
|
|
10094
10369
|
:type Type: str
|
|
10095
10370
|
:param _RoutePolicy: 会话分配策略
|
|
10096
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10097
10371
|
:type RoutePolicy: str
|
|
10098
10372
|
:param _UsingLastSeat: 会话分配是否优先上次服务座席
|
|
10099
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10100
10373
|
:type UsingLastSeat: int
|
|
10101
10374
|
:param _MaxConcurrency: 单客服最大并发数(电话类型默认1)
|
|
10102
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10103
10375
|
:type MaxConcurrency: int
|
|
10104
10376
|
:param _LastModifyTimestamp: 最后修改时间
|
|
10105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10106
10377
|
:type LastModifyTimestamp: int
|
|
10107
10378
|
:param _SkillGroupType: 技能组类型0-电话,1-在线,3-音频,4-视频
|
|
10108
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10109
10379
|
:type SkillGroupType: int
|
|
10110
10380
|
:param _Alias: 技能组内线号码
|
|
10111
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10112
10381
|
:type Alias: str
|
|
10113
10382
|
"""
|
|
10114
10383
|
self._SkillGroupId = None
|
|
@@ -10297,7 +10566,6 @@ class StaffBuyInfo(AbstractModel):
|
|
|
10297
10566
|
:param _EndTime: 截止时间戳
|
|
10298
10567
|
:type EndTime: int
|
|
10299
10568
|
:param _SipNum: 购买办公电话数量
|
|
10300
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10301
10569
|
:type SipNum: int
|
|
10302
10570
|
"""
|
|
10303
10571
|
self._Num = None
|
|
@@ -10361,26 +10629,20 @@ class StaffInfo(AbstractModel):
|
|
|
10361
10629
|
def __init__(self):
|
|
10362
10630
|
r"""
|
|
10363
10631
|
:param _Name: 座席名称
|
|
10364
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10365
10632
|
:type Name: str
|
|
10366
10633
|
:param _Mail: 座席邮箱
|
|
10367
10634
|
:type Mail: str
|
|
10368
10635
|
:param _Phone: 座席电话号码
|
|
10369
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10370
10636
|
:type Phone: str
|
|
10371
10637
|
:param _Nick: 座席昵称
|
|
10372
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10373
10638
|
:type Nick: str
|
|
10374
10639
|
:param _StaffNumber: 座席工号
|
|
10375
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10376
10640
|
:type StaffNumber: str
|
|
10377
10641
|
:param _RoleId: 用户角色id
|
|
10378
10642
|
:type RoleId: int
|
|
10379
10643
|
:param _SkillGroupList: 所属技能组列表
|
|
10380
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10381
10644
|
:type SkillGroupList: list of SkillGroupItem
|
|
10382
10645
|
:param _LastModifyTimestamp: 最后修改时间
|
|
10383
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10384
10646
|
:type LastModifyTimestamp: int
|
|
10385
10647
|
"""
|
|
10386
10648
|
self._Name = None
|
|
@@ -10795,7 +11057,7 @@ class StopAutoCalloutTaskRequest(AbstractModel):
|
|
|
10795
11057
|
|
|
10796
11058
|
def __init__(self):
|
|
10797
11059
|
r"""
|
|
10798
|
-
:param _SdkAppId:
|
|
11060
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
10799
11061
|
:type SdkAppId: int
|
|
10800
11062
|
:param _TaskId: 任务Id
|
|
10801
11063
|
:type TaskId: int
|
|
@@ -10878,7 +11140,6 @@ class TelCdrInfo(AbstractModel):
|
|
|
10878
11140
|
:param _RecordURL: 录音信息
|
|
10879
11141
|
:type RecordURL: str
|
|
10880
11142
|
:param _RecordId: 录音 ID
|
|
10881
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10882
11143
|
:type RecordId: str
|
|
10883
11144
|
:param _SeatUser: 座席信息
|
|
10884
11145
|
:type SeatUser: :class:`tencentcloud.ccc.v20200210.models.SeatUserInfo`
|
|
@@ -10942,28 +11203,20 @@ class TelCdrInfo(AbstractModel):
|
|
|
10942
11203
|
:param _CallerLocation: 主叫归属地
|
|
10943
11204
|
:type CallerLocation: str
|
|
10944
11205
|
:param _IVRDuration: IVR 阶段耗时
|
|
10945
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10946
11206
|
:type IVRDuration: int
|
|
10947
11207
|
:param _RingTimestamp: 振铃时间戳,UNIX 秒级时间戳
|
|
10948
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10949
11208
|
:type RingTimestamp: int
|
|
10950
11209
|
:param _AcceptTimestamp: 接听时间戳,UNIX 秒级时间戳
|
|
10951
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10952
11210
|
:type AcceptTimestamp: int
|
|
10953
11211
|
:param _EndedTimestamp: 结束时间戳,UNIX 秒级时间戳
|
|
10954
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10955
11212
|
:type EndedTimestamp: int
|
|
10956
11213
|
:param _IVRKeyPressed: IVR 按键信息 ,e.g. ["1","2","3"]
|
|
10957
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10958
11214
|
:type IVRKeyPressed: list of str
|
|
10959
11215
|
:param _HungUpSide: 挂机方 seat 座席 user 用户 system 系统
|
|
10960
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10961
11216
|
:type HungUpSide: str
|
|
10962
11217
|
:param _ServeParticipants: 服务参与者列表
|
|
10963
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10964
11218
|
:type ServeParticipants: list of ServeParticipant
|
|
10965
11219
|
:param _SkillGroupId: 技能组ID
|
|
10966
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10967
11220
|
:type SkillGroupId: int
|
|
10968
11221
|
:param _EndStatusString: EndStatus与EndStatusString一一对应,具体枚举如下:
|
|
10969
11222
|
|
|
@@ -11019,40 +11272,29 @@ class TelCdrInfo(AbstractModel):
|
|
|
11019
11272
|
|
|
11020
11273
|
电话呼入&呼出 211 clientError 客户端错误
|
|
11021
11274
|
|
|
11022
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11023
11275
|
:type EndStatusString: str
|
|
11024
11276
|
:param _StartTimestamp: 会话开始时间戳,UNIX 秒级时间戳
|
|
11025
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11026
11277
|
:type StartTimestamp: int
|
|
11027
11278
|
:param _QueuedTimestamp: 进入排队时间,Unix 秒级时间戳
|
|
11028
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11029
11279
|
:type QueuedTimestamp: int
|
|
11030
11280
|
:param _PostIVRKeyPressed: 后置IVR按键信息(e.g. [{"Key":"1","Label":"非常满意"}])
|
|
11031
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11032
11281
|
:type PostIVRKeyPressed: list of IVRKeyPressedElement
|
|
11033
11282
|
:param _QueuedSkillGroupId: 排队技能组Id
|
|
11034
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11035
11283
|
:type QueuedSkillGroupId: int
|
|
11036
11284
|
:param _SessionId: 会话 ID
|
|
11037
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11038
11285
|
:type SessionId: str
|
|
11039
11286
|
:param _ProtectedCaller: 主叫号码保护ID,开启号码保护映射功能时有效,且Caller字段置空
|
|
11040
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11041
11287
|
:type ProtectedCaller: str
|
|
11042
11288
|
:param _ProtectedCallee: 被叫号码保护ID,开启号码保护映射功能时有效,且Callee字段置空
|
|
11043
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11044
11289
|
:type ProtectedCallee: str
|
|
11045
11290
|
:param _Uui: 客户自定义数据(User-to-User Interface)
|
|
11046
11291
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11047
11292
|
:type Uui: str
|
|
11048
11293
|
:param _UUI: 客户自定义数据(User-to-User Interface)
|
|
11049
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11050
11294
|
:type UUI: str
|
|
11051
11295
|
:param _IVRKeyPressedEx: IVR按键信息(e.g. [{"Key":"1","Label":"非常满意"}])
|
|
11052
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11053
11296
|
:type IVRKeyPressedEx: list of IVRKeyPressedElement
|
|
11054
11297
|
:param _AsrUrl: 获取录音ASR文本信息地址
|
|
11055
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11056
11298
|
:type AsrUrl: str
|
|
11057
11299
|
:param _AsrStatus: AsrUrl的状态:Complete
|
|
11058
11300
|
已完成;
|
|
@@ -11060,22 +11302,16 @@ Processing
|
|
|
11060
11302
|
正在生成中;
|
|
11061
11303
|
NotExists
|
|
11062
11304
|
无记录(未开启生成离线asr或者无套餐包)
|
|
11063
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11064
11305
|
:type AsrStatus: str
|
|
11065
11306
|
:param _CustomRecordURL: 录音转存第三方COS地址
|
|
11066
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11067
11307
|
:type CustomRecordURL: str
|
|
11068
11308
|
:param _Remark: 备注
|
|
11069
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11070
11309
|
:type Remark: str
|
|
11071
11310
|
:param _QueuedSkillGroupName: 排队技能组名称
|
|
11072
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11073
11311
|
:type QueuedSkillGroupName: str
|
|
11074
11312
|
:param _VoicemailRecordURL: 通话中语音留言录音URL
|
|
11075
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11076
11313
|
:type VoicemailRecordURL: list of str
|
|
11077
11314
|
:param _VoicemailAsrURL: 通话中语音留言ASR文本信息地址
|
|
11078
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11079
11315
|
:type VoicemailAsrURL: list of str
|
|
11080
11316
|
"""
|
|
11081
11317
|
self._Caller = None
|
|
@@ -11653,7 +11889,7 @@ class UpdateCCCSkillGroupRequest(AbstractModel):
|
|
|
11653
11889
|
|
|
11654
11890
|
def __init__(self):
|
|
11655
11891
|
r"""
|
|
11656
|
-
:param _SdkAppId: 应用 ID
|
|
11892
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
11657
11893
|
:type SdkAppId: int
|
|
11658
11894
|
:param _SkillGroupID: 技能组ID
|
|
11659
11895
|
:type SkillGroupID: int
|
|
@@ -12116,10 +12352,8 @@ class UploadIvrAudioResponse(AbstractModel):
|
|
|
12116
12352
|
def __init__(self):
|
|
12117
12353
|
r"""
|
|
12118
12354
|
:param _FailedFileList: 上传失败的文件列表
|
|
12119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12120
12355
|
:type FailedFileList: list of UploadIvrAudioFailedInfo
|
|
12121
12356
|
:param _SuccessFileList: 上传成功文件列表
|
|
12122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12123
12357
|
:type SuccessFileList: list of AudioFileInfo
|
|
12124
12358
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12125
12359
|
:type RequestId: str
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1259
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1245
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|