tencentcloud-sdk-nodejs 4.0.459 → 4.0.461
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 +405 -0
- package/SERVICE_CHANGELOG.md +460 -47
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20210624/bma_client.ts +14 -2
- package/src/services/bma/v20210624/bma_models.ts +204 -134
- package/src/services/cbs/v20170312/cbs_models.ts +18 -18
- package/src/services/ckafka/v20190819/ckafka_client.ts +1 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +64 -0
- package/src/services/cpdp/v20190820/cpdp_models.ts +30 -0
- package/src/services/cwp/v20180228/cwp_models.ts +2 -2
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +67 -16
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +572 -199
- package/src/services/dc/v20180410/dc_models.ts +6 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +7 -20
- package/src/services/essbasic/v20210526/essbasic_models.ts +0 -35
- package/src/services/faceid/v20180301/faceid_client.ts +189 -62
- package/src/services/faceid/v20180301/faceid_models.ts +2264 -1531
- package/src/services/lcic/v20220817/lcic_client.ts +25 -0
- package/src/services/lcic/v20220817/lcic_models.ts +121 -0
- package/src/services/redis/v20180412/redis_models.ts +87 -51
- package/src/services/ssl/v20191205/ssl_models.ts +5 -0
- package/src/services/tdcpg/v20211118/tdcpg_models.ts +22 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/trp/v20210515/trp_client.ts +189 -67
- package/src/services/trp/v20210515/trp_models.ts +1152 -682
- package/src/services/trtc/v20190722/trtc_client.ts +205 -62
- package/src/services/trtc/v20190722/trtc_models.ts +858 -84
- package/src/services/vod/v20180717/vod_models.ts +2 -2
- package/src/services/wedata/v20210820/wedata_client.ts +116 -40
- package/src/services/wedata/v20210820/wedata_models.ts +646 -166
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +5 -1
- package/tencentcloud/services/bma/v20210624/bma_client.js +6 -0
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +188 -130
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +17 -17
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +54 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +25 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +19 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +27 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +480 -168
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +5 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -10
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +0 -30
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +46 -3
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +66 -3
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2142 -1511
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +9 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +12 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +103 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +81 -51
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +4 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +19 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +47 -7
- package/tencentcloud/services/trp/v20210515/trp_client.js +69 -9
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +999 -598
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +106 -39
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +126 -45
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +771 -114
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +2 -2
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +36 -12
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +51 -15
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +554 -149
- package/test/bma.v20210624.test.js +10 -0
- package/test/cynosdb.v20190107.test.js +42 -2
- package/test/essbasic.v20210526.test.js +2 -12
- package/test/faceid.v20180301.test.js +102 -2
- package/test/lcic.v20220817.test.js +20 -0
- package/test/trp.v20210515.test.js +106 -6
- package/test/trtc.v20190722.test.js +76 -6
- package/test/wedata.v20210820.test.js +68 -8
|
@@ -108,6 +108,16 @@ it("bma.v20210624.ModifyBPOfflineAttachment", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("bma.v20210624.CreateCRObtain", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.CreateCRObtain({})
|
|
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("bma.v20210624.ModifyCRMonitor", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.ModifyCRMonitor({})
|
|
@@ -148,9 +148,9 @@ it("cynosdb.v20190107.ModifyBackupName", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("cynosdb.v20190107.
|
|
151
|
+
it("cynosdb.v20190107.DeleteAuditLogFile", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.DeleteAuditLogFile({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -228,6 +228,16 @@ it("cynosdb.v20190107.ModifyMaintainPeriodConfig", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
+
it("cynosdb.v20190107.DescribeAuditLogs", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeAuditLogs({})
|
|
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
|
+
|
|
231
241
|
it("cynosdb.v20190107.ModifyClusterSlaveZone", async function () {
|
|
232
242
|
try {
|
|
233
243
|
const data = await client.ModifyClusterSlaveZone({})
|
|
@@ -308,6 +318,16 @@ it("cynosdb.v20190107.DescribeClusters", async function () {
|
|
|
308
318
|
}
|
|
309
319
|
})
|
|
310
320
|
|
|
321
|
+
it("cynosdb.v20190107.CreateAuditLogFile", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.CreateAuditLogFile({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
311
331
|
it("cynosdb.v20190107.IsolateCluster", async function () {
|
|
312
332
|
try {
|
|
313
333
|
const data = await client.IsolateCluster({})
|
|
@@ -358,6 +378,16 @@ it("cynosdb.v20190107.RemoveClusterSlaveZone", async function () {
|
|
|
358
378
|
}
|
|
359
379
|
})
|
|
360
380
|
|
|
381
|
+
it("cynosdb.v20190107.ModifyClusterName", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.ModifyClusterName({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
361
391
|
it("cynosdb.v20190107.DescribeClusterDetail", async function () {
|
|
362
392
|
try {
|
|
363
393
|
const data = await client.DescribeClusterDetail({})
|
|
@@ -538,6 +568,16 @@ it("cynosdb.v20190107.DescribeDBSecurityGroups", async function () {
|
|
|
538
568
|
}
|
|
539
569
|
})
|
|
540
570
|
|
|
571
|
+
it("cynosdb.v20190107.DescribeAuditLogFiles", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.DescribeAuditLogFiles({})
|
|
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
|
+
|
|
541
581
|
it("cynosdb.v20190107.ExportInstanceSlowQueries", async function () {
|
|
542
582
|
try {
|
|
543
583
|
const data = await client.ExportInstanceSlowQueries({})
|
|
@@ -138,9 +138,9 @@ it("essbasic.v20210526.ChannelGetTaskResultApi", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("essbasic.v20210526.
|
|
141
|
+
it("essbasic.v20210526.SyncProxyOrganization", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.SyncProxyOrganization({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -238,16 +238,6 @@ it("essbasic.v20210526.UploadFiles", async function () {
|
|
|
238
238
|
}
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
-
it("essbasic.v20210526.SyncProxyOrganization", async function () {
|
|
242
|
-
try {
|
|
243
|
-
const data = await client.SyncProxyOrganization({})
|
|
244
|
-
expect(data).to.be.ok
|
|
245
|
-
} catch(error) {
|
|
246
|
-
expect(error.requestId).to.be.ok
|
|
247
|
-
expect(error.code).to.be.ok
|
|
248
|
-
}
|
|
249
|
-
})
|
|
250
|
-
|
|
251
241
|
it("essbasic.v20210526.OperateChannelTemplate", async function () {
|
|
252
242
|
try {
|
|
253
243
|
const data = await client.OperateChannelTemplate({})
|
|
@@ -28,6 +28,16 @@ it("faceid.v20180301.GetLiveCode", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("faceid.v20180301.VideoLivenessCompare", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.VideoLivenessCompare({})
|
|
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("faceid.v20180301.GetActionSequence", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.GetActionSequence({})
|
|
@@ -68,6 +78,16 @@ it("faceid.v20180301.CheckEidTokenStatus", async function () {
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
81
|
+
it("faceid.v20180301.CreateUploadUrl", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CreateUploadUrl({})
|
|
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("faceid.v20180301.BankCard4EVerification", async function () {
|
|
72
92
|
try {
|
|
73
93
|
const data = await client.BankCard4EVerification({})
|
|
@@ -118,6 +138,16 @@ it("faceid.v20180301.CheckPhoneAndName", async function () {
|
|
|
118
138
|
}
|
|
119
139
|
})
|
|
120
140
|
|
|
141
|
+
it("faceid.v20180301.ApplyLivenessToken", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ApplyLivenessToken({})
|
|
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
|
+
|
|
121
151
|
it("faceid.v20180301.BankCardVerification", async function () {
|
|
122
152
|
try {
|
|
123
153
|
const data = await client.BankCardVerification({})
|
|
@@ -128,6 +158,16 @@ it("faceid.v20180301.BankCardVerification", async function () {
|
|
|
128
158
|
}
|
|
129
159
|
})
|
|
130
160
|
|
|
161
|
+
it("faceid.v20180301.ApplySdkVerificationToken", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.ApplySdkVerificationToken({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
131
171
|
it("faceid.v20180301.LivenessCompare", async function () {
|
|
132
172
|
try {
|
|
133
173
|
const data = await client.LivenessCompare({})
|
|
@@ -138,6 +178,26 @@ it("faceid.v20180301.LivenessCompare", async function () {
|
|
|
138
178
|
}
|
|
139
179
|
})
|
|
140
180
|
|
|
181
|
+
it("faceid.v20180301.GenerateReflectSequence", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.GenerateReflectSequence({})
|
|
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
|
+
|
|
191
|
+
it("faceid.v20180301.GetSdkVerificationResult", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.GetSdkVerificationResult({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
141
201
|
it("faceid.v20180301.GetRealNameAuthToken", async function () {
|
|
142
202
|
try {
|
|
143
203
|
const data = await client.GetRealNameAuthToken({})
|
|
@@ -188,9 +248,9 @@ it("faceid.v20180301.GetEidToken", async function () {
|
|
|
188
248
|
}
|
|
189
249
|
})
|
|
190
250
|
|
|
191
|
-
it("faceid.v20180301.
|
|
251
|
+
it("faceid.v20180301.GetWebVerificationResult", async function () {
|
|
192
252
|
try {
|
|
193
|
-
const data = await client.
|
|
253
|
+
const data = await client.GetWebVerificationResult({})
|
|
194
254
|
expect(data).to.be.ok
|
|
195
255
|
} catch(error) {
|
|
196
256
|
expect(error.requestId).to.be.ok
|
|
@@ -228,6 +288,16 @@ it("faceid.v20180301.MinorsVerification", async function () {
|
|
|
228
288
|
}
|
|
229
289
|
})
|
|
230
290
|
|
|
291
|
+
it("faceid.v20180301.DetectReflectLivenessAndCompare", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DetectReflectLivenessAndCompare({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
231
301
|
it("faceid.v20180301.CheckIdNameDate", async function () {
|
|
232
302
|
try {
|
|
233
303
|
const data = await client.CheckIdNameDate({})
|
|
@@ -328,6 +398,16 @@ it("faceid.v20180301.CheckBankCardInformation", async function () {
|
|
|
328
398
|
}
|
|
329
399
|
})
|
|
330
400
|
|
|
401
|
+
it("faceid.v20180301.ApplyWebVerificationToken", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.ApplyWebVerificationToken({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
331
411
|
it("faceid.v20180301.GetDetectInfo", async function () {
|
|
332
412
|
try {
|
|
333
413
|
const data = await client.GetDetectInfo({})
|
|
@@ -348,6 +428,16 @@ it("faceid.v20180301.BankCard2EVerification", async function () {
|
|
|
348
428
|
}
|
|
349
429
|
})
|
|
350
430
|
|
|
431
|
+
it("faceid.v20180301.PhoneVerification", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.PhoneVerification({})
|
|
434
|
+
expect(data).to.be.ok
|
|
435
|
+
} catch(error) {
|
|
436
|
+
expect(error.requestId).to.be.ok
|
|
437
|
+
expect(error.code).to.be.ok
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
|
|
351
441
|
it("faceid.v20180301.PhoneVerificationCTCC", async function () {
|
|
352
442
|
try {
|
|
353
443
|
const data = await client.PhoneVerificationCTCC({})
|
|
@@ -368,4 +458,14 @@ it("faceid.v20180301.GetRealNameAuthResult", async function () {
|
|
|
368
458
|
}
|
|
369
459
|
})
|
|
370
460
|
|
|
461
|
+
it("faceid.v20180301.GetLivenessResult", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.GetLivenessResult({})
|
|
464
|
+
expect(data).to.be.ok
|
|
465
|
+
} catch(error) {
|
|
466
|
+
expect(error.requestId).to.be.ok
|
|
467
|
+
expect(error.code).to.be.ok
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
|
|
371
471
|
})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.lcic.v20220817.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("lcic.v20220817.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("lcic.v20220817.CreateDocument", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateDocument({})
|
|
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
|
+
|
|
21
31
|
it("lcic.v20220817.DescribeUser", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeUser({})
|
|
@@ -68,6 +78,16 @@ it("lcic.v20220817.CreateSupervisor", async function () {
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
81
|
+
it("lcic.v20220817.SetAppCustomContent", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.SetAppCustomContent({})
|
|
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("lcic.v20220817.DescribeRoom", async function () {
|
|
72
92
|
try {
|
|
73
93
|
const data = await client.DescribeRoom({})
|
|
@@ -28,6 +28,16 @@ it("trp.v20210515.DescribeTraceCodeById", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("trp.v20210515.DescribeCustomRules", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeCustomRules({})
|
|
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("trp.v20210515.ModifyTraceDataRanks", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.ModifyTraceDataRanks({})
|
|
@@ -38,9 +48,19 @@ it("trp.v20210515.ModifyTraceDataRanks", async function () {
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
41
|
-
it("trp.v20210515.
|
|
51
|
+
it("trp.v20210515.DescribeCustomRuleById", async function () {
|
|
42
52
|
try {
|
|
43
|
-
const data = await client.
|
|
53
|
+
const data = await client.DescribeCustomRuleById({})
|
|
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("trp.v20210515.CreateTraceCodesAsync", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CreateTraceCodesAsync({})
|
|
44
64
|
expect(data).to.be.ok
|
|
45
65
|
} catch(error) {
|
|
46
66
|
expect(error.requestId).to.be.ok
|
|
@@ -108,6 +128,16 @@ it("trp.v20210515.DescribeProducts", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
131
|
+
it("trp.v20210515.ModifyCustomRule", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.ModifyCustomRule({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
111
141
|
it("trp.v20210515.ModifyTraceData", async function () {
|
|
112
142
|
try {
|
|
113
143
|
const data = await client.ModifyTraceData({})
|
|
@@ -118,6 +148,26 @@ it("trp.v20210515.ModifyTraceData", async function () {
|
|
|
118
148
|
}
|
|
119
149
|
})
|
|
120
150
|
|
|
151
|
+
it("trp.v20210515.ModifyProduct", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.ModifyProduct({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
161
|
+
it("trp.v20210515.ModifyCustomRuleStatus", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.ModifyCustomRuleStatus({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
121
171
|
it("trp.v20210515.DescribeProductById", async function () {
|
|
122
172
|
try {
|
|
123
173
|
const data = await client.DescribeProductById({})
|
|
@@ -158,6 +208,16 @@ it("trp.v20210515.CreateTraceChain", async function () {
|
|
|
158
208
|
}
|
|
159
209
|
})
|
|
160
210
|
|
|
211
|
+
it("trp.v20210515.CreateCustomPack", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.CreateCustomPack({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
161
221
|
it("trp.v20210515.DeleteMerchant", async function () {
|
|
162
222
|
try {
|
|
163
223
|
const data = await client.DeleteMerchant({})
|
|
@@ -168,6 +228,16 @@ it("trp.v20210515.DeleteMerchant", async function () {
|
|
|
168
228
|
}
|
|
169
229
|
})
|
|
170
230
|
|
|
231
|
+
it("trp.v20210515.DescribeCodePackStatus", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeCodePackStatus({})
|
|
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
|
+
|
|
171
241
|
it("trp.v20210515.DescribeCodeBatchs", async function () {
|
|
172
242
|
try {
|
|
173
243
|
const data = await client.DescribeCodeBatchs({})
|
|
@@ -178,6 +248,26 @@ it("trp.v20210515.DescribeCodeBatchs", async function () {
|
|
|
178
248
|
}
|
|
179
249
|
})
|
|
180
250
|
|
|
251
|
+
it("trp.v20210515.CreateCustomRule", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.CreateCustomRule({})
|
|
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("trp.v20210515.DescribeCodePackUrl", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeCodePackUrl({})
|
|
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
|
+
|
|
181
271
|
it("trp.v20210515.ModifyMerchant", async function () {
|
|
182
272
|
try {
|
|
183
273
|
const data = await client.ModifyMerchant({})
|
|
@@ -208,9 +298,9 @@ it("trp.v20210515.DeleteCodeBatch", async function () {
|
|
|
208
298
|
}
|
|
209
299
|
})
|
|
210
300
|
|
|
211
|
-
it("trp.v20210515.
|
|
301
|
+
it("trp.v20210515.DeleteTraceData", async function () {
|
|
212
302
|
try {
|
|
213
|
-
const data = await client.
|
|
303
|
+
const data = await client.DeleteTraceData({})
|
|
214
304
|
expect(data).to.be.ok
|
|
215
305
|
} catch(error) {
|
|
216
306
|
expect(error.requestId).to.be.ok
|
|
@@ -238,9 +328,9 @@ it("trp.v20210515.CreateMerchant", async function () {
|
|
|
238
328
|
}
|
|
239
329
|
})
|
|
240
330
|
|
|
241
|
-
it("trp.v20210515.
|
|
331
|
+
it("trp.v20210515.DescribeTraceDataList", async function () {
|
|
242
332
|
try {
|
|
243
|
-
const data = await client.
|
|
333
|
+
const data = await client.DescribeTraceDataList({})
|
|
244
334
|
expect(data).to.be.ok
|
|
245
335
|
} catch(error) {
|
|
246
336
|
expect(error.requestId).to.be.ok
|
|
@@ -298,4 +388,14 @@ it("trp.v20210515.CreateCodePack", async function () {
|
|
|
298
388
|
}
|
|
299
389
|
})
|
|
300
390
|
|
|
391
|
+
it("trp.v20210515.DescribeJobFileUrl", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.DescribeJobFileUrl({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
301
401
|
})
|
|
@@ -28,9 +28,19 @@ it("trtc.v20190722.DescribeRoomInfo", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("trtc.v20190722.
|
|
31
|
+
it("trtc.v20190722.DescribeTrtcUsage", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeTrtcUsage({})
|
|
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("trtc.v20190722.StartPublishCdnStream", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.StartPublishCdnStream({})
|
|
34
44
|
expect(data).to.be.ok
|
|
35
45
|
} catch(error) {
|
|
36
46
|
expect(error.requestId).to.be.ok
|
|
@@ -58,6 +68,16 @@ it("trtc.v20190722.StopMCUMixTranscode", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
71
|
+
it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.StartMCUMixTranscodeByStrRoomId({})
|
|
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
|
+
|
|
61
81
|
it("trtc.v20190722.DeletePicture", async function () {
|
|
62
82
|
try {
|
|
63
83
|
const data = await client.DeletePicture({})
|
|
@@ -108,6 +128,16 @@ it("trtc.v20190722.DescribeUserEvent", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
131
|
+
it("trtc.v20190722.StartMCUMixTranscode", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.StartMCUMixTranscode({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
111
141
|
it("trtc.v20190722.CreateCloudRecording", async function () {
|
|
112
142
|
try {
|
|
113
143
|
const data = await client.CreateCloudRecording({})
|
|
@@ -138,9 +168,9 @@ it("trtc.v20190722.DescribeScaleInfo", async function () {
|
|
|
138
168
|
}
|
|
139
169
|
})
|
|
140
170
|
|
|
141
|
-
it("trtc.v20190722.
|
|
171
|
+
it("trtc.v20190722.DescribeRelayUsage", async function () {
|
|
142
172
|
try {
|
|
143
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeRelayUsage({})
|
|
144
174
|
expect(data).to.be.ok
|
|
145
175
|
} catch(error) {
|
|
146
176
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +208,9 @@ it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
|
|
|
178
208
|
}
|
|
179
209
|
})
|
|
180
210
|
|
|
181
|
-
it("trtc.v20190722.
|
|
211
|
+
it("trtc.v20190722.DescribeRecordingUsage", async function () {
|
|
182
212
|
try {
|
|
183
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeRecordingUsage({})
|
|
184
214
|
expect(data).to.be.ok
|
|
185
215
|
} catch(error) {
|
|
186
216
|
expect(error.requestId).to.be.ok
|
|
@@ -198,6 +228,16 @@ it("trtc.v20190722.RemoveUserByStrRoomId", async function () {
|
|
|
198
228
|
}
|
|
199
229
|
})
|
|
200
230
|
|
|
231
|
+
it("trtc.v20190722.DescribeMixTranscodingUsage", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeMixTranscodingUsage({})
|
|
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
|
+
|
|
201
241
|
it("trtc.v20190722.DismissRoom", async function () {
|
|
202
242
|
try {
|
|
203
243
|
const data = await client.DismissRoom({})
|
|
@@ -238,6 +278,26 @@ it("trtc.v20190722.DescribeCloudRecording", async function () {
|
|
|
238
278
|
}
|
|
239
279
|
})
|
|
240
280
|
|
|
281
|
+
it("trtc.v20190722.ModifyPicture", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.ModifyPicture({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("trtc.v20190722.UpdatePublishCdnStream", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.UpdatePublishCdnStream({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
241
301
|
it("trtc.v20190722.DeleteCloudRecording", async function () {
|
|
242
302
|
try {
|
|
243
303
|
const data = await client.DeleteCloudRecording({})
|
|
@@ -258,6 +318,16 @@ it("trtc.v20190722.DescribePicture", async function () {
|
|
|
258
318
|
}
|
|
259
319
|
})
|
|
260
320
|
|
|
321
|
+
it("trtc.v20190722.StopPublishCdnStream", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.StopPublishCdnStream({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
261
331
|
it("trtc.v20190722.DescribeUnusualEvent", async function () {
|
|
262
332
|
try {
|
|
263
333
|
const data = await client.DescribeUnusualEvent({})
|