tencentcloud-sdk-nodejs 4.0.406 → 4.0.409

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 (33) hide show
  1. package/CHANGELOG.md +216 -0
  2. package/SERVICE_CHANGELOG.md +233 -11
  3. package/package.json +1 -1
  4. package/products.md +12 -12
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_models.ts +16 -0
  7. package/src/services/car/v20220110/car_models.ts +7 -0
  8. package/src/services/cls/v20201016/cls_models.ts +1 -1
  9. package/src/services/es/v20180416/es_models.ts +5 -0
  10. package/src/services/ess/v20201111/ess_client.ts +17 -2
  11. package/src/services/ess/v20201111/ess_models.ts +107 -12
  12. package/src/services/iai/v20200303/iai_models.ts +1 -1
  13. package/src/services/ocr/v20181119/ocr_models.ts +1 -1
  14. package/src/services/tem/v20210701/tem_client.ts +129 -18
  15. package/src/services/tem/v20210701/tem_models.ts +582 -112
  16. package/src/services/teo/v20220106/teo_models.ts +13 -4
  17. package/tencentcloud/common/sdk_version.d.ts +1 -1
  18. package/tencentcloud/common/sdk_version.js +1 -1
  19. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +13 -0
  20. package/tencentcloud/services/car/v20220110/car_models.d.ts +6 -0
  21. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
  22. package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
  23. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -1
  24. package/tencentcloud/services/ess/v20201111/ess_client.js +7 -0
  25. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +92 -12
  26. package/tencentcloud/services/iai/v20200303/iai_models.d.ts +1 -1
  27. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  28. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +41 -5
  29. package/tencentcloud/services/tem/v20210701/tem_client.js +60 -6
  30. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +495 -95
  31. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +12 -4
  32. package/test/ess.v20201111.test.js +10 -0
  33. package/test/tem.v20210701.test.js +94 -4
