tencentcloud-sdk-nodejs 4.0.415 → 4.0.416

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 (30) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/SERVICE_CHANGELOG.md +90 -460
  3. package/package.json +1 -1
  4. package/products.md +4 -4
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ess/v20201111/ess_client.ts +32 -16
  7. package/src/services/ess/v20201111/ess_models.ts +49 -6
  8. package/src/services/essbasic/v20210526/essbasic_client.ts +31 -16
  9. package/src/services/essbasic/v20210526/essbasic_models.ts +69 -31
  10. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  11. package/src/services/ocr/v20181119/ocr_models.ts +5 -0
  12. package/src/services/tem/v20210701/tem_client.ts +27 -3
  13. package/src/services/tem/v20210701/tem_models.ts +193 -105
  14. package/tencentcloud/common/sdk_version.d.ts +1 -1
  15. package/tencentcloud/common/sdk_version.js +1 -1
  16. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +16 -8
  17. package/tencentcloud/services/ess/v20201111/ess_client.js +19 -9
  18. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +43 -6
  19. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +14 -7
  20. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +17 -8
  21. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +62 -29
  22. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  23. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  24. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -0
  25. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +9 -1
  26. package/tencentcloud/services/tem/v20210701/tem_client.js +12 -0
  27. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +165 -90
  28. package/test/ess.v20201111.test.js +14 -4
  29. package/test/essbasic.v20210526.test.js +14 -4
  30. package/test/tem.v20210701.test.js +20 -0
@@ -191,6 +191,29 @@ export interface TemplateInfo {
191
191
  */
192
192
  CreatedOn: number;
193
193
  }
194
+ /**
195
+ * UploadFiles请求参数结构体
196
+ */
197
+ export interface UploadFilesRequest {
198
+ /**
199
+ * 应用相关信息,若是渠道版调用 appid 和proxyappid 必填
200
+ */
201
+ Agent: Agent;
202
+ /**
203
+ * 文件对应业务类型,用于区分文件存储路径:
204
+ 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
205
+ 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
206
+ */
207
+ BusinessType: string;
208
+ /**
209
+ * 上传文件内容数组,最多支持20个文件
210
+ */
211
+ FileInfos?: Array<UploadFile>;
212
+ /**
213
+ * 操作者的信息
214
+ */
215
+ Operator?: UserInfo;
216
+ }
194
217
  /**
195
218
  * GetDownloadFlowUrl返回参数结构体
196
219
  */
@@ -532,27 +555,32 @@ ProcessTimeout - 转换文件超时
532
555
  RequestId?: string;
533
556
  }
534
557
  /**
535
- * UploadFiles请求参数结构体
558
+ * 合作企业经办人列表信息
536
559
  */
