tencentcloud-sdk-nodejs 4.0.549 → 4.0.550

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 (46) hide show
  1. package/CHANGELOG.md +342 -0
  2. package/SERVICE_CHANGELOG.md +580 -43
  3. package/package.json +1 -1
  4. package/products.md +17 -17
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_models.ts +7 -1
  7. package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +19 -5
  8. package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +202 -144
  9. package/src/services/ess/v20201111/ess_models.ts +5 -0
  10. package/src/services/essbasic/v20210526/essbasic_client.ts +12 -15
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +148 -148
  12. package/src/services/live/v20180801/live_client.ts +1 -1
  13. package/src/services/live/v20180801/live_models.ts +1 -1
  14. package/src/services/mrs/v20200910/mrs_client.ts +144 -45
  15. package/src/services/mrs/v20200910/mrs_models.ts +5227 -1129
  16. package/src/services/ocr/v20181119/ocr_client.ts +48 -23
  17. package/src/services/ocr/v20181119/ocr_models.ts +69 -59
  18. package/src/services/pts/v20210728/pts_models.ts +18 -0
  19. package/src/services/trtc/v20190722/trtc_models.ts +2 -3
  20. package/src/services/vpc/v20170312/vpc_client.ts +4 -4
  21. package/src/services/vpc/v20170312/vpc_models.ts +37 -16
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/as/v20180419/as_models.d.ts +7 -1
  25. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +5 -1
  26. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +6 -0
  27. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +171 -120
  28. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -0
  29. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +10 -13
  30. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -13
  31. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +146 -146
  32. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  33. package/tencentcloud/services/live/v20180801/live_client.js +1 -1
  34. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  35. package/tencentcloud/services/mrs/v20200910/mrs_client.d.ts +4 -2
  36. package/tencentcloud/services/mrs/v20200910/mrs_client.js +3 -1
  37. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +4625 -1128
  38. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +26 -1
  39. package/tencentcloud/services/ocr/v20181119/ocr_client.js +26 -1
  40. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +67 -59
  41. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +15 -0
  42. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -3
  43. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +4 -4
  44. package/tencentcloud/services/vpc/v20170312/vpc_client.js +4 -4
  45. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +34 -16
  46. package/test/cloudstudio.v20210524.test.js +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.549",
3
+ "version": "4.0.550",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -15,7 +15,7 @@
15
15
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
16
16
  | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2022-11-09 06:09:16 |
17
17
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2023-02-23 01:03:27 |
18
- | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-02-06 01:03:29 |
18
+ | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-03-02 01:02:47 |
19
19
  | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-02-16 01:07:50 |
20
20
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
21
21
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
@@ -25,7 +25,7 @@
25
25
  | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-02-23 01:04:50 |
26
26
  | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
27
27
  | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-01-11 11:01:36 |
