tencentcloud-sdk-nodejs 4.0.683 → 4.0.684

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 (51) hide show
  1. package/CHANGELOG.md +196 -0
  2. package/SERVICE_CHANGELOG.md +271 -54
  3. package/package.json +1 -1
  4. package/products.md +10 -10
  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 +711 -456
  9. package/src/services/cfw/v20190904/cfw_models.ts +1815 -305
  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 +40 -16
  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_models.ts +13 -13
  16. package/src/services/iai/v20200303/iai_models.ts +15 -15
  17. package/src/services/trocket/v20230308/trocket_client.ts +68 -17
  18. package/src/services/trocket/v20230308/trocket_models.ts +371 -35
  19. package/src/services/trtc/v20190722/trtc_models.ts +1 -1
  20. package/src/services/waf/v20180125/waf_client.ts +25 -38
  21. package/src/services/waf/v20180125/waf_models.ts +45 -73
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +9 -5
  25. package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +12 -6
  26. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +68 -46
  27. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +227 -147
  28. package/tencentcloud/services/cfw/v20190904/cfw_client.js +336 -216
  29. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1815 -360
  30. package/tencentcloud/services/eb/v20210416/eb_client.d.ts +17 -1
  31. package/tencentcloud/services/eb/v20210416/eb_client.js +24 -0
  32. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +896 -770
  33. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +36 -12
  34. package/tencentcloud/services/ess/v20201111/ess_client.js +36 -12
  35. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +301 -177
  36. package/tencentcloud/services/facefusion/v20181201/facefusion_client.d.ts +3 -1
  37. package/tencentcloud/services/facefusion/v20181201/facefusion_client.js +3 -1
  38. package/tencentcloud/services/iai/v20180301/iai_models.d.ts +13 -13
  39. package/tencentcloud/services/iai/v20200303/iai_models.d.ts +15 -15
  40. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +24 -8
  41. package/tencentcloud/services/trocket/v20230308/trocket_client.js +33 -9
  42. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +359 -34
  43. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
  44. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -13
  45. package/tencentcloud/services/waf/v20180125/waf_client.js +12 -18
  46. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +43 -68
  47. package/test/cdwch.v20200915.test.js +14 -4
  48. package/test/cfw.v20190904.test.js +340 -140
  49. package/test/eb.v20210416.test.js +40 -0
  50. package/test/trocket.v20230308.test.js +42 -2
  51. 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({})
@@ -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({})