tccli 3.0.1315.1__py2.py3-none-any.whl → 3.0.1317.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 (62) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/batch/v20170312/api.json +1 -1
  3. tccli/services/bh/v20230418/api.json +2 -2
  4. tccli/services/cbs/v20170312/api.json +108 -98
  5. tccli/services/cbs/v20170312/examples.json +12 -12
  6. tccli/services/cdb/v20170320/api.json +41 -28
  7. tccli/services/cdb/v20170320/examples.json +12 -0
  8. tccli/services/cdwdoris/v20211228/api.json +20 -0
  9. tccli/services/cfs/v20190719/api.json +39 -39
  10. tccli/services/cfs/v20190719/examples.json +10 -10
  11. tccli/services/cfw/v20190904/api.json +4 -4
  12. tccli/services/cvm/v20170312/api.json +22 -22
  13. tccli/services/cvm/v20170312/examples.json +1 -1
  14. tccli/services/cynosdb/v20190107/api.json +163 -4
  15. tccli/services/dnspod/v20210323/api.json +102 -82
  16. tccli/services/dnspod/v20210323/examples.json +28 -28
  17. tccli/services/domain/v20180808/api.json +10 -10
  18. tccli/services/domain/v20180808/examples.json +1 -1
  19. tccli/services/emr/v20190103/api.json +10 -0
  20. tccli/services/es/v20180416/api.json +49 -0
  21. tccli/services/ess/ess_client.py +53 -0
  22. tccli/services/ess/v20201111/api.json +111 -11
  23. tccli/services/ess/v20201111/examples.json +9 -1
  24. tccli/services/essbasic/v20210526/api.json +25 -7
  25. tccli/services/essbasic/v20210526/examples.json +10 -4
  26. tccli/services/gs/v20191118/api.json +22 -0
  27. tccli/services/hai/v20230812/api.json +59 -59
  28. tccli/services/hai/v20230812/examples.json +6 -6
  29. tccli/services/lke/v20231130/api.json +412 -18
  30. tccli/services/lkeap/lkeap_client.py +53 -53
  31. tccli/services/lkeap/v20240522/api.json +90 -70
  32. tccli/services/lkeap/v20240522/examples.json +8 -8
  33. tccli/services/mps/v20190612/api.json +163 -0
  34. tccli/services/mps/v20190612/examples.json +1 -1
  35. tccli/services/mrs/v20200910/api.json +30 -0
  36. tccli/services/postgres/postgres_client.py +24 -183
  37. tccli/services/postgres/v20170312/api.json +0 -157
  38. tccli/services/postgres/v20170312/examples.json +0 -36
  39. tccli/services/privatedns/v20201028/api.json +6 -6
  40. tccli/services/privatedns/v20201028/examples.json +2 -2
  41. tccli/services/pts/v20210728/api.json +10 -0
  42. tccli/services/ssl/v20191205/api.json +4 -4
  43. tccli/services/tbaas/v20180416/api.json +3 -3
  44. tccli/services/tbaas/v20180416/examples.json +1 -1
  45. tccli/services/tcbr/v20220217/api.json +16 -16
  46. tccli/services/teo/v20220901/api.json +39 -11
  47. tccli/services/teo/v20220901/examples.json +1 -1
  48. tccli/services/tke/tke_client.py +8 -61
  49. tccli/services/tke/v20180525/api.json +16 -114
  50. tccli/services/tke/v20180525/examples.json +0 -8
  51. tccli/services/tke/v20220501/api.json +61 -1
  52. tccli/services/tke/v20220501/examples.json +1 -1
  53. tccli/services/tms/v20201229/api.json +27 -8
  54. tccli/services/tms/v20201229/examples.json +2 -2
  55. tccli/services/vpc/v20170312/api.json +12 -12
  56. tccli/services/vpc/v20170312/examples.json +2 -2
  57. tccli/services/waf/v20180125/api.json +78 -22
  58. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/METADATA +2 -2
  59. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/RECORD +62 -62
  60. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/WHEEL +0 -0
  61. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/entry_points.txt +0 -0
  62. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/license_files/LICENSE +0 -0
