tencentcloud-sdk-nodejs 4.0.282 → 4.0.286

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +261 -0
  2. package/SERVICE_CHANGELOG.md +228 -61
  3. package/package.json +1 -1
  4. package/products.md +15 -13
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_client.ts +15 -2
  7. package/src/services/ame/v20190916/ame_models.ts +92 -14
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +4 -4
  9. package/src/services/cdb/v20170320/cdb_models.ts +9 -4
  10. package/src/services/cfs/v20190719/cfs_models.ts +5 -0
  11. package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
  12. package/src/services/ckafka/v20190819/ckafka_models.ts +30 -0
  13. package/src/services/clb/v20180317/clb_models.ts +4 -3
  14. package/src/services/facefusion/v20181201/facefusion_models.ts +2 -2
  15. package/src/services/index.ts +2 -0
  16. package/src/services/lowcode/index.ts +5 -0
  17. package/src/services/lowcode/v20210108/index.ts +6 -0
  18. package/src/services/lowcode/v20210108/lowcode_client.ts +48 -0
  19. package/src/services/lowcode/v20210108/lowcode_models.ts +359 -0
  20. package/src/services/mariadb/v20170312/mariadb_client.ts +13 -0
  21. package/src/services/mariadb/v20170312/mariadb_models.ts +65 -0
  22. package/src/services/smh/index.ts +5 -0
  23. package/src/services/smh/v20210712/index.ts +6 -0
  24. package/src/services/smh/v20210712/smh_client.ts +155 -0
  25. package/src/services/smh/v20210712/smh_models.ts +655 -0
  26. package/src/services/ssl/v20191205/ssl_models.ts +6 -0
  27. package/src/services/tat/v20201028/tat_models.ts +1 -1
  28. package/src/services/tke/v20180525/tke_models.ts +35 -2
  29. package/tencentcloud/common/sdk_version.d.ts +1 -1
  30. package/tencentcloud/common/sdk_version.js +1 -1
  31. package/tencentcloud/services/ame/v20190916/ame_client.d.ts +5 -1
  32. package/tencentcloud/services/ame/v20190916/ame_client.js +6 -0
  33. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +79 -13
  34. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +4 -4
  35. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -4
  36. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
  37. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
  38. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
  39. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +26 -0
  40. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -1
  41. package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +2 -2
  42. package/tencentcloud/services/index.d.ts +2 -0
  43. package/tencentcloud/services/index.js +4 -0
  44. package/tencentcloud/services/lowcode/index.d.ts +6 -0
  45. package/tencentcloud/services/lowcode/index.js +7 -0
  46. package/tencentcloud/services/lowcode/v20210108/index.d.ts +6 -0
  47. package/tencentcloud/services/lowcode/v20210108/index.js +9 -0
  48. package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +14 -0
  49. package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +37 -0
  50. package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +287 -0
  51. package/tencentcloud/services/lowcode/v20210108/lowcode_models.js +18 -0
  52. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
  53. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
  54. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +55 -0
  55. package/tencentcloud/services/smh/index.d.ts +6 -0
  56. package/tencentcloud/services/smh/index.js +7 -0
  57. package/tencentcloud/services/smh/v20210712/index.d.ts +6 -0
  58. package/tencentcloud/services/smh/v20210712/index.js +9 -0
  59. package/tencentcloud/services/smh/v20210712/smh_client.d.ts +50 -0
  60. package/tencentcloud/services/smh/v20210712/smh_client.js +91 -0
  61. package/tencentcloud/services/smh/v20210712/smh_models.d.ts +538 -0
  62. package/tencentcloud/services/smh/v20210712/smh_models.js +18 -0
  63. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
  64. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +1 -1
  65. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +34 -2
  66. package/test/ame.v20190916.test.js +10 -0
  67. package/test/ckafka.v20190819.test.js +10 -0
  68. package/test/lowcode.v20210108.test.js +31 -0
  69. package/test/mariadb.v20170312.test.js +10 -0
  70. package/test/smh.v20210712.test.js +121 -0
@@ -538,6 +538,16 @@ it("mariadb.v20170312.DescribeDBSecurityGroups", async function () {
538
538
  }
539
539
  })
540
540
 
541
+ it("mariadb.v20170312.DescribeDatabaseTable", async function () {
542
+ try {
543
+ const data = await client.DescribeDatabaseTable({})
544
+ expect(data).to.be.ok
545
+ } catch(error) {
546
+ expect(error.requestId).to.be.ok
547
+ expect(error.code).to.be.ok
548
+ }
549
+ })
550
+
541
551
  it("mariadb.v20170312.CancelDcnJob", async function () {
542
552
  try {
543
553
  const data = await client.CancelDcnJob({})
@@ -0,0 +1,121 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.smh.v20210712.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("smh.v20210712.test.js", function () {
20
+
21
+ it("smh.v20210712.DescribeOfficialInstances", async function () {
22
+ try {
23
+ const data = await client.DescribeOfficialInstances({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ it("smh.v20210712.CreateLibrary", async function () {
32
+ try {
33
+ const data = await client.CreateLibrary({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
41
+ it("smh.v20210712.SendSmsCode", async function () {
42
+ try {
43
+ const data = await client.SendSmsCode({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
51
+ it("smh.v20210712.VerifySmsCode", async function () {
52
+ try {
53
+ const data = await client.VerifySmsCode({})
54
+ expect(data).to.be.ok
55
+ } catch(error) {
56
+ expect(error.requestId).to.be.ok
57
+ expect(error.code).to.be.ok
58
+ }
59
+ })
60
+
61
+ it("smh.v20210712.DescribeLibraries", async function () {
62
+ try {
63
+ const data = await client.DescribeLibraries({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
71
+ it("smh.v20210712.ModifyLibrary", async function () {
72
+ try {
73
+ const data = await client.ModifyLibrary({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("smh.v20210712.DescribeOfficialOverview", async function () {
82
+ try {
83
+ const data = await client.DescribeOfficialOverview({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
91
+ it("smh.v20210712.DescribeTrafficPackages", async function () {
92
+ try {
93
+ const data = await client.DescribeTrafficPackages({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
101
+ it("smh.v20210712.DeleteLibrary", async function () {
102
+ try {
103
+ const data = await client.DeleteLibrary({})
104
+ expect(data).to.be.ok
105
+ } catch(error) {
106
+ expect(error.requestId).to.be.ok
107
+ expect(error.code).to.be.ok
108
+ }
109
+ })
110
+
111
+ it("smh.v20210712.DescribeLibrarySecret", async function () {
112
+ try {
113
+ const data = await client.DescribeLibrarySecret({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
121
+ })