tencentcloud-sdk-nodejs 4.0.520 → 4.0.521

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 (51) hide show
  1. package/CHANGELOG.md +144 -0
  2. package/README.md +5 -4
  3. package/SERVICE_CHANGELOG.md +174 -75
  4. package/package.json +1 -1
  5. package/products.md +10 -10
  6. package/src/common/sdk_version.ts +1 -1
  7. package/src/services/acp/v20220105/acp_client.ts +13 -1
  8. package/src/services/acp/v20220105/acp_models.ts +75 -15
  9. package/src/services/emr/v20190103/emr_models.ts +2 -2
  10. package/src/services/ess/v20201111/ess_models.ts +6 -0
  11. package/src/services/facefusion/index.ts +2 -0
  12. package/src/services/facefusion/v20220927/facefusion_client.ts +65 -0
  13. package/src/services/facefusion/v20220927/facefusion_models.ts +273 -0
  14. package/src/services/facefusion/v20220927/index.ts +6 -0
  15. package/src/services/live/v20180801/live_client.ts +1 -1
  16. package/src/services/ms/v20180408/ms_client.ts +1 -1
  17. package/src/services/ms/v20180408/ms_models.ts +8 -8
  18. package/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +7 -2
  19. package/src/services/tcr/v20190924/tcr_models.ts +6 -1
  20. package/src/services/thpc/v20220401/thpc_client.ts +16 -2
  21. package/src/services/thpc/v20220401/thpc_models.ts +147 -13
  22. package/src/services/vod/v20180717/vod_models.ts +8 -7
  23. package/tencentcloud/common/sdk_version.d.ts +1 -1
  24. package/tencentcloud/common/sdk_version.js +1 -1
  25. package/tencentcloud/services/acp/v20220105/acp_client.d.ts +5 -1
  26. package/tencentcloud/services/acp/v20220105/acp_client.js +6 -0
  27. package/tencentcloud/services/acp/v20220105/acp_models.d.ts +63 -13
  28. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +2 -2
  29. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +5 -0
  30. package/tencentcloud/services/facefusion/index.d.ts +4 -0
  31. package/tencentcloud/services/facefusion/index.js +2 -0
  32. package/tencentcloud/services/facefusion/v20220927/facefusion_client.d.ts +22 -0
  33. package/tencentcloud/services/facefusion/v20220927/facefusion_client.js +47 -0
  34. package/tencentcloud/services/facefusion/v20220927/facefusion_models.d.ts +217 -0
  35. package/tencentcloud/services/facefusion/v20220927/facefusion_models.js +18 -0
  36. package/tencentcloud/services/facefusion/v20220927/index.d.ts +6 -0
  37. package/tencentcloud/services/facefusion/v20220927/index.js +9 -0
  38. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  39. package/tencentcloud/services/live/v20180801/live_client.js +1 -1
  40. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +1 -1
  41. package/tencentcloud/services/ms/v20180408/ms_client.js +1 -1
  42. package/tencentcloud/services/ms/v20180408/ms_models.d.ts +8 -8
  43. package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +6 -2
  44. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +5 -1
  45. package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +5 -1
  46. package/tencentcloud/services/thpc/v20220401/thpc_client.js +6 -0
  47. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +126 -13
  48. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +8 -7
  49. package/test/acp.v20220105.test.js +10 -0
  50. package/test/facefusion.v20220927.test.js +41 -0
  51. package/test/thpc.v20220401.test.js +10 -0
