tencentcloud-sdk-nodejs-bh 4.1.115 → 4.1.147
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/README.md +6 -4
- package/es/services/bh/v20230418/bh_client.js +203 -137
- package/es/services/bh/v20230418/bh_models.js +1 -0
- package/package.json +7 -5
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +233 -145
- package/tencentcloud/services/bh/v20230418/bh_client.js +348 -216
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +930 -168
- package/tencentcloud/services/index.js +1 -0
package/README.md
CHANGED
|
@@ -62,6 +62,8 @@ npm install tencentcloud-sdk-slim-nodejs --save
|
|
|
62
62
|
|
|
63
63
|
1. clone 代码到本地:
|
|
64
64
|
```
|
|
65
|
+
git clone https://cnb.cool/tencent/cloud/api/sdk/tencentcloud-sdk-nodejs
|
|
66
|
+
# 或者
|
|
65
67
|
git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
66
68
|
# 或者
|
|
67
69
|
git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
@@ -135,7 +137,7 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
135
137
|
// ...
|
|
136
138
|
```
|
|
137
139
|
|
|
138
|
-
实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](
|
|
140
|
+
实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](src/common/interface.ts)。
|
|
139
141
|
|
|
140
142
|
## Common Client
|
|
141
143
|
|
|
@@ -143,17 +145,17 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
143
145
|
|
|
144
146
|
**注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
|
|
145
147
|
|
|
146
|
-
详细使用请参阅示例:[使用 Common Client 进行调用](
|
|
148
|
+
详细使用请参阅示例:[使用 Common Client 进行调用](examples/common)
|
|
147
149
|
|
|
148
150
|
## 更多示例
|
|
149
151
|
|
|
150
|
-
请参考 [examples](
|
|
152
|
+
请参考 [examples](examples) 目录。
|
|
151
153
|
|
|
152
154
|
# 相关配置
|
|
153
155
|
|
|
154
156
|
## 代理
|
|
155
157
|
|
|
156
|
-
如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](
|
|
158
|
+
如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
|
|
157
159
|
|
|
158
160
|
# 凭证管理
|
|
159
161
|
|
|
@@ -3,48 +3,102 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
3
3
|
constructor(clientConfig) {
|
|
4
4
|
super("bh.tencentcloudapi.com", "2023-04-18", clientConfig);
|
|
5
5
|
}
|
|
6
|
-
async
|
|
7
|
-
return this.request("
|
|
6
|
+
async DeleteDeviceAccounts(req, cb) {
|
|
7
|
+
return this.request("DeleteDeviceAccounts", req, cb);
|
|
8
|
+
}
|
|
9
|
+
async ResetUser(req, cb) {
|
|
10
|
+
return this.request("ResetUser", req, cb);
|
|
11
|
+
}
|
|
12
|
+
async DescribeOperationTask(req, cb) {
|
|
13
|
+
return this.request("DescribeOperationTask", req, cb);
|
|
14
|
+
}
|
|
15
|
+
async DescribeDomains(req, cb) {
|
|
16
|
+
return this.request("DescribeDomains", req, cb);
|
|
17
|
+
}
|
|
18
|
+
async ModifyUserDirectory(req, cb) {
|
|
19
|
+
return this.request("ModifyUserDirectory", req, cb);
|
|
20
|
+
}
|
|
21
|
+
async ImportExternalDevice(req, cb) {
|
|
22
|
+
return this.request("ImportExternalDevice", req, cb);
|
|
23
|
+
}
|
|
24
|
+
async DescribeUserDirectory(req, cb) {
|
|
25
|
+
return this.request("DescribeUserDirectory", req, cb);
|
|
26
|
+
}
|
|
27
|
+
async DeleteUserGroupMembers(req, cb) {
|
|
28
|
+
return this.request("DeleteUserGroupMembers", req, cb);
|
|
29
|
+
}
|
|
30
|
+
async CreateAssetSyncJob(req, cb) {
|
|
31
|
+
return this.request("CreateAssetSyncJob", req, cb);
|
|
32
|
+
}
|
|
33
|
+
async CreateSyncUserTask(req, cb) {
|
|
34
|
+
return this.request("CreateSyncUserTask", req, cb);
|
|
35
|
+
}
|
|
36
|
+
async SearchSubtaskResultById(req, cb) {
|
|
37
|
+
return this.request("SearchSubtaskResultById", req, cb);
|
|
38
|
+
}
|
|
39
|
+
async ModifyAcl(req, cb) {
|
|
40
|
+
return this.request("ModifyAcl", req, cb);
|
|
41
|
+
}
|
|
42
|
+
async DeleteUsers(req, cb) {
|
|
43
|
+
return this.request("DeleteUsers", req, cb);
|
|
44
|
+
}
|
|
45
|
+
async DescribeAssetSyncFlag(req, cb) {
|
|
46
|
+
return this.request("DescribeAssetSyncFlag", req, cb);
|
|
47
|
+
}
|
|
48
|
+
async DescribeAccessWhiteListRules(req, cb) {
|
|
49
|
+
return this.request("DescribeAccessWhiteListRules", req, cb);
|
|
8
50
|
}
|
|
9
51
|
async DescribeAssetSyncStatus(req, cb) {
|
|
10
52
|
return this.request("DescribeAssetSyncStatus", req, cb);
|
|
11
53
|
}
|
|
12
|
-
async
|
|
13
|
-
return this.request("
|
|
54
|
+
async DescribeOperationEvent(req, cb) {
|
|
55
|
+
return this.request("DescribeOperationEvent", req, cb);
|
|
14
56
|
}
|
|
15
|
-
async
|
|
16
|
-
return this.request("
|
|
57
|
+
async DescribeAccountGroups(req, cb) {
|
|
58
|
+
return this.request("DescribeAccountGroups", req, cb);
|
|
59
|
+
}
|
|
60
|
+
async DeleteCmdTemplates(req, cb) {
|
|
61
|
+
return this.request("DeleteCmdTemplates", req, cb);
|
|
62
|
+
}
|
|
63
|
+
async ModifyAccessWhiteListStatus(req, cb) {
|
|
64
|
+
return this.request("ModifyAccessWhiteListStatus", req, cb);
|
|
17
65
|
}
|
|
18
66
|
async DescribeLoginEvent(req, cb) {
|
|
19
67
|
return this.request("DescribeLoginEvent", req, cb);
|
|
20
68
|
}
|
|
21
|
-
async
|
|
22
|
-
return this.request("
|
|
69
|
+
async DescribeChangePwdTask(req, cb) {
|
|
70
|
+
return this.request("DescribeChangePwdTask", req, cb);
|
|
23
71
|
}
|
|
24
|
-
async
|
|
25
|
-
return this.request("
|
|
72
|
+
async SearchFile(req, cb) {
|
|
73
|
+
return this.request("SearchFile", req, cb);
|
|
26
74
|
}
|
|
27
|
-
async
|
|
28
|
-
return this.request("
|
|
75
|
+
async CreateUserGroup(req, cb) {
|
|
76
|
+
return this.request("CreateUserGroup", req, cb);
|
|
29
77
|
}
|
|
30
|
-
async
|
|
31
|
-
return this.request("
|
|
78
|
+
async CreateUser(req, cb) {
|
|
79
|
+
return this.request("CreateUser", req, cb);
|
|
32
80
|
}
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
81
|
+
async SearchTaskResult(req, cb) {
|
|
82
|
+
return this.request("SearchTaskResult", req, cb);
|
|
35
83
|
}
|
|
36
|
-
async
|
|
37
|
-
return this.request("
|
|
84
|
+
async SyncUserToIOA(req, cb) {
|
|
85
|
+
return this.request("SyncUserToIOA", req, cb);
|
|
38
86
|
}
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
87
|
+
async SearchCommand(req, cb) {
|
|
88
|
+
return this.request("SearchCommand", req, cb);
|
|
89
|
+
}
|
|
90
|
+
async CreateAcl(req, cb) {
|
|
91
|
+
return this.request("CreateAcl", req, cb);
|
|
92
|
+
}
|
|
93
|
+
async CreateDeviceGroup(req, cb) {
|
|
94
|
+
return this.request("CreateDeviceGroup", req, cb);
|
|
95
|
+
}
|
|
96
|
+
async CheckLDAPConnection(req, cb) {
|
|
97
|
+
return this.request("CheckLDAPConnection", req, cb);
|
|
41
98
|
}
|
|
42
99
|
async DescribeUserGroups(req, cb) {
|
|
43
100
|
return this.request("DescribeUserGroups", req, cb);
|
|
44
101
|
}
|
|
45
|
-
async DescribeDomains(req, cb) {
|
|
46
|
-
return this.request("DescribeDomains", req, cb);
|
|
47
|
-
}
|
|
48
102
|
async DeployResource(req, cb) {
|
|
49
103
|
return this.request("DeployResource", req, cb);
|
|
50
104
|
}
|
|
@@ -54,23 +108,11 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
54
108
|
async BindDeviceResource(req, cb) {
|
|
55
109
|
return this.request("BindDeviceResource", req, cb);
|
|
56
110
|
}
|
|
57
|
-
async BindDeviceAccountPassword(req, cb) {
|
|
58
|
-
return this.request("BindDeviceAccountPassword", req, cb);
|
|
59
|
-
}
|
|
60
|
-
async DescribeLDAPUnitSet(req, cb) {
|
|
61
|
-
return this.request("DescribeLDAPUnitSet", req, cb);
|
|
62
|
-
}
|
|
63
|
-
async ModifyCmdTemplate(req, cb) {
|
|
64
|
-
return this.request("ModifyCmdTemplate", req, cb);
|
|
65
|
-
}
|
|
66
|
-
async SearchFile(req, cb) {
|
|
67
|
-
return this.request("SearchFile", req, cb);
|
|
68
|
-
}
|
|
69
111
|
async SearchSession(req, cb) {
|
|
70
112
|
return this.request("SearchSession", req, cb);
|
|
71
113
|
}
|
|
72
|
-
async
|
|
73
|
-
return this.request("
|
|
114
|
+
async DescribeSecuritySetting(req, cb) {
|
|
115
|
+
return this.request("DescribeSecuritySetting", req, cb);
|
|
74
116
|
}
|
|
75
117
|
async AccessDevices(req, cb) {
|
|
76
118
|
return this.request("AccessDevices", req, cb);
|
|
@@ -78,83 +120,83 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
78
120
|
async DescribeResources(req, cb) {
|
|
79
121
|
return this.request("DescribeResources", req, cb);
|
|
80
122
|
}
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
123
|
+
async EnableExternalAccess(req, cb) {
|
|
124
|
+
return this.request("EnableExternalAccess", req, cb);
|
|
83
125
|
}
|
|
84
|
-
async
|
|
85
|
-
return this.request("
|
|
126
|
+
async DisableExternalAccess(req, cb) {
|
|
127
|
+
return this.request("DisableExternalAccess", req, cb);
|
|
86
128
|
}
|
|
87
|
-
async
|
|
88
|
-
return this.request("
|
|
129
|
+
async SearchCommandBySid(req, cb) {
|
|
130
|
+
return this.request("SearchCommandBySid", req, cb);
|
|
89
131
|
}
|
|
90
|
-
async
|
|
91
|
-
return this.request("
|
|
132
|
+
async ModifyCmdTemplate(req, cb) {
|
|
133
|
+
return this.request("ModifyCmdTemplate", req, cb);
|
|
92
134
|
}
|
|
93
|
-
async
|
|
94
|
-
return this.request("
|
|
135
|
+
async CreateCmdTemplate(req, cb) {
|
|
136
|
+
return this.request("CreateCmdTemplate", req, cb);
|
|
95
137
|
}
|
|
96
|
-
async
|
|
97
|
-
return this.request("
|
|
138
|
+
async ReplaySession(req, cb) {
|
|
139
|
+
return this.request("ReplaySession", req, cb);
|
|
98
140
|
}
|
|
99
|
-
async
|
|
100
|
-
return this.request("
|
|
141
|
+
async ResetDeviceAccountPrivateKey(req, cb) {
|
|
142
|
+
return this.request("ResetDeviceAccountPrivateKey", req, cb);
|
|
101
143
|
}
|
|
102
|
-
async
|
|
103
|
-
return this.request("
|
|
144
|
+
async SearchAuditLog(req, cb) {
|
|
145
|
+
return this.request("SearchAuditLog", req, cb);
|
|
104
146
|
}
|
|
105
|
-
async
|
|
106
|
-
return this.request("
|
|
147
|
+
async ModifyAuthModeSetting(req, cb) {
|
|
148
|
+
return this.request("ModifyAuthModeSetting", req, cb);
|
|
107
149
|
}
|
|
108
|
-
async
|
|
109
|
-
return this.request("
|
|
150
|
+
async SearchSessionCommand(req, cb) {
|
|
151
|
+
return this.request("SearchSessionCommand", req, cb);
|
|
110
152
|
}
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
153
|
+
async ModifyDeviceGroup(req, cb) {
|
|
154
|
+
return this.request("ModifyDeviceGroup", req, cb);
|
|
113
155
|
}
|
|
114
|
-
async
|
|
115
|
-
return this.request("
|
|
156
|
+
async ModifyOAuthSetting(req, cb) {
|
|
157
|
+
return this.request("ModifyOAuthSetting", req, cb);
|
|
116
158
|
}
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
159
|
+
async CreateUserDirectory(req, cb) {
|
|
160
|
+
return this.request("CreateUserDirectory", req, cb);
|
|
119
161
|
}
|
|
120
|
-
async
|
|
121
|
-
return this.request("
|
|
162
|
+
async CreateOperationTask(req, cb) {
|
|
163
|
+
return this.request("CreateOperationTask", req, cb);
|
|
122
164
|
}
|
|
123
|
-
async
|
|
124
|
-
return this.request("
|
|
165
|
+
async AddUserGroupMembers(req, cb) {
|
|
166
|
+
return this.request("AddUserGroupMembers", req, cb);
|
|
125
167
|
}
|
|
126
|
-
async
|
|
127
|
-
return this.request("
|
|
168
|
+
async SetLDAPSyncFlag(req, cb) {
|
|
169
|
+
return this.request("SetLDAPSyncFlag", req, cb);
|
|
128
170
|
}
|
|
129
|
-
async
|
|
130
|
-
return this.request("
|
|
171
|
+
async BindDeviceAccountPassword(req, cb) {
|
|
172
|
+
return this.request("BindDeviceAccountPassword", req, cb);
|
|
131
173
|
}
|
|
132
|
-
async
|
|
133
|
-
return this.request("
|
|
174
|
+
async DescribeLDAPUnitSet(req, cb) {
|
|
175
|
+
return this.request("DescribeLDAPUnitSet", req, cb);
|
|
134
176
|
}
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
177
|
+
async DeleteAcls(req, cb) {
|
|
178
|
+
return this.request("DeleteAcls", req, cb);
|
|
137
179
|
}
|
|
138
|
-
async
|
|
139
|
-
return this.request("
|
|
180
|
+
async DeleteUserDirectory(req, cb) {
|
|
181
|
+
return this.request("DeleteUserDirectory", req, cb);
|
|
140
182
|
}
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
183
|
+
async ModifyUserGroup(req, cb) {
|
|
184
|
+
return this.request("ModifyUserGroup", req, cb);
|
|
185
|
+
}
|
|
186
|
+
async DescribeSourceTypes(req, cb) {
|
|
187
|
+
return this.request("DescribeSourceTypes", req, cb);
|
|
188
|
+
}
|
|
189
|
+
async CreateDeviceAccount(req, cb) {
|
|
190
|
+
return this.request("CreateDeviceAccount", req, cb);
|
|
143
191
|
}
|
|
144
192
|
async DeleteChangePwdTask(req, cb) {
|
|
145
193
|
return this.request("DeleteChangePwdTask", req, cb);
|
|
146
194
|
}
|
|
147
|
-
async DeleteDevices(req, cb) {
|
|
148
|
-
return this.request("DeleteDevices", req, cb);
|
|
149
|
-
}
|
|
150
195
|
async ModifyOperationTask(req, cb) {
|
|
151
196
|
return this.request("ModifyOperationTask", req, cb);
|
|
152
197
|
}
|
|
153
|
-
async
|
|
154
|
-
return this.request("
|
|
155
|
-
}
|
|
156
|
-
async DeleteDeviceAccounts(req, cb) {
|
|
157
|
-
return this.request("DeleteDeviceAccounts", req, cb);
|
|
198
|
+
async DescribeDeviceAccounts(req, cb) {
|
|
199
|
+
return this.request("DescribeDeviceAccounts", req, cb);
|
|
158
200
|
}
|
|
159
201
|
async DeleteUserGroups(req, cb) {
|
|
160
202
|
return this.request("DeleteUserGroups", req, cb);
|
|
@@ -162,82 +204,106 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
162
204
|
async RunOperationTask(req, cb) {
|
|
163
205
|
return this.request("RunOperationTask", req, cb);
|
|
164
206
|
}
|
|
165
|
-
async
|
|
166
|
-
return this.request("
|
|
207
|
+
async EnableIntranetAccess(req, cb) {
|
|
208
|
+
return this.request("EnableIntranetAccess", req, cb);
|
|
167
209
|
}
|
|
168
|
-
async
|
|
169
|
-
return this.request("
|
|
210
|
+
async DescribeUsers(req, cb) {
|
|
211
|
+
return this.request("DescribeUsers", req, cb);
|
|
170
212
|
}
|
|
171
|
-
async
|
|
172
|
-
return this.request("
|
|
213
|
+
async DescribeUserGroupMembers(req, cb) {
|
|
214
|
+
return this.request("DescribeUserGroupMembers", req, cb);
|
|
173
215
|
}
|
|
174
|
-
async
|
|
175
|
-
return this.request("
|
|
216
|
+
async UnlockUser(req, cb) {
|
|
217
|
+
return this.request("UnlockUser", req, cb);
|
|
176
218
|
}
|
|
177
|
-
async
|
|
178
|
-
return this.request("
|
|
219
|
+
async SearchFileBySid(req, cb) {
|
|
220
|
+
return this.request("SearchFileBySid", req, cb);
|
|
179
221
|
}
|
|
180
|
-
async
|
|
181
|
-
return this.request("
|
|
222
|
+
async ModifyAccessWhiteListAutoStatus(req, cb) {
|
|
223
|
+
return this.request("ModifyAccessWhiteListAutoStatus", req, cb);
|
|
182
224
|
}
|
|
183
|
-
async
|
|
184
|
-
return this.request("
|
|
225
|
+
async DescribeChangePwdTaskDetail(req, cb) {
|
|
226
|
+
return this.request("DescribeChangePwdTaskDetail", req, cb);
|
|
185
227
|
}
|
|
186
|
-
async
|
|
187
|
-
return this.request("
|
|
228
|
+
async ModifyReconnectionSetting(req, cb) {
|
|
229
|
+
return this.request("ModifyReconnectionSetting", req, cb);
|
|
188
230
|
}
|
|
189
|
-
async
|
|
190
|
-
return this.request("
|
|
231
|
+
async DescribeDeviceGroupMembers(req, cb) {
|
|
232
|
+
return this.request("DescribeDeviceGroupMembers", req, cb);
|
|
191
233
|
}
|
|
192
|
-
async
|
|
193
|
-
return this.request("
|
|
234
|
+
async DisableIntranetAccess(req, cb) {
|
|
235
|
+
return this.request("DisableIntranetAccess", req, cb);
|
|
194
236
|
}
|
|
195
|
-
async
|
|
196
|
-
return this.request("
|
|
237
|
+
async ModifyAccessWhiteListRule(req, cb) {
|
|
238
|
+
return this.request("ModifyAccessWhiteListRule", req, cb);
|
|
197
239
|
}
|
|
198
|
-
async
|
|
199
|
-
return this.request("
|
|
240
|
+
async DeleteOperationTasks(req, cb) {
|
|
241
|
+
return this.request("DeleteOperationTasks", req, cb);
|
|
200
242
|
}
|
|
201
|
-
async
|
|
202
|
-
return this.request("
|
|
243
|
+
async DeleteDevices(req, cb) {
|
|
244
|
+
return this.request("DeleteDevices", req, cb);
|
|
203
245
|
}
|
|
204
|
-
async
|
|
205
|
-
return this.request("
|
|
246
|
+
async CreateChangePwdTask(req, cb) {
|
|
247
|
+
return this.request("CreateChangePwdTask", req, cb);
|
|
206
248
|
}
|
|
207
|
-
async
|
|
208
|
-
return this.request("
|
|
249
|
+
async SyncDevicesToIOA(req, cb) {
|
|
250
|
+
return this.request("SyncDevicesToIOA", req, cb);
|
|
209
251
|
}
|
|
210
|
-
async
|
|
211
|
-
return this.request("
|
|
252
|
+
async ModifyChangePwdTask(req, cb) {
|
|
253
|
+
return this.request("ModifyChangePwdTask", req, cb);
|
|
212
254
|
}
|
|
213
|
-
async
|
|
214
|
-
return this.request("
|
|
255
|
+
async RunChangePwdTask(req, cb) {
|
|
256
|
+
return this.request("RunChangePwdTask", req, cb);
|
|
215
257
|
}
|
|
216
|
-
async
|
|
217
|
-
return this.request("
|
|
258
|
+
async ResetDeviceAccountPassword(req, cb) {
|
|
259
|
+
return this.request("ResetDeviceAccountPassword", req, cb);
|
|
218
260
|
}
|
|
219
|
-
async
|
|
220
|
-
return this.request("
|
|
261
|
+
async DeleteDeviceGroups(req, cb) {
|
|
262
|
+
return this.request("DeleteDeviceGroups", req, cb);
|
|
263
|
+
}
|
|
264
|
+
async DeleteAccessWhiteListRules(req, cb) {
|
|
265
|
+
return this.request("DeleteAccessWhiteListRules", req, cb);
|
|
266
|
+
}
|
|
267
|
+
async DescribeUserSyncStatus(req, cb) {
|
|
268
|
+
return this.request("DescribeUserSyncStatus", req, cb);
|
|
221
269
|
}
|
|
222
270
|
async CreateResource(req, cb) {
|
|
223
271
|
return this.request("CreateResource", req, cb);
|
|
224
272
|
}
|
|
225
|
-
async
|
|
226
|
-
return this.request("
|
|
273
|
+
async CreateAccessWhiteListRule(req, cb) {
|
|
274
|
+
return this.request("CreateAccessWhiteListRule", req, cb);
|
|
227
275
|
}
|
|
228
|
-
async
|
|
229
|
-
return this.request("
|
|
276
|
+
async DescribeAcls(req, cb) {
|
|
277
|
+
return this.request("DescribeAcls", req, cb);
|
|
230
278
|
}
|
|
231
|
-
async
|
|
232
|
-
return this.request("
|
|
279
|
+
async ModifyLDAPSetting(req, cb) {
|
|
280
|
+
return this.request("ModifyLDAPSetting", req, cb);
|
|
233
281
|
}
|
|
234
|
-
async
|
|
235
|
-
return this.request("
|
|
282
|
+
async ModifyResource(req, cb) {
|
|
283
|
+
return this.request("ModifyResource", req, cb);
|
|
236
284
|
}
|
|
237
|
-
async
|
|
238
|
-
return this.request("
|
|
285
|
+
async ModifyAssetSyncFlag(req, cb) {
|
|
286
|
+
return this.request("ModifyAssetSyncFlag", req, cb);
|
|
239
287
|
}
|
|
240
|
-
async
|
|
241
|
-
return this.request("
|
|
288
|
+
async ModifyUser(req, cb) {
|
|
289
|
+
return this.request("ModifyUser", req, cb);
|
|
290
|
+
}
|
|
291
|
+
async DescribeCmdTemplates(req, cb) {
|
|
292
|
+
return this.request("DescribeCmdTemplates", req, cb);
|
|
293
|
+
}
|
|
294
|
+
async DeleteDeviceGroupMembers(req, cb) {
|
|
295
|
+
return this.request("DeleteDeviceGroupMembers", req, cb);
|
|
296
|
+
}
|
|
297
|
+
async DescribeDeviceGroups(req, cb) {
|
|
298
|
+
return this.request("DescribeDeviceGroups", req, cb);
|
|
299
|
+
}
|
|
300
|
+
async DescribeDevices(req, cb) {
|
|
301
|
+
return this.request("DescribeDevices", req, cb);
|
|
302
|
+
}
|
|
303
|
+
async AddDeviceGroupMembers(req, cb) {
|
|
304
|
+
return this.request("AddDeviceGroupMembers", req, cb);
|
|
305
|
+
}
|
|
306
|
+
async BindDeviceAccountPrivateKey(req, cb) {
|
|
307
|
+
return this.request("BindDeviceAccountPrivateKey", req, cb);
|
|
242
308
|
}
|
|
243
309
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-bh",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.147",
|
|
4
4
|
"description": "腾讯云 API NODEJS SDK",
|
|
5
5
|
"main": "./tencentcloud/index.js",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"build:es": "tsc -p tsconfig.es.json",
|
|
13
13
|
"build:slim": "node ./scripts/build_slim.js",
|
|
14
14
|
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
15
|
-
"clean": "rimraf tencentcloud es"
|
|
15
|
+
"clean": "rimraf tencentcloud es",
|
|
16
|
+
"test:common": "vitest run"
|
|
16
17
|
},
|
|
17
18
|
"engines": {
|
|
18
19
|
"node": ">=10"
|
|
@@ -44,9 +45,9 @@
|
|
|
44
45
|
"url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"@types/
|
|
48
|
+
"@types/ini": "^4.1.1",
|
|
48
49
|
"@types/json-bigint": "^1.0.1",
|
|
49
|
-
"@types/node": "^
|
|
50
|
+
"@types/node": "^18.0.0",
|
|
50
51
|
"@types/node-fetch": "^2.5.7",
|
|
51
52
|
"@types/uuid": "^9.0.8",
|
|
52
53
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
"prettier": "^2.3.0",
|
|
62
63
|
"rimraf": "^5.0.10",
|
|
63
64
|
"ts-node": "^8.10.2",
|
|
64
|
-
"typescript": "^
|
|
65
|
+
"typescript": "^5.9.2",
|
|
66
|
+
"vitest": "2.1.9"
|
|
65
67
|
}
|
|
66
68
|
}
|