tencentcloud-sdk-python-intl-en 3.0.1134__py2.py3-none-any.whl → 3.0.1135__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 +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +124 -7
- tencentcloud/ccc/v20200210/errorcodes.py +27 -9
- tencentcloud/ccc/v20200210/models.py +2324 -1173
- tencentcloud/intlpartnersmgt/v20220928/models.py +2 -2
- {tencentcloud_sdk_python_intl_en-3.0.1134.dist-info → tencentcloud_sdk_python_intl_en-3.0.1135.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1134.dist-info → tencentcloud_sdk_python_intl_en-3.0.1135.dist-info}/RECORD +9 -9
- {tencentcloud_sdk_python_intl_en-3.0.1134.dist-info → tencentcloud_sdk_python_intl_en-3.0.1135.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1134.dist-info → tencentcloud_sdk_python_intl_en-3.0.1135.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -27,7 +27,7 @@ class CccClient(AbstractClient):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def AbortAgentCruiseDialingCampaign(self, request):
|
|
30
|
-
"""
|
|
30
|
+
"""Stop Agent Cruise-style Outbound Call Task
|
|
31
31
|
|
|
32
32
|
:param request: Request instance for AbortAgentCruiseDialingCampaign.
|
|
33
33
|
:type request: :class:`tencentcloud.ccc.v20200210.models.AbortAgentCruiseDialingCampaignRequest`
|
|
@@ -50,7 +50,7 @@ class CccClient(AbstractClient):
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def AbortPredictiveDialingCampaign(self, request):
|
|
53
|
-
"""This API is used to pause predictive
|
|
53
|
+
"""This API is used to pause the predictive outbound call task.
|
|
54
54
|
|
|
55
55
|
:param request: Request instance for AbortPredictiveDialingCampaign.
|
|
56
56
|
:type request: :class:`tencentcloud.ccc.v20200210.models.AbortPredictiveDialingCampaignRequest`
|
|
@@ -73,7 +73,7 @@ class CccClient(AbstractClient):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def BindNumberCallOutSkillGroup(self, request):
|
|
76
|
-
"""This API is used to
|
|
76
|
+
"""This API is used to bind outbound skill group of number.
|
|
77
77
|
|
|
78
78
|
:param request: Request instance for BindNumberCallOutSkillGroup.
|
|
79
79
|
:type request: :class:`tencentcloud.ccc.v20200210.models.BindNumberCallOutSkillGroupRequest`
|
|
@@ -96,7 +96,7 @@ class CccClient(AbstractClient):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
def BindStaffSkillGroupList(self, request):
|
|
99
|
-
"""This API is used to
|
|
99
|
+
"""This API is used to bind the agent's skill group.
|
|
100
100
|
|
|
101
101
|
:param request: Request instance for BindStaffSkillGroupList.
|
|
102
102
|
:type request: :class:`tencentcloud.ccc.v20200210.models.BindStaffSkillGroupListRequest`
|
|
@@ -118,6 +118,31 @@ class CccClient(AbstractClient):
|
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
def CreateAIAgentCall(self, request):
|
|
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
|
+
|
|
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).
|
|
125
|
+
|
|
126
|
+
:param request: Request instance for CreateAIAgentCall.
|
|
127
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.CreateAIAgentCallRequest`
|
|
128
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.CreateAIAgentCallResponse`
|
|
129
|
+
|
|
130
|
+
"""
|
|
131
|
+
try:
|
|
132
|
+
params = request._serialize()
|
|
133
|
+
headers = request.headers
|
|
134
|
+
body = self.call("CreateAIAgentCall", params, headers=headers)
|
|
135
|
+
response = json.loads(body)
|
|
136
|
+
model = models.CreateAIAgentCallResponse()
|
|
137
|
+
model._deserialize(response["Response"])
|
|
138
|
+
return model
|
|
139
|
+
except Exception as e:
|
|
140
|
+
if isinstance(e, TencentCloudSDKException):
|
|
141
|
+
raise
|
|
142
|
+
else:
|
|
143
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
144
|
+
|
|
145
|
+
|
|
121
146
|
def CreateAICall(self, request):
|
|
122
147
|
"""Used to make outbound calls by invoking AI models, limited to the use of proprietary phone numbers. Currently, the Advanced version seats are available for a **limited time** free trial.
|
|
123
148
|
|
|
@@ -167,7 +192,7 @@ class CccClient(AbstractClient):
|
|
|
167
192
|
|
|
168
193
|
|
|
169
194
|
def CreateAgentCruiseDialingCampaign(self, request):
|
|
170
|
-
"""
|
|
195
|
+
"""Agent Cruise-style Outbound Call.
|
|
171
196
|
|
|
172
197
|
:param request: Request instance for CreateAgentCruiseDialingCampaign.
|
|
173
198
|
:type request: :class:`tencentcloud.ccc.v20200210.models.CreateAgentCruiseDialingCampaignRequest`
|
|
@@ -304,6 +329,29 @@ class CccClient(AbstractClient):
|
|
|
304
329
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
305
330
|
|
|
306
331
|
|
|
332
|
+
def CreateOwnNumberApply(self, request):
|
|
333
|
+
"""Create customer's own number access review
|
|
334
|
+
|
|
335
|
+
:param request: Request instance for CreateOwnNumberApply.
|
|
336
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.CreateOwnNumberApplyRequest`
|
|
337
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.CreateOwnNumberApplyResponse`
|
|
338
|
+
|
|
339
|
+
"""
|
|
340
|
+
try:
|
|
341
|
+
params = request._serialize()
|
|
342
|
+
headers = request.headers
|
|
343
|
+
body = self.call("CreateOwnNumberApply", params, headers=headers)
|
|
344
|
+
response = json.loads(body)
|
|
345
|
+
model = models.CreateOwnNumberApplyResponse()
|
|
346
|
+
model._deserialize(response["Response"])
|
|
347
|
+
return model
|
|
348
|
+
except Exception as e:
|
|
349
|
+
if isinstance(e, TencentCloudSDKException):
|
|
350
|
+
raise
|
|
351
|
+
else:
|
|
352
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
353
|
+
|
|
354
|
+
|
|
307
355
|
def CreatePredictiveDialingCampaign(self, request):
|
|
308
356
|
"""This API is used to create the predictive outbound call task.
|
|
309
357
|
|
|
@@ -442,6 +490,29 @@ class CccClient(AbstractClient):
|
|
|
442
490
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
443
491
|
|
|
444
492
|
|
|
493
|
+
def DescribeAICallExtractResult(self, request):
|
|
494
|
+
"""Obtain AI call content extraction result
|
|
495
|
+
|
|
496
|
+
:param request: Request instance for DescribeAICallExtractResult.
|
|
497
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAICallExtractResultRequest`
|
|
498
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeAICallExtractResultResponse`
|
|
499
|
+
|
|
500
|
+
"""
|
|
501
|
+
try:
|
|
502
|
+
params = request._serialize()
|
|
503
|
+
headers = request.headers
|
|
504
|
+
body = self.call("DescribeAICallExtractResult", params, headers=headers)
|
|
505
|
+
response = json.loads(body)
|
|
506
|
+
model = models.DescribeAICallExtractResultResponse()
|
|
507
|
+
model._deserialize(response["Response"])
|
|
508
|
+
return model
|
|
509
|
+
except Exception as e:
|
|
510
|
+
if isinstance(e, TencentCloudSDKException):
|
|
511
|
+
raise
|
|
512
|
+
else:
|
|
513
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
514
|
+
|
|
515
|
+
|
|
445
516
|
def DescribeAgentCruiseDialingCampaign(self, request):
|
|
446
517
|
"""Query Agent Cruise-style Outbound Call Task
|
|
447
518
|
|
|
@@ -834,7 +905,7 @@ class CccClient(AbstractClient):
|
|
|
834
905
|
|
|
835
906
|
|
|
836
907
|
def DescribeTelCallInfo(self, request):
|
|
837
|
-
"""This API is used to access
|
|
908
|
+
"""This API is used to access telephone consumption statistics by instance.
|
|
838
909
|
|
|
839
910
|
:param request: Request instance for DescribeTelCallInfo.
|
|
840
911
|
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeTelCallInfoRequest`
|
|
@@ -879,6 +950,29 @@ class CccClient(AbstractClient):
|
|
|
879
950
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
880
951
|
|
|
881
952
|
|
|
953
|
+
def DescribeTelRecordAsr(self, request):
|
|
954
|
+
"""Pull conversation recording for text information
|
|
955
|
+
|
|
956
|
+
:param request: Request instance for DescribeTelRecordAsr.
|
|
957
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeTelRecordAsrRequest`
|
|
958
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeTelRecordAsrResponse`
|
|
959
|
+
|
|
960
|
+
"""
|
|
961
|
+
try:
|
|
962
|
+
params = request._serialize()
|
|
963
|
+
headers = request.headers
|
|
964
|
+
body = self.call("DescribeTelRecordAsr", params, headers=headers)
|
|
965
|
+
response = json.loads(body)
|
|
966
|
+
model = models.DescribeTelRecordAsrResponse()
|
|
967
|
+
model._deserialize(response["Response"])
|
|
968
|
+
return model
|
|
969
|
+
except Exception as e:
|
|
970
|
+
if isinstance(e, TencentCloudSDKException):
|
|
971
|
+
raise
|
|
972
|
+
else:
|
|
973
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
974
|
+
|
|
975
|
+
|
|
882
976
|
def DescribeTelSession(self, request):
|
|
883
977
|
"""This API is used to access the PSTN session information.
|
|
884
978
|
|
|
@@ -971,8 +1065,31 @@ class CccClient(AbstractClient):
|
|
|
971
1065
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
972
1066
|
|
|
973
1067
|
|
|
1068
|
+
def ModifyOwnNumberApply(self, request):
|
|
1069
|
+
"""Modify customer's own number approval form
|
|
1070
|
+
|
|
1071
|
+
:param request: Request instance for ModifyOwnNumberApply.
|
|
1072
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.ModifyOwnNumberApplyRequest`
|
|
1073
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.ModifyOwnNumberApplyResponse`
|
|
1074
|
+
|
|
1075
|
+
"""
|
|
1076
|
+
try:
|
|
1077
|
+
params = request._serialize()
|
|
1078
|
+
headers = request.headers
|
|
1079
|
+
body = self.call("ModifyOwnNumberApply", params, headers=headers)
|
|
1080
|
+
response = json.loads(body)
|
|
1081
|
+
model = models.ModifyOwnNumberApplyResponse()
|
|
1082
|
+
model._deserialize(response["Response"])
|
|
1083
|
+
return model
|
|
1084
|
+
except Exception as e:
|
|
1085
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1086
|
+
raise
|
|
1087
|
+
else:
|
|
1088
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1089
|
+
|
|
1090
|
+
|
|
974
1091
|
def ModifyStaff(self, request):
|
|
975
|
-
"""This API is used to modify
|
|
1092
|
+
"""This API is used to modify the customer service account.
|
|
976
1093
|
|
|
977
1094
|
:param request: Request instance for ModifyStaff.
|
|
978
1095
|
:type request: :class:`tencentcloud.ccc.v20200210.models.ModifyStaffRequest`
|
|
@@ -53,7 +53,7 @@ FAILEDOPERATION_PERMISSIONDENIED = 'FailedOperation.PermissionDenied'
|
|
|
53
53
|
# Agent is busy.
|
|
54
54
|
FAILEDOPERATION_SEATSTATUSBUSY = 'FailedOperation.SeatStatusBusy'
|
|
55
55
|
|
|
56
|
-
# Number of
|
|
56
|
+
# Number of uploaded files exceeds the limit.
|
|
57
57
|
FAILEDOPERATION_UPLOADFILEOVERFLOW = 'FailedOperation.UploadFileOverflow'
|
|
58
58
|
|
|
59
59
|
# An internal error occurs.
|
|
@@ -68,10 +68,10 @@ INVALIDPARAMETER = 'InvalidParameter'
|
|
|
68
68
|
# Duplicate address.
|
|
69
69
|
INVALIDPARAMETER_DUPLICATEADDRESS = 'InvalidParameter.DuplicateAddress'
|
|
70
70
|
|
|
71
|
-
# Duplicate number
|
|
71
|
+
# Duplicate number.
|
|
72
72
|
INVALIDPARAMETER_DUPLICATEPHONENUMBER = 'InvalidParameter.DuplicatePhoneNumber'
|
|
73
73
|
|
|
74
|
-
# Duplicate
|
|
74
|
+
# Duplicate sip account.
|
|
75
75
|
INVALIDPARAMETER_DUPLICATESIPACCOUNT = 'InvalidParameter.DuplicateSipAccount'
|
|
76
76
|
|
|
77
77
|
# Illegal address.
|
|
@@ -86,25 +86,25 @@ INVALIDPARAMETER_INSTANCENOTEXIST = 'InvalidParameter.InstanceNotExist'
|
|
|
86
86
|
# Invalid address.
|
|
87
87
|
INVALIDPARAMETER_INVALIDADDRESS = 'InvalidParameter.InvalidAddress'
|
|
88
88
|
|
|
89
|
-
# Invalid
|
|
89
|
+
# Invalid ip information.
|
|
90
90
|
INVALIDPARAMETER_INVALIDIP = 'InvalidParameter.InvalidIP'
|
|
91
91
|
|
|
92
|
-
# Invalid number
|
|
92
|
+
# Invalid number.
|
|
93
93
|
INVALIDPARAMETER_INVALIDPHONENUMBER = 'InvalidParameter.InvalidPhoneNumber'
|
|
94
94
|
|
|
95
95
|
# Invalid port information.
|
|
96
96
|
INVALIDPARAMETER_INVALIDPORT = 'InvalidParameter.InvalidPort'
|
|
97
97
|
|
|
98
|
-
# Illegal password. (
|
|
98
|
+
# Illegal password. (the length should be no less than 8 digits and must contain upper and lower case letters and numbers.).
|
|
99
99
|
INVALIDPARAMETER_SIPACCOUNTPASSWORDFORMAT = 'InvalidParameter.SipAccountPasswordFormat'
|
|
100
100
|
|
|
101
|
-
# Illegal username (only can contain
|
|
101
|
+
# Illegal username (only can contain a-z,a-z, and number).
|
|
102
102
|
INVALIDPARAMETER_SIPACCOUNTUSERFORMAT = 'InvalidParameter.SipAccountUserFormat'
|
|
103
103
|
|
|
104
|
-
# The
|
|
104
|
+
# The sip channel is still in use.
|
|
105
105
|
INVALIDPARAMETER_SIPTRUNKINUSED = 'InvalidParameter.SipTrunkInUsed'
|
|
106
106
|
|
|
107
|
-
# SIP channel information not found
|
|
107
|
+
# SIP channel information not found.
|
|
108
108
|
INVALIDPARAMETER_SIPTRUNKNOTFOUND = 'InvalidParameter.SipTrunkNotFound'
|
|
109
109
|
|
|
110
110
|
# Invalid Parameter
|
|
@@ -113,9 +113,18 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
|
113
113
|
# Account does not exist.
|
|
114
114
|
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = 'InvalidParameterValue.AccountNotExist'
|
|
115
115
|
|
|
116
|
+
# The approval form no. does not exist.
|
|
117
|
+
INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = 'InvalidParameterValue.ApplyIDNotExist'
|
|
118
|
+
|
|
119
|
+
# Error in the status of the review form.
|
|
120
|
+
INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = 'InvalidParameterValue.ErrorApplyStatus'
|
|
121
|
+
|
|
116
122
|
# The SDKAppID does not exist.
|
|
117
123
|
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = 'InvalidParameterValue.InstanceNotExist'
|
|
118
124
|
|
|
125
|
+
# Invalid number status.
|
|
126
|
+
INVALIDPARAMETERVALUE_PHONENUMINVALID = 'InvalidParameterValue.PhoneNumInvalid'
|
|
127
|
+
|
|
119
128
|
# The number has been bound to another account.
|
|
120
129
|
INVALIDPARAMETERVALUE_PHONENUMISBOUNDOTHERACCOUNT = 'InvalidParameterValue.PhoneNumIsBoundOtherAccount'
|
|
121
130
|
|
|
@@ -125,6 +134,9 @@ INVALIDPARAMETERVALUE_SKILLGROUPERROR = 'InvalidParameterValue.SkillGroupError'
|
|
|
125
134
|
# Skill group already exists.
|
|
126
135
|
INVALIDPARAMETERVALUE_SKILLGROUPEXIST = 'InvalidParameterValue.SkillGroupExist'
|
|
127
136
|
|
|
137
|
+
# The pending review form has exceeded the limit and cannot be submitted for the time being.
|
|
138
|
+
INVALIDPARAMETERVALUE_WAITINGAPPROVALOVERFLOW = 'InvalidParameterValue.WaitingApprovalOverflow'
|
|
139
|
+
|
|
128
140
|
# Exceeded quota limit.
|
|
129
141
|
LIMITEXCEEDED = 'LimitExceeded'
|
|
130
142
|
|
|
@@ -134,12 +146,18 @@ LIMITEXCEEDED_BASEPACKAGEEXPIRED = 'LimitExceeded.BasePackageExpired'
|
|
|
134
146
|
# Exceeded quantity limit.
|
|
135
147
|
LIMITEXCEEDED_OUTOFCOUNTLIMIT = 'LimitExceeded.OutOfCountLimit'
|
|
136
148
|
|
|
149
|
+
# Missing required parameters.
|
|
150
|
+
MISSINGPARAMETER = 'MissingParameter'
|
|
151
|
+
|
|
137
152
|
# Not in the allowlist.
|
|
138
153
|
OPERATIONDENIED_NOTINWHITELIST = 'OperationDenied.NotInWhiteList'
|
|
139
154
|
|
|
140
155
|
# The account has been disabled.
|
|
141
156
|
OPERATIONDENIED_UINDISABLED = 'OperationDenied.UinDisabled'
|
|
142
157
|
|
|
158
|
+
# The resource does not exist.
|
|
159
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
160
|
+
|
|
143
161
|
# Unknown parameter error.
|
|
144
162
|
UNKNOWNPARAMETER = 'UnknownParameter'
|
|
145
163
|
|