tencentcloud-sdk-nodejs 4.0.777 → 4.0.779
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 +77 -0
- package/SERVICE_CHANGELOG.md +139 -173
- package/package.json +1 -1
- package/products.md +6 -6
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/car/v20220110/car_client.ts +2 -2
- package/src/services/chdfs/index.ts +2 -2
- package/src/services/cii/index.ts +2 -2
- package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +6 -6
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +22 -10
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/organization/index.ts +2 -2
- package/src/services/tdid/v20210519/tdid_client.ts +84 -161
- package/src/services/tdid/v20210519/tdid_models.ts +154 -340
- package/src/services/teo/index.ts +2 -2
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tione/index.ts +2 -2
- package/src/services/trtc/v20190722/trtc_models.ts +2 -1
- package/src/services/tsw/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/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/car/v20220110/car_client.d.ts +2 -2
- package/tencentcloud/services/car/v20220110/car_client.js +2 -2
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/cii/index.d.ts +4 -4
- package/tencentcloud/services/cii/index.js +2 -2
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +6 -6
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +6 -6
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +22 -10
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- 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/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/mongodb/index.d.ts +4 -4
- package/tencentcloud/services/mongodb/index.js +2 -2
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +19 -62
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +27 -78
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +154 -330
- package/tencentcloud/services/teo/index.d.ts +4 -4
- package/tencentcloud/services/teo/index.js +2 -2
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -1
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/test/tdid.v20210519.test.js +18 -58
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const thpc: {
|
|
2
|
-
v20211109: {
|
|
3
|
-
Client: typeof import("./v20211109/thpc_client").Client;
|
|
4
|
-
Models: typeof import("./v20211109/thpc_models");
|
|
5
|
-
};
|
|
6
2
|
v20220401: {
|
|
7
3
|
Client: typeof import("./v20220401/thpc_client").Client;
|
|
8
4
|
Models: typeof import("./v20220401/thpc_models");
|
|
9
5
|
};
|
|
6
|
+
v20211109: {
|
|
7
|
+
Client: typeof import("./v20211109/thpc_client").Client;
|
|
8
|
+
Models: typeof import("./v20211109/thpc_models");
|
|
9
|
+
};
|
|
10
10
|
v20230321: {
|
|
11
11
|
Client: typeof import("./v20230321/thpc_client").Client;
|
|
12
12
|
Models: typeof import("./v20230321/thpc_models");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.thpc = void 0;
|
|
4
|
-
const v20211109_1 = require("./v20211109");
|
|
5
4
|
const v20220401_1 = require("./v20220401");
|
|
5
|
+
const v20211109_1 = require("./v20211109");
|
|
6
6
|
const v20230321_1 = require("./v20230321");
|
|
7
7
|
exports.thpc = {
|
|
8
|
-
v20211109: v20211109_1.v20211109,
|
|
9
8
|
v20220401: v20220401_1.v20220401,
|
|
9
|
+
v20211109: v20211109_1.v20211109,
|
|
10
10
|
v20230321: v20230321_1.v20230321,
|
|
11
11
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const tione: {
|
|
2
|
-
v20191022: {
|
|
3
|
-
Client: typeof import("./v20191022/tione_client").Client;
|
|
4
|
-
Models: typeof import("./v20191022/tione_models");
|
|
5
|
-
};
|
|
6
2
|
v20211111: {
|
|
7
3
|
Client: typeof import("./v20211111/tione_client").Client;
|
|
8
4
|
Models: typeof import("./v20211111/tione_models");
|
|
9
5
|
};
|
|
6
|
+
v20191022: {
|
|
7
|
+
Client: typeof import("./v20191022/tione_client").Client;
|
|
8
|
+
Models: typeof import("./v20191022/tione_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tione = void 0;
|
|
4
|
-
const v20191022_1 = require("./v20191022");
|
|
5
4
|
const v20211111_1 = require("./v20211111");
|
|
5
|
+
const v20191022_1 = require("./v20191022");
|
|
6
6
|
exports.tione = {
|
|
7
|
-
v20191022: v20191022_1.v20191022,
|
|
8
7
|
v20211111: v20211111_1.v20211111,
|
|
8
|
+
v20191022: v20191022_1.v20191022,
|
|
9
9
|
};
|
|
@@ -3083,7 +3083,8 @@ export interface PresetLayoutConfig {
|
|
|
3083
3083
|
*/
|
|
3084
3084
|
export interface McuPublishCdnParam {
|
|
3085
3085
|
/**
|
|
3086
|
-
* CDN转推URL
|
|
3086
|
+
* CDN转推URL,只支持rtmp链接。
|
|
3087
|
+
注:若更新转推时,URL有任何变化,都会断流重推。
|
|
3087
3088
|
*/
|
|
3088
3089
|
PublishCdnUrl: string;
|
|
3089
3090
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const tsw: {
|
|
2
|
-
v20210412: {
|
|
3
|
-
Client: typeof import("./v20210412/tsw_client").Client;
|
|
4
|
-
Models: typeof import("./v20210412/tsw_models");
|
|
5
|
-
};
|
|
6
2
|
v20200924: {
|
|
7
3
|
Client: typeof import("./v20200924/tsw_client").Client;
|
|
8
4
|
Models: typeof import("./v20200924/tsw_models");
|
|
9
5
|
};
|
|
6
|
+
v20210412: {
|
|
7
|
+
Client: typeof import("./v20210412/tsw_client").Client;
|
|
8
|
+
Models: typeof import("./v20210412/tsw_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tsw = void 0;
|
|
4
|
-
const v20210412_1 = require("./v20210412");
|
|
5
4
|
const v20200924_1 = require("./v20200924");
|
|
5
|
+
const v20210412_1 = require("./v20210412");
|
|
6
6
|
exports.tsw = {
|
|
7
|
-
v20210412: v20210412_1.v20210412,
|
|
8
7
|
v20200924: v20200924_1.v20200924,
|
|
8
|
+
v20210412: v20210412_1.v20210412,
|
|
9
9
|
};
|
|
@@ -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.VerifyCredentials", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.VerifyCredentials({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("tdid.v20210519.GetCptInfo", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("tdid.v20210519.
|
|
31
|
+
it("tdid.v20210519.CreateTDidByHost", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateTDidByHost({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("tdid.v20210519.GetDidDocument", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("tdid.v20210519.
|
|
41
|
+
it("tdid.v20210519.CreateTDidByPubKey", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.CreateTDidByPubKey({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("tdid.v20210519.CreateSelectiveCredential", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("tdid.v20210519.
|
|
51
|
+
it("tdid.v20210519.GetTDidDocument", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.GetTDidDocument({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("tdid.v20210519.CreateTDid", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("tdid.v20210519.
|
|
61
|
+
it("tdid.v20210519.UpdateCredentialState", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.UpdateCredentialState({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("tdid.v20210519.CreateCredential", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("tdid.v20210519.
|
|
71
|
+
it("tdid.v20210519.DeactivateTDid", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.DeactivateTDid({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("tdid.v20210519.CreateTDidByPublicKey", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("tdid.v20210519.
|
|
81
|
+
it("tdid.v20210519.GetCredentialState", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.GetCredentialState({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("tdid.v20210519.GetCredentialStatus", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("tdid.v20210519.
|
|
91
|
+
it("tdid.v20210519.IssueCredential", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.IssueCredential({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,49 +98,9 @@ it("tdid.v20210519.CreateTDidByPrivateKey", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("tdid.v20210519.
|
|
101
|
+
it("tdid.v20210519.CheckNewPurchase", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
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.RegisterCpt", async function () {
|
|
112
|
-
try {
|
|
113
|
-
const data = await client.RegisterCpt({})
|
|
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.VerifyCredential", async function () {
|
|
122
|
-
try {
|
|
123
|
-
const data = await client.VerifyCredential({})
|
|
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.GetAuthorityIssuer", async function () {
|
|
132
|
-
try {
|
|
133
|
-
const data = await client.GetAuthorityIssuer({})
|
|
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.SetCredentialStatus", async function () {
|
|
142
|
-
try {
|
|
143
|
-
const data = await client.SetCredentialStatus({})
|
|
103
|
+
const data = await client.CheckNewPurchase({})
|
|
144
104
|
expect(data).to.be.ok
|
|
145
105
|
} catch(error) {
|
|
146
106
|
expect(error.requestId).to.be.ok
|