tencentcloud-sdk-python-adp 3.1.160__tar.gz → 3.1.164__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_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/setup.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud/adp/v20260520/adp_client.py +115 -0
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud/adp/v20260520/adp_client_async.py +90 -0
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud/adp/v20260520/errorcodes.py +3 -0
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud/adp/v20260520/models.py +2307 -1008
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud_sdk_python_adp.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_adp-3.1.164/tencentcloud_sdk_python_adp.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_adp-3.1.160/tencentcloud_sdk_python_adp.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/README.rst +0 -0
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/setup.cfg +0 -0
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud/adp/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud/adp/v20260520/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud_sdk_python_adp.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud_sdk_python_adp.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.160 → tencentcloud_sdk_python_adp-3.1.164}/tencentcloud_sdk_python_adp.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-adp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.164
|
|
4
4
|
Summary: Tencent Cloud Adp SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.164
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
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-adp',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.164,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Adp SDK for Python',
|
|
@@ -164,6 +164,29 @@ class AdpClient(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def CreateMsgRecordCategory(self, request):
|
|
168
|
+
r"""创建一条消息记录分类,支持指定分类名称与父分类(ParentId 为 0 时表示一级分类)
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for CreateMsgRecordCategory.
|
|
171
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.CreateMsgRecordCategoryRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.CreateMsgRecordCategoryResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("CreateMsgRecordCategory", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.CreateMsgRecordCategoryResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
167
190
|
def CreatePlugin(self, request):
|
|
168
191
|
r"""获取插件详情
|
|
169
192
|
|
|
@@ -440,6 +463,29 @@ class AdpClient(AbstractClient):
|
|
|
440
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
464
|
|
|
442
465
|
|
|
466
|
+
def DeleteMsgRecordCategory(self, request):
|
|
467
|
+
r"""删除指定的消息记录分类
|
|
468
|
+
|
|
469
|
+
:param request: Request instance for DeleteMsgRecordCategory.
|
|
470
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.DeleteMsgRecordCategoryRequest`
|
|
471
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DeleteMsgRecordCategoryResponse`
|
|
472
|
+
|
|
473
|
+
"""
|
|
474
|
+
try:
|
|
475
|
+
params = request._serialize()
|
|
476
|
+
headers = request.headers
|
|
477
|
+
body = self.call("DeleteMsgRecordCategory", params, headers=headers)
|
|
478
|
+
response = json.loads(body)
|
|
479
|
+
model = models.DeleteMsgRecordCategoryResponse()
|
|
480
|
+
model._deserialize(response["Response"])
|
|
481
|
+
return model
|
|
482
|
+
except Exception as e:
|
|
483
|
+
if isinstance(e, TencentCloudSDKException):
|
|
484
|
+
raise
|
|
485
|
+
else:
|
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
487
|
+
|
|
488
|
+
|
|
443
489
|
def DeletePlugin(self, request):
|
|
444
490
|
r"""修改插件
|
|
445
491
|
|
|
@@ -1015,6 +1061,52 @@ class AdpClient(AbstractClient):
|
|
|
1015
1061
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1016
1062
|
|
|
1017
1063
|
|
|
1064
|
+
def DescribeMsgRecordCategoryList(self, request):
|
|
1065
|
+
r"""查询应用的消息记录分类树,返回分类及子分类、各分类下记录数量与操作权限
|
|
1066
|
+
|
|
1067
|
+
:param request: Request instance for DescribeMsgRecordCategoryList.
|
|
1068
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.DescribeMsgRecordCategoryListRequest`
|
|
1069
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DescribeMsgRecordCategoryListResponse`
|
|
1070
|
+
|
|
1071
|
+
"""
|
|
1072
|
+
try:
|
|
1073
|
+
params = request._serialize()
|
|
1074
|
+
headers = request.headers
|
|
1075
|
+
body = self.call("DescribeMsgRecordCategoryList", params, headers=headers)
|
|
1076
|
+
response = json.loads(body)
|
|
1077
|
+
model = models.DescribeMsgRecordCategoryListResponse()
|
|
1078
|
+
model._deserialize(response["Response"])
|
|
1079
|
+
return model
|
|
1080
|
+
except Exception as e:
|
|
1081
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1082
|
+
raise
|
|
1083
|
+
else:
|
|
1084
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
def DescribeMsgRecordList(self, request):
|
|
1088
|
+
r"""查询应用的对话消息记录列表,支持按渠道类型、反馈类型、意图、调用结果等条件过滤,并支持游标分页与按创建时间排序
|
|
1089
|
+
|
|
1090
|
+
:param request: Request instance for DescribeMsgRecordList.
|
|
1091
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.DescribeMsgRecordListRequest`
|
|
1092
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DescribeMsgRecordListResponse`
|
|
1093
|
+
|
|
1094
|
+
"""
|
|
1095
|
+
try:
|
|
1096
|
+
params = request._serialize()
|
|
1097
|
+
headers = request.headers
|
|
1098
|
+
body = self.call("DescribeMsgRecordList", params, headers=headers)
|
|
1099
|
+
response = json.loads(body)
|
|
1100
|
+
model = models.DescribeMsgRecordListResponse()
|
|
1101
|
+
model._deserialize(response["Response"])
|
|
1102
|
+
return model
|
|
1103
|
+
except Exception as e:
|
|
1104
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1105
|
+
raise
|
|
1106
|
+
else:
|
|
1107
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1108
|
+
|
|
1109
|
+
|
|
1018
1110
|
def DescribePlugin(self, request):
|
|
1019
1111
|
r"""获取插件详情
|
|
1020
1112
|
|
|
@@ -1475,6 +1567,29 @@ class AdpClient(AbstractClient):
|
|
|
1475
1567
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1476
1568
|
|
|
1477
1569
|
|
|
1570
|
+
def ModifyMsgRecordCategory(self, request):
|
|
1571
|
+
r"""修改指定消息记录分类的名称
|
|
1572
|
+
|
|
1573
|
+
:param request: Request instance for ModifyMsgRecordCategory.
|
|
1574
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.ModifyMsgRecordCategoryRequest`
|
|
1575
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.ModifyMsgRecordCategoryResponse`
|
|
1576
|
+
|
|
1577
|
+
"""
|
|
1578
|
+
try:
|
|
1579
|
+
params = request._serialize()
|
|
1580
|
+
headers = request.headers
|
|
1581
|
+
body = self.call("ModifyMsgRecordCategory", params, headers=headers)
|
|
1582
|
+
response = json.loads(body)
|
|
1583
|
+
model = models.ModifyMsgRecordCategoryResponse()
|
|
1584
|
+
model._deserialize(response["Response"])
|
|
1585
|
+
return model
|
|
1586
|
+
except Exception as e:
|
|
1587
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1588
|
+
raise
|
|
1589
|
+
else:
|
|
1590
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1591
|
+
|
|
1592
|
+
|
|
1478
1593
|
def ModifyPlugin(self, request):
|
|
1479
1594
|
r"""修改插件
|
|
1480
1595
|
|
|
@@ -133,6 +133,24 @@ class AdpClient(AbstractClient):
|
|
|
133
133
|
|
|
134
134
|
return await self.call_and_deserialize(**kwargs)
|
|
135
135
|
|
|
136
|
+
async def CreateMsgRecordCategory(
|
|
137
|
+
self,
|
|
138
|
+
request: models.CreateMsgRecordCategoryRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.CreateMsgRecordCategoryResponse:
|
|
141
|
+
"""
|
|
142
|
+
创建一条消息记录分类,支持指定分类名称与父分类(ParentId 为 0 时表示一级分类)
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "CreateMsgRecordCategory"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.CreateMsgRecordCategoryResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
136
154
|
async def CreatePlugin(
|
|
137
155
|
self,
|
|
138
156
|
request: models.CreatePluginRequest,
|
|
@@ -349,6 +367,24 @@ class AdpClient(AbstractClient):
|
|
|
349
367
|
|
|
350
368
|
return await self.call_and_deserialize(**kwargs)
|
|
351
369
|
|
|
370
|
+
async def DeleteMsgRecordCategory(
|
|
371
|
+
self,
|
|
372
|
+
request: models.DeleteMsgRecordCategoryRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.DeleteMsgRecordCategoryResponse:
|
|
375
|
+
"""
|
|
376
|
+
删除指定的消息记录分类
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "DeleteMsgRecordCategory"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.DeleteMsgRecordCategoryResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
352
388
|
async def DeletePlugin(
|
|
353
389
|
self,
|
|
354
390
|
request: models.DeletePluginRequest,
|
|
@@ -799,6 +835,42 @@ class AdpClient(AbstractClient):
|
|
|
799
835
|
|
|
800
836
|
return await self.call_and_deserialize(**kwargs)
|
|
801
837
|
|
|
838
|
+
async def DescribeMsgRecordCategoryList(
|
|
839
|
+
self,
|
|
840
|
+
request: models.DescribeMsgRecordCategoryListRequest,
|
|
841
|
+
opts: Dict = None,
|
|
842
|
+
) -> models.DescribeMsgRecordCategoryListResponse:
|
|
843
|
+
"""
|
|
844
|
+
查询应用的消息记录分类树,返回分类及子分类、各分类下记录数量与操作权限
|
|
845
|
+
"""
|
|
846
|
+
|
|
847
|
+
kwargs = {}
|
|
848
|
+
kwargs["action"] = "DescribeMsgRecordCategoryList"
|
|
849
|
+
kwargs["params"] = request._serialize()
|
|
850
|
+
kwargs["resp_cls"] = models.DescribeMsgRecordCategoryListResponse
|
|
851
|
+
kwargs["headers"] = request.headers
|
|
852
|
+
kwargs["opts"] = opts or {}
|
|
853
|
+
|
|
854
|
+
return await self.call_and_deserialize(**kwargs)
|
|
855
|
+
|
|
856
|
+
async def DescribeMsgRecordList(
|
|
857
|
+
self,
|
|
858
|
+
request: models.DescribeMsgRecordListRequest,
|
|
859
|
+
opts: Dict = None,
|
|
860
|
+
) -> models.DescribeMsgRecordListResponse:
|
|
861
|
+
"""
|
|
862
|
+
查询应用的对话消息记录列表,支持按渠道类型、反馈类型、意图、调用结果等条件过滤,并支持游标分页与按创建时间排序
|
|
863
|
+
"""
|
|
864
|
+
|
|
865
|
+
kwargs = {}
|
|
866
|
+
kwargs["action"] = "DescribeMsgRecordList"
|
|
867
|
+
kwargs["params"] = request._serialize()
|
|
868
|
+
kwargs["resp_cls"] = models.DescribeMsgRecordListResponse
|
|
869
|
+
kwargs["headers"] = request.headers
|
|
870
|
+
kwargs["opts"] = opts or {}
|
|
871
|
+
|
|
872
|
+
return await self.call_and_deserialize(**kwargs)
|
|
873
|
+
|
|
802
874
|
async def DescribePlugin(
|
|
803
875
|
self,
|
|
804
876
|
request: models.DescribePluginRequest,
|
|
@@ -1159,6 +1231,24 @@ class AdpClient(AbstractClient):
|
|
|
1159
1231
|
|
|
1160
1232
|
return await self.call_and_deserialize(**kwargs)
|
|
1161
1233
|
|
|
1234
|
+
async def ModifyMsgRecordCategory(
|
|
1235
|
+
self,
|
|
1236
|
+
request: models.ModifyMsgRecordCategoryRequest,
|
|
1237
|
+
opts: Dict = None,
|
|
1238
|
+
) -> models.ModifyMsgRecordCategoryResponse:
|
|
1239
|
+
"""
|
|
1240
|
+
修改指定消息记录分类的名称
|
|
1241
|
+
"""
|
|
1242
|
+
|
|
1243
|
+
kwargs = {}
|
|
1244
|
+
kwargs["action"] = "ModifyMsgRecordCategory"
|
|
1245
|
+
kwargs["params"] = request._serialize()
|
|
1246
|
+
kwargs["resp_cls"] = models.ModifyMsgRecordCategoryResponse
|
|
1247
|
+
kwargs["headers"] = request.headers
|
|
1248
|
+
kwargs["opts"] = opts or {}
|
|
1249
|
+
|
|
1250
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1251
|
+
|
|
1162
1252
|
async def ModifyPlugin(
|
|
1163
1253
|
self,
|
|
1164
1254
|
request: models.ModifyPluginRequest,
|