tencentcloud-sdk-nodejs 4.0.704 → 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.
Files changed (87) hide show
  1. package/CHANGELOG.md +286 -0
  2. package/SERVICE_CHANGELOG.md +325 -224
  3. package/package.json +1 -1
  4. package/products.md +27 -27
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/batch/v20170312/batch_models.ts +7 -6
  7. package/src/services/ccc/v20200210/ccc_client.ts +13 -1
  8. package/src/services/ccc/v20200210/ccc_models.ts +84 -27
  9. package/src/services/cdwpg/v20201230/cdwpg_client.ts +32 -17
  10. package/src/services/cdwpg/v20201230/cdwpg_models.ts +214 -18
  11. package/src/services/csip/v20221121/csip_client.ts +46 -7
  12. package/src/services/csip/v20221121/csip_models.ts +369 -57
  13. package/src/services/cvm/v20170312/cvm_models.ts +7 -6
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +2 -2
  15. package/src/services/emr/v20190103/emr_client.ts +18 -4
  16. package/src/services/emr/v20190103/emr_models.ts +163 -55
  17. package/src/services/ess/v20201111/ess_client.ts +1 -1
  18. package/src/services/ess/v20201111/ess_models.ts +16 -2
  19. package/src/services/essbasic/v20210526/essbasic_client.ts +3 -2
  20. package/src/services/essbasic/v20210526/essbasic_models.ts +7 -0
  21. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +14 -2
  22. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +107 -51
  23. package/src/services/live/v20180801/live_models.ts +13 -0
  24. package/src/services/ocr/v20181119/ocr_models.ts +23 -22
  25. package/src/services/privatedns/v20201028/privatedns_models.ts +1 -1
  26. package/src/services/rum/v20210622/rum_models.ts +5 -1
  27. package/src/services/scf/v20180416/scf_models.ts +1 -1
  28. package/src/services/soe/v20180724/soe_models.ts +18 -12
  29. package/src/services/tdmq/v20200217/tdmq_models.ts +3 -3
  30. package/src/services/tke/v20180525/tke_models.ts +3 -2
  31. package/src/services/tse/v20201207/tse_client.ts +12 -0
  32. package/src/services/tse/v20201207/tse_models.ts +53 -0
  33. package/src/services/waf/v20180125/waf_client.ts +68 -18
  34. package/src/services/waf/v20180125/waf_models.ts +239 -25
  35. package/src/services/wedata/v20210820/wedata_client.ts +128 -28
  36. package/src/services/wedata/v20210820/wedata_models.ts +633 -84
  37. package/tencentcloud/common/sdk_version.d.ts +1 -1
  38. package/tencentcloud/common/sdk_version.js +1 -1
  39. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +7 -6
  40. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
  41. package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
  42. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +82 -27
  43. package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.d.ts +11 -7
  44. package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.js +15 -9
  45. package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +209 -18
  46. package/tencentcloud/services/csip/v20221121/csip_client.d.ts +13 -1
  47. package/tencentcloud/services/csip/v20221121/csip_client.js +18 -0
  48. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +359 -56
  49. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +7 -6
  50. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -2
  51. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -1
  52. package/tencentcloud/services/emr/v20190103/emr_client.js +6 -0
  53. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +159 -55
  54. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
  55. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
  56. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +16 -2
  57. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -1
  58. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -1
  59. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -0
  60. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  61. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  62. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +105 -51
  63. package/tencentcloud/services/live/v20180801/live_models.d.ts +13 -0
  64. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +23 -22
  65. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
  66. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +5 -1
  67. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
  68. package/tencentcloud/services/soe/v20180724/soe_models.d.ts +18 -12
  69. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +3 -3
  70. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +3 -2
  71. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
  72. package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
  73. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +51 -0
  74. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +21 -5
  75. package/tencentcloud/services/waf/v20180125/waf_client.js +30 -6
  76. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +229 -25
  77. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +44 -10
  78. package/tencentcloud/services/wedata/v20210820/wedata_client.js +62 -12
  79. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +618 -87
  80. package/test/ccc.v20200210.test.js +10 -0
  81. package/test/cdwpg.v20201230.test.js +18 -8
  82. package/test/csip.v20221121.test.js +30 -0
  83. package/test/emr.v20190103.test.js +10 -0
  84. package/test/iotexplorer.v20190423.test.js +10 -0
  85. package/test/tse.v20201207.test.js +10 -0
  86. package/test/waf.v20180125.test.js +44 -4
  87. package/test/wedata.v20210820.test.js +86 -6
@@ -533,6 +533,21 @@ export interface Step {
533
533
  */
534
534
  User?: string;
535
535
  }
536
+ /**
537
+ * 键值对,主要用来做Filter
538
+ */
539
+ export interface KeyValue {
540
+ /**
541
+ * 键
542
+ 注意:此字段可能返回 null,表示取不到有效值。
543
+ */
544
+ Key: string;
545
+ /**
546
+ * 值
547
+ 注意:此字段可能返回 null,表示取不到有效值。
548
+ */
549
+ Value: string;
550
+ }
536
551
  /**
537
552
  * DescribeEmrApplicationStatics请求参数结构体
538
553
  */
@@ -904,6 +919,21 @@ export interface ClusterInstancesInfo {
904
919
  */
905
920
  IsCvmReplace: boolean;
906
921
  }