@@ -173,6 +173,58 @@ def doGetReconstructDocumentResult(args, parsed_globals):
173
173
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
174
 
175
175
 
176
+ def doRetrieveKnowledgeRealtime(args, parsed_globals):
177
+ g_param = parse_global_arg(parsed_globals)
178
+
179
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
180
+ cred = credential.CVMRoleCredential()
181
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
182
+ cred = credential.STSAssumeRoleCredential(
183
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
184
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
185
+ )
186
+ 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):
187
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
188
+ else:
189
+ cred = credential.Credential(
190
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
191
+ )
192
+ http_profile = HttpProfile(
193
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
194
+ reqMethod="POST",
195
+ endpoint=g_param[OptionsDefine.Endpoint],
196
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
197
+ )
198
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
199
+ if g_param[OptionsDefine.Language]:
200
+ profile.language = g_param[OptionsDefine.Language]
201
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
202
+ client = mod.LkeapClient(cred, g_param[OptionsDefine.Region], profile)
203
+ client._sdkVersion += ("_CLI_" + __version__)
204
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
205
+ model = models.RetrieveKnowledgeRealtimeRequest()
206
+ model.from_json_string(json.dumps(args))
207
+ start_time = time.time()
208
+ while True:
209
+ rsp = client.RetrieveKnowledgeRealtime(model)
210
+ result = rsp.to_json_string()
211
+ try:
212
+ json_obj = json.loads(result)
213
+ except TypeError as e:
214
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
215
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
216
+ break
217
+ cur_time = time.time()
218
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
219
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
220
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
221
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
222
+ else:
223
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
224
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
225
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
+
227
+
176
228
  def doGetSplitDocumentResult(args, parsed_globals):
177
229
  g_param = parse_global_arg(parsed_globals)
178
230
 
@@ -1265,58 +1317,6 @@ def doGetCharacterUsage(args, parsed_globals):
1265
1317
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1266
1318
 
1267
1319
 
1268
- def doUploadDocRealtime(args, parsed_globals):
1269
- g_param = parse_global_arg(parsed_globals)
1270
-
1271
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1272
- cred = credential.CVMRoleCredential()
1273
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1274
- cred = credential.STSAssumeRoleCredential(
1275
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1276
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1277
- )
1278
- 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):
1279
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1280
- else:
1281
- cred = credential.Credential(
1282
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1283
- )
1284
- http_profile = HttpProfile(
1285
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1286
- reqMethod="POST",
1287
- endpoint=g_param[OptionsDefine.Endpoint],
1288
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1289
- )
1290
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1291
- if g_param[OptionsDefine.Language]:
1292
- profile.language = g_param[OptionsDefine.Language]
1293
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1294
- client = mod.LkeapClient(cred, g_param[OptionsDefine.Region], profile)
1295
- client._sdkVersion += ("_CLI_" + __version__)
1296
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
1297
- model = models.UploadDocRealtimeRequest()
1298
- model.from_json_string(json.dumps(args))
1299
- start_time = time.time()
1300
- while True:
1301
- rsp = client.UploadDocRealtime(model)
1302
- result = rsp.to_json_string()
1303
- try:
1304
- json_obj = json.loads(result)
1305
- except TypeError as e:
1306
- json_obj = json.loads(result.decode('utf-8')) # python3.3
1307
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1308
- break
1309
- cur_time = time.time()
1310
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1311
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1312
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1313
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1314
- else:
1315
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1316
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1317
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1318
-
1319
-
1320
1320
  def doUploadDoc(args, parsed_globals):
1321
1321
  g_param = parse_global_arg(parsed_globals)
1322
1322
 
