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.
- package/CHANGELOG.md +266 -0
- package/SERVICE_CHANGELOG.md +247 -100
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdwch/v20200915/cdwch_client.ts +27 -15
- package/src/services/cdwch/v20200915/cdwch_models.ts +70 -46
- package/src/services/cfw/v20190904/cfw_client.ts +849 -496
- package/src/services/cfw/v20190904/cfw_models.ts +2327 -381
- package/src/services/eb/v20210416/eb_client.ts +110 -59
- package/src/services/eb/v20210416/eb_models.ts +917 -780
- package/src/services/ess/v20201111/ess_client.ts +45 -20
- package/src/services/ess/v20201111/ess_models.ts +301 -177
- package/src/services/facefusion/v20181201/facefusion_client.ts +4 -2
- package/src/services/iai/v20180301/iai_client.ts +0 -2
- package/src/services/iai/v20180301/iai_models.ts +26 -30
- package/src/services/iai/v20200303/iai_models.ts +16 -20
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +25 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +107 -0
- package/src/services/tcr/v20190924/tcr_client.ts +1 -1
- package/src/services/tcr/v20190924/tcr_models.ts +9 -3
- package/src/services/trocket/v20230308/trocket_client.ts +68 -17
- package/src/services/trocket/v20230308/trocket_models.ts +371 -35
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/waf/v20180125/waf_client.ts +25 -38
- package/src/services/waf/v20180125/waf_models.ts +45 -73
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +9 -5
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +12 -6
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +68 -46
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +258 -146
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +382 -214
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +2197 -324
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +17 -1
- package/tencentcloud/services/eb/v20210416/eb_client.js +24 -0
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +896 -770
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +41 -16
- package/tencentcloud/services/ess/v20201111/ess_client.js +41 -16
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +301 -177
- package/tencentcloud/services/facefusion/v20181201/facefusion_client.d.ts +3 -1
- package/tencentcloud/services/facefusion/v20181201/facefusion_client.js +3 -1
- package/tencentcloud/services/iai/v20180301/iai_client.d.ts +0 -2
- package/tencentcloud/services/iai/v20180301/iai_client.js +0 -2
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +26 -30
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +16 -20
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +9 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +12 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +102 -0
- package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +1 -1
- package/tencentcloud/services/tcr/v20190924/tcr_client.js +1 -1
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +9 -3
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +24 -8
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +33 -9
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +359 -34
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -13
- package/tencentcloud/services/waf/v20180125/waf_client.js +12 -18
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +43 -68
- package/test/cdwch.v20200915.test.js +14 -4
- package/test/cfw.v20190904.test.js +418 -138
- package/test/eb.v20210416.test.js +40 -0
- package/test/sqlserver.v20180328.test.js +20 -0
- package/test/trocket.v20230308.test.js +42 -2
- 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.
|
|
71
|
+
it("trocket.v20230308.ModifyInstance", async function () {
|
|
32
72
|
try {
|
|
33
|
-
const data = await client.
|
|
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.
|
|
91
|
+
it("waf.v20180125.ModifyCustomRule", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
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.
|
|
221
|
+
it("waf.v20180125.SearchAccessLog", async function () {
|
|
222
222
|
try {
|
|
223
|
-
const data = await client.
|
|
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({})
|