tencentcloud-sdk-nodejs 4.0.1005 → 4.0.1006

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 (52) hide show
  1. package/CHANGELOG.md +194 -0
  2. package/SERVICE_CHANGELOG.md +235 -89
  3. package/package.json +1 -1
  4. package/products.md +15 -15
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/dbbrain/v20210527/dbbrain_client.ts +13 -0
  7. package/src/services/dbbrain/v20210527/dbbrain_models.ts +70 -0
  8. package/src/services/essbasic/v20210526/essbasic_client.ts +3 -3
  9. package/src/services/hunyuan/v20230901/hunyuan_models.ts +1 -1
  10. package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
  11. package/src/services/lke/v20231130/lke_models.ts +12 -0
  12. package/src/services/monitor/v20180724/monitor_client.ts +1 -0
  13. package/src/services/monitor/v20180724/monitor_models.ts +26 -0
  14. package/src/services/ocr/v20181119/ocr_client.ts +106 -92
  15. package/src/services/ocr/v20181119/ocr_models.ts +209 -113
  16. package/src/services/tcm/v20210413/tcm_models.ts +1 -1
  17. package/src/services/teo/v20220901/teo_models.ts +10 -7
  18. package/src/services/tke/v20180525/tke_models.ts +148 -133
  19. package/src/services/trocket/v20230308/trocket_client.ts +14 -0
  20. package/src/services/trocket/v20230308/trocket_models.ts +45 -0
  21. package/src/services/vclm/v20240523/vclm_models.ts +3 -2
  22. package/src/services/vpc/v20170312/vpc_client.ts +2 -2
  23. package/src/services/vpc/v20170312/vpc_models.ts +13 -13
  24. package/src/services/waf/v20180125/waf_models.ts +1 -1
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
  28. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  29. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +67 -0
  30. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -3
  31. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -3
  32. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +1 -1
  33. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
  34. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +12 -0
  35. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +25 -0
  36. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +79 -73
  37. package/tencentcloud/services/ocr/v20181119/ocr_client.js +84 -76
  38. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +206 -112
  39. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +1 -1
  40. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +10 -7
  41. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +148 -133
  42. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +7 -1
  43. package/tencentcloud/services/trocket/v20230308/trocket_client.js +8 -0
  44. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +43 -0
  45. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +3 -2
  46. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
  47. package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -2
  48. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +13 -13
  49. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
  50. package/test/dbbrain.v20210527.test.js +10 -0
  51. package/test/ocr.v20181119.test.js +24 -14
  52. package/test/trocket.v20230308.test.js +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.1005",
3
+ "version": "4.0.1006",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -81,7 +81,7 @@
81
81
  | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-19 01:26:13 |
82
82
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
83
83
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
84
- | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-12-31 01:15:49 |
84
+ | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2025-01-06 01:14:27 |
85
85
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-11-27 01:14:54 |
86
86
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-12-26 01:27:35 |
87
87
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-12-25 01:27:55 |
@@ -102,7 +102,7 @@
102
102
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2025-01-01 01:18:08 |
103
103
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-12-11 01:33:45 |
104
104
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2025-01-01 01:18:36 |
105
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2025-01-01 01:18:56 |
105
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2025-01-06 01:17:15 |
106
106
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-12-26 01:36:01 |
107
107
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-12-27 11:12:08 |
108
108
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-12-25 01:36:47 |
@@ -118,7 +118,7 @@
118
118
  | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-12-25 01:38:11 |
119
119
  | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
