tencentcloud-sdk-nodejs-cdb 4.0.1032 → 4.1.2

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 CHANGED
@@ -52,10 +52,24 @@ npm install tencentcloud-sdk-nodejs --save
52
52
 
53
53
  ## 通过源码包安装
54
54
 
55
- 1. 前往 [GitHub 仓库](https://github.com/tencentcloud/tencentcloud-sdk-nodejs) 或者 [Gitee 仓库](https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs) 下载源码压缩包。
56
- 2. 解压源码包到您项目合适的位置,例如 `sdk/tencentcloud-sdk-nodejs`。
57
- 3. 执行 `npm install ./sdk/tencentcloud-sdk-nodejs`。
58
- 4. 使用 `require("tencentcloud-sdk-nodejs")` 的方式引入 SDK,具体可参考示例。
55
+ 1. clone 代码到本地:
56
+ ```
57
+ git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
58
+ # 或者
59
+ git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
60
+ ```
61
+ 2. 在项目根目录执行以下命令完成构建:
62
+ ```
63
+ npm install && npm run build
64
+ ```
65
+ 3. 打包 NPM 压缩文件,例如 `tencentcloud-sdk-nodejs-4.0.0.tgz`
66
+ ```
67
+ npm pack
68
+ ```
69
+ 4. 安装包到你的项目里:
70
+ ```
71
+ npm install /path/to/tencentcloud-sdk-nodejs/tencentcloud-sdk-nodejs-4.0.0.tgz
72
+ ```
59
73
 
60
74
  # 示例
61
75
 
package/es/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./services";
@@ -0,0 +1,4 @@
1
+ import { v20170320 } from "./v20170320";
2
+ export const cdb = {
3
+ v20170320: v20170320,
4
+ };
@@ -0,0 +1,525 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ export class Client extends TencentCloudCommon.AbstractClient {
3
+ constructor(clientConfig) {
4
+ super("cdb.tencentcloudapi.com", "2017-03-20", clientConfig);
5
+ }
6
+ async DescribeDBInstanceGTID(req, cb) {
7
+ return this.request("DescribeDBInstanceGTID", req, cb);
8
+ }
9
+ async CreateRoInstanceIp(req, cb) {
10
+ return this.request("CreateRoInstanceIp", req, cb);
11
+ }
12
+ async CreateAuditPolicy(req, cb) {
13
+ return this.request("CreateAuditPolicy", req, cb);
14
+ }
15
+ async DescribeTableColumns(req, cb) {
16
+ return this.request("DescribeTableColumns", req, cb);
17
+ }
18
+ async OpenSSL(req, cb) {
19
+ return this.request("OpenSSL", req, cb);
20
+ }
21
+ async DescribeDBFeatures(req, cb) {
22
+ return this.request("DescribeDBFeatures", req, cb);
23
+ }
24
+ async CreateAuditRuleTemplate(req, cb) {
25
+ return this.request("CreateAuditRuleTemplate", req, cb);
26
+ }
27
+ async BalanceRoGroupLoad(req, cb) {
28
+ return this.request("BalanceRoGroupLoad", req, cb);
29
+ }
30
+ async IsolateDBInstance(req, cb) {
31
+ return this.request("IsolateDBInstance", req, cb);
32
+ }
33
+ async RestartDBInstances(req, cb) {
34
+ return this.request("RestartDBInstances", req, cb);
35
+ }
36
+ async ModifyInstanceTag(req, cb) {
37
+ return this.request("ModifyInstanceTag", req, cb);
38
+ }
39
+ async DescribeTimeWindow(req, cb) {
40
+ return this.request("DescribeTimeWindow", req, cb);
41
+ }
42
+ async DescribeInstanceUpgradeCheckJob(req, cb) {
43
+ return this.request("DescribeInstanceUpgradeCheckJob", req, cb);
44
+ }
45
+ async DescribeBackupOverview(req, cb) {
46
+ return this.request("DescribeBackupOverview", req, cb);
47
+ }
48
+ async StopReplication(req, cb) {
49
+ return this.request("StopReplication", req, cb);
50
+ }
51
+ async ModifyDBInstanceLogToCLS(req, cb) {
52
+ return this.request("ModifyDBInstanceLogToCLS", req, cb);
53
+ }
54
+ async StopCpuExpand(req, cb) {
55
+ return this.request("StopCpuExpand", req, cb);
56
+ }
57
+ async ModifyDBInstanceName(req, cb) {
58
+ return this.request("ModifyDBInstanceName", req, cb);
59
+ }
60
+ async DescribeCdbZoneConfig(req, cb) {
61
+ return this.request("DescribeCdbZoneConfig", req, cb);
62
+ }
63
+ async CloseAuditService(req, cb) {
64
+ return this.request("CloseAuditService", req, cb);
65
+ }
66
+ async StopRollback(req, cb) {
67
+ return this.request("StopRollback", req, cb);
68
+ }
69
+ async DescribeInstanceUpgradeType(req, cb) {
70
+ return this.request("DescribeInstanceUpgradeType", req, cb);
71
+ }
72
+ async OfflineIsolatedInstances(req, cb) {
73
+ return this.request("OfflineIsolatedInstances", req, cb);
74
+ }
75
+ async CreateAuditLogFile(req, cb) {
76
+ return this.request("CreateAuditLogFile", req, cb);
77
+ }
78
+ async OpenDBInstanceGTID(req, cb) {
79
+ return this.request("OpenDBInstanceGTID", req, cb);
80
+ }
81
+ async VerifyRootAccount(req, cb) {
82
+ return this.request("VerifyRootAccount", req, cb);
83
+ }
84
+ async DescribeRollbackTaskDetail(req, cb) {
85
+ return this.request("DescribeRollbackTaskDetail", req, cb);
86
+ }
87
+ async CheckMigrateCluster(req, cb) {
88
+ return this.request("CheckMigrateCluster", req, cb);
89
+ }
90
+ async ModifyBackupDownloadRestriction(req, cb) {
91
+ return this.request("ModifyBackupDownloadRestriction", req, cb);
92
+ }
93
+ async DescribeParamTemplates(req, cb) {
94
+ return this.request("DescribeParamTemplates", req, cb);
95
+ }
96
+ async DescribeTasks(req, cb) {
97
+ return this.request("DescribeTasks", req, cb);
98
+ }
99
+ async DescribeBackupConfig(req, cb) {
100
+ return this.request("DescribeBackupConfig", req, cb);
101
+ }
102
+ async OpenDBInstanceEncryption(req, cb) {
103
+ return this.request("OpenDBInstanceEncryption", req, cb);
104
+ }
105
+ async CloseWanService(req, cb) {
106
+ return this.request("CloseWanService", req, cb);
107
+ }
108
+ async DescribeDefaultParams(req, cb) {
109
+ return this.request("DescribeDefaultParams", req, cb);
110
+ }
111
+ async DescribeAuditPolicies(req, cb) {
112
+ return this.request("DescribeAuditPolicies", req, cb);
113
+ }
114
+ async DeleteDatabase(req, cb) {
115
+ return this.request("DeleteDatabase", req, cb);
116
+ }
117
+ async DescribeTagsOfInstanceIds(req, cb) {
118
+ return this.request("DescribeTagsOfInstanceIds", req, cb);
119
+ }
120
+ async DescribeDatabases(req, cb) {
121
+ return this.request("DescribeDatabases", req, cb);
122
+ }
123
+ async DescribeErrorLogData(req, cb) {
124
+ return this.request("DescribeErrorLogData", req, cb);
125
+ }
126
+ async SwitchDBInstanceMasterSlave(req, cb) {
127
+ return this.request("SwitchDBInstanceMasterSlave", req, cb);
128
+ }
129
+ async CreateDatabase(req, cb) {
130
+ return this.request("CreateDatabase", req, cb);
131
+ }
132
+ async DescribeCPUExpandStrategyInfo(req, cb) {
133
+ return this.request("DescribeCPUExpandStrategyInfo", req, cb);
134
+ }
135
+ async DisassociateSecurityGroups(req, cb) {
136
+ return this.request("DisassociateSecurityGroups", req, cb);
137
+ }
138
+ async RenewDBInstance(req, cb) {
139
+ return this.request("RenewDBInstance", req, cb);
140
+ }
141
+ async DescribeTables(req, cb) {
142
+ return this.request("DescribeTables", req, cb);
143
+ }
144
+ async DescribeAccountPrivileges(req, cb) {
145
+ return this.request("DescribeAccountPrivileges", req, cb);
146
+ }
147
+ async DescribeDataBackupOverview(req, cb) {
148
+ return this.request("DescribeDataBackupOverview", req, cb);
149
+ }
150
+ async ReleaseIsolatedDBInstances(req, cb) {
151
+ return this.request("ReleaseIsolatedDBInstances", req, cb);
152
+ }
153
+ async CreateCloneInstance(req, cb) {
154
+ return this.request("CreateCloneInstance", req, cb);
155
+ }
156
+ async ModifyAuditConfig(req, cb) {
157
+ return this.request("ModifyAuditConfig", req, cb);
158
+ }
159
+ async ModifyInstancePasswordComplexity(req, cb) {
160
+ return this.request("ModifyInstancePasswordComplexity", req, cb);
161
+ }
162
+ async ModifyTimeWindow(req, cb) {
163
+ return this.request("ModifyTimeWindow", req, cb);
164
+ }
165
+ async DeleteDeployGroups(req, cb) {
166
+ return this.request("DeleteDeployGroups", req, cb);
167
+ }
168
+ async SwitchForUpgrade(req, cb) {
169
+ return this.request("SwitchForUpgrade", req, cb);
170
+ }
171
+ async DeleteAuditRuleTemplates(req, cb) {
172
+ return this.request("DeleteAuditRuleTemplates", req, cb);
173
+ }
174
+ async DescribeBackups(req, cb) {
175
+ return this.request("DescribeBackups", req, cb);
176
+ }
177
+ async DescribeCdbProxyInfo(req, cb) {
178
+ return this.request("DescribeCdbProxyInfo", req, cb);
179
+ }
180
+ async CreateParamTemplate(req, cb) {
181
+ return this.request("CreateParamTemplate", req, cb);
182
+ }
183
+ async CreateDBInstanceHour(req, cb) {
184
+ return this.request("CreateDBInstanceHour", req, cb);
185
+ }
186
+ async AddTimeWindow(req, cb) {
187
+ return this.request("AddTimeWindow", req, cb);
188
+ }
189
+ async DescribeProxySupportParam(req, cb) {
190
+ return this.request("DescribeProxySupportParam", req, cb);
191
+ }
192
+ async DescribeLocalBinlogConfig(req, cb) {
193
+ return this.request("DescribeLocalBinlogConfig", req, cb);
194
+ }
195
+ async CreateBackup(req, cb) {
196
+ return this.request("CreateBackup", req, cb);
197
+ }
198
+ async ModifyDBInstanceVipVport(req, cb) {
199
+ return this.request("ModifyDBInstanceVipVport", req, cb);
200
+ }
201
+ async DescribeDBInstanceConfig(req, cb) {
202
+ return this.request("DescribeDBInstanceConfig", req, cb);
203
+ }
204
+ async CreateCdbProxyAddress(req, cb) {
205
+ return this.request("CreateCdbProxyAddress", req, cb);
206
+ }
207
+ async DeleteAuditPolicy(req, cb) {
208
+ return this.request("DeleteAuditPolicy", req, cb);
209
+ }
210
+ async DescribeProjectSecurityGroups(req, cb) {
211
+ return this.request("DescribeProjectSecurityGroups", req, cb);
212
+ }
213
+ async DescribeSlowLogs(req, cb) {
214
+ return this.request("DescribeSlowLogs", req, cb);
215
+ }
216
+ async InquiryPriceUpgradeInstances(req, cb) {
217
+ return this.request("InquiryPriceUpgradeInstances", req, cb);
218
+ }
219
+ async ModifyLocalBinlogConfig(req, cb) {
220
+ return this.request("ModifyLocalBinlogConfig", req, cb);
221
+ }
222
+ async CreateDBInstance(req, cb) {
223
+ return this.request("CreateDBInstance", req, cb);
224
+ }
225
+ async ModifyParamTemplate(req, cb) {
226
+ return this.request("ModifyParamTemplate", req, cb);
227
+ }
228
+ async DescribeInstanceParams(req, cb) {
229
+ return this.request("DescribeInstanceParams", req, cb);
230
+ }
231
+ async DescribeBackupEncryptionStatus(req, cb) {
232
+ return this.request("DescribeBackupEncryptionStatus", req, cb);
233
+ }
234
+ async DescribeProxyCustomConf(req, cb) {
235
+ return this.request("DescribeProxyCustomConf", req, cb);
236
+ }
237
+ async DescribeDeployGroupList(req, cb) {
238
+ return this.request("DescribeDeployGroupList", req, cb);
239
+ }
240
+ async StopDBImportJob(req, cb) {
241
+ return this.request("StopDBImportJob", req, cb);
242
+ }
243
+ async AnalyzeAuditLogs(req, cb) {
244
+ return this.request("AnalyzeAuditLogs", req, cb);
245
+ }
246
+ async CreateAccounts(req, cb) {
247
+ return this.request("CreateAccounts", req, cb);
248
+ }
249
+ async AdjustCdbProxy(req, cb) {
250
+ return this.request("AdjustCdbProxy", req, cb);
251
+ }
252
+ async ModifyProtectMode(req, cb) {
253
+ return this.request("ModifyProtectMode", req, cb);
254
+ }
255
+ async UpgradeDBInstanceEngineVersion(req, cb) {
256
+ return this.request("UpgradeDBInstanceEngineVersion", req, cb);
257
+ }
258
+ async DescribeAuditLogFiles(req, cb) {
259
+ return this.request("DescribeAuditLogFiles", req, cb);
260
+ }
261
+ async DescribeBackupDecryptionKey(req, cb) {
262
+ return this.request("DescribeBackupDecryptionKey", req, cb);
263
+ }
264
+ async DescribeInstanceParamRecords(req, cb) {
265
+ return this.request("DescribeInstanceParamRecords", req, cb);
266
+ }
267
+ async DescribeBackupSummaries(req, cb) {
268
+ return this.request("DescribeBackupSummaries", req, cb);
269
+ }
270
+ async DescribeParamTemplateInfo(req, cb) {
271
+ return this.request("DescribeParamTemplateInfo", req, cb);
272
+ }
273
+ async DescribeBinlogBackupOverview(req, cb) {
274
+ return this.request("DescribeBinlogBackupOverview", req, cb);
275
+ }
276
+ async SwitchDrInstanceToMaster(req, cb) {
277
+ return this.request("SwitchDrInstanceToMaster", req, cb);
278
+ }
279
+ async DeleteAccounts(req, cb) {
280
+ return this.request("DeleteAccounts", req, cb);
281
+ }
282
+ async DescribeDBInstanceInfo(req, cb) {
283
+ return this.request("DescribeDBInstanceInfo", req, cb);
284
+ }
285
+ async DescribeClusterInfo(req, cb) {
286
+ return this.request("DescribeClusterInfo", req, cb);
287
+ }
288
+ async DescribeRollbackRangeTime(req, cb) {
289
+ return this.request("DescribeRollbackRangeTime", req, cb);
290
+ }
291
+ async CloseCdbProxyAddress(req, cb) {
292
+ return this.request("CloseCdbProxyAddress", req, cb);
293
+ }
294
+ async DeleteBackup(req, cb) {
295
+ return this.request("DeleteBackup", req, cb);
296
+ }
297
+ async DescribeRoMinScale(req, cb) {
298
+ return this.request("DescribeRoMinScale", req, cb);
299
+ }
300
+ async ModifyCdbProxyAddressDesc(req, cb) {
301
+ return this.request("ModifyCdbProxyAddressDesc", req, cb);
302
+ }
303
+ async ModifyAccountHost(req, cb) {
304
+ return this.request("ModifyAccountHost", req, cb);
305
+ }
306
+ async StartReplication(req, cb) {
307
+ return this.request("StartReplication", req, cb);
308
+ }
309
+ async AdjustCdbProxyAddress(req, cb) {
310
+ return this.request("AdjustCdbProxyAddress", req, cb);
311
+ }
312
+ async DescribeAuditInstanceList(req, cb) {
313
+ return this.request("DescribeAuditInstanceList", req, cb);
314
+ }
315
+ async DescribeAuditConfig(req, cb) {
316
+ return this.request("DescribeAuditConfig", req, cb);
317
+ }
318
+ async ResetPassword(req, cb) {
319
+ return this.request("ResetPassword", req, cb);
320
+ }
321
+ async ModifyInstanceParam(req, cb) {
322
+ return this.request("ModifyInstanceParam", req, cb);
323
+ }
324
+ async CloseCDBProxy(req, cb) {
325
+ return this.request("CloseCDBProxy", req, cb);
326
+ }
327
+ async ModifyNameOrDescByDpId(req, cb) {
328
+ return this.request("ModifyNameOrDescByDpId", req, cb);
329
+ }
330
+ async ModifyAccountMaxUserConnections(req, cb) {
331
+ return this.request("ModifyAccountMaxUserConnections", req, cb);
332
+ }
333
+ async DescribeAsyncRequestInfo(req, cb) {
334
+ return this.request("DescribeAsyncRequestInfo", req, cb);
335
+ }
336
+ async DescribeAuditLogs(req, cb) {
337
+ return this.request("DescribeAuditLogs", req, cb);
338
+ }
339
+ async DescribeDBInstanceRebootTime(req, cb) {
340
+ return this.request("DescribeDBInstanceRebootTime", req, cb);
341
+ }
342
+ async DescribeDBInstances(req, cb) {
343
+ return this.request("DescribeDBInstances", req, cb);
344
+ }
345
+ async ModifyRoGroupInfo(req, cb) {
346
+ return this.request("ModifyRoGroupInfo", req, cb);
347
+ }
348
+ async CreateAuditRule(req, cb) {
349
+ return this.request("CreateAuditRule", req, cb);
350
+ }
351
+ async DescribeDBInstanceCharset(req, cb) {
352
+ return this.request("DescribeDBInstanceCharset", req, cb);
353
+ }
354
+ async AssociateSecurityGroups(req, cb) {
355
+ return this.request("AssociateSecurityGroups", req, cb);
356
+ }
357
+ async DescribeDBPrice(req, cb) {
358
+ return this.request("DescribeDBPrice", req, cb);
359
+ }
360
+ async ModifyAccountPrivileges(req, cb) {
361
+ return this.request("ModifyAccountPrivileges", req, cb);
362
+ }
363
+ async DescribeDBImportRecords(req, cb) {
364
+ return this.request("DescribeDBImportRecords", req, cb);
365
+ }
366
+ async DescribeSSLStatus(req, cb) {
367
+ return this.request("DescribeSSLStatus", req, cb);
368
+ }
369
+ async DescribeDBSwitchRecords(req, cb) {
370
+ return this.request("DescribeDBSwitchRecords", req, cb);
371
+ }
372
+ async CreateRotationPassword(req, cb) {
373
+ return this.request("CreateRotationPassword", req, cb);
374
+ }
375
+ async CreateDBImportJob(req, cb) {
376
+ return this.request("CreateDBImportJob", req, cb);
377
+ }
378
+ async DescribeAccounts(req, cb) {
379
+ return this.request("DescribeAccounts", req, cb);
380
+ }
381
+ async DescribeCpuExpandStrategy(req, cb) {
382
+ return this.request("DescribeCpuExpandStrategy", req, cb);
383
+ }
384
+ async ReloadBalanceProxyNode(req, cb) {
385
+ return this.request("ReloadBalanceProxyNode", req, cb);
386
+ }
387
+ async ModifyBackupEncryptionStatus(req, cb) {
388
+ return this.request("ModifyBackupEncryptionStatus", req, cb);
389
+ }
390
+ async DescribeBackupDownloadRestriction(req, cb) {
391
+ return this.request("DescribeBackupDownloadRestriction", req, cb);
392
+ }
393
+ async ResetRootAccount(req, cb) {
394
+ return this.request("ResetRootAccount", req, cb);
395
+ }
396
+ async ModifyAuditRuleTemplates(req, cb) {
397
+ return this.request("ModifyAuditRuleTemplates", req, cb);
398
+ }
399
+ async SubmitInstanceUpgradeCheckJob(req, cb) {
400
+ return this.request("SubmitInstanceUpgradeCheckJob", req, cb);
401
+ }
402
+ async DeleteRotationPassword(req, cb) {
403
+ return this.request("DeleteRotationPassword", req, cb);
404
+ }
405
+ async ModifyAccountPassword(req, cb) {
406
+ return this.request("ModifyAccountPassword", req, cb);
407
+ }
408
+ async DescribeUploadedFiles(req, cb) {
409
+ return this.request("DescribeUploadedFiles", req, cb);
410
+ }
411
+ async ModifyAccountDescription(req, cb) {
412
+ return this.request("ModifyAccountDescription", req, cb);
413
+ }
414
+ async DescribeSlowLogData(req, cb) {
415
+ return this.request("DescribeSlowLogData", req, cb);
416
+ }
417
+ async OpenAuditService(req, cb) {
418
+ return this.request("OpenAuditService", req, cb);
419
+ }
420
+ async DeleteAuditLogFile(req, cb) {
421
+ return this.request("DeleteAuditLogFile", req, cb);
422
+ }
423
+ async DescribeAuditRuleTemplates(req, cb) {
424
+ return this.request("DescribeAuditRuleTemplates", req, cb);
425
+ }
426
+ async ModifyBackupConfig(req, cb) {
427
+ return this.request("ModifyBackupConfig", req, cb);
428
+ }
429
+ async DescribeAuditRules(req, cb) {
430
+ return this.request("DescribeAuditRules", req, cb);
431
+ }
432
+ async DescribeRemoteBackupConfig(req, cb) {
433
+ return this.request("DescribeRemoteBackupConfig", req, cb);
434
+ }
435
+ async ModifyCdbProxyAddressVipAndVPort(req, cb) {
436
+ return this.request("ModifyCdbProxyAddressVipAndVPort", req, cb);
437
+ }
438
+ async ModifyDBInstanceProject(req, cb) {
439
+ return this.request("ModifyDBInstanceProject", req, cb);
440
+ }
441
+ async DescribeDBInstanceLogToCLS(req, cb) {
442
+ return this.request("DescribeDBInstanceLogToCLS", req, cb);
443
+ }
444
+ async DescribeAuditRuleTemplateModifyHistory(req, cb) {
445
+ return this.request("DescribeAuditRuleTemplateModifyHistory", req, cb);
446
+ }
447
+ async CreateCdbProxy(req, cb) {
448
+ return this.request("CreateCdbProxy", req, cb);
449
+ }
450
+ async ModifyDBInstanceReadOnlyStatus(req, cb) {
451
+ return this.request("ModifyDBInstanceReadOnlyStatus", req, cb);
452
+ }
453
+ async ModifyAutoRenewFlag(req, cb) {
454
+ return this.request("ModifyAutoRenewFlag", req, cb);
455
+ }
456
+ async SwitchCDBProxy(req, cb) {
457
+ return this.request("SwitchCDBProxy", req, cb);
458
+ }
459
+ async ModifyAuditService(req, cb) {
460
+ return this.request("ModifyAuditService", req, cb);
461
+ }
462
+ async ModifyCdbProxyParam(req, cb) {
463
+ return this.request("ModifyCdbProxyParam", req, cb);
464
+ }
465
+ async StartBatchRollback(req, cb) {
466
+ return this.request("StartBatchRollback", req, cb);
467
+ }
468
+ async DescribeDeviceMonitorInfo(req, cb) {
469
+ return this.request("DescribeDeviceMonitorInfo", req, cb);
470
+ }
471
+ async OpenWanService(req, cb) {
472
+ return this.request("OpenWanService", req, cb);
473
+ }
474
+ async ModifyAuditRule(req, cb) {
475
+ return this.request("ModifyAuditRule", req, cb);
476
+ }
477
+ async ModifyDBInstanceSecurityGroups(req, cb) {
478
+ return this.request("ModifyDBInstanceSecurityGroups", req, cb);
479
+ }
480
+ async DeleteAuditRule(req, cb) {
481
+ return this.request("DeleteAuditRule", req, cb);
482
+ }
483
+ async StartCpuExpand(req, cb) {
484
+ return this.request("StartCpuExpand", req, cb);
485
+ }
486
+ async DescribeSupportedPrivileges(req, cb) {
487
+ return this.request("DescribeSupportedPrivileges", req, cb);
488
+ }
489
+ async DeleteParamTemplate(req, cb) {
490
+ return this.request("DeleteParamTemplate", req, cb);
491
+ }
492
+ async UpgradeCDBProxyVersion(req, cb) {
493
+ return this.request("UpgradeCDBProxyVersion", req, cb);
494
+ }
495
+ async DescribeBinlogs(req, cb) {
496
+ return this.request("DescribeBinlogs", req, cb);
497
+ }
498
+ async DescribeDBSecurityGroups(req, cb) {
499
+ return this.request("DescribeDBSecurityGroups", req, cb);
500
+ }
501
+ async DescribeRoGroups(req, cb) {
502
+ return this.request("DescribeRoGroups", req, cb);
503
+ }
504
+ async DescribeCloneList(req, cb) {
505
+ return this.request("DescribeCloneList", req, cb);
506
+ }
507
+ async DescribeInstanceAlarmEvents(req, cb) {
508
+ return this.request("DescribeInstanceAlarmEvents", req, cb);
509
+ }
510
+ async UpgradeDBInstance(req, cb) {
511
+ return this.request("UpgradeDBInstance", req, cb);
512
+ }
513
+ async CloseSSL(req, cb) {
514
+ return this.request("CloseSSL", req, cb);
515
+ }
516
+ async CreateDeployGroup(req, cb) {
517
+ return this.request("CreateDeployGroup", req, cb);
518
+ }
519
+ async ModifyRemoteBackupConfig(req, cb) {
520
+ return this.request("ModifyRemoteBackupConfig", req, cb);
521
+ }
522
+ async DeleteTimeWindow(req, cb) {
523
+ return this.request("DeleteTimeWindow", req, cb);
524
+ }
525
+ }
File without changes
@@ -0,0 +1,6 @@
1
+ import * as Models from "./cdb_models";
2
+ import { Client } from "./cdb_client";
3
+ export const v20170320 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ };
@@ -0,0 +1 @@
1
+ export { cdb } from "./cdb";
package/package.json CHANGED
@@ -1,16 +1,25 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cdb",
3
- "version": "4.0.1032",
4
- "description": "Tencent Cloud API NODEJS SDK",
5
- "main": "tencentcloud/index.js",
3
+ "version": "4.1.2",
4
+ "description": "腾讯云 API NODEJS SDK",
5
+ "main": "./tencentcloud/index.js",
6
+ "module": "./es/index.js",
7
+ "types": "./tencentcloud/index.d.ts",
6
8
  "scripts": {
7
9
  "test": "mocha -t 10000",
8
- "build": "tsc",
9
- "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"
10
+ "build": "concurrently 'npm:build:cjs' 'npm:build:es'",
11
+ "build:cjs": "tsc -p tsconfig.json",
12
+ "build:es": "tsc -p tsconfig.es.json",
13
+ "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
14
+ "clean": "rimraf tencentcloud es"
10
15
  },