28
- | bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2023-02-24 18:01:10 |
28
+ | bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2023-03-02 01:04:18 |
29
29
  | bmeip | [黑石弹性公网IP](https://cloud.tencent.com/document/product/1028) | 2023-02-15 01:10:21 |
30
30
  | bmlb | [黑石负载均衡](https://cloud.tencent.com/document/product/1027) | 2022-04-04 06:09:37 |
31
31
  | bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2022-04-15 06:02:36 |
@@ -47,7 +47,7 @@
47
47
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-02-08 01:18:00 |
48
48
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-02-01 01:09:52 |
49
49
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-12-19 01:23:20 |
50
- | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-03-01 01:09:53 |
50
+ | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-03-02 01:08:28 |
51
51
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-02-24 01:08:00 |
52
52
  | ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-01-04 01:10:27 |
53
53
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-06-27 06:06:02 |
@@ -57,7 +57,7 @@
57
57
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-02-27 01:13:11 |
58
58
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-02-07 01:15:35 |
59
59
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-12-14 01:17:29 |
60
- | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2022-10-31 06:18:55 |
60
+ | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-03-02 01:11:42 |
61
61
  | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-02-20 01:18:47 |
62
62
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-02-27 01:14:21 |
63
63
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-11-16 06:15:44 |
@@ -90,8 +90,8 @@
90
90
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2022-11-16 06:22:42 |
91
91
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-02-14 01:26:03 |
92
92
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-02-01 01:24:04 |
93
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-02-24 01:11:56 |
94
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-03-01 01:27:15 |
93
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-03-02 01:21:05 |
94
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-03-01 18:01:07 |
95
95
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-02-27 01:25:30 |
96
96
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-03-01 01:27:36 |
97
97
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-02-02 01:28:41 |
@@ -106,7 +106,7 @@
106
106
  | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-01-13 01:28:00 |
107
107
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-01-12 01:21:36 |
108
108
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-02-10 01:38:04 |
109
- | ic | [物联网卡](https://cloud.tencent.com/document/product/636) | 2022-11-18 06:30:40 |
109
+ | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
110
110
  | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2022-04-13 06:46:31 |
111
111
  | ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2022-10-25 06:37:05 |
112
112
  | iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2022-04-12 06:15:04 |
@@ -123,8 +123,8 @@
123
123
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-03-01 01:32:51 |
124
124
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-12-13 10:37:12 |
125
125
  | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-02-28 01:44:45 |
126
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-02-28 01:45:05 |
127
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-02-24 01:14:26 |
126
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-03-02 01:27:22 |
127
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-03-02 01:27:59 |
128
128
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
129
129
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
130
130
  | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2023-02-20 01:41:08 |
@@ -136,20 +136,20 @@
136
136
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-03-01 01:35:11 |
137
137
  | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2023-02-17 04:29:53 |
138
138
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-02-02 01:40:19 |
139
- | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-12-08 01:38:36 |
139
+ | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-03-02 01:30:06 |
140
140
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-01-11 01:32:47 |
141
141
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2022-04-04 07:00:13 |
142
142
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
143
143
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2023-02-15 01:45:01 |
144
144
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
145
145
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-03-01 01:36:28 |
146
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-02-27 01:35:12 |
146
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-03-02 01:30:53 |
147
147
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-02-17 04:46:25 |
148
148
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-02-20 01:44:36 |
149
149
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
150
150
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2023-02-28 01:49:07 |
151
151
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-12-09 01:52:05 |
152
- | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-02-07 01:48:09 |
152
+ | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-03-02 01:32:50 |
153
153
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-09-23 06:43:17 |
154
154
  | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-02-23 01:48:21 |
155
155
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2022-12-28 01:09:18 |
@@ -166,7 +166,7 @@
166
166
  | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-03-01 01:40:19 |
167
167
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-02-21 02:01:02 |
168
168
  | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2022-12-28 14:53:49 |
169
- | sslpod | [SSL证书监控SSLPod](https://cloud.tencent.com/document/product/1084) | 2022-10-31 06:47:43 |
169
+ | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-03-02 01:35:41 |
170
170
  | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-10-20 06:38:33 |
171
171
  | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2023-01-09 01:42:07 |
172
172
  | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2022-09-12 06:39:19 |
@@ -189,7 +189,7 @@
189
189
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-01-31 01:58:44 |
190
190
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-02-21 02:10:01 |
191
191
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-12-06 07:10:10 |
192
- | tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2023-02-24 01:23:28 |
192
+ | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-03-02 01:40:29 |
193
193
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-03-01 01:51:04 |
194
194
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-02-28 02:19:52 |
195
195
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
@@ -198,7 +198,7 @@
198
198
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
199
199
  | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
200
200
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-02-08 02:09:17 |
201
- | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2023-02-28 02:20:31 |
201
+ | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-03-02 01:43:10 |
202
202
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-01-16 02:13:33 |
203
203
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-03-01 01:55:40 |
204
204
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
@@ -206,7 +206,7 @@
206
206
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-01-09 01:52:45 |
207
207
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2022-12-07 07:14:03 |
208
208
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-01-31 02:06:12 |
209
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-02-24 01:38:46 |
209
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-03-02 01:44:59 |
210
210
  | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-03-01 01:57:41 |
211
211
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-02-23 02:05:41 |
212
212
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-10-31 06:59:44 |
@@ -215,7 +215,7 @@
215
215
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-11-16 06:46:30 |
216
216
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
217
217
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-02-22 02:07:08 |
218
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-02-28 02:25:56 |
218
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-03-02 01:47:50 |
219
219
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-02-06 02:56:05 |
220
220
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-10-12 07:10:28 |
221
221
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-02-28 02:28:46 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.549"
1
+ export const sdkVersion = "4.0.550"
@@ -2494,13 +2494,19 @@ export interface Instance {
2494
2494
  <li>TERMINATING:中止中
2495
2495
  <li>TERMINATION_FAILED:中止失败
2496
2496
  <li>ATTACHING:绑定中
2497
+ <li>ATTACH_FAILED:绑定失败
2497
2498
  <li>DETACHING:解绑中
2498
- <li>ATTACHING_LB:绑定LB中<li>DETACHING_LB:解绑LB中
2499
+ <li>DETACH_FAILED:解绑失败
2500
+ <li>ATTACHING_LB:绑定LB中
2501
+ <li>DETACHING_LB:解绑LB中
2502
+ <li>MODIFYING_LB:修改LB中
2499
2503
  <li>STARTING:开机中
2500
2504
  <li>START_FAILED:开机失败
2501
2505
  <li>STOPPING:关机中
2502
2506
  <li>STOP_FAILED:关机失败
2503
2507
  <li>STOPPED:已关机
2508
+ <li>IN_LAUNCHING_HOOK:扩容生命周期挂钩中
2509
+ <li>IN_TERMINATING_HOOK:缩容生命周期挂钩中
2504
2510
  */
2505
2511
  LifeCycleState: string
2506
2512
 
@@ -29,6 +29,7 @@ import {
29
29
  ModifyCustomizeTemplateVersionControlRequest,
30
30
  WorkspaceResourceDTO,
31
31
  CreateCustomizeTemplatesResponse,
32
+ WorkspaceTokenInfoV0,
32
33
  ImageUserDTO,
33
34
  RunWorkspaceRequest,
34
35
  DescribeWorkspaceStatusResponse,
@@ -45,6 +46,7 @@ import {
45
46
  UserInfoRsp,
46
47
  DescribeWorkspaceEnvListRequest,
47
48
  ModifyWorkspaceAttributesResponse,
49
+ WorkspaceStatusInfo,
48
50
  DescribeCustomizeTemplatesPresetsRequest,
49
51
  StopWorkspaceResponse,
50
52
  DescribeWorkspaceNameExistRequest,
@@ -54,21 +56,23 @@ import {
54
56
  CustomizeTemplatesPresetsInfo,
55
57
  RunWorkspaceResponse,
56
58
  DescribeCustomizeTemplatesByIdResponse,
57
- DescribeCustomizeTemplatesPresetsResponse,
59
+ DescribeWorkspaceNameExistResponse,
58
60
  CreateWorkspaceByTemplateResponse,
59
61
  CreateWorkspaceByAgentResponse,
60
- WorkspaceInfo,
62
+ RemoveWorkspaceResponse,
63
+ CreateWorkspaceTemporaryTokenRequest,
61
64
  WorkspaceDTO,
62
65
  ModifyCustomizeTemplatesFullByIdResponse,
63
66
  DescribeCustomizeTemplatesResponse,
64
67
  CreateWorkspaceByVersionControlResponse,
65
68
  ModifyCustomizeTemplatesPartByIdRequest,
69
+ WorkspaceTokenDTO,
66
70
  UserDefinedTemplateParams,
67
71
  DeleteCustomizeTemplatesByIdResponse,
68
- WorkspaceStatusInfo,
69
- RemoveWorkspaceResponse,
72
+ WorkspaceInfo,
73
+ CreateWorkspaceTemporaryTokenResponse,
70
74
  AgentSpaceDTO,
71
- DescribeWorkspaceNameExistResponse,
75
+ DescribeCustomizeTemplatesPresetsResponse,
72
76
  CreateWorkspaceByTemplateRequest,
73
77
  ModifyCustomizeTemplatesPartByIdResponse,
74
78
  ModifyWorkspaceAttributesRequest,
@@ -123,6 +127,16 @@ export class Client extends AbstractClient {
123
127
  return this.request("CreateWorkspaceByTemplate", req, cb)
124
128
  }
125
129
 
130
+ /**
131
+ * 为工作空间创建临时访问凭证,重复调用会创建新的 Token,旧的 Token 将会自动失效
132
+ */
133
+ async CreateWorkspaceTemporaryToken(
134
+ req: CreateWorkspaceTemporaryTokenRequest,
135
+ cb?: (error: string, rep: CreateWorkspaceTemporaryTokenResponse) => void
136
+ ): Promise<CreateWorkspaceTemporaryTokenResponse> {
137
+ return this.request("CreateWorkspaceTemporaryToken", req, cb)
138
+ }
139
+
126
140
  /**
127
141
  * 修改模板默认代码仓库
128
142
  */
@@ -236,6 +236,22 @@ export interface CreateCustomizeTemplatesResponse {
236
236
  RequestId?: string
237
237
  }
238
238
 
239
+ /**
240
+ * 获取工作空间临时访问 token 出参
241
+ */
242
+ export interface WorkspaceTokenInfoV0 {
243
+ /**
244
+ * 访问工作空间临时凭证
245
+ */
246
+ Token: string
247
+
248
+ /**
249
+ * token 过期时间
250
+ 注意:此字段可能返回 null,表示取不到有效值。
251
+ */
252
+ ExpiredTime: string
253
+ }
254
+
239
255
  /**
240
256
  * 可用镜像模板列表
241
257
  */
@@ -733,6 +749,139 @@ export interface ModifyWorkspaceAttributesResponse {
733
749
  RequestId?: string
734
750
  }
735
751
 
752
+ /**
753
+ * 获取用户工作空间返回信息
754
+ */
755
+ export interface WorkspaceStatusInfo {
756
+ /**
757
+ * 空间ID
758
+ */
759
+ Id: number
760
+
761
+ /**
762
+ * 空间名称
763
+ */
764
+ Name: string
765
+
766
+ /**
767
+ * 所属人
768
+ */
769
+ Owner: UserInfoRsp
770
+
771
+ /**
772
+ * 空间标识
773
+ */
774
+ SpaceKey: string
775
+
776
+ /**
777
+ * 状态
778
+ */
779
+ Status: string
780
+
781
+ /**
782
+ * 最后操作时间
783
+ 注意:此字段可能返回 null,表示取不到有效值。
784
+ */
785
+ LastOpsDate: string
786
+
787
+ /**
788
+ * 描述
789
+ 注意:此字段可能返回 null,表示取不到有效值。
790
+ */
791
+ Description: string
792
+
793
+ /**
794
+ * 共享状态
795
+ */
796
+ Share: WorkspaceShareInfo
797
+
798
+ /**
799
+ * 空间类型
800
+ */
801
+ WorkspaceType: string
802
+
803
+ /**
804
+ * 标签
805
+ 注意:此字段可能返回 null,表示取不到有效值。
806
+ */
807
+ Label: string
808
+
809
+ /**
810
+ * 空间版本
811
+ */
812
+ WorkspaceVersion: number
813
+
814
+ /**
815
+ * 图标地址
816
+ */
817
+ ImageIcon: string
818
+
819
+ /**
820
+ * 创建时间
821
+ 注意:此字段可能返回 null,表示取不到有效值。
822
+ */
823
+ CreateDate: string
824
+
825
+ /**
826
+ * 版本控制地址
827
+ 注意:此字段可能返回 null,表示取不到有效值。
828
+ */
829
+ VersionControlUrl: string
830
+
831
+ /**
832
+ * 版本控制描述
833
+ 注意:此字段可能返回 null,表示取不到有效值。
834
+ */
835
+ VersionControlDesc: string
836
+
837
+ /**
838
+ * 版本控制引用
839
+ 注意:此字段可能返回 null,表示取不到有效值。
840
+ */
841
+ VersionControlRef: string
842
+
843
+ /**
844
+ * 版本控制引用类型
845
+ 注意:此字段可能返回 null,表示取不到有效值。
846
+ */
847
+ VersionControlRefType: string
848
+
849
+ /**
850
+ * 版本控制类型
851
+ */
852
+ VersionControlType: string
853
+
854
+ /**
855
+ * 模板ID
856
+ 注意:此字段可能返回 null,表示取不到有效值。
857
+ */
858
+ TemplateId: number
859
+
860
+ /**
861
+ * 快照ID
862
+ 注意:此字段可能返回 null,表示取不到有效值。
863
+ */
864
+ SnapshotUid: string
865
+
866
+ /**
867
+ * 类型
868
+ 注意:此字段可能返回 null,表示取不到有效值。
869
+ */
870
+ SpecDesc: string
871
+
872
+ /**
873
+ * CPU数量
874
+ 注意:此字段可能返回 null,表示取不到有效值。
875
+ */
876
+ Cpu: number
877
+
878
+ /**
879
+ * 内存
880
+ 注意:此字段可能返回 null,表示取不到有效值。
881
+ */
882
+ Memory: number
883
+ }
884
+
736
885
  /**
737
886
  * DescribeCustomizeTemplatesPresets请求参数结构体
738
887
  */
@@ -868,15 +1017,9 @@ export interface DescribeCustomizeTemplatesByIdResponse {
868
1017
  }
869
1018
 
870
1019
  /**
871
- * DescribeCustomizeTemplatesPresets返回参数结构体
1020
+ * DescribeWorkspaceNameExist返回参数结构体
872
1021
  */
873
- export interface DescribeCustomizeTemplatesPresetsResponse {
874
- /**
875
- * 无
876
- 注意:此字段可能返回 null,表示取不到有效值。
877
- */
878
- Data: CustomizeTemplatesPresetsInfo
879
-
1022
+ export interface DescribeWorkspaceNameExistResponse {
880
1023
  /**
881
1024
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
882
1025
  */
@@ -915,20 +1058,23 @@ export interface CreateWorkspaceByAgentResponse {
915
1058
  }
916
1059
 
917
1060
  /**
918
- * 工作空间信息
1061
+ * RemoveWorkspace返回参数结构体
919
1062
  */
920
- export interface WorkspaceInfo {
1063
+ export interface RemoveWorkspaceResponse {
921
1064
  /**
922
- * 工作空间ID
923
- 注意:此字段可能返回 null,表示取不到有效值。
924
- */
925
- WorkspaceId: number
1065
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1066
+ */
1067
+ RequestId?: string
1068
+ }
926
1069
 
1070
+ /**
1071
+ * CreateWorkspaceTemporaryToken请求参数结构体
1072
+ */
1073
+ export interface CreateWorkspaceTemporaryTokenRequest {
927
1074
  /**
928
- * 工作空间标识
929
- 注意:此字段可能返回 null,表示取不到有效值。
930
- */
931
- SpaceKey: string
1075
+ * 创建工作空间凭证 DTO
1076
+ */
1077
+ WorkspaceTokenDTO: WorkspaceTokenDTO
932
1078
  }
933
1079
 
934
1080
  /**
@@ -1078,6 +1224,23 @@ export interface ModifyCustomizeTemplatesPartByIdRequest {
1078
1224
  UserDefinedTemplatePatchedParams: UserDefinedTemplatePatchedParams
1079
1225
  }
1080
1226
 
1227
+ /**
1228
+ * 创建临时工作空间凭证 DTO
1229
+ */
1230
+ export interface WorkspaceTokenDTO {
1231
+ /**
1232
+ * 工作空间 SpaceKey
1233
+ 注意:此字段可能返回 null,表示取不到有效值。
1234
+ */
1235
+ SpaceKey?: string
1236
+
1237
+ /**
1238
+ * token过期时间,单位是秒,默认 3600
1239
+ 注意:此字段可能返回 null,表示取不到有效值。
1240
+ */
1241
+ TokenExpiredLimitSec?: number
1242
+ }
1243
+
1081
1244
  /**
1082
1245
  * 用户自定义模板参数
1083
1246
  */
@@ -1136,142 +1299,31 @@ export interface DeleteCustomizeTemplatesByIdResponse {
1136
1299
  }
1137
1300
 
1138
1301
  /**
1139
- * 获取用户工作空间返回信息
1302
+ * 工作空间信息
1140
1303
  */
1141
- export interface WorkspaceStatusInfo {
1142
- /**
1143
- * 空间ID
1144
- */
1145
- Id: number
1146
-
1147
- /**
1148
- * 空间名称
1149
- */
1150
- Name: string
1151
-
1152
- /**
1153
- * 所属人
1154
- */
1155
- Owner: UserInfoRsp
1156
-
1157
- /**
1158
- * 空间标识
1159
- */
1160
- SpaceKey: string
1161
-
1162
- /**
1163
- * 状态
1164
- */
1165
- Status: string
1166
-
1167
- /**
1168
- * 最后操作时间
1169
- 注意:此字段可能返回 null,表示取不到有效值。
1170
- */
1171
- LastOpsDate: string
1172
-
1173
- /**
1174
- * 描述
1175
- 注意:此字段可能返回 null,表示取不到有效值。
1176
- */
1177
- Description: string
1178
-
1179
- /**
1180
- * 共享状态
1181
- */
1182
- Share: WorkspaceShareInfo
1183
-
1184
- /**
1185
- * 空间类型
1186
- */
1187
- WorkspaceType: string
1188
-
1189
- /**
1190
- * 标签
1191
- 注意:此字段可能返回 null,表示取不到有效值。
1192
- */
1193
- Label: string
1194
-
1195
- /**
1196
- * 空间版本
1197
- */
1198
- WorkspaceVersion: number
1199
-
1200
- /**
1201
- * 图标地址
1202
- */
1203
- ImageIcon: string
1204
-
1205
- /**
1206
- * 创建时间
1207
- 注意:此字段可能返回 null,表示取不到有效值。
1208
- */
1209
- CreateDate: string
1210
-
1211
- /**
1212
- * 版本控制地址
1213
- 注意:此字段可能返回 null,表示取不到有效值。
1214
- */
1215
- VersionControlUrl: string
1216
-
1217
- /**
1218
- * 版本控制描述
1219
- 注意:此字段可能返回 null,表示取不到有效值。
1220
- */
1221
- VersionControlDesc: string
1222
-
1223
- /**
1224
- * 版本控制引用
1225
- 注意:此字段可能返回 null,表示取不到有效值。
1226
- */
1227
- VersionControlRef: string
1228
-
1229
- /**
1230
- * 版本控制引用类型
1231
- 注意:此字段可能返回 null,表示取不到有效值。
1232
- */
1233
- VersionControlRefType: string
1234
-
1235
- /**
1236
- * 版本控制类型
1237
- */
1238
- VersionControlType: string
1239
-
1240
- /**
1241
- * 模板ID
1242
- 注意:此字段可能返回 null,表示取不到有效值。
1243
- */
1244
- TemplateId: number
1245
-
1246
- /**
1247
- * 快照ID
1248
- 注意:此字段可能返回 null,表示取不到有效值。
1249
- */
1250
- SnapshotUid: string
1251
-
1252
- /**
1253
- * 类型
1254
- 注意:此字段可能返回 null,表示取不到有效值。
1255
- */
1256
- SpecDesc: string
1257
-
1304
+ export interface WorkspaceInfo {
1258
1305
  /**
1259
- * CPU数量
1306
+ * 工作空间ID
1260
1307
  注意:此字段可能返回 null,表示取不到有效值。
1261
1308
  */
1262
- Cpu: number
1309
+ WorkspaceId: number
1263
1310
 
1264
1311
  /**
1265
- * 内存
1312
+ * 工作空间标识
1266
1313
  注意:此字段可能返回 null,表示取不到有效值。
1267
1314
  */
1268
- Memory: number
1315
+ SpaceKey: string
1269
1316
  }
1270
1317
 
1271
1318
  /**
1272
- * RemoveWorkspace返回参数结构体
1319
+ * CreateWorkspaceTemporaryToken返回参数结构体
1273
1320
  */
1274
- export interface RemoveWorkspaceResponse {
1321
+ export interface CreateWorkspaceTemporaryTokenResponse {
1322
+ /**
1323
+ * 工作空间临时访问 token 信息
1324
+ */
1325
+ Data?: WorkspaceTokenInfoV0
1326
+
1275
1327
  /**
1276
1328
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1277
1329
  */
@@ -1334,9 +1386,15 @@ export interface AgentSpaceDTO {
1334
1386
  }
1335
1387
 
1336
1388
  /**
1337
- * DescribeWorkspaceNameExist返回参数结构体
1389
+ * DescribeCustomizeTemplatesPresets返回参数结构体
1338
1390
  */
1339
- export interface DescribeWorkspaceNameExistResponse {
1391
+ export interface DescribeCustomizeTemplatesPresetsResponse {
1392
+ /**
1393
+ * 无
1394
+ 注意:此字段可能返回 null,表示取不到有效值。
1395
+ */
1396
+ Data: CustomizeTemplatesPresetsInfo
1397
+
1340
1398
  /**
1341
1399
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1342
1400
  */
@@ -1700,6 +1700,11 @@ export interface CreateFlowApproversRequest {
1700
1700
  * 补充签署人信息
1701
1701
  */
1702
1702
  Approvers: Array<FillApproverInfo>
1703
+
1704
+ /**
1705
+ * 企微消息中的发起人
1706
+ */
1707
+ Initiator?: string
1703
1708
  }
1704
1709
 
1705
1710
  /**