tencentcloud-sdk-nodejs 4.0.351 → 4.0.354
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 +497 -0
- package/SERVICE_CHANGELOG.md +461 -92
- package/package.json +1 -1
- package/products.md +24 -23
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_client.ts +2 -0
- package/src/services/cdb/v20170320/cdb_client.ts +1 -0
- package/src/services/cdb/v20170320/cdb_models.ts +20 -0
- package/src/services/cpdp/v20190820/cpdp_models.ts +6 -8
- package/src/services/cvm/v20170312/cvm_models.ts +22 -0
- package/src/services/dasb/v20191018/dasb_client.ts +202 -34
- package/src/services/dasb/v20191018/dasb_models.ts +633 -175
- package/src/services/dbdc/index.ts +5 -0
- package/src/services/dbdc/v20201029/dbdc_client.ts +97 -0
- package/src/services/dbdc/v20201029/dbdc_models.ts +817 -0
- package/src/services/dbdc/v20201029/index.ts +6 -0
- package/src/services/dlc/v20210125/dlc_models.ts +32 -0
- package/src/services/ess/v20201111/ess_client.ts +30 -9
- package/src/services/ess/v20201111/ess_models.ts +254 -6
- package/src/services/essbasic/v20210526/essbasic_models.ts +30 -0
- package/src/services/faceid/v20180301/faceid_client.ts +13 -1
- package/src/services/faceid/v20180301/faceid_models.ts +161 -19
- package/src/services/gaap/v20180529/gaap_models.ts +10 -6
- package/src/services/index.ts +1 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
- package/src/services/ssl/v20191205/ssl_client.ts +1 -0
- package/src/services/ssl/v20191205/ssl_models.ts +23 -0
- package/src/services/tcr/v20190924/tcr_models.ts +2 -2
- package/src/services/teo/v20220106/teo_client.ts +585 -18
- package/src/services/teo/v20220106/teo_models.ts +3872 -252
- package/src/services/thpc/v20220401/thpc_models.ts +1 -1
- package/src/services/tiia/v20190529/tiia_client.ts +8 -3
- package/src/services/tiia/v20190529/tiia_models.ts +254 -83
- package/src/services/tke/v20180525/tke_client.ts +302 -74
- package/src/services/tke/v20180525/tke_models.ts +1504 -479
- package/src/services/tse/v20201207/tse_models.ts +5 -0
- package/src/services/vod/v20180717/vod_models.ts +154 -154
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_client.d.ts +2 -0
- package/tencentcloud/services/as/v20180419/as_client.js +2 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +17 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +4 -6
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +18 -0
- package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +67 -11
- package/tencentcloud/services/dasb/v20191018/dasb_client.js +99 -15
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +554 -157
- package/tencentcloud/services/dbdc/index.d.ts +6 -0
- package/tencentcloud/services/dbdc/index.js +7 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.d.ts +30 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.js +61 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +658 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.js +18 -0
- package/tencentcloud/services/dbdc/v20201029/index.d.ts +6 -0
- package/tencentcloud/services/dbdc/v20201029/index.js +9 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +26 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +14 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +210 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +24 -0
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +136 -16
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +10 -6
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +19 -0
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +2 -2
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +179 -3
- package/tencentcloud/services/teo/v20220106/teo_client.js +267 -3
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +3325 -232
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +225 -76
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +91 -19
- package/tencentcloud/services/tke/v20180525/tke_client.js +135 -27
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1235 -363
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +4 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +130 -130
- package/test/dasb.v20191018.test.js +150 -10
- package/test/dbdc.v20201029.test.js +71 -0
- package/test/ess.v20201111.test.js +12 -2
- package/test/faceid.v20180301.test.js +10 -0
- package/test/teo.v20220106.test.js +442 -2
- package/test/tke.v20180525.test.js +202 -22
|
@@ -18,6 +18,116 @@ const client = new tencentcloud.dasb.v20191018.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("dasb.v20191018.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("dasb.v20191018.DescribeDeviceGroupMembers", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeDeviceGroupMembers({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("dasb.v20191018.CreateDeviceGroup", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateDeviceGroup({})
|
|
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("dasb.v20191018.AddUserGroupMembers", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.AddUserGroupMembers({})
|
|
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("dasb.v20191018.DescribeUsers", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeUsers({})
|
|
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("dasb.v20191018.BindDeviceResource", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.BindDeviceResource({})
|
|
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("dasb.v20191018.DeleteAcls", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DeleteAcls({})
|
|
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("dasb.v20191018.DescribeUserGroups", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeUserGroups({})
|
|
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("dasb.v20191018.DescribeResources", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeResources({})
|
|
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("dasb.v20191018.DeleteUserGroupMembers", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DeleteUserGroupMembers({})
|
|
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("dasb.v20191018.DeleteDeviceGroups", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DeleteDeviceGroups({})
|
|
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("dasb.v20191018.ModifyAcl", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ModifyAcl({})
|
|
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
|
+
|
|
21
131
|
it("dasb.v20191018.DeleteUsers", async function () {
|
|
22
132
|
try {
|
|
23
133
|
const data = await client.DeleteUsers({})
|
|
@@ -48,6 +158,36 @@ it("dasb.v20191018.DescribeDasbImageIds", async function () {
|
|
|
48
158
|
}
|
|
49
159
|
})
|
|
50
160
|
|
|
161
|
+
it("dasb.v20191018.DescribeAcls", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeAcls({})
|
|
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("dasb.v20191018.DeleteDeviceGroupMembers", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteDeviceGroupMembers({})
|
|
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("dasb.v20191018.DeleteUserGroups", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DeleteUserGroups({})
|
|
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
|
+
|
|
51
191
|
it("dasb.v20191018.ModifyUser", async function () {
|
|
52
192
|
try {
|
|
53
193
|
const data = await client.ModifyUser({})
|
|
@@ -58,9 +198,9 @@ it("dasb.v20191018.ModifyUser", async function () {
|
|
|
58
198
|
}
|
|
59
199
|
})
|
|
60
200
|
|
|
61
|
-
it("dasb.v20191018.
|
|
201
|
+
it("dasb.v20191018.DescribeDeviceGroups", async function () {
|
|
62
202
|
try {
|
|
63
|
-
const data = await client.
|
|
203
|
+
const data = await client.DescribeDeviceGroups({})
|
|
64
204
|
expect(data).to.be.ok
|
|
65
205
|
} catch(error) {
|
|
66
206
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +218,9 @@ it("dasb.v20191018.DescribeDevices", async function () {
|
|
|
78
218
|
}
|
|
79
219
|
})
|
|
80
220
|
|
|
81
|
-
it("dasb.v20191018.
|
|
221
|
+
it("dasb.v20191018.DescribeUserGroupMembers", async function () {
|
|
82
222
|
try {
|
|
83
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeUserGroupMembers({})
|
|
84
224
|
expect(data).to.be.ok
|
|
85
225
|
} catch(error) {
|
|
86
226
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +228,9 @@ it("dasb.v20191018.DescribeAcls", async function () {
|
|
|
88
228
|
}
|
|
89
229
|
})
|
|
90
230
|
|
|
91
|
-
it("dasb.v20191018.
|
|
231
|
+
it("dasb.v20191018.AddDeviceGroupMembers", async function () {
|
|
92
232
|
try {
|
|
93
|
-
const data = await client.
|
|
233
|
+
const data = await client.AddDeviceGroupMembers({})
|
|
94
234
|
expect(data).to.be.ok
|
|
95
235
|
} catch(error) {
|
|
96
236
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +238,9 @@ it("dasb.v20191018.CreateUser", async function () {
|
|
|
98
238
|
}
|
|
99
239
|
})
|
|
100
240
|
|
|
101
|
-
it("dasb.v20191018.
|
|
241
|
+
it("dasb.v20191018.CreateUserGroup", async function () {
|
|
102
242
|
try {
|
|
103
|
-
const data = await client.
|
|
243
|
+
const data = await client.CreateUserGroup({})
|
|
104
244
|
expect(data).to.be.ok
|
|
105
245
|
} catch(error) {
|
|
106
246
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +248,9 @@ it("dasb.v20191018.DescribeUsers", async function () {
|
|
|
108
248
|
}
|
|
109
249
|
})
|
|
110
250
|
|
|
111
|
-
it("dasb.v20191018.
|
|
251
|
+
it("dasb.v20191018.CreateUser", async function () {
|
|
112
252
|
try {
|
|
113
|
-
const data = await client.
|
|
253
|
+
const data = await client.CreateUser({})
|
|
114
254
|
expect(data).to.be.ok
|
|
115
255
|
} catch(error) {
|
|
116
256
|
expect(error.requestId).to.be.ok
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.dbdc.v20201029.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("dbdc.v20201029.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("dbdc.v20201029.DescribeInstances", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeInstances({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("dbdc.v20201029.DescribeInstanceList", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeInstanceList({})
|
|
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("dbdc.v20201029.DescribeInstanceDetail", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeInstanceDetail({})
|
|
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("dbdc.v20201029.DescribeDBInstances", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeDBInstances({})
|
|
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("dbdc.v20201029.ModifyInstanceName", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ModifyInstanceName({})
|
|
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
|
+
})
|
|
@@ -58,6 +58,16 @@ it("ess.v20201111.DescribeFileUrls", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("ess.v20201111.DescribeThirdPartyAuthCode", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeThirdPartyAuthCode({})
|
|
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
|
+
|
|
61
71
|
it("ess.v20201111.CreateFlow", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.CreateFlow({})
|
|
@@ -78,9 +88,9 @@ it("ess.v20201111.CreateSchemeUrl", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
81
|
-
it("ess.v20201111.
|
|
91
|
+
it("ess.v20201111.DescribeFlowTemplates", async function () {
|
|
82
92
|
try {
|
|
83
|
-
const data = await client.
|
|
93
|
+
const data = await client.DescribeFlowTemplates({})
|
|
84
94
|
expect(data).to.be.ok
|
|
85
95
|
} catch(error) {
|
|
86
96
|
expect(error.requestId).to.be.ok
|
|
@@ -278,6 +278,16 @@ it("faceid.v20180301.LivenessRecognition", async function () {
|
|
|
278
278
|
}
|
|
279
279
|
})
|
|
280
280
|
|
|
281
|
+
it("faceid.v20180301.ParseNfcData", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.ParseNfcData({})
|
|
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
|
+
|
|
281
291
|
it("faceid.v20180301.IdCardVerification", async function () {
|
|
282
292
|
try {
|
|
283
293
|
const data = await client.IdCardVerification({})
|