tencentcloud-sdk-nodejs 4.0.489 → 4.0.491
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 +461 -0
- package/SERVICE_CHANGELOG.md +578 -73
- package/package.json +1 -1
- package/products.md +21 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_client.ts +4 -2
- package/src/services/asr/v20190614/asr_models.ts +33 -2
- package/src/services/cdb/v20170320/cdb_client.ts +2 -15
- package/src/services/cdb/v20170320/cdb_models.ts +72 -132
- package/src/services/cdn/v20180606/cdn_client.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +8 -3
- package/src/services/cdwch/index.ts +5 -0
- package/src/services/cdwch/v20200915/cdwch_client.ts +118 -0
- package/src/services/cdwch/v20200915/cdwch_models.ts +314 -0
- package/src/services/cdwch/v20200915/index.ts +6 -0
- package/src/services/cfw/v20190904/cfw_client.ts +4 -4
- package/src/services/cfw/v20190904/cfw_models.ts +2 -2
- package/src/services/cvm/v20170312/cvm_client.ts +1 -0
- package/src/services/cvm/v20170312/cvm_models.ts +25 -0
- package/src/services/dcdb/v20180411/dcdb_client.ts +22 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +155 -0
- package/src/services/emr/v20190103/emr_client.ts +5 -5
- package/src/services/emr/v20190103/emr_models.ts +13 -19
- package/src/services/ess/v20201111/ess_client.ts +26 -0
- package/src/services/ess/v20201111/ess_models.ts +100 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +53 -12
- package/src/services/essbasic/v20210526/essbasic_models.ts +322 -83
- package/src/services/faceid/v20180301/faceid_client.ts +1 -0
- package/src/services/faceid/v20180301/faceid_models.ts +15 -0
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +6 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +16 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +2 -2
- package/src/services/postgres/v20170312/postgres_client.ts +2 -0
- package/src/services/postgres/v20170312/postgres_models.ts +119 -7
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/tcm/v20210413/tcm_models.ts +27 -2
- package/src/services/teo/v20220901/teo_models.ts +8 -3
- package/src/services/tione/v20211111/tione_models.ts +5 -0
- package/src/services/tts/v20190823/tts_models.ts +1 -1
- package/src/services/vod/v20180717/vod_client.ts +0 -6
- package/src/services/vod/v20180717/vod_models.ts +156 -5
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +3 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +3 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +28 -2
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -5
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +0 -6
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +59 -109
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +7 -3
- package/tencentcloud/services/cdwch/index.d.ts +6 -0
- package/tencentcloud/services/cdwch/index.js +7 -0
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +38 -0
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +73 -0
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +255 -0
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.js +18 -0
- package/tencentcloud/services/cdwch/v20200915/index.d.ts +6 -0
- package/tencentcloud/services/cdwch/v20200915/index.js +9 -0
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +4 -4
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +4 -4
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +21 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +10 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +11 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +132 -0
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -5
- package/tencentcloud/services/emr/v20190103/emr_client.js +5 -5
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +11 -17
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +11 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +14 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +85 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +18 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +24 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +278 -75
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +13 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +5 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +16 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +2 -2
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +102 -7
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +21 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +7 -3
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +0 -6
- package/tencentcloud/services/vod/v20180717/vod_client.js +0 -6
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +126 -5
- package/test/cdb.v20170320.test.js +0 -10
- package/test/cdwch.v20200915.test.js +91 -0
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/ess.v20201111.test.js +20 -0
- package/test/essbasic.v20210526.test.js +32 -2
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.cdwch.v20200915.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("cdwch.v20200915.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("cdwch.v20200915.CreateBackUpSchedule", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateBackUpSchedule({})
|
|
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("cdwch.v20200915.DescribeCkSqlApis", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeCkSqlApis({})
|
|
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("cdwch.v20200915.ActionAlterCkUser", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ActionAlterCkUser({})
|
|
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("cdwch.v20200915.OpenBackUp", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.OpenBackUp({})
|
|
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("cdwch.v20200915.ModifyClusterConfigs", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ModifyClusterConfigs({})
|
|
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("cdwch.v20200915.ModifyUserNewPrivilege", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyUserNewPrivilege({})
|
|
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("cdwch.v20200915.DescribeInstanceShards", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeInstanceShards({})
|
|
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
|
+
})
|
|
@@ -368,6 +368,16 @@ it("dcdb.v20180411.OpenDBExtranetAccess", async function () {
|
|
|
368
368
|
}
|
|
369
369
|
})
|
|
370
370
|
|
|
371
|
+
it("dcdb.v20180411.ModifyAccountPrivileges", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.ModifyAccountPrivileges({})
|
|
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
|
+
|
|
371
381
|
it("dcdb.v20180411.DestroyDCDBInstance", async function () {
|
|
372
382
|
try {
|
|
373
383
|
const data = await client.DestroyDCDBInstance({})
|
|
@@ -98,6 +98,16 @@ it("ess.v20201111.CreateFlowSignReview", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("ess.v20201111.CreatePrepareFlow", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.CreatePrepareFlow({})
|
|
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
|
+
|
|
101
111
|
it("ess.v20201111.CreateDocument", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.CreateDocument({})
|
|
@@ -138,6 +148,16 @@ it("ess.v20201111.CreateFlow", async function () {
|
|
|
138
148
|
}
|
|
139
149
|
})
|
|
140
150
|
|
|
151
|
+
it("ess.v20201111.DescribeFlowEvidenceReport", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeFlowEvidenceReport({})
|
|
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
|
+
|
|
141
161
|
it("ess.v20201111.CreateFlowByFiles", async function () {
|
|
142
162
|
try {
|
|
143
163
|
const data = await client.CreateFlowByFiles({})
|
|
@@ -158,9 +158,9 @@ it("essbasic.v20210526.ChannelGetTaskResultApi", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("essbasic.v20210526.
|
|
161
|
+
it("essbasic.v20210526.CreateChannelFlowEvidenceReport", async function () {
|
|
162
162
|
try {
|
|
163
|
-
const data = await client.
|
|
163
|
+
const data = await client.CreateChannelFlowEvidenceReport({})
|
|
164
164
|
expect(data).to.be.ok
|
|
165
165
|
} catch(error) {
|
|
166
166
|
expect(error.requestId).to.be.ok
|
|
@@ -198,6 +198,16 @@ it("essbasic.v20210526.ChannelDescribeOrganizationSeals", async function () {
|
|
|
198
198
|
}
|
|
199
199
|
})
|
|
200
200
|
|
|
201
|
+
it("essbasic.v20210526.ChannelCreateReleaseFlow", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.ChannelCreateReleaseFlow({})
|
|
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
|
+
|
|
201
211
|
it("essbasic.v20210526.ChannelDescribeEmployees", async function () {
|
|
202
212
|
try {
|
|
203
213
|
const data = await client.ChannelDescribeEmployees({})
|
|
@@ -258,6 +268,16 @@ it("essbasic.v20210526.UploadFiles", async function () {
|
|
|
258
268
|
}
|
|
259
269
|
})
|
|
260
270
|
|
|
271
|
+
it("essbasic.v20210526.SyncProxyOrganization", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.SyncProxyOrganization({})
|
|
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
|
+
|
|
261
281
|
it("essbasic.v20210526.SyncProxyOrganizationOperators", async function () {
|
|
262
282
|
try {
|
|
263
283
|
const data = await client.SyncProxyOrganizationOperators({})
|
|
@@ -268,6 +288,16 @@ it("essbasic.v20210526.SyncProxyOrganizationOperators", async function () {
|
|
|
268
288
|
}
|
|
269
289
|
})
|
|
270
290
|
|
|
291
|
+
it("essbasic.v20210526.DescribeChannelFlowEvidenceReport", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeChannelFlowEvidenceReport({})
|
|
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
|
+
|
|
271
301
|
it("essbasic.v20210526.OperateChannelTemplate", async function () {
|
|
272
302
|
try {
|
|
273
303
|
const data = await client.OperateChannelTemplate({})
|