tccli 3.0.1280.1__py2.py3-none-any.whl → 3.0.1282.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.
Files changed (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/acp/v20220105/api.json +80 -77
  3. tccli/services/acp/v20220105/examples.json +1 -1
  4. tccli/services/aiart/aiart_client.py +53 -0
  5. tccli/services/aiart/v20221229/api.json +62 -0
  6. tccli/services/aiart/v20221229/examples.json +8 -0
  7. tccli/services/autoscaling/v20180419/api.json +1 -1
  8. tccli/services/ccc/v20200210/api.json +9 -0
  9. tccli/services/cfg/v20210820/api.json +36 -23
  10. tccli/services/cfg/v20210820/examples.json +11 -11
  11. tccli/services/controlcenter/controlcenter_client.py +212 -0
  12. tccli/services/controlcenter/v20230110/api.json +516 -0
  13. tccli/services/controlcenter/v20230110/examples.json +32 -0
  14. tccli/services/cvm/cvm_client.py +212 -0
  15. tccli/services/cvm/v20170312/api.json +793 -4
  16. tccli/services/cvm/v20170312/examples.json +32 -0
  17. tccli/services/cynosdb/v20190107/api.json +13 -3
  18. tccli/services/dlc/v20210125/api.json +11 -0
  19. tccli/services/domain/v20180808/api.json +3 -3
  20. tccli/services/ess/v20201111/api.json +2 -2
  21. tccli/services/essbasic/v20210526/api.json +2 -2
  22. tccli/services/ims/v20201229/api.json +1 -1
  23. tccli/services/iotexplorer/v20190423/api.json +128 -0
  24. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  25. tccli/services/keewidb/v20220308/api.json +2 -2
  26. tccli/services/lcic/v20220817/api.json +110 -63
  27. tccli/services/lcic/v20220817/examples.json +6 -6
  28. tccli/services/live/v20180801/api.json +15 -14
  29. tccli/services/lke/lke_client.py +4 -110
  30. tccli/services/lke/v20231130/api.json +0 -164
  31. tccli/services/lke/v20231130/examples.json +0 -16
  32. tccli/services/lowcode/v20210108/api.json +120 -11
  33. tccli/services/lowcode/v20210108/examples.json +9 -9
  34. tccli/services/mariadb/v20170312/api.json +7 -7
  35. tccli/services/mariadb/v20170312/examples.json +1 -1
  36. tccli/services/mongodb/v20190725/api.json +3 -3
  37. tccli/services/mqtt/mqtt_client.py +216 -4
  38. tccli/services/mqtt/v20240516/api.json +515 -0
  39. tccli/services/mqtt/v20240516/examples.json +38 -0
  40. tccli/services/ocr/v20181119/api.json +3 -3
  41. tccli/services/organization/organization_client.py +114 -8
  42. tccli/services/organization/v20210331/api.json +86 -0
  43. tccli/services/organization/v20210331/examples.json +16 -0
  44. tccli/services/partners/partners_client.py +61 -8
  45. tccli/services/partners/v20180321/api.json +110 -0
  46. tccli/services/partners/v20180321/examples.json +8 -0
  47. tccli/services/sms/v20190711/examples.json +1 -1
  48. tccli/services/sms/v20210111/examples.json +1 -1
  49. tccli/services/tat/v20201028/api.json +141 -128
  50. tccli/services/tat/v20201028/examples.json +12 -12
  51. tccli/services/teo/v20220901/api.json +4 -4
  52. tccli/services/tke/v20180525/api.json +293 -293
  53. tccli/services/tke/v20220501/api.json +2 -2
  54. tccli/services/vdb/v20230616/api.json +12 -12
  55. {tccli-3.0.1280.1.dist-info → tccli-3.0.1282.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1280.1.dist-info → tccli-3.0.1282.1.dist-info}/RECORD +59 -59
  57. {tccli-3.0.1280.1.dist-info → tccli-3.0.1282.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1280.1.dist-info → tccli-3.0.1282.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1280.1.dist-info → tccli-3.0.1282.1.dist-info}/license_files/LICENSE +0 -0
@@ -4426,7 +4426,7 @@
4426
4426
  {
4427
4427
  "disabled": false,
4428
4428
  "document": "推流域名。",
4429
- "example": "",
4429
+ "example": "push.domain.com",
4430
4430
  "member": "string",
4431
4431
  "name": "DomainName",
4432
4432
  "required": true,
@@ -4435,7 +4435,7 @@
4435
4435
  {
4436
4436
  "disabled": false,
4437
4437
  "document": "推流路径,与推流和播放地址中的AppName保持一致,默认为live。",
4438
- "example": "",
4438
+ "example": "app",
4439
4439
  "member": "string",
4440
4440
  "name": "AppName",
4441
4441
  "required": true,
@@ -4444,7 +4444,7 @@
4444
4444
  {
4445
4445
  "disabled": false,
4446
4446
  "document": "模板ID。",
4447
- "example": "",
4447
+ "example": "78895",
4448
4448
  "member": "int64",
4449
4449
  "name": "TemplateId",
4450
4450
  "required": true,
@@ -5023,7 +5023,7 @@
5023
5023
  {
5024
5024
  "disabled": false,
5025
5025
  "document": "流名称。",
5026
- "example": "",
5026
+ "example": "livetest",
5027
5027
  "member": "string",
5028
5028
  "name": "StreamName",
5029
5029
  "required": true,
@@ -5032,7 +5032,7 @@
5032
5032
  {
5033
5033
  "disabled": false,
5034
5034
  "document": "推流路径,与推流和播放地址中的 AppName保持一致,默认为 live。",
5035
- "example": "",
5035
+ "example": "live",
5036
5036
  "member": "string",
5037
5037
  "name": "AppName",
5038
5038
  "required": false,
@@ -5041,7 +5041,7 @@
5041
5041
  {
5042
5042
  "disabled": false,
5043
5043
  "document": "推流域名。多域名推流必须设置。",
5044
- "example": "",
5044
+ "example": "5000.live.push.com",
5045
5045
  "member": "string",
5046
5046
  "name": "DomainName",
5047
5047
  "required": false,
@@ -5050,7 +5050,7 @@
5050
5050
  {
5051
5051
  "disabled": false,
5052
5052
  "document": "录制开始时间。中国标准时间,需要 URLEncode(rfc3986)。如 2017-01-01 10:10:01,编码为:2017-01-01+10%3a10%3a01。\n定时录制模式,必须设置该字段;实时视频录制模式,忽略该字段。",
5053
- "example": "",
5053
+ "example": "2017-01-01+10%3a10%3a01",
5054
5054
  "member": "string",
5055
5055
  "name": "StartTime",
5056
5056
  "required": false,
@@ -5059,7 +5059,7 @@
5059
5059
  {
5060
5060
  "disabled": false,
5061
5061
  "document": "录制结束时间。中国标准时间,需要 URLEncode(rfc3986)。如 2017-01-01 10:30:01,编码为:2017-01-01+10%3a30%3a01。\n定时录制模式,必须设置该字段;实时录制模式,为可选字段。如果通过Highlight参数,设置录制为实时视频录制模式,其设置的结束时间不应超过当前时间+30分钟,如果设置的结束时间超过当前时间+30分钟或者小于当前时间或者不设置该参数,则实际结束时间为当前时间+30分钟。",
5062
- "example": "",
5062
+ "example": "2017-01-01+10%3a30%3a01",
5063
5063
  "member": "string",
5064
5064
  "name": "EndTime",
5065
5065
  "required": false,
@@ -5068,7 +5068,7 @@
5068
5068
  {
5069
5069
  "disabled": false,
5070
5070
  "document": "录制类型。\n“video” : 音视频录制【默认】。\n“audio” : 纯音频录制。\n在定时录制模式或实时视频录制模式下,该参数均有效,不区分大小写。",
5071
- "example": "",
5071
+ "example": "video",
5072
5072
  "member": "string",
5073
5073
  "name": "RecordType",
5074
5074
  "required": false,
@@ -5077,7 +5077,7 @@
5077
5077
  {
5078
5078
  "disabled": false,
5079
5079
  "document": "录制文件格式。其值为:\n“flv”【默认】,“hls”,”mp4”,“aac”,”mp3”。\n在定时录制模式或实时视频录制模式下,该参数均有效,不区分大小写。",
5080
- "example": "",
5080
+ "example": "flv",
5081
5081
  "member": "string",
5082
5082
  "name": "FileFormat",
5083
5083
  "required": false,
@@ -5086,7 +5086,7 @@
5086
5086
  {
5087
5087
  "disabled": false,
5088
5088
  "document": "开启实时视频录制模式标志。\n0:不开启实时视频录制模式,即定时录制模式【默认】。见[示例一](#.E7.A4.BA.E4.BE.8B1-.E5.88.9B.E5.BB.BA.E5.AE.9A.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1)。\n1:开启实时视频录制模式。见[示例二](#.E7.A4.BA.E4.BE.8B2-.E5.88.9B.E5.BB.BA.E5.AE.9E.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1)。",
5089
- "example": "",
5089
+ "example": "0",
5090
5090
  "member": "int64",
5091
5091
  "name": "Highlight",
5092
5092
  "required": false,
@@ -5095,7 +5095,7 @@
5095
5095
  {
5096
5096
  "disabled": false,
5097
5097
  "document": "开启 A+B=C混流C流录制标志。\n0:不开启 A+B=C混流C流录制【默认】。\n1:开启 A+B=C混流C流录制。\n在定时录制模式或实时视频录制模式下,该参数均有效。",
5098
- "example": "",
5098
+ "example": "0",
5099
5099
  "member": "int64",
5100
5100
  "name": "MixStream",
5101
5101
  "required": false,
@@ -5104,7 +5104,7 @@
5104
5104
  {
5105
5105
  "disabled": false,
5106
5106
  "document": "录制流参数。当前支持以下参数:\nrecord_interval - 录制分片时长,单位 秒,1800 - 7200。\nstorage_time - 录制文件存储时长,单位 秒。\neg. record_interval=3600&storage_time=2592000。\n注:参数需要url encode。\n在定时录制模式或实时视频录制模式下,该参数均有效。",
5107
- "example": "",
5107
+ "example": "record_interval%3D3600",
5108
5108
  "member": "string",
5109
5109
  "name": "StreamParam",
5110
5110
  "required": false,
@@ -5119,9 +5119,10 @@
5119
5119
  {
5120
5120
  "disabled": false,
5121
5121
  "document": "任务 ID,全局唯一标识录制任务。",
5122
- "example": "",
5122
+ "example": "102916280",
5123
5123
  "member": "uint64",
5124
5124
  "name": "TaskId",
5125
+ "output_required": true,
5125
5126
  "type": "int",
5126
5127
  "value_allowed_null": false
5127
5128
  },
@@ -1317,7 +1317,7 @@ def doDescribeSearchStatsGraph(args, parsed_globals):
1317
1317
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1318
1318
 
1319
1319
 
1320
- def doQueryParseDocResult(args, parsed_globals):
1320
+ def doDeleteDocCate(args, parsed_globals):
1321
1321
  g_param = parse_global_arg(parsed_globals)
1322
1322
 
1323
1323
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1346,11 +1346,11 @@ def doQueryParseDocResult(args, parsed_globals):
1346
1346
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
1347
1347
  client._sdkVersion += ("_CLI_" + __version__)
1348
1348
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1349
- model = models.QueryParseDocResultRequest()
1349
+ model = models.DeleteDocCateRequest()
1350
1350
  model.from_json_string(json.dumps(args))
1351
1351
  start_time = time.time()
1352
1352
  while True:
1353
- rsp = client.QueryParseDocResult(model)
1353
+ rsp = client.DeleteDocCate(model)
1354
1354
  result = rsp.to_json_string()
1355
1355
  try:
1356
1356
  json_obj = json.loads(result)
@@ -2253,58 +2253,6 @@ def doDescribeTokenUsage(args, parsed_globals):
2253
2253
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2254
2254
 
2255
2255
 
2256
- def doDeleteDocCate(args, parsed_globals):
2257
- g_param = parse_global_arg(parsed_globals)
2258
-
2259
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2260
- cred = credential.CVMRoleCredential()
2261
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2262
- cred = credential.STSAssumeRoleCredential(
2263
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2264
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2265
- )
2266
- 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):
2267
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2268
- else:
2269
- cred = credential.Credential(
2270
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2271
- )
2272
- http_profile = HttpProfile(
2273
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2274
- reqMethod="POST",
2275
- endpoint=g_param[OptionsDefine.Endpoint],
2276
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2277
- )
2278
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2279
- if g_param[OptionsDefine.Language]:
2280
- profile.language = g_param[OptionsDefine.Language]
2281
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2282
- client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
2283
- client._sdkVersion += ("_CLI_" + __version__)
2284
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
2285
- model = models.DeleteDocCateRequest()
2286
- model.from_json_string(json.dumps(args))
2287
- start_time = time.time()
2288
- while True:
2289
- rsp = client.DeleteDocCate(model)
2290
- result = rsp.to_json_string()
2291
- try:
2292
- json_obj = json.loads(result)
2293
- except TypeError as e:
2294
- json_obj = json.loads(result.decode('utf-8')) # python3.3
2295
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2296
- break
2297
- cur_time = time.time()
2298
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2299
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2300
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2301
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2302
- else:
2303
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2304
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2305
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2306
-
2307
-
2308
2256
  def doListQACate(args, parsed_globals):
2309
2257
  g_param = parse_global_arg(parsed_globals)
2310
2258
 
@@ -3449,58 +3397,6 @@ def doModifyRejectedQuestion(args, parsed_globals):
3449
3397
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3450
3398
 
3451
3399
 
3452
- def doParseDoc(args, parsed_globals):
3453
- g_param = parse_global_arg(parsed_globals)
3454
-
3455
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3456
- cred = credential.CVMRoleCredential()
3457
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3458
- cred = credential.STSAssumeRoleCredential(
3459
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3460
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3461
- )
3462
- 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):
3463
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3464
- else:
3465
- cred = credential.Credential(
3466
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3467
- )
3468
- http_profile = HttpProfile(
3469
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3470
- reqMethod="POST",
3471
- endpoint=g_param[OptionsDefine.Endpoint],
3472
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3473
- )
3474
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3475
- if g_param[OptionsDefine.Language]:
3476
- profile.language = g_param[OptionsDefine.Language]
3477
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3478
- client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3479
- client._sdkVersion += ("_CLI_" + __version__)
3480
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
3481
- model = models.ParseDocRequest()
3482
- model.from_json_string(json.dumps(args))
3483
- start_time = time.time()
3484
- while True:
3485
- rsp = client.ParseDoc(model)
3486
- result = rsp.to_json_string()
3487
- try:
3488
- json_obj = json.loads(result)
3489
- except TypeError as e:
3490
- json_obj = json.loads(result.decode('utf-8')) # python3.3
3491
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3492
- break
3493
- cur_time = time.time()
3494
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3495
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3496
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3497
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3498
- else:
3499
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3500
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3501
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3502
-
3503
-
3504
3400
  def doIsTransferIntent(args, parsed_globals):
3505
3401
  g_param = parse_global_arg(parsed_globals)
3506
3402
 
@@ -5305,7 +5201,7 @@ ACTION_MAP = {
5305
5201
  "ListAttributeLabel": doListAttributeLabel,
5306
5202
  "ListReleaseConfigPreview": doListReleaseConfigPreview,
5307
5203
  "DescribeSearchStatsGraph": doDescribeSearchStatsGraph,
5308
- "QueryParseDocResult": doQueryParseDocResult,
5204
+ "DeleteDocCate": doDeleteDocCate,
5309
5205
  "VerifyQA": doVerifyQA,
5310
5206
  "CreateDocCate": doCreateDocCate,
5311
5207
  "CheckAttributeLabelExist": doCheckAttributeLabelExist,
@@ -5323,7 +5219,6 @@ ACTION_MAP = {
5323
5219
  "GroupDoc": doGroupDoc,
5324
5220
  "ListApp": doListApp,
5325
5221
  "DescribeTokenUsage": doDescribeTokenUsage,
5326
- "DeleteDocCate": doDeleteDocCate,
5327
5222
  "ListQACate": doListQACate,
5328
5223
  "ListAppCategory": doListAppCategory,
5329
5224
  "DescribeQA": doDescribeQA,
@@ -5346,7 +5241,6 @@ ACTION_MAP = {
5346
5241
  "GetDocPreview": doGetDocPreview,
5347
5242
  "DescribeConcurrencyUsage": doDescribeConcurrencyUsage,
5348
5243
  "ModifyRejectedQuestion": doModifyRejectedQuestion,
5349
- "ParseDoc": doParseDoc,
5350
5244
  "IsTransferIntent": doIsTransferIntent,
5351
5245
  "DescribeReleaseInfo": doDescribeReleaseInfo,
5352
5246
  "ListRelease": doListRelease,
@@ -602,20 +602,6 @@
602
602
  "output": "ModifyRejectedQuestionResponse",
603
603
  "status": "online"
604
604
  },
605
- "ParseDoc": {
606
- "document": "接口已迁移到新接口了,无调用量\n\n接口即将下线,请切换使用新接口:[文档解析](https://cloud.tencent.com/document/product/1759/107504)",
607
- "input": "ParseDocRequest",
608
- "name": "文档解析旧版(请迁移新接口)",
609
- "output": "ParseDocResponse",
610
- "status": "deprecated"
611
- },
612
- "QueryParseDocResult": {
613
- "document": "接口已迁移到新接口了,无调用量\n\n查询文档解析结果。该接口需开通文档解析原子能力后调用。文档解析原子能力内测中,如有需要请联系架构师或[联系客服](https://cloud.tencent.com/act/event/Online_service) 。",
614
- "input": "QueryParseDocResultRequest",
615
- "name": "查询文档解析结果",
616
- "output": "QueryParseDocResultResponse",
617
- "status": "deprecated"
618
- },
619
605
  "QueryRewrite": {
620
606
  "document": "多轮改写(QueryRewrite)主要用于多轮对话中,进行指代消解和省略补全。使用本接口,无需输入prompt描述,根据对话历史即可生成更精确的用户查询。在应用场景上,本接口可应用于智能问答、对话式搜索等多种场景。\n本接口(QueryRewrite)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。",
621
607
  "input": "QueryRewriteRequest",
@@ -11896,79 +11882,6 @@
11896
11882
  ],
11897
11883
  "usage": "both"
11898
11884
  },
11899
- "ParseDocRequest": {
11900
- "document": "ParseDoc请求参数结构体",
11901
- "members": [
11902
- {
11903
- "disabled": false,
11904
- "document": "文件名称(需要包括文件后缀, 最大长度1024字节)",
11905
- "example": "产品说明.docx",
11906
- "member": "string",
11907
- "name": "Name",
11908
- "required": true,
11909
- "type": "string"
11910
- },
11911
- {
11912
- "disabled": false,
11913
- "document": "文件下载链接 (支持的文件类型: docx, txt, markdown, pdf), 该地址需要外网可以直接无状态访问",
11914
- "example": "https://file.download.com/产品说明.docx",
11915
- "member": "string",
11916
- "name": "Url",
11917
- "required": true,
11918
- "type": "string"
11919
- },
11920
- {
11921
- "disabled": false,
11922
- "document": "任务ID, 用于幂等去重, 业务自行定义(最大长度64字节)",
11923
- "example": "zWSLmu",
11924
- "member": "string",
11925
- "name": "TaskId",
11926
- "required": true,
11927
- "type": "string"
11928
- },
11929
- {
11930
- "disabled": false,
11931
- "document": "切分策略",
11932
- "example": "default",
11933
- "member": "string",
11934
- "name": "Policy",
11935
- "required": false,
11936
- "type": "string"
11937
- },
11938
- {
11939
- "disabled": true,
11940
- "document": "默认值: parse",
11941
- "example": "parse: 解析",
11942
- "member": "string",
11943
- "name": "Operate",
11944
- "required": false,
11945
- "type": "string"
11946
- }
11947
- ],
11948
- "type": "object"
11949
- },
11950
- "ParseDocResponse": {
11951
- "document": "ParseDoc返回参数结构体",
11952
- "members": [
11953
- {
11954
- "disabled": false,
11955
- "document": "任务ID",
11956
- "example": "ZQXi99vCPEAfrbiF",
11957
- "member": "string",
11958
- "name": "TaskId",
11959
- "output_required": true,
11960
- "type": "string",
11961
- "value_allowed_null": false
11962
- },
11963
- {
11964
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
11965
- "member": "string",
11966
- "name": "RequestId",
11967
- "type": "string"
11968
- }
11969
- ],
11970
- "type": "object"
11971
- },
11972
11885
  "PluginToolReqParam": {
11973
11886
  "document": "插件参数请求结构",
11974
11887
  "members": [
@@ -12472,83 +12385,6 @@
12472
12385
  ],
12473
12386
  "usage": "in"
12474
12387
  },
12475
- "QueryParseDocResultRequest": {
12476
- "document": "QueryParseDocResult请求参数结构体",
12477
- "members": [
12478
- {
12479
- "disabled": false,
12480
- "document": "任务ID",
12481
- "example": "ZQXi99vCPEAfrbiF",
12482
- "member": "string",
12483
- "name": "TaskId",
12484
- "required": true,
12485
- "type": "string"
12486
- }
12487
- ],
12488
- "type": "object"
12489
- },
12490
- "QueryParseDocResultResponse": {
12491
- "document": "QueryParseDocResult返回参数结构体",
12492
- "members": [
12493
- {
12494
- "disabled": false,
12495
- "document": "等待 / 执行中 / 成功 / 失败",
12496
- "example": "waiting / running / success / fail",
12497
- "member": "string",
12498
- "name": "Status",
12499
- "output_required": true,
12500
- "type": "string",
12501
- "value_allowed_null": false
12502
- },
12503
- {
12504
- "disabled": false,
12505
- "document": "解析后的文件内容",
12506
- "example": "产品文档.zip",
12507
- "member": "string",
12508
- "name": "Name",
12509
- "output_required": false,
12510
- "type": "string",
12511
- "value_allowed_null": false
12512
- },
12513
- {
12514
- "disabled": false,
12515
- "document": "文件下载地址",
12516
- "example": "https://file.download.com/产品文档.zip",
12517
- "member": "string",
12518
- "name": "Url",
12519
- "output_required": false,
12520
- "type": "string",
12521
- "value_allowed_null": false
12522
- },
12523
- {
12524
- "disabled": false,
12525
- "document": "解析失败原因",
12526
- "example": "convert task fail",
12527
- "member": "string",
12528
- "name": "Reason",
12529
- "output_required": false,
12530
- "type": "string",
12531
- "value_allowed_null": false
12532
- },
12533
- {
12534
- "disabled": false,
12535
- "document": "消耗量,输出页数",
12536
- "example": "{\"TotalPages\":10}",
12537
- "member": "Usage",
12538
- "name": "Usage",
12539
- "output_required": false,
12540
- "type": "object",
12541
- "value_allowed_null": false
12542
- },
12543
- {
12544
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
12545
- "member": "string",
12546
- "name": "RequestId",
12547
- "type": "string"
12548
- }
12549
- ],
12550
- "type": "object"
12551
- },
12552
12388
  "QueryRewriteRequest": {
12553
12389
  "document": "QueryRewrite请求参数结构体",
12554
12390
  "members": [
@@ -700,22 +700,6 @@
700
700
  "title": "修改拒答问题"
701
701
  }
702
702
  ],
703
- "ParseDoc": [
704
- {
705
- "document": "文档解析",
706
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseDoc\n<公共请求参数>\n\n{\n \"Name\": \"微信城市服务CityID说明文档.docx\",\n \"Url\": \"https://wximg.qq.com/cityservices/doc/res/cityservices_cityids.docx\",\n \"TaskId\": \"D78iBBGi\",\n \"Policy\": \"default\",\n \"Operate\": \"split\"\n}",
707
- "output": "{\n \"Response\": {\n \"RequestId\": \"8ea5a507-108f-4b05-add4-b07de8580590\",\n \"TaskId\": \"D78iBBGi\"\n }\n}",
708
- "title": "文档解析"
709
- }
710
- ],
711
- "QueryParseDocResult": [
712
- {
713
- "document": "查询文档解析结果",
714
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryParseDocResult\n<公共请求参数>\n\n{\n \"TaskId\": \"D78iBBGi\"\n}",
715
- "output": "{\n \"Response\": {\n \"Name\": \"D78iBBGi.zip\",\n \"Reason\": \"\",\n \"RequestId\": \"acd2b5f3-350f-4171-92be-e1c70f3e73d7\",\n \"Status\": \"success\",\n \"Url\": \"https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/%2Fatomic/2/D78iBBGi.zip?q-sign-algorithm=sha1&q-ak=xxxxxxxxx&q-sign-time=1706792626%3B1706796226&q-key-time=1706792626%3B1706796226&q-header-list=host&q-url-param-list=&q-signature=e3d46a97846b256ff89f3698*******************\",\n \"Usage\": {\n \"TotalPages\": 1\n }\n }\n}",
716
- "title": "查询文档解析结果"
717
- }
718
- ],
719
703
  "QueryRewrite": [
720
704
  {
721
705
  "document": "多轮改写",