@@ -2895,7 +2895,7 @@ export interface Column {
2895
2895
  */
2896
2896
  export interface CompressInfo {
2897
2897
  /**
2898
- * 压缩格式,支持gzip、lzop和none不压缩
2898
+ * 压缩格式,支持gzip、lzop、snappy和none不压缩
2899
2899
  */
2900
2900
  Format: string
2901
2901
  }
@@ -2722,6 +2722,11 @@ export interface DescribeLogstashInstancesRequest {
2722
2722
  * 排序方式<li>0:升序</li><li>1:降序</li>若传递了orderByKey未传递orderByType, 则默认升序
2723
2723
  */
2724
2724
  OrderByType?: number
2725
+
2726
+ /**
2727
+ * VpcId 筛选项
2728
+ */
2729
+ VpcIds?: Array<string>
2725
2730
  }
2726
2731
 
2727
2732
  /**
@@ -45,18 +45,22 @@ import {
45
45
  DescribeFlowBriefsRequest,
46
46
  Recipient,
47
47
  UserInfo,
48
+ SignUrl,
48
49
  DescribeFileUrlsRequest,
49
50
  ApproverInfo,
50
51
  Caller,
51
52
  DescribeFlowTemplatesResponse,
52
- Filter,
53
+ CreateBatchCancelFlowUrlResponse,
54
+ StartFlowResponse,
53
55
  FileInfo,
56
+ CreateBatchCancelFlowUrlRequest,
54
57
  CreateMultiFlowSignQRCodeRequest,
55
58
  CreateConvertTaskApiResponse,
56
- StartFlowResponse,
59
+ Filter,
57
60
  CreateConvertTaskApiRequest,
58
61
  CreateSchemeUrlResponse,
59
62
  CreateFlowByFilesRequest,
63
+ ApproverRestriction,
60
64
  CancelMultiFlowSignQRCodeResponse,
61
65
  CreateFlowResponse,
62
66
  Agent,
@@ -218,6 +222,17 @@ export class Client extends AbstractClient {
218
222
  return this.request("DescribeFlowTemplates", req, cb)
219
223
  }
220
224
 
225
+ /**
226
+ * 电子签企业版:指定需要批量撤回的签署流程Id,获取批量撤销链接
227
+ 客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回
228
+ */
229
+ async CreateBatchCancelFlowUrl(
230
+ req: CreateBatchCancelFlowUrlRequest,
231
+ cb?: (error: string, rep: CreateBatchCancelFlowUrlResponse) => void
232
+ ): Promise<CreateBatchCancelFlowUrlResponse> {
233
+ return this.request("CreateBatchCancelFlowUrl", req, cb)
234
+ }
235
+
221
236
  /**
222
237
  * 查询流程摘要
223
238
  适用场景:可用于主动查询某个合同流程的签署状态信息。可以配合回调通知使用。
@@ -659,6 +659,11 @@ export interface CreateMultiFlowSignQRCodeResponse {
659
659
  */
660
660
  QrCode: SignQrCode
661
661
 
662
+ /**
663
+ * 签署链接对象
664
+ */
665
+ SignUrls: SignUrl
666
+
662
667
  /**
663
668
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
664
669
  */
@@ -947,6 +952,26 @@ export interface UserInfo {
947
952
  ProxyIp?: string
948
953
  }
949
954
 
955
+ /**
956
+ * 一码多扫签署二维码签署信息
957
+ */
958
+ export interface SignUrl {
959
+ /**
960
+ * 小程序签署链接
961
+ */
962
+ AppSignUrl: string
963
+
964
+ /**
965
+ * 签署链接有效时间
966
+ */
967
+ EffectiveTime: string
968
+
969
+ /**
970
+ * 移动端签署链接
971
+ */
972
+ HttpSignUrl: string
973
+ }
974
+
950
975
  /**
951
976
  * DescribeFileUrls请求参数结构体
952
977
  */
@@ -1125,18 +1150,43 @@ export interface DescribeFlowTemplatesResponse {
1125
1150
  }
1126
1151
 
1127
1152
  /**
1128
- * 查询过滤条件
1153
+ * CreateBatchCancelFlowUrl返回参数结构体
1129
1154
  */
1130
- export interface Filter {
1155
+ export interface CreateBatchCancelFlowUrlResponse {
1131
1156
  /**
1132
- * 查询过滤条件的Key
1157
+ * 批量撤回签署流程链接
1133
1158
  */
1134
- Key: string
1159
+ BatchCancelFlowUrl: string
1135
1160
 
1136
1161
  /**
1137
- * 查询过滤条件的Value列表
1162
+ * 签署流程撤回失败信息
1138
1163
  */
1139
- Values: Array<string>
1164
+ FailMessages: Array<string>
1165
+
1166
+ /**
1167
+ * 签署连接过期时间字符串:年月日-时分秒
1168
+ */
1169
+ UrlExpireOn: string
1170
+
1171
+ /**
1172
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1173
+ */
1174
+ RequestId?: string
1175
+ }
1176
+
1177
+ /**
1178
+ * StartFlow返回参数结构体
1179
+ */
1180
+ export interface StartFlowResponse {
1181
+ /**
1182
+ * 返回描述,START-发起成功, REVIEW-提交审核成功,EXECUTING-已提交发起任务
1183
+ */
1184
+ Status: string
1185
+
1186
+ /**
1187
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1188
+ */
1189
+ RequestId?: string
1140
1190
  }
1141
1191
 
1142
1192
  /**
@@ -1164,6 +1214,21 @@ export interface FileInfo {
1164
1214
  CreatedOn?: number
1165
1215
  }
1166
1216
 
1217
+ /**
1218
+ * CreateBatchCancelFlowUrl请求参数结构体
1219
+ */
1220
+ export interface CreateBatchCancelFlowUrlRequest {
1221
+ /**
1222
+ * 调用方用户信息,userId 必填
1223
+ */
1224
+ Operator: UserInfo
1225
+
1226
+ /**
1227
+ * 需要执行撤回的签署流程id数组,最多100个
1228
+ */
1229
+ FlowIds: Array<string>
1230
+ }
1231
+
1167
1232
  /**
1168
1233
  * CreateMultiFlowSignQRCode请求参数结构体
1169
1234
  */
@@ -1210,6 +1275,11 @@ export interface CreateMultiFlowSignQRCodeRequest {
1210
1275
  * 二维码有效天数 默认7天 最高设置不超过90天
1211
1276
  */
1212
1277
  QrEffectiveDay?: number
1278
+
1279
+ /**
1280
+ * 限制二维码用户条件
1281
+ */
1282
+ ApproverRestrictions?: ApproverRestriction
1213
1283
  }
1214
1284
 
1215
1285
  /**
@@ -1228,18 +1298,18 @@ export interface CreateConvertTaskApiResponse {
1228
1298
  }
1229
1299
 
1230
1300
  /**
1231
- * StartFlow返回参数结构体
1301
+ * 查询过滤条件
1232
1302
  */
1233
- export interface StartFlowResponse {
1303
+ export interface Filter {
1234
1304
  /**
1235
- * 返回描述,START-发起成功, REVIEW-提交审核成功,EXECUTING-已提交发起任务
1305
+ * 查询过滤条件的Key
1236
1306
  */
1237
- Status: string
1307
+ Key: string
1238
1308
 
1239
1309
  /**
1240
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1310
+ * 查询过滤条件的Value列表
1241
1311
  */
1242
- RequestId?: string
1312
+ Values: Array<string>
1243
1313
  }
1244
1314
 
1245
1315
  /**
@@ -1368,6 +1438,31 @@ false:有序签
1368
1438
  Agent?: Agent
1369
1439
  }
1370
1440
 
1441
+ /**
1442
+ * 指定签署人限制项
1443
+ */
1444
+ export interface ApproverRestriction {
1445
+ /**
1446
+ * 指定签署人名字
1447
+ */
1448
+ Name?: string
1449
+
1450
+ /**
1451
+ * 指定签署人手机号
1452
+ */
1453
+ Mobile?: string
1454
+
1455
+ /**
1456
+ * 指定签署人证件类型
1457
+ */
1458
+ IdCardType?: string
1459
+
1460
+ /**
1461
+ * 指定签署人证件号码
1462
+ */
1463
+ IdCardNumber?: string
1464
+ }
1465
+
1371
1466
  /**
1372
1467
  * CancelMultiFlowSignQRCode返回参数结构体
1373
1468
  */
@@ -1573,7 +1573,7 @@ MaxFaceNum用于,当输入的待识别图片包含多张人脸时,设定要
1573
1573
 
1574
1574
  /**
1575
1575
  * 被检测到的人脸,对应最多返回的最相似人员数目。默认值为5,最大值为10。
1576
- 例,设MaxFaceNum为3,MaxPersonNum为5,则最多可能返回3*5=15个人员。
1576
+ 例,设MaxFaceNum为3,MaxPersonNumPerGroup为5,GroupIds长度为3,则最多可能返回3*5*3=45个人员。
1577
1577
  */
1578
1578
  MaxPersonNumPerGroup?: number
1579
1579
 
@@ -6597,7 +6597,7 @@ export interface AdvertiseOCRResponse {
6597
6597
  export interface VatRollInvoiceInfo {
6598
6598
  /**
6599
6599
  * 识别出的字段名称(关键字),支持以下字段:
6600
- 发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、服务类型、品名、种类。
6600
+ 发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类。
6601
6601
  */
6602
6602
  Name: string
6603
6603
 
@@ -19,8 +19,11 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  CreateResourceRequest,
22
+ DescribeConfigDataResponse,
22
23
  NamespacePage,
23
24
  DescribeApplicationInfoResponse,
25
+ ModifyIngressResponse,
26
+ RestartApplicationPodRequest,
24
27
  ResumeDeployApplicationResponse,
25
28
  StorageConf,
26
29
  DescribeApplicationPodsRequest,
@@ -28,6 +31,7 @@ import {
28
31
  LogOutputConf,
29
32
  DeleteIngressResponse,
30
33
  DeleteApplicationResponse,
34
+ ModifyApplicationAutoscalerResponse,
31
35
  RollingUpdateApplicationByVersionRequest,
32
36
  CreateCosTokenResponse,
33
37
  RevertDeployApplicationRequest,
@@ -49,15 +53,20 @@ import {
49
53
  DescribeEnvironmentStatusResponse,
50
54
  IngressTls,
51
55
  DescribeApplicationPodsResponse,
56
+ DescribeConfigDataListRequest,
52
57
  ServicePage,
53
58
  TemServiceVersionInfo,
54
59
  CreateCosTokenRequest,
60
+ ModifyApplicationAutoscalerRequest,
61
+ DeleteIngressRequest,
55
62
  ModifyIngressRequest,
56
63
  EnablePrometheusConf,
57
64
  DescribeIngressesRequest,
58
65
  StorageMountConf,
59
66
  RestartApplicationResponse,
60
67
  DescribeIngressesResponse,
68
+ ModifyConfigDataRequest,
69
+ CreateConfigDataResponse,
61
70
  DescribeApplicationsStatusRequest,
62
71
  RunVersionPod,
63
72
  CreateResourceResponse,
@@ -70,27 +79,40 @@ import {
70
79
  RestartApplicationPodResponse,
71
80
  TemEnvironmentStoppingStatus,
72
81
  DeleteApplicationRequest,
82
+ CreateApplicationAutoscalerResponse,
83
+ DeleteApplicationAutoscalerRequest,
84
+ DescribeApplicationAutoscalerListRequest,
73
85
  DescribeApplicationsStatusResponse,
74
86
  DescribeDeployApplicationDetailRequest,
75
- DeleteIngressRequest,
87
+ ModifyConfigDataResponse,
76
88
  DescribeRelatedIngressesRequest,
77
89
  CosToken,
78
90
  GenerateApplicationPackageDownloadUrlRequest,
79
91
  DescribeEnvironmentsResponse,
92
+ DeleteApplicationAutoscalerResponse,
80
93
  DescribeRelatedIngressesResponse,
81
94
  TemNamespaceInfo,
82
95
  TemEnvironmentStartingStatus,
83
96
  TemService,
84
97
  IngressRule,
85
- RestartApplicationPodRequest,
98
+ CronHorizontalAutoscaler,
86
99
  DescribeDeployApplicationDetailResponse,
87
100
  IngressRuleValue,
101
+ CreateApplicationAutoscalerRequest,
102
+ ConfigData,
88
103
  ResumeDeployApplicationRequest,
104
+ DescribeConfigDataRequest,
89
105
  MountedSettingConf,
106
+ DescribeConfigDataListResponse,
90
107
  HealthCheckConfig,
91
108
  DeployServiceBatchDetail,
109
+ Autoscaler,
110
+ CreateConfigDataRequest,
111
+ DescribeConfigDataListPage,
92
112
  DeployApplicationRequest,
93
- ModifyIngressResponse,
113
+ DescribeApplicationAutoscalerListResponse,
114
+ DestroyConfigDataRequest,
115
+ DestroyConfigDataResponse,
94
116
  DescribeApplicationsRequest,
95
117
  DescribeApplicationInfoRequest,
96
118
  CreateApplicationRequest,
@@ -106,13 +128,12 @@ import {
106
128
  IngressRulePath,
107
129
  ServiceVersionBrief,
108
130
  CreateApplicationResponse,
109
- CronHorizontalAutoscaler,
131
+ HorizontalAutoscaler,
110
132
  PortMapping,
111
133
  ModifyEnvironmentResponse,
112
134
  ModifyApplicationReplicasRequest,
113
- EksService,
114
135
  CronHorizontalAutoscalerSchedule,
115
- HorizontalAutoscaler,
136
+ EksService,
116
137
  Pair,
117
138
  } from "./tem_models"
118
139
 
@@ -125,6 +146,16 @@ export class Client extends AbstractClient {
125
146
  super("tem.tencentcloudapi.com", "2021-07-01", clientConfig)
126
147
  }
127
148
 
149
+ /**
150
+ * 编辑配置
151
+ */
152
+ async ModifyConfigData(
153
+ req: ModifyConfigDataRequest,
154
+ cb?: (error: string, rep: ModifyConfigDataResponse) => void
155
+ ): Promise<ModifyConfigDataResponse> {
156
+ return this.request("ModifyConfigData", req, cb)
157
+ }
158
+
128
159
  /**
129
160
  * 单环境下所有应用状态查看
130
161
  */
@@ -155,6 +186,26 @@ export class Client extends AbstractClient {
155
186
  return this.request("ModifyApplicationReplicas", req, cb)
156
187
  }
157
188
 
189
+ /**
190
+ * 创建弹性伸缩策略组合
191
+ */
192
+ async CreateApplicationAutoscaler(
193
+ req: CreateApplicationAutoscalerRequest,
194
+ cb?: (error: string, rep: CreateApplicationAutoscalerResponse) => void
195
+ ): Promise<CreateApplicationAutoscalerResponse> {
196
+ return this.request("CreateApplicationAutoscaler", req, cb)
197
+ }
198
+
199
+ /**
200
+ * 重启应用实例
201
+ */
202
+ async RestartApplicationPod(
203
+ req: RestartApplicationPodRequest,
204
+ cb?: (error: string, rep: RestartApplicationPodResponse) => void
205
+ ): Promise<RestartApplicationPodResponse> {
206
+ return this.request("RestartApplicationPod", req, cb)
207
+ }
208
+
158
209
  /**
159
210
  * 服务删除
160
211
  - 停止当前运行服务
@@ -198,6 +249,16 @@ export class Client extends AbstractClient {
198
249
  return this.request("DeployApplication", req, cb)
199
250
  }
200
251
 
252
+ /**
253
+ * 修改弹性伸缩策略组合
254
+ */
255
+ async ModifyApplicationAutoscaler(
256
+ req: ModifyApplicationAutoscalerRequest,
257
+ cb?: (error: string, rep: ModifyApplicationAutoscalerResponse) => void
258
+ ): Promise<ModifyApplicationAutoscalerResponse> {
259
+ return this.request("ModifyApplicationAutoscaler", req, cb)
260
+ }
261
+
201
262
  /**
202
263
  * 获取分批发布详情
203
264
  */
@@ -248,6 +309,16 @@ export class Client extends AbstractClient {
248
309
  return this.request("DescribeApplicationInfo", req, cb)
249
310
  }
250
311
 
312
+ /**
313
+ * 创建配置
314
+ */
315
+ async CreateConfigData(
316
+ req: CreateConfigDataRequest,
317
+ cb?: (error: string, rep: CreateConfigDataResponse) => void
318
+ ): Promise<CreateConfigDataResponse> {
319
+ return this.request("CreateConfigData", req, cb)
320
+ }
321
+
251
322
  /**
252
323
  * 获取应用实例列表
253
324
  */
@@ -259,13 +330,13 @@ export class Client extends AbstractClient {
259
330
  }
260
331
 
261
332
  /**
262
- * 服务重启
333
+ * 删除应用弹性策略组合
263
334
  */
264
- async RestartApplication(
265
- req: RestartApplicationRequest,
266
- cb?: (error: string, rep: RestartApplicationResponse) => void
267
- ): Promise<RestartApplicationResponse> {
268
- return this.request("RestartApplication", req, cb)
335
+ async DeleteApplicationAutoscaler(
336
+ req: DeleteApplicationAutoscalerRequest,
337
+ cb?: (error: string, rep: DeleteApplicationAutoscalerResponse) => void
338
+ ): Promise<DeleteApplicationAutoscalerResponse> {
339
+ return this.request("DeleteApplicationAutoscaler", req, cb)
269
340
  }
270
341
 
271
342
  /**
@@ -278,6 +349,16 @@ export class Client extends AbstractClient {
278
349
  return this.request("ModifyApplicationInfo", req, cb)
279
350
  }
280
351
 
352
+ /**
353
+ * 销毁配置
354
+ */
355
+ async DestroyConfigData(
356
+ req: DestroyConfigDataRequest,
357
+ cb?: (error: string, rep: DestroyConfigDataResponse) => void
358
+ ): Promise<DestroyConfigDataResponse> {
359
+ return this.request("DestroyConfigData", req, cb)
360
+ }
361
+
281
362
  /**
282
363
  * 获取租户环境列表
283
364
  */
@@ -349,13 +430,13 @@ export class Client extends AbstractClient {
349
430
  }
350
431
 
351
432
  /**
352
- * 重启应用实例
433
+ * 服务重启
353
434
  */
354
- async RestartApplicationPod(
355
- req: RestartApplicationPodRequest,
356
- cb?: (error: string, rep: RestartApplicationPodResponse) => void
357
- ): Promise<RestartApplicationPodResponse> {
358
- return this.request("RestartApplicationPod", req, cb)
435
+ async RestartApplication(
436
+ req: RestartApplicationRequest,
437
+ cb?: (error: string, rep: RestartApplicationResponse) => void
438
+ ): Promise<RestartApplicationResponse> {
439
+ return this.request("RestartApplication", req, cb)
359
440
  }
360
441
 
361
442
  /**
@@ -398,6 +479,16 @@ export class Client extends AbstractClient {
398
479
  return this.request("DescribeRelatedIngresses", req, cb)
399
480
  }
400
481
 
482
+ /**
483
+ * 查询配置详情
484
+ */
485
+ async DescribeConfigData(
486
+ req: DescribeConfigDataRequest,
487
+ cb?: (error: string, rep: DescribeConfigDataResponse) => void
488
+ ): Promise<DescribeConfigDataResponse> {
489
+ return this.request("DescribeConfigData", req, cb)
490
+ }
491
+
401
492
  /**
402
493
  * 绑定云资源
403
494
  */
@@ -408,6 +499,16 @@ export class Client extends AbstractClient {
408
499
  return this.request("CreateResource", req, cb)
409
500
  }
410
501
 
502
+ /**
503
+ * 获取应用弹性策略组合
504
+ */
505
+ async DescribeApplicationAutoscalerList(
506
+ req: DescribeApplicationAutoscalerListRequest,
507
+ cb?: (error: string, rep: DescribeApplicationAutoscalerListResponse) => void
508
+ ): Promise<DescribeApplicationAutoscalerListResponse> {
509
+ return this.request("DescribeApplicationAutoscalerList", req, cb)
510
+ }
511
+
411
512
  /**
412
513
  * 销毁命名空间
413
514
  */
@@ -417,4 +518,14 @@ export class Client extends AbstractClient {
417
518
  ): Promise<DestroyEnvironmentResponse> {
418
519
  return this.request("DestroyEnvironment", req, cb)
419
520
  }
521
+
522
+ /**
523
+ * 查询配置列表
524
+ */
525
+ async DescribeConfigDataList(
526
+ req: DescribeConfigDataListRequest,
527
+ cb?: (error: string, rep: DescribeConfigDataListResponse) => void
528
+ ): Promise<DescribeConfigDataListResponse> {
529
+ return this.request("DescribeConfigDataList", req, cb)
530
+ }
420
531
  }