tencentcloud-sdk-nodejs 4.0.789 → 4.0.791
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 +804 -0
- package/README.md +6 -0
- package/SERVICE_CHANGELOG.md +1231 -240
- package/examples/cls/v20201016/cls.proto +34 -0
- package/examples/cls/v20201016/upload_log.js +69 -0
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/common/abstract_client.ts +32 -0
- package/src/common/http/http_connection.ts +5 -2
- package/src/common/sdk_version.ts +1 -1
- package/src/common/sign.ts +8 -4
- package/src/services/apigateway/v20180808/apigateway_models.ts +9 -4
- package/src/services/as/v20180419/as_models.ts +38 -38
- package/src/services/bi/v20220105/bi_client.ts +1 -0
- package/src/services/bi/v20220105/bi_models.ts +226 -16
- package/src/services/cdb/v20170320/cdb_client.ts +18 -6
- package/src/services/cdb/v20170320/cdb_models.ts +15 -0
- package/src/services/cls/v20201016/cls_client.ts +70 -21
- package/src/services/cls/v20201016/cls_models.ts +360 -145
- package/src/services/csip/v20221121/csip_client.ts +1 -0
- package/src/services/csip/v20221121/csip_models.ts +26 -0
- package/src/services/cwp/v20180228/cwp_client.ts +4 -2
- package/src/services/emr/v20190103/emr_models.ts +7 -7
- package/src/services/ess/v20201111/ess_client.ts +22 -4
- package/src/services/ess/v20201111/ess_models.ts +19 -10
- package/src/services/essbasic/v20210526/essbasic_client.ts +11 -9
- package/src/services/essbasic/v20210526/essbasic_models.ts +8 -0
- package/src/services/iotcloud/v20210408/iotcloud_client.ts +12 -0
- package/src/services/iotcloud/v20210408/iotcloud_models.ts +43 -3
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +8 -0
- package/src/services/lcic/v20220817/lcic_models.ts +8 -0
- package/src/services/mna/v20210119/mna_models.ts +3 -3
- package/src/services/rum/v20210622/rum_client.ts +0 -12
- package/src/services/rum/v20210622/rum_models.ts +2 -109
- package/src/services/ssl/v20191205/ssl_models.ts +2 -3
- package/src/services/teo/v20220901/teo_client.ts +20 -15
- package/src/services/teo/v20220901/teo_models.ts +8 -4
- package/src/services/tmt/v20180321/tmt_models.ts +2 -2
- package/src/services/trro/v20220325/trro_models.ts +13 -0
- package/src/services/tse/v20201207/tse_client.ts +2 -1
- package/src/services/tse/v20201207/tse_models.ts +45 -15
- package/src/services/wedata/v20210820/wedata_client.ts +2802 -5338
- package/src/services/wedata/v20210820/wedata_models.ts +14500 -29440
- package/src/services/weilingwith/v20230427/weilingwith_models.ts +20 -2
- package/tencentcloud/common/abstract_client.d.ts +4 -0
- package/tencentcloud/common/abstract_client.js +22 -0
- package/tencentcloud/common/http/http_connection.js +6 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/common/sign.d.ts +2 -1
- package/tencentcloud/common/sign.js +6 -4
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +9 -4
- package/tencentcloud/services/as/v20180419/as_models.d.ts +38 -38
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +225 -16
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +7 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +9 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +13 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +23 -7
- package/tencentcloud/services/cls/v20201016/cls_client.js +33 -9
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +351 -145
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +25 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +3 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +7 -7
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +22 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +22 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +19 -10
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +11 -9
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +11 -9
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -0
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +5 -1
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +6 -0
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +41 -3
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +8 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +8 -0
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +3 -3
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +1 -5
- package/tencentcloud/services/rum/v20210622/rum_client.js +0 -6
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +2 -107
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +2 -3
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +15 -10
- package/tencentcloud/services/teo/v20220901/teo_client.js +15 -10
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +8 -4
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +2 -2
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +13 -0
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +44 -15
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +675 -1483
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +1027 -2237
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +14275 -28693
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.d.ts +20 -2
- package/test/cdb.v20170320.test.js +12 -2
- package/test/cls.v20201016.test.js +52 -12
- package/test/iotcloud.v20210408.test.js +10 -0
- package/test/rum.v20210622.test.js +0 -10
- package/test/wedata.v20210820.test.js +636 -2646
|
@@ -221,7 +221,7 @@ export interface DeviceDataInfo {
|
|
|
221
221
|
*/
|
|
222
222
|
ProductName?: string;
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
224
|
+
* 产品能力:信令数据、音视频。二进制数值中第0位表示信令数据、第1位表示音视频 。1(信令数据),3(具有信令数据以及音视频能力)。
|
|
225
225
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
226
226
|
*/
|
|
227
227
|
ProductAbility?: number;
|
|
@@ -290,6 +290,16 @@ export interface DeviceDataInfo {
|
|
|
290
290
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
291
291
|
*/
|
|
292
292
|
GroupInfo?: string;
|
|
293
|
+
/**
|
|
294
|
+
* 通信在/离线状态(online=normal+fault,offline)
|
|
295
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
296
|
+
*/
|
|
297
|
+
DeviceStatus?: string;
|
|
298
|
+
/**
|
|
299
|
+
* 设备业务状态(normal、fault、offline)
|
|
300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
301
|
+
*/
|
|
302
|
+
Status?: string;
|
|
293
303
|
}
|
|
294
304
|
/**
|
|
295
305
|
* 查询建筑信息响应体
|
|
@@ -698,7 +708,7 @@ export interface ProductInfo {
|
|
|
698
708
|
*/
|
|
699
709
|
ProductType?: string;
|
|
700
710
|
/**
|
|
701
|
-
*
|
|
711
|
+
* 产品能力:信令数据、音视频。二进制数值中第0位表示信令数据、第1位表示音视频 。1(信令数据),3(具有信令数据以及音视频能力)。
|
|
702
712
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
703
713
|
*/
|
|
704
714
|
ProductAbility?: number;
|
|
@@ -1245,6 +1255,14 @@ export interface DescribeDeviceListRequest {
|
|
|
1245
1255
|
* 分组id列表,非必填
|
|
1246
1256
|
*/
|
|
1247
1257
|
GroupIdSet?: Array<number | bigint>;
|
|
1258
|
+
/**
|
|
1259
|
+
* 是否激活,默认全部,"1"激活,"0"未激活
|
|
1260
|
+
*/
|
|
1261
|
+
IsActive?: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* 是否为摄像头,默认全部,"true"摄像头,"false"非摄像头
|
|
1264
|
+
*/
|
|
1265
|
+
IsCamera?: string;
|
|
1248
1266
|
}
|
|
1249
1267
|
/**
|
|
1250
1268
|
* DescribeSpaceRelationByDeviceId请求参数结构体
|
|
@@ -998,6 +998,16 @@ it("cdb.v20170320.CloseCDBProxy", async function () {
|
|
|
998
998
|
}
|
|
999
999
|
})
|
|
1000
1000
|
|
|
1001
|
+
it("cdb.v20170320.ModifyNameOrDescByDpId", async function () {
|
|
1002
|
+
try {
|
|
1003
|
+
const data = await client.ModifyNameOrDescByDpId({})
|
|
1004
|
+
expect(data).to.be.ok
|
|
1005
|
+
} catch(error) {
|
|
1006
|
+
expect(error.requestId).to.be.ok
|
|
1007
|
+
expect(error.code).to.be.ok
|
|
1008
|
+
}
|
|
1009
|
+
})
|
|
1010
|
+
|
|
1001
1011
|
it("cdb.v20170320.ModifyAccountMaxUserConnections", async function () {
|
|
1002
1012
|
try {
|
|
1003
1013
|
const data = await client.ModifyAccountMaxUserConnections({})
|
|
@@ -1548,9 +1558,9 @@ it("cdb.v20170320.DescribeCloneList", async function () {
|
|
|
1548
1558
|
}
|
|
1549
1559
|
})
|
|
1550
1560
|
|
|
1551
|
-
it("cdb.v20170320.
|
|
1561
|
+
it("cdb.v20170320.DescribeInstanceAlarmEvents", async function () {
|
|
1552
1562
|
try {
|
|
1553
|
-
const data = await client.
|
|
1563
|
+
const data = await client.DescribeInstanceAlarmEvents({})
|
|
1554
1564
|
expect(data).to.be.ok
|
|
1555
1565
|
} catch(error) {
|
|
1556
1566
|
expect(error.requestId).to.be.ok
|
|
@@ -58,6 +58,16 @@ it("cls.v20201016.CreateIndex", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("cls.v20201016.QueryMetric", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.QueryMetric({})
|
|
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("cls.v20201016.ModifyShipper", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.ModifyShipper({})
|
|
@@ -178,9 +188,9 @@ it("cls.v20201016.CreateConfig", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
181
|
-
it("cls.v20201016.
|
|
191
|
+
it("cls.v20201016.DescribeMachineGroupConfigs", async function () {
|
|
182
192
|
try {
|
|
183
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeMachineGroupConfigs({})
|
|
184
194
|
expect(data).to.be.ok
|
|
185
195
|
} catch(error) {
|
|
186
196
|
expect(error.requestId).to.be.ok
|
|
@@ -268,6 +278,16 @@ it("cls.v20201016.DescribeIndex", async function () {
|
|
|
268
278
|
}
|
|
269
279
|
})
|
|
270
280
|
|
|
281
|
+
it("cls.v20201016.CreateAlarmShield", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.CreateAlarmShield({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
271
291
|
it("cls.v20201016.CreateShipper", async function () {
|
|
272
292
|
try {
|
|
273
293
|
const data = await client.CreateShipper({})
|
|
@@ -348,6 +368,16 @@ it("cls.v20201016.ApplyConfigToMachineGroup", async function () {
|
|
|
348
368
|
}
|
|
349
369
|
})
|
|
350
370
|
|
|
371
|
+
it("cls.v20201016.DeleteAlarmShield", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DeleteAlarmShield({})
|
|
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("cls.v20201016.DescribeLogHistogram", async function () {
|
|
352
382
|
try {
|
|
353
383
|
const data = await client.DescribeLogHistogram({})
|
|
@@ -428,6 +458,16 @@ it("cls.v20201016.ModifyConfigExtra", async function () {
|
|
|
428
458
|
}
|
|
429
459
|
})
|
|
430
460
|
|
|
461
|
+
it("cls.v20201016.ModifyAlarmShield", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.ModifyAlarmShield({})
|
|
464
|
+
expect(data).to.be.ok
|
|
465
|
+
} catch(error) {
|
|
466
|
+
expect(error.requestId).to.be.ok
|
|
467
|
+
expect(error.code).to.be.ok
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
|
|
431
471
|
it("cls.v20201016.CreateConfigExtra", async function () {
|
|
432
472
|
try {
|
|
433
473
|
const data = await client.CreateConfigExtra({})
|
|
@@ -438,6 +478,16 @@ it("cls.v20201016.CreateConfigExtra", async function () {
|
|
|
438
478
|
}
|
|
439
479
|
})
|
|
440
480
|
|
|
481
|
+
it("cls.v20201016.DescribeAlarmShields", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.DescribeAlarmShields({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
441
491
|
it("cls.v20201016.ModifyScheduledSql", async function () {
|
|
442
492
|
try {
|
|
443
493
|
const data = await client.ModifyScheduledSql({})
|
|
@@ -818,16 +868,6 @@ it("cls.v20201016.ModifyLogset", async function () {
|
|
|
818
868
|
}
|
|
819
869
|
})
|
|
820
870
|
|
|
821
|
-
it("cls.v20201016.DescribeMachineGroupConfigs", async function () {
|
|
822
|
-
try {
|
|
823
|
-
const data = await client.DescribeMachineGroupConfigs({})
|
|
824
|
-
expect(data).to.be.ok
|
|
825
|
-
} catch(error) {
|
|
826
|
-
expect(error.requestId).to.be.ok
|
|
827
|
-
expect(error.code).to.be.ok
|
|
828
|
-
}
|
|
829
|
-
})
|
|
830
|
-
|
|
831
871
|
it("cls.v20201016.ModifyDataTransform", async function () {
|
|
832
872
|
try {
|
|
833
873
|
const data = await client.ModifyDataTransform({})
|
|
@@ -348,6 +348,16 @@ it("iotcloud.v20210408.UpdateDevicesEnableState", async function () {
|
|
|
348
348
|
}
|
|
349
349
|
})
|
|
350
350
|
|
|
351
|
+
it("iotcloud.v20210408.UpdateOtaTaskStatus", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.UpdateOtaTaskStatus({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
351
361
|
it("iotcloud.v20210408.ListFirmwares", async function () {
|
|
352
362
|
try {
|
|
353
363
|
const data = await client.ListFirmwares({})
|
|
@@ -158,16 +158,6 @@ it("rum.v20210622.ResumeInstance", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("rum.v20210622.DescribeDataPerformanceProject", async function () {
|
|
162
|
-
try {
|
|
163
|
-
const data = await client.DescribeDataPerformanceProject({})
|
|
164
|
-
expect(data).to.be.ok
|
|
165
|
-
} catch(error) {
|
|
166
|
-
expect(error.requestId).to.be.ok
|
|
167
|
-
expect(error.code).to.be.ok
|
|
168
|
-
}
|
|
169
|
-
})
|
|
170
|
-
|
|
171
161
|
it("rum.v20210622.DescribeError", async function () {
|
|
172
162
|
try {
|
|
173
163
|
const data = await client.DescribeError({})
|