tencentcloud-sdk-nodejs 4.0.481 → 4.0.484
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 +965 -0
- package/SERVICE_CHANGELOG.md +1312 -11
- package/package.json +1 -1
- package/products.md +52 -52
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/ams/v20201229/ams_client.ts +7 -0
- package/src/services/as/v20180419/as_client.ts +1 -0
- package/src/services/as/v20180419/as_models.ts +51 -1
- package/src/services/btoe/index.ts +2 -2
- package/src/services/captcha/v20190722/captcha_client.ts +2 -2
- package/src/services/car/v20220110/car_models.ts +2 -2
- package/src/services/ccc/v20200210/ccc_models.ts +5 -0
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +7 -2
- package/src/services/chdfs/index.ts +2 -2
- package/src/services/cmq/v20190304/cmq_models.ts +4 -4
- package/src/services/cvm/v20170312/cvm_models.ts +5 -5
- package/src/services/cwp/v20180228/cwp_client.ts +19 -6
- package/src/services/cwp/v20180228/cwp_models.ts +85 -0
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/dcdb/v20180411/dcdb_client.ts +1 -1
- package/src/services/dcdb/v20180411/dcdb_models.ts +44 -6
- package/src/services/dnspod/v20210323/dnspod_models.ts +2 -2
- package/src/services/dts/index.ts +2 -2
- package/src/services/dts/v20211206/dts_models.ts +7 -7
- package/src/services/eis/index.ts +2 -2
- package/src/services/eis/v20210601/eis_client.ts +2 -1
- package/src/services/eis/v20210601/eis_models.ts +122 -21
- package/src/services/es/v20180416/es_models.ts +33 -0
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +58 -7
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_client.ts +4 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +89 -7
- package/src/services/faceid/v20180301/faceid_models.ts +12 -1
- package/src/services/gme/v20180711/gme_client.ts +5 -4
- package/src/services/gme/v20180711/gme_models.ts +23 -3
- package/src/services/gs/v20191118/gs_models.ts +2 -2
- package/src/services/iai/index.ts +2 -2
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +1 -1
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +16 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +66 -4
- package/src/services/live/v20180801/live_models.ts +10 -2
- package/src/services/mariadb/v20170312/mariadb_client.ts +1 -1
- package/src/services/mariadb/v20170312/mariadb_models.ts +39 -6
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/mna/v20210119/mna_client.ts +24 -0
- package/src/services/mna/v20210119/mna_models.ts +52 -1
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +12 -12
- package/src/services/mps/v20190612/mps_client.ts +6 -0
- package/src/services/mps/v20190612/mps_models.ts +84 -0
- package/src/services/ocr/v20181119/ocr_models.ts +6 -1
- package/src/services/organization/v20210331/organization_client.ts +160 -8
- package/src/services/organization/v20210331/organization_models.ts +919 -235
- package/src/services/partners/v20180321/partners_client.ts +3 -3
- package/src/services/partners/v20180321/partners_models.ts +1 -1
- package/src/services/pts/v20210728/pts_models.ts +12 -0
- package/src/services/scf/v20180416/scf_client.ts +1 -0
- package/src/services/scf/v20180416/scf_models.ts +33 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +27 -2
- package/src/services/ssl/v20191205/ssl_models.ts +5 -0
- package/src/services/tbp/index.ts +2 -2
- package/src/services/tdid/v20210519/tdid_client.ts +548 -38
- package/src/services/tdid/v20210519/tdid_models.ts +2441 -192
- package/src/services/tdmq/v20200217/tdmq_client.ts +1 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +28 -1
- package/src/services/tem/v20210701/tem_models.ts +23 -3
- package/src/services/teo/index.ts +2 -2
- package/src/services/teo/v20220901/teo_client.ts +14 -2
- package/src/services/teo/v20220901/teo_models.ts +131 -55
- package/src/services/thpc/index.ts +2 -2
- package/src/services/thpc/v20220401/thpc_client.ts +18 -4
- package/src/services/thpc/v20220401/thpc_models.ts +190 -58
- package/src/services/tiia/v20190529/tiia_models.ts +1 -1
- package/src/services/tione/v20211111/tione_client.ts +12 -0
- package/src/services/tione/v20211111/tione_models.ts +36 -1
- package/src/services/tke/v20180525/tke_models.ts +10 -0
- package/src/services/tms/v20201229/tms_client.ts +1 -0
- package/src/services/tms/v20201229/tms_models.ts +50 -0
- package/src/services/trp/v20210515/trp_models.ts +13 -4
- package/src/services/trtc/v20190722/trtc_models.ts +3 -3
- package/src/services/tsw/index.ts +2 -2
- package/src/services/tts/v20190823/tts_models.ts +5 -0
- package/src/services/vm/index.ts +2 -2
- package/src/services/vm/v20210922/vm_client.ts +9 -2
- package/src/services/vod/v20180717/vod_models.ts +23 -1
- package/src/services/vpc/v20170312/vpc_models.ts +10 -0
- package/src/services/waf/v20180125/waf_client.ts +17 -2
- package/src/services/waf/v20180125/waf_models.ts +319 -30
- package/src/services/wedata/v20210820/wedata_client.ts +790 -82
- package/src/services/wedata/v20210820/wedata_models.ts +7492 -2980
- 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/ams/v20201229/ams_client.d.ts +7 -0
- package/tencentcloud/services/ams/v20201229/ams_client.js +7 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +43 -1
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +2 -2
- package/tencentcloud/services/captcha/v20190722/captcha_client.js +2 -2
- package/tencentcloud/services/car/v20220110/car_models.d.ts +2 -2
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -2
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +4 -4
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -4
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +7 -3
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +9 -3
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +71 -0
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +1 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +1 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +40 -6
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +2 -2
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +7 -7
- package/tencentcloud/services/eis/index.d.ts +4 -4
- package/tencentcloud/services/eis/index.js +2 -2
- package/tencentcloud/services/eis/v20210601/eis_client.d.ts +1 -1
- package/tencentcloud/services/eis/v20210601/eis_models.d.ts +105 -21
- package/tencentcloud/services/es/v20180416/es_models.d.ts +27 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +49 -6
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +77 -7
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +10 -1
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +5 -4
- package/tencentcloud/services/gme/v20180711/gme_client.js +5 -4
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +19 -3
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +2 -2
- package/tencentcloud/services/iai/index.d.ts +4 -4
- package/tencentcloud/services/iai/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 +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +8 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +9 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +58 -4
- package/tencentcloud/services/live/v20180801/live_models.d.ts +10 -2
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +36 -6
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/mna/v20210119/mna_client.d.ts +9 -1
- package/tencentcloud/services/mna/v20210119/mna_client.js +12 -0
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +44 -1
- package/tencentcloud/services/mongodb/index.d.ts +4 -4
- package/tencentcloud/services/mongodb/index.js +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -10
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +74 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +5 -1
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +52 -3
- package/tencentcloud/services/organization/v20210331/organization_client.js +75 -2
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +785 -197
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +3 -3
- package/tencentcloud/services/partners/v20180321/partners_client.js +3 -3
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +1 -1
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +10 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +28 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +22 -2
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +4 -0
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +176 -9
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +261 -12
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +2040 -146
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +24 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +21 -2
- package/tencentcloud/services/teo/index.d.ts +4 -4
- package/tencentcloud/services/teo/index.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +5 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +6 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +117 -50
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +5 -1
- package/tencentcloud/services/thpc/v20220401/thpc_client.js +6 -0
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +164 -53
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +1 -1
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +5 -1
- package/tencentcloud/services/tione/v20211111/tione_client.js +6 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +31 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +8 -0
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +42 -0
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +13 -4
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +3 -3
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +4 -0
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vm/v20210922/vm_client.d.ts +8 -1
- package/tencentcloud/services/vm/v20210922/vm_client.js +8 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +20 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +9 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +265 -29
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +242 -23
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +356 -29
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +4637 -799
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/cwp.v20180228.test.js +12 -2
- package/test/lighthouse.v20200324.test.js +10 -0
- package/test/mna.v20210119.test.js +20 -0
- package/test/organization.v20210331.test.js +120 -0
- package/test/tdid.v20210519.test.js +418 -8
- package/test/teo.v20220901.test.js +10 -0
- package/test/thpc.v20220401.test.js +10 -0
- package/test/tione.v20211111.test.js +10 -0
- package/test/waf.v20180125.test.js +10 -0
- package/test/wedata.v20210820.test.js +554 -14
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const yunsou: {
|
|
2
|
-
v20180504: {
|
|
3
|
-
Client: typeof import("./v20180504/yunsou_client").Client;
|
|
4
|
-
Models: typeof import("./v20180504/yunsou_models");
|
|
5
|
-
};
|
|
6
2
|
v20191115: {
|
|
7
3
|
Client: typeof import("./v20191115/yunsou_client").Client;
|
|
8
4
|
Models: typeof import("./v20191115/yunsou_models");
|
|
9
5
|
};
|
|
6
|
+
v20180504: {
|
|
7
|
+
Client: typeof import("./v20180504/yunsou_client").Client;
|
|
8
|
+
Models: typeof import("./v20180504/yunsou_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.yunsou = void 0;
|
|
4
|
-
const v20180504_1 = require("./v20180504");
|
|
5
4
|
const v20191115_1 = require("./v20191115");
|
|
5
|
+
const v20180504_1 = require("./v20180504");
|
|
6
6
|
exports.yunsou = {
|
|
7
|
-
v20180504: v20180504_1.v20180504,
|
|
8
7
|
v20191115: v20191115_1.v20191115,
|
|
8
|
+
v20180504: v20180504_1.v20180504,
|
|
9
9
|
};
|
|
@@ -2078,9 +2078,9 @@ it("cwp.v20180228.DescribeWebPageServiceInfo", async function () {
|
|
|
2078
2078
|
}
|
|
2079
2079
|
})
|
|
2080
2080
|
|
|
2081
|
-
it("cwp.v20180228.
|
|
2081
|
+
it("cwp.v20180228.DescribeClientException", async function () {
|
|
2082
2082
|
try {
|
|
2083
|
-
const data = await client.
|
|
2083
|
+
const data = await client.DescribeClientException({})
|
|
2084
2084
|
expect(data).to.be.ok
|
|
2085
2085
|
} catch(error) {
|
|
2086
2086
|
expect(error.requestId).to.be.ok
|
|
@@ -2288,6 +2288,16 @@ it("cwp.v20180228.DescribeLicenseList", async function () {
|
|
|
2288
2288
|
}
|
|
2289
2289
|
})
|
|
2290
2290
|
|
|
2291
|
+
it("cwp.v20180228.ModifyOrderAttribute", async function () {
|
|
2292
|
+
try {
|
|
2293
|
+
const data = await client.ModifyOrderAttribute({})
|
|
2294
|
+
expect(data).to.be.ok
|
|
2295
|
+
} catch(error) {
|
|
2296
|
+
expect(error.requestId).to.be.ok
|
|
2297
|
+
expect(error.code).to.be.ok
|
|
2298
|
+
}
|
|
2299
|
+
})
|
|
2300
|
+
|
|
2291
2301
|
it("cwp.v20180228.DescribeMalwareFile", async function () {
|
|
2292
2302
|
try {
|
|
2293
2303
|
const data = await client.DescribeMalwareFile({})
|
|
@@ -698,4 +698,14 @@ it("lighthouse.v20200324.DetachDisks", async function () {
|
|
|
698
698
|
}
|
|
699
699
|
})
|
|
700
700
|
|
|
701
|
+
it("lighthouse.v20200324.ModifyInstancesBundle", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.ModifyInstancesBundle({})
|
|
704
|
+
expect(data).to.be.ok
|
|
705
|
+
} catch(error) {
|
|
706
|
+
expect(error.requestId).to.be.ok
|
|
707
|
+
expect(error.code).to.be.ok
|
|
708
|
+
}
|
|
709
|
+
})
|
|
710
|
+
|
|
701
711
|
})
|
|
@@ -78,6 +78,26 @@ it("mna.v20210119.GetDevices", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
+
it("mna.v20210119.GetPublicKey", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.GetPublicKey({})
|
|
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
|
+
|
|
91
|
+
it("mna.v20210119.CreateEncryptedKey", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.CreateEncryptedKey({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
81
101
|
it("mna.v20210119.DeleteDevice", async function () {
|
|
82
102
|
try {
|
|
83
103
|
const data = await client.DeleteDevice({})
|
|
@@ -28,6 +28,26 @@ it("organization.v20210331.DescribeOrganizationMembers", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("organization.v20210331.MoveOrganizationNodeMembers", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.MoveOrganizationNodeMembers({})
|
|
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("organization.v20210331.UpdateOrganizationNode", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.UpdateOrganizationNode({})
|
|
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("organization.v20210331.CreateOrganizationMember", async function () {
|
|
32
52
|
try {
|
|
33
53
|
const data = await client.CreateOrganizationMember({})
|
|
@@ -48,6 +68,46 @@ it("organization.v20210331.BindOrganizationMemberAuthAccount", async function ()
|
|
|
48
68
|
}
|
|
49
69
|
})
|
|
50
70
|
|
|
71
|
+
it("organization.v20210331.DescribeOrganizationMemberAuthAccounts", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeOrganizationMemberAuthAccounts({})
|
|
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
|
+
it("organization.v20210331.DescribeOrganizationAuthNode", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeOrganizationAuthNode({})
|
|
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
|
+
|
|
91
|
+
it("organization.v20210331.CancelOrganizationMemberAuthAccount", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.CancelOrganizationMemberAuthAccount({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
it("organization.v20210331.DeleteOrganizationNodes", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DeleteOrganizationNodes({})
|
|
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
|
+
|
|
51
111
|
it("organization.v20210331.DescribeOrganization", async function () {
|
|
52
112
|
try {
|
|
53
113
|
const data = await client.DescribeOrganization({})
|
|
@@ -58,6 +118,36 @@ it("organization.v20210331.DescribeOrganization", async function () {
|
|
|
58
118
|
}
|
|
59
119
|
})
|
|
60
120
|
|
|
121
|
+
it("organization.v20210331.DescribeOrganizationNodes", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeOrganizationNodes({})
|
|
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("organization.v20210331.AddOrganizationNode", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.AddOrganizationNode({})
|
|
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
|
+
|
|
141
|
+
it("organization.v20210331.DescribeOrganizationMemberPolicies", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeOrganizationMemberPolicies({})
|
|
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
|
+
|
|
61
151
|
it("organization.v20210331.CreateOrganizationMemberPolicy", async function () {
|
|
62
152
|
try {
|
|
63
153
|
const data = await client.CreateOrganizationMemberPolicy({})
|
|
@@ -68,4 +158,34 @@ it("organization.v20210331.CreateOrganizationMemberPolicy", async function () {
|
|
|
68
158
|
}
|
|
69
159
|
})
|
|
70
160
|
|
|
161
|
+
it("organization.v20210331.DescribeOrganizationMemberAuthIdentities", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeOrganizationMemberAuthIdentities({})
|
|
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("organization.v20210331.DeleteOrganizationMembers", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteOrganizationMembers({})
|
|
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
|
+
|
|
181
|
+
it("organization.v20210331.ListOrganizationIdentity", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.ListOrganizationIdentity({})
|
|
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
|
+
|
|
71
191
|
})
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.tdid.v20210519.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tdid.v20210519.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("tdid.v20210519.
|
|
21
|
+
it("tdid.v20210519.CreateSelectiveCredential", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.CreateSelectiveCredential({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,219 @@ it("tdid.v20210519.GetDidDocument", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("tdid.v20210519.
|
|
31
|
+
it("tdid.v20210519.GetAuthoritiesList", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.GetAuthoritiesList({})
|
|
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("tdid.v20210519.GetPolicyList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.GetPolicyList({})
|
|
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("tdid.v20210519.GetCredentialStatus", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.GetCredentialStatus({})
|
|
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("tdid.v20210519.GetPublicKey", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.GetPublicKey({})
|
|
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("tdid.v20210519.CheckChain", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CheckChain({})
|
|
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
|
+
it("tdid.v20210519.QueryPolicy", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.QueryPolicy({})
|
|
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
|
+
|
|
91
|
+
it("tdid.v20210519.CheckDidDeploy", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.CheckDidDeploy({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
it("tdid.v20210519.RecognizeAuthorityIssuer", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.RecognizeAuthorityIssuer({})
|
|
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("tdid.v20210519.CancelAuthorityIssuer", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.CancelAuthorityIssuer({})
|
|
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("tdid.v20210519.GetDidRegisterTrend", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.GetDidRegisterTrend({})
|
|
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("tdid.v20210519.GetDidDetail", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.GetDidDetail({})
|
|
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
|
+
|
|
141
|
+
it("tdid.v20210519.RemoveHash", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.RemoveHash({})
|
|
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
|
+
|
|
151
|
+
it("tdid.v20210519.GetCredentialIssueRank", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.GetCredentialIssueRank({})
|
|
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("tdid.v20210519.GetGroupList", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.GetGroupList({})
|
|
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("tdid.v20210519.RegisterClaimPolicy", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.RegisterClaimPolicy({})
|
|
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
|
+
|
|
181
|
+
it("tdid.v20210519.GetConsortiumList", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.GetConsortiumList({})
|
|
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("tdid.v20210519.GetDidClusterList", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.GetDidClusterList({})
|
|
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
|
+
|
|
201
|
+
it("tdid.v20210519.GetDidServiceDetail", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.GetDidServiceDetail({})
|
|
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
|
+
it("tdid.v20210519.GetCptList", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.GetCptList({})
|
|
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
|
+
|
|
221
|
+
it("tdid.v20210519.GetCredentialIssueTrend", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.GetCredentialIssueTrend({})
|
|
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("tdid.v20210519.DeployByName", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DeployByName({})
|
|
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
|
+
it("tdid.v20210519.CreateDidService", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.CreateDidService({})
|
|
34
244
|
expect(data).to.be.ok
|
|
35
245
|
} catch(error) {
|
|
36
246
|
expect(error.requestId).to.be.ok
|
|
@@ -48,6 +258,146 @@ it("tdid.v20210519.CreateCredential", async function () {
|
|
|
48
258
|
}
|
|
49
259
|
})
|
|
50
260
|
|
|
261
|
+
it("tdid.v20210519.GetDidClusterDetail", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.GetDidClusterDetail({})
|
|
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("tdid.v20210519.SetCredentialStatus", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.SetCredentialStatus({})
|
|
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
|
+
|
|
281
|
+
it("tdid.v20210519.GetLabelList", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.GetLabelList({})
|
|
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("tdid.v20210519.EnableHash", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.EnableHash({})
|
|
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
|
+
|
|
301
|
+
it("tdid.v20210519.GetDeployList", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.GetDeployList({})
|
|
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("tdid.v20210519.CreateTDid", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.CreateTDid({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
321
|
+
it("tdid.v20210519.RegisterIssuer", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.RegisterIssuer({})
|
|
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
|
+
|
|
331
|
+
it("tdid.v20210519.GetDeployInfo", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.GetDeployInfo({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
341
|
+
it("tdid.v20210519.GetCredentialCptRank", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.GetCredentialCptRank({})
|
|
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("tdid.v20210519.GetCptInfo", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.GetCptInfo({})
|
|
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("tdid.v20210519.GetDidDocument", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.GetDidDocument({})
|
|
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("tdid.v20210519.VerifyPurchase", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.VerifyPurchase({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
381
|
+
it("tdid.v20210519.GetDidServiceList", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.GetDidServiceList({})
|
|
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
|
+
|
|
391
|
+
it("tdid.v20210519.GetDidList", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.GetDidList({})
|
|
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
|
+
|
|
51
401
|
it("tdid.v20210519.CreateTDidByPublicKey", async function () {
|
|
52
402
|
try {
|
|
53
403
|
const data = await client.CreateTDidByPublicKey({})
|
|
@@ -58,6 +408,66 @@ it("tdid.v20210519.CreateTDidByPublicKey", async function () {
|
|
|
58
408
|
}
|
|
59
409
|
})
|
|
60
410
|
|
|
411
|
+
it("tdid.v20210519.GetAgencyTDid", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.GetAgencyTDid({})
|
|
414
|
+
expect(data).to.be.ok
|
|
415
|
+
} catch(error) {
|
|
416
|
+
expect(error.requestId).to.be.ok
|
|
417
|
+
expect(error.code).to.be.ok
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
421
|
+
it("tdid.v20210519.CreateTDidByPrivateKey", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.CreateTDidByPrivateKey({})
|
|
424
|
+
expect(data).to.be.ok
|
|
425
|
+
} catch(error) {
|
|
426
|
+
expect(error.requestId).to.be.ok
|
|
427
|
+
expect(error.code).to.be.ok
|
|
428
|
+
}
|
|
429
|
+
})
|
|
430
|
+
|
|
431
|
+
it("tdid.v20210519.AddLabel", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.AddLabel({})
|
|
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
|
+
|
|
441
|
+
it("tdid.v20210519.DownCpt", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.DownCpt({})
|
|
444
|
+
expect(data).to.be.ok
|
|
445
|
+
} catch(error) {
|
|
446
|
+
expect(error.requestId).to.be.ok
|
|
447
|
+
expect(error.code).to.be.ok
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
451
|
+
it("tdid.v20210519.RegisterCpt", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.RegisterCpt({})
|
|
454
|
+
expect(data).to.be.ok
|
|
455
|
+
} catch(error) {
|
|
456
|
+
expect(error.requestId).to.be.ok
|
|
457
|
+
expect(error.code).to.be.ok
|
|
458
|
+
}
|
|
459
|
+
})
|
|
460
|
+
|
|
461
|
+
it("tdid.v20210519.GetConsortiumClusterList", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.GetConsortiumClusterList({})
|
|
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
|
+
|
|
61
471
|
it("tdid.v20210519.VerifyCredential", async function () {
|
|
62
472
|
try {
|
|
63
473
|
const data = await client.VerifyCredential({})
|
|
@@ -68,9 +478,9 @@ it("tdid.v20210519.VerifyCredential", async function () {
|
|
|
68
478
|
}
|
|
69
479
|
})
|
|
70
480
|
|
|
71
|
-
it("tdid.v20210519.
|
|
481
|
+
it("tdid.v20210519.GetDataPanel", async function () {
|
|
72
482
|
try {
|
|
73
|
-
const data = await client.
|
|
483
|
+
const data = await client.GetDataPanel({})
|
|
74
484
|
expect(data).to.be.ok
|
|
75
485
|
} catch(error) {
|
|
76
486
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +498,9 @@ it("tdid.v20210519.GetAuthorityIssuer", async function () {
|
|
|
88
498
|
}
|
|
89
499
|
})
|
|
90
500
|
|
|
91
|
-
it("tdid.v20210519.
|
|
501
|
+
it("tdid.v20210519.CreateLabel", async function () {
|
|
92
502
|
try {
|
|
93
|
-
const data = await client.
|
|
503
|
+
const data = await client.CreateLabel({})
|
|
94
504
|
expect(data).to.be.ok
|
|
95
505
|
} catch(error) {
|
|
96
506
|
expect(error.requestId).to.be.ok
|