11
16
  "engines": {
12
17
  "node": ">=10"
13
18
  },
19
+ "files": [
20
+ "tencentcloud",
21
+ "es"
22
+ ],
14
23
  "keywords": [
15
24
  "tencentcloudapi",
16
25
  "tencentcloud",
@@ -22,7 +31,7 @@
22
31
  "author": "tencentcloudapi",
23
32
  "license": "Apache-2.0",
24
33
  "dependencies": {
25
- "tencentcloud-sdk-nodejs-common": "^4.0.488",
34
+ "tencentcloud-sdk-nodejs-common": "*",
26
35
  "tslib": "1.13.0"
27
36
  },
28
37
  "directories": {
@@ -35,14 +44,21 @@
35
44
  },
36
45
  "devDependencies": {
37
46
  "@types/form-data": "^2.5.0",
47
+ "@types/json-bigint": "^1.0.1",
38
48
  "@types/node": "^14.0.26",
39
49
  "@types/node-fetch": "^2.5.7",
50
+ "@types/uuid": "^9.0.8",
40
51
  "@typescript-eslint/eslint-plugin": "^2.34.0",
41
52
  "@typescript-eslint/parser": "^2.34.0",
53
+ "babel-eslint": "^10.0.2",
42
54
  "chai": "^4.2.0",
55
+ "concurrently": "^6.5.1",
43
56
  "eslint": "^6.8.0",
44
- "mocha": "^8.1.1",
57
+ "eslint-plugin-react": "^7.17.0",
58
+ "mocha": "^8.4.0",
59
+ "prettier": "^2.3.0",
60
+ "rimraf": "^5.0.10",
45
61
  "ts-node": "^8.10.2",
46
62
  "typescript": "^3.9.7"
47
63
  }
48
- }
64
+ }