tencentcloud-sdk-nodejs 4.0.683 → 4.0.685

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 (65) hide show
  1. package/CHANGELOG.md +266 -0
  2. package/SERVICE_CHANGELOG.md +247 -100
  3. package/package.json +1 -1
  4. package/products.md +12 -12
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdwch/v20200915/cdwch_client.ts +27 -15
  7. package/src/services/cdwch/v20200915/cdwch_models.ts +70 -46
  8. package/src/services/cfw/v20190904/cfw_client.ts +849 -496
  9. package/src/services/cfw/v20190904/cfw_models.ts +2327 -381
  10. package/src/services/eb/v20210416/eb_client.ts +110 -59
  11. package/src/services/eb/v20210416/eb_models.ts +917 -780
  12. package/src/services/ess/v20201111/ess_client.ts +45 -20
  13. package/src/services/ess/v20201111/ess_models.ts +301 -177
  14. package/src/services/facefusion/v20181201/facefusion_client.ts +4 -2
  15. package/src/services/iai/v20180301/iai_client.ts +0 -2
  16. package/src/services/iai/v20180301/iai_models.ts +26 -30
  17. package/src/services/iai/v20200303/iai_models.ts +16 -20
  18. package/src/services/sqlserver/v20180328/sqlserver_client.ts +25 -0
  19. package/src/services/sqlserver/v20180328/sqlserver_models.ts +107 -0
  20. package/src/services/tcr/v20190924/tcr_client.ts +1 -1
  21. package/src/services/tcr/v20190924/tcr_models.ts +9 -3
  22. package/src/services/trocket/v20230308/trocket_client.ts +68 -17
  23. package/src/services/trocket/v20230308/trocket_models.ts +371 -35
  24. package/src/services/trtc/v20190722/trtc_models.ts +1 -1
  25. package/src/services/waf/v20180125/waf_client.ts +25 -38
  26. package/src/services/waf/v20180125/waf_models.ts +45 -73
  27. package/tencentcloud/common/sdk_version.d.ts +1 -1
  28. package/tencentcloud/common/sdk_version.js +1 -1
  29. package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +9 -5
  30. package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +12 -6
  31. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +68 -46
  32. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +258 -146
  33. package/tencentcloud/services/cfw/v20190904/cfw_client.js +382 -214
  34. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +2197 -324
  35. package/tencentcloud/services/eb/v20210416/eb_client.d.ts +17 -1
  36. package/tencentcloud/services/eb/v20210416/eb_client.js +24 -0
  37. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +896 -770
  38. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +41 -16
  39. package/tencentcloud/services/ess/v20201111/ess_client.js +41 -16
  40. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +301 -177
  41. package/tencentcloud/services/facefusion/v20181201/facefusion_client.d.ts +3 -1
  42. package/tencentcloud/services/facefusion/v20181201/facefusion_client.js +3 -1
  43. package/tencentcloud/services/iai/v20180301/iai_client.d.ts +0 -2
  44. package/tencentcloud/services/iai/v20180301/iai_client.js +0 -2
  45. package/tencentcloud/services/iai/v20180301/iai_models.d.ts +26 -30
  46. package/tencentcloud/services/iai/v20200303/iai_models.d.ts +16 -20
  47. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +9 -1
  48. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +12 -0
  49. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +102 -0
  50. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +1 -1
  51. package/tencentcloud/services/tcr/v20190924/tcr_client.js +1 -1
  52. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +9 -3
  53. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +24 -8
  54. package/tencentcloud/services/trocket/v20230308/trocket_client.js +33 -9
  55. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +359 -34
  56. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
  57. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -13
  58. package/tencentcloud/services/waf/v20180125/waf_client.js +12 -18
  59. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +43 -68
  60. package/test/cdwch.v20200915.test.js +14 -4
  61. package/test/cfw.v20190904.test.js +418 -138
  62. package/test/eb.v20210416.test.js +40 -0
  63. package/test/sqlserver.v20180328.test.js +20 -0
  64. package/test/trocket.v20230308.test.js +42 -2
  65. package/test/waf.v20180125.test.js +14 -24
