tencentcloud-sdk-nodejs 4.0.378 → 4.0.381
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 +530 -0
- package/SERVICE_CHANGELOG.md +885 -103
- package/package.json +1 -1
- package/products.md +45 -44
- package/src/common/sdk_version.ts +1 -1
- package/src/services/acp/v20220105/acp_models.ts +16 -16
- package/src/services/antiddos/v20200309/antiddos_client.ts +25 -0
- package/src/services/antiddos/v20200309/antiddos_models.ts +165 -0
- package/src/services/apm/v20210622/apm_models.ts +25 -10
- package/src/services/cat/v20180409/cat_models.ts +59 -14
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/cdn/v20180606/cdn_client.ts +273 -272
- package/src/services/cdn/v20180606/cdn_models.ts +6322 -6296
- package/src/services/clb/v20180317/clb_client.ts +2 -2
- package/src/services/clb/v20180317/clb_models.ts +2 -2
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +2 -2
- package/src/services/cls/v20201016/cls_client.ts +1 -0
- package/src/services/cls/v20201016/cls_models.ts +21 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +40 -1
- package/src/services/cpdp/v20190820/cpdp_models.ts +352 -11
- package/src/services/cvm/v20170312/cvm_client.ts +0 -2
- package/src/services/cvm/v20170312/cvm_models.ts +11 -1
- package/src/services/cwp/v20180228/cwp_models.ts +12 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +24 -9
- package/src/services/dlc/v20210125/dlc_models.ts +46 -2
- package/src/services/emr/v20190103/emr_models.ts +5 -0
- package/src/services/es/v20180416/es_client.ts +247 -78
- package/src/services/es/v20180416/es_models.ts +2070 -1136
- package/src/services/ess/v20201111/ess_models.ts +6 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +5 -3
- package/src/services/faceid/v20180301/faceid_client.ts +3 -16
- package/src/services/faceid/v20180301/faceid_models.ts +59 -103
- package/src/services/gaap/v20180529/gaap_client.ts +25 -1
- package/src/services/gaap/v20180529/gaap_models.ts +78 -32
- package/src/services/gpm/v20200820/gpm_client.ts +72 -36
- package/src/services/gse/v20191112/gse_client.ts +288 -140
- package/src/services/iai/v20180301/iai_client.ts +11 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotvideo/index.ts +2 -0
- package/src/services/iotvideo/v20211125/index.ts +6 -0
- package/src/services/iotvideo/v20211125/iotvideo_client.ts +107 -0
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +448 -0
- package/src/services/irp/index.ts +5 -0
- package/src/services/irp/v20220324/index.ts +6 -0
- package/src/services/irp/v20220324/irp_client.ts +87 -0
- package/src/services/irp/v20220324/irp_models.ts +708 -0
- package/src/services/live/v20180801/live_client.ts +28 -89
- package/src/services/live/v20180801/live_models.ts +235 -406
- package/src/services/mgobe/v20201014/mgobe_client.ts +28 -14
- package/src/services/mmps/v20200710/mmps_models.ts +6 -6
- package/src/services/monitor/v20180724/monitor_models.ts +27 -12
- package/src/services/oceanus/v20190422/oceanus_client.ts +140 -99
- package/src/services/oceanus/v20190422/oceanus_models.ts +435 -54
- package/src/services/ocr/v20181119/ocr_client.ts +0 -1
- package/src/services/ocr/v20181119/ocr_models.ts +17 -7
- package/src/services/redis/v20180412/redis_models.ts +21 -1
- package/src/services/rum/v20210622/rum_models.ts +26 -1
- package/src/services/ssl/v20191205/ssl_models.ts +12 -1
- package/src/services/tan/v20220420/tan_client.ts +1 -1
- package/src/services/tem/v20210701/tem_models.ts +9 -3
- package/src/services/teo/v20220106/teo_client.ts +2 -1
- package/src/services/teo/v20220106/teo_models.ts +44 -8
- package/src/services/tke/v20180525/tke_models.ts +8 -1
- package/src/services/trtc/v20190722/trtc_client.ts +130 -142
- package/src/services/trtc/v20190722/trtc_models.ts +0 -63
- package/src/services/tse/v20201207/tse_models.ts +16 -0
- package/src/services/vod/v20180717/vod_models.ts +43 -12
- package/src/services/waf/v20180125/waf_client.ts +14 -28
- package/src/services/waf/v20180125/waf_models.ts +27 -147
- package/src/services/yinsuda/v20220527/yinsuda_models.ts +10 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/acp/v20220105/acp_models.d.ts +16 -16
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +9 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +12 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +137 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +23 -10
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +45 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +5485 -5463
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +2 -2
- package/tencentcloud/services/clb/v20180317/clb_client.js +2 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -2
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +2 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +18 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +14 -2
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +19 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +297 -8
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +0 -2
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +0 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +9 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +10 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +21 -9
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +38 -2
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +4 -0
- package/tencentcloud/services/es/v20180416/es_client.d.ts +66 -9
- package/tencentcloud/services/es/v20180416/es_client.js +95 -12
- package/tencentcloud/services/es/v20180416/es_models.d.ts +2021 -1235
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +5 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -3
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -6
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +0 -7
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +50 -87
- package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +9 -1
- package/tencentcloud/services/gaap/v20180529/gaap_client.js +12 -0
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +66 -27
- package/tencentcloud/services/gpm/v20200820/gpm_client.d.ts +54 -18
- package/tencentcloud/services/gpm/v20200820/gpm_client.js +54 -18
- package/tencentcloud/services/gse/v20191112/gse_client.d.ts +222 -74
- package/tencentcloud/services/gse/v20191112/gse_client.js +222 -74
- package/tencentcloud/services/iai/v20180301/iai_client.d.ts +10 -0
- package/tencentcloud/services/iai/v20180301/iai_client.js +10 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotvideo/index.d.ts +4 -0
- package/tencentcloud/services/iotvideo/index.js +2 -0
- package/tencentcloud/services/iotvideo/v20211125/index.d.ts +6 -0
- package/tencentcloud/services/iotvideo/v20211125/index.js +9 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +34 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +67 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +365 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.js +18 -0
- package/tencentcloud/services/irp/index.d.ts +6 -0
- package/tencentcloud/services/irp/index.js +7 -0
- package/tencentcloud/services/irp/v20220324/index.d.ts +6 -0
- package/tencentcloud/services/irp/v20220324/index.js +9 -0
- package/tencentcloud/services/irp/v20220324/irp_client.d.ts +26 -0
- package/tencentcloud/services/irp/v20220324/irp_client.js +55 -0
- package/tencentcloud/services/irp/v20220324/irp_models.d.ts +572 -0
- package/tencentcloud/services/irp/v20220324/irp_models.js +18 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +7 -28
- package/tencentcloud/services/live/v20180801/live_client.js +8 -39
- package/tencentcloud/services/live/v20180801/live_models.d.ts +207 -354
- package/tencentcloud/services/mgobe/v20201014/mgobe_client.d.ts +21 -7
- package/tencentcloud/services/mgobe/v20201014/mgobe_client.js +21 -7
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +6 -6
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +22 -10
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +49 -37
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +72 -54
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +366 -46
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +14 -6
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +17 -1
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +21 -1
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -1
- package/tencentcloud/services/tan/v20220420/tan_client.d.ts +1 -1
- package/tencentcloud/services/tan/v20220420/tan_client.js +1 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +7 -2
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +37 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +7 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +55 -59
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +75 -81
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -54
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +13 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +38 -11
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -9
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -12
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +24 -124
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +8 -0
- package/test/antiddos.v20200309.test.js +20 -0
- package/test/cpdp.v20190820.test.js +30 -0
- package/test/es.v20180416.test.js +138 -8
- package/test/faceid.v20180301.test.js +0 -10
- package/test/gaap.v20180529.test.js +20 -0
- package/test/iotvideo.v20211125.test.js +81 -0
- package/test/irp.v20220324.test.js +61 -0
- package/test/live.v20180801.test.js +4 -54
- package/test/oceanus.v20190422.test.js +64 -34
- package/test/trtc.v20190722.test.js +38 -48
- package/test/waf.v20180125.test.js +4 -14
|
@@ -28,6 +28,26 @@ it("es.v20180416.DiagnoseInstance", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("es.v20180416.DeleteLogstashInstance", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DeleteLogstashInstance({})
|
|
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("es.v20180416.UpdateIndex", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.UpdateIndex({})
|
|
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
|
+
|
|
31
51
|
it("es.v20180416.GetRequestTargetNodeTypes", async function () {
|
|
32
52
|
try {
|
|
33
53
|
const data = await client.GetRequestTargetNodeTypes({})
|
|
@@ -38,6 +58,16 @@ it("es.v20180416.GetRequestTargetNodeTypes", async function () {
|
|
|
38
58
|
}
|
|
39
59
|
})
|
|
40
60
|
|
|
61
|
+
it("es.v20180416.StopLogstashPipelines", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.StopLogstashPipelines({})
|
|
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
|
+
|
|
41
71
|
it("es.v20180416.DescribeIndexList", async function () {
|
|
42
72
|
try {
|
|
43
73
|
const data = await client.DescribeIndexList({})
|
|
@@ -68,6 +98,16 @@ it("es.v20180416.CreateIndex", async function () {
|
|
|
68
98
|
}
|
|
69
99
|
})
|
|
70
100
|
|
|
101
|
+
it("es.v20180416.UpdateRequestTargetNodeTypes", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.UpdateRequestTargetNodeTypes({})
|
|
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
|
+
|
|
71
111
|
it("es.v20180416.UpdateDiagnoseSettings", async function () {
|
|
72
112
|
try {
|
|
73
113
|
const data = await client.UpdateDiagnoseSettings({})
|
|
@@ -98,6 +138,16 @@ it("es.v20180416.UpdatePlugins", async function () {
|
|
|
98
138
|
}
|
|
99
139
|
})
|
|
100
140
|
|
|
141
|
+
it("es.v20180416.UpdateLogstashInstance", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.UpdateLogstashInstance({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
101
151
|
it("es.v20180416.UpdateJdk", async function () {
|
|
102
152
|
try {
|
|
103
153
|
const data = await client.UpdateJdk({})
|
|
@@ -118,6 +168,16 @@ it("es.v20180416.UpdateInstance", async function () {
|
|
|
118
168
|
}
|
|
119
169
|
})
|
|
120
170
|
|
|
171
|
+
it("es.v20180416.CreateLogstashInstance", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.CreateLogstashInstance({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
121
181
|
it("es.v20180416.RestartInstance", async function () {
|
|
122
182
|
try {
|
|
123
183
|
const data = await client.RestartInstance({})
|
|
@@ -148,9 +208,9 @@ it("es.v20180416.RestartKibana", async function () {
|
|
|
148
208
|
}
|
|
149
209
|
})
|
|
150
210
|
|
|
151
|
-
it("es.v20180416.
|
|
211
|
+
it("es.v20180416.SaveAndDeployLogstashPipeline", async function () {
|
|
152
212
|
try {
|
|
153
|
-
const data = await client.
|
|
213
|
+
const data = await client.SaveAndDeployLogstashPipeline({})
|
|
154
214
|
expect(data).to.be.ok
|
|
155
215
|
} catch(error) {
|
|
156
216
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +218,19 @@ it("es.v20180416.UpdateDictionaries", async function () {
|
|
|
158
218
|
}
|
|
159
219
|
})
|
|
160
220
|
|
|
161
|
-
it("es.v20180416.
|
|
221
|
+
it("es.v20180416.DescribeLogstashInstanceOperations", async function () {
|
|
162
222
|
try {
|
|
163
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeLogstashInstanceOperations({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
231
|
+
it("es.v20180416.StartLogstashPipelines", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.StartLogstashPipelines({})
|
|
164
234
|
expect(data).to.be.ok
|
|
165
235
|
} catch(error) {
|
|
166
236
|
expect(error.requestId).to.be.ok
|
|
@@ -178,6 +248,36 @@ it("es.v20180416.DescribeInstanceOperations", async function () {
|
|
|
178
248
|
}
|
|
179
249
|
})
|
|
180
250
|
|
|
251
|
+
it("es.v20180416.DescribeLogstashPipelines", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeLogstashPipelines({})
|
|
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
|
+
it("es.v20180416.DescribeLogstashInstances", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeLogstashInstances({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
271
|
+
it("es.v20180416.UpdateLogstashPipelineDesc", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.UpdateLogstashPipelineDesc({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
181
281
|
it("es.v20180416.DescribeViews", async function () {
|
|
182
282
|
try {
|
|
183
283
|
const data = await client.DescribeViews({})
|
|
@@ -198,9 +298,19 @@ it("es.v20180416.CreateInstance", async function () {
|
|
|
198
298
|
}
|
|
199
299
|
})
|
|
200
300
|
|
|
201
|
-
it("es.v20180416.
|
|
301
|
+
it("es.v20180416.UpgradeInstance", async function () {
|
|
202
302
|
try {
|
|
203
|
-
const data = await client.
|
|
303
|
+
const data = await client.UpgradeInstance({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("es.v20180416.DeleteLogstashPipelines", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.DeleteLogstashPipelines({})
|
|
204
314
|
expect(data).to.be.ok
|
|
205
315
|
} catch(error) {
|
|
206
316
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +338,29 @@ it("es.v20180416.DeleteIndex", async function () {
|
|
|
228
338
|
}
|
|
229
339
|
})
|
|
230
340
|
|
|
231
|
-
it("es.v20180416.
|
|
341
|
+
it("es.v20180416.RestartLogstashInstance", async function () {
|
|
232
342
|
try {
|
|
233
|
-
const data = await client.
|
|
343
|
+
const data = await client.RestartLogstashInstance({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
351
|
+
it("es.v20180416.DescribeLogstashInstanceLogs", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.DescribeLogstashInstanceLogs({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
361
|
+
it("es.v20180416.UpdateDictionaries", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.UpdateDictionaries({})
|
|
234
364
|
expect(data).to.be.ok
|
|
235
365
|
} catch(error) {
|
|
236
366
|
expect(error.requestId).to.be.ok
|
|
@@ -228,16 +228,6 @@ it("faceid.v20180301.MinorsVerification", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
-
it("faceid.v20180301.DetectReflectLivenessAndCompare", async function () {
|
|
232
|
-
try {
|
|
233
|
-
const data = await client.DetectReflectLivenessAndCompare({})
|
|
234
|
-
expect(data).to.be.ok
|
|
235
|
-
} catch(error) {
|
|
236
|
-
expect(error.requestId).to.be.ok
|
|
237
|
-
expect(error.code).to.be.ok
|
|
238
|
-
}
|
|
239
|
-
})
|
|
240
|
-
|
|
241
231
|
it("faceid.v20180301.CheckIdNameDate", async function () {
|
|
242
232
|
try {
|
|
243
233
|
const data = await client.CheckIdNameDate({})
|
|
@@ -108,6 +108,16 @@ it("gaap.v20180529.CreateCustomHeader", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("gaap.v20180529.DescribeCrossBorderProxies", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeCrossBorderProxies({})
|
|
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
|
+
|
|
111
121
|
it("gaap.v20180529.DescribeGroupAndStatisticsProxy", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.DescribeGroupAndStatisticsProxy({})
|
|
@@ -828,6 +838,16 @@ it("gaap.v20180529.DescribeDomainErrorPageInfo", async function () {
|
|
|
828
838
|
}
|
|
829
839
|
})
|
|
830
840
|
|
|
841
|
+
it("gaap.v20180529.BanAndRecoverProxy", async function () {
|
|
842
|
+
try {
|
|
843
|
+
const data = await client.BanAndRecoverProxy({})
|
|
844
|
+
expect(data).to.be.ok
|
|
845
|
+
} catch(error) {
|
|
846
|
+
expect(error.requestId).to.be.ok
|
|
847
|
+
expect(error.code).to.be.ok
|
|
848
|
+
}
|
|
849
|
+
})
|
|
850
|
+
|
|
831
851
|
it("gaap.v20180529.ModifyProxyGroupAttribute", async function () {
|
|
832
852
|
try {
|
|
833
853
|
const data = await client.ModifyProxyGroupAttribute({})
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.iotvideo.v20211125.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("iotvideo.v20211125.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("iotvideo.v20211125.DescribeMessageDataStats", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeMessageDataStats({})
|
|
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("iotvideo.v20211125.CreateProduct", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateProduct({})
|
|
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("iotvideo.v20211125.DescribeDeviceDataStats", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeDeviceDataStats({})
|
|
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("iotvideo.v20211125.GenSingleDeviceSignatureOfPublic", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.GenSingleDeviceSignatureOfPublic({})
|
|
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("iotvideo.v20211125.CallDeviceActionAsync", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CallDeviceActionAsync({})
|
|
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("iotvideo.v20211125.CallDeviceActionSync", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CallDeviceActionSync({})
|
|
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
|
+
})
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.irp.v20220324.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("irp.v20220324.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("irp.v20220324.RecommendContent", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.RecommendContent({})
|
|
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("irp.v20220324.ReportMaterial", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ReportMaterial({})
|
|
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("irp.v20220324.ReportAction", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ReportAction({})
|
|
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("irp.v20220324.ReportPortrait", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.ReportPortrait({})
|
|
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
|
+
})
|
|
@@ -108,9 +108,9 @@ it("live.v20180801.DescribeLiveStreamEventList", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("live.v20180801.
|
|
111
|
+
it("live.v20180801.DescribePullStreamConfigs", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.DescribePullStreamConfigs({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -228,16 +228,6 @@ it("live.v20180801.DescribeLiveRecordTemplates", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
-
it("live.v20180801.ModifyLiveDomainCert", async function () {
|
|
232
|
-
try {
|
|
233
|
-
const data = await client.ModifyLiveDomainCert({})
|
|
234
|
-
expect(data).to.be.ok
|
|
235
|
-
} catch(error) {
|
|
236
|
-
expect(error.requestId).to.be.ok
|
|
237
|
-
expect(error.code).to.be.ok
|
|
238
|
-
}
|
|
239
|
-
})
|
|
240
|
-
|
|
241
231
|
it("live.v20180801.DescribeVisitTopSumInfoList", async function () {
|
|
242
232
|
try {
|
|
243
233
|
const data = await client.DescribeVisitTopSumInfoList({})
|
|
@@ -388,9 +378,9 @@ it("live.v20180801.StopScreenshotTask", async function () {
|
|
|
388
378
|
}
|
|
389
379
|
})
|
|
390
380
|
|
|
391
|
-
it("live.v20180801.
|
|
381
|
+
it("live.v20180801.CreateCommonMixStream", async function () {
|
|
392
382
|
try {
|
|
393
|
-
const data = await client.
|
|
383
|
+
const data = await client.CreateCommonMixStream({})
|
|
394
384
|
expect(data).to.be.ok
|
|
395
385
|
} catch(error) {
|
|
396
386
|
expect(error.requestId).to.be.ok
|
|
@@ -538,16 +528,6 @@ it("live.v20180801.DescribeLiveCert", async function () {
|
|
|
538
528
|
}
|
|
539
529
|
})
|
|
540
530
|
|
|
541
|
-
it("live.v20180801.ModifyLiveCert", async function () {
|
|
542
|
-
try {
|
|
543
|
-
const data = await client.ModifyLiveCert({})
|
|
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
|
-
|
|
551
531
|
it("live.v20180801.DescribeLiveDomains", async function () {
|
|
552
532
|
try {
|
|
553
533
|
const data = await client.DescribeLiveDomains({})
|
|
@@ -568,16 +548,6 @@ it("live.v20180801.ModifyLivePullStreamTask", async function () {
|
|
|
568
548
|
}
|
|
569
549
|
})
|
|
570
550
|
|
|
571
|
-
it("live.v20180801.DeleteLiveCert", async function () {
|
|
572
|
-
try {
|
|
573
|
-
const data = await client.DeleteLiveCert({})
|
|
574
|
-
expect(data).to.be.ok
|
|
575
|
-
} catch(error) {
|
|
576
|
-
expect(error.requestId).to.be.ok
|
|
577
|
-
expect(error.code).to.be.ok
|
|
578
|
-
}
|
|
579
|
-
})
|
|
580
|
-
|
|
581
551
|
it("live.v20180801.CreateLiveCallbackTemplate", async function () {
|
|
582
552
|
try {
|
|
583
553
|
const data = await client.CreateLiveCallbackTemplate({})
|
|
@@ -658,16 +628,6 @@ it("live.v20180801.DescribeStreamPlayInfoList", async function () {
|
|
|
658
628
|
}
|
|
659
629
|
})
|
|
660
630
|
|
|
661
|
-
it("live.v20180801.CreateLiveCert", async function () {
|
|
662
|
-
try {
|
|
663
|
-
const data = await client.CreateLiveCert({})
|
|
664
|
-
expect(data).to.be.ok
|
|
665
|
-
} catch(error) {
|
|
666
|
-
expect(error.requestId).to.be.ok
|
|
667
|
-
expect(error.code).to.be.ok
|
|
668
|
-
}
|
|
669
|
-
})
|
|
670
|
-
|
|
671
631
|
it("live.v20180801.DescribeLiveTranscodeRules", async function () {
|
|
672
632
|
try {
|
|
673
633
|
const data = await client.DescribeLiveTranscodeRules({})
|
|
@@ -848,16 +808,6 @@ it("live.v20180801.CreateLiveCallbackRule", async function () {
|
|
|
848
808
|
}
|
|
849
809
|
})
|
|
850
810
|
|
|
851
|
-
it("live.v20180801.BindLiveDomainCert", async function () {
|
|
852
|
-
try {
|
|
853
|
-
const data = await client.BindLiveDomainCert({})
|
|
854
|
-
expect(data).to.be.ok
|
|
855
|
-
} catch(error) {
|
|
856
|
-
expect(error.requestId).to.be.ok
|
|
857
|
-
expect(error.code).to.be.ok
|
|
858
|
-
}
|
|
859
|
-
})
|
|
860
|
-
|
|
861
811
|
it("live.v20180801.DescribeLiveCallbackRules", async function () {
|
|
862
812
|
try {
|
|
863
813
|
const data = await client.DescribeLiveCallbackRules({})
|