922
+ /**
923
+ * 子网信息
924
+ */
925
+ export interface SubnetInfo {
926
+ /**
927
+ * 子网信息(名字)
928
+ 注意:此字段可能返回 null,表示取不到有效值。
929
+ */
930
+ SubnetName?: string;
931
+ /**
932
+ * 子网信息(ID)
933
+ 注意:此字段可能返回 null,表示取不到有效值。
934
+ */
935
+ SubnetId?: string;
936
+ }
907
937
  /**
908
938
  * ScaleOutInstance请求参数结构体
909
939
  */
@@ -2021,6 +2051,57 @@ export interface TerminateInstanceRequest {
2021
2051
  */
2022
2052
  ResourceIds?: Array<string>;
2023
2053
  }
2054
+ /**
2055
+ * 弹性扩缩容记录
2056
+ */
2057
+ export interface AutoScaleRecord {
2058
+ /**
2059
+ * 扩缩容规则名。
2060
+ */
2061
+ StrategyName?: string;
2062
+ /**
2063
+ * "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。
2064
+ */
2065
+ ScaleAction?: string;
2066
+ /**
2067
+ * 取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。
2068
+ */
2069
+ ActionStatus?: string;
2070
+ /**
2071
+ * 流程触发时间。
2072
+ */
2073
+ ActionTime?: string;
2074
+ /**
2075
+ * 扩缩容相关描述信息。
2076
+ */
2077
+ ScaleInfo?: string;
2078
+ /**
2079
+ * 只在ScaleAction为SCALE_OUT时有效。
2080
+ */
2081
+ ExpectScaleNum?: number;
2082
+ /**
2083
+ * 流程结束时间。
2084
+ */
2085
+ EndTime?: string;
2086
+ /**
2087
+ * 策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩
2088
+ */
2089
+ StrategyType?: number;
2090
+ /**
2091
+ * 扩容时所使用规格信息。
2092
+ */
2093
+ SpecInfo?: string;
2094
+ /**
2095
+ * 补偿扩容,0表示不开启,1表示开启
2096
+ 注意:此字段可能返回 null,表示取不到有效值。
2097
+ */
2098
+ CompensateFlag?: number;
2099
+ /**
2100
+ * 补偿次数
2101
+ 注意:此字段可能返回 null,表示取不到有效值。
2102
+ */
2103
+ CompensateCount?: number;
2104
+ }
2024
2105
  /**
2025
2106
  * 流程作业资源描述
2026
2107
  */
@@ -2728,41 +2809,29 @@ export interface ScaleOutNodeConfig {
2728
2809
  NodeCount: number;
2729
2810
  }
2730
2811
  /**
2731
- * 强制修改标签
2812
+ * DeleteUserManagerUserList请求参数结构体
2732
2813
  */
