tencentcloud-sdk-nodejs 4.0.966 → 4.0.968
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 +489 -0
- package/SERVICE_CHANGELOG.md +507 -125
- package/package.json +1 -1
- package/products.md +45 -45
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +7 -7
- package/src/services/apm/v20210622/apm_models.ts +8 -0
- package/src/services/ca/v20230228/ca_client.ts +2 -1
- package/src/services/ca/v20230228/ca_models.ts +45 -10
- package/src/services/cbs/v20170312/cbs_models.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +11 -25
- package/src/services/cdb/v20170320/cdb_models.ts +90 -126
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +15 -0
- package/src/services/cfs/v20190719/cfs_client.ts +4 -3
- package/src/services/cfs/v20190719/cfs_models.ts +73 -36
- package/src/services/cfw/v20190904/cfw_client.ts +4 -2
- package/src/services/cfw/v20190904/cfw_models.ts +3 -3
- package/src/services/cloudapp/v20220530/cloudapp_models.ts +4 -4
- package/src/services/cls/v20201016/cls_models.ts +14 -14
- package/src/services/csip/v20221121/csip_client.ts +1 -1
- package/src/services/csip/v20221121/csip_models.ts +7 -586
- package/src/services/dasb/v20191018/dasb_models.ts +37 -37
- package/src/services/dlc/v20210125/dlc_models.ts +16 -11
- package/src/services/dnspod/v20210323/dnspod_client.ts +143 -53
- package/src/services/dnspod/v20210323/dnspod_models.ts +405 -47
- package/src/services/ecm/v20190719/ecm_models.ts +2 -2
- package/src/services/es/v20180416/es_models.ts +5 -0
- package/src/services/ess/v20201111/ess_client.ts +6 -1
- package/src/services/ess/v20201111/ess_models.ts +10 -6
- package/src/services/essbasic/v20210526/essbasic_client.ts +6 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +20 -12
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +182 -50
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +676 -33
- package/src/services/ioa/v20220601/ioa_models.ts +8 -125
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +1 -1
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +1 -1
- package/src/services/kms/v20190118/kms_models.ts +90 -107
- package/src/services/lke/v20231130/lke_client.ts +4 -2
- package/src/services/mongodb/v20190725/mongodb_models.ts +4 -4
- package/src/services/mps/v20190612/mps_models.ts +14 -1
- package/src/services/ms/v20180408/ms_models.ts +0 -24
- package/src/services/oceanus/v20190422/oceanus_client.ts +1 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +63 -0
- package/src/services/ocr/v20181119/ocr_client.ts +22 -8
- package/src/services/ocr/v20181119/ocr_models.ts +81 -29
- package/src/services/redis/v20180412/redis_models.ts +4 -4
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/src/services/ssm/v20190923/ssm_models.ts +48 -78
- package/src/services/tdmq/v20200217/tdmq_models.ts +42 -43
- package/src/services/tem/v20210701/tem_models.ts +1 -1
- package/src/services/teo/v20220901/teo_client.ts +1 -0
- package/src/services/teo/v20220901/teo_models.ts +18 -6
- package/src/services/thpc/v20230321/thpc_models.ts +3 -3
- package/src/services/tke/v20180525/tke_models.ts +2 -2
- package/src/services/trtc/v20190722/trtc_client.ts +0 -14
- package/src/services/trtc/v20190722/trtc_models.ts +0 -15
- package/src/services/vod/v20180717/vod_client.ts +6 -1
- package/src/services/vod/v20180717/vod_models.ts +123 -24
- package/src/services/waf/v20180125/waf_client.ts +16 -34
- package/src/services/waf/v20180125/waf_models.ts +157 -248
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +7 -7
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +8 -0
- package/tencentcloud/services/ca/v20230228/ca_client.d.ts +1 -1
- package/tencentcloud/services/ca/v20230228/ca_models.d.ts +44 -10
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +3 -9
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +3 -11
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +89 -123
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +15 -0
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +71 -35
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +3 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +3 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +3 -3
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_models.d.ts +4 -4
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +14 -14
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +1 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +1 -1
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +5 -584
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +37 -37
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +16 -11
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +47 -16
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +67 -22
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +388 -47
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +2 -2
- package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +6 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +20 -12
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +75 -17
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +98 -24
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +649 -32
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +8 -125
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +1 -1
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +1 -1
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +90 -107
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +3 -1
- package/tencentcloud/services/lke/v20231130/lke_client.js +3 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +4 -4
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +14 -1
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +0 -24
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +62 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +10 -4
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +12 -4
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +79 -29
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +4 -4
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +48 -78
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +42 -43
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +17 -6
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +3 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -7
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -8
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -13
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +118 -24
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -13
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -16
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +153 -240
- package/test/cdb.v20170320.test.js +2 -12
- package/test/dnspod.v20210323.test.js +84 -14
- package/test/hunyuan.v20230901.test.js +94 -14
- package/test/ocr.v20181119.test.js +12 -2
- package/test/trtc.v20190722.test.js +0 -10
- package/test/waf.v20180125.test.js +10 -20
|
@@ -1428,9 +1428,9 @@ it("cdb.v20170320.ModifyCdbProxyAddressVipAndVPort", async function () {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
})
|
|
1430
1430
|
|
|
1431
|
-
it("cdb.v20170320.
|
|
1431
|
+
it("cdb.v20170320.ModifyDBInstanceProject", async function () {
|
|
1432
1432
|
try {
|
|
1433
|
-
const data = await client.
|
|
1433
|
+
const data = await client.ModifyDBInstanceProject({})
|
|
1434
1434
|
expect(data).to.be.ok
|
|
1435
1435
|
} catch(error) {
|
|
1436
1436
|
expect(error.requestId).to.be.ok
|
|
@@ -1518,16 +1518,6 @@ it("cdb.v20170320.StartBatchRollback", async function () {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
})
|
|
1520
1520
|
|
|
1521
|
-
it("cdb.v20170320.ModifyDBInstanceProject", async function () {
|
|
1522
|
-
try {
|
|
1523
|
-
const data = await client.ModifyDBInstanceProject({})
|
|
1524
|
-
expect(data).to.be.ok
|
|
1525
|
-
} catch(error) {
|
|
1526
|
-
expect(error.requestId).to.be.ok
|
|
1527
|
-
expect(error.code).to.be.ok
|
|
1528
|
-
}
|
|
1529
|
-
})
|
|
1530
|
-
|
|
1531
1521
|
it("cdb.v20170320.DescribeDeviceMonitorInfo", async function () {
|
|
1532
1522
|
try {
|
|
1533
1523
|
const data = await client.DescribeDeviceMonitorInfo({})
|
|
@@ -68,6 +68,16 @@ it("dnspod.v20210323.ModifyVasAutoRenewStatus", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("dnspod.v20210323.CreateLineGroup", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateLineGroup({})
|
|
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
|
+
|
|
71
81
|
it("dnspod.v20210323.DescribeDomainPurview", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeDomainPurview({})
|
|
@@ -78,9 +88,9 @@ it("dnspod.v20210323.DescribeDomainPurview", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
81
|
-
it("dnspod.v20210323.
|
|
91
|
+
it("dnspod.v20210323.DescribeLineGroupList", async function () {
|
|
82
92
|
try {
|
|
83
|
-
const data = await client.
|
|
93
|
+
const data = await client.DescribeLineGroupList({})
|
|
84
94
|
expect(data).to.be.ok
|
|
85
95
|
} catch(error) {
|
|
86
96
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +168,9 @@ it("dnspod.v20210323.DescribeSnapshotList", async function () {
|
|
|
158
168
|
}
|
|
159
169
|
})
|
|
160
170
|
|
|
161
|
-
it("dnspod.v20210323.
|
|
171
|
+
it("dnspod.v20210323.CreateTXTRecord", async function () {
|
|
162
172
|
try {
|
|
163
|
-
const data = await client.
|
|
173
|
+
const data = await client.CreateTXTRecord({})
|
|
164
174
|
expect(data).to.be.ok
|
|
165
175
|
} catch(error) {
|
|
166
176
|
expect(error.requestId).to.be.ok
|
|
@@ -308,6 +318,16 @@ it("dnspod.v20210323.DescribeSnapshotConfig", async function () {
|
|
|
308
318
|
}
|
|
309
319
|
})
|
|
310
320
|
|
|
321
|
+
it("dnspod.v20210323.ModifyDomainLock", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.ModifyDomainLock({})
|
|
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("dnspod.v20210323.DeleteShareDomain", async function () {
|
|
312
332
|
try {
|
|
313
333
|
const data = await client.DeleteShareDomain({})
|
|
@@ -338,9 +358,19 @@ it("dnspod.v20210323.DescribeDomain", async function () {
|
|
|
338
358
|
}
|
|
339
359
|
})
|
|
340
360
|
|
|
341
|
-
it("dnspod.v20210323.
|
|
361
|
+
it("dnspod.v20210323.ModifyLineGroup", async function () {
|
|
342
362
|
try {
|
|
343
|
-
const data = await client.
|
|
363
|
+
const data = await client.ModifyLineGroup({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
371
|
+
it("dnspod.v20210323.DeleteLineGroup", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DeleteLineGroup({})
|
|
344
374
|
expect(data).to.be.ok
|
|
345
375
|
} catch(error) {
|
|
346
376
|
expect(error.requestId).to.be.ok
|
|
@@ -398,9 +428,9 @@ it("dnspod.v20210323.CreateDomainCustomLine", async function () {
|
|
|
398
428
|
}
|
|
399
429
|
})
|
|
400
430
|
|
|
401
|
-
it("dnspod.v20210323.
|
|
431
|
+
it("dnspod.v20210323.DescribeBatchTask", async function () {
|
|
402
432
|
try {
|
|
403
|
-
const data = await client.
|
|
433
|
+
const data = await client.DescribeBatchTask({})
|
|
404
434
|
expect(data).to.be.ok
|
|
405
435
|
} catch(error) {
|
|
406
436
|
expect(error.requestId).to.be.ok
|
|
@@ -428,6 +458,36 @@ it("dnspod.v20210323.DeleteRecord", async function () {
|
|
|
428
458
|
}
|
|
429
459
|
})
|
|
430
460
|
|
|
461
|
+
it("dnspod.v20210323.ModifySubdomainStatus", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.ModifySubdomainStatus({})
|
|
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
|
+
|
|
471
|
+
it("dnspod.v20210323.ModifyRecordFields", async function () {
|
|
472
|
+
try {
|
|
473
|
+
const data = await client.ModifyRecordFields({})
|
|
474
|
+
expect(data).to.be.ok
|
|
475
|
+
} catch(error) {
|
|
476
|
+
expect(error.requestId).to.be.ok
|
|
477
|
+
expect(error.code).to.be.ok
|
|
478
|
+
}
|
|
479
|
+
})
|
|
480
|
+
|
|
481
|
+
it("dnspod.v20210323.ModifyRecordGroup", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.ModifyRecordGroup({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
431
491
|
it("dnspod.v20210323.DescribeRecord", async function () {
|
|
432
492
|
try {
|
|
433
493
|
const data = await client.DescribeRecord({})
|
|
@@ -488,9 +548,9 @@ it("dnspod.v20210323.ModifyPackageAutoRenew", async function () {
|
|
|
488
548
|
}
|
|
489
549
|
})
|
|
490
550
|
|
|
491
|
-
it("dnspod.v20210323.
|
|
551
|
+
it("dnspod.v20210323.DeleteRecordBatch", async function () {
|
|
492
552
|
try {
|
|
493
|
-
const data = await client.
|
|
553
|
+
const data = await client.DeleteRecordBatch({})
|
|
494
554
|
expect(data).to.be.ok
|
|
495
555
|
} catch(error) {
|
|
496
556
|
expect(error.requestId).to.be.ok
|
|
@@ -588,9 +648,9 @@ it("dnspod.v20210323.DeleteDomainAlias", async function () {
|
|
|
588
648
|
}
|
|
589
649
|
})
|
|
590
650
|
|
|
591
|
-
it("dnspod.v20210323.
|
|
651
|
+
it("dnspod.v20210323.CreateLineGroupCopy", async function () {
|
|
592
652
|
try {
|
|
593
|
-
const data = await client.
|
|
653
|
+
const data = await client.CreateLineGroupCopy({})
|
|
594
654
|
expect(data).to.be.ok
|
|
595
655
|
} catch(error) {
|
|
596
656
|
expect(error.requestId).to.be.ok
|
|
@@ -688,6 +748,16 @@ it("dnspod.v20210323.DescribeDomainPreview", async function () {
|
|
|
688
748
|
}
|
|
689
749
|
})
|
|
690
750
|
|
|
751
|
+
it("dnspod.v20210323.ModifyTXTRecord", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.ModifyTXTRecord({})
|
|
754
|
+
expect(data).to.be.ok
|
|
755
|
+
} catch(error) {
|
|
756
|
+
expect(error.requestId).to.be.ok
|
|
757
|
+
expect(error.code).to.be.ok
|
|
758
|
+
}
|
|
759
|
+
})
|
|
760
|
+
|
|
691
761
|
it("dnspod.v20210323.DescribeSubdomainAnalytics", async function () {
|
|
692
762
|
try {
|
|
693
763
|
const data = await client.DescribeSubdomainAnalytics({})
|
|
@@ -738,9 +808,9 @@ it("dnspod.v20210323.DescribeDomainLogList", async function () {
|
|
|
738
808
|
}
|
|
739
809
|
})
|
|
740
810
|
|
|
741
|
-
it("dnspod.v20210323.
|
|
811
|
+
it("dnspod.v20210323.DescribeUserDetail", async function () {
|
|
742
812
|
try {
|
|
743
|
-
const data = await client.
|
|
813
|
+
const data = await client.DescribeUserDetail({})
|
|
744
814
|
expect(data).to.be.ok
|
|
745
815
|
} catch(error) {
|
|
746
816
|
expect(error.requestId).to.be.ok
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.hunyuan.v20230901.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("hunyuan.v20230901.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("hunyuan.v20230901.
|
|
21
|
+
it("hunyuan.v20230901.SetPayMode", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.SetPayMode({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,49 @@ it("hunyuan.v20230901.QueryHunyuanImageChatJob", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("hunyuan.v20230901.
|
|
31
|
+
it("hunyuan.v20230901.FilesList", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.FilesList({})
|
|
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("hunyuan.v20230901.GetThread", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.GetThread({})
|
|
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("hunyuan.v20230901.SubmitHunyuanImageChatJob", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.SubmitHunyuanImageChatJob({})
|
|
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("hunyuan.v20230901.CreateThread", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CreateThread({})
|
|
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("hunyuan.v20230901.GetTokenCount", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.GetTokenCount({})
|
|
34
74
|
expect(data).to.be.ok
|
|
35
75
|
} catch(error) {
|
|
36
76
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +88,9 @@ it("hunyuan.v20230901.QueryHunyuanImageJob", async function () {
|
|
|
48
88
|
}
|
|
49
89
|
})
|
|
50
90
|
|
|
51
|
-
it("hunyuan.v20230901.
|
|
91
|
+
it("hunyuan.v20230901.SubmitHunyuanImageJob", async function () {
|
|
52
92
|
try {
|
|
53
|
-
const data = await client.
|
|
93
|
+
const data = await client.SubmitHunyuanImageJob({})
|
|
54
94
|
expect(data).to.be.ok
|
|
55
95
|
} catch(error) {
|
|
56
96
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +98,39 @@ it("hunyuan.v20230901.SetPayMode", async function () {
|
|
|
58
98
|
}
|
|
59
99
|
})
|
|
60
100
|
|
|
61
|
-
it("hunyuan.v20230901.
|
|
101
|
+
it("hunyuan.v20230901.FilesDeletions", async function () {
|
|
62
102
|
try {
|
|
63
|
-
const data = await client.
|
|
103
|
+
const data = await client.FilesDeletions({})
|
|
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
|
+
|
|
111
|
+
it("hunyuan.v20230901.GetThreadMessageList", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.GetThreadMessageList({})
|
|
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
|
+
|
|
121
|
+
it("hunyuan.v20230901.GetThreadMessage", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.GetThreadMessage({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
it("hunyuan.v20230901.RunThread", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.RunThread({})
|
|
64
134
|
expect(data).to.be.ok
|
|
65
135
|
} catch(error) {
|
|
66
136
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +148,9 @@ it("hunyuan.v20230901.ChatCompletions", async function () {
|
|
|
78
148
|
}
|
|
79
149
|
})
|
|
80
150
|
|
|
81
|
-
it("hunyuan.v20230901.
|
|
151
|
+
it("hunyuan.v20230901.QueryHunyuanImageChatJob", async function () {
|
|
82
152
|
try {
|
|
83
|
-
const data = await client.
|
|
153
|
+
const data = await client.QueryHunyuanImageChatJob({})
|
|
84
154
|
expect(data).to.be.ok
|
|
85
155
|
} catch(error) {
|
|
86
156
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +158,19 @@ it("hunyuan.v20230901.ActivateService", async function () {
|
|
|
88
158
|
}
|
|
89
159
|
})
|
|
90
160
|
|
|
91
|
-
it("hunyuan.v20230901.
|
|
161
|
+
it("hunyuan.v20230901.GetEmbedding", async function () {
|
|
92
162
|
try {
|
|
93
|
-
const data = await client.
|
|
163
|
+
const data = await client.GetEmbedding({})
|
|
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
|
+
|
|
171
|
+
it("hunyuan.v20230901.FilesUploads", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.FilesUploads({})
|
|
94
174
|
expect(data).to.be.ok
|
|
95
175
|
} catch(error) {
|
|
96
176
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +188,9 @@ it("hunyuan.v20230901.TextToImageLite", async function () {
|
|
|
108
188
|
}
|
|
109
189
|
})
|
|
110
190
|
|
|
111
|
-
it("hunyuan.v20230901.
|
|
191
|
+
it("hunyuan.v20230901.ActivateService", async function () {
|
|
112
192
|
try {
|
|
113
|
-
const data = await client.
|
|
193
|
+
const data = await client.ActivateService({})
|
|
114
194
|
expect(data).to.be.ok
|
|
115
195
|
} catch(error) {
|
|
116
196
|
expect(error.requestId).to.be.ok
|
|
@@ -138,6 +138,16 @@ it("ocr.v20181119.HKIDCardOCR", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("ocr.v20181119.MixedInvoiceOCR", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.MixedInvoiceOCR({})
|
|
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
|
+
|
|
141
151
|
it("ocr.v20181119.PermitOCR", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.PermitOCR({})
|
|
@@ -668,9 +678,9 @@ it("ocr.v20181119.FinanBillOCR", async function () {
|
|
|
668
678
|
}
|
|
669
679
|
})
|
|
670
680
|
|
|
671
|
-
it("ocr.v20181119.
|
|
681
|
+
it("ocr.v20181119.SmartStructuralPro", async function () {
|
|
672
682
|
try {
|
|
673
|
-
const data = await client.
|
|
683
|
+
const data = await client.SmartStructuralPro({})
|
|
674
684
|
expect(data).to.be.ok
|
|
675
685
|
} catch(error) {
|
|
676
686
|
expect(error.requestId).to.be.ok
|
|
@@ -48,16 +48,6 @@ it("trtc.v20190722.DescribeTrtcUsage", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("trtc.v20190722.SummarizeTranscription", async function () {
|
|
52
|
-
try {
|
|
53
|
-
const data = await client.SummarizeTranscription({})
|
|
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
51
|
it("trtc.v20190722.StopAIConversation", async function () {
|
|
62
52
|
try {
|
|
63
53
|
const data = await client.StopAIConversation({})
|
|
@@ -98,16 +98,6 @@ it("waf.v20180125.DeleteIpAccessControl", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("waf.v20180125.DescribeAntiInfoLeakRules", async function () {
|
|
102
|
-
try {
|
|
103
|
-
const data = await client.DescribeAntiInfoLeakRules({})
|
|
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
|
-
|
|
111
101
|
it("waf.v20180125.DescribeAreaBanAreas", async function () {
|
|
112
102
|
try {
|
|
113
103
|
const data = await client.DescribeAreaBanAreas({})
|
|
@@ -208,6 +198,16 @@ it("waf.v20180125.DescribeApiDetail", async function () {
|
|
|
208
198
|
}
|
|
209
199
|
})
|
|
210
200
|
|
|
201
|
+
it("waf.v20180125.DescribeScanIp", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DescribeScanIp({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
211
211
|
it("waf.v20180125.DeleteCustomRule", async function () {
|
|
212
212
|
try {
|
|
213
213
|
const data = await client.DeleteCustomRule({})
|
|
@@ -868,16 +868,6 @@ it("waf.v20180125.DescribeFlowTrend", async function () {
|
|
|
868
868
|
}
|
|
869
869
|
})
|
|
870
870
|
|
|
871
|
-
it("waf.v20180125.DescribeAntiFakeUrl", async function () {
|
|
872
|
-
try {
|
|
873
|
-
const data = await client.DescribeAntiFakeUrl({})
|
|
874
|
-
expect(data).to.be.ok
|
|
875
|
-
} catch(error) {
|
|
876
|
-
expect(error.requestId).to.be.ok
|
|
877
|
-
expect(error.code).to.be.ok
|
|
878
|
-
}
|
|
879
|
-
})
|
|
880
|
-
|
|
881
871
|
it("waf.v20180125.DescribeObjects", async function () {
|
|
882
872
|
try {
|
|
883
873
|
const data = await client.DescribeObjects({})
|