tencentcloud-sdk-python-intl-en 3.0.1227__py2.py3-none-any.whl → 3.0.1229__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1227'
16
+ __version__ = '3.0.1229'
@@ -121,7 +121,7 @@ class CccClient(AbstractClient):
121
121
  def CreateAIAgentCall(self, request):
122
122
  """This API is used to initiate outbound calls using an AI model, limited to owned phone numbers only. Currently, a limited-time free trial of Advanced Agents is available.
123
123
 
124
- Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://intl.cloud.tencent.com/document/product/679/112100?from_cn_redirect=1).
124
+ Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://www.tencentcloud.com/document/product/1229/70681).
125
125
 
126
126
  :param request: Request instance for CreateAIAgentCall.
127
127
  :type request: :class:`tencentcloud.ccc.v20200210.models.CreateAIAgentCallRequest`
@@ -261,7 +261,11 @@ class CccClient(AbstractClient):
261
261
 
262
262
 
263
263
  def CreateCallOutSession(self, request):
264
- """This API is used to create outbound sessions. Currently, only dual call is supported. That is, firstly, please use the platform number to call the agent's cell phone. After the agent answers, then please make outbound calls to the user. Due to ISP frequency restrictions, the agent's phone number must first be added to the allowlist to avoid frequency control which may lead to the failure of the outbound call.
264
+ """This API is used to create an outbound call session. Currently, only dual calls are supported. That is, first use the platform number to call the agent mobile phone. After the agent answers, then make an outbound call to the user. Moreover, due to ISP frequency restrictions, the agent phone number must be added to the allowlist first to avoid frequency control leading to the failure of the outbound call. Therefore, before calling this API, the following operations have been completed.
265
+ 1. The agent specified by UserId has already bound the mobile number. https://intl.cloud.tencent.com/document/product/679/76067?from_cn_redirect=1#.E6.AD.A5.E9.AA.A42.EF.BC.9A.E5.AE.8C.E5.96.84.E8.B4.A6.E5.8F.B7.E4.BF.A1.E6.81.AF.
266
+ 2. The agent's bound mobile number has applied for and passed the outbound call allowlist.
267
+ This API is used to make calls. Currently, the agent side can only call the user's mobile phone, so the IsForceMobile field must be true.
268
+ 4. Do not fill in the mobile number bound to the current UserId for the callee, otherwise it can lead to call failure due to a busy line.
265
269
 
266
270
  :param request: Request instance for CreateCallOutSession.
267
271
  :type request: :class:`tencentcloud.ccc.v20200210.models.CreateCallOutSessionRequest`
@@ -421,6 +425,29 @@ class CccClient(AbstractClient):
421
425
  raise TencentCloudSDKException(type(e).__name__, str(e))
422
426
 
423
427
 
428
+ def DeleteCCCSkillGroup(self, request):
429
+ """This API is used to delete a skill group.
430
+
431
+ :param request: Request instance for DeleteCCCSkillGroup.
432
+ :type request: :class:`tencentcloud.ccc.v20200210.models.DeleteCCCSkillGroupRequest`
433
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.DeleteCCCSkillGroupResponse`
434
+
435
+ """
436
+ try:
437
+ params = request._serialize()
438
+ headers = request.headers
439
+ body = self.call("DeleteCCCSkillGroup", params, headers=headers)
440
+ response = json.loads(body)
441
+ model = models.DeleteCCCSkillGroupResponse()
442
+ model._deserialize(response["Response"])
443
+ return model
444
+ except Exception as e:
445
+ if isinstance(e, TencentCloudSDKException):
446
+ raise
447
+ else:
448
+ raise TencentCloudSDKException(type(e).__name__, str(e))
449
+
450
+
424
451
  def DeleteExtension(self, request):
425
452
  """This API is used to delete telephone accounts.
426
453
 
@@ -513,6 +540,29 @@ class CccClient(AbstractClient):
513
540
  raise TencentCloudSDKException(type(e).__name__, str(e))
514
541
 
515
542
 
543
+ def DescribeAILatency(self, request):
544
+ """This API is used to obtain AI latency information.
545
+
546
+ :param request: Request instance for DescribeAILatency.
547
+ :type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAILatencyRequest`
548
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeAILatencyResponse`
549
+
550
+ """
551
+ try:
552
+ params = request._serialize()
553
+ headers = request.headers
554
+ body = self.call("DescribeAILatency", params, headers=headers)
555
+ response = json.loads(body)
556
+ model = models.DescribeAILatencyResponse()
557
+ model._deserialize(response["Response"])
558
+ return model
559
+ except Exception as e:
560
+ if isinstance(e, TencentCloudSDKException):
561
+ raise
562
+ else:
563
+ raise TencentCloudSDKException(type(e).__name__, str(e))
564
+
565
+
516
566
  def DescribeAgentCruiseDialingCampaign(self, request):
517
567
  """Query Agent Cruise-style Outbound Call Task
518
568
 
@@ -1019,6 +1069,29 @@ class CccClient(AbstractClient):
1019
1069
  raise TencentCloudSDKException(type(e).__name__, str(e))
1020
1070
 
1021
1071
 
1072
+ def ForceMemberOffline(self, request):
1073
+ """This API is used to force customer service to go offline.
1074
+
1075
+ :param request: Request instance for ForceMemberOffline.
1076
+ :type request: :class:`tencentcloud.ccc.v20200210.models.ForceMemberOfflineRequest`
1077
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.ForceMemberOfflineResponse`
1078
+
1079
+ """
1080
+ try:
1081
+ params = request._serialize()
1082
+ headers = request.headers
1083
+ body = self.call("ForceMemberOffline", params, headers=headers)
1084
+ response = json.loads(body)
1085
+ model = models.ForceMemberOfflineResponse()
1086
+ model._deserialize(response["Response"])
1087
+ return model
1088
+ except Exception as e:
1089
+ if isinstance(e, TencentCloudSDKException):
1090
+ raise
1091
+ else:
1092
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1093
+
1094
+
1022
1095
  def HangUpCall(self, request):
1023
1096
  """This API is used to hang up the phone.