120
120
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
121
- | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2025-01-01 01:19:55 |
121
+ | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2025-01-03 10:18:28 |
122
122
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-12-27 11:13:24 |
123
123
  | iap | [身份识别平台](https://cloud.tencent.com/document/product/1787) | 2024-11-21 18:27:30 |
124
124
  | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
@@ -141,9 +141,9 @@
141
141
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-12-30 01:41:59 |
142
142
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-11-07 01:44:48 |
143
143
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-12-26 01:43:11 |
144
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-12-26 01:43:38 |
144
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2025-01-06 01:20:05 |
145
145
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-12-31 01:22:41 |
146
- | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-12-16 01:44:38 |
146
+ | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2025-01-06 01:20:42 |
147
147
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
148
148
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
149
149
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
@@ -154,7 +154,7 @@
154
154
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-11-11 01:49:22 |
155
155
  | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2025-01-01 01:23:28 |
156
156
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-12-26 01:47:15 |
157
- | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-12-23 01:46:05 |
157
+ | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2025-01-06 01:21:28 |
158
158
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-12-31 01:24:25 |
159
159
  | mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-12-19 01:49:38 |
160
160
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-12-12 01:48:36 |
@@ -164,7 +164,7 @@
164
164
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 |
165
165
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
166
166
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-12-30 01:49:42 |
167
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2025-01-03 01:24:24 |
167
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2025-01-06 01:22:36 |
168
168
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-12-25 01:52:29 |
169
169
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-12-20 01:46:38 |
170
170
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-22 12:03:22 |
@@ -207,15 +207,15 @@
207
207
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
208
208
  | tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2024-11-21 02:00:04 |
209
209
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
210
- | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2025-01-03 01:28:06 |
211
- | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2025-01-03 01:28:09 |
210
+ | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2025-01-06 01:25:44 |
211
+ | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2025-01-06 01:25:49 |
212
212
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-11-04 02:03:35 |
213
213
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 |
214
214
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-12-19 02:00:31 |
215
215
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-12-31 01:29:32 |
216
216
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-11-14 02:08:25 |
217
217
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-12-31 01:29:59 |
218
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2025-01-01 01:29:38 |
218
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2025-01-06 01:26:41 |
219
219
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2025-01-01 01:30:04 |
220
220
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
221
221
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
@@ -225,13 +225,13 @@
225
225
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2024-12-23 11:03:45 |
226
226
  | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-12-25 02:04:13 |
227
227
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2024-03-20 01:27:28 |
228
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2025-01-01 01:31:04 |
228
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2025-01-06 01:28:11 |
229
229
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
230
230
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-10-30 02:12:39 |
231
231
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-12-05 01:26:59 |
232
232
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 |
233
233
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
234
- | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-12-31 01:31:45 |
234
+ | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2025-01-06 01:28:18 |
235
235
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-11-08 02:10:59 |
236
236
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-12-27 11:23:20 |
237
237
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-12-31 01:32:07 |
@@ -242,16 +242,16 @@
242
242
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-12-27 11:25:13 |
243
243
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
244
244
  | vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-11-22 12:20:45 |
245
- | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-12-25 02:10:30 |
245
+ | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2025-01-06 01:29:32 |
246
246
  | vcube | [音视频终端引擎](https://cloud.tencent.com/document/product/1449) | 2024-12-05 01:28:35 |
247
247
  | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-12-20 02:04:37 |
248
248
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
249
249
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
250
250
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-11-18 02:09:13 |
251
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2025-01-03 01:33:09 |
251
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2025-01-06 01:30:12 |
252
252
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-12-19 02:13:39 |
253
253
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 |
254
- | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-12-31 01:34:54 |
254
+ | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2025-01-06 01:30:59 |
255
255
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-11-20 02:21:21 |
256
256
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-12-19 02:14:02 |
257
257
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-11-07 02:23:06 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.1005"
1
+ export const sdkVersion = "4.0.1006"
@@ -25,6 +25,7 @@ import {
25
25
  HealthReportTask,
26
26
  SecLogExportTaskInfo,
27
27
  OpenAuditServiceResponse,
28
+ DescribeRedisTopHotKeysRequest,
28
29
  CreateDBDiagReportTaskRequest,
29
30
  TableSpaceTimeSeries,
30
31
  DescribeAuditLogFilesResponse,
@@ -93,6 +94,7 @@ import {
93
94
  CreateProxySessionKillTaskRequest,
94
95
  DeleteDBDiagReportTasksResponse,
95
96
  DescribeProxyProcessStatisticsResponse,
97
+ TopHotKeys,
96
98
  DescribeIndexRecommendInfoRequest,
97
99
  SlowLogHost,
98
100
  CreateMailProfileRequest,
@@ -160,6 +162,7 @@ import {
160
162
  DescribeDiagDBInstancesResponse,
161
163
  DescribeAllUserGroupRequest,
162
164
  CreateKillTaskRequest,
165
+ DescribeRedisTopHotKeysResponse,
163
166
  CreateSecurityAuditLogExportTaskResponse,
164
167
  SchemaItem,
165
168
  CreateSqlFilterResponse,
@@ -314,6 +317,16 @@ export class Client extends AbstractClient {
314
317
  return this.request("DescribeDBDiagReportTasks", req, cb)
315
318
  }
316
319
 
320
+ /**
321
+ * 热Key分析
322
+ */
323
+ async DescribeRedisTopHotKeys(
324
+ req: DescribeRedisTopHotKeysRequest,
325
+ cb?: (error: string, rep: DescribeRedisTopHotKeysResponse) => void
326
+ ): Promise<DescribeRedisTopHotKeysResponse> {
327
+ return this.request("DescribeRedisTopHotKeys", req, cb)
328
+ }
329
+
317
330
  /**
318
331
  * 更新Agent实例状态(停止或重连实例)
319
332
  */
@@ -215,6 +215,36 @@ export interface OpenAuditServiceResponse {
215
215
  RequestId?: string
216
216
  }
217
217
 
218
+ /**
219
+ * DescribeRedisTopHotKeys请求参数结构体
220
+ */
221
+ export interface DescribeRedisTopHotKeysRequest {
222
+ /**
223
+ * 实例 ID 。
224
+ */
225
+ InstanceId: string
226
+ /**
227
+ * 开始时间,如“2024-09-22T00:00:00+00:00”。0天 < 当前服务器时间 - 开始时间 <= 10天。
228
+ */
229
+ StartTime: string
230
+ /**
231
+ * 结束时间,如“2024-09-22T01:00:00+00:00”,0天 < 结束时间 - 开始时间 <= 10天。
232
+ */
233
+ EndTime: string
234
+ /**
235
+ * 服务产品类型,仅仅支持值 "redis" - 云数据库 Redis。
236
+ */
237
+ Product: string
238
+ /**
239
+ * Redis 节点数组。
240
+ */
241
+ InstanceNodeIds?: Array<string>
242
+ /**
243
+ * top 数目,默认为20,最大值为100。
244
+ */
245
+ Limit?: number
246
+ }
247
+
218
248
  /**
219
249
  * CreateDBDiagReportTask请求参数结构体
220
250
  */
@@ -1817,6 +1847,32 @@ export interface DescribeProxyProcessStatisticsResponse {
1817
1847
  RequestId?: string
1818
1848
  }
1819
1849
 
1850
+ /**
1851
+ * 热key分析返回信息
1852
+ */
1853
+ export interface TopHotKeys {
1854
+ /**
1855
+ * 访问频次。
1856
+ */
1857
+ Count?: number
1858
+ /**
1859
+ * 热Key所属数据库。
1860
+ */
1861
+ Db?: string
1862
+ /**
1863
+ * Redis节点。
1864
+ */
1865
+ InstanceNodeId?: string
1866
+ /**
1867
+ * 热Key。
1868
+ */
1869
+ Key?: string
1870
+ /**
1871
+ * 数据类型。
1872
+ */
1873
+ Type?: string
1874
+ }
1875
+
1820
1876
  /**
1821
1877
  * DescribeIndexRecommendInfo请求参数结构体
1822
1878
  */
@@ -3558,6 +3614,20 @@ export interface CreateKillTaskRequest {
3558
3614
  Product?: string
3559
3615
  }
3560
3616
 
3617
+ /**
3618
+ * DescribeRedisTopHotKeys返回参数结构体
3619
+ */
3620
+ export interface DescribeRedisTopHotKeysResponse {
3621
+ /**
3622
+ * 热Key分析结果
3623
+ */
3624
+ TopHotKeys?: Array<TopHotKeys>
3625
+ /**
3626
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3627
+ */
3628
+ RequestId?: string
3629
+ }
3630
+
3561
3631
  /**
3562
3632
  * CreateSecurityAuditLogExportTask返回参数结构体
3563
3633
  */
@@ -775,9 +775,9 @@ export class Client extends AbstractClient {
775
775
  /**
776
776
  * 该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。
777
777
 
778
- 1. 该接口**仅适用于在H5端签署**的合同,**在通过视频认证后**获取人脸图片。
779
- 2. 该接口**不支持小程序端**的签署人脸图片获取。
780
- 3. 请在**签署完成后的三天内**获取人脸图片,**过期后将无法获取**。
778
+ 1. 该接口**仅适用于在H5端签署**的合同,**在通过视频认证后**获取认证的视频内容。
779
+ 2. 该接口**不支持小程序端**的签署认证的视频获取。
780
+ 3. 请在**签署完成后的三天内**获取视频,**过期后将无法获取**。
781
781
 
782
782
  **注意:该接口需要开通白名单,请联系客户经理开通后使用。**
783
783
  */
@@ -20,7 +20,7 @@
20
20
  */
21
21
  export interface ChatCompletionsRequest {
22
22
  /**
23
- * 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large、 hunyuan-large-longcontext、 hunyuan-turbo-vision。
23
+ * 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large、 hunyuan-large-longcontext、 hunyuan-turbo-vision、 hunyuan-standard-vision
24
24
  各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
25
25
 
26
26
  注意:
@@ -2675,7 +2675,7 @@ PREPAID:表示预付费,即包年包月。
2675
2675
  /**
2676
2676
  * 自动续费标识。取值范围:
2677
2677
  NOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费
2678
- NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费
2678
+ NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知。
2679
2679
  */
2680
2680
  RenewFlag?: string
2681
2681
  /**
@@ -1290,6 +1290,10 @@ export interface DescribeKnowledgeUsageResponse {
1290
1290
  * 超过可用字符数上限的字符数
1291
1291
  */
1292
1292
  ExceedCharSize?: string
1293
+ /**
1294
+ * 知识库使用字符总数
1295
+ */
1296
+ UsedCharSize?: string
1293
1297
  /**
1294
1298
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1295
1299
  */
@@ -5585,6 +5589,14 @@ export interface DescribeTokenUsageResponse {
5585
5589
  * 文档解析消耗页数
5586
5590
  */
5587
5591
  PageUsage?: number
5592
+ /**
5593
+ * 拆分token消耗量
5594
+ */
5595
+ SplitTokenUsage?: number
5596
+ /**
5597
+ * Rag检索次数
5598
+ */
5599
+ RagSearchUsage?: number
5588
5600
  /**
5589
5601
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5590
5602
  */
@@ -144,6 +144,7 @@ import {
144
144
  DescribeServiceDiscoveryResponse,
145
145
  PrometheusTag,
146
146
  DescribePolicyConditionListMetric,
147
+ NoticeContentTmplBindInfo,
147
148
  BindingPolicyObjectRequest,
148
149
  CreateServiceDiscoveryResponse,
149
150
  DescribeClusterAgentCreatingProgressRequest,
@@ -3125,6 +3125,20 @@ export interface DescribePolicyConditionListMetric {
3125
3125
  MetricUnit: string
3126
3126
  }
3127
3127
 
3128
+ /**
3129
+ * 通知内容模板绑定信息
3130
+ */
3131
+ export interface NoticeContentTmplBindInfo {
3132
+ /**
3133
+ * 通知内容模板ID
3134
+ */
3135
+ ContentTmplID?: string
3136
+ /**
3137
+ * 通知模板ID
3138
+ */
3139
+ NoticeID?: string
3140
+ }
3141
+
3128
3142
  /**
3129
3143
  * BindingPolicyObject请求参数结构体
3130
3144
  */
@@ -3377,6 +3391,14 @@ export interface CreateAlarmPolicyRequest {
3377
3391
  * 事件配置的告警
3378
3392
  */
3379
3393
  EbSubject?: string
3394
+ /**
3395
+ * 附加告警内容
3396
+ */
3397
+ AdditionalAlarmContent?: string
3398
+ /**
3399
+ * 通知模板绑定信息
3400
+ */
3401
+ NoticeContentTmplBindInfos?: Array<NoticeContentTmplBindInfo>
3380
3402
  }
3381
3403
 
3382
3404
  /**
@@ -9062,6 +9084,10 @@ export interface ModifyAlarmPolicyNoticeRequest {
9062
9084
  * 告警分级通知规则配置
9063
9085
  */
9064
9086
  HierarchicalNotices?: Array<AlarmHierarchicalNotice>
9087
+ /**
9088
+ * 通知内容模板绑定信息
9089
+ */
9090
+ NoticeContentTmplBindInfos?: Array<NoticeContentTmplBindInfo>
9065
9091
  }
9066
9092
 
9067
9093
  /**
@@ -23,17 +23,18 @@ import {
23
23
  TextWaybill,
24
24
  RecognizeOnlineTaxiItineraryOCRResponse,
25
25
  InvoiceItem,
26
+ HKIDCardOCRRequest,
26
27
  BankSlipOCRRequest,
27
28
  BusinessCardOCRResponse,
28
29
  TextArithmetic,
29
30
  ResidencePermitInfo,
30
- HKIDCardOCRRequest,
31
+ BankCardOCRRequest,
31
32
  CarInvoiceOCRRequest,
32
33
  MixedInvoiceItem,
33
34
  RecognizeTravelCardOCRRequest,
34
35
  TrainTicketOCRRequest,
35
36
  EstateCertOCRResponse,
36
- GeneralHandwritingOCRResponse,
37
+ FlightInvoiceOCRRequest,
37
38
  WordItem,
38
39
  MLIDPassportOCRRequest,
39
40
  RecognizeGeneralTextImageWarnResponse,
@@ -56,7 +57,7 @@ import {
56
57
  Rect,
57
58
  LicensePlateInfo,
58
59
  SingleInvoiceInfo,
59
- FlightInvoiceOCRRequest,
60
+ VatRollItem,
60
61
  TextFormula,
61
62
  HmtResidentPermitOCRResponse,
62
63
  OtherInvoiceList,
@@ -109,7 +110,7 @@ import {
109
110
  GeneralAccurateOCRResponse,
110
111
  ElectronicTrainTicketFull,
111
112
  BusInvoice,
112
- QuotaInvoice,
113
+ QrcodeOCRRequest,
113
114
  TaxiInvoiceOCRResponse,
114
115
  RecognizeGeneralInvoiceRequest,
115
116
  GeneralBasicOCRResponse,
@@ -285,14 +286,14 @@ import {
285
286
  EnterpriseLicenseInfo,
286
287
  SmartStructuralProResponse,
287
288
  PermitOCRResponse,
289
+ QuotaInvoice,
288
290
  InsuranceBillOCRRequest,
289
- QrcodeOCRRequest,
291
+ GeneralHandwritingOCRResponse,
290
292
  IDCardResult,
291
293
  TableCell,
292
294
  TableOCRResponse,
293
295
  DetectedWordCoordPoint,
294
296
  QuestionBlockObj,
295
- VatRollItem,
296
297
  AdvertiseOCRResponse,
297
298
  VehicleLicenseOCRRequest,
298
299
  VatRollInvoiceInfo,
@@ -312,6 +313,7 @@ import {
312
313
  TableOCRRequest,
313
314
  VatInvoiceOCRResponse,
314
315
  QuotaInvoiceOCRRequest,
316
+ BankCardOCRResponse,
315
317
  BusinessCardOCRRequest,
316
318
  FinanBillOCRRequest,
317
319
  QuotaInvoiceOCRResponse,
@@ -332,15 +334,75 @@ export class Client extends AbstractClient {
332
334
  }
333
335
 
334
336
  /**
335
- * 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
337
+ * 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
336
338
 
337
- 默认接口请求频率限制:1次/秒。
339
+ 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
340
+
341
+ 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
342
+
343
+ 通用印刷体识别不同版本的差异如下:
344
+ <table style="width:715px">
345
+ <thead>
346
+ <tr>
347
+ <th style="width:150px"></th>
348
+ <th style="width:200px">【荐】通用印刷体识别</th>
349
+ <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
350
+ <th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
351
+ </tr>
352
+ </thead>
353
+ <tbody>
354
+ <tr>
355
+ <td> 适用场景</td>
356
+ <td>适用于所有通用场景的印刷体识别</td>
357
+ <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
358
+ <td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
359
+ </tr>
360
+ <tr>
361
+ <td>识别准确率</td>
362
+ <td>96%</td>
363
+ <td>99%</td>
364
+ <td>91%</td>
365
+ </tr>
366
+ <tr>
367
+ <td>价格</td>
368
+ <td>中</td>
369
+ <td>高</td>
370
+ <td>低</td>
371
+ </tr>
372
+ <tr>
373
+ <td>支持的语言</td>
374
+ <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
375
+ <td>中文、英文、中英文</td>
376
+ <td>中文、英文、中英文</td>
377
+ </tr>
378
+ <tr>
379
+ <td>自动语言检测</td>
380
+ <td>支持</td>
381
+ <td>支持</td>
382
+ <td>支持</td>
383
+ </tr>
384
+ <tr>
385
+ <td>返回文本行坐标</td>
386
+ <td>支持</td>
387
+ <td>支持</td>
388
+ <td>支持</td>
389
+ </tr>
390
+ <tr>
391
+ <td>自动旋转纠正</td>
392
+ <td>支持旋转识别,返回角度信息</td>
393
+ <td>支持旋转识别,返回角度信息</td>
394
+ <td>支持旋转识别,返回角度信息</td>
395
+ </tr>
396
+ </tbody>
397
+ </table>
398
+
399
+ 默认接口请求频率限制:20次/秒。
338
400
  */
339
- async InsuranceBillOCR(
340
- req: InsuranceBillOCRRequest,
341
- cb?: (error: string, rep: InsuranceBillOCRResponse) => void
342
- ): Promise<InsuranceBillOCRResponse> {
343
- return this.request("InsuranceBillOCR", req, cb)
401
+ async GeneralBasicOCR(
402
+ req: GeneralBasicOCRRequest,
403
+ cb?: (error: string, rep: GeneralBasicOCRResponse) => void
404
+ ): Promise<GeneralBasicOCRResponse> {
405
+ return this.request("GeneralBasicOCR", req, cb)
344
406
  }
345
407
 
346
408
  /**
@@ -391,6 +453,18 @@ export class Client extends AbstractClient {
391
453
  return this.request("BusinessCardOCR", req, cb)
392
454
  }
393
455
 
456
+ /**
457
+ * 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
458
+
459
+ 默认接口请求频率限制:1次/秒。
460
+ */
461
+ async InsuranceBillOCR(
462
+ req: InsuranceBillOCRRequest,
463
+ cb?: (error: string, rep: InsuranceBillOCRResponse) => void
464
+ ): Promise<InsuranceBillOCRResponse> {
465
+ return this.request("InsuranceBillOCR", req, cb)
466
+ }
467
+
394
468
  /**
395
469
  * 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
396
470
 
@@ -581,18 +655,6 @@ export class Client extends AbstractClient {
581
655
  return this.request("GeneralAccurateOCR", req, cb)
582
656
  }
583
657
 
584
- /**
585
- * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
586
-
587
- 默认接口请求频率限制:5次/秒。
588
- */
589
- async FlightInvoiceOCR(
590
- req: FlightInvoiceOCRRequest,
591
- cb?: (error: string, rep: FlightInvoiceOCRResponse) => void
592
- ): Promise<FlightInvoiceOCRResponse> {
593
- return this.request("FlightInvoiceOCR", req, cb)
594
- }
595
-
596
658
  /**
597
659
  * 本接口支持集装箱箱门信息识别,识别字段包括集装箱箱号、类型、总重量、有效承重、容量、自身重量,具备集装箱箱号、类型不完整或者不清晰的告警功能。
598
660
  默认接口请求频率限制:5次/秒。
@@ -977,75 +1039,15 @@ export class Client extends AbstractClient {
977
1039
  }
978
1040
 
979
1041
  /**
980
- * 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
981
-
982
- 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
983
-
984
- 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
985
-
986
- 通用印刷体识别不同版本的差异如下:
987
- <table style="width:715px">
988
- <thead>
989
- <tr>
990
- <th style="width:150px"></th>
991
- <th style="width:200px">【荐】通用印刷体识别</th>
992
- <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
993
- <th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
994
- </tr>
995
- </thead>
996
- <tbody>
997
- <tr>
998
- <td> 适用场景</td>
999
- <td>适用于所有通用场景的印刷体识别</td>
1000
- <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
1001
- <td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
1002
- </tr>
1003
- <tr>
1004
- <td>识别准确率</td>
1005
- <td>96%</td>
1006
- <td>99%</td>
1007
- <td>91%</td>
1008
- </tr>
1009
- <tr>
1010
- <td>价格</td>
1011
- <td>中</td>
1012
- <td>高</td>
1013
- <td>低</td>
1014
- </tr>
1015
- <tr>
1016
- <td>支持的语言</td>
1017
- <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
1018
- <td>中文、英文、中英文</td>
1019
- <td>中文、英文、中英文</td>
1020
- </tr>
1021
- <tr>
1022
- <td>自动语言检测</td>
1023
- <td>支持</td>
1024
- <td>支持</td>
1025
- <td>支持</td>
1026
- </tr>
1027
- <tr>
1028
- <td>返回文本行坐标</td>
1029
- <td>支持</td>
1030
- <td>支持</td>
1031
- <td>支持</td>
1032
- </tr>
1033
- <tr>
1034
- <td>自动旋转纠正</td>
1035
- <td>支持旋转识别,返回角度信息</td>
1036
- <td>支持旋转识别,返回角度信息</td>
1037
- <td>支持旋转识别,返回角度信息</td>
1038
- </tr>
1039
- </tbody>
1040
- </table>
1042
+ * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
1041
1043
 
1042
- 默认接口请求频率限制:20次/秒。
1044
+ 默认接口请求频率限制:5次/秒。
1043
1045
  */
1044
- async GeneralBasicOCR(
1045
- req: GeneralBasicOCRRequest,
1046
- cb?: (error: string, rep: GeneralBasicOCRResponse) => void
1047
- ): Promise<GeneralBasicOCRResponse> {
1048
- return this.request("GeneralBasicOCR", req, cb)
1046
+ async FlightInvoiceOCR(
1047
+ req: FlightInvoiceOCRRequest,
1048
+ cb?: (error: string, rep: FlightInvoiceOCRResponse) => void
1049
+ ): Promise<FlightInvoiceOCRResponse> {
1050
+ return this.request("FlightInvoiceOCR", req, cb)
1049
1051
  }
1050
1052
 
1051
1053
  /**
@@ -1433,6 +1435,18 @@ export class Client extends AbstractClient {
1433
1435
  return this.request("RecognizeValidIDCardOCR", req, cb)
1434
1436
  }
1435
1437
 
1438
+ /**
1439
+ * 本接口支持对中国大陆主流银行卡正反面关键字段的检测与识别,包括卡号、卡类型、卡名字、银行信息、有效期。支持竖排异形卡识别、多角度旋转图片识别。支持对复印件、翻拍件、边框遮挡的银行卡进行告警,可应用于各种银行卡信息有效性校验场景,如金融行业身份认证、第三方支付绑卡等场景。
1440
+
1441
+ 默认接口请求频率限制:10次/秒。
1442
+ */
1443
+ async BankCardOCR(
1444
+ req: BankCardOCRRequest,
1445
+ cb?: (error: string, rep: BankCardOCRResponse) => void
1446
+ ): Promise<BankCardOCRResponse> {
1447
+ return this.request("BankCardOCR", req, cb)
1448
+ }
1449
+
1436
1450
  /**
1437
1451
  * 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
1438
1452