tencentcloud-sdk-nodejs-bh 4.1.115 → 4.1.144
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 +175 -139
- package/es/services/bh/v20230418/bh_models.js +1 -0
- package/package.json +7 -5
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +193 -145
- package/tencentcloud/services/bh/v20230418/bh_client.js +288 -216
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +468 -97
- 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,84 @@ 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
8
|
}
|
|
9
|
-
async
|
|
10
|
-
return this.request("
|
|
9
|
+
async ResetUser(req, cb) {
|
|
10
|
+
return this.request("ResetUser", req, cb);
|
|
11
11
|
}
|
|
12
|
-
async
|
|
13
|
-
return this.request("
|
|
12
|
+
async DescribeOperationTask(req, cb) {
|
|
13
|
+
return this.request("DescribeOperationTask", req, cb);
|
|
14
14
|
}
|
|
15
|
-
async
|
|
16
|
-
return this.request("
|
|
15
|
+
async DescribeDomains(req, cb) {
|
|
16
|
+
return this.request("DescribeDomains", req, cb);
|
|
17
|
+
}
|
|
18
|
+
async ImportExternalDevice(req, cb) {
|
|
19
|
+
return this.request("ImportExternalDevice", req, cb);
|
|
17
20
|
}
|
|
18
21
|
async DescribeLoginEvent(req, cb) {
|
|
19
22
|
return this.request("DescribeLoginEvent", req, cb);
|
|
20
23
|
}
|
|
21
|
-
async
|
|
22
|
-
return this.request("
|
|
24
|
+
async CreateAssetSyncJob(req, cb) {
|
|
25
|
+
return this.request("CreateAssetSyncJob", req, cb);
|
|
23
26
|
}
|
|
24
|
-
async
|
|
25
|
-
return this.request("
|
|
27
|
+
async SearchSubtaskResultById(req, cb) {
|
|
28
|
+
return this.request("SearchSubtaskResultById", req, cb);
|
|
26
29
|
}
|
|
27
|
-
async
|
|
28
|
-
return this.request("
|
|
30
|
+
async ModifyAcl(req, cb) {
|
|
31
|
+
return this.request("ModifyAcl", req, cb);
|
|
29
32
|
}
|
|
30
|
-
async
|
|
31
|
-
return this.request("
|
|
33
|
+
async DeleteUsers(req, cb) {
|
|
34
|
+
return this.request("DeleteUsers", req, cb);
|
|
32
35
|
}
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
36
|
+
async DescribeAssetSyncFlag(req, cb) {
|
|
37
|
+
return this.request("DescribeAssetSyncFlag", req, cb);
|
|
35
38
|
}
|
|
36
|
-
async
|
|
37
|
-
return this.request("
|
|
39
|
+
async DescribeAccessWhiteListRules(req, cb) {
|
|
40
|
+
return this.request("DescribeAccessWhiteListRules", req, cb);
|
|
38
41
|
}
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
42
|
+
async DescribeAssetSyncStatus(req, cb) {
|
|
43
|
+
return this.request("DescribeAssetSyncStatus", req, cb);
|
|
44
|
+
}
|
|
45
|
+
async DescribeOperationEvent(req, cb) {
|
|
46
|
+
return this.request("DescribeOperationEvent", req, cb);
|
|
47
|
+
}
|
|
48
|
+
async DeleteCmdTemplates(req, cb) {
|
|
49
|
+
return this.request("DeleteCmdTemplates", req, cb);
|
|
50
|
+
}
|
|
51
|
+
async ModifyAccessWhiteListStatus(req, cb) {
|
|
52
|
+
return this.request("ModifyAccessWhiteListStatus", req, cb);
|
|
53
|
+
}
|
|
54
|
+
async DescribeChangePwdTask(req, cb) {
|
|
55
|
+
return this.request("DescribeChangePwdTask", req, cb);
|
|
56
|
+
}
|
|
57
|
+
async SearchFile(req, cb) {
|
|
58
|
+
return this.request("SearchFile", req, cb);
|
|
59
|
+
}
|
|
60
|
+
async CreateUserGroup(req, cb) {
|
|
61
|
+
return this.request("CreateUserGroup", req, cb);
|
|
62
|
+
}
|
|
63
|
+
async CreateUser(req, cb) {
|
|
64
|
+
return this.request("CreateUser", req, cb);
|
|
65
|
+
}
|
|
66
|
+
async SearchTaskResult(req, cb) {
|
|
67
|
+
return this.request("SearchTaskResult", req, cb);
|
|
68
|
+
}
|
|
69
|
+
async SearchCommand(req, cb) {
|
|
70
|
+
return this.request("SearchCommand", req, cb);
|
|
71
|
+
}
|
|
72
|
+
async CreateAcl(req, cb) {
|
|
73
|
+
return this.request("CreateAcl", req, cb);
|
|
74
|
+
}
|
|
75
|
+
async CreateDeviceGroup(req, cb) {
|
|
76
|
+
return this.request("CreateDeviceGroup", req, cb);
|
|
77
|
+
}
|
|
78
|
+
async CheckLDAPConnection(req, cb) {
|
|
79
|
+
return this.request("CheckLDAPConnection", req, cb);
|
|
41
80
|
}
|
|
42
81
|
async DescribeUserGroups(req, cb) {
|
|
43
82
|
return this.request("DescribeUserGroups", req, cb);
|
|
44
83
|
}
|
|
45
|
-
async DescribeDomains(req, cb) {
|
|
46
|
-
return this.request("DescribeDomains", req, cb);
|
|
47
|
-
}
|
|
48
84
|
async DeployResource(req, cb) {
|
|
49
85
|
return this.request("DeployResource", req, cb);
|
|
50
86
|
}
|
|
@@ -54,23 +90,11 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
54
90
|
async BindDeviceResource(req, cb) {
|
|
55
91
|
return this.request("BindDeviceResource", req, cb);
|
|
56
92
|
}
|
|
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
93
|
async SearchSession(req, cb) {
|
|
70
94
|
return this.request("SearchSession", req, cb);
|
|
71
95
|
}
|
|
72
|
-
async
|
|
73
|
-
return this.request("
|
|
96
|
+
async DescribeSecuritySetting(req, cb) {
|
|
97
|
+
return this.request("DescribeSecuritySetting", req, cb);
|
|
74
98
|
}
|
|
75
99
|
async AccessDevices(req, cb) {
|
|
76
100
|
return this.request("AccessDevices", req, cb);
|
|
@@ -78,83 +102,77 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
78
102
|
async DescribeResources(req, cb) {
|
|
79
103
|
return this.request("DescribeResources", req, cb);
|
|
80
104
|
}
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
105
|
+
async EnableExternalAccess(req, cb) {
|
|
106
|
+
return this.request("EnableExternalAccess", req, cb);
|
|
83
107
|
}
|
|
84
|
-
async
|
|
85
|
-
return this.request("
|
|
108
|
+
async DisableExternalAccess(req, cb) {
|
|
109
|
+
return this.request("DisableExternalAccess", req, cb);
|
|
86
110
|
}
|
|
87
|
-
async
|
|
88
|
-
return this.request("
|
|
111
|
+
async SearchCommandBySid(req, cb) {
|
|
112
|
+
return this.request("SearchCommandBySid", req, cb);
|
|
89
113
|
}
|
|
90
|
-
async
|
|
91
|
-
return this.request("
|
|
114
|
+
async ModifyCmdTemplate(req, cb) {
|
|
115
|
+
return this.request("ModifyCmdTemplate", req, cb);
|
|
92
116
|
}
|
|
93
|
-
async
|
|
94
|
-
return this.request("
|
|
117
|
+
async CreateCmdTemplate(req, cb) {
|
|
118
|
+
return this.request("CreateCmdTemplate", req, cb);
|
|
95
119
|
}
|
|
96
|
-
async
|
|
97
|
-
return this.request("
|
|
120
|
+
async ReplaySession(req, cb) {
|
|
121
|
+
return this.request("ReplaySession", req, cb);
|
|
98
122
|
}
|
|
99
|
-
async
|
|
100
|
-
return this.request("
|
|
123
|
+
async ResetDeviceAccountPrivateKey(req, cb) {
|
|
124
|
+
return this.request("ResetDeviceAccountPrivateKey", req, cb);
|
|
101
125
|
}
|
|
102
|
-
async
|
|
103
|
-
return this.request("
|
|
126
|
+
async SearchAuditLog(req, cb) {
|
|
127
|
+
return this.request("SearchAuditLog", req, cb);
|
|
104
128
|
}
|
|
105
|
-
async
|
|
106
|
-
return this.request("
|
|
129
|
+
async ModifyAuthModeSetting(req, cb) {
|
|
130
|
+
return this.request("ModifyAuthModeSetting", req, cb);
|
|
107
131
|
}
|
|
108
|
-
async
|
|
109
|
-
return this.request("
|
|
132
|
+
async SearchSessionCommand(req, cb) {
|
|
133
|
+
return this.request("SearchSessionCommand", req, cb);
|
|
110
134
|
}
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
135
|
+
async ModifyDeviceGroup(req, cb) {
|
|
136
|
+
return this.request("ModifyDeviceGroup", req, cb);
|
|
113
137
|
}
|
|
114
|
-
async
|
|
115
|
-
return this.request("
|
|
138
|
+
async ModifyOAuthSetting(req, cb) {
|
|
139
|
+
return this.request("ModifyOAuthSetting", req, cb);
|
|
116
140
|
}
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
141
|
+
async DeleteUserGroupMembers(req, cb) {
|
|
142
|
+
return this.request("DeleteUserGroupMembers", req, cb);
|
|
119
143
|
}
|
|
120
|
-
async
|
|
121
|
-
return this.request("
|
|
144
|
+
async CreateOperationTask(req, cb) {
|
|
145
|
+
return this.request("CreateOperationTask", req, cb);
|
|
122
146
|
}
|
|
123
|
-
async
|
|
124
|
-
return this.request("
|
|
147
|
+
async AddUserGroupMembers(req, cb) {
|
|
148
|
+
return this.request("AddUserGroupMembers", req, cb);
|
|
125
149
|
}
|
|
126
|
-
async
|
|
127
|
-
return this.request("
|
|
150
|
+
async SetLDAPSyncFlag(req, cb) {
|
|
151
|
+
return this.request("SetLDAPSyncFlag", req, cb);
|
|
128
152
|
}
|
|
129
|
-
async
|
|
130
|
-
return this.request("
|
|
153
|
+
async BindDeviceAccountPassword(req, cb) {
|
|
154
|
+
return this.request("BindDeviceAccountPassword", req, cb);
|
|
131
155
|
}
|
|
132
|
-
async
|
|
133
|
-
return this.request("
|
|
156
|
+
async DescribeLDAPUnitSet(req, cb) {
|
|
157
|
+
return this.request("DescribeLDAPUnitSet", req, cb);
|
|
134
158
|
}
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
159
|
+
async DeleteAcls(req, cb) {
|
|
160
|
+
return this.request("DeleteAcls", req, cb);
|
|
137
161
|
}
|
|
138
|
-
async
|
|
139
|
-
return this.request("
|
|
162
|
+
async ModifyUserGroup(req, cb) {
|
|
163
|
+
return this.request("ModifyUserGroup", req, cb);
|
|
140
164
|
}
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
165
|
+
async CreateDeviceAccount(req, cb) {
|
|
166
|
+
return this.request("CreateDeviceAccount", req, cb);
|
|
143
167
|
}
|
|
144
168
|
async DeleteChangePwdTask(req, cb) {
|
|
145
169
|
return this.request("DeleteChangePwdTask", req, cb);
|
|
146
170
|
}
|
|
147
|
-
async DeleteDevices(req, cb) {
|
|
148
|
-
return this.request("DeleteDevices", req, cb);
|
|
149
|
-
}
|
|
150
171
|
async ModifyOperationTask(req, cb) {
|
|
151
172
|
return this.request("ModifyOperationTask", req, cb);
|
|
152
173
|
}
|
|
153
|
-
async
|
|
154
|
-
return this.request("
|
|
155
|
-
}
|
|
156
|
-
async DeleteDeviceAccounts(req, cb) {
|
|
157
|
-
return this.request("DeleteDeviceAccounts", req, cb);
|
|
174
|
+
async DescribeDeviceAccounts(req, cb) {
|
|
175
|
+
return this.request("DescribeDeviceAccounts", req, cb);
|
|
158
176
|
}
|
|
159
177
|
async DeleteUserGroups(req, cb) {
|
|
160
178
|
return this.request("DeleteUserGroups", req, cb);
|
|
@@ -162,82 +180,100 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
162
180
|
async RunOperationTask(req, cb) {
|
|
163
181
|
return this.request("RunOperationTask", req, cb);
|
|
164
182
|
}
|
|
165
|
-
async
|
|
166
|
-
return this.request("
|
|
183
|
+
async EnableIntranetAccess(req, cb) {
|
|
184
|
+
return this.request("EnableIntranetAccess", req, cb);
|
|
167
185
|
}
|
|
168
|
-
async
|
|
169
|
-
return this.request("
|
|
186
|
+
async DescribeUsers(req, cb) {
|
|
187
|
+
return this.request("DescribeUsers", req, cb);
|
|
170
188
|
}
|
|
171
|
-
async
|
|
172
|
-
return this.request("
|
|
189
|
+
async DescribeUserGroupMembers(req, cb) {
|
|
190
|
+
return this.request("DescribeUserGroupMembers", req, cb);
|
|
173
191
|
}
|
|
174
|
-
async
|
|
175
|
-
return this.request("
|
|
192
|
+
async UnlockUser(req, cb) {
|
|
193
|
+
return this.request("UnlockUser", req, cb);
|
|
176
194
|
}
|
|
177
|
-
async
|
|
178
|
-
return this.request("
|
|
195
|
+
async SearchFileBySid(req, cb) {
|
|
196
|
+
return this.request("SearchFileBySid", req, cb);
|
|
179
197
|
}
|
|
180
|
-
async
|
|
181
|
-
return this.request("
|
|
198
|
+
async ModifyAccessWhiteListAutoStatus(req, cb) {
|
|
199
|
+
return this.request("ModifyAccessWhiteListAutoStatus", req, cb);
|
|
182
200
|
}
|
|
183
|
-
async
|
|
184
|
-
return this.request("
|
|
201
|
+
async DescribeChangePwdTaskDetail(req, cb) {
|
|
202
|
+
return this.request("DescribeChangePwdTaskDetail", req, cb);
|
|
185
203
|
}
|
|
186
|
-
async
|
|
187
|
-
return this.request("
|
|
204
|
+
async ModifyReconnectionSetting(req, cb) {
|
|
205
|
+
return this.request("ModifyReconnectionSetting", req, cb);
|
|
188
206
|
}
|
|
189
|
-
async
|
|
190
|
-
return this.request("
|
|
207
|
+
async DescribeDeviceGroupMembers(req, cb) {
|
|
208
|
+
return this.request("DescribeDeviceGroupMembers", req, cb);
|
|
191
209
|
}
|
|
192
|
-
async
|
|
193
|
-
return this.request("
|
|
210
|
+
async DisableIntranetAccess(req, cb) {
|
|
211
|
+
return this.request("DisableIntranetAccess", req, cb);
|
|
194
212
|
}
|
|
195
|
-
async
|
|
196
|
-
return this.request("
|
|
213
|
+
async ModifyAccessWhiteListRule(req, cb) {
|
|
214
|
+
return this.request("ModifyAccessWhiteListRule", req, cb);
|
|
197
215
|
}
|
|
198
|
-
async
|
|
199
|
-
return this.request("
|
|
216
|
+
async DeleteOperationTasks(req, cb) {
|
|
217
|
+
return this.request("DeleteOperationTasks", req, cb);
|
|
200
218
|
}
|
|
201
|
-
async
|
|
202
|
-
return this.request("
|
|
219
|
+
async DeleteDevices(req, cb) {
|
|
220
|
+
return this.request("DeleteDevices", req, cb);
|
|
203
221
|
}
|
|
204
|
-
async
|
|
205
|
-
return this.request("
|
|
222
|
+
async CreateChangePwdTask(req, cb) {
|
|
223
|
+
return this.request("CreateChangePwdTask", req, cb);
|
|
206
224
|
}
|
|
207
|
-
async
|
|
208
|
-
return this.request("
|
|
225
|
+
async ModifyChangePwdTask(req, cb) {
|
|
226
|
+
return this.request("ModifyChangePwdTask", req, cb);
|
|
209
227
|
}
|
|
210
|
-
async
|
|
211
|
-
return this.request("
|
|
228
|
+
async RunChangePwdTask(req, cb) {
|
|
229
|
+
return this.request("RunChangePwdTask", req, cb);
|
|
212
230
|
}
|
|
213
|
-
async
|
|
214
|
-
return this.request("
|
|
231
|
+
async ResetDeviceAccountPassword(req, cb) {
|
|
232
|
+
return this.request("ResetDeviceAccountPassword", req, cb);
|
|
215
233
|
}
|
|
216
|
-
async
|
|
217
|
-
return this.request("
|
|
234
|
+
async DeleteDeviceGroups(req, cb) {
|
|
235
|
+
return this.request("DeleteDeviceGroups", req, cb);
|
|
218
236
|
}
|
|
219
|
-
async
|
|
220
|
-
return this.request("
|
|
237
|
+
async DeleteAccessWhiteListRules(req, cb) {
|
|
238
|
+
return this.request("DeleteAccessWhiteListRules", req, cb);
|
|
221
239
|
}
|
|
222
240
|
async CreateResource(req, cb) {
|
|
223
241
|
return this.request("CreateResource", req, cb);
|
|
224
242
|
}
|
|
225
|
-
async
|
|
226
|
-
return this.request("
|
|
243
|
+
async CreateAccessWhiteListRule(req, cb) {
|
|
244
|
+
return this.request("CreateAccessWhiteListRule", req, cb);
|
|
227
245
|
}
|
|
228
|
-
async
|
|
229
|
-
return this.request("
|
|
246
|
+
async DescribeAcls(req, cb) {
|
|
247
|
+
return this.request("DescribeAcls", req, cb);
|
|
230
248
|
}
|
|
231
|
-
async
|
|
232
|
-
return this.request("
|
|
249
|
+
async ModifyLDAPSetting(req, cb) {
|
|
250
|
+
return this.request("ModifyLDAPSetting", req, cb);
|
|
233
251
|
}
|
|
234
|
-
async
|
|
235
|
-
return this.request("
|
|
252
|
+
async ModifyResource(req, cb) {
|
|
253
|
+
return this.request("ModifyResource", req, cb);
|
|
236
254
|
}
|
|
237
|
-
async
|
|
238
|
-
return this.request("
|
|
255
|
+
async ModifyAssetSyncFlag(req, cb) {
|
|
256
|
+
return this.request("ModifyAssetSyncFlag", req, cb);
|
|
239
257
|
}
|
|
240
|
-
async
|
|
241
|
-
return this.request("
|
|
258
|
+
async ModifyUser(req, cb) {
|
|
259
|
+
return this.request("ModifyUser", req, cb);
|
|
260
|
+
}
|
|
261
|
+
async DescribeCmdTemplates(req, cb) {
|
|
262
|
+
return this.request("DescribeCmdTemplates", req, cb);
|
|
263
|
+
}
|
|
264
|
+
async DeleteDeviceGroupMembers(req, cb) {
|
|
265
|
+
return this.request("DeleteDeviceGroupMembers", req, cb);
|
|
266
|
+
}
|
|
267
|
+
async DescribeDeviceGroups(req, cb) {
|
|
268
|
+
return this.request("DescribeDeviceGroups", req, cb);
|
|
269
|
+
}
|
|
270
|
+
async DescribeDevices(req, cb) {
|
|
271
|
+
return this.request("DescribeDevices", req, cb);
|
|
272
|
+
}
|
|
273
|
+
async AddDeviceGroupMembers(req, cb) {
|
|
274
|
+
return this.request("AddDeviceGroupMembers", req, cb);
|
|
275
|
+
}
|
|
276
|
+
async BindDeviceAccountPrivateKey(req, cb) {
|
|
277
|
+
return this.request("BindDeviceAccountPrivateKey", req, cb);
|
|
242
278
|
}
|
|
243
279
|
}
|
|
@@ -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.144",
|
|
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
|
}
|