1024
1097
 
@@ -1180,6 +1253,29 @@ class CccClient(AbstractClient):
1180
1253
  raise TencentCloudSDKException(type(e).__name__, str(e))
1181
1254
 
1182
1255
 
1256
+ def RestoreMemberOnline(self, request):
1257
+ """This API is used to restore customer service to go live.
1258
+
1259
+ :param request: Request instance for RestoreMemberOnline.
1260
+ :type request: :class:`tencentcloud.ccc.v20200210.models.RestoreMemberOnlineRequest`
1261
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.RestoreMemberOnlineResponse`
1262
+
1263
+ """
1264
+ try:
1265
+ params = request._serialize()
1266
+ headers = request.headers
1267
+ body = self.call("RestoreMemberOnline", params, headers=headers)
1268
+ response = json.loads(body)
1269
+ model = models.RestoreMemberOnlineResponse()
1270
+ model._deserialize(response["Response"])
1271
+ return model
1272
+ except Exception as e:
1273
+ if isinstance(e, TencentCloudSDKException):
1274
+ raise
1275
+ else:
1276
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1277
+
1278
+
1183
1279
  def ResumePredictiveDialingCampaign(self, request):
1184
1280
  """This API is used to resume the predictive outbound call task.
1185
1281
 
@@ -1226,6 +1322,29 @@ class CccClient(AbstractClient):
1226
1322
  raise TencentCloudSDKException(type(e).__name__, str(e))
1227
1323
 
1228
1324
 
1325
+ def TransferToManual(self, request):
1326
+ """This API is used to transfer a session to an agent in specific scenarios.
1327
+
1328
+ :param request: Request instance for TransferToManual.
1329
+ :type request: :class:`tencentcloud.ccc.v20200210.models.TransferToManualRequest`
1330
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.TransferToManualResponse`
1331
+
1332
+ """
1333
+ try:
1334
+ params = request._serialize()
1335
+ headers = request.headers
1336
+ body = self.call("TransferToManual", params, headers=headers)
1337
+ response = json.loads(body)
1338
+ model = models.TransferToManualResponse()
1339
+ model._deserialize(response["Response"])
1340
+ return model
1341
+ except Exception as e:
1342
+ if isinstance(e, TencentCloudSDKException):
1343
+ raise
1344
+ else:
1345
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1346
+
1347
+
1229
1348
  def UnbindNumberCallOutSkillGroup(self, request):
1230
1349
  """This API is used to unbind the number from the outbound call skill group.
1231
1350
 
@@ -14,10 +14,10 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- #
17
+ # No available AI concurrency licenses. please proceed to purchase on the console.
18
18
  FAILEDOPERATION_AICONCURRENTNOPACKAGE = 'FailedOperation.AIConcurrentNoPackage'
19
19
 
20
- #
20
+ # AI concurrent overfrequency.
21
21
  FAILEDOPERATION_AICONCURRENTOVERFREQUENCY = 'FailedOperation.AIConcurrentOverFrequency'
22
22
 
23
23
  # Outbound call failure.
@@ -59,6 +59,9 @@ FAILEDOPERATION_PERMISSIONDENIED = 'FailedOperation.PermissionDenied'
59
59
  # Agent is busy.
60
60
  FAILEDOPERATION_SEATSTATUSBUSY = 'FailedOperation.SeatStatusBusy'
61
61
 
62
+ # Session does not exist.
63
+ FAILEDOPERATION_SESSIONNOTEXISTS = 'FailedOperation.SessionNotExists'
64
+
62
65
  # Number of uploaded files exceeds the limit.
63
66
  FAILEDOPERATION_UPLOADFILEOVERFLOW = 'FailedOperation.UploadFileOverflow'
64
67
 
@@ -125,7 +128,7 @@ INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = 'InvalidParameterValue.ApplyIDNotExist'
125
128
  # Error in the status of the review form.
126
129
  INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = 'InvalidParameterValue.ErrorApplyStatus'
127
130
 
128
- #
131
+ # The intelligent agent of the use experience account does not support this operation.
129
132
  INVALIDPARAMETERVALUE_EXPERIENCEACCOUNT = 'InvalidParameterValue.ExperienceAccount'
130
133
 
131
134
  # The SDKAppID does not exist.
@@ -137,6 +140,9 @@ INVALIDPARAMETERVALUE_PHONENUMINVALID = 'InvalidParameterValue.PhoneNumInvalid'
137
140
  # The number has been bound to another account.
138
141
  INVALIDPARAMETERVALUE_PHONENUMISBOUNDOTHERACCOUNT = 'InvalidParameterValue.PhoneNumIsBoundOtherAccount'
139
142
 
143
+ # The number of users in the skill group with simultaneous ringing exceeds the upper limit by 2. please confirm and modify.
144
+ INVALIDPARAMETERVALUE_RINGALLGROUPMEMBEROVERFLOW = 'InvalidParameterValue.RingAllGroupMemberOverflow'
145
+
140
146
  # Skill group error.
141
147
  INVALIDPARAMETERVALUE_SKILLGROUPERROR = 'InvalidParameterValue.SkillGroupError'
142
148
 
@@ -167,6 +173,9 @@ OPERATIONDENIED_UINDISABLED = 'OperationDenied.UinDisabled'
167
173
  # The resource does not exist.
168
174
  RESOURCENOTFOUND = 'ResourceNotFound'
169
175
 
176
+ # Resources are unavailable.
177
+ RESOURCEUNAVAILABLE = 'ResourceUnavailable'
178
+
170
179
  # Unknown parameter error.
171
180
  UNKNOWNPARAMETER = 'UnknownParameter'
172
181