537
- export interface UploadFilesRequest {
560
+ export interface ProxyOrganizationOperator {
538
561
  /**
539
- * 应用相关信息,若是渠道版调用 appid 和proxyappid 必填
562
+ * 经办人ID(渠道颁发),最大长度64个字符
540
563
  */
541
- Agent: Agent;
564
+ Id: string;
542
565
  /**
543
- * 文件对应业务类型,用于区分文件存储路径:
544
- 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
545
- 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
566
+ * 经办人姓名,最大长度50个字符
546
567
  */
547
- BusinessType: string;
568
+ Name?: string;
548
569
  /**
549
- * 上传文件内容数组,最多支持20个文件
570
+ * 经办人身份证件类型
571
+ 1.ID_CARD 居民身份证
572
+ 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
573
+ 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
550
574
  */
551
- FileInfos?: Array<UploadFile>;
575
+ IdCardType?: string;
552
576
  /**
553
- * 操作者的信息
577
+ * 经办人证件号
554
578
  */
555
- Operator?: UserInfo;
579
+ IdCardNumber?: string;
580
+ /**
581
+ * 经办人手机号,大陆手机号输入11位,暂不支持海外手机号。
582
+ */
583
+ Mobile?: string;
556
584
  }
557
585
  /**
558
586
  * ChannelGetTaskResultApi请求参数结构体
@@ -854,32 +882,28 @@ export interface CreateFlowsByTemplatesResponse {
854
882
  RequestId?: string;
855
883
  }
856
884
  /**
857
- * 合作企业经办人列表信息
885
+ * ChannelCreateFlowSignReview请求参数结构体
858
886
  */
859
- export interface ProxyOrganizationOperator {
860
- /**
861
- * 经办人ID(渠道颁发),最大长度64个字符
862
- */
863
- Id: string;
887
+ export interface ChannelCreateFlowSignReviewRequest {
864
888
  /**
865
- * 经办人姓名,最大长度50个字符
889
+ * 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
866
890
  */
867
- Name?: string;
891
+ Agent: Agent;
868
892
  /**
869
- * 经办人身份证件类型
870
- 1.ID_CARD 居民身份证
871
- 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
872
- 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
893
+ * 签署流程编号
873
894
  */
874
- IdCardType?: string;
895
+ FlowId: string;
875
896
  /**
876
- * 经办人证件号
897
+ * 企业内部审核结果
898
+ PASS: 通过
899
+ REJECT: 拒绝
877
900
  */
878
- IdCardNumber?: string;
901
+ ReviewType: string;
879
902
  /**
880
- * 经办人手机号,大陆手机号输入11位,暂不支持海外手机号。
903
+ * 审核原因
904
+ 当ReviewType 是REJECT 时此字段必填,字符串长度不超过200
881
905
  */
882
- Mobile?: string;
906
+ ReviewMessage?: string;
883
907
  }
884
908
  /**
885
909
  * PrepareFlows请求参数结构体
@@ -1435,6 +1459,15 @@ export interface UploadFilesResponse {
1435
1459
  */
1436
1460
  RequestId?: string;
1437
1461
  }
1462
+ /**
1463
+ * ChannelCreateFlowSignReview返回参数结构体
1464
+ */
1465
+ export interface ChannelCreateFlowSignReviewResponse {
1466
+ /**
1467
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1468
+ */
1469
+ RequestId?: string;
1470
+ }
1438
1471
  /**
1439
1472
  * 应用相关信息
1440
1473
  */
@@ -579,7 +579,7 @@ export declare class Client extends AbstractClient {
579
579
  */
580
580
  RecognizeIndonesiaIDCardOCR(req: RecognizeIndonesiaIDCardOCRRequest, cb?: (error: string, rep: RecognizeIndonesiaIDCardOCRResponse) => void): Promise<RecognizeIndonesiaIDCardOCRResponse>;
581
581
  /**
582
- * 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
582
+ * 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
583
583
 
584
584
  默认接口请求频率限制:10次/秒。
585
585
  */
@@ -739,7 +739,7 @@ class Client extends abstract_client_1.AbstractClient {
739
739
  return this.request("RecognizeIndonesiaIDCardOCR", req, cb);
740
740
  }
741
741
  /**
742
- * 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
742
+ * 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
743
743
 
744
744
  默认接口请求频率限制:10次/秒。
745
745
  */
@@ -859,6 +859,10 @@ export interface SingleInvoiceInfo {
859
859
  * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
860
860
  */
861
861
  Value: string;
862
+ /**
863
+ * 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
864
+ */
865
+ Row: number;
862
866
  }
863
867
  /**
864
868
  * 数学公式识别结果
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { CreateResourceRequest, DescribeConfigDataResponse, DescribeApplicationInfoResponse, ModifyIngressResponse, RestartApplicationPodRequest, DestroyLogConfigResponse, ResumeDeployApplicationResponse, DescribeApplicationPodsRequest, DeleteIngressResponse, DeleteApplicationResponse, ModifyApplicationAutoscalerResponse, RollingUpdateApplicationByVersionRequest, CreateCosTokenResponse, ModifyLogConfigResponse, RollingUpdateApplicationByVersionResponse, StopApplicationRequest, ModifyApplicationInfoRequest, DestroyEnvironmentRequest, CreateEnvironmentResponse, DescribeEnvironmentStatusRequest, RevertDeployApplicationResponse, DescribeApplicationsResponse, DescribeEnvironmentsRequest, CreateEnvironmentRequest, DescribeLogConfigRequest, DescribeEnvironmentStatusResponse, DescribeApplicationPodsResponse, DescribeConfigDataListRequest, CreateCosTokenRequest, ModifyApplicationAutoscalerRequest, ModifyConfigDataResponse, ModifyIngressRequest, DescribeIngressesRequest, CreateLogConfigRequest, RestartApplicationResponse, DescribeIngressesResponse, ModifyConfigDataRequest, CreateConfigDataResponse, DescribeApplicationsStatusRequest, CreateResourceResponse, ModifyApplicationInfoResponse, RestartApplicationRequest, DestroyEnvironmentResponse, DescribeIngressRequest, StopApplicationResponse, DeployApplicationResponse, RestartApplicationPodResponse, DeleteApplicationRequest, CreateApplicationAutoscalerResponse, DeleteApplicationAutoscalerRequest, DescribeApplicationAutoscalerListRequest, DescribeApplicationsStatusResponse, DescribeDeployApplicationDetailRequest, DeleteIngressRequest, DescribeRelatedIngressesRequest, GenerateApplicationPackageDownloadUrlRequest, DescribeEnvironmentsResponse, DeleteApplicationAutoscalerResponse, DescribeRelatedIngressesResponse, DescribeEnvironmentRequest, DescribePagedLogConfigListRequest, DescribeDeployApplicationDetailResponse, DescribeEnvironmentResponse, CreateApplicationAutoscalerRequest, ResumeDeployApplicationRequest, DescribeConfigDataRequest, CreateLogConfigResponse, DescribeConfigDataListResponse, DescribePagedLogConfigListResponse, CreateConfigDataRequest, DeployApplicationRequest, DescribeApplicationAutoscalerListResponse, DestroyConfigDataRequest, DestroyConfigDataResponse, DescribeApplicationsRequest, DescribeApplicationInfoRequest, CreateApplicationRequest, ModifyApplicationReplicasResponse, ModifyEnvironmentRequest, GenerateApplicationPackageDownloadUrlResponse, DescribeIngressResponse, DescribeLogConfigResponse, RevertDeployApplicationRequest, CreateApplicationResponse, ModifyEnvironmentResponse, ModifyApplicationReplicasRequest, ModifyLogConfigRequest, DestroyLogConfigRequest } from "./tem_models";
3
+ import { CreateResourceRequest, DescribeConfigDataResponse, DescribeApplicationInfoResponse, ModifyIngressResponse, RestartApplicationPodRequest, DestroyLogConfigResponse, ResumeDeployApplicationResponse, DescribeApplicationPodsRequest, DeleteIngressResponse, DeleteApplicationResponse, ModifyApplicationAutoscalerResponse, RollingUpdateApplicationByVersionRequest, CreateCosTokenResponse, ModifyLogConfigResponse, RollingUpdateApplicationByVersionResponse, StopApplicationRequest, ModifyApplicationInfoRequest, DestroyEnvironmentRequest, CreateEnvironmentResponse, DescribeEnvironmentStatusRequest, RevertDeployApplicationResponse, DescribeApplicationsResponse, DescribeEnvironmentsRequest, CreateEnvironmentRequest, DescribeLogConfigRequest, DescribeEnvironmentStatusResponse, DescribeApplicationPodsResponse, DescribeConfigDataListRequest, EnableApplicationAutoscalerResponse, CreateCosTokenRequest, ModifyApplicationAutoscalerRequest, ModifyConfigDataResponse, ModifyIngressRequest, DescribeIngressesRequest, CreateLogConfigRequest, RestartApplicationResponse, DescribeIngressesResponse, ModifyConfigDataRequest, CreateConfigDataResponse, DescribeApplicationsStatusRequest, CreateResourceResponse, ModifyApplicationInfoResponse, RestartApplicationRequest, DestroyEnvironmentResponse, DisableApplicationAutoscalerResponse, DescribeIngressRequest, StopApplicationResponse, DeployApplicationResponse, RestartApplicationPodResponse, DeleteApplicationRequest, CreateApplicationAutoscalerResponse, DeleteApplicationAutoscalerRequest, DescribeApplicationAutoscalerListRequest, DescribeApplicationsStatusResponse, DescribeDeployApplicationDetailRequest, DeleteIngressRequest, DisableApplicationAutoscalerRequest, DescribeRelatedIngressesRequest, GenerateApplicationPackageDownloadUrlRequest, DescribeEnvironmentsResponse, DeleteApplicationAutoscalerResponse, DescribeRelatedIngressesResponse, DescribeEnvironmentRequest, DescribePagedLogConfigListRequest, DescribeDeployApplicationDetailResponse, DescribeEnvironmentResponse, CreateApplicationAutoscalerRequest, ResumeDeployApplicationRequest, DescribeConfigDataRequest, CreateLogConfigResponse, DescribeConfigDataListResponse, DescribePagedLogConfigListResponse, CreateConfigDataRequest, DeployApplicationRequest, DescribeApplicationAutoscalerListResponse, DestroyConfigDataRequest, DestroyConfigDataResponse, DescribeApplicationsRequest, DescribeApplicationInfoRequest, CreateApplicationRequest, ModifyApplicationReplicasResponse, ModifyEnvironmentRequest, GenerateApplicationPackageDownloadUrlResponse, DescribeIngressResponse, DescribeLogConfigResponse, RevertDeployApplicationRequest, CreateApplicationResponse, ModifyEnvironmentResponse, ModifyApplicationReplicasRequest, ModifyLogConfigRequest, DestroyLogConfigRequest, EnableApplicationAutoscalerRequest } from "./tem_models";
4
4
  /**
5
5
  * tem client
6
6
  * @class
@@ -23,6 +23,10 @@ export declare class Client extends AbstractClient {
23
23
  * 创建或者更新 Ingress 规则
24
24
  */
25
25
  ModifyIngress(req: ModifyIngressRequest, cb?: (error: string, rep: ModifyIngressResponse) => void): Promise<ModifyIngressResponse>;
26
+ /**
27
+ * 启用应用弹性策略组合
28
+ */
29
+ EnableApplicationAutoscaler(req: EnableApplicationAutoscalerRequest, cb?: (error: string, rep: EnableApplicationAutoscalerResponse) => void): Promise<EnableApplicationAutoscalerResponse>;
26
30
  /**
27
31
  * 修改应用实例数量
28
32
  */
@@ -134,6 +138,10 @@ export declare class Client extends AbstractClient {
134
138
  * 创建环境
135
139
  */
136
140
  CreateEnvironment(req: CreateEnvironmentRequest, cb?: (error: string, rep: CreateEnvironmentResponse) => void): Promise<CreateEnvironmentResponse>;
141
+ /**
142
+ * 关闭应用弹性策略组合
143
+ */
144
+ DisableApplicationAutoscaler(req: DisableApplicationAutoscalerRequest, cb?: (error: string, rep: DisableApplicationAutoscalerResponse) => void): Promise<DisableApplicationAutoscalerResponse>;
137
145
  /**
138
146
  * 查询 Ingress 规则列表
139
147
  */
@@ -51,6 +51,12 @@ class Client extends abstract_client_1.AbstractClient {
51
51
  async ModifyIngress(req, cb) {
52
52
  return this.request("ModifyIngress", req, cb);
53
53
  }
54
+ /**
55
+ * 启用应用弹性策略组合
56
+ */
57
+ async EnableApplicationAutoscaler(req, cb) {
58
+ return this.request("EnableApplicationAutoscaler", req, cb);
59
+ }
54
60
  /**
55
61
  * 修改应用实例数量
56
62
  */
@@ -216,6 +222,12 @@ class Client extends abstract_client_1.AbstractClient {
216
222
  async CreateEnvironment(req, cb) {
217
223
  return this.request("CreateEnvironment", req, cb);
218
224
  }
225
+ /**
226
+ * 关闭应用弹性策略组合
227
+ */
228
+ async DisableApplicationAutoscaler(req, cb) {
229
+ return this.request("DisableApplicationAutoscaler", req, cb);
230
+ }
219
231
  /**
220
232
  * 查询 Ingress 规则列表
221
233
  */
@@ -201,6 +201,23 @@ export interface DescribeApplicationPodsRequest {
201
201
  */
202
202
  SourceChannel?: number;
203
203
  }
204
+ /**
205
+ * ingress tls 配置
206
+ */
207
+ export interface IngressTls {
208
+ /**
209
+ * host 数组, 空数组表示全部域名的默认证书
210
+ */
211
+ Hosts: Array<string>;
212
+ /**
213
+ * secret name,如使用证书,则填空字符串
214
+ */
215
+ SecretName: string;
216
+ /**
217
+ * SSL Certificate Id
218
+ */
219
+ CertificateId?: string;
220
+ }
204
221
  /**
205
222
  * 分批发布单批次详情
206
223
  */
@@ -847,21 +864,33 @@ export interface DescribeEnvironmentStatusResponse {
847
864
  RequestId?: string;
848
865
  }
849
866
  /**
850
- * ingress tls 配置
867
+ * 分批发布策略配置
851
868
  */
852
- export interface IngressTls {
869
+ export interface DeployStrategyConf {
853
870
  /**
854
- * host 数组, 空数组表示全部域名的默认证书
871
+ * 总分批数
855
872
  */
856
- Hosts: Array<string>;
873
+ TotalBatchCount?: number;
857
874
  /**
858
- * secret name,如使用证书,则填空字符串
875
+ * beta分批实例数
859
876
  */
860
- SecretName: string;
877
+ BetaBatchNum?: number;
861
878
  /**
862
- * SSL Certificate Id
879
+ * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
863
880
  */
864
- CertificateId?: string;
881
+ DeployStrategyType?: number;
882
+ /**
883
+ * 每批暂停间隔
884
+ */
885
+ BatchInterval?: number;
886
+ /**
887
+ * 最小可用实例数
888
+ */
889
+ MinAvailable?: number;
890
+ /**
891
+ * 是否强制发布
892
+ */
893
+ Force?: boolean;
865
894
  }
866
895
  /**
867
896
  * DescribeApplicationPods返回参数结构体
@@ -897,6 +926,20 @@ export interface DescribeConfigDataListRequest {
897
926
  */
898
927
  Limit?: number;
899
928
  }
929
+ /**
930
+ * EnableApplicationAutoscaler返回参数结构体
931
+ */
932
+ export interface EnableApplicationAutoscalerResponse {
933
+ /**
934
+ * 是否成功
935
+ 注意:此字段可能返回 null,表示取不到有效值。
936
+ */
937
+ Result: boolean;
938
+ /**
939
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
940
+ */
941
+ RequestId?: string;
942
+ }
900
943
  /**
901
944
  * 服务分页
902
945
  */
@@ -1675,6 +1718,20 @@ export interface DestroyEnvironmentResponse {
1675
1718
  */
1676
1719
  RequestId?: string;
1677
1720
  }
1721
+ /**
1722
+ * DisableApplicationAutoscaler返回参数结构体
1723
+ */
1724
+ export interface DisableApplicationAutoscalerResponse {
1725
+ /**
1726
+ * 是否成功
1727
+ 注意:此字段可能返回 null,表示取不到有效值。
1728
+ */
1729
+ Result: boolean;
1730
+ /**
1731
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1732
+ */
1733
+ RequestId?: string;
1734
+ }
1678
1735
  /**
1679
1736
  * DescribeIngress请求参数结构体
1680
1737
  */
@@ -1875,6 +1932,27 @@ export interface DeleteIngressRequest {
1875
1932
  */
1876
1933
  SourceChannel?: number;
1877
1934
  }
1935
+ /**
1936
+ * DisableApplicationAutoscaler请求参数结构体
1937
+ */
1938
+ export interface DisableApplicationAutoscalerRequest {
1939
+ /**
1940
+ * 服务id
1941
+ */
1942
+ ApplicationId: string;
1943
+ /**
1944
+ * 环境ID
1945
+ */
1946
+ EnvironmentId: string;
1947
+ /**
1948
+ * 来源渠道
1949
+ */
1950
+ SourceChannel?: number;
1951
+ /**
1952
+ * 弹性伸缩策略ID
1953
+ */
1954
+ AutoscalerId?: string;
1955
+ }
1878
1956
  /**
1879
1957
  * DescribeRelatedIngresses请求参数结构体
1880
1958
  */
@@ -2785,14 +2863,19 @@ export interface DeployApplicationRequest {
2785
2863
  */
2786
2864
  OsFlavour?: string;
2787
2865
  /**
2788
- * 是否开启prometheus 业务指标监控
2866
+ * metrics业务指标监控配置
2789
2867
  */
2790
2868
  EnablePrometheusConf?: EnablePrometheusConf;
2791
2869
  /**
2792
- * 1:开始apm采集(skywalking);
2870
+ * 1:开始自动apm采集(skywalking);
2793
2871
  0:关闭apm采集;
2794
2872
  */
2795
2873
  EnableTracing?: number;
2874
+ /**
2875
+ * 1:开始自动metrics采集(open-telemetry);
2876
+ 0:关闭metrics采集;
2877
+ */
2878
+ EnableMetrics?: number;
2796
2879
  }
2797
2880
  /**
2798
2881
  * DescribeApplicationAutoscalerList返回参数结构体
@@ -3103,35 +3186,6 @@ export interface IngressRuleBackend {
3103
3186
  */
3104
3187
  ServicePort: number;
3105
3188
  }
3106
- /**
3107
- * 分批发布策略配置
3108
- */
3109
- export interface DeployStrategyConf {
3110
- /**
3111
- * 总分批数
3112
- */
3113
- TotalBatchCount?: number;
3114
- /**
3115
- * beta分批实例数
3116
- */
3117
- BetaBatchNum?: number;
3118
- /**
3119
- * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
3120
- */
3121
- DeployStrategyType?: number;
3122
- /**
3123
- * 每批暂停间隔
3124
- */
3125
- BatchInterval?: number;
3126
- /**
3127
- * 最小可用实例数
3128
- */
3129
- MinAvailable?: number;
3130
- /**
3131
- * 是否强制发布
3132
- */
3133
- Force?: boolean;
3134
- }
3135
3189
  /**
3136
3190
  * DescribeIngress返回参数结构体
3137
3191
  */
@@ -3326,6 +3380,68 @@ export interface PortMapping {
3326
3380
  */
3327
3381
  ServiceName?: string;
3328
3382
  }
3383
+ /**
3384
+ * 日志收集配置
3385
+ */
3386
+ export interface LogConfig {
3387
+ /**
3388
+ * 名称
3389
+ */
3390
+ Name: string;
3391
+ /**
3392
+ * 收集类型,container_stdout 为标准输出;container_file 为文件;
3393
+ */
3394
+ InputType: string;
3395
+ /**
3396
+ * 日志集 ID
3397
+ 注意:此字段可能返回 null,表示取不到有效值。
3398
+ */
3399
+ LogsetId: string;
3400
+ /**
3401
+ * 日志主题 ID
3402
+ 注意:此字段可能返回 null,表示取不到有效值。
3403
+ */
3404
+ TopicId: string;
3405
+ /**
3406
+ * 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
3407
+ */
3408
+ LogType: string;
3409
+ /**
3410
+ * 首行正则表达式,当LogType=multiline_log 时生效
3411
+ 注意:此字段可能返回 null,表示取不到有效值。
3412
+ */
3413
+ BeginningRegex: string;
3414
+ /**
3415
+ * 收集文件目录,当 InputType=container_file 时生效
3416
+ 注意:此字段可能返回 null,表示取不到有效值。
3417
+ */
3418
+ LogPath: string;
3419
+ /**
3420
+ * 收集文件名模式,当 InputType=container_file 时生效
3421
+ 注意:此字段可能返回 null,表示取不到有效值。
3422
+ */
3423
+ FilePattern: string;
3424
+ /**
3425
+ * 创建时间
3426
+ 注意:此字段可能返回 null,表示取不到有效值。
3427
+ */
3428
+ CreateDate: string;
3429
+ /**
3430
+ * 更新时间
3431
+ 注意:此字段可能返回 null,表示取不到有效值。
3432
+ */
3433
+ ModifyDate: string;
3434
+ /**
3435
+ * 应用 ID
3436
+ 注意:此字段可能返回 null,表示取不到有效值。
3437
+ */
3438
+ ApplicationId: string;
3439
+ /**
3440
+ * 应用名
3441
+ 注意:此字段可能返回 null,表示取不到有效值。
3442
+ */
3443
+ ApplicationName: string;
3444
+ }
3329
3445
  /**
3330
3446
  * ModifyEnvironment返回参数结构体
3331
3447
  */
@@ -3400,66 +3516,25 @@ export interface DestroyLogConfigRequest {
3400
3516
  ApplicationId?: string;
3401
3517
  }
3402
3518
  /**
3403
- * 日志收集配置
3519
+ * EnableApplicationAutoscaler请求参数结构体
3404
3520
  */
3405
- export interface LogConfig {
3406
- /**
3407
- * 名称
3408
- */
3409
- Name: string;
3410
- /**
3411
- * 收集类型,container_stdout 为标准输出;container_file 为文件;
3412
- */
3413
- InputType: string;
3414
- /**
3415
- * 日志集 ID
3416
- 注意:此字段可能返回 null,表示取不到有效值。
3417
- */
3418
- LogsetId: string;
3419
- /**
3420
- * 日志主题 ID
3421
- 注意:此字段可能返回 null,表示取不到有效值。
3422
- */
3423
- TopicId: string;
3424
- /**
3425
- * 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
3426
- */
3427
- LogType: string;
3428
- /**
3429
- * 首行正则表达式,当LogType=multiline_log 时生效
3430
- 注意:此字段可能返回 null,表示取不到有效值。
3431
- */
3432
- BeginningRegex: string;
3521
+ export interface EnableApplicationAutoscalerRequest {
3433
3522
  /**
3434
- * 收集文件目录,当 InputType=container_file 时生效
3435
- 注意:此字段可能返回 null,表示取不到有效值。
3436
- */
3437
- LogPath: string;
3438
- /**
3439
- * 收集文件名模式,当 InputType=container_file 时生效
3440
- 注意:此字段可能返回 null,表示取不到有效值。
3441
- */
3442
- FilePattern: string;
3443
- /**
3444
- * 创建时间
3445
- 注意:此字段可能返回 null,表示取不到有效值。
3523
+ * 服务id
3446
3524
  */
3447
- CreateDate: string;
3525
+ ApplicationId: string;
3448
3526
  /**
3449
- * 更新时间
3450
- 注意:此字段可能返回 null,表示取不到有效值。
3527
+ * 环境ID
3451
3528
  */
3452
- ModifyDate: string;
3529
+ EnvironmentId: string;
3453
3530
  /**
3454
- * 应用 ID
3455
- 注意:此字段可能返回 null,表示取不到有效值。
3531
+ * 来源渠道
3456
3532
  */
3457
- ApplicationId: string;
3533
+ SourceChannel?: number;
3458
3534
  /**
3459
- * 应用名
3460
- 注意:此字段可能返回 null,表示取不到有效值。
3535
+ * 弹性伸缩策略ID
3461
3536
  */
3462
- ApplicationName: string;
3537
+ AutoscalerId?: string;
3463
3538
  }
3464
3539
  /**
3465
3540
  * eks service info
@@ -18,6 +18,16 @@ const client = new tencentcloud.ess.v20201111.Client({
18
18
  })
19
19
  describe("ess.v20201111.test.js", function () {
20
20
 
21
+ it("ess.v20201111.DescribeFileUrls", async function () {
22
+ try {
23
+ const data = await client.DescribeFileUrls({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
21
31
  it("ess.v20201111.StartFlow", async function () {
22
32
  try {
23
33
  const data = await client.StartFlow({})
@@ -28,9 +38,9 @@ it("ess.v20201111.StartFlow", async function () {
28
38
  }
29
39
  })
30
40
 
31
- it("ess.v20201111.CreateMultiFlowSignQRCode", async function () {
41
+ it("ess.v20201111.CreateFlowSignReview", async function () {
32
42
  try {
33
- const data = await client.CreateMultiFlowSignQRCode({})
43
+ const data = await client.CreateFlowSignReview({})
34
44
  expect(data).to.be.ok
35
45
  } catch(error) {
36
46
  expect(error.requestId).to.be.ok
@@ -58,9 +68,9 @@ it("ess.v20201111.CreateDocument", async function () {
58
68
  }
59
69
  })
60
70
 
61
- it("ess.v20201111.DescribeFileUrls", async function () {
71
+ it("ess.v20201111.CreateMultiFlowSignQRCode", async function () {
62
72
  try {
63
- const data = await client.DescribeFileUrls({})
73
+ const data = await client.CreateMultiFlowSignQRCode({})
64
74
  expect(data).to.be.ok
65
75
  } catch(error) {
66
76
  expect(error.requestId).to.be.ok
@@ -18,6 +18,16 @@ const client = new tencentcloud.essbasic.v20210526.Client({
18
18
  })
19
19
  describe("essbasic.v20210526.test.js", function () {
20
20
 
21
+ it("essbasic.v20210526.UploadFiles", async function () {
22
+ try {
23
+ const data = await client.UploadFiles({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
21
31
  it("essbasic.v20210526.CreateFlowsByTemplates", async function () {
22
32
  try {
23
33
  const data = await client.CreateFlowsByTemplates({})
@@ -38,9 +48,9 @@ it("essbasic.v20210526.DescribeResourceUrlsByFlows", async function () {
38
48
  }
39
49
  })
40
50
 
41
- it("essbasic.v20210526.GetDownloadFlowUrl", async function () {
51
+ it("essbasic.v20210526.ChannelCreateFlowSignReview", async function () {
42
52
  try {
43
- const data = await client.GetDownloadFlowUrl({})
53
+ const data = await client.ChannelCreateFlowSignReview({})
44
54
  expect(data).to.be.ok
45
55
  } catch(error) {
46
56
  expect(error.requestId).to.be.ok
@@ -208,9 +218,9 @@ it("essbasic.v20210526.DescribeFlowDetailInfo", async function () {
208
218
  }
209
219
  })
210
220
 
211
- it("essbasic.v20210526.UploadFiles", async function () {
221
+ it("essbasic.v20210526.GetDownloadFlowUrl", async function () {
212
222
  try {
213
- const data = await client.UploadFiles({})
223
+ const data = await client.GetDownloadFlowUrl({})
214
224
  expect(data).to.be.ok
215
225
  } catch(error) {
216
226
  expect(error.requestId).to.be.ok
@@ -58,6 +58,16 @@ it("tem.v20210701.ModifyIngress", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("tem.v20210701.EnableApplicationAutoscaler", async function () {
62
+ try {
63
+ const data = await client.EnableApplicationAutoscaler({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
61
71
  it("tem.v20210701.ModifyApplicationReplicas", async function () {
62
72
  try {
63
73
  const data = await client.ModifyApplicationReplicas({})
@@ -328,6 +338,16 @@ it("tem.v20210701.CreateEnvironment", async function () {
328
338
  }
329
339
  })
330
340
 
341
+ it("tem.v20210701.DisableApplicationAutoscaler", async function () {
342
+ try {
343
+ const data = await client.DisableApplicationAutoscaler({})
344
+ expect(data).to.be.ok
345
+ } catch(error) {
346
+ expect(error.requestId).to.be.ok
347
+ expect(error.code).to.be.ok
348
+ }
349
+ })
350
+
331
351
  it("tem.v20210701.DescribeIngresses", async function () {
332
352
  try {
333
353
  const data = await client.DescribeIngresses({})