@@ -1435,6 +1435,7 @@ ACTION_MAP = {
1435
1435
  "RetrieveKnowledge": doRetrieveKnowledge,
1436
1436
  "ModifyQA": doModifyQA,
1437
1437
  "GetReconstructDocumentResult": doGetReconstructDocumentResult,
1438
+ "RetrieveKnowledgeRealtime": doRetrieveKnowledgeRealtime,
1438
1439
  "GetSplitDocumentResult": doGetSplitDocumentResult,
1439
1440
  "DescribeDoc": doDescribeDoc,
1440
1441
  "ReconstructDocumentSSE": doReconstructDocumentSSE,
@@ -1456,7 +1457,6 @@ ACTION_MAP = {
1456
1457
  "DeleteKnowledgeBase": doDeleteKnowledgeBase,
1457
1458
  "CreateSplitDocumentFlow": doCreateSplitDocumentFlow,
1458
1459
  "GetCharacterUsage": doGetCharacterUsage,
1459
- "UploadDocRealtime": doUploadDocRealtime,
1460
1460
  "UploadDoc": doUploadDoc,
1461
1461
  "ChatCompletions": doChatCompletions,
1462
1462
 
@@ -168,6 +168,13 @@
168
168
  "output": "RetrieveKnowledgeResponse",
169
169
  "status": "online"
170
170
  },
171
+ "RetrieveKnowledgeRealtime": {
172
+ "document": "用于实时检索在UploadDocRealtime接口上传的实时文档内容。 使用场景:适用于在会话中对文档进行问答的场景",
173
+ "input": "RetrieveKnowledgeRealtimeRequest",
174
+ "name": "实时检索知识库内容",
175
+ "output": "RetrieveKnowledgeRealtimeResponse",
176
+ "status": "online"
177
+ },
171
178
  "RunRerank": {
172
179
  "document": "基于知识引擎精调模型技术的rerank模型,支持对多路召回的结果进行重排序,根据query与切片内容的相关性,按分数由高到低对切片进行排序,并输出对应的打分结果。",
173
180
  "input": "RunRerankRequest",
@@ -181,13 +188,6 @@
181
188
  "name": "上传文档",
182
189
  "output": "UploadDocResponse",
183
190
  "status": "online"
184
- },
185
- "UploadDocRealtime": {
186
- "document": "用于上传实时文档内容。\n实时文档在上传后可以立即通过SearchRealtime进行实时检索,适用于在会话中对文档进行问答的场景。",
187
- "input": "UploadDocRealtimeRequest",
188
- "name": "实时文档上传",
189
- "output": "UploadDocRealtimeResponse",
190
- "status": "online"
191
191
  }
192
192
  },
193
193
  "metadata": {
@@ -2371,6 +2371,89 @@
2371
2371
  ],
2372
2372
  "usage": "in"
2373
2373
  },