@@ -28,6 +28,16 @@ it("eb.v20210416.DeleteEventBus", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("eb.v20210416.GetPlatformEventTemplate", async function () {
32
+ try {
33
+ const data = await client.GetPlatformEventTemplate({})
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
+
31
41
  it("eb.v20210416.CreateTransformation", async function () {
32
42
  try {
33
43
  const data = await client.CreateTransformation({})
@@ -68,6 +78,16 @@ it("eb.v20210416.DeleteTarget", async function () {
68
78
  }
69
79
  })
70
80
 
81
+ it("eb.v20210416.ListPlatformEventPatterns", async function () {
82
+ try {
83
+ const data = await client.ListPlatformEventPatterns({})
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
+
71
91
  it("eb.v20210416.ListTargets", async function () {
72
92
  try {
73
93
  const data = await client.ListTargets({})
@@ -88,6 +108,16 @@ it("eb.v20210416.CheckRule", async function () {
88
108
  }
89
109
  })
90
110
 
111
+ it("eb.v20210416.ListPlatformProducts", async function () {
112
+ try {
113
+ const data = await client.ListPlatformProducts({})
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
+
91
121
  it("eb.v20210416.PublishEvent", async function () {
92
122
  try {
93
123
  const data = await client.PublishEvent({})
@@ -148,6 +178,16 @@ it("eb.v20210416.DeleteRule", async function () {
148
178
  }
149
179
  })
150
180
 
181
+ it("eb.v20210416.ListPlatformEventNames", async function () {
182
+ try {
183
+ const data = await client.ListPlatformEventNames({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
151
191
  it("eb.v20210416.UpdateEventBus", async function () {
152
192
  try {
153
193
  const data = await client.UpdateEventBus({})
@@ -518,6 +518,16 @@ it("sqlserver.v20180328.CreateBusinessIntelligenceFile", async function () {
518
518
  }
519
519
  })
520
520
 
521
+ it("sqlserver.v20180328.DescribeHASwitchLog", async function () {
522
+ try {
523
+ const data = await client.DescribeHASwitchLog({})
524
+ expect(data).to.be.ok
525
+ } catch(error) {
526
+ expect(error.requestId).to.be.ok
527
+ expect(error.code).to.be.ok
528
+ }
529
+ })
530
+
521
531
  it("sqlserver.v20180328.StartMigrationCheck", async function () {
522
532
  try {
523
533
  const data = await client.StartMigrationCheck({})
@@ -848,6 +858,16 @@ it("sqlserver.v20180328.CreateReadOnlyDBInstances", async function () {
848
858
  }
849
859
  })
850
860
 
861
+ it("sqlserver.v20180328.SwitchCloudInstanceHA", async function () {
862
+ try {
863
+ const data = await client.SwitchCloudInstanceHA({})
864
+ expect(data).to.be.ok
865
+ } catch(error) {
866
+ expect(error.requestId).to.be.ok
867
+ expect(error.code).to.be.ok
868
+ }
869
+ })
870
+
851
871
  it("sqlserver.v20180328.CreateCloudReadOnlyDBInstances", async function () {
852
872
  try {
853
873
  const data = await client.CreateCloudReadOnlyDBInstances({})
@@ -18,6 +18,46 @@ const client = new tencentcloud.trocket.v20230308.Client({
18
18
  })
19
19
  describe("trocket.v20230308.test.js", function () {
20
20
 
21
+ it("trocket.v20230308.DescribeInstanceList", async function () {
22
+ try {
23
+ const data = await client.DescribeInstanceList({})
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("trocket.v20230308.CreateInstance", async function () {
32
+ try {
33
+ const data = await client.CreateInstance({})
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("trocket.v20230308.DescribeInstance", async function () {
42
+ try {
43
+ const data = await client.DescribeInstance({})
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("trocket.v20230308.DeleteInstance", async function () {
52
+ try {
53
+ const data = await client.DeleteInstance({})
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
+
21
61
  it("trocket.v20230308.DescribeTopicList", async function () {
22
62
  try {
23
63
  const data = await client.DescribeTopicList({})
@@ -28,9 +68,9 @@ it("trocket.v20230308.DescribeTopicList", async function () {
28
68
  }
29
69
  })
30
70
 
31
- it("trocket.v20230308.DescribeInstanceList", async function () {
71
+ it("trocket.v20230308.ModifyInstance", async function () {
32
72
  try {
33
- const data = await client.DescribeInstanceList({})
73
+ const data = await client.ModifyInstance({})
34
74
  expect(data).to.be.ok
35
75
  } catch(error) {
36
76
  expect(error.requestId).to.be.ok
@@ -88,9 +88,9 @@ it("waf.v20180125.DescribeAntiInfoLeakRules", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("waf.v20180125.AddSpartaProtectionsAuto", async function () {
91
+ it("waf.v20180125.ModifyCustomRule", async function () {
92
92
  try {
93
- const data = await client.AddSpartaProtectionsAuto({})
93
+ const data = await client.ModifyCustomRule({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -218,9 +218,9 @@ it("waf.v20180125.DescribeAntiInfoLeakageRules", async function () {
218
218
  }
219
219
  })
220
220
 
221
- it("waf.v20180125.AddSpartaProtectionAuto", async function () {
221
+ it("waf.v20180125.SearchAccessLog", async function () {
222
222
  try {
223
- const data = await client.AddSpartaProtectionAuto({})
223
+ const data = await client.SearchAccessLog({})
224
224
  expect(data).to.be.ok
225
225
  } catch(error) {
226
226
  expect(error.requestId).to.be.ok
@@ -248,16 +248,6 @@ it("waf.v20180125.DescribeIpHitItems", async function () {
248
248
  }
249
249
  })
250
250
 
251
- it("waf.v20180125.SearchAccessLog", async function () {
252
- try {
253
- const data = await client.SearchAccessLog({})
254
- expect(data).to.be.ok
255
- } catch(error) {
256
- expect(error.requestId).to.be.ok
257
- expect(error.code).to.be.ok
258
- }
259
- })
260
-
261
251
  it("waf.v20180125.DeleteAntiInfoLeakRule", async function () {
262
252
  try {
263
253
  const data = await client.DeleteAntiInfoLeakRule({})
@@ -628,16 +618,6 @@ it("waf.v20180125.DeleteDownloadRecord", async function () {
628
618
  }
629
619
  })
630
620
 
631
- it("waf.v20180125.ModifyCustomRule", async function () {
632
- try {
633
- const data = await client.ModifyCustomRule({})
634
- expect(data).to.be.ok
635
- } catch(error) {
636
- expect(error.requestId).to.be.ok
637
- expect(error.code).to.be.ok
638
- }
639
- })
640
-
641
621
  it("waf.v20180125.ModifyBotStatus", async function () {
642
622
  try {
643
623
  const data = await client.ModifyBotStatus({})
@@ -878,6 +858,16 @@ it("waf.v20180125.DeleteDomainWhiteRules", async function () {
878
858
  }
879
859
  })
880
860
 
861
+ it("waf.v20180125.DescribeDomainVerifyResult", async function () {
862
+ try {
863
+ const data = await client.DescribeDomainVerifyResult({})
864
+ expect(data).to.be.ok
865
+ } catch(error) {
866
+ expect(error.requestId).to.be.ok
867
+ expect(error.code).to.be.ok
868
+ }
869
+ })
870
+
881
871
  it("waf.v20180125.CreateAccessExport", async function () {
882
872
  try {
883
873
  const data = await client.CreateAccessExport({})