tencentcloud-sdk-nodejs 4.0.361 → 4.0.362
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.
- package/CHANGELOG.md +287 -0
- package/SERVICE_CHANGELOG.md +445 -95
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +3 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +68 -2
- package/src/services/ciam/v20220331/ciam_client.ts +116 -1
- package/src/services/ciam/v20220331/ciam_models.ts +653 -0
- package/src/services/cii/v20210408/cii_client.ts +3 -0
- package/src/services/cii/v20210408/cii_models.ts +61 -0
- package/src/services/cvm/v20170312/cvm_models.ts +18 -8
- package/src/services/dlc/v20210125/dlc_client.ts +13 -0
- package/src/services/dlc/v20210125/dlc_models.ts +93 -6
- package/src/services/eis/v20210601/eis_models.ts +39 -0
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +10 -0
- package/src/services/teo/v20220106/teo_client.ts +642 -398
- package/src/services/teo/v20220106/teo_models.ts +2970 -749
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +57 -2
- package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +37 -1
- package/tencentcloud/services/ciam/v20220331/ciam_client.js +54 -0
- package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +553 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +52 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +17 -8
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +80 -6
- package/tencentcloud/services/eis/v20210601/eis_models.d.ts +32 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +8 -0
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +197 -125
- package/tencentcloud/services/teo/v20220106/teo_client.js +294 -186
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +2446 -575
- package/test/ciam.v20220331.test.js +90 -0
- package/test/dlc.v20210125.test.js +10 -0
- package/test/teo.v20220106.test.js +304 -124
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 |
|
|
9
9
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
|
|
10
10
|
| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-06-09 06:05:24 |
|
|
11
|
-
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-
|
|
11
|
+
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-06-16 06:00:42 |
|
|
12
12
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
13
13
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
14
14
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-06-07 06:00:45 |
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-04-04 06:17:16 |
|
|
46
46
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-05-31 06:06:47 |
|
|
47
47
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2022-05-26 06:08:04 |
|
|
48
|
-
| ciam | [
|
|
49
|
-
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-
|
|
48
|
+
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2022-06-15 19:44:55 |
|
|
49
|
+
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-06-16 06:03:27 |
|
|
50
50
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
51
51
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
52
52
|
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-05-31 06:07:03 |
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
60
60
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-06-07 06:04:05 |
|
|
61
61
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
62
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-
|
|
62
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-16 06:04:38 |
|
|
63
63
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-06-10 06:05:46 |
|
|
64
64
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
65
65
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-06-15 06:07:21 |
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-05-31 17:05:07 |
|
|
70
70
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-04-13 06:36:47 |
|
|
71
71
|
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-05-31 06:09:47 |
|
|
72
|
-
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-06-
|
|
72
|
+
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-06-16 06:06:01 |
|
|
73
73
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-05-19 06:11:31 |
|
|
74
74
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-05-24 06:11:36 |
|
|
75
75
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
|
|
82
82
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-06-09 06:11:09 |
|
|
83
83
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
84
|
-
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-
|
|
84
|
+
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-06-16 06:06:58 |
|
|
85
85
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-06-09 06:11:36 |
|
|
86
86
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-06-08 06:09:29 |
|
|
87
87
|
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-06-15 06:09:03 |
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-06-10 17:14:46 |
|
|
114
114
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-06-01 06:12:55 |
|
|
115
115
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-06-01 06:13:02 |
|
|
116
|
-
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-06-
|
|
116
|
+
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-06-16 06:09:18 |
|
|
117
117
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
118
118
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
119
119
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-06-15 06:11:30 |
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-06-15 06:12:41 |
|
|
140
140
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-04-04 07:02:49 |
|
|
141
141
|
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-04-21 06:16:10 |
|
|
142
|
-
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-
|
|
142
|
+
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-06-16 06:10:57 |
|
|
143
143
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-04-04 07:04:04 |
|
|
144
144
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
145
145
|
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-04-04 07:04:08 |
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
|
|
176
176
|
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-06-13 06:18:15 |
|
|
177
177
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-06-09 06:18:14 |
|
|
178
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-06-
|
|
178
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-06-16 06:13:25 |
|
|
179
179
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
|
|
180
180
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
181
181
|
| tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2022-04-04 07:16:52 |
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-06-15 06:15:49 |
|
|
186
186
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-06-07 22:05:59 |
|
|
187
187
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
|
|
188
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-
|
|
188
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-16 06:14:09 |
|
|
189
189
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
190
190
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
|
|
191
191
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.362"
|
|
@@ -71,6 +71,7 @@ import {
|
|
|
71
71
|
CreatePortAclConfigRequest,
|
|
72
72
|
DescribeCCThresholdListResponse,
|
|
73
73
|
DescribeL7RulesBySSLCertIdRequest,
|
|
74
|
+
TagFilter,
|
|
74
75
|
DescribeListPacketFilterConfigResponse,
|
|
75
76
|
DeleteBlackWhiteIpListResponse,
|
|
76
77
|
CreateSchedulingDomainRequest,
|
|
@@ -226,6 +227,7 @@ import {
|
|
|
226
227
|
DDoSGeoIPBlockConfigRelation,
|
|
227
228
|
DescribeListProtocolBlockConfigRequest,
|
|
228
229
|
DescribeListBGPInstancesResponse,
|
|
230
|
+
TagInfo,
|
|
229
231
|
DescribeDDoSTrendRequest,
|
|
230
232
|
DeleteCCRequestLimitPolicyResponse,
|
|
231
233
|
CreateCcBlackWhiteIpListRequest,
|
|
@@ -352,7 +354,7 @@ export class Client extends AbstractClient {
|
|
|
352
354
|
}
|
|
353
355
|
|
|
354
356
|
/**
|
|
355
|
-
*
|
|
357
|
+
* 获取边界防护CC防护等级列表
|
|
356
358
|
*/
|
|
357
359
|
async DescribeCCLevelList(
|
|
358
360
|
req: DescribeCCLevelListRequest,
|
|
@@ -680,6 +680,11 @@ export interface DescribeListBGPInstancesRequest {
|
|
|
680
680
|
* 企业版搜索
|
|
681
681
|
*/
|
|
682
682
|
FilterEnterpriseFlag?: number
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* 标签搜索
|
|
686
|
+
*/
|
|
687
|
+
FilterTag?: TagFilter
|
|
683
688
|
}
|
|
684
689
|
|
|
685
690
|
/**
|
|
@@ -1199,6 +1204,11 @@ export interface DescribeListBGPIPInstancesRequest {
|
|
|
1199
1204
|
* 批量查询实例ID对应的高防IP实例资源
|
|
1200
1205
|
*/
|
|
1201
1206
|
FilterInstanceIdList?: Array<string>
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* 标签搜索
|
|
1210
|
+
*/
|
|
1211
|
+
FilterTag?: TagFilter
|
|
1202
1212
|
}
|
|
1203
1213
|
|
|
1204
1214
|
/**
|
|
@@ -1286,6 +1296,21 @@ export interface DescribeL7RulesBySSLCertIdRequest {
|
|
|
1286
1296
|
CertIds: Array<string>
|
|
1287
1297
|
}
|
|
1288
1298
|
|
|
1299
|
+
/**
|
|
1300
|
+
* 标签类型
|
|
1301
|
+
*/
|
|
1302
|
+
export interface TagFilter {
|
|
1303
|
+
/**
|
|
1304
|
+
* 标签键
|
|
1305
|
+
*/
|
|
1306
|
+
TagKey: string
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* 标签键值列表
|
|
1310
|
+
*/
|
|
1311
|
+
TagValue: Array<string>
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1289
1314
|
/**
|
|
1290
1315
|
* DescribeListPacketFilterConfig返回参数结构体
|
|
1291
1316
|
*/
|
|
@@ -1725,6 +1750,11 @@ export interface BlackWhiteIpRelation {
|
|
|
1725
1750
|
* ip掩码,0表示32位完整ip
|
|
1726
1751
|
*/
|
|
1727
1752
|
Mask: number
|
|
1753
|
+
|
|
1754
|
+
/**
|
|
1755
|
+
* 修改时间
|
|
1756
|
+
*/
|
|
1757
|
+
ModifyTime: string
|
|
1728
1758
|
}
|
|
1729
1759
|
|
|
1730
1760
|
/**
|
|
@@ -2052,7 +2082,7 @@ export interface DescribeCCLevelListResponse {
|
|
|
2052
2082
|
Total: number
|
|
2053
2083
|
|
|
2054
2084
|
/**
|
|
2055
|
-
*
|
|
2085
|
+
* 分级策略列表总数
|
|
2056
2086
|
*/
|
|
2057
2087
|
LevelList: Array<CCLevelPolicy>
|
|
2058
2088
|
|
|
@@ -2546,6 +2576,12 @@ export interface BGPIPInstance {
|
|
|
2546
2576
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2547
2577
|
*/
|
|
2548
2578
|
BGPIPChannelFlag: number
|
|
2579
|
+
|
|
2580
|
+
/**
|
|
2581
|
+
* 资源关联标签
|
|
2582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2583
|
+
*/
|
|
2584
|
+
TagInfoList: Array<TagInfo>
|
|
2549
2585
|
}
|
|
2550
2586
|
|
|
2551
2587
|
/**
|
|
@@ -2948,7 +2984,7 @@ export interface ListenerCcThreholdConfig {
|
|
|
2948
2984
|
Domain: string
|
|
2949
2985
|
|
|
2950
2986
|
/**
|
|
2951
|
-
* 协议(可取值
|
|
2987
|
+
* 协议(可取值https)
|
|
2952
2988
|
*/
|
|
2953
2989
|
Protocol: string
|
|
2954
2990
|
|
|
@@ -4843,6 +4879,21 @@ export interface DescribeListBGPInstancesResponse {
|
|
|
4843
4879
|
RequestId?: string
|
|
4844
4880
|
}
|
|
4845
4881
|
|
|
4882
|
+
/**
|
|
4883
|
+
* 标签信息,用于资源列表返回关联的标签
|
|
4884
|
+
*/
|
|
4885
|
+
export interface TagInfo {
|
|
4886
|
+
/**
|
|
4887
|
+
* 标签键
|
|
4888
|
+
*/
|
|
4889
|
+
TagKey: string
|
|
4890
|
+
|
|
4891
|
+
/**
|
|
4892
|
+
* 标签值
|
|
4893
|
+
*/
|
|
4894
|
+
TagValue: string
|
|
4895
|
+
}
|
|
4896
|
+
|
|
4846
4897
|
/**
|
|
4847
4898
|
* DescribeDDoSTrend请求参数结构体
|
|
4848
4899
|
*/
|
|
@@ -5008,6 +5059,11 @@ export interface BGPInstance {
|
|
|
5008
5059
|
* CC防护开关
|
|
5009
5060
|
*/
|
|
5010
5061
|
CCEnable: number
|
|
5062
|
+
|
|
5063
|
+
/**
|
|
5064
|
+
* 资源关联标签
|
|
5065
|
+
*/
|
|
5066
|
+
TagInfoList: Array<TagInfo>
|
|
5011
5067
|
}
|
|
5012
5068
|
|
|
5013
5069
|
/**
|
|
@@ -5576,6 +5632,11 @@ export interface CreateCCReqLimitPolicyRequest {
|
|
|
5576
5632
|
* 策略项
|
|
5577
5633
|
*/
|
|
5578
5634
|
Policy: CCReqLimitPolicyRecord
|
|
5635
|
+
|
|
5636
|
+
/**
|
|
5637
|
+
* 是否为兜底频控
|
|
5638
|
+
*/
|
|
5639
|
+
IsGlobal?: number
|
|
5579
5640
|
}
|
|
5580
5641
|
|
|
5581
5642
|
/**
|
|
@@ -5772,6 +5833,11 @@ export interface PacketFilterRelation {
|
|
|
5772
5833
|
* 特征过滤配置所属的实例
|
|
5773
5834
|
*/
|
|
5774
5835
|
InstanceDetailList: Array<InstanceRelation>
|
|
5836
|
+
|
|
5837
|
+
/**
|
|
5838
|
+
* 修改时间
|
|
5839
|
+
*/
|
|
5840
|
+
ModifyTime: string
|
|
5775
5841
|
}
|
|
5776
5842
|
|
|
5777
5843
|
/**
|
|
@@ -17,7 +17,32 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
|
-
import {
|
|
20
|
+
import {
|
|
21
|
+
UpdateUserRequest,
|
|
22
|
+
DescribeUserByIdRequest,
|
|
23
|
+
ListUserRequest,
|
|
24
|
+
DeleteUsersRequest,
|
|
25
|
+
UpdateUserStatusResponse,
|
|
26
|
+
ResetPasswordRequest,
|
|
27
|
+
CreateUserResponse,
|
|
28
|
+
SetPasswordResponse,
|
|
29
|
+
ListUserByPropertyResponse,
|
|
30
|
+
DescribeUserByIdResponse,
|
|
31
|
+
DeleteUsersResponse,
|
|
32
|
+
User,
|
|
33
|
+
Pageable,
|
|
34
|
+
ResetPasswordResponse,
|
|
35
|
+
SetPasswordRequest,
|
|
36
|
+
UpdateUserStatusRequest,
|
|
37
|
+
Filter,
|
|
38
|
+
ListUserByPropertyRequest,
|
|
39
|
+
LinkAccountResponse,
|
|
40
|
+
CreateUserRequest,
|
|
41
|
+
MemberMap,
|
|
42
|
+
LinkAccountRequest,
|
|
43
|
+
ListUserResponse,
|
|
44
|
+
UpdateUserResponse,
|
|
45
|
+
} from "./ciam_models"
|
|
21
46
|
|
|
22
47
|
/**
|
|
23
48
|
* ciam client
|
|
@@ -28,6 +53,96 @@ export class Client extends AbstractClient {
|
|
|
28
53
|
super("ciam.tencentcloudapi.com", "2022-03-31", clientConfig)
|
|
29
54
|
}
|
|
30
55
|
|
|
56
|
+
/**
|
|
57
|
+
* 批量删除用户
|
|
58
|
+
*/
|
|
59
|
+
async DeleteUsers(
|
|
60
|
+
req: DeleteUsersRequest,
|
|
61
|
+
cb?: (error: string, rep: DeleteUsersResponse) => void
|
|
62
|
+
): Promise<DeleteUsersResponse> {
|
|
63
|
+
return this.request("DeleteUsers", req, cb)
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* 更新用户
|
|
68
|
+
*/
|
|
69
|
+
async UpdateUser(
|
|
70
|
+
req: UpdateUserRequest,
|
|
71
|
+
cb?: (error: string, rep: UpdateUserResponse) => void
|
|
72
|
+
): Promise<UpdateUserResponse> {
|
|
73
|
+
return this.request("UpdateUser", req, cb)
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* 查询用户列表
|
|
78
|
+
*/
|
|
79
|
+
async ListUser(
|
|
80
|
+
req: ListUserRequest,
|
|
81
|
+
cb?: (error: string, rep: ListUserResponse) => void
|
|
82
|
+
): Promise<ListUserResponse> {
|
|
83
|
+
return this.request("ListUser", req, cb)
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* 更新用户状态
|
|
88
|
+
*/
|
|
89
|
+
async UpdateUserStatus(
|
|
90
|
+
req: UpdateUserStatusRequest,
|
|
91
|
+
cb?: (error: string, rep: UpdateUserStatusResponse) => void
|
|
92
|
+
): Promise<UpdateUserStatusResponse> {
|
|
93
|
+
return this.request("UpdateUserStatus", req, cb)
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* 根据属性查询用户列表
|
|
98
|
+
*/
|
|
99
|
+
async ListUserByProperty(
|
|
100
|
+
req: ListUserByPropertyRequest,
|
|
101
|
+
cb?: (error: string, rep: ListUserByPropertyResponse) => void
|
|
102
|
+
): Promise<ListUserByPropertyResponse> {
|
|
103
|
+
return this.request("ListUserByProperty", req, cb)
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 根据ID查询用户信息
|
|
108
|
+
*/
|
|
109
|
+
async DescribeUserById(
|
|
110
|
+
req: DescribeUserByIdRequest,
|
|
111
|
+
cb?: (error: string, rep: DescribeUserByIdResponse) => void
|
|
112
|
+
): Promise<DescribeUserByIdResponse> {
|
|
113
|
+
return this.request("DescribeUserById", req, cb)
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* 创建用户
|
|
118
|
+
*/
|
|
119
|
+
async CreateUser(
|
|
120
|
+
req: CreateUserRequest,
|
|
121
|
+
cb?: (error: string, rep: CreateUserResponse) => void
|
|
122
|
+
): Promise<CreateUserResponse> {
|
|
123
|
+
return this.request("CreateUser", req, cb)
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* 设置用户密码
|
|
128
|
+
*/
|
|
129
|
+
async SetPassword(
|
|
130
|
+
req: SetPasswordRequest,
|
|
131
|
+
cb?: (error: string, rep: SetPasswordResponse) => void
|
|
132
|
+
): Promise<SetPasswordResponse> {
|
|
133
|
+
return this.request("SetPassword", req, cb)
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* 账号融合
|
|
138
|
+
*/
|
|
139
|
+
async LinkAccount(
|
|
140
|
+
req: LinkAccountRequest,
|
|
141
|
+
cb?: (error: string, rep: LinkAccountResponse) => void
|
|
142
|
+
): Promise<LinkAccountResponse> {
|
|
143
|
+
return this.request("LinkAccount", req, cb)
|
|
144
|
+
}
|
|
145
|
+
|
|
31
146
|
/**
|
|
32
147
|
* 重置用户密码
|
|
33
148
|
*/
|