tencentcloud-sdk-nodejs 4.0.239 → 4.0.243
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 +419 -108
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +13 -0
- package/src/services/antiddos/v20200309/antiddos_models.ts +171 -0
- package/src/services/apigateway/v20180808/apigateway_models.ts +2 -2
- package/src/services/as/v20180419/as_models.ts +18 -9
- package/src/services/billing/v20180709/billing_models.ts +13 -1
- package/src/services/cdb/v20170320/cdb_client.ts +6 -4
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +57 -0
- package/src/services/cii/v20210408/cii_client.ts +15 -0
- package/src/services/cii/v20210408/cii_models.ts +31 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +12 -12
- package/src/services/cvm/v20170312/cvm_models.ts +2 -1
- package/src/services/cwp/v20180228/cwp_models.ts +4 -4
- package/src/services/ecm/v20190719/ecm_client.ts +38 -23
- package/src/services/ecm/v20190719/ecm_models.ts +199 -94
- package/src/services/faceid/v20180301/faceid_models.ts +45 -14
- package/src/services/iotvideo/v20201215/iotvideo_client.ts +30 -6
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +90 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +18 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +1 -1
- package/src/services/mps/v20190612/mps_models.ts +6 -0
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +10 -10
- package/src/services/postgres/v20170312/postgres_client.ts +2 -1
- package/src/services/postgres/v20170312/postgres_models.ts +89 -12
- package/src/services/ssa/v20180608/ssa_client.ts +35 -5
- package/src/services/ssa/v20180608/ssa_models.ts +364 -35
- package/src/services/tat/v20201028/tat_models.ts +13 -0
- package/src/services/tdmq/v20200217/tdmq_client.ts +700 -440
- package/src/services/tdmq/v20200217/tdmq_models.ts +1488 -279
- package/src/services/tiw/v20190919/tiw_models.ts +24 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +140 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +2 -2
- package/tencentcloud/services/as/v20180419/as_models.d.ts +17 -8
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +11 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +3 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +3 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +49 -0
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
- package/tencentcloud/services/cii/v20210408/cii_client.js +9 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +27 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +12 -12
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +4 -4
- package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +11 -7
- package/tencentcloud/services/ecm/v20190719/ecm_client.js +14 -8
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +170 -81
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +42 -14
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.d.ts +11 -3
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.js +15 -3
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +76 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +15 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +10 -10
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +74 -9
- package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +9 -1
- package/tencentcloud/services/ssa/v20180608/ssa_client.js +12 -0
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +312 -32
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +11 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +221 -137
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +330 -204
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1254 -234
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +21 -1
- package/test/antiddos.v20200309.test.js +10 -0
- package/test/cii.v20210408.test.js +10 -0
- package/test/ecm.v20190719.test.js +14 -4
- package/test/iotvideo.v20201215.test.js +22 -2
- package/test/ssa.v20180608.test.js +20 -0
- package/test/tdmq.v20200217.test.js +346 -136
|
@@ -149,7 +149,9 @@ export interface StartWhiteboardPushRequest {
|
|
|
149
149
|
*/
|
|
150
150
|
SdkAppId: number;
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* 需要推流的白板房间号,取值范围: (1, 4294967295)。
|
|
153
|
+
|
|
154
|
+
在没有指定TRTCRoomId和TRTCRoomIdStr的情况下,默认会以RoomId作为白板流进行推流的TRTC房间号。
|
|
153
155
|
*/
|
|
154
156
|
RoomId: number;
|
|
155
157
|
/**
|
|
@@ -244,6 +246,24 @@ SdkAppID = 12345678,RoomID = 12345,PushUserID = push_user_1
|
|
|
244
246
|
* 内部参数,不需要关注此参数
|
|
245
247
|
*/
|
|
246
248
|
ExtraData?: string;
|
|
249
|
+
/**
|
|
250
|
+
* **内部体验字段,若需要体验可以提工单申请开通体验**
|
|
251
|
+
|
|
252
|
+
TRTC数字类型房间号,取值范围: (1, 4294967295)。
|
|
253
|
+
|
|
254
|
+
在同时指定了RoomId与TRTCRoomId的情况下,优先使用TRTCRoomId作为白板流进行推流的TRTC房间号。
|
|
255
|
+
|
|
256
|
+
当指定了TRTCRoomIdStr的情况下,此字段将被忽略。
|
|
257
|
+
*/
|
|
258
|
+
TRTCRoomId?: number;
|
|
259
|
+
/**
|
|
260
|
+
* **内部体验字段,若需要体验可以提工单申请开通体验**
|
|
261
|
+
|
|
262
|
+
TRTC字符串类型房间号。
|
|
263
|
+
|
|
264
|
+
在指定了TRTCRoomIdStr的情况下,会优先使用TRTCRoomIdStr作为白板流进行推流的TRTC房间号。
|
|
265
|
+
*/
|
|
266
|
+
TRTCRoomIdStr?: string;
|
|
247
267
|
}
|
|
248
268
|
/**
|
|
249
269
|
* 拼接视频中被忽略的时间段
|
|
@@ -148,6 +148,16 @@ it("antiddos.v20200309.DescribeListBlackWhiteIpList", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
+
it("antiddos.v20200309.ModifyNewDomainRules", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.ModifyNewDomainRules({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
151
161
|
it("antiddos.v20200309.DescribeListDDoSGeoIPBlockConfig", async function () {
|
|
152
162
|
try {
|
|
153
163
|
const data = await client.DescribeListDDoSGeoIPBlockConfig({})
|
|
@@ -38,6 +38,16 @@ it("cii.v20210408.DescribeStructureTaskResult", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("cii.v20210408.UploadMedicalFile", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.UploadMedicalFile({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("cii.v20210408.CreateUnderwriteTaskById", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.CreateUnderwriteTaskById({})
|
|
@@ -268,9 +268,9 @@ it("ecm.v20190719.DisassociateSecurityGroups", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
-
it("ecm.v20190719.
|
|
271
|
+
it("ecm.v20190719.MigrateNetworkInterface", async function () {
|
|
272
272
|
try {
|
|
273
|
-
const data = await client.
|
|
273
|
+
const data = await client.MigrateNetworkInterface({})
|
|
274
274
|
expect(data).to.be.ok
|
|
275
275
|
} catch(error) {
|
|
276
276
|
expect(error.requestId).to.be.ok
|
|
@@ -628,6 +628,16 @@ it("ecm.v20190719.DisableRoutes", async function () {
|
|
|
628
628
|
}
|
|
629
629
|
})
|
|
630
630
|
|
|
631
|
+
it("ecm.v20190719.DescribePriceRunInstance", async function () {
|
|
632
|
+
try {
|
|
633
|
+
const data = await client.DescribePriceRunInstance({})
|
|
634
|
+
expect(data).to.be.ok
|
|
635
|
+
} catch(error) {
|
|
636
|
+
expect(error.requestId).to.be.ok
|
|
637
|
+
expect(error.code).to.be.ok
|
|
638
|
+
}
|
|
639
|
+
})
|
|
640
|
+
|
|
631
641
|
it("ecm.v20190719.ModifyIpv6AddressesAttribute", async function () {
|
|
632
642
|
try {
|
|
633
643
|
const data = await client.ModifyIpv6AddressesAttribute({})
|
|
@@ -1128,9 +1138,9 @@ it("ecm.v20190719.DescribeDisks", async function () {
|
|
|
1128
1138
|
}
|
|
1129
1139
|
})
|
|
1130
1140
|
|
|
1131
|
-
it("ecm.v20190719.
|
|
1141
|
+
it("ecm.v20190719.DeleteSecurityGroup", async function () {
|
|
1132
1142
|
try {
|
|
1133
|
-
const data = await client.
|
|
1143
|
+
const data = await client.DeleteSecurityGroup({})
|
|
1134
1144
|
expect(data).to.be.ok
|
|
1135
1145
|
} catch(error) {
|
|
1136
1146
|
expect(error.requestId).to.be.ok
|
|
@@ -58,6 +58,16 @@ it("iotvideo.v20201215.DescribeDeviceData", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("iotvideo.v20201215.DescribeSDKLog", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeSDKLog({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("iotvideo.v20201215.ModifyProduct", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.ModifyProduct({})
|
|
@@ -348,6 +358,16 @@ it("iotvideo.v20201215.DescribeFirmwareTaskStatistics", async function () {
|
|
|
348
358
|
}
|
|
349
359
|
})
|
|
350
360
|
|
|
361
|
+
it("iotvideo.v20201215.ModifyProductDynamicRegister", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.ModifyProductDynamicRegister({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
351
371
|
it("iotvideo.v20201215.DescribeDeviceDataHistory", async function () {
|
|
352
372
|
try {
|
|
353
373
|
const data = await client.DescribeDeviceDataHistory({})
|
|
@@ -488,9 +508,9 @@ it("iotvideo.v20201215.DeleteProduct", async function () {
|
|
|
488
508
|
}
|
|
489
509
|
})
|
|
490
510
|
|
|
491
|
-
it("iotvideo.v20201215.
|
|
511
|
+
it("iotvideo.v20201215.DescribeProductDynamicRegister", async function () {
|
|
492
512
|
try {
|
|
493
|
-
const data = await client.
|
|
513
|
+
const data = await client.DescribeProductDynamicRegister({})
|
|
494
514
|
expect(data).to.be.ok
|
|
495
515
|
} catch(error) {
|
|
496
516
|
expect(error.requestId).to.be.ok
|
|
@@ -168,6 +168,26 @@ it("ssa.v20180608.DescribeSafetyEventList", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("ssa.v20180608.DescribeSocAlertDetails", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeSocAlertDetails({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("ssa.v20180608.DescribeSocAlertList", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeSocAlertList({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
171
191
|
it("ssa.v20180608.DescribeVulDetail", async function () {
|
|
172
192
|
try {
|
|
173
193
|
const data = await client.DescribeVulDetail({})
|