2374
+ "RetrieveKnowledgeRealtimeRequest": {
2375
+ "document": "RetrieveKnowledgeRealtime请求参数结构体",
2376
+ "members": [
2377
+ {
2378
+ "disabled": false,
2379
+ "document": "知识库ID。",
2380
+ "example": "1840331836752986944",
2381
+ "member": "string",
2382
+ "name": "KnowledgeBaseId",
2383
+ "required": true,
2384
+ "type": "string"
2385
+ },
2386
+ {
2387
+ "disabled": false,
2388
+ "document": "用于检索的文本。",
2389
+ "example": "国庆放几天假",
2390
+ "member": "string",
2391
+ "name": "Query",
2392
+ "required": true,
2393
+ "type": "string"
2394
+ },
2395
+ {
2396
+ "disabled": false,
2397
+ "document": "实时文件ID列表。",
2398
+ "example": "[\"1828720159590123264\"]",
2399
+ "member": "string",
2400
+ "name": "DocIds",
2401
+ "required": false,
2402
+ "type": "list"
2403
+ },
2404
+ {
2405
+ "disabled": false,
2406
+ "document": "检索方法,默认使用`HYBRID`混合检索。\n- `SEMANTIC`:语义检索\n- `FULL_TEXT`:全文检索\n- `HYBRID`:混合检索",
2407
+ "example": "SEMANTIC",
2408
+ "member": "string",
2409
+ "name": "RetrievalMethod",
2410
+ "required": false,
2411
+ "type": "string"
2412
+ },
2413
+ {
2414
+ "disabled": false,
2415
+ "document": "检索设置。",
2416
+ "example": "{\"TopK\":3,\"ScoreThreshold\":0.7}",
2417
+ "member": "RetrievalSetting",
2418
+ "name": "RetrievalSetting",
2419
+ "required": false,
2420
+ "type": "object"
2421
+ }
2422
+ ],
2423
+ "type": "object"
2424
+ },
2425
+ "RetrieveKnowledgeRealtimeResponse": {
2426
+ "document": "RetrieveKnowledgeRealtime返回参数结构体",
2427
+ "members": [
2428
+ {
2429
+ "disabled": false,
2430
+ "document": "检索结果",
2431
+ "example": "[{\"Metadata\":{\"Type\":\"DOC\",\"ResultSource\":\"SEMANTIC\",\"ChunkPageNumbers\":[1,2]},\"Score\":0,\"Title\":\"example.pdf\",\"Content\":\"国庆放7天假\"}]",
2432
+ "member": "RetrievalRecord",
2433
+ "name": "Records",
2434
+ "output_required": false,
2435
+ "type": "list",
2436
+ "value_allowed_null": false
2437
+ },
2438
+ {
2439
+ "disabled": false,
2440
+ "document": "检索结果数量",
2441
+ "example": "3",
2442
+ "member": "uint64",
2443
+ "name": "TotalCount",
2444
+ "output_required": false,
2445
+ "type": "int",
2446
+ "value_allowed_null": false
2447
+ },
2448
+ {
2449
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2450
+ "member": "string",
2451
+ "name": "RequestId",
2452
+ "type": "string"
2453
+ }
2454
+ ],
2455
+ "type": "object"
2456
+ },
2374
2457
  "RetrieveKnowledgeRequest": {
2375
2458
  "document": "RetrieveKnowledge请求参数结构体",
2376
2459
  "members": [
@@ -2633,69 +2716,6 @@
2633
2716
  ],
2634
2717
  "usage": "out"
2635
2718
  },
2636
- "UploadDocRealtimeRequest": {
2637
- "document": "UploadDocRealtime请求参数结构体",
2638
- "members": [
2639
- {
2640
- "disabled": false,
2641
- "document": "知识库ID",
2642
- "example": "4901991032",
2643
- "member": "string",
2644
- "name": "KnowledgeBaseId",
2645
- "required": true,
2646
- "type": "string"
2647
- },
2648
- {
2649
- "disabled": false,
2650
- "document": "文件名,可选。\n**需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。",
2651
- "example": "example.pdf",
2652
- "member": "string",
2653
- "name": "FileName",
2654
- "required": true,
2655
- "type": "string"
2656
- },
2657
- {
2658
- "disabled": false,
2659
- "document": "文件类型。\n**支持的文件类型:**\n- `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`\n\n**支持的文件大小:**\n - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M \n - `TXT`、`MD` 最大10M \n - 其他 最大20M",
2660
- "example": "PDF",
2661
- "member": "string",
2662
- "name": "FileType",
2663
- "required": true,
2664
- "type": "string"
2665
- },
2666
- {
2667
- "disabled": false,
2668
- "document": "文件的 URL 地址。\n文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。\n参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)",
2669
- "example": "https://example.com/example.pdf",
2670
- "member": "string",
2671
- "name": "FileUrl",
2672
- "required": true,
2673
- "type": "string"
2674
- },
2675
- {
2676
- "disabled": false,
2677
- "document": "过期时间的秒数,最长24小时,默认24小时",
2678
- "example": "86400",
2679
- "member": "int64",
2680
- "name": "ExpireTime",
2681
- "required": false,
2682
- "type": "int"
2683
- }
2684
- ],
2685
- "type": "object"
2686
- },
2687
- "UploadDocRealtimeResponse": {
2688
- "document": "UploadDocRealtime返回参数结构体",
2689
- "members": [
2690
- {
2691
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
2692
- "member": "string",
2693
- "name": "RequestId",
2694
- "type": "string"
2695
- }
2696
- ],
2697
- "type": "object"
2698
- },
2699
2719
  "UploadDocRequest": {
2700
2720
  "document": "UploadDoc请求参数结构体",
2701
2721
  "members": [
@@ -216,6 +216,14 @@
216
216
  "title": "语义检索(问答对)"
217
217
  }
218
218
  ],
