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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.415",
3
+ "version": "4.0.416",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -86,8 +86,8 @@
86
86
  | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-06-16 06:06:58 |
87
87
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-07-28 06:11:30 |
88
88
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-08-03 06:23:52 |
89
- | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-08-11 07:02:49 |
90
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-08-11 07:03:11 |
89
+ | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-08-11 22:36:30 |
90
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-08-11 15:03:00 |
91
91
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
92
92
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-08-11 06:31:43 |
93
93
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
@@ -135,7 +135,7 @@
135
135
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
136
136
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
137
137
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-07-26 06:19:20 |
138
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-08-11 07:04:35 |
138
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-08-12 11:13:38 |
139
139
  | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-07-21 06:14:50 |
140
140
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-06-13 06:15:36 |
141
141
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
@@ -180,7 +180,7 @@
180
180
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-07-05 06:21:49 |
181
181
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
182
182
  | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-07-29 06:15:49 |
183
- | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-08-11 07:11:15 |
183
+ | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-08-12 11:47:08 |
184
184
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-08-11 06:53:53 |
185
185
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
186
186
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.415"
1
+ export const sdkVersion = "4.0.416"
@@ -30,6 +30,7 @@ import {
30
30
  CreateSchemeUrlRequest,
31
31
  FileUrl,
32
32
  DescribeThirdPartyAuthCodeRequest,
33
+ Filter,
33
34
  SignQrCode,
34
35
  GetTaskResultApiRequest,
35
36
  UploadFilesRequest,
@@ -48,6 +49,7 @@ import {
48
49
  SignUrl,
49
50
  DescribeFileUrlsRequest,
50
51
  ApproverInfo,
52
+ CreateFlowSignReviewResponse,
51
53
  Caller,
52
54
  DescribeFlowTemplatesResponse,
53
55
  CreateBatchCancelFlowUrlResponse,
@@ -56,7 +58,7 @@ import {
56
58
  CreateBatchCancelFlowUrlRequest,
57
59
  CreateMultiFlowSignQRCodeRequest,
58
60
  CreateConvertTaskApiResponse,
59
- Filter,
61
+ CreateFlowSignReviewRequest,
60
62
  CreateConvertTaskApiRequest,
61
63
  CreateSchemeUrlResponse,
62
64
  CreateFlowByFilesRequest,
@@ -80,6 +82,17 @@ export class Client extends AbstractClient {
80
82
  super("ess.tencentcloudapi.com", "2020-11-11", clientConfig)
81
83
  }
82
84
 
85
+ /**
86
+ * 查询文件下载URL
87
+ 适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
88
+ */
89
+ async DescribeFileUrls(
90
+ req: DescribeFileUrlsRequest,
91
+ cb?: (error: string, rep: DescribeFileUrlsResponse) => void
92
+ ): Promise<DescribeFileUrlsResponse> {
93
+ return this.request("DescribeFileUrls", req, cb)
94
+ }
95
+
83
96
  /**
84
97
  * 此接口用于发起流程
85
98
  适用场景:见创建签署流程接口。
@@ -93,15 +106,17 @@ export class Client extends AbstractClient {
93
106
  }
94
107
 
95
108
  /**
96
- * 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
97
- 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
98
- 适用的模板仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模板,且模板中发起方没有填写控件。
109
+ * 提交企业签署流程审批结果
110
+ 适用场景:
111
+ 在通过接口(CreateFlow 或者CreateFlowByFiles)创建签署流程时,若指定了参数 NeedSignReview 为true,则可以调用此接口提交企业内部签署审批结果。
112
+ 若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
113
+
99
114
  */
100
- async CreateMultiFlowSignQRCode(
101
- req: CreateMultiFlowSignQRCodeRequest,
102
- cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void
103
- ): Promise<CreateMultiFlowSignQRCodeResponse> {
104
- return this.request("CreateMultiFlowSignQRCode", req, cb)
115
+ async CreateFlowSignReview(
116
+ req: CreateFlowSignReviewRequest,
117
+ cb?: (error: string, rep: CreateFlowSignReviewResponse) => void
118
+ ): Promise<CreateFlowSignReviewResponse> {
119
+ return this.request("CreateFlowSignReview", req, cb)
105
120
  }
106
121
 
107
122
  /**
@@ -129,14 +144,15 @@ export class Client extends AbstractClient {
129
144
  }
130
145
 
131
146
  /**
132
- * 查询文件下载URL
133
- 适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
147
+ * 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
148
+ 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
149
+ 适用的模板仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模板,且模板中发起方没有填写控件。
134
150
  */
135
- async DescribeFileUrls(
136
- req: DescribeFileUrlsRequest,
137
- cb?: (error: string, rep: DescribeFileUrlsResponse) => void
138
- ): Promise<DescribeFileUrlsResponse> {
139
- return this.request("DescribeFileUrls", req, cb)
151
+ async CreateMultiFlowSignQRCode(
152
+ req: CreateMultiFlowSignQRCodeRequest,
153
+ cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void
154
+ ): Promise<CreateMultiFlowSignQRCodeResponse> {
155
+ return this.request("CreateMultiFlowSignQRCode", req, cb)
140
156
  }
141
157
 
142
158
  /**
@@ -408,6 +408,21 @@ export interface DescribeThirdPartyAuthCodeRequest {
408
408
  AuthCode: string
409
409
  }
410
410
 
411
+ /**
412
+ * 查询过滤条件
413
+ */
414
+ export interface Filter {
415
+ /**
416
+ * 查询过滤条件的Key
417
+ */
418
+ Key: string
419
+
420
+ /**
421
+ * 查询过滤条件的Value列表
422
+ */
423
+ Values: Array<string>
424
+ }
425
+
411
426
  /**
412
427
  * 一码多扫签署二维码对象
413
428
  */
@@ -1119,6 +1134,16 @@ HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
1119
1134
  PreReadTime?: number
1120
1135
  }
1121
1136
 
1137
+ /**
1138
+ * CreateFlowSignReview返回参数结构体
1139
+ */
1140
+ export interface CreateFlowSignReviewResponse {
1141
+ /**
1142
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1143
+ */
1144
+ RequestId?: string
1145
+ }
1146
+
1122
1147
  /**
1123
1148
  * 此结构体 (Caller) 用于描述调用方属性。
1124
1149
  */
@@ -1313,18 +1338,36 @@ export interface CreateConvertTaskApiResponse {
1313
1338
  }
1314
1339
 
1315
1340
  /**
1316
- * 查询过滤条件
1341
+ * CreateFlowSignReview请求参数结构体
1317
1342
  */
1318
- export interface Filter {
1343
+ export interface CreateFlowSignReviewRequest {
1319
1344
  /**
1320
- * 查询过滤条件的Key
1345
+ * 调用方用户信息,userId 必填
1321
1346
  */
1322
- Key: string
1347
+ Operator: UserInfo
1323
1348
 
1324
1349
  /**
1325
- * 查询过滤条件的Value列表
1350
+ * 签署流程编号
1326
1351
  */
1327
- Values: Array<string>
1352
+ FlowId: string
1353
+
1354
+ /**
1355
+ * 企业内部审核结果
1356
+ PASS: 通过
1357
+ REJECT: 拒绝
1358
+ */
1359
+ ReviewType: string
1360
+
1361
+ /**
1362
+ * 审核原因
1363
+ 当ReviewType 是REJECT 时此字段必填,字符串长度不超过200
1364
+ */
1365
+ ReviewMessage?: string
1366
+
1367
+ /**
1368
+ * 应用相关信息
1369
+ */
1370
+ Agent?: Agent
1328
1371
  }
1329
1372
 
1330
1373
  /**
@@ -24,6 +24,7 @@ import {
24
24
  ChannelCreateConvertTaskApiResponse,
25
25
  OperateChannelTemplateRequest,
26
26
  TemplateInfo,
27
+ UploadFilesRequest,
27
28
  GetDownloadFlowUrlResponse,
28
29
  DescribeResourceUrlsByFlowsResponse,
29
30
  ChannelCreateMultiFlowSignQRCodeResponse,
@@ -36,7 +37,7 @@ import {
36
37
  AuthFailMessage,
37
38
  DescribeFlowDetailInfoRequest,
38
39
  ChannelGetTaskResultApiResponse,
39
- UploadFilesRequest,
40
+ ProxyOrganizationOperator,
40
41
  ChannelGetTaskResultApiRequest,
41
42
  UploadFile,
42
43
  Component,
@@ -45,7 +46,7 @@ import {
45
46
  CreateConsoleLoginUrlRequest,
46
47
  OrganizationInfo,
47
48
  CreateFlowsByTemplatesResponse,
48
- ProxyOrganizationOperator,
49
+ ChannelCreateFlowSignReviewRequest,
49
50
  PrepareFlowsRequest,
50
51
  SyncProxyOrganizationOperatorsResponse,
51
52
  CreateSealByImageResponse,
@@ -72,6 +73,7 @@ import {
72
73
  ChannelCreateFlowByFilesRequest,
73
74
  ChannelCreateFlowByFilesResponse,
74
75
  UploadFilesResponse,
76
+ ChannelCreateFlowSignReviewResponse,
75
77
  Agent,
76
78
  FormField,
77
79
  UserInfo,
@@ -93,6 +95,17 @@ export class Client extends AbstractClient {
93
95
  super("essbasic.tencentcloudapi.com", "2021-05-26", clientConfig)
94
96
  }
95
97
 
98
+ /**
99
+ * 此接口(UploadFiles)用于文件上传。
100
+ 调用时需要设置Domain 为 file.ess.tencent.cn
101
+ */
102
+ async UploadFiles(
103
+ req: UploadFilesRequest,
104
+ cb?: (error: string, rep: UploadFilesResponse) => void
105
+ ): Promise<UploadFilesResponse> {
106
+ return this.request("UploadFiles", req, cb)
107
+ }
108
+
96
109
  /**
97
110
  * 接口(CreateFlowsByTemplates)用于使用多个模板批量创建签署流程。当前可批量发起合同(签署流程)数量最大为20个。
98
111
 
@@ -115,15 +128,16 @@ export class Client extends AbstractClient {
115
128
  }
116
129
 
117
130
  /**
118
- * 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
119
- 当前接口限制最多合同(流程)50个.
131
+ * 提交企业签署流程审批结果
120
132
 
133
+ 在通过接口(CreateFlowsByTemplates 或者ChannelCreateFlowByFiles)创建签署流程时,若指定了参数 NeedSignReview 为true,则可以调用此接口提交企业内部签署审批结果。
134
+ 若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
121
135
  */
122
- async GetDownloadFlowUrl(
123
- req: GetDownloadFlowUrlRequest,
124
- cb?: (error: string, rep: GetDownloadFlowUrlResponse) => void
125
- ): Promise<GetDownloadFlowUrlResponse> {
126
- return this.request("GetDownloadFlowUrl", req, cb)
136
+ async ChannelCreateFlowSignReview(
137
+ req: ChannelCreateFlowSignReviewRequest,
138
+ cb?: (error: string, rep: ChannelCreateFlowSignReviewResponse) => void
139
+ ): Promise<ChannelCreateFlowSignReviewResponse> {
140
+ return this.request("ChannelCreateFlowSignReview", req, cb)
127
141
  }
128
142
 
129
143
  /**
@@ -297,13 +311,14 @@ export class Client extends AbstractClient {
297
311
  }
298
312
 
299
313
  /**
300
- * 此接口(UploadFiles)用于文件上传。
301
- 调用时需要设置Domain 为 file.ess.tencent.cn
314
+ * 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
315
+ 当前接口限制最多合同(流程)50个.
316
+
302
317
  */
303
- async UploadFiles(
304
- req: UploadFilesRequest,
305
- cb?: (error: string, rep: UploadFilesResponse) => void
306
- ): Promise<UploadFilesResponse> {
307
- return this.request("UploadFiles", req, cb)
318
+ async GetDownloadFlowUrl(
319
+ req: GetDownloadFlowUrlRequest,
320
+ cb?: (error: string, rep: GetDownloadFlowUrlResponse) => void
321
+ ): Promise<GetDownloadFlowUrlResponse> {
322
+ return this.request("GetDownloadFlowUrl", req, cb)
308
323
  }
309
324
  }
@@ -246,6 +246,33 @@ export interface TemplateInfo {
246
246
  CreatedOn: number
247
247
  }
248
248
 
249
+ /**
250
+ * UploadFiles请求参数结构体
251
+ */
252
+ export interface UploadFilesRequest {
253
+ /**
254
+ * 应用相关信息,若是渠道版调用 appid 和proxyappid 必填
255
+ */
256
+ Agent: Agent
257
+
258
+ /**
259
+ * 文件对应业务类型,用于区分文件存储路径:
260
+ 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
261
+ 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
262
+ */
263
+ BusinessType: string
264
+
265
+ /**
266
+ * 上传文件内容数组,最多支持20个文件
267
+ */
268
+ FileInfos?: Array<UploadFile>
269
+
270
+ /**
271
+ * 操作者的信息
272
+ */
273
+ Operator?: UserInfo
274
+ }
275
+
249
276
  /**
250
277
  * GetDownloadFlowUrl返回参数结构体
251
278
  */
@@ -650,30 +677,36 @@ ProcessTimeout - 转换文件超时
650
677
  }
651
678
 
652
679
  /**
653
- * UploadFiles请求参数结构体
680
+ * 合作企业经办人列表信息
654
681
  */
655
- export interface UploadFilesRequest {
682
+ export interface ProxyOrganizationOperator {
656
683
  /**
657
- * 应用相关信息,若是渠道版调用 appid 和proxyappid 必填
684
+ * 经办人ID(渠道颁发),最大长度64个字符
658
685
  */
659
- Agent: Agent
686
+ Id: string
660
687
 
661
688
  /**
662
- * 文件对应业务类型,用于区分文件存储路径:
663
- 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
664
- 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
689
+ * 经办人姓名,最大长度50个字符
690
+ */
691
+ Name?: string
692
+
693
+ /**
694
+ * 经办人身份证件类型
695
+ 1.ID_CARD 居民身份证
696
+ 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
697
+ 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
665
698
  */
666
- BusinessType: string
699
+ IdCardType?: string
667
700
 
668
701
  /**
669
- * 上传文件内容数组,最多支持20个文件
702
+ * 经办人证件号
670
703
  */
671
- FileInfos?: Array<UploadFile>
704
+ IdCardNumber?: string
672
705
 
673
706
  /**
674
- * 操作者的信息
707
+ * 经办人手机号,大陆手机号输入11位,暂不支持海外手机号。
675
708
  */
676
- Operator?: UserInfo
709
+ Mobile?: string
677
710
  }
678
711
 
679
712
  /**
@@ -1030,36 +1063,31 @@ export interface CreateFlowsByTemplatesResponse {
1030
1063
  }
1031
1064
 
1032
1065
  /**
1033
- * 合作企业经办人列表信息
1066
+ * ChannelCreateFlowSignReview请求参数结构体
1034
1067
  */
1035
- export interface ProxyOrganizationOperator {
1068
+ export interface ChannelCreateFlowSignReviewRequest {
1036
1069
  /**
1037
- * 经办人ID(渠道颁发),最大长度64个字符
1070
+ * 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1038
1071
  */
1039
- Id: string
1072
+ Agent: Agent
1040
1073
 
1041
1074
  /**
1042
- * 经办人姓名,最大长度50个字符
1075
+ * 签署流程编号
1043
1076
  */
1044
- Name?: string
1077
+ FlowId: string
1045
1078
 
1046
1079
  /**
1047
- * 经办人身份证件类型
1048
- 1.ID_CARD 居民身份证
1049
- 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
1050
- 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
1080
+ * 企业内部审核结果
1081
+ PASS: 通过
1082
+ REJECT: 拒绝
1051
1083
  */
1052
- IdCardType?: string
1084
+ ReviewType: string
1053
1085
 
1054
1086
  /**
1055
- * 经办人证件号
1056
- */
1057
- IdCardNumber?: string
1058
-
1059
- /**
1060
- * 经办人手机号,大陆手机号输入11位,暂不支持海外手机号。
1061
- */
1062
- Mobile?: string
1087
+ * 审核原因
1088
+ 当ReviewType 是REJECT 时此字段必填,字符串长度不超过200
1089
+ */
1090
+ ReviewMessage?: string
1063
1091
  }
1064
1092
 
1065
1093
  /**
@@ -1717,6 +1745,16 @@ export interface UploadFilesResponse {
1717
1745
  RequestId?: string
1718
1746
  }
1719
1747
 
1748
+ /**
1749
+ * ChannelCreateFlowSignReview返回参数结构体
1750
+ */
1751
+ export interface ChannelCreateFlowSignReviewResponse {
1752
+ /**
1753
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1754
+ */
1755
+ RequestId?: string
1756
+ }
1757
+
1720
1758
  /**
1721
1759
  * 应用相关信息
1722
1760
  */
@@ -1236,7 +1236,7 @@ export class Client extends AbstractClient {
1236
1236
  }
1237
1237
 
1238
1238
  /**
1239
- * 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
1239
+ * 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
1240
1240
 
1241
1241
  默认接口请求频率限制:10次/秒。
1242
1242
  */
@@ -1031,6 +1031,11 @@ export interface SingleInvoiceInfo {
1031
1031
  * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
1032
1032
  */
1033
1033
  Value: string
1034
+
1035
+ /**
1036
+ * 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
1037
+ */
1038
+ Row: number
1034
1039
  }
1035
1040
 
1036
1041
  /**
@@ -28,6 +28,7 @@ import {
28
28
  ResumeDeployApplicationResponse,
29
29
  StorageConf,
30
30
  DescribeApplicationPodsRequest,
31
+ IngressTls,
31
32
  DeployServicePodDetail,
32
33
  LogOutputConf,
33
34
  DeleteIngressResponse,
@@ -54,9 +55,10 @@ import {
54
55
  DescribeLogConfigRequest,
55
56
  TemDeployApplicationDetailInfo,
56
57
  DescribeEnvironmentStatusResponse,
57
- IngressTls,
58
+ DeployStrategyConf,
58
59
  DescribeApplicationPodsResponse,
59
60
  DescribeConfigDataListRequest,
61
+ EnableApplicationAutoscalerResponse,
60
62
  ServicePage,
61
63
  TemServiceVersionInfo,
62
64
  ServicePortMapping,
@@ -78,6 +80,7 @@ import {
78
80
  ModifyApplicationInfoResponse,
79
81
  RestartApplicationRequest,
80
82
  DestroyEnvironmentResponse,
83
+ DisableApplicationAutoscalerResponse,
81
84
  DescribeIngressRequest,
82
85
  StopApplicationResponse,
83
86
  DeployApplicationResponse,
@@ -90,6 +93,7 @@ import {
90
93
  DescribeApplicationsStatusResponse,
91
94
  DescribeDeployApplicationDetailRequest,
92
95
  DeleteIngressRequest,
96
+ DisableApplicationAutoscalerRequest,
93
97
  DescribeRelatedIngressesRequest,
94
98
  CosToken,
95
99
  GenerateApplicationPackageDownloadUrlRequest,
@@ -134,7 +138,6 @@ import {
134
138
  ModifyEnvironmentRequest,
135
139
  GenerateApplicationPackageDownloadUrlResponse,
136
140
  IngressRuleBackend,
137
- DeployStrategyConf,
138
141
  DescribeIngressResponse,
139
142
  WorkloadInfo,
140
143
  IngressRulePath,
@@ -145,11 +148,12 @@ import {
145
148
  CreateApplicationResponse,
146
149
  HorizontalAutoscaler,
147
150
  PortMapping,
151
+ LogConfig,
148
152
  ModifyEnvironmentResponse,
149
153
  ModifyApplicationReplicasRequest,
150
154
  ModifyLogConfigRequest,
151
155
  DestroyLogConfigRequest,
152
- LogConfig,
156
+ EnableApplicationAutoscalerRequest,
153
157
  EksService,
154
158
  Pair,
155
159
  } from "./tem_models"
@@ -203,6 +207,16 @@ export class Client extends AbstractClient {
203
207
  return this.request("ModifyIngress", req, cb)
204
208
  }
205
209
 
210
+ /**
211
+ * 启用应用弹性策略组合
212
+ */
213
+ async EnableApplicationAutoscaler(
214
+ req: EnableApplicationAutoscalerRequest,
215
+ cb?: (error: string, rep: EnableApplicationAutoscalerResponse) => void
216
+ ): Promise<EnableApplicationAutoscalerResponse> {
217
+ return this.request("EnableApplicationAutoscaler", req, cb)
218
+ }
219
+
206
220
  /**
207
221
  * 修改应用实例数量
208
222
  */
@@ -476,6 +490,16 @@ export class Client extends AbstractClient {
476
490
  return this.request("CreateEnvironment", req, cb)
477
491
  }
478
492
 
493
+ /**
494
+ * 关闭应用弹性策略组合
495
+ */
496
+ async DisableApplicationAutoscaler(
497
+ req: DisableApplicationAutoscalerRequest,
498
+ cb?: (error: string, rep: DisableApplicationAutoscalerResponse) => void
499
+ ): Promise<DisableApplicationAutoscalerResponse> {
500
+ return this.request("DisableApplicationAutoscaler", req, cb)
501
+ }
502
+
479
503
  /**
480
504
  * 查询 Ingress 规则列表
481
505
  */