tccli 3.0.1258.1__py2.py3-none-any.whl → 3.0.1259.1__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.
- tccli/__init__.py +1 -1
- tccli/services/bi/v20220105/api.json +15 -15
- tccli/services/bi/v20220105/examples.json +2 -2
- tccli/services/ccc/ccc_client.py +61 -8
- tccli/services/ccc/v20200210/api.json +233 -1
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/dnspod/v20210323/examples.json +1 -1
- tccli/services/faceid/v20180301/api.json +1 -1
- tccli/services/ocr/ocr_client.py +167 -61
- tccli/services/ocr/v20181119/api.json +409 -120
- tccli/services/ocr/v20181119/examples.json +21 -5
- tccli/services/rum/v20210622/api.json +56 -56
- tccli/services/rum/v20210622/examples.json +20 -20
- tccli/services/ses/v20201002/api.json +189 -115
- tccli/services/ses/v20201002/examples.json +8 -8
- tccli/services/trtc/v20190722/api.json +4 -4
- {tccli-3.0.1258.1.dist-info → tccli-3.0.1259.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1258.1.dist-info → tccli-3.0.1259.1.dist-info}/RECORD +21 -21
- {tccli-3.0.1258.1.dist-info → tccli-3.0.1259.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1258.1.dist-info → tccli-3.0.1259.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1258.1.dist-info → tccli-3.0.1259.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1259.1'
|
@@ -252,7 +252,7 @@
|
|
252
252
|
{
|
253
253
|
"disabled": false,
|
254
254
|
"document": "额外参数\n注意:此字段可能返回 null,表示取不到有效值。",
|
255
|
-
"example": "
|
255
|
+
"example": "返回为空",
|
256
256
|
"member": "string",
|
257
257
|
"name": "Extra",
|
258
258
|
"output_required": true,
|
@@ -262,7 +262,7 @@
|
|
262
262
|
{
|
263
263
|
"disabled": false,
|
264
264
|
"document": "结果数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
265
|
-
"example": "
|
265
|
+
"example": "\"Data\": { \"Result\": true }",
|
266
266
|
"member": "ApplyEmbedTokenInfo",
|
267
267
|
"name": "Data",
|
268
268
|
"output_required": true,
|
@@ -272,7 +272,7 @@
|
|
272
272
|
{
|
273
273
|
"disabled": false,
|
274
274
|
"document": "结果描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
275
|
-
"example": "
|
275
|
+
"example": "成功",
|
276
276
|
"member": "string",
|
277
277
|
"name": "Msg",
|
278
278
|
"output_required": true,
|
@@ -1306,7 +1306,7 @@
|
|
1306
1306
|
{
|
1307
1307
|
"disabled": false,
|
1308
1308
|
"document": "扩展\n注意:此字段可能返回 null,表示取不到有效值。",
|
1309
|
-
"example": "
|
1309
|
+
"example": "返回为空",
|
1310
1310
|
"member": "string",
|
1311
1311
|
"name": "Extra",
|
1312
1312
|
"output_required": true,
|
@@ -1316,7 +1316,7 @@
|
|
1316
1316
|
{
|
1317
1317
|
"disabled": false,
|
1318
1318
|
"document": "数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
1319
|
-
"example": "1",
|
1319
|
+
"example": "{\"Id\":1}",
|
1320
1320
|
"member": "DataId",
|
1321
1321
|
"name": "Data",
|
1322
1322
|
"output_required": true,
|
@@ -1391,7 +1391,7 @@
|
|
1391
1391
|
{
|
1392
1392
|
"disabled": false,
|
1393
1393
|
"document": "扩展\n注意:此字段可能返回 null,表示取不到有效值。",
|
1394
|
-
"example": "
|
1394
|
+
"example": "返回为空",
|
1395
1395
|
"member": "string",
|
1396
1396
|
"name": "Extra",
|
1397
1397
|
"output_required": true,
|
@@ -1585,7 +1585,7 @@
|
|
1585
1585
|
{
|
1586
1586
|
"disabled": false,
|
1587
1587
|
"document": "catalog值\n注意:此字段可能返回 null,表示取不到有效值。",
|
1588
|
-
"example": "
|
1588
|
+
"example": "presto catalog",
|
1589
1589
|
"member": "string",
|
1590
1590
|
"name": "Catalog",
|
1591
1591
|
"output_required": true,
|
@@ -1615,7 +1615,7 @@
|
|
1615
1615
|
{
|
1616
1616
|
"disabled": false,
|
1617
1617
|
"document": "数据源描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
1618
|
-
"example": "
|
1618
|
+
"example": "数据源建表信息",
|
1619
1619
|
"member": "string",
|
1620
1620
|
"name": "Desc",
|
1621
1621
|
"output_required": true,
|
@@ -1665,7 +1665,7 @@
|
|
1665
1665
|
{
|
1666
1666
|
"disabled": false,
|
1667
1667
|
"document": "项目名字\n注意:此字段可能返回 null,表示取不到有效值。",
|
1668
|
-
"example": "
|
1668
|
+
"example": "bi项目",
|
1669
1669
|
"member": "string",
|
1670
1670
|
"name": "ProjectName",
|
1671
1671
|
"output_required": true,
|
@@ -2524,7 +2524,7 @@
|
|
2524
2524
|
{
|
2525
2525
|
"disabled": false,
|
2526
2526
|
"document": "额外信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2527
|
-
"example": "
|
2527
|
+
"example": "返回为空",
|
2528
2528
|
"member": "string",
|
2529
2529
|
"name": "Extra",
|
2530
2530
|
"output_required": true,
|
@@ -2544,7 +2544,7 @@
|
|
2544
2544
|
{
|
2545
2545
|
"disabled": false,
|
2546
2546
|
"document": "数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
2547
|
-
"example": "
|
2547
|
+
"example": "{\"List\":\"\"}",
|
2548
2548
|
"member": "ProjectListData",
|
2549
2549
|
"name": "Data",
|
2550
2550
|
"output_required": true,
|
@@ -3137,7 +3137,7 @@
|
|
3137
3137
|
{
|
3138
3138
|
"disabled": false,
|
3139
3139
|
"document": "项目id",
|
3140
|
-
"example": "
|
3140
|
+
"example": "110101",
|
3141
3141
|
"member": "string",
|
3142
3142
|
"name": "ProjectId",
|
3143
3143
|
"required": true,
|
@@ -3665,7 +3665,7 @@
|
|
3665
3665
|
{
|
3666
3666
|
"disabled": false,
|
3667
3667
|
"document": "catalog值",
|
3668
|
-
"example": "
|
3668
|
+
"example": "presto catalog",
|
3669
3669
|
"member": "string",
|
3670
3670
|
"name": "Catalog",
|
3671
3671
|
"required": false,
|
@@ -3938,7 +3938,7 @@
|
|
3938
3938
|
{
|
3939
3939
|
"disabled": false,
|
3940
3940
|
"document": "返回数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
3941
|
-
"example": "
|
3941
|
+
"example": "返回为null",
|
3942
3942
|
"member": "string",
|
3943
3943
|
"name": "Data",
|
3944
3944
|
"output_required": true,
|
@@ -4060,7 +4060,7 @@
|
|
4060
4060
|
{
|
4061
4061
|
"disabled": false,
|
4062
4062
|
"document": "数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
4063
|
-
"example": "
|
4063
|
+
"example": "返回为null",
|
4064
4064
|
"member": "string",
|
4065
4065
|
"name": "Data",
|
4066
4066
|
"output_required": true,
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"CreateUserRoleProject": [
|
52
52
|
{
|
53
53
|
"document": "",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserRoleProject\n<公共请求参数>\n\n{\n \"UserList\": [\n {\n \"UserName\": \"null\",\n \"UserId\": \"null\"\n }\n ],\n \"ProjectId\": \"000\",\n \"RoleIdList\": [\n \"100100\"\n ],\n \"UserInfoList\": [\n {\n \"UserName\": \"tommyho\",\n \"PhoneNumber\": \"
|
54
|
+
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserRoleProject\n<公共请求参数>\n\n{\n \"UserList\": [\n {\n \"UserName\": \"null\",\n \"UserId\": \"null\"\n }\n ],\n \"ProjectId\": \"000\",\n \"RoleIdList\": [\n \"100100\"\n ],\n \"UserInfoList\": [\n {\n \"UserName\": \"tommyho\",\n \"PhoneNumber\": \"152****12313\",\n \"AreaCode\": \"86\",\n \"UserId\": \"tommyho\",\n \"Email\": \"123@qq.com\"\n }\n ]\n}",
|
55
55
|
"output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"6cd11622-b240-40ae-8ec0-86b933aab8da\",\n \"Extra\": \"\",\n \"Data\": {\n \"Id\": 0\n }\n }\n}",
|
56
56
|
"title": "demo"
|
57
57
|
},
|
@@ -134,7 +134,7 @@
|
|
134
134
|
{
|
135
135
|
"document": "项目列表数据接口",
|
136
136
|
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectList\n<公共请求参数>\n\n{\n \"PageSize\": 1,\n \"PageNo\": 1,\n \"Keyword\": \"demo\",\n \"AllPage\": true\n}",
|
137
|
-
"output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorLevel\": \"INFO\",\n \"DocLink\": \"数据不存在\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Extra\": \"\",\n \"Msg\": \"成功\",\n \"Data\": {\n \"List\": [\n {\n \"Id\": 1,\n \"Logo\": \"http://www.cloud.com***/logo.png\",\n \"Name\": \"
|
137
|
+
"output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"\",\n \"ErrorLevel\": \"INFO\",\n \"DocLink\": \"数据不存在\",\n \"FAQ\": \"\",\n \"ReservedField\": \"\"\n },\n \"Extra\": \"\",\n \"Msg\": \"成功\",\n \"Data\": {\n \"List\": [\n {\n \"Id\": 1,\n \"Logo\": \"http://www.cloud.com***/logo.png\",\n \"Name\": \"bi项目\",\n \"ColorCode\": \"#666\",\n \"CreatedUser\": \"张三\",\n \"CreatedAt\": \"张三\",\n \"MemberCount\": 0,\n \"PageCount\": 0,\n \"LastModifyName\": \"张三\",\n \"Source\": \"\",\n \"Apply\": true,\n \"UpdatedUser\": \"张三\",\n \"UpdatedAt\": \"张三\",\n \"CorpId\": \"10010101\",\n \"Mark\": \"说明备注\",\n \"Seed\": \"\",\n \"AuthList\": [\n \"10101\"\n ],\n \"PanelScope\": \"scope\",\n \"IsExternalManage\": true,\n \"ManagePlatform\": \"saas\",\n \"ConfigList\": [\n {\n \"ModuleGroup\": \"project\",\n \"Components\": [\n {\n \"ModuleId\": \"10101\",\n \"IncludeType\": \"useable\",\n \"Params\": \"\"\n }\n ]\n }\n ]\n }\n ],\n \"Total\": 1,\n \"TotalPages\": 1\n },\n \"RequestId\": \"dfjksak10w1qdsk2312\"\n }\n}",
|
138
138
|
"title": "项目列表数据接口"
|
139
139
|
}
|
140
140
|
],
|
tccli/services/ccc/ccc_client.py
CHANGED
@@ -953,6 +953,58 @@ def doCreateStaff(args, parsed_globals):
|
|
953
953
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
954
954
|
|
955
955
|
|
956
|
+
def doDescribeAICallExtractResult(args, parsed_globals):
|
957
|
+
g_param = parse_global_arg(parsed_globals)
|
958
|
+
|
959
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
960
|
+
cred = credential.CVMRoleCredential()
|
961
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
962
|
+
cred = credential.STSAssumeRoleCredential(
|
963
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
964
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
965
|
+
)
|
966
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
967
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
968
|
+
else:
|
969
|
+
cred = credential.Credential(
|
970
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
971
|
+
)
|
972
|
+
http_profile = HttpProfile(
|
973
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
974
|
+
reqMethod="POST",
|
975
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
976
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
977
|
+
)
|
978
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
979
|
+
if g_param[OptionsDefine.Language]:
|
980
|
+
profile.language = g_param[OptionsDefine.Language]
|
981
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
982
|
+
client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
|
983
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
984
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
985
|
+
model = models.DescribeAICallExtractResultRequest()
|
986
|
+
model.from_json_string(json.dumps(args))
|
987
|
+
start_time = time.time()
|
988
|
+
while True:
|
989
|
+
rsp = client.DescribeAICallExtractResult(model)
|
990
|
+
result = rsp.to_json_string()
|
991
|
+
try:
|
992
|
+
json_obj = json.loads(result)
|
993
|
+
except TypeError as e:
|
994
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
995
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
996
|
+
break
|
997
|
+
cur_time = time.time()
|
998
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
999
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1000
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1001
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1002
|
+
else:
|
1003
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1004
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1005
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1006
|
+
|
1007
|
+
|
956
1008
|
def doDescribeExtension(args, parsed_globals):
|
957
1009
|
g_param = parse_global_arg(parsed_globals)
|
958
1010
|
|
@@ -1005,7 +1057,7 @@ def doDescribeExtension(args, parsed_globals):
|
|
1005
1057
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1006
1058
|
|
1007
1059
|
|
1008
|
-
def
|
1060
|
+
def doDescribeCarrierPrivilegeNumberApplicants(args, parsed_globals):
|
1009
1061
|
g_param = parse_global_arg(parsed_globals)
|
1010
1062
|
|
1011
1063
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1034,11 +1086,11 @@ def doDescribeTelSession(args, parsed_globals):
|
|
1034
1086
|
client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
|
1035
1087
|
client._sdkVersion += ("_CLI_" + __version__)
|
1036
1088
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1037
|
-
model = models.
|
1089
|
+
model = models.DescribeCarrierPrivilegeNumberApplicantsRequest()
|
1038
1090
|
model.from_json_string(json.dumps(args))
|
1039
1091
|
start_time = time.time()
|
1040
1092
|
while True:
|
1041
|
-
rsp = client.
|
1093
|
+
rsp = client.DescribeCarrierPrivilegeNumberApplicants(model)
|
1042
1094
|
result = rsp.to_json_string()
|
1043
1095
|
try:
|
1044
1096
|
json_obj = json.loads(result)
|
@@ -1109,7 +1161,7 @@ def doCreateCallOutSession(args, parsed_globals):
|
|
1109
1161
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1110
1162
|
|
1111
1163
|
|
1112
|
-
def
|
1164
|
+
def doDescribeTelSession(args, parsed_globals):
|
1113
1165
|
g_param = parse_global_arg(parsed_globals)
|
1114
1166
|
|
1115
1167
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1138,11 +1190,11 @@ def doDescribeCarrierPrivilegeNumberApplicants(args, parsed_globals):
|
|
1138
1190
|
client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
|
1139
1191
|
client._sdkVersion += ("_CLI_" + __version__)
|
1140
1192
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1141
|
-
model = models.
|
1193
|
+
model = models.DescribeTelSessionRequest()
|
1142
1194
|
model.from_json_string(json.dumps(args))
|
1143
1195
|
start_time = time.time()
|
1144
1196
|
while True:
|
1145
|
-
rsp = client.
|
1197
|
+
rsp = client.DescribeTelSession(model)
|
1146
1198
|
result = rsp.to_json_string()
|
1147
1199
|
try:
|
1148
1200
|
json_obj = json.loads(result)
|
@@ -3322,10 +3374,11 @@ ACTION_MAP = {
|
|
3322
3374
|
"CreateExtension": doCreateExtension,
|
3323
3375
|
"ResetExtensionPassword": doResetExtensionPassword,
|
3324
3376
|
"CreateStaff": doCreateStaff,
|
3377
|
+
"DescribeAICallExtractResult": doDescribeAICallExtractResult,
|
3325
3378
|
"DescribeExtension": doDescribeExtension,
|
3326
|
-
"DescribeTelSession": doDescribeTelSession,
|
3327
|
-
"CreateCallOutSession": doCreateCallOutSession,
|
3328
3379
|
"DescribeCarrierPrivilegeNumberApplicants": doDescribeCarrierPrivilegeNumberApplicants,
|
3380
|
+
"CreateCallOutSession": doCreateCallOutSession,
|
3381
|
+
"DescribeTelSession": doDescribeTelSession,
|
3329
3382
|
"DescribeAutoCalloutTask": doDescribeAutoCalloutTask,
|
3330
3383
|
"DescribePredictiveDialingSessions": doDescribePredictiveDialingSessions,
|
3331
3384
|
"CreateCompanyApply": doCreateCompanyApply,
|
@@ -147,6 +147,13 @@
|
|
147
147
|
"output": "DeleteStaffResponse",
|
148
148
|
"status": "online"
|
149
149
|
},
|
150
|
+
"DescribeAICallExtractResult": {
|
151
|
+
"document": "获取 AI 通话内容提取结果。",
|
152
|
+
"input": "DescribeAICallExtractResultRequest",
|
153
|
+
"name": "查询 AI 通话内容提取结果",
|
154
|
+
"output": "DescribeAICallExtractResultResponse",
|
155
|
+
"status": "online"
|
156
|
+
},
|
150
157
|
"DescribeActiveCarrierPrivilegeNumber": {
|
151
158
|
"document": "查询生效运营商白名单规则",
|
152
159
|
"input": "DescribeActiveCarrierPrivilegeNumberRequest",
|
@@ -449,6 +456,149 @@
|
|
449
456
|
"serviceShortName": "ccc"
|
450
457
|
},
|
451
458
|
"objects": {
|
459
|
+
"AICallExtractConfigElement": {
|
460
|
+
"document": "AI 通话提取配置项",
|
461
|
+
"members": [
|
462
|
+
{
|
463
|
+
"disabled": false,
|
464
|
+
"document": "配置项类型,包括\nText 文本\nSelector 选项\nBoolean 布尔值\nNumber 数字",
|
465
|
+
"example": "Number",
|
466
|
+
"member": "string",
|
467
|
+
"name": "InfoType",
|
468
|
+
"required": true,
|
469
|
+
"type": "string"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"disabled": false,
|
473
|
+
"document": "配置项名称,不可重复",
|
474
|
+
"example": "姓名",
|
475
|
+
"member": "string",
|
476
|
+
"name": "InfoName",
|
477
|
+
"required": true,
|
478
|
+
"type": "string"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"disabled": false,
|
482
|
+
"document": "配置项具体内容",
|
483
|
+
"example": "客户姓名",
|
484
|
+
"member": "string",
|
485
|
+
"name": "InfoContent",
|
486
|
+
"required": false,
|
487
|
+
"type": "string"
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"disabled": false,
|
491
|
+
"document": "配置项提取内容示例",
|
492
|
+
"example": "[\"张三\"]",
|
493
|
+
"member": "string",
|
494
|
+
"name": "Examples",
|
495
|
+
"required": false,
|
496
|
+
"type": "list"
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"disabled": false,
|
500
|
+
"document": "InfoType 为 Selector,需要配置此字段",
|
501
|
+
"example": "[\"动力\",\"内饰\",\"价格\"]",
|
502
|
+
"member": "string",
|
503
|
+
"name": "Choices",
|
504
|
+
"required": false,
|
505
|
+
"type": "list"
|
506
|
+
}
|
507
|
+
],
|
508
|
+
"usage": "in"
|
509
|
+
},
|
510
|
+
"AICallExtractResultElement": {
|
511
|
+
"document": "AI 通话提取结果。",
|
512
|
+
"members": [
|
513
|
+
{
|
514
|
+
"disabled": false,
|
515
|
+
"document": "提取信息的类型\nText 文本\nSelector 选项\nBoolean 布尔值\nNumber 数字",
|
516
|
+
"example": "Number",
|
517
|
+
"member": "string",
|
518
|
+
"name": "InfoType",
|
519
|
+
"output_required": false,
|
520
|
+
"type": "string",
|
521
|
+
"value_allowed_null": false
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"disabled": false,
|
525
|
+
"document": "提取信息的名称",
|
526
|
+
"example": "驾龄",
|
527
|
+
"member": "string",
|
528
|
+
"name": "InfoName",
|
529
|
+
"output_required": false,
|
530
|
+
"type": "string",
|
531
|
+
"value_allowed_null": false
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"disabled": false,
|
535
|
+
"document": "提取信息的具体描述",
|
536
|
+
"example": "客户具体驾龄是多少年",
|
537
|
+
"member": "string",
|
538
|
+
"name": "InfoContent",
|
539
|
+
"output_required": false,
|
540
|
+
"type": "string",
|
541
|
+
"value_allowed_null": false
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"disabled": false,
|
545
|
+
"document": "提取信息的具体结果",
|
546
|
+
"example": "{\"Boolean\":true}",
|
547
|
+
"member": "AICallExtractResultInfo",
|
548
|
+
"name": "Result",
|
549
|
+
"output_required": false,
|
550
|
+
"type": "object",
|
551
|
+
"value_allowed_null": false
|
552
|
+
}
|
553
|
+
],
|
554
|
+
"usage": "out"
|
555
|
+
},
|
556
|
+
"AICallExtractResultInfo": {
|
557
|
+
"document": "AI 通话结果具体信息",
|
558
|
+
"members": [
|
559
|
+
{
|
560
|
+
"disabled": false,
|
561
|
+
"document": "提取的类型是文本",
|
562
|
+
"example": "xx省xx市xx区xx街道",
|
563
|
+
"member": "string",
|
564
|
+
"name": "Text",
|
565
|
+
"output_required": false,
|
566
|
+
"type": "string",
|
567
|
+
"value_allowed_null": false
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"disabled": false,
|
571
|
+
"document": "提取的内型是选项",
|
572
|
+
"example": "[\"动力\",\"价格\"]",
|
573
|
+
"member": "string",
|
574
|
+
"name": "Chosen",
|
575
|
+
"output_required": false,
|
576
|
+
"type": "list",
|
577
|
+
"value_allowed_null": false
|
578
|
+
},
|
579
|
+
{
|
580
|
+
"disabled": false,
|
581
|
+
"document": "提取类型是布尔值",
|
582
|
+
"example": "true",
|
583
|
+
"member": "bool",
|
584
|
+
"name": "Boolean",
|
585
|
+
"output_required": false,
|
586
|
+
"type": "bool",
|
587
|
+
"value_allowed_null": false
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"disabled": false,
|
591
|
+
"document": "提取类型是数字",
|
592
|
+
"example": "7.0",
|
593
|
+
"member": "float",
|
594
|
+
"name": "Number",
|
595
|
+
"output_required": false,
|
596
|
+
"type": "float",
|
597
|
+
"value_allowed_null": false
|
598
|
+
}
|
599
|
+
],
|
600
|
+
"usage": "out"
|
601
|
+
},
|
452
602
|
"AITransferItem": {
|
453
603
|
"document": "AI转人工配置项",
|
454
604
|
"members": [
|
@@ -1733,6 +1883,15 @@
|
|
1733
1883
|
"required": false,
|
1734
1884
|
"type": "int"
|
1735
1885
|
},
|
1886
|
+
{
|
1887
|
+
"disabled": false,
|
1888
|
+
"document": "0: 默认可打断, 1:高优先不可打断",
|
1889
|
+
"example": "0",
|
1890
|
+
"member": "int64",
|
1891
|
+
"name": "WelcomeMessagePriority",
|
1892
|
+
"required": false,
|
1893
|
+
"type": "int"
|
1894
|
+
},
|
1736
1895
|
{
|
1737
1896
|
"disabled": false,
|
1738
1897
|
"document": "最大等待时长(毫秒),默认60秒,超过这个时间用户没说话,自动挂断",
|
@@ -1753,7 +1912,7 @@
|
|
1753
1912
|
},
|
1754
1913
|
{
|
1755
1914
|
"disabled": false,
|
1756
|
-
"document": "打断AI说话模式,默认为0,0
|
1915
|
+
"document": "打断AI说话模式,默认为0,0表示自动打断,1表示不打断。",
|
1757
1916
|
"example": "1",
|
1758
1917
|
"member": "int64",
|
1759
1918
|
"name": "InterruptMode",
|
@@ -1858,6 +2017,15 @@
|
|
1858
2017
|
"name": "VadSilenceTime",
|
1859
2018
|
"required": false,
|
1860
2019
|
"type": "int"
|
2020
|
+
},
|
2021
|
+
{
|
2022
|
+
"disabled": false,
|
2023
|
+
"document": "通话内容提取配置",
|
2024
|
+
"example": "[{\"InfoType\": \"Boolean\", \"InfoName\": \"兴趣\", \"InfoContent\": \"用户是否对产品感兴趣\"}]",
|
2025
|
+
"member": "AICallExtractConfigElement",
|
2026
|
+
"name": "ExtractConfig",
|
2027
|
+
"required": false,
|
2028
|
+
"type": "list"
|
1861
2029
|
}
|
1862
2030
|
],
|
1863
2031
|
"type": "object"
|
@@ -3024,6 +3192,70 @@
|
|
3024
3192
|
],
|
3025
3193
|
"type": "object"
|
3026
3194
|
},
|
3195
|
+
"DescribeAICallExtractResultRequest": {
|
3196
|
+
"document": "DescribeAICallExtractResult请求参数结构体",
|
3197
|
+
"members": [
|
3198
|
+
{
|
3199
|
+
"disabled": false,
|
3200
|
+
"document": "应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc",
|
3201
|
+
"example": "1400000000",
|
3202
|
+
"member": "int64",
|
3203
|
+
"name": "SdkAppId",
|
3204
|
+
"required": true,
|
3205
|
+
"type": "int"
|
3206
|
+
},
|
3207
|
+
{
|
3208
|
+
"disabled": false,
|
3209
|
+
"document": "会话 ID",
|
3210
|
+
"example": "adcf61b8-dbb9-4c20-87bf-c0744c04bade",
|
3211
|
+
"member": "string",
|
3212
|
+
"name": "SessionId",
|
3213
|
+
"required": true,
|
3214
|
+
"type": "string"
|
3215
|
+
},
|
3216
|
+
{
|
3217
|
+
"disabled": false,
|
3218
|
+
"document": "查找起始时间",
|
3219
|
+
"example": "1737350008",
|
3220
|
+
"member": "int64",
|
3221
|
+
"name": "StartTime",
|
3222
|
+
"required": true,
|
3223
|
+
"type": "int"
|
3224
|
+
},
|
3225
|
+
{
|
3226
|
+
"disabled": false,
|
3227
|
+
"document": "查找结束时间",
|
3228
|
+
"example": "1737356008",
|
3229
|
+
"member": "int64",
|
3230
|
+
"name": "EndTime",
|
3231
|
+
"required": true,
|
3232
|
+
"type": "int"
|
3233
|
+
}
|
3234
|
+
],
|
3235
|
+
"type": "object"
|
3236
|
+
},
|
3237
|
+
"DescribeAICallExtractResultResponse": {
|
3238
|
+
"document": "DescribeAICallExtractResult返回参数结构体",
|
3239
|
+
"members": [
|
3240
|
+
{
|
3241
|
+
"disabled": false,
|
3242
|
+
"document": "结果列表",
|
3243
|
+
"example": "[{\"InfoType\":\"Boolean\",\"InfoName\":\"兴趣\",\"InfoContent\":\"用户是否对产品感兴趣\",\"Result\":{\"Boolean\":true}}]",
|
3244
|
+
"member": "AICallExtractResultElement",
|
3245
|
+
"name": "ResultList",
|
3246
|
+
"output_required": false,
|
3247
|
+
"type": "list",
|
3248
|
+
"value_allowed_null": false
|
3249
|
+
},
|
3250
|
+
{
|
3251
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3252
|
+
"member": "string",
|
3253
|
+
"name": "RequestId",
|
3254
|
+
"type": "string"
|
3255
|
+
}
|
3256
|
+
],
|
3257
|
+
"type": "object"
|
3258
|
+
},
|
3027
3259
|
"DescribeActiveCarrierPrivilegeNumberRequest": {
|
3028
3260
|
"document": "DescribeActiveCarrierPrivilegeNumber请求参数结构体",
|
3029
3261
|
"members": [
|
@@ -168,6 +168,14 @@
|
|
168
168
|
"title": "删除坐席信息示例"
|
169
169
|
}
|
170
170
|
],
|
171
|
+
"DescribeAICallExtractResult": [
|
172
|
+
{
|
173
|
+
"document": "查询 AI 通话内容提取结果示例",
|
174
|
+
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAICall\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000000,\n \"SessionId\": \"adcf61b8-dbb9-4c20-87bf-c0744c04bade\",\n \"StartTime\": 1737350008,\n \"EndTime\": 1737356008\n}",
|
175
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6bb56a09-2787-40bc-80c5-dc6dab783eff\",\n \"ResultList\": [\n {\n \"InfoType\": \"Boolean\",\n \"InfoName\": \"兴趣\",\n \"InfoContent\": \"用户是否对产品感兴趣\",\n \"Result\": {\n \"Text\": \"\",\n \"Chosen\": [],\n \"Boolean\": true,\n \"Number\": 0\n }\n }\n ]\n }\n}",
|
176
|
+
"title": "查询 AI 通话内容提取结果示例"
|
177
|
+
}
|
178
|
+
],
|
171
179
|
"DescribeActiveCarrierPrivilegeNumber": [
|
172
180
|
{
|
173
181
|
"document": "查询生效的白名单规则",
|
@@ -589,7 +589,7 @@
|
|
589
589
|
"document": " ",
|
590
590
|
"input": "POST / HTTP/1.1\nHost: dnspod.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRecord\n<公共请求参数>\n\n{\n \"Domain\": \"dnspod.site\",\n \"DomainId\": 62,\n \"SubDomain\": \"bbbb\",\n \"RecordType\": \"A\",\n \"RecordLine\": \"默认\",\n \"RecordLineId\": \"0\",\n \"Value\": \"129.23.32.32\",\n \"MX\": 0,\n \"TTL\": 600,\n \"Weight\": 10,\n \"Status\": \"DISABLE\",\n \"RecordId\": 162\n}",
|
591
591
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ab4f1426-ea15-42ea-8183-dc1b44151166\",\n \"RecordId\": 162\n }\n}",
|
592
|
-
"title": "
|
592
|
+
"title": "修改记录"
|
593
593
|
}
|
594
594
|
],
|
595
595
|
"ModifyRecordBatch": [
|
@@ -2395,7 +2395,7 @@
|
|
2395
2395
|
"members": [
|
2396
2396
|
{
|
2397
2397
|
"disabled": false,
|
2398
|
-
"document": "E证通流程的唯一标识,调用GetEidToken接口时生成。",
|
2398
|
+
"document": "E证通流程的唯一标识,调用[GetEidToken](https://cloud.tencent.com/document/product/1007/54089)接口时生成。",
|
2399
2399
|
"example": "CE661F1A-0F1E-45BD-BE133-34C05CEA76812",
|
2400
2400
|
"member": "string",
|
2401
2401
|
"name": "EidToken",
|