219
+ "RetrieveKnowledgeRealtime": [
220
+ {
221
+ "document": "实时语义检索",
222
+ "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RetrieveKnowledgeRealtime\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"49019910106\",\n \"Query\": \"国庆节放几天假\",\n \"DocIds\": [\n \"1828720159590123264\"\n ],\n \"RetrievalMethod\": \"SEMANTIC\",\n \"RetrievalSetting\": {\n \"TopK\": 3,\n \"ScoreThreshold\": 0.7\n }\n}",
223
+ "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Metadata\": {\n \"Type\": \"DOC\",\n \"ResultSource\": \"SEMANTIC\",\n \"ChunkPageNumbers\": [\n 1\n ]\n },\n \"Title\": \"example.pdf\",\n \"Content\": \"国庆放七天假\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d422c101-96e6-4aeb-b51c-0ccb551a5a52\"\n }\n}",
224
+ "title": "实时语义检索"
225
+ }
226
+ ],
219
227
  "RunRerank": [
220
228
  {
221
229
  "document": "重排序",
@@ -231,14 +239,6 @@
231
239
  "output": "{\n \"Response\": {\n \"DocId\": \"1830996257459865536\",\n \"RequestId\": \"804c3fe0-05b1-48f9-8003-ab118658fec7\"\n }\n}",
232
240
  "title": "上传无属性标签文档"
233
241
  }
234
- ],
235
- "UploadDocRealtime": [
236
- {
237
- "document": "实时文档上传",
238
- "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UploadDocRealtime\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"594669442\",\n \"FileName\": \"changan-short.doc\",\n \"FileType\": \"DOC\",\n \"FileUrl\": \"https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/2024-08-20/1251316161/20548499/changan-short.doc?q-sign-algorithm=sha1&q-ak=AKxxxxxxx&q-sign-time=1726245910;1726253110&q-key-time=1726245910;1726253110&q-header-list=&q-url-param-list=&q-signature=114996cce2050ca1edbe6e69606e5c01b4c5a3a1\"\n}",
239
- "output": "{\n\t\"IsFinal\": true,\n\t\"DocId\": \"1828430526517084160\",\n\t\"Progress\": 80,\n\t\"PageNum\": 0,\n\t\"Status\": \"SUCCESS\"\n}",
240
- "title": "实时文档上传"
241
- }
242
242
  ]
243
243
  },
244
244
  "version": "1.0"
@@ -10890,6 +10890,15 @@
10890
10890
  "name": "EnhanceConfig",
10891
10891
  "required": false,
10892
10892
  "type": "object"
10893
+ },
10894
+ {
10895
+ "disabled": false,
10896
+ "document": "扩展参数,序列化的 json 字符串。",
10897
+ "example": "{\\\"video_info\\\":{\\\"keep_gop\\\":0}}",
10898
+ "member": "string",
10899
+ "name": "StdExtInfo",
10900
+ "required": false,
10901
+ "type": "string"
10893
10902
  }
