tencentcloud-sdk-nodejs 4.0.705 → 4.0.706
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 +93 -0
- package/SERVICE_CHANGELOG.md +174 -143
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +7 -6
- package/src/services/ccc/v20200210/ccc_models.ts +2 -2
- package/src/services/csip/v20221121/csip_models.ts +4 -0
- package/src/services/cvm/v20170312/cvm_models.ts +7 -6
- package/src/services/emr/v20190103/emr_client.ts +18 -4
- package/src/services/emr/v20190103/emr_models.ts +163 -55
- package/src/services/ess/v20201111/ess_models.ts +16 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +7 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +14 -2
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +107 -51
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/src/services/soe/v20180724/soe_models.ts +18 -12
- package/src/services/tke/v20180525/tke_models.ts +3 -2
- package/src/services/wedata/v20210820/wedata_client.ts +128 -28
- package/src/services/wedata/v20210820/wedata_models.ts +633 -84
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +7 -6
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +2 -2
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +4 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +7 -6
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +6 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +159 -55
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +16 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +105 -51
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/soe/v20180724/soe_models.d.ts +18 -12
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +3 -2
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +44 -10
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +62 -12
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +618 -87
- package/test/emr.v20190103.test.js +10 -0
- package/test/iotexplorer.v20190423.test.js +10 -0
- package/test/wedata.v20210820.test.js +86 -6
|
@@ -153,6 +153,13 @@ KEYWORD - 关键字
|
|
|
153
153
|
为JSON格式。
|
|
154
154
|
不同类型的控件会有部分非通用参数
|
|
155
155
|
|
|
156
|
+
ComponentType为TEXT、MULTI_LINE_TEXT时,支持以下参数:
|
|
157
|
+
1 Font:目前只支持黑体、宋体
|
|
158
|
+
2 FontSize: 范围12-72
|
|
159
|
+
3 FontAlign: Left/Right/Center,左对齐/居中/右对齐
|
|
160
|
+
4 FontColor:字符串类型,格式为RGB颜色数字
|
|
161
|
+
参数样例: "ComponentExtra": "{\"FontColor\":\"255,0,0\",\"FontSize\":12}"
|
|
162
|
+
|
|
156
163
|
TEXT/MULTI_LINE_TEXT控件可以指定
|
|
157
164
|
1 Font:目前只支持黑体、宋体
|
|
158
165
|
2 FontSize: 范围12-72
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
DeviceDataHistoryItem,
|
|
81
81
|
GetFamilyDeviceUserListResponse,
|
|
82
82
|
BindDeviceInfo,
|
|
83
|
-
|
|
83
|
+
ModifyProjectRequest,
|
|
84
84
|
DescribeBatchProductionResponse,
|
|
85
85
|
ListTopicPolicyRequest,
|
|
86
86
|
BatchProductionInfo,
|
|
@@ -190,6 +190,7 @@ import {
|
|
|
190
190
|
UpdateFirmwareRequest,
|
|
191
191
|
DescribeStudioProductRequest,
|
|
192
192
|
CreatePositionSpaceResponse,
|
|
193
|
+
ProjectEntryEx,
|
|
193
194
|
CreateBatchProductionResponse,
|
|
194
195
|
ModifyLoRaFrequencyResponse,
|
|
195
196
|
DeletePositionFenceRequest,
|
|
@@ -208,10 +209,11 @@ import {
|
|
|
208
209
|
GetCOSURLRequest,
|
|
209
210
|
DescribeLoRaFrequencyRequest,
|
|
210
211
|
DescribeGatewayBindDevicesRequest,
|
|
212
|
+
GetDeviceSumStatisticsResponse,
|
|
211
213
|
DescribeGatewaySubProductsRequest,
|
|
212
214
|
DeleteStudioProductRequest,
|
|
213
215
|
BindProductsRequest,
|
|
214
|
-
|
|
216
|
+
GetDeviceSumStatisticsRequest,
|
|
215
217
|
ModifySpacePropertyResponse,
|
|
216
218
|
PublishMessageResponse,
|
|
217
219
|
BindDevicesResponse,
|
|
@@ -648,6 +650,16 @@ export class Client extends AbstractClient {
|
|
|
648
650
|
return this.request("CallDeviceActionAsync", req, cb)
|
|
649
651
|
}
|
|
650
652
|
|
|
653
|
+
/**
|
|
654
|
+
* 拉取设备统计汇总数据
|
|
655
|
+
*/
|
|
656
|
+
async GetDeviceSumStatistics(
|
|
657
|
+
req: GetDeviceSumStatisticsRequest,
|
|
658
|
+
cb?: (error: string, rep: GetDeviceSumStatisticsResponse) => void
|
|
659
|
+
): Promise<GetDeviceSumStatisticsResponse> {
|
|
660
|
+
return this.request("GetDeviceSumStatistics", req, cb)
|
|
661
|
+
}
|
|
662
|
+
|
|
651
663
|
/**
|
|
652
664
|
* 提供删除某个项目的能力
|
|
653
665
|
*/
|
|
@@ -1221,9 +1221,9 @@ export interface BindDeviceInfo {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
|
|
1223
1223
|
/**
|
|
1224
|
-
*
|
|
1224
|
+
* ModifyProject请求参数结构体
|
|
1225
1225
|
*/
|
|
1226
|
-
export interface
|
|
1226
|
+
export interface ModifyProjectRequest {
|
|
1227
1227
|
/**
|
|
1228
1228
|
* 项目ID
|
|
1229
1229
|
*/
|
|
@@ -1236,46 +1236,6 @@ export interface ProjectEntryEx {
|
|
|
1236
1236
|
* 项目描述
|
|
1237
1237
|
*/
|
|
1238
1238
|
ProjectDesc: string
|
|
1239
|
-
/**
|
|
1240
|
-
* 项目创建时间,unix时间戳
|
|
1241
|
-
*/
|
|
1242
|
-
CreateTime: number
|
|
1243
|
-
/**
|
|
1244
|
-
* 项目更新时间,unix时间戳
|
|
1245
|
-
*/
|
|
1246
|
-
UpdateTime: number
|
|
1247
|
-
/**
|
|
1248
|
-
* 产品数量
|
|
1249
|
-
*/
|
|
1250
|
-
ProductCount: number
|
|
1251
|
-
/**
|
|
1252
|
-
* NativeApp数量
|
|
1253
|
-
*/
|
|
1254
|
-
NativeAppCount: number
|
|
1255
|
-
/**
|
|
1256
|
-
* WebApp数量
|
|
1257
|
-
*/
|
|
1258
|
-
WebAppCount: number
|
|
1259
|
-
/**
|
|
1260
|
-
* 实例ID
|
|
1261
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1262
|
-
*/
|
|
1263
|
-
InstanceId: string
|
|
1264
|
-
/**
|
|
1265
|
-
* 应用数量
|
|
1266
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1267
|
-
*/
|
|
1268
|
-
ApplicationCount: number
|
|
1269
|
-
/**
|
|
1270
|
-
* 设备注册总数
|
|
1271
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1272
|
-
*/
|
|
1273
|
-
DeviceCount: number
|
|
1274
|
-
/**
|
|
1275
|
-
* 是否开通物联使能
|
|
1276
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1277
|
-
*/
|
|
1278
|
-
EnableOpenState: number
|
|
1279
1239
|
}
|
|
1280
1240
|
|
|
1281
1241
|
/**
|
|
@@ -3600,6 +3560,64 @@ export interface CreatePositionSpaceResponse {
|
|
|
3600
3560
|
RequestId?: string
|
|
3601
3561
|
}
|
|
3602
3562
|
|
|
3563
|
+
/**
|
|
3564
|
+
* 项目详情
|
|
3565
|
+
*/
|
|
3566
|
+
export interface ProjectEntryEx {
|
|
3567
|
+
/**
|
|
3568
|
+
* 项目ID
|
|
3569
|
+
*/
|
|
3570
|
+
ProjectId: string
|
|
3571
|
+
/**
|
|
3572
|
+
* 项目名称
|
|
3573
|
+
*/
|
|
3574
|
+
ProjectName: string
|
|
3575
|
+
/**
|
|
3576
|
+
* 项目描述
|
|
3577
|
+
*/
|
|
3578
|
+
ProjectDesc: string
|
|
3579
|
+
/**
|
|
3580
|
+
* 项目创建时间,unix时间戳
|
|
3581
|
+
*/
|
|
3582
|
+
CreateTime: number
|
|
3583
|
+
/**
|
|
3584
|
+
* 项目更新时间,unix时间戳
|
|
3585
|
+
*/
|
|
3586
|
+
UpdateTime: number
|
|
3587
|
+
/**
|
|
3588
|
+
* 产品数量
|
|
3589
|
+
*/
|
|
3590
|
+
ProductCount: number
|
|
3591
|
+
/**
|
|
3592
|
+
* NativeApp数量
|
|
3593
|
+
*/
|
|
3594
|
+
NativeAppCount: number
|
|
3595
|
+
/**
|
|
3596
|
+
* WebApp数量
|
|
3597
|
+
*/
|
|
3598
|
+
WebAppCount: number
|
|
3599
|
+
/**
|
|
3600
|
+
* 实例ID
|
|
3601
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3602
|
+
*/
|
|
3603
|
+
InstanceId: string
|
|
3604
|
+
/**
|
|
3605
|
+
* 应用数量
|
|
3606
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3607
|
+
*/
|
|
3608
|
+
ApplicationCount: number
|
|
3609
|
+
/**
|
|
3610
|
+
* 设备注册总数
|
|
3611
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3612
|
+
*/
|
|
3613
|
+
DeviceCount: number
|
|
3614
|
+
/**
|
|
3615
|
+
* 是否开通物联使能
|
|
3616
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3617
|
+
*/
|
|
3618
|
+
EnableOpenState: number
|
|
3619
|
+
}
|
|
3620
|
+
|
|
3603
3621
|
/**
|
|
3604
3622
|
* CreateBatchProduction返回参数结构体
|
|
3605
3623
|
*/
|
|
@@ -3936,6 +3954,48 @@ export interface DescribeGatewayBindDevicesRequest {
|
|
|
3936
3954
|
Limit: number
|
|
3937
3955
|
}
|
|
3938
3956
|
|
|
3957
|
+
/**
|
|
3958
|
+
* GetDeviceSumStatistics返回参数结构体
|
|
3959
|
+
*/
|
|
3960
|
+
export interface GetDeviceSumStatisticsResponse {
|
|
3961
|
+
/**
|
|
3962
|
+
* 激活设备总数
|
|
3963
|
+
*/
|
|
3964
|
+
ActivationCount?: number
|
|
3965
|
+
/**
|
|
3966
|
+
* 在线设备总数
|
|
3967
|
+
*/
|
|
3968
|
+
OnlineCount?: number
|
|
3969
|
+
/**
|
|
3970
|
+
* 前一天激活设备数
|
|
3971
|
+
*/
|
|
3972
|
+
ActivationBeforeDay?: number
|
|
3973
|
+
/**
|
|
3974
|
+
* 前一天活跃设备数
|
|
3975
|
+
*/
|
|
3976
|
+
ActiveBeforeDay?: number
|
|
3977
|
+
/**
|
|
3978
|
+
* 前一周激活设备数
|
|
3979
|
+
*/
|
|
3980
|
+
ActivationWeekDayCount?: number
|
|
3981
|
+
/**
|
|
3982
|
+
* 前一周活跃设备数
|
|
3983
|
+
*/
|
|
3984
|
+
ActiveWeekDayCount?: number
|
|
3985
|
+
/**
|
|
3986
|
+
* 上一周激活设备数
|
|
3987
|
+
*/
|
|
3988
|
+
ActivationBeforeWeekDayCount?: number
|
|
3989
|
+
/**
|
|
3990
|
+
* 上一周活跃设备数
|
|
3991
|
+
*/
|
|
3992
|
+
ActiveBeforeWeekDayCount?: number
|
|
3993
|
+
/**
|
|
3994
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3995
|
+
*/
|
|
3996
|
+
RequestId?: string
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3939
3999
|
/**
|
|
3940
4000
|
* DescribeGatewaySubProducts请求参数结构体
|
|
3941
4001
|
*/
|
|
@@ -3987,21 +4047,17 @@ export interface BindProductsRequest {
|
|
|
3987
4047
|
}
|
|
3988
4048
|
|
|
3989
4049
|
/**
|
|
3990
|
-
*
|
|
4050
|
+
* GetDeviceSumStatistics请求参数结构体
|
|
3991
4051
|
*/
|
|
3992
|
-
export interface
|
|
4052
|
+
export interface GetDeviceSumStatisticsRequest {
|
|
3993
4053
|
/**
|
|
3994
|
-
* 项目
|
|
4054
|
+
* 项目id
|
|
3995
4055
|
*/
|
|
3996
4056
|
ProjectId: string
|
|
3997
4057
|
/**
|
|
3998
|
-
*
|
|
3999
|
-
*/
|
|
4000
|
-
ProjectName: string
|
|
4001
|
-
/**
|
|
4002
|
-
* 项目描述
|
|
4058
|
+
* 产品id列表,长度为0则拉取项目内全部产品
|
|
4003
4059
|
*/
|
|
4004
|
-
|
|
4060
|
+
ProductIds?: Array<string>
|
|
4005
4061
|
}
|
|
4006
4062
|
|
|
4007
4063
|
/**
|
|
@@ -1372,7 +1372,7 @@ export interface CreateTriggerRequest {
|
|
|
1372
1372
|
*/
|
|
1373
1373
|
TriggerName: string
|
|
1374
1374
|
/**
|
|
1375
|
-
* 触发器类型,目前支持 cos 、cmq、 timer、 ckafka、apigw
|
|
1375
|
+
* 触发器类型,目前支持 cos 、cmq、 timer、 ckafka、apigw类型。创建函数URL请在此填写 http 。创建 cls 触发器请参考[CLS 创建投递 SCF 任务](https://cloud.tencent.com/document/product/614/61096)。
|
|
1376
1376
|
*/
|
|
1377
1377
|
Type: string
|
|
1378
1378
|
/**
|
|
@@ -590,6 +590,7 @@ export interface TransmitOralProcessWithInitRequest {
|
|
|
590
590
|
/**
|
|
591
591
|
* 音频存储模式,此参数已废弃,无需设置,设置与否都默认为0不存储;
|
|
592
592
|
注:有存储需求的用户建议自行存储至腾讯云COS[对象存储](https://cloud.tencent.com/product/cos)使用。
|
|
593
|
+
* @deprecated
|
|
593
594
|
*/
|
|
594
595
|
StorageMode?: number
|
|
595
596
|
/**
|
|
@@ -626,6 +627,10 @@ export interface TransmitOralProcessWithInitRequest {
|
|
|
626
627
|
* 主题词和关键词
|
|
627
628
|
*/
|
|
628
629
|
Keyword?: string
|
|
630
|
+
/**
|
|
631
|
+
* 音频存储路径,支持通过子路径指定文件夹名称
|
|
632
|
+
*/
|
|
633
|
+
COSBucketURL?: string
|
|
629
634
|
}
|
|
630
635
|
|
|
631
636
|
/**
|
|
@@ -635,54 +640,55 @@ export interface TransmitOralProcessWithInitResponse {
|
|
|
635
640
|
/**
|
|
636
641
|
* 发音精准度,取值范围[-1, 100],当取-1时指完全不匹配,当为句子模式时,是所有已识别单词准确度的加权平均值,在reftext中但未识别出来的词不计入分数中。当为流式模式且请求中IsEnd未置1时,取值无意义。
|
|
637
642
|
*/
|
|
638
|
-
PronAccuracy
|
|
643
|
+
PronAccuracy?: number
|
|
639
644
|
/**
|
|
640
645
|
* 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
641
646
|
*/
|
|
642
|
-
PronFluency
|
|
647
|
+
PronFluency?: number
|
|
643
648
|
/**
|
|
644
649
|
* 发音完整度,取值范围[0, 1],当为词模式或自由说模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
645
650
|
*/
|
|
646
|
-
PronCompletion
|
|
651
|
+
PronCompletion?: number
|
|
647
652
|
/**
|
|
648
653
|
* 详细发音评估结果
|
|
649
654
|
*/
|
|
650
|
-
Words
|
|
655
|
+
Words?: Array<WordRsp>
|
|
651
656
|
/**
|
|
652
657
|
* 语音段唯一标识,一段语音一个SessionId
|
|
653
658
|
*/
|
|
654
|
-
SessionId
|
|
659
|
+
SessionId?: string
|
|
655
660
|
/**
|
|
656
661
|
* 已废弃,不再保存语音音频文件下载地址
|
|
662
|
+
* @deprecated
|
|
657
663
|
*/
|
|
658
|
-
AudioUrl
|
|
664
|
+
AudioUrl?: string
|
|
659
665
|
/**
|
|
660
666
|
* 断句中间结果,中间结果是局部最优而非全局最优的结果,所以中间结果有可能和最终整体结果对应部分不一致;中间结果的输出便于客户端UI更新;待用户发音完全结束后,系统会给出一个综合所有句子的整体结果。
|
|
661
667
|
*/
|
|
662
|
-
SentenceInfoSet
|
|
668
|
+
SentenceInfoSet?: Array<SentenceInfo>
|
|
663
669
|
/**
|
|
664
670
|
* 评估 session 状态,“Evaluating":评估中、"Failed":评估失败、"Finished":评估完成
|
|
665
671
|
*/
|
|
666
|
-
Status
|
|
672
|
+
Status?: string
|
|
667
673
|
/**
|
|
668
674
|
* 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracy)× 完整度(PronCompletion)×(2 - 完整度(PronCompletion)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
|
|
669
675
|
*/
|
|
670
|
-
SuggestedScore
|
|
676
|
+
SuggestedScore?: number
|
|
671
677
|
/**
|
|
672
678
|
* 匹配候选文本的序号,在句子多分支、情景对 话、段落模式下表示匹配到的文本序号
|
|
673
679
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
674
680
|
*/
|
|
675
|
-
RefTextId
|
|
681
|
+
RefTextId?: number
|
|
676
682
|
/**
|
|
677
683
|
* 主题词命中标志,0表示没命中,1表示命中
|
|
678
684
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
679
685
|
*/
|
|
680
|
-
KeyWordHits
|
|
686
|
+
KeyWordHits?: Array<number>
|
|
681
687
|
/**
|
|
682
688
|
* 负向主题词命中标志,0表示没命中,1表示命中
|
|
683
689
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
684
690
|
*/
|
|
685
|
-
UnKeyWordHits
|
|
691
|
+
UnKeyWordHits?: Array<number>
|
|
686
692
|
/**
|
|
687
693
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
688
694
|
*/
|
|
@@ -5369,7 +5369,7 @@ export interface DescribeClusterEndpointStatusResponse {
|
|
|
5369
5369
|
*/
|
|
5370
5370
|
export interface RunAutomationServiceEnabled {
|
|
5371
5371
|
/**
|
|
5372
|
-
* 是否开启云自动化助手。取值范围:<br><li>
|
|
5372
|
+
* 是否开启云自动化助手。取值范围:<br><li>true:表示开启云自动化助手服务<br><li>false:表示不开启云自动化助手服务<br><br>默认取值:false。
|
|
5373
5373
|
*/
|
|
5374
5374
|
Enabled?: boolean
|
|
5375
5375
|
}
|
|
@@ -9066,7 +9066,8 @@ export interface DisableEventPersistenceRequest {
|
|
|
9066
9066
|
*/
|
|
9067
9067
|
export interface RunMonitorServiceEnabled {
|
|
9068
9068
|
/**
|
|
9069
|
-
* 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>
|
|
9069
|
+
* 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true。
|
|
9070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9070
9071
|
*/
|
|
9071
9072
|
Enabled?: boolean
|
|
9072
9073
|
}
|