tencentcloud-sdk-python-intl-en 3.0.1273__py2.py3-none-any.whl → 3.0.1275__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +115 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +2166 -304
- tencentcloud/cmq/v20190304/cmq_client.py +0 -345
- tencentcloud/cmq/v20190304/models.py +325 -2466
- tencentcloud/cvm/v20170312/cvm_client.py +24 -0
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/cvm/v20170312/models.py +94 -0
- tencentcloud/faceid/v20180301/models.py +30 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +4532 -2484
- tencentcloud/waf/v20180125/waf_client.py +253 -0
- {tencentcloud_sdk_python_intl_en-3.0.1273.dist-info → tencentcloud_sdk_python_intl_en-3.0.1275.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1273.dist-info → tencentcloud_sdk_python_intl_en-3.0.1275.dist-info}/RECORD +17 -17
- {tencentcloud_sdk_python_intl_en-3.0.1273.dist-info → tencentcloud_sdk_python_intl_en-3.0.1275.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1273.dist-info → tencentcloud_sdk_python_intl_en-3.0.1275.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -72,6 +72,29 @@ class CccClient(AbstractClient):
|
|
72
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
73
|
|
74
74
|
|
75
|
+
def BindNumberCallInInterface(self, request):
|
76
|
+
"""This API is used to bind a number to a callback API for incoming calls.
|
77
|
+
|
78
|
+
:param request: Request instance for BindNumberCallInInterface.
|
79
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.BindNumberCallInInterfaceRequest`
|
80
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.BindNumberCallInInterfaceResponse`
|
81
|
+
|
82
|
+
"""
|
83
|
+
try:
|
84
|
+
params = request._serialize()
|
85
|
+
headers = request.headers
|
86
|
+
body = self.call("BindNumberCallInInterface", params, headers=headers)
|
87
|
+
response = json.loads(body)
|
88
|
+
model = models.BindNumberCallInInterfaceResponse()
|
89
|
+
model._deserialize(response["Response"])
|
90
|
+
return model
|
91
|
+
except Exception as e:
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
93
|
+
raise
|
94
|
+
else:
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
96
|
+
|
97
|
+
|
75
98
|
def BindNumberCallOutSkillGroup(self, request):
|
76
99
|
"""This API is used to bind outbound skill group of number.
|
77
100
|
|
@@ -118,6 +141,29 @@ class CccClient(AbstractClient):
|
|
118
141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
119
142
|
|
120
143
|
|
144
|
+
def ControlAIConversation(self, request):
|
145
|
+
"""This API is used to provide server-side robot control feature.
|
146
|
+
|
147
|
+
:param request: Request instance for ControlAIConversation.
|
148
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.ControlAIConversationRequest`
|
149
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.ControlAIConversationResponse`
|
150
|
+
|
151
|
+
"""
|
152
|
+
try:
|
153
|
+
params = request._serialize()
|
154
|
+
headers = request.headers
|
155
|
+
body = self.call("ControlAIConversation", params, headers=headers)
|
156
|
+
response = json.loads(body)
|
157
|
+
model = models.ControlAIConversationResponse()
|
158
|
+
model._deserialize(response["Response"])
|
159
|
+
return model
|
160
|
+
except Exception as e:
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
162
|
+
raise
|
163
|
+
else:
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
165
|
+
|
166
|
+
|
121
167
|
def CreateAIAgentCall(self, request):
|
122
168
|
"""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
169
|
|
@@ -425,6 +471,29 @@ class CccClient(AbstractClient):
|
|
425
471
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
426
472
|
|
427
473
|
|
474
|
+
def CreateUserSig(self, request):
|
475
|
+
"""This API is used to create a user data signature.
|
476
|
+
|
477
|
+
:param request: Request instance for CreateUserSig.
|
478
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.CreateUserSigRequest`
|
479
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.CreateUserSigResponse`
|
480
|
+
|
481
|
+
"""
|
482
|
+
try:
|
483
|
+
params = request._serialize()
|
484
|
+
headers = request.headers
|
485
|
+
body = self.call("CreateUserSig", params, headers=headers)
|
486
|
+
response = json.loads(body)
|
487
|
+
model = models.CreateUserSigResponse()
|
488
|
+
model._deserialize(response["Response"])
|
489
|
+
return model
|
490
|
+
except Exception as e:
|
491
|
+
if isinstance(e, TencentCloudSDKException):
|
492
|
+
raise
|
493
|
+
else:
|
494
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
495
|
+
|
496
|
+
|
428
497
|
def DeleteCCCSkillGroup(self, request):
|
429
498
|
"""This API is used to delete a skill group.
|
430
499
|
|
@@ -885,6 +954,29 @@ class CccClient(AbstractClient):
|
|
885
954
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
886
955
|
|
887
956
|
|
957
|
+
def DescribeSessionDetail(self, request):
|
958
|
+
"""This API is used to query call detail.
|
959
|
+
|
960
|
+
:param request: Request instance for DescribeSessionDetail.
|
961
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeSessionDetailRequest`
|
962
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeSessionDetailResponse`
|
963
|
+
|
964
|
+
"""
|
965
|
+
try:
|
966
|
+
params = request._serialize()
|
967
|
+
headers = request.headers
|
968
|
+
body = self.call("DescribeSessionDetail", params, headers=headers)
|
969
|
+
response = json.loads(body)
|
970
|
+
model = models.DescribeSessionDetailResponse()
|
971
|
+
model._deserialize(response["Response"])
|
972
|
+
return model
|
973
|
+
except Exception as e:
|
974
|
+
if isinstance(e, TencentCloudSDKException):
|
975
|
+
raise
|
976
|
+
else:
|
977
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
978
|
+
|
979
|
+
|
888
980
|
def DescribeSkillGroupInfoList(self, request):
|
889
981
|
"""This API is used to access the skill group information list.
|
890
982
|
|
@@ -931,6 +1023,29 @@ class CccClient(AbstractClient):
|
|
931
1023
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
932
1024
|
|
933
1025
|
|
1026
|
+
def DescribeStaffStatusHistory(self, request):
|
1027
|
+
"""This API is used to query agent status history.
|
1028
|
+
|
1029
|
+
:param request: Request instance for DescribeStaffStatusHistory.
|
1030
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeStaffStatusHistoryRequest`
|
1031
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeStaffStatusHistoryResponse`
|
1032
|
+
|
1033
|
+
"""
|
1034
|
+
try:
|
1035
|
+
params = request._serialize()
|
1036
|
+
headers = request.headers
|
1037
|
+
body = self.call("DescribeStaffStatusHistory", params, headers=headers)
|
1038
|
+
response = json.loads(body)
|
1039
|
+
model = models.DescribeStaffStatusHistoryResponse()
|
1040
|
+
model._deserialize(response["Response"])
|
1041
|
+
return model
|
1042
|
+
except Exception as e:
|
1043
|
+
if isinstance(e, TencentCloudSDKException):
|
1044
|
+
raise
|
1045
|
+
else:
|
1046
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1047
|
+
|
1048
|
+
|
934
1049
|
def DescribeStaffStatusMetrics(self, request):
|
935
1050
|
"""This API is used to access the real-time status statistics metrics of the agent.
|
936
1051
|
|
@@ -44,6 +44,9 @@ FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = 'FailedOperation.Call
|
|
44
44
|
# Calls are not allowed at this time.
|
45
45
|
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = 'FailedOperation.CalloutRuleNotWorkTime'
|
46
46
|
|
47
|
+
# Control ai conversation error information.
|
48
|
+
FAILEDOPERATION_CONTROLAICONVERSATION = 'FailedOperation.ControlAIConversation'
|
49
|
+
|
47
50
|
# The current number status cannot be modified.
|
48
51
|
FAILEDOPERATION_CURSTATENOTALLOWMODIFY = 'FailedOperation.CurStateNotAllowModify'
|
49
52
|
|
@@ -62,6 +65,9 @@ FAILEDOPERATION_SEATSTATUSBUSY = 'FailedOperation.SeatStatusBusy'
|
|
62
65
|
# Session does not exist.
|
63
66
|
FAILEDOPERATION_SESSIONNOTEXISTS = 'FailedOperation.SessionNotExists'
|
64
67
|
|
68
|
+
# Session not in control status.
|
69
|
+
FAILEDOPERATION_SESSIONNOTINCONTROLSTATE = 'FailedOperation.SessionNotInControlState'
|
70
|
+
|
65
71
|
# Number of uploaded files exceeds the limit.
|
66
72
|
FAILEDOPERATION_UPLOADFILEOVERFLOW = 'FailedOperation.UploadFileOverflow'
|
67
73
|
|