tencentcloud-sdk-nodejs 4.0.253 → 4.0.254
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 +215 -186
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ccc/v20200210/ccc_models.ts +6 -0
- package/src/services/cdn/v20180606/cdn_models.ts +6 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +17 -5
- package/src/services/ckafka/v20190819/ckafka_models.ts +163 -138
- package/src/services/cwp/v20180228/cwp_models.ts +27 -1
- package/src/services/emr/v20190103/emr_models.ts +22 -4
- package/src/services/faceid/v20180301/faceid_client.ts +1 -0
- package/src/services/faceid/v20180301/faceid_models.ts +46 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +21 -8
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +144 -98
- package/src/services/mrs/v20200910/mrs_models.ts +6 -0
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +5 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +140 -118
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +22 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +20 -4
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +39 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +7 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +9 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +120 -80
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +5 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/iotexplorer.v20190423.test.js +12 -2
|
@@ -937,80 +937,18 @@ export interface DeviceDataHistoryItem {
|
|
|
937
937
|
Value: string;
|
|
938
938
|
}
|
|
939
939
|
/**
|
|
940
|
-
*
|
|
940
|
+
* GetFamilyDeviceUserList返回参数结构体
|
|
941
941
|
*/
|
|
942
|
-
export interface
|
|
943
|
-
/**
|
|
944
|
-
* 产品ID
|
|
945
|
-
*/
|
|
946
|
-
ProductId: string;
|
|
947
|
-
/**
|
|
948
|
-
* 产品名称
|
|
949
|
-
*/
|
|
950
|
-
ProductName: string;
|
|
951
|
-
/**
|
|
952
|
-
* 产品分组模板ID
|
|
953
|
-
*/
|
|
954
|
-
CategoryId: number;
|
|
955
|
-
/**
|
|
956
|
-
* 加密类型
|
|
957
|
-
*/
|
|
958
|
-
EncryptionType: string;
|
|
959
|
-
/**
|
|
960
|
-
* 连接类型
|
|
961
|
-
*/
|
|
962
|
-
NetType: string;
|
|
963
|
-
/**
|
|
964
|
-
* 数据协议
|
|
965
|
-
*/
|
|
966
|
-
DataProtocol: number;
|
|
967
|
-
/**
|
|
968
|
-
* 产品描述
|
|
969
|
-
*/
|
|
970
|
-
ProductDesc: string;
|
|
971
|
-
/**
|
|
972
|
-
* 状态
|
|
973
|
-
*/
|
|
974
|
-
DevStatus: string;
|
|
975
|
-
/**
|
|
976
|
-
* 创建时间
|
|
977
|
-
*/
|
|
978
|
-
CreateTime: number;
|
|
979
|
-
/**
|
|
980
|
-
* 更新时间
|
|
981
|
-
*/
|
|
982
|
-
UpdateTime: number;
|
|
942
|
+
export interface GetFamilyDeviceUserListResponse {
|
|
983
943
|
/**
|
|
984
|
-
*
|
|
985
|
-
*/
|
|
986
|
-
Region: string;
|
|
987
|
-
/**
|
|
988
|
-
* 产品类型
|
|
989
|
-
*/
|
|
990
|
-
ProductType: number;
|
|
991
|
-
/**
|
|
992
|
-
* 项目ID
|
|
993
|
-
*/
|
|
994
|
-
ProjectId: string;
|
|
995
|
-
/**
|
|
996
|
-
* 产品ModuleId
|
|
997
|
-
*/
|
|
998
|
-
ModuleId: number;
|
|
999
|
-
/**
|
|
1000
|
-
* 是否使用脚本进行二进制转json功能 可以取值 true / false
|
|
1001
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1002
|
-
*/
|
|
1003
|
-
EnableProductScript: string;
|
|
1004
|
-
/**
|
|
1005
|
-
* 创建人 UinId
|
|
944
|
+
* 设备的用户列表
|
|
1006
945
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1007
946
|
*/
|
|
1008
|
-
|
|
947
|
+
UserList: Array<DeviceUser>;
|
|
1009
948
|
/**
|
|
1010
|
-
*
|
|
1011
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
949
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1012
950
|
*/
|
|
1013
|
-
|
|
951
|
+
RequestId?: string;
|
|
1014
952
|
}
|
|
1015
953
|
/**
|
|
1016
954
|
* 项目详情
|
|
@@ -2494,23 +2432,17 @@ export interface DirectBindDeviceInFamilyRequest {
|
|
|
2494
2432
|
RoomId?: string;
|
|
2495
2433
|
}
|
|
2496
2434
|
/**
|
|
2497
|
-
*
|
|
2435
|
+
* GetFamilyDeviceUserList请求参数结构体
|
|
2498
2436
|
*/
|
|
2499
|
-
export interface
|
|
2437
|
+
export interface GetFamilyDeviceUserListRequest {
|
|
2500
2438
|
/**
|
|
2501
|
-
*
|
|
2502
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2503
|
-
*/
|
|
2504
|
-
MessageId: number;
|
|
2505
|
-
/**
|
|
2506
|
-
* 设备回复的消息内容,采用base64编码
|
|
2507
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2439
|
+
* 产品ID
|
|
2508
2440
|
*/
|
|
2509
|
-
|
|
2441
|
+
ProductId: string;
|
|
2510
2442
|
/**
|
|
2511
|
-
*
|
|
2443
|
+
* 设备名称
|
|
2512
2444
|
*/
|
|
2513
|
-
|
|
2445
|
+
DeviceName: string;
|
|
2514
2446
|
}
|
|
2515
2447
|
/**
|
|
2516
2448
|
* DescribeLoRaFrequency返回参数结构体
|
|
@@ -2526,6 +2458,82 @@ export interface DescribeLoRaFrequencyResponse {
|
|
|
2526
2458
|
*/
|
|
2527
2459
|
RequestId?: string;
|
|
2528
2460
|
}
|
|
2461
|
+
/**
|
|
2462
|
+
* 产品详情
|
|
2463
|
+
*/
|
|
2464
|
+
export interface ProductEntry {
|
|
2465
|
+
/**
|
|
2466
|
+
* 产品ID
|
|
2467
|
+
*/
|
|
2468
|
+
ProductId: string;
|
|
2469
|
+
/**
|
|
2470
|
+
* 产品名称
|
|
2471
|
+
*/
|
|
2472
|
+
ProductName: string;
|
|
2473
|
+
/**
|
|
2474
|
+
* 产品分组模板ID
|
|
2475
|
+
*/
|
|
2476
|
+
CategoryId: number;
|
|
2477
|
+
/**
|
|
2478
|
+
* 加密类型
|
|
2479
|
+
*/
|
|
2480
|
+
EncryptionType: string;
|
|
2481
|
+
/**
|
|
2482
|
+
* 连接类型
|
|
2483
|
+
*/
|
|
2484
|
+
NetType: string;
|
|
2485
|
+
/**
|
|
2486
|
+
* 数据协议
|
|
2487
|
+
*/
|
|
2488
|
+
DataProtocol: number;
|
|
2489
|
+
/**
|
|
2490
|
+
* 产品描述
|
|
2491
|
+
*/
|
|
2492
|
+
ProductDesc: string;
|
|
2493
|
+
/**
|
|
2494
|
+
* 状态
|
|
2495
|
+
*/
|
|
2496
|
+
DevStatus: string;
|
|
2497
|
+
/**
|
|
2498
|
+
* 创建时间
|
|
2499
|
+
*/
|
|
2500
|
+
CreateTime: number;
|
|
2501
|
+
/**
|
|
2502
|
+
* 更新时间
|
|
2503
|
+
*/
|
|
2504
|
+
UpdateTime: number;
|
|
2505
|
+
/**
|
|
2506
|
+
* 区域
|
|
2507
|
+
*/
|
|
2508
|
+
Region: string;
|
|
2509
|
+
/**
|
|
2510
|
+
* 产品类型
|
|
2511
|
+
*/
|
|
2512
|
+
ProductType: number;
|
|
2513
|
+
/**
|
|
2514
|
+
* 项目ID
|
|
2515
|
+
*/
|
|
2516
|
+
ProjectId: string;
|
|
2517
|
+
/**
|
|
2518
|
+
* 产品ModuleId
|
|
2519
|
+
*/
|
|
2520
|
+
ModuleId: number;
|
|
2521
|
+
/**
|
|
2522
|
+
* 是否使用脚本进行二进制转json功能 可以取值 true / false
|
|
2523
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2524
|
+
*/
|
|
2525
|
+
EnableProductScript: string;
|
|
2526
|
+
/**
|
|
2527
|
+
* 创建人 UinId
|
|
2528
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2529
|
+
*/
|
|
2530
|
+
CreateUserId: number;
|
|
2531
|
+
/**
|
|
2532
|
+
* 创建者昵称
|
|
2533
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2534
|
+
*/
|
|
2535
|
+
CreatorNickName: string;
|
|
2536
|
+
}
|
|
2529
2537
|
/**
|
|
2530
2538
|
* DescribeSpaceFenceEventList请求参数结构体
|
|
2531
2539
|
*/
|
|
@@ -3305,6 +3313,38 @@ export interface CreateTopicRuleRequest {
|
|
|
3305
3313
|
*/
|
|
3306
3314
|
TopicRulePayload: TopicRulePayload;
|
|
3307
3315
|
}
|
|
3316
|
+
/**
|
|
3317
|
+
* PublishRRPCMessage返回参数结构体
|
|
3318
|
+
*/
|
|
3319
|
+
export interface PublishRRPCMessageResponse {
|
|
3320
|
+
/**
|
|
3321
|
+
* RRPC消息ID
|
|
3322
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3323
|
+
*/
|
|
3324
|
+
MessageId: number;
|
|
3325
|
+
/**
|
|
3326
|
+
* 设备回复的消息内容,采用base64编码
|
|
3327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3328
|
+
*/
|
|
3329
|
+
PayloadBase64: string;
|
|
3330
|
+
/**
|
|
3331
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3332
|
+
*/
|
|
3333
|
+
RequestId?: string;
|
|
3334
|
+
}
|
|
3335
|
+
/**
|
|
3336
|
+
* 设备的用户
|
|
3337
|
+
*/
|
|
3338
|
+
export interface DeviceUser {
|
|
3339
|
+
/**
|
|
3340
|
+
* 用户ID
|
|
3341
|
+
*/
|
|
3342
|
+
UserId: string;
|
|
3343
|
+
/**
|
|
3344
|
+
* 用户角色 1所有者,0:其他分享者
|
|
3345
|
+
*/
|
|
3346
|
+
Role: number;
|
|
3347
|
+
}
|
|
3308
3348
|
/**
|
|
3309
3349
|
* GetBatchProductionsList请求参数结构体
|
|
3310
3350
|
*/
|
|
@@ -248,6 +248,16 @@ it("ckafka.v20190819.DescribeTopicAttributes", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
+
it("ckafka.v20190819.DeleteInstancePre", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DeleteInstancePre({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
251
261
|
it("ckafka.v20190819.DescribeInstanceAttributes", async function () {
|
|
252
262
|
try {
|
|
253
263
|
const data = await client.DescribeInstanceAttributes({})
|
|
@@ -68,9 +68,9 @@ it("iotexplorer.v20190423.ReleaseStudioProduct", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("iotexplorer.v20190423.
|
|
71
|
+
it("iotexplorer.v20190423.GetFamilyDeviceUserList", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.GetFamilyDeviceUserList({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -238,6 +238,16 @@ it("iotexplorer.v20190423.GetTopicRuleList", async function () {
|
|
|
238
238
|
}
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
+
it("iotexplorer.v20190423.PublishRRPCMessage", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.PublishRRPCMessage({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
241
251
|
it("iotexplorer.v20190423.UpdateFirmware", async function () {
|
|
242
252
|
try {
|
|
243
253
|
const data = await client.UpdateFirmware({})
|