tencentcloud-sdk-nodejs-cynosdb 4.0.1053 → 4.1.1

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 { v20190107 } from "./v20190107";
2
+ export const cynosdb = {
3
+ v20190107: v20190107,
4
+ };
@@ -0,0 +1,471 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ export class Client extends TencentCloudCommon.AbstractClient {
3
+ constructor(clientConfig) {
4
+ super("cynosdb.tencentcloudapi.com", "2019-01-07", clientConfig);
5
+ }
6
+ async ResumeServerless(req, cb) {
7
+ return this.request("ResumeServerless", req, cb);
8
+ }
9
+ async UpgradeProxyVersion(req, cb) {
10
+ return this.request("UpgradeProxyVersion", req, cb);
11
+ }
12
+ async DescribeBackupConfig(req, cb) {
13
+ return this.request("DescribeBackupConfig", req, cb);
14
+ }
15
+ async ModifyBinlogConfig(req, cb) {
16
+ return this.request("ModifyBinlogConfig", req, cb);
17
+ }
18
+ async CreateProxyEndPoint(req, cb) {
19
+ return this.request("CreateProxyEndPoint", req, cb);
20
+ }
21
+ async ModifyResourcePackageClusters(req, cb) {
22
+ return this.request("ModifyResourcePackageClusters", req, cb);
23
+ }
24
+ async CreateAuditRuleTemplate(req, cb) {
25
+ return this.request("CreateAuditRuleTemplate", req, cb);
26
+ }
27
+ async GrantAccountPrivileges(req, cb) {
28
+ return this.request("GrantAccountPrivileges", req, cb);
29
+ }
30
+ async DescribeClusterParamLogs(req, cb) {
31
+ return this.request("DescribeClusterParamLogs", req, cb);
32
+ }
33
+ async ModifyMaintainPeriodConfig(req, cb) {
34
+ return this.request("ModifyMaintainPeriodConfig", req, cb);
35
+ }
36
+ async CopyClusterPasswordComplexity(req, cb) {
37
+ return this.request("CopyClusterPasswordComplexity", req, cb);
38
+ }
39
+ async CloseAuditService(req, cb) {
40
+ return this.request("CloseAuditService", req, cb);
41
+ }
42
+ async DescribeSupportProxyVersion(req, cb) {
43
+ return this.request("DescribeSupportProxyVersion", req, cb);
44
+ }
45
+ async CreateAuditLogFile(req, cb) {
46
+ return this.request("CreateAuditLogFile", req, cb);
47
+ }
48
+ async RenewClusters(req, cb) {
49
+ return this.request("RenewClusters", req, cb);
50
+ }
51
+ async CloseProxyEndPoint(req, cb) {
52
+ return this.request("CloseProxyEndPoint", req, cb);
53
+ }
54
+ async CloseProxy(req, cb) {
55
+ return this.request("CloseProxy", req, cb);
56
+ }
57
+ async DescribeProxySpecs(req, cb) {
58
+ return this.request("DescribeProxySpecs", req, cb);
59
+ }
60
+ async InquirePriceModify(req, cb) {
61
+ return this.request("InquirePriceModify", req, cb);
62
+ }
63
+ async SwitchProxyVpc(req, cb) {
64
+ return this.request("SwitchProxyVpc", req, cb);
65
+ }
66
+ async DescribeClusterDetail(req, cb) {
67
+ return this.request("DescribeClusterDetail", req, cb);
68
+ }
69
+ async DescribeTasks(req, cb) {
70
+ return this.request("DescribeTasks", req, cb);
71
+ }
72
+ async DescribeInstanceSpecs(req, cb) {
73
+ return this.request("DescribeInstanceSpecs", req, cb);
74
+ }
75
+ async DescribeBinlogDownloadUrl(req, cb) {
76
+ return this.request("DescribeBinlogDownloadUrl", req, cb);
77
+ }
78
+ async DescribeResourcesByDealName(req, cb) {
79
+ return this.request("DescribeResourcesByDealName", req, cb);
80
+ }
81
+ async ModifyClusterStorage(req, cb) {
82
+ return this.request("ModifyClusterStorage", req, cb);
83
+ }
84
+ async ActivateInstance(req, cb) {
85
+ return this.request("ActivateInstance", req, cb);
86
+ }
87
+ async DescribeProxyNodes(req, cb) {
88
+ return this.request("DescribeProxyNodes", req, cb);
89
+ }
90
+ async DisassociateSecurityGroups(req, cb) {
91
+ return this.request("DisassociateSecurityGroups", req, cb);
92
+ }
93
+ async DescribeClusterTransparentEncryptInfo(req, cb) {
94
+ return this.request("DescribeClusterTransparentEncryptInfo", req, cb);
95
+ }
96
+ async ExportInstanceSlowQueries(req, cb) {
97
+ return this.request("ExportInstanceSlowQueries", req, cb);
98
+ }
99
+ async DeleteCLSDelivery(req, cb) {
100
+ return this.request("DeleteCLSDelivery", req, cb);
101
+ }
102
+ async DescribeChangedParamsAfterUpgrade(req, cb) {
103
+ return this.request("DescribeChangedParamsAfterUpgrade", req, cb);
104
+ }
105
+ async DescribeAccountPrivileges(req, cb) {
106
+ return this.request("DescribeAccountPrivileges", req, cb);
107
+ }
108
+ async CloseClusterPasswordComplexity(req, cb) {
109
+ return this.request("CloseClusterPasswordComplexity", req, cb);
110
+ }
111
+ async RollBackCluster(req, cb) {
112
+ return this.request("RollBackCluster", req, cb);
113
+ }
114
+ async DescribeBinlogSaveDays(req, cb) {
115
+ return this.request("DescribeBinlogSaveDays", req, cb);
116
+ }
117
+ async SearchClusterTables(req, cb) {
118
+ return this.request("SearchClusterTables", req, cb);
119
+ }
120
+ async DescribeClusterInstanceGrps(req, cb) {
121
+ return this.request("DescribeClusterInstanceGrps", req, cb);
122
+ }
123
+ async DescribeIsolatedInstances(req, cb) {
124
+ return this.request("DescribeIsolatedInstances", req, cb);
125
+ }
126
+ async DescribeInstanceErrorLogs(req, cb) {
127
+ return this.request("DescribeInstanceErrorLogs", req, cb);
128
+ }
129
+ async ModifyClusterName(req, cb) {
130
+ return this.request("ModifyClusterName", req, cb);
131
+ }
132
+ async ModifyProxyRwSplit(req, cb) {
133
+ return this.request("ModifyProxyRwSplit", req, cb);
134
+ }
135
+ async ModifyVipVport(req, cb) {
136
+ return this.request("ModifyVipVport", req, cb);
137
+ }
138
+ async DeleteAuditRuleTemplates(req, cb) {
139
+ return this.request("DeleteAuditRuleTemplates", req, cb);
140
+ }
141
+ async ModifyProxyDesc(req, cb) {
142
+ return this.request("ModifyProxyDesc", req, cb);
143
+ }
144
+ async CreateParamTemplate(req, cb) {
145
+ return this.request("CreateParamTemplate", req, cb);
146
+ }
147
+ async ModifyClusterSlaveZone(req, cb) {
148
+ return this.request("ModifyClusterSlaveZone", req, cb);
149
+ }
150
+ async ModifyAccountParams(req, cb) {
151
+ return this.request("ModifyAccountParams", req, cb);
152
+ }
153
+ async ModifyClusterPasswordComplexity(req, cb) {
154
+ return this.request("ModifyClusterPasswordComplexity", req, cb);
155
+ }
156
+ async CreateBackup(req, cb) {
157
+ return this.request("CreateBackup", req, cb);
158
+ }
159
+ async OfflineInstance(req, cb) {
160
+ return this.request("OfflineInstance", req, cb);
161
+ }
162
+ async IsolateCluster(req, cb) {
163
+ return this.request("IsolateCluster", req, cb);
164
+ }
165
+ async DescribeInstancesWithinSameCluster(req, cb) {
166
+ return this.request("DescribeInstancesWithinSameCluster", req, cb);
167
+ }
168
+ async RestartInstance(req, cb) {
169
+ return this.request("RestartInstance", req, cb);
170
+ }
171
+ async UpgradeProxy(req, cb) {
172
+ return this.request("UpgradeProxy", req, cb);
173
+ }
174
+ async DescribeClusters(req, cb) {
175
+ return this.request("DescribeClusters", req, cb);
176
+ }
177
+ async CloseWan(req, cb) {
178
+ return this.request("CloseWan", req, cb);
179
+ }
180
+ async DescribeProjectSecurityGroups(req, cb) {
181
+ return this.request("DescribeProjectSecurityGroups", req, cb);
182
+ }
183
+ async ModifyClusterDatabase(req, cb) {
184
+ return this.request("ModifyClusterDatabase", req, cb);
185
+ }
186
+ async ModifyAuditRuleTemplates(req, cb) {
187
+ return this.request("ModifyAuditRuleTemplates", req, cb);
188
+ }
189
+ async ModifyParamTemplate(req, cb) {
190
+ return this.request("ModifyParamTemplate", req, cb);
191
+ }
192
+ async ModifyResourcePackagesDeductionPriority(req, cb) {
193
+ return this.request("ModifyResourcePackagesDeductionPriority", req, cb);
194
+ }
195
+ async DescribeInstanceParams(req, cb) {
196
+ return this.request("DescribeInstanceParams", req, cb);
197
+ }
198
+ async DescribeInstanceSlowQueries(req, cb) {
199
+ return this.request("DescribeInstanceSlowQueries", req, cb);
200
+ }
201
+ async DescribeClusterDatabases(req, cb) {
202
+ return this.request("DescribeClusterDatabases", req, cb);
203
+ }
204
+ async ModifyClusterParam(req, cb) {
205
+ return this.request("ModifyClusterParam", req, cb);
206
+ }
207
+ async CreateClusters(req, cb) {
208
+ return this.request("CreateClusters", req, cb);
209
+ }
210
+ async CreateAccounts(req, cb) {
211
+ return this.request("CreateAccounts", req, cb);
212
+ }
213
+ async RollbackToNewCluster(req, cb) {
214
+ return this.request("RollbackToNewCluster", req, cb);
215
+ }
216
+ async CreateResourcePackage(req, cb) {
217
+ return this.request("CreateResourcePackage", req, cb);
218
+ }
219
+ async DescribeAuditLogFiles(req, cb) {
220
+ return this.request("DescribeAuditLogFiles", req, cb);
221
+ }
222
+ async DeleteClusterDatabase(req, cb) {
223
+ return this.request("DeleteClusterDatabase", req, cb);
224
+ }
225
+ async SwitchClusterZone(req, cb) {
226
+ return this.request("SwitchClusterZone", req, cb);
227
+ }
228
+ async SearchClusterDatabases(req, cb) {
229
+ return this.request("SearchClusterDatabases", req, cb);
230
+ }
231
+ async AddInstances(req, cb) {
232
+ return this.request("AddInstances", req, cb);
233
+ }
234
+ async ModifyInstanceUpgradeLimitDays(req, cb) {
235
+ return this.request("ModifyInstanceUpgradeLimitDays", req, cb);
236
+ }
237
+ async DeleteAccounts(req, cb) {
238
+ return this.request("DeleteAccounts", req, cb);
239
+ }
240
+ async RevokeAccountPrivileges(req, cb) {
241
+ return this.request("RevokeAccountPrivileges", req, cb);
242
+ }
243
+ async OpenClusterReadOnlyInstanceGroupAccess(req, cb) {
244
+ return this.request("OpenClusterReadOnlyInstanceGroupAccess", req, cb);
245
+ }
246
+ async OpenClusterTransparentEncrypt(req, cb) {
247
+ return this.request("OpenClusterTransparentEncrypt", req, cb);
248
+ }
249
+ async DescribeParamTemplates(req, cb) {
250
+ return this.request("DescribeParamTemplates", req, cb);
251
+ }
252
+ async DeleteBackup(req, cb) {
253
+ return this.request("DeleteBackup", req, cb);
254
+ }
255
+ async DescribeServerlessStrategy(req, cb) {
256
+ return this.request("DescribeServerlessStrategy", req, cb);
257
+ }
258
+ async PauseServerless(req, cb) {
259
+ return this.request("PauseServerless", req, cb);
260
+ }
261
+ async ModifyAccountHost(req, cb) {
262
+ return this.request("ModifyAccountHost", req, cb);
263
+ }
264
+ async ResetAccountPassword(req, cb) {
265
+ return this.request("ResetAccountPassword", req, cb);
266
+ }
267
+ async DescribeInstanceDetail(req, cb) {
268
+ return this.request("DescribeInstanceDetail", req, cb);
269
+ }
270
+ async DescribeAuditInstanceList(req, cb) {
271
+ return this.request("DescribeAuditInstanceList", req, cb);
272
+ }
273
+ async DescribeRollbackTimeRange(req, cb) {
274
+ return this.request("DescribeRollbackTimeRange", req, cb);
275
+ }
276
+ async DescribeFlow(req, cb) {
277
+ return this.request("DescribeFlow", req, cb);
278
+ }
279
+ async ModifyInstanceParam(req, cb) {
280
+ return this.request("ModifyInstanceParam", req, cb);
281
+ }
282
+ async DescribeInstanceCLSLogDelivery(req, cb) {
283
+ return this.request("DescribeInstanceCLSLogDelivery", req, cb);
284
+ }
285
+ async BindClusterResourcePackages(req, cb) {
286
+ return this.request("BindClusterResourcePackages", req, cb);
287
+ }
288
+ async DescribeServerlessInstanceSpecs(req, cb) {
289
+ return this.request("DescribeServerlessInstanceSpecs", req, cb);
290
+ }
291
+ async DescribeAuditLogs(req, cb) {
292
+ return this.request("DescribeAuditLogs", req, cb);
293
+ }
294
+ async UnbindClusterResourcePackages(req, cb) {
295
+ return this.request("UnbindClusterResourcePackages", req, cb);
296
+ }
297
+ async DescribeProxies(req, cb) {
298
+ return this.request("DescribeProxies", req, cb);
299
+ }
300
+ async OpenWan(req, cb) {
301
+ return this.request("OpenWan", req, cb);
302
+ }
303
+ async InquirePriceCreate(req, cb) {
304
+ return this.request("InquirePriceCreate", req, cb);
305
+ }
306
+ async AssociateSecurityGroups(req, cb) {
307
+ return this.request("AssociateSecurityGroups", req, cb);
308
+ }
309
+ async DescribeBinlogConfig(req, cb) {
310
+ return this.request("DescribeBinlogConfig", req, cb);
311
+ }
312
+ async DescribeResourcePackageSaleSpec(req, cb) {
313
+ return this.request("DescribeResourcePackageSaleSpec", req, cb);
314
+ }
315
+ async ModifyAccountPrivileges(req, cb) {
316
+ return this.request("ModifyAccountPrivileges", req, cb);
317
+ }
318
+ async DescribeAuditRuleWithInstanceIds(req, cb) {
319
+ return this.request("DescribeAuditRuleWithInstanceIds", req, cb);
320
+ }
321
+ async ExportInstanceErrorLogs(req, cb) {
322
+ return this.request("ExportInstanceErrorLogs", req, cb);
323
+ }
324
+ async AddClusterSlaveZone(req, cb) {
325
+ return this.request("AddClusterSlaveZone", req, cb);
326
+ }
327
+ async ModifyBackupName(req, cb) {
328
+ return this.request("ModifyBackupName", req, cb);
329
+ }
330
+ async DescribeAccounts(req, cb) {
331
+ return this.request("DescribeAccounts", req, cb);
332
+ }
333
+ async SetRenewFlag(req, cb) {
334
+ return this.request("SetRenewFlag", req, cb);
335
+ }
336
+ async InquirePriceRenew(req, cb) {
337
+ return this.request("InquirePriceRenew", req, cb);
338
+ }
339
+ async StartCLSDelivery(req, cb) {
340
+ return this.request("StartCLSDelivery", req, cb);
341
+ }
342
+ async ReloadBalanceProxyNode(req, cb) {
343
+ return this.request("ReloadBalanceProxyNode", req, cb);
344
+ }
345
+ async OfflineCluster(req, cb) {
346
+ return this.request("OfflineCluster", req, cb);
347
+ }
348
+ async DescribeClusterDatabaseTables(req, cb) {
349
+ return this.request("DescribeClusterDatabaseTables", req, cb);
350
+ }
351
+ async StopCLSDelivery(req, cb) {
352
+ return this.request("StopCLSDelivery", req, cb);
353
+ }
354
+ async DescribeBackupList(req, cb) {
355
+ return this.request("DescribeBackupList", req, cb);
356
+ }
357
+ async ModifyAccountDescription(req, cb) {
358
+ return this.request("ModifyAccountDescription", req, cb);
359
+ }
360
+ async ModifyServerlessStrategy(req, cb) {
361
+ return this.request("ModifyServerlessStrategy", req, cb);
362
+ }
363
+ async CreateClusterDatabase(req, cb) {
364
+ return this.request("CreateClusterDatabase", req, cb);
365
+ }
366
+ async OpenAuditService(req, cb) {
367
+ return this.request("OpenAuditService", req, cb);
368
+ }
369
+ async DeleteAuditLogFile(req, cb) {
370
+ return this.request("DeleteAuditLogFile", req, cb);
371
+ }
372
+ async DescribeAuditRuleTemplates(req, cb) {
373
+ return this.request("DescribeAuditRuleTemplates", req, cb);
374
+ }
375
+ async DescribeResourcePackageDetail(req, cb) {
376
+ return this.request("DescribeResourcePackageDetail", req, cb);
377
+ }
378
+ async ModifyBackupConfig(req, cb) {
379
+ return this.request("ModifyBackupConfig", req, cb);
380
+ }
381
+ async DescribeInstances(req, cb) {
382
+ return this.request("DescribeInstances", req, cb);
383
+ }
384
+ async UpgradeClusterVersion(req, cb) {
385
+ return this.request("UpgradeClusterVersion", req, cb);
386
+ }
387
+ async DescribeResourcePackageList(req, cb) {
388
+ return this.request("DescribeResourcePackageList", req, cb);
389
+ }
390
+ async DescribeClusterParams(req, cb) {
391
+ return this.request("DescribeClusterParams", req, cb);
392
+ }
393
+ async RefundResourcePackage(req, cb) {
394
+ return this.request("RefundResourcePackage", req, cb);
395
+ }
396
+ async ModifyInstanceName(req, cb) {
397
+ return this.request("ModifyInstanceName", req, cb);
398
+ }
399
+ async DescribeMaintainPeriod(req, cb) {
400
+ return this.request("DescribeMaintainPeriod", req, cb);
401
+ }
402
+ async ExportResourcePackageDeductDetails(req, cb) {
403
+ return this.request("ExportResourcePackageDeductDetails", req, cb);
404
+ }
405
+ async DescribeClusterDetailDatabases(req, cb) {
406
+ return this.request("DescribeClusterDetailDatabases", req, cb);
407
+ }
408
+ async ModifyAuditService(req, cb) {
409
+ return this.request("ModifyAuditService", req, cb);
410
+ }
411
+ async DescribeZones(req, cb) {
412
+ return this.request("DescribeZones", req, cb);
413
+ }
414
+ async DescribeBackupDownloadUrl(req, cb) {
415
+ return this.request("DescribeBackupDownloadUrl", req, cb);
416
+ }
417
+ async SwitchClusterVpc(req, cb) {
418
+ return this.request("SwitchClusterVpc", req, cb);
419
+ }
420
+ async CreateProxy(req, cb) {
421
+ return this.request("CreateProxy", req, cb);
422
+ }
423
+ async ModifyDBInstanceSecurityGroups(req, cb) {
424
+ return this.request("ModifyDBInstanceSecurityGroups", req, cb);
425
+ }
426
+ async CreateCLSDelivery(req, cb) {
427
+ return this.request("CreateCLSDelivery", req, cb);
428
+ }
429
+ async ModifyBinlogSaveDays(req, cb) {
430
+ return this.request("ModifyBinlogSaveDays", req, cb);
431
+ }
432
+ async DescribeAccountAllGrantPrivileges(req, cb) {
433
+ return this.request("DescribeAccountAllGrantPrivileges", req, cb);
434
+ }
435
+ async OpenReadOnlyInstanceExclusiveAccess(req, cb) {
436
+ return this.request("OpenReadOnlyInstanceExclusiveAccess", req, cb);
437
+ }
438
+ async DescribeClusterPasswordComplexity(req, cb) {
439
+ return this.request("DescribeClusterPasswordComplexity", req, cb);
440
+ }
441
+ async DeleteParamTemplate(req, cb) {
442
+ return this.request("DeleteParamTemplate", req, cb);
443
+ }
444
+ async UpgradeInstance(req, cb) {
445
+ return this.request("UpgradeInstance", req, cb);
446
+ }
447
+ async DescribeBinlogs(req, cb) {
448
+ return this.request("DescribeBinlogs", req, cb);
449
+ }
450
+ async DescribeClusterInstanceGroups(req, cb) {
451
+ return this.request("DescribeClusterInstanceGroups", req, cb);
452
+ }
453
+ async DescribeDBSecurityGroups(req, cb) {
454
+ return this.request("DescribeDBSecurityGroups", req, cb);
455
+ }
456
+ async OpenClusterPasswordComplexity(req, cb) {
457
+ return this.request("OpenClusterPasswordComplexity", req, cb);
458
+ }
459
+ async ModifyResourcePackageName(req, cb) {
460
+ return this.request("ModifyResourcePackageName", req, cb);
461
+ }
462
+ async RemoveClusterSlaveZone(req, cb) {
463
+ return this.request("RemoveClusterSlaveZone", req, cb);
464
+ }
465
+ async DescribeParamTemplateDetail(req, cb) {
466
+ return this.request("DescribeParamTemplateDetail", req, cb);
467
+ }
468
+ async IsolateInstance(req, cb) {
469
+ return this.request("IsolateInstance", req, cb);
470
+ }
471
+ }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./cynosdb_models";
2
+ import { Client } from "./cynosdb_client";
3
+ export const v20190107 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ };
@@ -0,0 +1 @@
1
+ export { cynosdb } from "./cynosdb";
package/package.json CHANGED
@@ -1,16 +1,25 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cynosdb",
3
- "version": "4.0.1053",
4
- "description": "Tencent Cloud API NODEJS SDK",
5
- "main": "tencentcloud/index.js",
3
+ "version": "4.1.1",
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
+ }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Client = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  /* eslint-disable @typescript-eslint/no-unused-vars */
5
6
  /*
6
7
  * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
@@ -18,7 +19,7 @@ exports.Client = void 0;
18
19
  * specific language governing permissions and limitations
19
20
  * under the License.
20
21
  */
21
- const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
22
+ const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
22
23
  /**
23
24
  * cynosdb client
24
25
  * @class