10894
10903
  ],
10895
10904
  "type": "object"
@@ -13149,6 +13158,16 @@
13149
13158
  "type": "string",
13150
13159
  "value_allowed_null": true
13151
13160
  },
13161
+ {
13162
+ "disabled": false,
13163
+ "document": "图片处理任务的执行状态与结果。\n注意:此字段可能返回 null,表示取不到有效值。",
13164
+ "example": "无",
13165
+ "member": "ImageProcessTaskResult",
13166
+ "name": "ImageProcessTaskResultSet",
13167
+ "output_required": false,
13168
+ "type": "list",
13169
+ "value_allowed_null": true
13170
+ },
13152
13171
  {
13153
13172
  "disabled": false,
13154
13173
  "document": "任务的创建时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -18375,6 +18394,34 @@
18375
18394
  ],
18376
18395
  "usage": "both"
18377
18396
  },
18397
+ "ImageDenoiseConfig": {
18398
+ "document": "图片降噪配置",
18399
+ "members": [
18400
+ {
18401
+ "disabled": false,
18402
+ "document": "能力配置开关,可选值:\n<li>ON:开启;</li>\n<li>OFF:关闭。</li>\n默认值:ON。",
18403
+ "example": "ON",
18404
+ "member": "string",
18405
+ "name": "Switch",
18406
+ "output_required": true,
18407
+ "required": false,
18408
+ "type": "string",
18409
+ "value_allowed_null": false
18410
+ },
18411
+ {
18412
+ "disabled": false,
18413
+ "document": "类型,可选值:\n<li>weak</li>\n<li>strong</li>\n默认值:weak。\n注意:此字段可能返回 null,表示取不到有效值。",
18414
+ "example": "weak",
18415
+ "member": "string",
18416
+ "name": "Type",
18417
+ "output_required": true,
18418
+ "required": false,
18419
+ "type": "string",
18420
+ "value_allowed_null": true
18421
+ }
18422
+ ],
18423
+ "usage": "both"
18424
+ },
18378
18425
  "ImageEncodeConfig": {
18379
18426
  "document": "图片编码格式参数",
18380
18427
  "members": [
@@ -18417,6 +18464,17 @@
18417
18464
  "type": "object",
18418
18465
  "value_allowed_null": true
18419
18466
  },
18467
+ {
18468
+ "disabled": false,
18469
+ "document": "降噪配置。\n注意:此字段可能返回 null,表示取不到有效值。",
18470
+ "example": "无",
18471
+ "member": "ImageDenoiseConfig",
18472
+ "name": "Denoise",
18473
+ "output_required": false,
18474
+ "required": false,
18475
+ "type": "object",
18476
+ "value_allowed_null": true
18477
+ },
18420
18478
  {
18421
18479
  "disabled": false,
18422
18480
  "document": "综合增强配置。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -18460,6 +18518,17 @@
18460
18518
  "required": false,
18461
18519
  "type": "object",
18462
18520
  "value_allowed_null": true
18521
+ },
18522
+ {
18523
+ "disabled": false,
18524
+ "document": "低光照增强配置。\n注意:此字段可能返回 null,表示取不到有效值。",
18525
+ "example": "无",
18526
+ "member": "LowLightEnhanceConfig",
18527
+ "name": "LowLightEnhance",
18528
+ "output_required": false,
18529
+ "required": false,
18530
+ "type": "object",
18531
+ "value_allowed_null": true
18463
18532
  }
18464
18533
  ],
18465
18534
  "usage": "both"
@@ -18509,6 +18578,78 @@
18509
18578
  ],
18510
18579
  "usage": "both"
18511
18580
  },
