tencentcloud-sdk-nodejs 4.0.682 → 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.
- package/CHANGELOG.md +337 -0
- package/SERVICE_CHANGELOG.md +369 -166
- package/package.json +1 -1
- package/products.md +17 -17
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/bma/index.ts +2 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/cbs/v20170312/cbs_client.ts +2 -2
- package/src/services/ccc/v20200210/ccc_client.ts +2 -1
- package/src/services/ccc/v20200210/ccc_models.ts +21 -2
- 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 +711 -456
- package/src/services/cfw/v20190904/cfw_models.ts +1815 -305
- package/src/services/cii/index.ts +2 -2
- package/src/services/cloudstudio/index.ts +2 -2
- package/src/services/dts/index.ts +2 -2
- 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 +64 -30
- package/src/services/ess/v20201111/ess_models.ts +381 -214
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/facefusion/v20181201/facefusion_client.ts +4 -2
- package/src/services/iai/index.ts +2 -2
- package/src/services/iai/v20180301/iai_models.ts +21 -25
- package/src/services/iai/v20200303/iai_models.ts +23 -27
- package/src/services/ims/index.ts +2 -2
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotvideo/index.ts +4 -4
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/mrs/v20200910/mrs_models.ts +48 -25
- package/src/services/tem/index.ts +2 -2
- package/src/services/thpc/index.ts +4 -4
- package/src/services/thpc/v20230321/thpc_models.ts +17 -0
- package/src/services/tione/index.ts +2 -2
- package/src/services/tms/index.ts +2 -2
- 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/tsw/index.ts +2 -2
- package/src/services/vm/index.ts +2 -2
- package/src/services/waf/v20180125/waf_client.ts +37 -38
- package/src/services/waf/v20180125/waf_models.ts +73 -73
- package/src/services/yunsou/index.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ams/index.d.ts +4 -4
- package/tencentcloud/services/ams/index.js +2 -2
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +2 -2
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +2 -2
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +20 -2
- 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 +227 -147
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +336 -216
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1815 -360
- package/tencentcloud/services/cii/index.d.ts +4 -4
- package/tencentcloud/services/cii/index.js +2 -2
- package/tencentcloud/services/cloudstudio/index.d.ts +4 -4
- package/tencentcloud/services/cloudstudio/index.js +2 -2
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- 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 +56 -22
- package/tencentcloud/services/ess/v20201111/ess_client.js +56 -22
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +381 -214
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- 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/index.d.ts +4 -4
- package/tencentcloud/services/iai/index.js +2 -2
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +21 -25
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +23 -27
- package/tencentcloud/services/ims/index.d.ts +4 -4
- package/tencentcloud/services/ims/index.js +2 -2
- package/tencentcloud/services/iotcloud/index.d.ts +4 -4
- package/tencentcloud/services/iotcloud/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +6 -6
- package/tencentcloud/services/iotvideo/index.js +4 -4
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +48 -25
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/thpc/index.d.ts +6 -6
- package/tencentcloud/services/thpc/index.js +4 -4
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +17 -0
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/tms/index.d.ts +4 -4
- package/tencentcloud/services/tms/index.js +2 -2
- 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/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -13
- package/tencentcloud/services/waf/v20180125/waf_client.js +18 -18
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +69 -68
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/cdwch.v20200915.test.js +14 -4
- package/test/cfw.v20190904.test.js +340 -140
- package/test/eb.v20210416.test.js +40 -0
- package/test/trocket.v20230308.test.js +42 -2
- package/test/waf.v20180125.test.js +24 -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.
|
|
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({})
|
|
@@ -1018,6 +1008,16 @@ it("waf.v20180125.UpsertSession", async function () {
|
|
|
1018
1008
|
}
|
|
1019
1009
|
})
|
|
1020
1010
|
|
|
1011
|
+
it("waf.v20180125.FreshAntiFakeUrl", async function () {
|
|
1012
|
+
try {
|
|
1013
|
+
const data = await client.FreshAntiFakeUrl({})
|
|
1014
|
+
expect(data).to.be.ok
|
|
1015
|
+
} catch(error) {
|
|
1016
|
+
expect(error.requestId).to.be.ok
|
|
1017
|
+
expect(error.code).to.be.ok
|
|
1018
|
+
}
|
|
1019
|
+
})
|
|
1020
|
+
|
|
1021
1021
|
it("waf.v20180125.AddDomainWhiteRule", async function () {
|
|
1022
1022
|
try {
|
|
1023
1023
|
const data = await client.AddDomainWhiteRule({})
|