tencentcloud-sdk-nodejs 4.0.578 → 4.0.580
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 +336 -0
- package/SERVICE_CHANGELOG.md +555 -55
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +8 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/chdfs/index.ts +2 -2
- package/src/services/cls/v20201016/cls_models.ts +10 -0
- package/src/services/cvm/v20170312/cvm_models.ts +6 -4
- package/src/services/ess/v20201111/ess_client.ts +8 -8
- package/src/services/ess/v20201111/ess_models.ts +8 -8
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/facefusion/index.ts +2 -2
- package/src/services/faceid/v20180301/faceid_models.ts +12 -0
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/lcic/v20220817/lcic_models.ts +4 -4
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/ocr/v20181119/ocr_client.ts +15 -13
- package/src/services/ocr/v20181119/ocr_models.ts +34 -34
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +152 -82
- package/src/services/sms/index.ts +2 -2
- package/src/services/tcaplusdb/v20190823/tcaplusdb_client.ts +51 -9
- package/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +241 -35
- package/src/services/tem/index.ts +2 -2
- package/src/services/teo/v20220106/teo_client.ts +17 -1252
- package/src/services/teo/v20220106/teo_models.ts +278 -10164
- package/src/services/teo/v20220901/teo_models.ts +2 -2
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tiw/v20190919/tiw_client.ts +1 -1
- package/src/services/tiw/v20190919/tiw_models.ts +3 -3
- package/src/services/trtc/v20190722/trtc_models.ts +5 -0
- package/src/services/tsw/index.ts +2 -2
- package/src/services/vm/index.ts +4 -4
- package/src/services/vrs/v20200824/vrs_models.ts +12 -4
- package/src/services/waf/v20180125/waf_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +7 -1
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +8 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +8 -8
- package/tencentcloud/services/ess/v20201111/ess_client.js +8 -8
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -8
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +10 -0
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +14 -12
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +14 -12
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +34 -34
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +139 -69
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_client.d.ts +19 -3
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_client.js +25 -3
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +207 -32
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +3 -375
- package/tencentcloud/services/teo/v20220106/teo_client.js +3 -557
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +260 -8717
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -2
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +1 -1
- package/tencentcloud/services/tiw/v20190919/tiw_client.js +1 -1
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +3 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -0
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vm/index.d.ts +6 -6
- package/tencentcloud/services/vm/index.js +4 -4
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +12 -4
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +2 -2
- package/test/tcaplusdb.v20190823.test.js +32 -2
- package/test/teo.v20220106.test.js +3 -913
|
@@ -3588,11 +3588,11 @@ export interface WafRule {
|
|
|
3588
3588
|
*/
|
|
3589
3589
|
Switch: string;
|
|
3590
3590
|
/**
|
|
3591
|
-
*
|
|
3591
|
+
* 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。
|
|
3592
3592
|
*/
|
|
3593
3593
|
BlockRuleIDs: Array<number>;
|
|
3594
3594
|
/**
|
|
3595
|
-
* 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。
|
|
3595
|
+
* 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。
|
|
3596
3596
|
*/
|
|
3597
3597
|
ObserveRuleIDs: Array<number>;
|
|
3598
3598
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export declare const thpc: {
|
|
2
|
+
v20230321: {
|
|
3
|
+
Client: typeof import("./v20230321/thpc_client").Client;
|
|
4
|
+
Models: typeof import("./v20230321/thpc_models");
|
|
5
|
+
};
|
|
2
6
|
v20220401: {
|
|
3
7
|
Client: typeof import("./v20220401/thpc_client").Client;
|
|
4
8
|
Models: typeof import("./v20220401/thpc_models");
|
|
@@ -7,8 +11,4 @@ export declare const thpc: {
|
|
|
7
11
|
Client: typeof import("./v20211109/thpc_client").Client;
|
|
8
12
|
Models: typeof import("./v20211109/thpc_models");
|
|
9
13
|
};
|
|
10
|
-
v20230321: {
|
|
11
|
-
Client: typeof import("./v20230321/thpc_client").Client;
|
|
12
|
-
Models: typeof import("./v20230321/thpc_models");
|
|
13
|
-
};
|
|
14
14
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.thpc = void 0;
|
|
4
|
+
const v20230321_1 = require("./v20230321");
|
|
4
5
|
const v20220401_1 = require("./v20220401");
|
|
5
6
|
const v20211109_1 = require("./v20211109");
|
|
6
|
-
const v20230321_1 = require("./v20230321");
|
|
7
7
|
exports.thpc = {
|
|
8
|
+
v20230321: v20230321_1.v20230321,
|
|
8
9
|
v20220401: v20220401_1.v20220401,
|
|
9
10
|
v20211109: v20211109_1.v20211109,
|
|
10
|
-
v20230321: v20230321_1.v20230321,
|
|
11
11
|
};
|
|
@@ -91,7 +91,7 @@ export declare class Client extends AbstractClient {
|
|
|
91
91
|
*/
|
|
92
92
|
CreateSnapshotTask(req: CreateSnapshotTaskRequest, cb?: (error: string, rep: CreateSnapshotTaskResponse) => void): Promise<CreateSnapshotTaskResponse>;
|
|
93
93
|
/**
|
|
94
|
-
* 设置PPT检测任务回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260
|
|
94
|
+
* 设置PPT检测任务回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260#c9cbe05f-fe1a-4410-b4dc-40cc301c7b81
|
|
95
95
|
*/
|
|
96
96
|
SetPPTCheckCallback(req: SetPPTCheckCallbackRequest, cb?: (error: string, rep: SetPPTCheckCallbackResponse) => void): Promise<SetPPTCheckCallbackResponse>;
|
|
97
97
|
/**
|
|
@@ -151,7 +151,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
151
151
|
return this.request("CreateSnapshotTask", req, cb);
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
154
|
-
* 设置PPT检测任务回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260
|
|
154
|
+
* 设置PPT检测任务回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260#c9cbe05f-fe1a-4410-b4dc-40cc301c7b81
|
|
155
155
|
*/
|
|
156
156
|
async SetPPTCheckCallback(req, cb) {
|
|
157
157
|
return this.request("SetPPTCheckCallback", req, cb);
|
|
@@ -1945,7 +1945,7 @@ export interface CreatePPTCheckTaskRequest {
|
|
|
1945
1945
|
*/
|
|
1946
1946
|
SdkAppId: number;
|
|
1947
1947
|
/**
|
|
1948
|
-
* 经过URL编码后的PPT文件地址。URL
|
|
1948
|
+
* 经过URL编码后的PPT文件地址。URL 编码会将字符转换为可通过因特网传输的格式,例如文档地址为http://example.com/测试.pptx,经过URL编码之后为http://example.com/%E6%B5%8B%E8%AF%95.pptx。为了提高URL解析的成功率,请对URL进行编码。
|
|
1949
1949
|
*/
|
|
1950
1950
|
Url: string;
|
|
1951
1951
|
/**
|
|
@@ -2480,7 +2480,7 @@ export interface SetWarningCallbackRequest {
|
|
|
2480
2480
|
SdkAppId: number;
|
|
2481
2481
|
/**
|
|
2482
2482
|
* 告警回调地址,如果传空字符串会删除原来的回调地址配置,回调地址仅支持http或https协议,即回调地址以http://或https://开头。
|
|
2483
|
-
回调数据格式请参考文档:
|
|
2483
|
+
回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/90112
|
|
2484
2484
|
*/
|
|
2485
2485
|
Callback: string;
|
|
2486
2486
|
/**
|
|
@@ -2834,7 +2834,7 @@ export interface SetPPTCheckCallbackRequest {
|
|
|
2834
2834
|
*/
|
|
2835
2835
|
SdkAppId: number;
|
|
2836
2836
|
/**
|
|
2837
|
-
* 进度回调地址,如果传空字符串会删除原来的回调地址配置,回调地址仅支持http或https协议,即回调地址以http://或https://开头。 回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260
|
|
2837
|
+
* 进度回调地址,如果传空字符串会删除原来的回调地址配置,回调地址仅支持http或https协议,即回调地址以http://或https://开头。 回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260#c9cbe05f-fe1a-4410-b4dc-40cc301c7b81
|
|
2838
2838
|
*/
|
|
2839
2839
|
Callback: string;
|
|
2840
2840
|
}
|
|
@@ -251,6 +251,10 @@ export interface WaterMarkChar {
|
|
|
251
251
|
* DescribeTrtcRoomUsage返回参数结构体
|
|
252
252
|
*/
|
|
253
253
|
export interface DescribeTrtcRoomUsageResponse {
|
|
254
|
+
/**
|
|
255
|
+
* 房间维度用量数据,csv文件格式。
|
|
256
|
+
*/
|
|
257
|
+
Data?: string;
|
|
254
258
|
/**
|
|
255
259
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
256
260
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const tsw: {
|
|
2
|
-
v20210412: {
|
|
3
|
-
Client: typeof import("./v20210412/tsw_client").Client;
|
|
4
|
-
Models: typeof import("./v20210412/tsw_models");
|
|
5
|
-
};
|
|
6
2
|
v20200924: {
|
|
7
3
|
Client: typeof import("./v20200924/tsw_client").Client;
|
|
8
4
|
Models: typeof import("./v20200924/tsw_models");
|
|
9
5
|
};
|
|
6
|
+
v20210412: {
|
|
7
|
+
Client: typeof import("./v20210412/tsw_client").Client;
|
|
8
|
+
Models: typeof import("./v20210412/tsw_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tsw = void 0;
|
|
4
|
-
const v20210412_1 = require("./v20210412");
|
|
5
4
|
const v20200924_1 = require("./v20200924");
|
|
5
|
+
const v20210412_1 = require("./v20210412");
|
|
6
6
|
exports.tsw = {
|
|
7
|
-
v20210412: v20210412_1.v20210412,
|
|
8
7
|
v20200924: v20200924_1.v20200924,
|
|
8
|
+
v20210412: v20210412_1.v20210412,
|
|
9
9
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const vm: {
|
|
2
|
-
|
|
3
|
-
Client: typeof import("./
|
|
4
|
-
Models: typeof import("./
|
|
2
|
+
v20200709: {
|
|
3
|
+
Client: typeof import("./v20200709/vm_client").Client;
|
|
4
|
+
Models: typeof import("./v20200709/vm_models");
|
|
5
5
|
};
|
|
6
6
|
v20201229: {
|
|
7
7
|
Client: typeof import("./v20201229/vm_client").Client;
|
|
8
8
|
Models: typeof import("./v20201229/vm_models");
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
Client: typeof import("./
|
|
12
|
-
Models: typeof import("./
|
|
10
|
+
v20210922: {
|
|
11
|
+
Client: typeof import("./v20210922/vm_client").Client;
|
|
12
|
+
Models: typeof import("./v20210922/vm_models");
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.vm = void 0;
|
|
4
|
-
const v20210922_1 = require("./v20210922");
|
|
5
|
-
const v20201229_1 = require("./v20201229");
|
|
6
4
|
const v20200709_1 = require("./v20200709");
|
|
5
|
+
const v20201229_1 = require("./v20201229");
|
|
6
|
+
const v20210922_1 = require("./v20210922");
|
|
7
7
|
exports.vm = {
|
|
8
|
-
v20210922: v20210922_1.v20210922,
|
|
9
|
-
v20201229: v20201229_1.v20201229,
|
|
10
8
|
v20200709: v20200709_1.v20200709,
|
|
9
|
+
v20201229: v20201229_1.v20201229,
|
|
10
|
+
v20210922: v20210922_1.v20210922,
|
|
11
11
|
};
|
|
@@ -159,21 +159,29 @@ export interface TrainingText {
|
|
|
159
159
|
Text?: string;
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
*
|
|
162
|
+
* 音频检测提示信息:
|
|
163
|
+
1.检测字是否存在多读、 少读、 错读等
|
|
164
|
+
2.检测准确度和流畅度
|
|
163
165
|
*/
|
|
164
166
|
export interface Words {
|
|
165
167
|
/**
|
|
166
|
-
* 准确度
|
|
168
|
+
* 准确度 (<75则认为不合格)
|
|
167
169
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
168
170
|
*/
|
|
169
171
|
PronAccuracy?: number;
|
|
170
172
|
/**
|
|
171
|
-
* 流畅度
|
|
173
|
+
* 流畅度 (<0.95则认为不合格)
|
|
172
174
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
173
175
|
*/
|
|
174
176
|
PronFluency?: number;
|
|
175
177
|
/**
|
|
176
|
-
* tag:
|
|
178
|
+
* tag:
|
|
179
|
+
0: match 匹配
|
|
180
|
+
1: insert 多读
|
|
181
|
+
2: delete 少读
|
|
182
|
+
3: replace 错读
|
|
183
|
+
4: oov 待评估字不在发音评估的词库
|
|
184
|
+
5: unknown 未知错误
|
|
177
185
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
178
186
|
*/
|
|
179
187
|
Tag?: number;
|
|
@@ -619,7 +619,7 @@ export interface UpsertIpAccessControlRequest {
|
|
|
619
619
|
*/
|
|
620
620
|
Domain: string;
|
|
621
621
|
/**
|
|
622
|
-
* ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts
|
|
622
|
+
* ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
|
|
623
623
|
*/
|
|
624
624
|
Items: Array<string>;
|
|
625
625
|
/**
|
|
@@ -627,7 +627,7 @@ export interface UpsertIpAccessControlRequest {
|
|
|
627
627
|
*/
|
|
628
628
|
Edition?: string;
|
|
629
629
|
/**
|
|
630
|
-
*
|
|
630
|
+
* 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,佛祖饿为空
|
|
631
631
|
*/
|
|
632
632
|
SourceType?: string;
|
|
633
633
|
}
|
|
@@ -108,6 +108,16 @@ it("tcaplusdb.v20190823.DescribeTablesInRecycle", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("tcaplusdb.v20190823.ModifyClusterName", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.ModifyClusterName({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
111
121
|
it("tcaplusdb.v20190823.DisableRestProxy", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.DisableRestProxy({})
|
|
@@ -128,9 +138,9 @@ it("tcaplusdb.v20190823.RollbackTables", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("tcaplusdb.v20190823.
|
|
141
|
+
it("tcaplusdb.v20190823.DeleteBackupRecords", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.DeleteBackupRecords({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -208,6 +218,16 @@ it("tcaplusdb.v20190823.EnableRestProxy", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
221
|
+
it("tcaplusdb.v20190823.SetBackupExpireRule", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.SetBackupExpireRule({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
211
231
|
it("tcaplusdb.v20190823.CreateBackup", async function () {
|
|
212
232
|
try {
|
|
213
233
|
const data = await client.CreateBackup({})
|
|
@@ -348,6 +368,16 @@ it("tcaplusdb.v20190823.DescribeSnapshots", async function () {
|
|
|
348
368
|
}
|
|
349
369
|
})
|
|
350
370
|
|
|
371
|
+
it("tcaplusdb.v20190823.DescribeBackupRecords", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DescribeBackupRecords({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
351
381
|
it("tcaplusdb.v20190823.ModifyClusterTags", async function () {
|
|
352
382
|
try {
|
|
353
383
|
const data = await client.ModifyClusterTags({})
|