18581
+ "ImageProcessTaskOutput": {
18582
+ "document": "图片处理结果信息",
18583
+ "members": [
18584
+ {
18585
+ "disabled": false,
18586
+ "document": "输出文件的路径。\n注意:此字段可能返回 null,表示取不到有效值。",
18587
+ "example": "/output/test.jpeg",
18588
+ "member": "string",
18589
+ "name": "Path",
18590
+ "output_required": false,
18591
+ "type": "string",
18592
+ "value_allowed_null": true
18593
+ },
18594
+ {
18595
+ "disabled": false,
18596
+ "document": "输出文件的存储位置。\n注意:此字段可能返回 null,表示取不到有效值。",
18597
+ "example": "无",
18598
+ "member": "TaskOutputStorage",
18599
+ "name": "OutputStorage",
18600
+ "output_required": false,
18601
+ "type": "object",
18602
+ "value_allowed_null": true
18603
+ }
18604
+ ],
18605
+ "usage": "out"
18606
+ },
18607
+ "ImageProcessTaskResult": {
18608
+ "document": "图片处理任务结果类型",
18609
+ "members": [
18610
+ {
18611
+ "disabled": false,
18612
+ "document": "任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。\n注意:此字段可能返回 null,表示取不到有效值。",
18613
+ "example": "SUCCESS",
18614
+ "member": "string",
18615
+ "name": "Status",
18616
+ "output_required": false,
18617
+ "type": "string",
18618
+ "value_allowed_null": true
18619
+ },
18620
+ {
18621
+ "disabled": false,
18622
+ "document": "错误信息。\n注意:此字段可能返回 null,表示取不到有效值。",
18623
+ "example": "SUCCESS",
18624
+ "member": "string",
18625
+ "name": "Message",
18626
+ "output_required": false,
18627
+ "type": "string",
18628
+ "value_allowed_null": true
18629
+ },
18630
+ {
18631
+ "disabled": false,
18632
+ "document": "转码任务的输出。\n注意:此字段可能返回 null,表示取不到有效值。",
18633
+ "example": "无",
18634
+ "member": "ImageProcessTaskOutput",
18635
+ "name": "Output",
18636
+ "output_required": false,
18637
+ "type": "object",
18638
+ "value_allowed_null": true
18639
+ },
18640
+ {
18641
+ "disabled": false,
18642
+ "document": "转码进度,取值范围 [0-100]\n注意:此字段可能返回 null,表示取不到有效值。",
18643
+ "example": "100",
18644
+ "member": "int64",
18645
+ "name": "Progress",
18646
+ "output_required": false,
18647
+ "type": "int",
18648
+ "value_allowed_null": true
18649
+ }
18650
+ ],
18651
+ "usage": "out"
18652
+ },
18512
18653
  "ImageQualityEnhanceConfig": {
18513
18654
  "document": "综合增强配置",
18514
18655
  "members": [
@@ -27220,6 +27361,28 @@
27220
27361
  "required": false,
27221
27362
  "type": "object",
27222
27363
  "value_allowed_null": false
27364
+ },
27365
+ {
27366
+ "disabled": false,
27367
+ "document": "扩展参数,序列化的 json 字符串。\n注意:此字段可能返回 null,表示取不到有效值。",
27368
+ "example": "{\"video_info\":{\"color_prim\":\"bt709\"}}",
27369
+ "member": "string",
27370
+ "name": "StdExtInfo",
27371
+ "output_required": false,
27372
+ "required": false,
27373
+ "type": "string",
27374
+ "value_allowed_null": true
27375
+ },
27376
+ {
27377
+ "disabled": false,
27378
+ "document": "音视频增强配置\n注意:此字段可能返回 null,表示取不到有效值。",
27379
+ "example": "无",
27380
+ "member": "EnhanceConfig",
27381
+ "name": "EnhanceConfig",
27382
+ "output_required": false,
27383
+ "required": false,
27384
+ "type": "object",
27385
+ "value_allowed_null": true
27223
27386
  }
27224
27387
  ],
27225
27388
  "usage": "both"