@@ -26,9 +26,11 @@ import {
26
26
  ResourceUsageInfoData,
27
27
  TaskFlowStepsInfo,
28
28
  CreateAppScanTaskRequest,
29
- DescribeScanTaskStatusResponse,
29
+ DescribeChannelTaskReportUrlResponse,
30
30
  DescribeFileTicketResponse,
31
+ DescribeScanTaskStatusResponse,
31
32
  DescribeScanTaskReportUrlRequest,
33
+ DescribeChannelTaskReportUrlRequest,
32
34
  AppTaskData,
33
35
  DescribeScanTaskStatusRequest,
34
36
  DescribeFileTicketRequest,
@@ -67,6 +69,16 @@ export class Client extends AbstractClient {
67
69
  return this.request("CreateAppScanTaskRepeat", req, cb)
68
70
  }
69
71
 
72
+ /**
73
+ * 获取子渠道的App合规诊断任务报告url
74
+ */
75
+ async DescribeChannelTaskReportUrl(
76
+ req: DescribeChannelTaskReportUrlRequest,
77
+ cb?: (error: string, rep: DescribeChannelTaskReportUrlResponse) => void
78
+ ): Promise<DescribeChannelTaskReportUrlResponse> {
79
+ return this.request("DescribeChannelTaskReportUrl", req, cb)
80
+ }
81
+
70
82
  /**
71
83
  * 查询应用合规平台用户资源的使用情况
72
84
  */
@@ -411,30 +411,23 @@ export interface CreateAppScanTaskRequest {
411
411
  }
412
412
 
413
413
  /**
414
- * DescribeScanTaskStatus返回参数结构体
414
+ * DescribeChannelTaskReportUrl返回参数结构体
415
415
  */
416
- export interface DescribeScanTaskStatusResponse {
416
+ export interface DescribeChannelTaskReportUrlResponse {
417
417
  /**
418
418
  * 返回值, 0:成功, 其他值请查看“返回值”定义
419
419
  */
420
- Result: number
420
+ Result?: number
421
421
 
422
422
  /**
423
- * 0:默认值(待检测/待咨询), 1.检测中, 4:任务完成/咨询完成, 5:任务失败, 6:咨询中;
423
+ * 诊断报告/堆栈信息/报告json结果下载链接
424
424
  */
425
- Status: number
426
-
427
- /**
428
- * 诊断失败的错误信息
429
- 注意:此字段可能返回 null,表示取不到有效值。
430
- */
431
- ErrMsg: string
425
+ ReportUrl?: string
432
426
 
433
427
  /**
434
- * 任务流详情
435
- 注意:此字段可能返回 null,表示取不到有效值。
436
- */
437
- FlowSteps: Array<TaskFlowStepsInfo>
428
+ * 诊断报告/堆栈/报告json结果的名称
429
+ */
430
+ ReportTitle?: string
438
431
 
439
432
  /**
440
433
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -474,6 +467,38 @@ export interface DescribeFileTicketResponse {
474
467
  RequestId?: string
475
468
  }
476
469
 
470
+ /**
471
+ * DescribeScanTaskStatus返回参数结构体
472
+ */
473
+ export interface DescribeScanTaskStatusResponse {
474
+ /**
475
+ * 返回值, 0:成功, 其他值请查看“返回值”定义
476
+ */
477
+ Result: number
478
+
479
+ /**
480
+ * 0:默认值(待检测/待咨询), 1.检测中, 4:任务完成/咨询完成, 5:任务失败, 6:咨询中;
481
+ */
482
+ Status: number
483
+
484
+ /**
485
+ * 诊断失败的错误信息
486
+ 注意:此字段可能返回 null,表示取不到有效值。
487
+ */
488
+ ErrMsg: string
489
+
490
+ /**
491
+ * 任务流详情
492
+ 注意:此字段可能返回 null,表示取不到有效值。
493
+ */
494
+ FlowSteps: Array<TaskFlowStepsInfo>
495
+
496
+ /**
497
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
498
+ */
499
+ RequestId?: string
500
+ }
501
+
477
502
  /**
478
503
  * DescribeScanTaskReportUrl请求参数结构体
479
504
  */
@@ -504,6 +529,41 @@ export interface DescribeScanTaskReportUrlRequest {
504
529
  ReportType: number
505
530
  }
506
531
 
532
+ /**
533
+ * DescribeChannelTaskReportUrl请求参数结构体
534
+ */
535
+ export interface DescribeChannelTaskReportUrlRequest {
536
+ /**
537
+ * 任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android), 3:app漏洞扫描;
538
+ */
539
+ Source: number
540
+
541
+ /**
542
+ * 应用平台, 0:android, 1: iOS,2:小程序
543
+ */
544
+ Platform: number
545
+
546
+ /**
547
+ * 任务id
548
+ */
549
+ TaskID: string
550
+
551
+ /**
552
+ * 任务类型, 0:基础版, 1:专家版, 2:本地化
553
+ */
554
+ TaskType: number
555
+
556
+ /**
557
+ * 报告类型, 0:诊断报告, 1:堆栈报告, 2:视频证据(预留), 3:报告json结果
558
+ */
559
+ ReportType: number
560
+
561
+ /**
562
+ * 子渠道APP MD5值
563
+ */
564
+ AppMD5: string
565
+ }
566
+
507
567
  /**
508
568
  * 应用合规隐私诊断任务数据
509
569
  */
@@ -4629,8 +4629,8 @@ export interface CustomMetaDBInfo {
4629
4629
 
4630
4630
  /**
4631
4631
  * hive共享元数据库类型。取值范围:
4632
- <li>EMR_NEW_META:表示集群默认创建</li>
4633
- <li>EMR_EXIT_META:表示集群使用指定EMR-MetaDB。</li>
4632
+ <li>EMR_DEFAULT_META:表示集群默认创建</li>
4633
+ <li>EMR_EXIST_META:表示集群使用指定EMR-MetaDB。</li>
4634
4634
  <li>USER_CUSTOM_META:表示集群使用自定义MetaDB。</li>
4635
4635
  */
4636
4636
  MetaType?: string
@@ -791,6 +791,12 @@ false:有序签
791
791
  * 应用相关信息
792
792
  */
793
793
  Agent?: Agent
794
+
795
+ /**
796
+ * 被抄送人的信息列表。
797
+ 注: 此功能为白名单功能,若有需要,请联系电子签客服开白使用。
798
+ */
799
+ CcInfos?: Array<CcInfo>
794
800
  }
795
801
 
796
802
  /**
@@ -1,5 +1,7 @@
1
1
  import { v20181201 } from "./v20181201"
2
+ import { v20220927 } from "./v20220927"
2
3
 
3
4
  export const facefusion = {
4
5
  v20181201: v20181201,
6
+ v20220927: v20220927,
5
7
  }
@@ -0,0 +1,65 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { AbstractClient } from "../../../common/abstract_client"
19
+ import { ClientConfig } from "../../../common/interface"
20
+ import {
21
+ PublicMaterialInfos,
22
+ DescribeMaterialListResponse,
23
+ FaceInfo,
24
+ MaterialFaces,
25
+ MergeInfo,
26
+ FuseFaceResponse,
27
+ FuseFaceRequest,
28
+ FaceRect,
29
+ DescribeMaterialListRequest,
30
+ LogoParam,
31
+ } from "./facefusion_models"
32
+
33
+ /**
34
+ * facefusion client
35
+ * @class
36
+ */
37
+ export class Client extends AbstractClient {
38
+ constructor(clientConfig: ClientConfig) {
39
+ super("facefusion.tencentcloudapi.com", "2022-09-27", clientConfig)
40
+ }
41
+
42
+ /**
43
+ * 通常通过腾讯云人脸融合的控制台可以查看到素材相关的参数数据,可以满足使用。本接口返回活动的素材数据,包括素材状态等。用于用户通过Api查看素材相关数据,方便使用。
44
+ */
45
+ async DescribeMaterialList(
46
+ req: DescribeMaterialListRequest,
47
+ cb?: (error: string, rep: DescribeMaterialListResponse) => void
48
+ ): Promise<DescribeMaterialListResponse> {
49
+ return this.request("DescribeMaterialList", req, cb)
50
+ }
51
+
52
+ /**
53
+ * 本接口用于单脸、多脸、选脸融合,上传人脸图片,得到与素材模板融合后的人脸图片。支持为融合结果图添加标识。查看 <a href="https://cloud.tencent.com/document/product/670/38247" target="_blank">融合接入指引</a>。
54
+
55
+ 请求频率限制为20次/秒。
56
+ >
57
+ - 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
58
+ */
59
+ async FuseFace(
60
+ req: FuseFaceRequest,
61
+ cb?: (error: string, rep: FuseFaceResponse) => void
62
+ ): Promise<FuseFaceResponse> {
63
+ return this.request("FuseFace", req, cb)
64
+ }
65
+ }
@@ -0,0 +1,273 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+
18
+ /**
19
+ * 素材信息
20
+ */
21
+ export interface PublicMaterialInfos {
22
+ /**
23
+ * 素材Id
24
+ */
25
+ MaterialId: string
26
+
27
+ /**
28
+ * 素材状态
29
+ */
30
+ MaterialStatus: number
31
+
32
+ /**
33
+ * 创建时间
34
+ */
35
+ CreateTime: string
36
+
37
+ /**
38
+ * 修改时间
39
+ */
40
+ UpdateTime: string
41
+
42
+ /**
43
+ * 人脸信息
44
+ */
45
+ MaterialFaceList: Array<MaterialFaces>
46
+
47
+ /**
48
+ * 素材名
49
+ */
50
+ MaterialName: string
51
+ }
52
+
53
+ /**
54
+ * DescribeMaterialList返回参数结构体
55
+ */
56
+ export interface DescribeMaterialListResponse {
57
+ /**
58
+ * 素材列表数据
59
+ */
60
+ MaterialInfos: Array<PublicMaterialInfos>
61
+
62
+ /**
63
+ * 素材条数
64
+ */
65
+ Count: number
66
+
67
+ /**
68
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
69
+ */
70
+ RequestId?: string
71
+ }
72
+
73
+ /**
74
+ * 人脸信息
75
+ */
76
+ export interface FaceInfo {
77
+ /**
78
+ * 人脸框的横坐标
79
+ */
80
+ X: number
81
+
82
+ /**
83
+ * 人脸框的纵坐标
84
+ */
85
+ Y: number
86
+
87
+ /**
88
+ * 人脸框的宽度
89
+ */
90
+ Width: number
91
+
92
+ /**
93
+ * 人脸框的高度
94
+ */
95
+ Height: number
96
+ }
97
+
98
+ /**
99
+ * 人脸信息
100
+ */
101
+ export interface MaterialFaces {
102
+ /**
103
+ * 人脸序号
104
+ */
105
+ FaceId: string
106
+
107
+ /**
108
+ * 人脸框信息
109
+ */
110
+ FaceInfo: FaceInfo
111
+ }
112
+
113
+ /**
114
+ * 人脸图片和待被融合的素材模板图的人脸位置信息。
115
+ */
116
+ export interface MergeInfo {
117
+ /**
118
+ * 输入图片base64
119
+ */
120
+ Image?: string
121
+
122
+ /**
123
+ * 输入图片url
124
+ */
125
+ Url?: string
126
+
127
+ /**
128
+ * 上传的图片人脸位置信息(人脸框)
129
+ */
130
+ InputImageFaceRect?: FaceRect
131
+
132
+ /**
133
+ * 控制台上传的素材人脸ID,不填默认取最大人脸
134
+ */
135
+ TemplateFaceID?: string
136
+ }
137
+
138
+ /**
139
+ * FuseFace返回参数结构体
140
+ */
141
+ export interface FuseFaceResponse {
142
+ /**
143
+ * RspImgType 为 url 时,返回结果的 url, RspImgType 为 base64 时返回 base64 数据。
144
+ */
145
+ FusedImage: string
146
+
147
+ /**
148
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
149
+ */
150
+ RequestId?: string
151
+ }
152
+
153
+ /**
154
+ * FuseFace请求参数结构体
155
+ */
156
+ export interface FuseFaceRequest {
157
+ /**
158
+ * 活动 ID,请在人脸融合控制台查看。
159
+ */
160
+ ProjectId: string
161
+
162
+ /**
163
+ * 素材 ID,请在人脸融合控制台查看。
164
+ */
165
+ ModelId: string
166
+
167
+ /**
168
+ * 返回图像方式(url 或 base64) ,二选一。url有效期为7天。
169
+ */
170
+ RspImgType: string
171
+
172
+ /**
173
+ * 用户人脸图片、素材模板图的人脸位置信息。
174
+ */
175
+ MergeInfos: Array<MergeInfo>
176
+
177
+ /**
178
+ * 脸型融合比例,数值越高,融合后的脸型越像素材人物。取值范围[0,100]
179
+ 若此参数不填写,则使用人脸融合控制台中脸型参数数值。(换脸版算法暂不支持此参数调整)
180
+ */
181
+ FuseProfileDegree?: number
182
+
183
+ /**
184
+ * 五官融合比例,数值越高,融合后的五官越像素材人物。取值范围[0,100]
185
+ 若此参数不填写,则使用人脸融合控制台中五官参数数值。(换脸版算法暂不支持此参数调整)
186
+ */
187
+ FuseFaceDegree?: number
188
+
189
+ /**
190
+ * 为融合结果图添加合成标识的开关,默认为1。
191
+ 1:添加标识。
192
+ 0:不添加标识。
193
+ 其他数值:默认按1处理。
194
+ 建议您使用显著标识来提示结果图使用了人脸融合技术,是AI合成的图片。
195
+ */
196
+ LogoAdd?: number
197
+
198
+ /**
199
+ * 标识内容设置。
200
+ 默认在融合结果图右下角添加“本图片为AI合成图片”字样,您可根据自身需要替换为其他的Logo图片。
201
+ */
202
+ LogoParam?: LogoParam
203
+ }
204
+
205
+ /**
206
+ * 人脸框信息
207
+ */
208
+ export interface FaceRect {
209
+ /**
210
+ * 人脸框左上角横坐标。
211
+ */
212
+ X: number
213
+
214
+ /**
215
+ * 人脸框左上角纵坐标。
216
+ */
217
+ Y: number
218
+
219
+ /**
220
+ * 人脸框宽度。
221
+ */
222
+ Width: number
223
+
224
+ /**
225
+ * 人脸框高度。
226
+ */
227
+ Height: number
228
+ }
229
+
230
+ /**
231
+ * DescribeMaterialList请求参数结构体
232
+ */
233
+ export interface DescribeMaterialListRequest {
234
+ /**
235
+ * 活动Id
236
+ */
237
+ ActivityId: string
238
+
239
+ /**
240
+ * 素材Id
241
+ */
242
+ MaterialId?: string
243
+
244
+ /**
245
+ * 每次拉取条数
246
+ */
247
+ Limit?: number
248
+
249
+ /**
250
+ * 偏移量
251
+ */
252
+ Offset?: number
253
+ }
254
+
255
+ /**
256
+ * logo参数
257
+ */
258
+ export interface LogoParam {
259
+ /**
260
+ * 标识图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
261
+ */
262
+ LogoRect: FaceRect
263
+
264
+ /**
265
+ * 标识图片Url地址
266
+ */
267
+ LogoUrl?: string
268
+
269
+ /**
270
+ * 标识图片base64
271
+ */
272
+ LogoImage?: string
273
+ }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./facefusion_models"
2
+ import { Client } from "./facefusion_client"
3
+ export const v20220927 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -1156,7 +1156,7 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
1156
1156
  }
1157
1157
 
1158
1158
  /**
1159
- * 支持查询某天或某段时间的转码详细信息。
1159
+ * 支持查询某天或某段时间的转码详细信息。由于转码数据量较大,如果查询时间跨度太长可能会拉不到数据,可以尝试将查询时间范围缩小些再重试。
1160
1160
  */
1161
1161
  async DescribeLiveTranscodeDetailInfo(
1162
1162
  req: DescribeLiveTranscodeDetailInfoRequest,
@@ -142,7 +142,7 @@ export class Client extends AbstractClient {
142
142
  }
143
143
 
144
144
  /**
145
- * 获取云COS文件存储临时密钥,密钥仅限于临时上传文件,有访问限制和时效性。
145
+ * 获取云COS文件存储临时密钥,密钥仅限于临时上传文件,有访问限制和时效性,请保管好临时密钥。
146
146
  */
147
147
  async CreateCosSecKeyInstance(
148
148
  req: CreateCosSecKeyInstanceRequest,
@@ -1422,42 +1422,42 @@ export interface CreateCosSecKeyInstanceResponse {
1422
1422
  /**
1423
1423
  * COS密钥对应的AppId
1424
1424
  */
1425
- CosAppid?: number
1425
+ CosAppid: number
1426
1426
 
1427
1427
  /**
1428
1428
  * COS密钥对应的存储桶名
1429
1429
  */
1430
- CosBucket?: string
1430
+ CosBucket: string
1431
1431
 
1432
1432
  /**
1433
1433
  * 存储桶对应的地域
1434
1434
  */
1435
- CosRegion?: string
1435
+ CosRegion: string
1436
1436
 
1437
1437
  /**
1438
1438
  * 密钥过期时间
1439
1439
  */
1440
- ExpireTime?: number
1440
+ ExpireTime: number
1441
1441
 
1442
1442
  /**
1443
1443
  * 密钥ID信息
1444
1444
  */
1445
- CosId?: string
1445
+ CosId: string
1446
1446
 
1447
1447
  /**
1448
1448
  * 密钥KEY信息
1449
1449
  */
1450
- CosKey?: string
1450
+ CosKey: string
1451
1451
 
1452
1452
  /**
1453
1453
  * 密钥TOCKEN信息
1454
1454
  */
1455
- CosTocken?: string
1455
+ CosTocken: string
1456
1456
 
1457
1457
  /**
1458
1458
  * 密钥可访问的文件前缀人。例如:CosPrefix=test/123/666,则该密钥只能操作test/123/666为前缀的文件,例如test/123/666/1.txt
1459
1459
  */
1460
- CosPrefix?: string
1460
+ CosPrefix: string
1461
1461
 
1462
1462
  /**
1463
1463
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -681,6 +681,11 @@ export interface DescribeSnapshotsRequest {
681
681
  * 快照名称
682
682
  */
683
683
  SnapshotName?: string
684
+
685
+ /**
686
+ * 批量拉取快照的表格列表
687
+ */
688
+ SelectedTables?: Array<SelectedTableInfoNew>
684
689
  }
685
690
 
686
691
  /**
@@ -2675,12 +2680,12 @@ export interface EnableRestProxyResponse {
2675
2680
  /**
2676
2681
  * RestProxy的状态,0为关闭,1为开启中,2为开启,3为关闭中
2677
2682
  */
2678
- RestProxyStatus?: number
2683
+ RestProxyStatus: number
2679
2684
 
2680
2685
  /**
2681
2686
  * TaskId由 AppInstanceId-taskId 组成,以区分不同集群的任务
2682
2687
  */
2683
- TaskId?: string
2688
+ TaskId: string
2684
2689
 
2685
2690
  /**
2686
2691
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -412,7 +412,7 @@ export interface CreateInstanceResponse {
412
412
  /**
413
413
  * 企业版实例Id
414
414
  */
415
- RegistryId: string
415
+ RegistryId?: string
416
416
 
417
417
  /**
418
418
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -3326,6 +3326,11 @@ export interface CreateInstanceRequest {
3326
3326
  */
3327
3327
  RegistryChargeType?: number
3328
3328
 
3329
+ /**
3330
+ * 预付费自动续费标识和购买时长
3331
+ */
3332
+ RegistryChargePrepaid?: RegistryChargePrepaid
3333
+
3329
3334
  /**
3330
3335
  * 是否同步TCR云标签至生成的COS Bucket
3331
3336
  */
@@ -18,6 +18,8 @@
18
18
  import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
+ DescribeAutoScalingConfigurationResponse,
22
+ DescribeClusterStorageOptionRequest,
21
23
  ClusterOverview,
22
24
  DescribeClustersRequest,
23
25
  SetAutoScalingConfigurationRequest,
@@ -37,6 +39,7 @@ import {
37
39
  CreateClusterRequest,
38
40
  DescribeClusterStorageOptionResponse,
39
41
  GooseFSOptionOverview,
42
+ InstanceChargePrepaid,
40
43
  Tag,
41
44
  LoginNode,
42
45
  BindAutoScalingGroupResponse,
@@ -51,10 +54,11 @@ import {
51
54
  CFSOptionOverview,
52
55
  DeleteClusterStorageOptionRequest,
53
56
  AddClusterStorageOptionRequest,
57
+ QueueConfigOverview,
54
58
  BindAutoScalingGroupRequest,
55
59
  VirtualPrivateCloud,
56
- InstanceChargePrepaid,
57
- DescribeClusterStorageOptionRequest,
60
+ ExpansionNodeConfigOverview,
61
+ DescribeAutoScalingConfigurationRequest,
58
62
  StorageOption,
59
63
  InternetAccessible,
60
64
  ComputeNode,
@@ -146,6 +150,16 @@ export class Client extends AbstractClient {
146
150
  return this.request("AddNodes", req, cb)
147
151
  }
148
152
 
153
+ /**
154
+ * 本接口(DescribeAutoScalingConfiguration)用于查询集群弹性伸缩配置信息。本接口仅适用于弹性伸缩类型为THPC_AS的集群。
155
+ */
156
+ async DescribeAutoScalingConfiguration(
157
+ req: DescribeAutoScalingConfigurationRequest,
158
+ cb?: (error: string, rep: DescribeAutoScalingConfigurationResponse) => void
159
+ ): Promise<DescribeAutoScalingConfigurationResponse> {
160
+ return this.request("DescribeAutoScalingConfiguration", req, cb)
161
+ }
162
+
149
163
  /**
150
164
  * 本接口(DescribeClusters)用于查询集群列表。
151
165
  */