2733
- export interface ModifyResourceTags {
2734
- /**
2735
- * 集群id 或者 cvm id
2736
- */
2737
- ResourceId: string;
2738
- /**
2739
- * 资源6段式表达式
2740
- */
2741
- Resource: string;
2742
- /**
2743
- * 资源前缀
2744
- */
2745
- ResourcePrefix: string;
2814
+ export interface DeleteUserManagerUserListRequest {
2746
2815
  /**
2747
- * ap-beijing
2816
+ * 集群实例ID
2748
2817
  */
2749
- ResourceRegion: string;
2818
+ InstanceId: string;
2750
2819
  /**
2751
- * emr
2820
+ * 集群用户名列表
2752
2821
  */
2753
- ServiceType: string;
2822
+ UserNameList?: Array<string>;
2754
2823
  /**
2755
- * 删除的标签列表
2824
+ * tke/eks集群id,容器集群传
2756
2825
  */
2757
- DeleteTags?: Array<Tag>;
2826
+ TkeClusterId?: string;
2758
2827
  /**
2759
- * 添加的标签列表
2828
+ * 默认空,容器版传"native"
2760
2829
  */
2761
- AddTags?: Array<Tag>;
2830
+ DisplayStrategy?: string;
2762
2831
  /**
2763
- * 修改的标签列表
2832
+ * 用户组
2764
2833
  */
2765
- ModifyTags?: Array<Tag>;
2834
+ UserGroupList?: Array<UserAndGroup>;
2766
2835
  }
2767
2836
  /**
2768
2837
  * 价格详情
@@ -3053,19 +3122,21 @@ export interface CreateClusterResponse {
3053
3122
  RequestId?: string;
3054
3123
  }
3055
3124
  /**
3056
- * 子网信息
3125
+ * DescribeAutoScaleRecords返回参数结构体
3057
3126
  */
3058
- export interface SubnetInfo {
3127
+ export interface DescribeAutoScaleRecordsResponse {
3059
3128
  /**
3060
- * 子网信息(名字)
3061
- 注意:此字段可能返回 null,表示取不到有效值。
3129
+ * 总扩缩容记录数。
3062
3130
  */
3063
- SubnetName?: string;
3131
+ TotalCount?: number;
3064
3132
  /**
3065
- * 子网信息(ID)
3066
- 注意:此字段可能返回 null,表示取不到有效值。
3133
+ * 记录列表。
3067
3134
  */
3068
- SubnetId?: string;
3135
+ RecordList?: Array<AutoScaleRecord>;
3136
+ /**
3137
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3138
+ */
3139
+ RequestId?: string;
3069
3140
  }
3070
3141
  /**
3071
3142
  * DescribeCvmQuota返回参数结构体
@@ -4377,6 +4448,29 @@ export interface PodState {
4377
4448
  */
4378
4449
  Memory: number;
4379
4450
  }
4451
+ /**
4452
+ * ScaleOutCluster返回参数结构体
4453
+ */
4454
+ export interface ScaleOutClusterResponse {
4455
+ /**
4456
+ * 实例ID。
4457
+ */
4458
+ InstanceId?: string;
4459
+ /**
4460
+ * 客户端Token。
4461
+ 注意:此字段可能返回 null,表示取不到有效值。
4462
+ */
4463
+ ClientToken?: string;
4464
+ /**
4465
+ * 扩容流程ID。
4466
+ 注意:此字段可能返回 null,表示取不到有效值。
4467
+ */
4468
+ FlowId?: number;
4469
+ /**
4470
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4471
+ */
4472
+ RequestId?: string;
4473
+ }
4380
4474
  /**
4381
4475
  * 共用组件信息
4382
4476
  */
@@ -4690,29 +4784,41 @@ export interface InquirePriceRenewEmrRequest {
4690
4784
  Currency?: string;
4691
4785
  }
4692
4786
  /**
4693
- * DeleteUserManagerUserList请求参数结构体
4787
+ * 强制修改标签
4694
4788
  */
4695
- export interface DeleteUserManagerUserListRequest {
4789
+ export interface ModifyResourceTags {
4696
4790
  /**
4697
- * 集群实例ID
4791
+ * 集群id 或者 cvm id
4698
4792
  */
4699
- InstanceId: string;
4793
+ ResourceId: string;
4700
4794
  /**
4701
- * 集群用户名列表
4795
+ * 资源6段式表达式
4702
4796
  */
4703
- UserNameList?: Array<string>;
4797
+ Resource: string;
4704
4798
  /**
4705
- * tke/eks集群id,容器集群传
4799
+ * 资源前缀
4706
4800
  */
4707
- TkeClusterId?: string;
4801
+ ResourcePrefix: string;
4708
4802
  /**
4709
- * 默认空,容器版传"native"
4803
+ * ap-beijing
4710
4804
  */
4711
- DisplayStrategy?: string;
4805
+ ResourceRegion: string;
4712
4806
  /**
4713
- * 用户组
4807
+ * emr
4714
4808
  */
4715
- UserGroupList?: Array<UserAndGroup>;
4809
+ ServiceType: string;
4810
+ /**
4811
+ * 删除的标签列表
4812
+ */
4813
+ DeleteTags?: Array<Tag>;
4814
+ /**
4815
+ * 添加的标签列表
4816
+ */
4817
+ AddTags?: Array<Tag>;
4818
+ /**
4819
+ * 修改的标签列表
4820
+ */
4821
+ ModifyTags?: Array<Tag>;
4716
4822
  }
4717
4823
  /**
4718
4824
  * DescribeImpalaQueries返回参数结构体
@@ -5213,27 +5319,25 @@ export interface ServiceBasicRestartInfo {
5213
5319
  ComponentInfoList?: Array<ComponentBasicRestartInfo>;
5214
5320
  }
5215
5321
  /**
5216
- * ScaleOutCluster返回参数结构体
5322
+ * DescribeAutoScaleRecords请求参数结构体
5217
5323
  */
5218
- export interface ScaleOutClusterResponse {
5324
+ export interface DescribeAutoScaleRecordsRequest {
5219
5325
  /**
5220
5326
  * 实例ID。
5221
5327
  */
5222
- InstanceId?: string;
5328
+ InstanceId: string;
5223
5329
  /**
5224
- * 客户端Token。
5225
- 注意:此字段可能返回 null,表示取不到有效值。
5330
+ * 记录过滤参数,目前仅能为“StartTime”,“EndTime”和“StrategyName”。StartTime和EndTime支持2006-01-02 15:04:05 或者2006/01/02 15:04:05的时间格式
5226
5331
  */
5227
- ClientToken?: string;
5332
+ Filters?: Array<KeyValue>;
5228
5333
  /**
5229
- * 扩容流程ID。
5230
- 注意:此字段可能返回 null,表示取不到有效值。
5334
+ * 分页参数。
5231
5335
  */
5232
- FlowId?: number;
5336
+ Offset?: number;
5233
5337
  /**
5234
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5338
+ * 分页参数。最大支持100
5235
5339
  */
5236
- RequestId?: string;
5340
+ Limit?: number;
5237
5341
  }
5238
5342
  /**
5239
5343
  * 机器资源描述。
@@ -337,7 +337,7 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
337
337
  `1. 该接口目前仅支持签署人类型是个人签署方的场景(PERSON)。` <br/>
338
338
  `2. 该接口可生成签署链接的C端签署人必须仅有手写签名和时间类型的签署控件,不支持填写控件 。` <br/>
339
339
  `3. 该签署链接有效期为30分钟,过期后将失效,如需签署可重新创建签署链接 。` <br/>
340
- `4. 该接口返回的签署链接是用于APP集成的场景,支持APP打开或浏览器直接打开,不支持微信小程序嵌入`。<br/>
340
+ `4. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,不支持微信小程序嵌入`。<br/>
341
341
  跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
342
342
  */
343
343
  CreateFlowSignUrl(req: CreateFlowSignUrlRequest, cb?: (error: string, rep: CreateFlowSignUrlResponse) => void): Promise<CreateFlowSignUrlResponse>;
@@ -437,7 +437,7 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
437
437
  `1. 该接口目前仅支持签署人类型是个人签署方的场景(PERSON)。` <br/>
438
438
  `2. 该接口可生成签署链接的C端签署人必须仅有手写签名和时间类型的签署控件,不支持填写控件 。` <br/>
439
439
  `3. 该签署链接有效期为30分钟,过期后将失效,如需签署可重新创建签署链接 。` <br/>
440
- `4. 该接口返回的签署链接是用于APP集成的场景,支持APP打开或浏览器直接打开,不支持微信小程序嵌入`。<br/>
440
+ `4. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,不支持微信小程序嵌入`。<br/>
441
441
  跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
442
442
  */
443
443
  async CreateFlowSignUrl(req, cb) {
@@ -5484,6 +5484,20 @@ export interface Component {
5484
5484
  /**
5485
5485
  * 扩展参数:
5486
5486
  为JSON格式。
5487
+ 不同类型的控件会有部分非通用参数
5488
+
5489
+ ComponentType为TEXT、MULTI_LINE_TEXT时,支持以下参数:
5490
+ 1 Font:目前只支持黑体、宋体
5491
+ 2 FontSize: 范围12-72
5492
+ 3 FontAlign: Left/Right/Center,左对齐/居中/右对齐
5493
+ 4 FontColor:字符串类型,格式为RGB颜色数字
5494
+ 参数样例: "ComponentExtra": "{\"FontColor\":\"255,0,0\",\"FontSize\":12}"
5495
+
5496
+ TEXT/MULTI_LINE_TEXT控件可以指定
5497
+ 1 Font:目前只支持黑体、宋体
5498
+ 2 FontSize: 范围12-72
5499
+ 3 FontAlign: Left/Right/Center,左对齐/居中/右对齐
5500
+ 例如:{"FontSize":12}
5487
5501
 
5488
5502
  ComponentType为FILL_IMAGE时,支持以下参数:
5489
5503
  NotMakeImageCenter:bool。是否设置图片居中。false:居中(默认)。 true: 不居中
@@ -5506,11 +5520,11 @@ export interface Component {
5506
5520
  5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
5507
5521
  如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
5508
5522
  特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
5509
- 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
5523
+ 参数样例: "ComponentExtra": "{"Format":“yyyy m d”,"FontSize":12,"Gaps":"2,2", "FontAlign":"Right"}"
5510
5524
 
5511
5525
  ComponentType为SIGN_SEAL类型时,支持以下参数:
5512
5526
  1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
5513
- 参数样例:"ComponentExtra":"{\"PageRanges\":[{\"BeginPage\":1,\"EndPage\":-1}]}"
5527
+ 参数样例: "ComponentExtra":"{"PageRange":[{"BeginPage":1,"EndPage":-1}]}"
5514
5528
  */
5515
5529
  ComponentExtra?: string;
5516
5530
  /**
@@ -340,7 +340,8 @@ https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchAp
340
340
  */
341
341
  ChannelCreateFlowApprovers(req: ChannelCreateFlowApproversRequest, cb?: (error: string, rep: ChannelCreateFlowApproversResponse) => void): Promise<ChannelCreateFlowApproversResponse>;
342
342
  /**
343
- * 分页查询企业角色列表,法人的角色是系统保留角色,不会返回,按照角色创建时间升序排列
343
+ * 分页查询企业角色列表,法人的角色是系统保留角色,不会返回,按照角色创建时间升序排列。
344
+ 相关系统默认角色说明可参考文档:https://cloud.tencent.com/document/product/1323/61355
344
345
  */
345
346
  ChannelDescribeRoles(req: ChannelDescribeRolesRequest, cb?: (error: string, rep: ChannelDescribeRolesResponse) => void): Promise<ChannelDescribeRolesResponse>;
346
347
  /**
@@ -444,7 +444,8 @@ https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchAp
444
444
  return this.request("ChannelCreateFlowApprovers", req, cb);
445
445
  }
446
446
  /**
447
- * 分页查询企业角色列表,法人的角色是系统保留角色,不会返回,按照角色创建时间升序排列
447
+ * 分页查询企业角色列表,法人的角色是系统保留角色,不会返回,按照角色创建时间升序排列。
448
+ 相关系统默认角色说明可参考文档:https://cloud.tencent.com/document/product/1323/61355
448
449
  */
449
450
  async ChannelDescribeRoles(req, cb) {
450
451
  return this.request("ChannelDescribeRoles", req, cb);
@@ -133,6 +133,13 @@ export interface Component {
133
133
  为JSON格式。
134
134
  不同类型的控件会有部分非通用参数
135
135
 
136
+ ComponentType为TEXT、MULTI_LINE_TEXT时,支持以下参数:
137
+ 1 Font:目前只支持黑体、宋体
138
+ 2 FontSize: 范围12-72
139
+ 3 FontAlign: Left/Right/Center,左对齐/居中/右对齐
140
+ 4 FontColor:字符串类型,格式为RGB颜色数字
141
+ 参数样例: "ComponentExtra": "{\"FontColor\":\"255,0,0\",\"FontSize\":12}"
142
+
136
143
  TEXT/MULTI_LINE_TEXT控件可以指定
137
144
  1 Font:目前只支持黑体、宋体
138
145
  2 FontSize: 范围12-72
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { UpdateDevicesEnableStateResponse, DescribeDeviceLocationSolveRequest, DeleteProjectRequest, DeleteFenceBindRequest, DescribeModelDefinitionResponse, UnbindDevicesRequest, DeleteDevicesResponse, ModifyStudioProductResponse, GetGatewaySubDeviceListResponse, DeleteStudioProductResponse, BindDevicesRequest, DescribeGatewaySubProductsResponse, GetDeviceListResponse, DeleteLoRaFrequencyResponse, DescribeTopicPolicyRequest, ModifyPositionFenceRequest, DeleteTopicRuleResponse, ModifyModelDefinitionRequest, CreateStudioProductResponse, CallDeviceActionSyncRequest, DescribeDevicePositionListRequest, GetDeviceLocationHistoryResponse, UpdateFirmwareResponse, ModifyPositionFenceResponse, ModifyStudioProductRequest, ModifyPositionSpaceResponse, CreateStudioProductRequest, ModifyFenceBindResponse, CreateBatchProductionRequest, DeletePositionFenceResponse, UploadFirmwareRequest, ListEventHistoryRequest, SearchTopicRuleRequest, DescribeDeviceDataRequest, PublishRRPCMessageRequest, ListTopicPolicyResponse, SearchPositionSpaceResponse, DescribePositionFenceListResponse, GenSingleDeviceSignatureOfPublicResponse, DescribeDevicePositionListResponse, GetProjectListResponse, CreateProjectRequest, DescribeProjectResponse, UnbindProductsRequest, SearchStudioProductResponse, GetTopicRuleListRequest, GetFamilyDeviceUserListResponse, DescribeBatchProductionResponse, ListTopicPolicyRequest, DeleteDeviceRequest, DeleteLoRaFrequencyRequest, ControlDeviceDataRequest, ListFirmwaresResponse, ReleaseStudioProductResponse, DescribeSpaceFenceEventListResponse, DeleteLoRaGatewayRequest, UnbindProductsResponse, DescribeTopicPolicyResponse, SearchPositionSpaceRequest, ModifyTopicPolicyResponse, GetPositionSpaceListRequest, SearchTopicRuleResponse, DescribeFenceEventListResponse, UpdateDevicesEnableStateRequest, DescribeTopicRuleRequest, GetDeviceLocationHistoryRequest, CallDeviceActionSyncResponse, CreateLoRaGatewayRequest, ReleaseStudioProductRequest, CreateProjectResponse, DescribeDeviceDataHistoryResponse, DeleteProjectResponse, CreateTopicPolicyResponse, CreateDeviceResponse, CreateDeviceRequest, DeletePositionSpaceRequest, GetStudioProductListRequest, DescribeFirmwareTaskResponse, DisableTopicRuleResponse, DescribeDeviceLocationSolveResponse, DescribeStudioProductResponse, CreateFenceBindRequest, DescribeDeviceResponse, PublishBroadcastMessageRequest, ListFirmwaresRequest, GetStudioProductListResponse, PublishMessageRequest, ModifyTopicRuleRequest, GetDeviceListRequest, ModifySpacePropertyRequest, GetPositionSpaceListResponse, GetCOSURLResponse, ModifyFenceBindRequest, GetTopicRuleListResponse, DescribeFenceEventListRequest, ModifyPositionSpaceRequest, GetLoRaGatewayListResponse, ModifyLoRaGatewayResponse, DirectBindDeviceInFamilyResponse, CallDeviceActionAsyncRequest, CallDeviceActionAsyncResponse, DeleteFenceBindResponse, DeleteTopicPolicyRequest, CreateFenceBindResponse, DescribeTopicRuleResponse, CreatePositionFenceResponse, PublishBroadcastMessageResponse, DescribeFenceBindListRequest, DescribeBindedProductsResponse, DescribeDeviceRequest, DescribePositionFenceListRequest, ModifyTopicRuleResponse, DescribeBatchProductionRequest, CreateTopicPolicyRequest, DirectBindDeviceInFamilyRequest, GetFamilyDeviceUserListRequest, DescribeBindedProductsRequest, DescribeLoRaFrequencyResponse, DescribeInstanceResponse, DescribeGatewaySubDeviceListResponse, DescribeSpaceFenceEventListRequest, GetLoRaGatewayListRequest, DescribeProjectRequest, UnbindDevicesResponse, ModifyLoRaFrequencyRequest, ModifyModelDefinitionResponse, UploadFirmwareResponse, ModifyTopicPolicyRequest, DeleteTopicRuleRequest, CreateLoRaGatewayResponse, DeleteTopicPolicyResponse, DeleteLoRaGatewayResponse, CreateLoRaFrequencyRequest, DescribeDeviceBindGatewayResponse, DescribeGatewaySubDeviceListRequest, ControlDeviceDataResponse, DescribeDeviceDataHistoryRequest, UpdateFirmwareRequest, DescribeStudioProductRequest, CreatePositionSpaceResponse, CreateBatchProductionResponse, ModifyLoRaFrequencyResponse, DeletePositionFenceRequest, GetProjectListRequest, DeletePositionSpaceResponse, DescribeDeviceBindGatewayRequest, CreateLoRaFrequencyResponse, EnableTopicRuleResponse, GetGatewaySubDeviceListRequest, SearchStudioProductRequest, GenSingleDeviceSignatureOfPublicRequest, DeleteDevicesRequest, BindProductsResponse, ModifyProjectResponse, GetCOSURLRequest, DescribeLoRaFrequencyRequest, DescribeGatewayBindDevicesRequest, DescribeGatewaySubProductsRequest, DeleteStudioProductRequest, BindProductsRequest, ModifyProjectRequest, ModifySpacePropertyResponse, PublishMessageResponse, BindDevicesResponse, DescribeFenceBindListResponse, CreatePositionFenceRequest, DescribeModelDefinitionRequest, EnableTopicRuleRequest, DisableTopicRuleRequest, CreateTopicRuleResponse, DescribeDeviceDataResponse, CreateTopicRuleRequest, PublishRRPCMessageResponse, GetBatchProductionsListRequest, DeleteDeviceResponse, DescribeInstanceRequest, ModifyLoRaGatewayRequest, ListEventHistoryResponse, GetBatchProductionsListResponse, DescribeGatewayBindDevicesResponse, DescribeFirmwareTaskRequest, CreatePositionSpaceRequest } from "./iotexplorer_models";
3
+ import { UpdateDevicesEnableStateResponse, DescribeDeviceLocationSolveRequest, DeleteProjectRequest, DeleteFenceBindRequest, DescribeModelDefinitionResponse, UnbindDevicesRequest, DeleteDevicesResponse, ModifyStudioProductResponse, GetGatewaySubDeviceListResponse, DeleteStudioProductResponse, BindDevicesRequest, DescribeGatewaySubProductsResponse, GetDeviceListResponse, DeleteLoRaFrequencyResponse, DescribeTopicPolicyRequest, ModifyPositionFenceRequest, DeleteTopicRuleResponse, ModifyModelDefinitionRequest, CreateStudioProductResponse, CallDeviceActionSyncRequest, DescribeDevicePositionListRequest, GetDeviceLocationHistoryResponse, UpdateFirmwareResponse, ModifyPositionFenceResponse, ModifyStudioProductRequest, ModifyPositionSpaceResponse, CreateStudioProductRequest, ModifyFenceBindResponse, CreateBatchProductionRequest, DeletePositionFenceResponse, UploadFirmwareRequest, ListEventHistoryRequest, SearchTopicRuleRequest, DescribeDeviceDataRequest, PublishRRPCMessageRequest, ListTopicPolicyResponse, SearchPositionSpaceResponse, DescribePositionFenceListResponse, GenSingleDeviceSignatureOfPublicResponse, DescribeDevicePositionListResponse, GetProjectListResponse, CreateProjectRequest, DescribeProjectResponse, UnbindProductsRequest, SearchStudioProductResponse, GetTopicRuleListRequest, GetFamilyDeviceUserListResponse, ModifyProjectRequest, DescribeBatchProductionResponse, ListTopicPolicyRequest, DeleteDeviceRequest, DeleteLoRaFrequencyRequest, ControlDeviceDataRequest, ListFirmwaresResponse, ReleaseStudioProductResponse, DescribeSpaceFenceEventListResponse, DeleteLoRaGatewayRequest, UnbindProductsResponse, DescribeTopicPolicyResponse, SearchPositionSpaceRequest, ModifyTopicPolicyResponse, GetPositionSpaceListRequest, SearchTopicRuleResponse, DescribeFenceEventListResponse, UpdateDevicesEnableStateRequest, DescribeTopicRuleRequest, GetDeviceLocationHistoryRequest, CallDeviceActionSyncResponse, CreateLoRaGatewayRequest, ReleaseStudioProductRequest, CreateProjectResponse, DescribeDeviceDataHistoryResponse, DeleteProjectResponse, CreateTopicPolicyResponse, CreateDeviceResponse, CreateDeviceRequest, DeletePositionSpaceRequest, GetStudioProductListRequest, DescribeFirmwareTaskResponse, DisableTopicRuleResponse, DescribeDeviceLocationSolveResponse, DescribeStudioProductResponse, CreateFenceBindRequest, DescribeDeviceResponse, PublishBroadcastMessageRequest, ListFirmwaresRequest, GetStudioProductListResponse, PublishMessageRequest, ModifyTopicRuleRequest, GetDeviceListRequest, ModifySpacePropertyRequest, GetPositionSpaceListResponse, GetCOSURLResponse, ModifyFenceBindRequest, GetTopicRuleListResponse, DescribeFenceEventListRequest, ModifyPositionSpaceRequest, GetLoRaGatewayListResponse, ModifyLoRaGatewayResponse, DirectBindDeviceInFamilyResponse, CallDeviceActionAsyncRequest, CallDeviceActionAsyncResponse, DeleteFenceBindResponse, DeleteTopicPolicyRequest, CreateFenceBindResponse, DescribeTopicRuleResponse, CreatePositionFenceResponse, PublishBroadcastMessageResponse, DescribeFenceBindListRequest, DescribeBindedProductsResponse, DescribeDeviceRequest, DescribePositionFenceListRequest, ModifyTopicRuleResponse, DescribeBatchProductionRequest, CreateTopicPolicyRequest, DirectBindDeviceInFamilyRequest, GetFamilyDeviceUserListRequest, DescribeBindedProductsRequest, DescribeLoRaFrequencyResponse, DescribeInstanceResponse, DescribeGatewaySubDeviceListResponse, DescribeSpaceFenceEventListRequest, GetLoRaGatewayListRequest, DescribeProjectRequest, UnbindDevicesResponse, ModifyLoRaFrequencyRequest, ModifyModelDefinitionResponse, UploadFirmwareResponse, ModifyTopicPolicyRequest, DeleteTopicRuleRequest, CreateLoRaGatewayResponse, DeleteTopicPolicyResponse, DeleteLoRaGatewayResponse, CreateLoRaFrequencyRequest, DescribeDeviceBindGatewayResponse, DescribeGatewaySubDeviceListRequest, ControlDeviceDataResponse, DescribeDeviceDataHistoryRequest, UpdateFirmwareRequest, DescribeStudioProductRequest, CreatePositionSpaceResponse, CreateBatchProductionResponse, ModifyLoRaFrequencyResponse, DeletePositionFenceRequest, GetProjectListRequest, DeletePositionSpaceResponse, DescribeDeviceBindGatewayRequest, CreateLoRaFrequencyResponse, EnableTopicRuleResponse, GetGatewaySubDeviceListRequest, SearchStudioProductRequest, GenSingleDeviceSignatureOfPublicRequest, DeleteDevicesRequest, BindProductsResponse, ModifyProjectResponse, GetCOSURLRequest, DescribeLoRaFrequencyRequest, DescribeGatewayBindDevicesRequest, GetDeviceSumStatisticsResponse, DescribeGatewaySubProductsRequest, DeleteStudioProductRequest, BindProductsRequest, GetDeviceSumStatisticsRequest, ModifySpacePropertyResponse, PublishMessageResponse, BindDevicesResponse, DescribeFenceBindListResponse, CreatePositionFenceRequest, DescribeModelDefinitionRequest, EnableTopicRuleRequest, DisableTopicRuleRequest, CreateTopicRuleResponse, DescribeDeviceDataResponse, CreateTopicRuleRequest, PublishRRPCMessageResponse, GetBatchProductionsListRequest, DeleteDeviceResponse, DescribeInstanceRequest, ModifyLoRaGatewayRequest, ListEventHistoryResponse, GetBatchProductionsListResponse, DescribeGatewayBindDevicesResponse, DescribeFirmwareTaskRequest, CreatePositionSpaceRequest } from "./iotexplorer_models";
4
4
  /**
5
5
  * iotexplorer client
6
6
  * @class
@@ -167,6 +167,10 @@ export declare class Client extends AbstractClient {
167
167
  * 提供给用户异步调用设备行为的能力
168
168
  */
169
169
  CallDeviceActionAsync(req: CallDeviceActionAsyncRequest, cb?: (error: string, rep: CallDeviceActionAsyncResponse) => void): Promise<CallDeviceActionAsyncResponse>;
170
+ /**
171
+ * 拉取设备统计汇总数据
172
+ */
173
+ GetDeviceSumStatistics(req: GetDeviceSumStatisticsRequest, cb?: (error: string, rep: GetDeviceSumStatisticsResponse) => void): Promise<GetDeviceSumStatisticsResponse>;
170
174
  /**
171
175
  * 提供删除某个项目的能力
172
176
  */
@@ -267,6 +267,12 @@ class Client extends abstract_client_1.AbstractClient {
267
267
  async CallDeviceActionAsync(req, cb) {
268
268
  return this.request("CallDeviceActionAsync", req, cb);
269
269
  }
270
+ /**
271
+ * 拉取设备统计汇总数据
272
+ */
273
+ async GetDeviceSumStatistics(req, cb) {
274
+ return this.request("GetDeviceSumStatistics", req, cb);
275
+ }
270
276
  /**
271
277
  * 提供删除某个项目的能力
272
278
  */
@@ -1142,9 +1142,9 @@ export interface BindDeviceInfo {
1142
1142
  DeviceName: string;
1143
1143
  }
1144
1144
  /**
1145
- * 项目详情
1145
+ * ModifyProject请求参数结构体
1146
1146
  */
1147
- export interface ProjectEntryEx {
1147
+ export interface ModifyProjectRequest {
1148
1148
  /**
1149
1149
  * 项目ID
1150
1150
  */
@@ -1157,46 +1157,6 @@ export interface ProjectEntryEx {
1157
1157
  * 项目描述
1158
1158
  */
1159
1159
  ProjectDesc: string;
1160
- /**
1161
- * 项目创建时间,unix时间戳
1162
- */
1163
- CreateTime: number;
1164
- /**
1165
- * 项目更新时间,unix时间戳
1166
- */
1167
- UpdateTime: number;
1168
- /**
1169
- * 产品数量
1170
- */
1171
- ProductCount: number;
1172
- /**
1173
- * NativeApp数量
1174
- */
1175
- NativeAppCount: number;
1176
- /**
1177
- * WebApp数量
1178
- */
1179
- WebAppCount: number;
1180
- /**
1181
- * 实例ID
1182
- 注意:此字段可能返回 null,表示取不到有效值。
1183
- */
1184
- InstanceId: string;
1185
- /**
1186
- * 应用数量
1187
- 注意:此字段可能返回 null,表示取不到有效值。
1188
- */
1189
- ApplicationCount: number;
1190
- /**
1191
- * 设备注册总数
1192
- 注意:此字段可能返回 null,表示取不到有效值。
1193
- */
1194
- DeviceCount: number;
1195
- /**
1196
- * 是否开通物联使能
1197
- 注意:此字段可能返回 null,表示取不到有效值。
1198
- */
1199
- EnableOpenState: number;
1200
1160
  }
1201
1161
  /**
1202
1162
  * DescribeBatchProduction返回参数结构体
@@ -3411,6 +3371,63 @@ export interface CreatePositionSpaceResponse {
3411
3371
  */
3412
3372
  RequestId?: string;
3413
3373
  }
3374
+ /**
3375
+ * 项目详情
3376
+ */
3377
+ export interface ProjectEntryEx {
3378
+ /**
3379
+ * 项目ID
3380
+ */
3381
+ ProjectId: string;
3382
+ /**
3383
+ * 项目名称
3384
+ */
3385
+ ProjectName: string;
3386
+ /**
3387
+ * 项目描述
3388
+ */
3389
+ ProjectDesc: string;
3390
+ /**
3391
+ * 项目创建时间,unix时间戳
3392
+ */
3393
+ CreateTime: number;
3394
+ /**
3395
+ * 项目更新时间,unix时间戳
3396
+ */
3397
+ UpdateTime: number;
3398
+ /**
3399
+ * 产品数量
3400
+ */
3401
+ ProductCount: number;
3402
+ /**
3403
+ * NativeApp数量
3404
+ */
3405
+ NativeAppCount: number;
3406
+ /**
3407
+ * WebApp数量
3408
+ */
3409
+ WebAppCount: number;
3410
+ /**
3411
+ * 实例ID
3412
+ 注意:此字段可能返回 null,表示取不到有效值。
3413
+ */
3414
+ InstanceId: string;
3415
+ /**
3416
+ * 应用数量
3417
+ 注意:此字段可能返回 null,表示取不到有效值。
3418
+ */
3419
+ ApplicationCount: number;
3420
+ /**
3421
+ * 设备注册总数
3422
+ 注意:此字段可能返回 null,表示取不到有效值。
3423
+ */
3424
+ DeviceCount: number;
3425
+ /**
3426
+ * 是否开通物联使能
3427
+ 注意:此字段可能返回 null,表示取不到有效值。
3428
+ */
3429
+ EnableOpenState: number;
3430
+ }
3414
3431
  /**
3415
3432
  * CreateBatchProduction返回参数结构体
3416
3433
  */
@@ -3729,6 +3746,47 @@ export interface DescribeGatewayBindDevicesRequest {
3729
3746
  */
3730
3747
  Limit: number;
3731
3748
  }
3749
+ /**
3750
+ * GetDeviceSumStatistics返回参数结构体
3751
+ */
3752
+ export interface GetDeviceSumStatisticsResponse {
3753
+ /**
3754
+ * 激活设备总数
3755
+ */
3756
+ ActivationCount?: number;
3757
+ /**
3758
+ * 在线设备总数
3759
+ */
3760
+ OnlineCount?: number;
3761
+ /**
3762
+ * 前一天激活设备数
3763
+ */
3764
+ ActivationBeforeDay?: number;
3765
+ /**
3766
+ * 前一天活跃设备数
3767
+ */
3768
+ ActiveBeforeDay?: number;
3769
+ /**
3770
+ * 前一周激活设备数
3771
+ */
3772
+ ActivationWeekDayCount?: number;
3773
+ /**
3774
+ * 前一周活跃设备数
3775
+ */
3776
+ ActiveWeekDayCount?: number;
3777
+ /**
3778
+ * 上一周激活设备数
3779
+ */
3780
+ ActivationBeforeWeekDayCount?: number;
3781
+ /**
3782
+ * 上一周活跃设备数
3783
+ */
3784
+ ActiveBeforeWeekDayCount?: number;
3785
+ /**
3786
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3787
+ */
3788
+ RequestId?: string;
3789
+ }
3732
3790
  /**
3733
3791
  * DescribeGatewaySubProducts请求参数结构体
3734
3792
  */
@@ -3777,21 +3835,17 @@ export interface BindProductsRequest {
3777
3835
  ProductIds: Array<string>;
3778
3836
  }
3779
3837
  /**
3780
- * ModifyProject请求参数结构体
3838
+ * GetDeviceSumStatistics请求参数结构体
3781
3839
  */
3782
- export interface ModifyProjectRequest {
3840
+ export interface GetDeviceSumStatisticsRequest {
3783
3841
  /**
3784
- * 项目ID
3842
+ * 项目id
3785
3843
  */
3786
3844
  ProjectId: string;
3787
3845
  /**
3788
- * 项目名称
3789
- */
3790
- ProjectName: string;
3791
- /**
3792
- * 项目描述
3846
+ * 产品id列表,长度为0则拉取项目内全部产品
3793
3847
  */
3794
- ProjectDesc: string;
3848
+ ProductIds?: Array<string>;
3795
3849
  }
3796
3850
  /**
3797
3851
  * ModifySpaceProperty返回参数结构体
@@ -2937,6 +2937,12 @@ export interface ModifyLivePullStreamTaskRequest {
2937
2937
  1. 单位:秒,配合FileIndex使用。
2938
2938
  */
2939
2939
  OffsetTime?: number;
2940
+ /**
2941
+ * 指定任务 ID 修改任务。
2942
+
2943
+ 注意:该自定义任务 ID 只有在创建任务时指定了,才可在此处修改时使用。否则请使用系统返回的任务 ID。
2944
+ */
2945
+ SpecifyTaskId?: string;
2940
2946
  /**
2941
2947
  * 目标 Url。
2942
2948
  换目标地址,会断流重推到新地址。
@@ -4671,6 +4677,13 @@ export interface CreateLivePullStreamTaskRequest {
4671
4677
  示例: ignore_region 用于忽略传入地域, 内部按负载分配。
4672
4678
  */
4673
4679
  ExtraCmd?: string;
4680
+ /**
4681
+ * 自定义任务 ID。
4682
+ 注:
4683
+ 1. 该自定义 ID 为可选参数,如果传入,请确保该账号下传入的 ID 唯一。
4684
+ 2. 该自定义 ID 用于防止重复发起请求时产生重复任务。后面也可以用 SpecifyTaskId 来修改或删除任务。
4685
+ */
4686
+ SpecifyTaskId?: string;
4674
4687
  /**
4675
4688
  * 任务描述,限制 512 字节。
4676
4689
  */