tencentcloud-sdk-nodejs 4.0.527 → 4.0.529
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 +211 -0
- package/SERVICE_CHANGELOG.md +248 -10
- package/package.json +1 -1
- package/products.md +32 -31
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/es/v20180416/es_models.ts +5 -0
- package/src/services/ess/v20201111/ess_client.ts +25 -8
- package/src/services/ess/v20201111/ess_models.ts +58 -8
- package/src/services/essbasic/v20210526/essbasic_client.ts +41 -24
- package/src/services/essbasic/v20210526/essbasic_models.ts +209 -153
- package/src/services/goosefs/index.ts +5 -0
- package/src/services/goosefs/v20220519/goosefs_client.ts +40 -0
- package/src/services/goosefs/v20220519/goosefs_models.ts +61 -0
- package/src/services/goosefs/v20220519/index.ts +6 -0
- package/src/services/ims/v20201229/ims_client.ts +4 -0
- package/src/services/ims/v20201229/ims_models.ts +58 -12
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_models.ts +4 -3
- package/src/services/mariadb/v20170312/mariadb_client.ts +14 -2
- package/src/services/mariadb/v20170312/mariadb_models.ts +54 -19
- package/src/services/rum/v20210622/rum_client.ts +7 -7
- package/src/services/rum/v20210622/rum_models.ts +14 -14
- package/src/services/tdid/v20210519/tdid_client.ts +0 -14
- package/src/services/tdid/v20210519/tdid_models.ts +0 -15
- package/src/services/trp/v20210515/trp_client.ts +27 -1
- package/src/services/trp/v20210515/trp_models.ts +308 -76
- package/src/services/vpc/v20170312/vpc_client.ts +3 -2
- package/src/services/vpc/v20170312/vpc_models.ts +35 -2
- package/src/services/waf/v20180125/waf_client.ts +2 -2
- package/src/services/waf/v20180125/waf_models.ts +28 -23
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- 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 +2 -2
- package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +11 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +13 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +51 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +16 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +19 -9
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +180 -131
- package/tencentcloud/services/goosefs/index.d.ts +6 -0
- package/tencentcloud/services/goosefs/index.js +7 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +14 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +37 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +38 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.js +18 -0
- package/tencentcloud/services/goosefs/v20220519/index.d.ts +6 -0
- package/tencentcloud/services/goosefs/v20220519/index.js +9 -0
- package/tencentcloud/services/ims/v20201229/ims_client.d.ts +2 -0
- package/tencentcloud/services/ims/v20201229/ims_client.js +2 -0
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +52 -12
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +3 -2
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +48 -18
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +7 -7
- package/tencentcloud/services/rum/v20210622/rum_client.js +7 -7
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +14 -14
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +1 -7
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +0 -8
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +0 -13
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +9 -1
- package/tencentcloud/services/trp/v20210515/trp_client.js +12 -0
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +258 -63
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +32 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +2 -2
- package/tencentcloud/services/waf/v20180125/waf_client.js +2 -2
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +27 -23
- package/test/ess.v20201111.test.js +12 -2
- package/test/essbasic.v20210526.test.js +14 -4
- package/test/goosefs.v20220519.test.js +31 -0
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/tdid.v20210519.test.js +0 -10
- package/test/trp.v20210515.test.js +20 -0
|
@@ -128,6 +128,16 @@ it("essbasic.v20210526.CreateFlowsByTemplates", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("essbasic.v20210526.ChannelDescribeOrganizationSeals", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.ChannelDescribeOrganizationSeals({})
|
|
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
|
+
|
|
131
141
|
it("essbasic.v20210526.CreateSignUrls", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.CreateSignUrls({})
|
|
@@ -208,9 +218,9 @@ it("essbasic.v20210526.GetDownloadFlowUrl", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
211
|
-
it("essbasic.v20210526.
|
|
221
|
+
it("essbasic.v20210526.ChannelCreateFlowSignUrl", async function () {
|
|
212
222
|
try {
|
|
213
|
-
const data = await client.
|
|
223
|
+
const data = await client.ChannelCreateFlowSignUrl({})
|
|
214
224
|
expect(data).to.be.ok
|
|
215
225
|
} catch(error) {
|
|
216
226
|
expect(error.requestId).to.be.ok
|
|
@@ -288,9 +298,9 @@ it("essbasic.v20210526.UploadFiles", async function () {
|
|
|
288
298
|
}
|
|
289
299
|
})
|
|
290
300
|
|
|
291
|
-
it("essbasic.v20210526.
|
|
301
|
+
it("essbasic.v20210526.ChannelCreateFlowReminds", async function () {
|
|
292
302
|
try {
|
|
293
|
-
const data = await client.
|
|
303
|
+
const data = await client.ChannelCreateFlowReminds({})
|
|
294
304
|
expect(data).to.be.ok
|
|
295
305
|
} catch(error) {
|
|
296
306
|
expect(error.requestId).to.be.ok
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.goosefs.v20220519.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("goosefs.v20220519.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("goosefs.v20220519.CreateDataRepositoryTask", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateDataRepositoryTask({})
|
|
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
|
+
})
|
|
@@ -668,6 +668,16 @@ it("mariadb.v20170312.DisassociateSecurityGroups", async function () {
|
|
|
668
668
|
}
|
|
669
669
|
})
|
|
670
670
|
|
|
671
|
+
it("mariadb.v20170312.DescribeDBEncryptAttributes", async function () {
|
|
672
|
+
try {
|
|
673
|
+
const data = await client.DescribeDBEncryptAttributes({})
|
|
674
|
+
expect(data).to.be.ok
|
|
675
|
+
} catch(error) {
|
|
676
|
+
expect(error.requestId).to.be.ok
|
|
677
|
+
expect(error.code).to.be.ok
|
|
678
|
+
}
|
|
679
|
+
})
|
|
680
|
+
|
|
671
681
|
it("mariadb.v20170312.ModifyLogFileRetentionPeriod", async function () {
|
|
672
682
|
try {
|
|
673
683
|
const data = await client.ModifyLogFileRetentionPeriod({})
|
|
@@ -368,16 +368,6 @@ it("tdid.v20210519.GetDidDocument", async function () {
|
|
|
368
368
|
}
|
|
369
369
|
})
|
|
370
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
371
|
it("tdid.v20210519.GetDidServiceList", async function () {
|
|
382
372
|
try {
|
|
383
373
|
const data = await client.GetDidServiceList({})
|
|
@@ -268,6 +268,16 @@ it("trp.v20210515.DeleteMerchant", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
+
it("trp.v20210515.DescribeScanStats", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeScanStats({})
|
|
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
|
+
|
|
271
281
|
it("trp.v20210515.DescribeCodePackStatus", async function () {
|
|
272
282
|
try {
|
|
273
283
|
const data = await client.DescribeCodePackStatus({})
|
|
@@ -398,6 +408,16 @@ it("trp.v20210515.DescribeCodePacks", async function () {
|
|
|
398
408
|
}
|
|
399
409
|
})
|
|
400
410
|
|
|
411
|
+
it("trp.v20210515.DescribeScanLogs", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.DescribeScanLogs({})
|
|
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
|
+
|
|
401
421
|
it("trp.v20210515.ModifyCodeBatch", async function () {
|
|
402
422
|
try {
|
|
403
423
|
const data = await client.ModifyCodeBatch({})
|