tencentcloud-sdk-nodejs 4.0.610 → 4.0.611
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.
- package/CHANGELOG.md +136 -0
- package/SERVICE_CHANGELOG.md +184 -214
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +10 -0
- package/src/services/cms/v20190321/cms_client.ts +54 -102
- package/src/services/cms/v20190321/cms_models.ts +580 -702
- package/src/services/dcdb/v20180411/dcdb_client.ts +14 -1
- package/src/services/dcdb/v20180411/dcdb_models.ts +59 -9
- package/src/services/emr/v20190103/emr_client.ts +3 -3
- package/src/services/emr/v20190103/emr_models.ts +33 -1
- package/src/services/ocr/v20181119/ocr_client.ts +22 -8
- package/src/services/ocr/v20181119/ocr_models.ts +91 -21
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -0
- package/tencentcloud/services/cms/v20190321/cms_client.d.ts +13 -37
- package/tencentcloud/services/cms/v20190321/cms_client.js +18 -48
- package/tencentcloud/services/cms/v20190321/cms_models.d.ts +455 -557
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +52 -9
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +0 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +0 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +28 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +9 -3
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +11 -3
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +74 -16
- package/test/cms.v20190321.test.js +12 -42
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/ocr.v20181119.test.js +12 -2
package/products.md
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
|
|
42
42
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-05-23 01:06:09 |
|
|
43
43
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-05-31 01:10:22 |
|
|
44
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-
|
|
44
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-06-01 09:45:06 |
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-05-18 01:09:37 |
|
|
46
46
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-05-24 01:09:09 |
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-05-18 01:10:41 |
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-05-29 01:15:07 |
|
|
63
63
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-05-18 01:14:25 |
|
|
64
64
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-05-18 01:14:51 |
|
|
65
|
-
| cms | [内容安全](https://cloud.tencent.com/document/product) |
|
|
65
|
+
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-05-31 21:42:46 |
|
|
66
66
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-05-18 01:15:05 |
|
|
67
67
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
68
|
-
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-
|
|
68
|
+
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-06-01 09:47:17 |
|
|
69
69
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
|
|
70
70
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-05-26 01:16:07 |
|
|
71
71
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-05-31 01:16:52 |
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-05-18 01:21:10 |
|
|
78
78
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-05-18 01:21:33 |
|
|
79
79
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-05-18 01:21:37 |
|
|
80
|
-
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-
|
|
80
|
+
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-06-01 09:49:03 |
|
|
81
81
|
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-05-29 01:21:27 |
|
|
82
82
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-05-18 01:22:51 |
|
|
83
83
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-05-18 01:23:17 |
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-05-18 01:24:47 |
|
|
92
92
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 |
|
|
93
93
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-05-18 01:25:58 |
|
|
94
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-
|
|
94
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-06-01 09:50:15 |
|
|
95
95
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-05-18 01:26:23 |
|
|
96
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-
|
|
96
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-06-01 09:50:34 |
|
|
97
97
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-05-26 15:35:45 |
|
|
98
98
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-05-31 01:26:29 |
|
|
99
99
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-05-31 01:26:34 |
|
|
@@ -146,9 +146,9 @@
|
|
|
146
146
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-05-19 01:49:42 |
|
|
147
147
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
148
148
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-05-29 01:34:54 |
|
|
149
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-
|
|
149
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-06-01 09:54:24 |
|
|
150
150
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-05-18 01:43:39 |
|
|
151
|
-
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-
|
|
151
|
+
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-06-01 09:54:49 |
|
|
152
152
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-05-29 01:35:52 |
|
|
153
153
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
|
|
154
154
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2023-05-23 01:34:25 |
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-05-18 02:01:10 |
|
|
212
212
|
| tourism | [文旅客情平台](https://cloud.tencent.com/document/product/1684) | 2023-05-18 02:01:16 |
|
|
213
213
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
|
|
214
|
-
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-
|
|
214
|
+
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-06-01 09:59:32 |
|
|
215
215
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-05-31 01:48:08 |
|
|
216
216
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-05-31 01:48:18 |
|
|
217
217
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-05-18 02:02:09 |
|
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-05-18 02:04:19 |
|
|
223
223
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-05-18 02:04:23 |
|
|
224
224
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-05-31 01:49:59 |
|
|
225
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-
|
|
225
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-06-01 10:01:44 |
|
|
226
226
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-05-19 02:51:58 |
|
|
227
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-
|
|
227
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-06-01 10:02:45 |
|
|
228
228
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-05-18 02:08:17 |
|
|
229
229
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-05-31 01:52:47 |
|
|
230
230
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.611"
|
|
@@ -2607,6 +2607,16 @@ export interface DescribeBinlogsRequest {
|
|
|
2607
2607
|
* 分页大小,默认值为20,最小值为1,最大值为100。
|
|
2608
2608
|
*/
|
|
2609
2609
|
Limit?: number
|
|
2610
|
+
|
|
2611
|
+
/**
|
|
2612
|
+
* binlog开始时间,筛选大于等于此值,时间格式:2016-03-17 02:10:37
|
|
2613
|
+
*/
|
|
2614
|
+
MinStartTime?: string
|
|
2615
|
+
|
|
2616
|
+
/**
|
|
2617
|
+
* binlog开始时间,筛选小于等于此值,时间格式:2016-03-17 02:10:37
|
|
2618
|
+
*/
|
|
2619
|
+
MaxStartTime?: string
|
|
2610
2620
|
}
|
|
2611
2621
|
|
|
2612
2622
|
/**
|
|
@@ -18,56 +18,50 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
+
CreateKeywordsSamplesResponse,
|
|
22
|
+
CreateKeywordsSamplesRequest,
|
|
21
23
|
CustomResult,
|
|
22
24
|
TextData,
|
|
23
|
-
|
|
25
|
+
DescribeKeywordsLibsRequest,
|
|
24
26
|
DetailResult,
|
|
25
27
|
ImageModerationResponse,
|
|
26
28
|
TextModerationResponse,
|
|
27
29
|
ImageModerationRequest,
|
|
28
|
-
CreateFileSampleRequest,
|
|
29
30
|
ImageData,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
UserKeywordInfo,
|
|
32
|
+
DescribeLibSamplesResponse,
|
|
33
|
+
DescribeLibSamplesRequest,
|
|
34
|
+
DeleteSampleDetails,
|
|
34
35
|
TextOutputID,
|
|
35
|
-
ManualReviewRequest,
|
|
36
36
|
User,
|
|
37
|
-
|
|
38
|
-
DescribeFileSampleRequest,
|
|
37
|
+
DeleteLibSamplesResponse,
|
|
39
38
|
Device,
|
|
40
39
|
CodeDetect,
|
|
41
40
|
ImageTerrorDetect,
|
|
42
|
-
DescribeTextSampleResponse,
|
|
43
41
|
CodePosition,
|
|
44
|
-
|
|
45
|
-
FileSample,
|
|
46
|
-
DescribeFileSampleResponse,
|
|
42
|
+
InvalidSample,
|
|
47
43
|
TextOutputRes,
|
|
48
44
|
RiskDetails,
|
|
49
|
-
|
|
50
|
-
DeleteFileSampleRequest,
|
|
51
|
-
Filter,
|
|
52
|
-
ManualReviewData,
|
|
45
|
+
TextModerationRequest,
|
|
53
46
|
OCRDetect,
|
|
54
|
-
ManualReviewContent,
|
|
55
47
|
Coordinate,
|
|
56
48
|
Similar,
|
|
49
|
+
PhoneDetect,
|
|
57
50
|
ImageHotDetect,
|
|
58
51
|
TextOutputComm,
|
|
59
|
-
|
|
52
|
+
KeywordsLibInfo,
|
|
60
53
|
CodeDetail,
|
|
54
|
+
UserKeyword,
|
|
61
55
|
ImagePolityDetect,
|
|
62
56
|
OCRItem,
|
|
63
57
|
ImageIllegalDetect,
|
|
64
58
|
RrectF,
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
DeleteLibSamplesRequest,
|
|
60
|
+
Filters,
|
|
67
61
|
LogoDetail,
|
|
68
62
|
Logo,
|
|
69
|
-
|
|
70
|
-
|
|
63
|
+
DescribeKeywordsLibsResponse,
|
|
64
|
+
ImagePornDetect,
|
|
71
65
|
} from "./cms_models"
|
|
72
66
|
|
|
73
67
|
/**
|
|
@@ -79,76 +73,6 @@ export class Client extends AbstractClient {
|
|
|
79
73
|
super("cms.tencentcloudapi.com", "2019-03-21", clientConfig)
|
|
80
74
|
}
|
|
81
75
|
|
|
82
|
-
/**
|
|
83
|
-
* 本文档适用于文本内容安全、音频内容安全自定义识别库的管理。
|
|
84
|
-
<br>
|
|
85
|
-
删除文本样本库,暂时只支持单个删除。
|
|
86
|
-
*/
|
|
87
|
-
async DeleteTextSample(
|
|
88
|
-
req: DeleteTextSampleRequest,
|
|
89
|
-
cb?: (error: string, rep: DeleteTextSampleResponse) => void
|
|
90
|
-
): Promise<DeleteTextSampleResponse> {
|
|
91
|
-
return this.request("DeleteTextSample", req, cb)
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* 本文档适用于文本内容安全、音频内容安全自定义识别库的管理。
|
|
96
|
-
<br>
|
|
97
|
-
通过该接口可以将文本新增到样本库。
|
|
98
|
-
*/
|
|
99
|
-
async CreateTextSample(
|
|
100
|
-
req: CreateTextSampleRequest,
|
|
101
|
-
cb?: (error: string, rep: CreateTextSampleResponse) => void
|
|
102
|
-
): Promise<CreateTextSampleResponse> {
|
|
103
|
-
return this.request("CreateTextSample", req, cb)
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* 本文档适用于图片内容安全、视频内容安全自定义识别库的管理。
|
|
108
|
-
<br>
|
|
109
|
-
通过该接口可以将图片新增到样本库。
|
|
110
|
-
*/
|
|
111
|
-
async CreateFileSample(
|
|
112
|
-
req: CreateFileSampleRequest,
|
|
113
|
-
cb?: (error: string, rep: CreateFileSampleResponse) => void
|
|
114
|
-
): Promise<CreateFileSampleResponse> {
|
|
115
|
-
return this.request("CreateFileSample", req, cb)
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* 本文档适用于文本内容安全、音频内容安全自定义识别库的管理。
|
|
120
|
-
<br>
|
|
121
|
-
支持批量查询文本样本库。
|
|
122
|
-
*/
|
|
123
|
-
async DescribeTextSample(
|
|
124
|
-
req: DescribeTextSampleRequest,
|
|
125
|
-
cb?: (error: string, rep: DescribeTextSampleResponse) => void
|
|
126
|
-
): Promise<DescribeTextSampleResponse> {
|
|
127
|
-
return this.request("DescribeTextSample", req, cb)
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* 人工审核对外接口
|
|
132
|
-
*/
|
|
133
|
-
async ManualReview(
|
|
134
|
-
req: ManualReviewRequest,
|
|
135
|
-
cb?: (error: string, rep: ManualReviewResponse) => void
|
|
136
|
-
): Promise<ManualReviewResponse> {
|
|
137
|
-
return this.request("ManualReview", req, cb)
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* 本文档适用于图片内容安全、视频内容安全自定义识别库的管理。
|
|
142
|
-
<br>
|
|
143
|
-
查询图片样本库,支持批量查询。
|
|
144
|
-
*/
|
|
145
|
-
async DescribeFileSample(
|
|
146
|
-
req: DescribeFileSampleRequest,
|
|
147
|
-
cb?: (error: string, rep: DescribeFileSampleResponse) => void
|
|
148
|
-
): Promise<DescribeFileSampleResponse> {
|
|
149
|
-
return this.request("DescribeFileSample", req, cb)
|
|
150
|
-
}
|
|
151
|
-
|
|
152
76
|
/**
|
|
153
77
|
* 文本内容检测(Text Moderation)服务使用了深度学习技术,识别涉黄、涉政、涉恐等有害内容,同时支持用户配置词库,打击自定义的违规文本。
|
|
154
78
|
*/
|
|
@@ -170,14 +94,42 @@ export class Client extends AbstractClient {
|
|
|
170
94
|
}
|
|
171
95
|
|
|
172
96
|
/**
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
97
|
+
* 获取关键词接口
|
|
98
|
+
*/
|
|
99
|
+
async DescribeLibSamples(
|
|
100
|
+
req: DescribeLibSamplesRequest,
|
|
101
|
+
cb?: (error: string, rep: DescribeLibSamplesResponse) => void
|
|
102
|
+
): Promise<DescribeLibSamplesResponse> {
|
|
103
|
+
return this.request("DescribeLibSamples", req, cb)
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 获取用户词库列表
|
|
108
|
+
*/
|
|
109
|
+
async DescribeKeywordsLibs(
|
|
110
|
+
req: DescribeKeywordsLibsRequest,
|
|
111
|
+
cb?: (error: string, rep: DescribeKeywordsLibsResponse) => void
|
|
112
|
+
): Promise<DescribeKeywordsLibsResponse> {
|
|
113
|
+
return this.request("DescribeKeywordsLibs", req, cb)
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* 创建关键词接口
|
|
118
|
+
*/
|
|
119
|
+
async CreateKeywordsSamples(
|
|
120
|
+
req: CreateKeywordsSamplesRequest,
|
|
121
|
+
cb?: (error: string, rep: CreateKeywordsSamplesResponse) => void
|
|
122
|
+
): Promise<CreateKeywordsSamplesResponse> {
|
|
123
|
+
return this.request("CreateKeywordsSamples", req, cb)
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* 删除关键词接口
|
|
128
|
+
*/
|
|
129
|
+
async DeleteLibSamples(
|
|
130
|
+
req: DeleteLibSamplesRequest,
|
|
131
|
+
cb?: (error: string, rep: DeleteLibSamplesResponse) => void
|
|
132
|
+
): Promise<DeleteLibSamplesResponse> {
|
|
133
|
+
return this.request("DeleteLibSamples", req, cb)
|
|
182
134
|
}
|
|
183
135
|
}
|