tencentcloud-sdk-nodejs 4.0.997 → 4.0.998
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 +355 -0
- package/SERVICE_CHANGELOG.md +507 -117
- package/package.json +1 -1
- package/products.md +21 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aca/index.ts +5 -0
- package/src/services/aca/v20210323/aca_client.ts +175 -0
- package/src/services/aca/v20210323/aca_models.ts +1675 -0
- package/src/services/aca/v20210323/index.ts +6 -0
- package/src/services/batch/v20170312/batch_models.ts +29 -29
- package/src/services/cdb/v20170320/cdb_client.ts +3 -3
- package/src/services/cdb/v20170320/cdb_models.ts +37 -30
- package/src/services/cdwch/v20200915/cdwch_models.ts +3 -3
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +4 -0
- package/src/services/cfs/v20190719/cfs_models.ts +12 -35
- package/src/services/domain/v20180808/domain_models.ts +9 -9
- package/src/services/emr/v20190103/emr_models.ts +27 -4
- package/src/services/ess/v20201111/ess_client.ts +1 -0
- package/src/services/ess/v20201111/ess_models.ts +55 -55
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +52 -52
- package/src/services/facefusion/v20220927/facefusion_client.ts +2 -3
- package/src/services/facefusion/v20220927/facefusion_models.ts +8 -0
- package/src/services/index.ts +1 -0
- package/src/services/live/v20180801/live_models.ts +13 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +2 -0
- package/src/services/mps/v20190612/mps_client.ts +66 -16
- package/src/services/mps/v20190612/mps_models.ts +532 -340
- package/src/services/privatedns/v20201028/privatedns_models.ts +0 -5
- package/src/services/redis/v20180412/redis_client.ts +33 -8
- package/src/services/redis/v20180412/redis_models.ts +101 -14
- package/src/services/tcb/v20180608/tcb_models.ts +23 -15
- package/src/services/trocket/v20230308/trocket_client.ts +13 -0
- package/src/services/trocket/v20230308/trocket_models.ts +61 -0
- package/src/services/tsf/v20180326/tsf_client.ts +4 -2
- package/src/services/tsf/v20180326/tsf_models.ts +112 -108
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aca/index.d.ts +6 -0
- package/tencentcloud/services/aca/index.js +7 -0
- package/tencentcloud/services/aca/v20210323/aca_client.d.ts +42 -0
- package/tencentcloud/services/aca/v20210323/aca_client.js +79 -0
- package/tencentcloud/services/aca/v20210323/aca_models.d.ts +1595 -0
- package/tencentcloud/services/aca/v20210323/aca_models.js +18 -0
- package/tencentcloud/services/aca/v20210323/index.d.ts +6 -0
- package/tencentcloud/services/aca/v20210323/index.js +9 -0
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +29 -29
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +3 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +3 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +37 -30
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +3 -3
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +4 -0
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +12 -35
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +9 -9
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +27 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -0
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +55 -55
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +52 -52
- package/tencentcloud/services/facefusion/v20220927/facefusion_client.d.ts +0 -1
- package/tencentcloud/services/facefusion/v20220927/facefusion_client.js +0 -1
- package/tencentcloud/services/facefusion/v20220927/facefusion_models.d.ts +8 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +13 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +2 -0
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +21 -5
- package/tencentcloud/services/mps/v20190612/mps_client.js +30 -6
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +524 -342
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +0 -5
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +11 -3
- package/tencentcloud/services/redis/v20180412/redis_client.js +15 -3
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +96 -14
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +23 -15
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +5 -1
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +6 -0
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +58 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +3 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +3 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +112 -108
- package/test/aca.v20210323.test.js +101 -0
- package/test/mps.v20190612.test.js +44 -4
- package/test/redis.v20180412.test.js +22 -2
- package/test/trocket.v20230308.test.js +10 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.aca.v20210323.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("aca.v20210323.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("aca.v20210323.LoginHisTool", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.LoginHisTool({})
|
|
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("aca.v20210323.GetDrugIndications", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.GetDrugIndications({})
|
|
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("aca.v20210323.LoginOutHisTool", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.LoginOutHisTool({})
|
|
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("aca.v20210323.SmartPredict", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.SmartPredict({})
|
|
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("aca.v20210323.SmartDrugInfo", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.SmartDrugInfo({})
|
|
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("aca.v20210323.SyncDepartment", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.SyncDepartment({})
|
|
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("aca.v20210323.SyncStandardDict", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.SyncStandardDict({})
|
|
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("aca.v20210323.UploadDrugs", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.UploadDrugs({})
|
|
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
|
+
})
|
|
@@ -38,6 +38,16 @@ it("mps.v20190612.DescribeStreamLinkFlowRealtimeStatus", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("mps.v20190612.ModifyLiveRecordTemplate", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ModifyLiveRecordTemplate({})
|
|
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
|
+
|
|
41
51
|
it("mps.v20190612.EditMedia", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.EditMedia({})
|
|
@@ -198,6 +208,16 @@ it("mps.v20190612.BatchDeleteStreamLinkFlow", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
211
|
+
it("mps.v20190612.DescribeLiveRecordTemplates", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DescribeLiveRecordTemplates({})
|
|
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
|
+
|
|
201
221
|
it("mps.v20190612.DeleteSnapshotByTimeOffsetTemplate", async function () {
|
|
202
222
|
try {
|
|
203
223
|
const data = await client.DeleteSnapshotByTimeOffsetTemplate({})
|
|
@@ -518,6 +538,16 @@ it("mps.v20190612.ModifyPersonSample", async function () {
|
|
|
518
538
|
}
|
|
519
539
|
})
|
|
520
540
|
|
|
541
|
+
it("mps.v20190612.CreateLiveRecordTemplate", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.CreateLiveRecordTemplate({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
521
551
|
it("mps.v20190612.DeleteContentReviewTemplate", async function () {
|
|
522
552
|
try {
|
|
523
553
|
const data = await client.DeleteContentReviewTemplate({})
|
|
@@ -678,9 +708,9 @@ it("mps.v20190612.DescribeStreamLinkActivateState", async function () {
|
|
|
678
708
|
}
|
|
679
709
|
})
|
|
680
710
|
|
|
681
|
-
it("mps.v20190612.
|
|
711
|
+
it("mps.v20190612.CreateImageSpriteTemplate", async function () {
|
|
682
712
|
try {
|
|
683
|
-
const data = await client.
|
|
713
|
+
const data = await client.CreateImageSpriteTemplate({})
|
|
684
714
|
expect(data).to.be.ok
|
|
685
715
|
} catch(error) {
|
|
686
716
|
expect(error.requestId).to.be.ok
|
|
@@ -838,9 +868,9 @@ it("mps.v20190612.DescribeWatermarkTemplates", async function () {
|
|
|
838
868
|
}
|
|
839
869
|
})
|
|
840
870
|
|
|
841
|
-
it("mps.v20190612.
|
|
871
|
+
it("mps.v20190612.CreateWatermarkTemplate", async function () {
|
|
842
872
|
try {
|
|
843
|
-
const data = await client.
|
|
873
|
+
const data = await client.CreateWatermarkTemplate({})
|
|
844
874
|
expect(data).to.be.ok
|
|
845
875
|
} catch(error) {
|
|
846
876
|
expect(error.requestId).to.be.ok
|
|
@@ -968,6 +998,16 @@ it("mps.v20190612.ProcessLiveStream", async function () {
|
|
|
968
998
|
}
|
|
969
999
|
})
|
|
970
1000
|
|
|
1001
|
+
it("mps.v20190612.DeleteLiveRecordTemplate", async function () {
|
|
1002
|
+
try {
|
|
1003
|
+
const data = await client.DeleteLiveRecordTemplate({})
|
|
1004
|
+
expect(data).to.be.ok
|
|
1005
|
+
} catch(error) {
|
|
1006
|
+
expect(error.requestId).to.be.ok
|
|
1007
|
+
expect(error.code).to.be.ok
|
|
1008
|
+
}
|
|
1009
|
+
})
|
|
1010
|
+
|
|
971
1011
|
it("mps.v20190612.DeleteSampleSnapshotTemplate", async function () {
|
|
972
1012
|
try {
|
|
973
1013
|
const data = await client.DeleteSampleSnapshotTemplate({})
|
|
@@ -138,6 +138,16 @@ it("redis.v20180412.DescribeTaskInfo", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("redis.v20180412.ModifyInstanceBackupMode", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ModifyInstanceBackupMode({})
|
|
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
|
+
|
|
141
151
|
it("redis.v20180412.ModifyBackupDownloadRestriction", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.ModifyBackupDownloadRestriction({})
|
|
@@ -228,9 +238,9 @@ it("redis.v20180412.DescribeBackupUrl", async function () {
|
|
|
228
238
|
}
|
|
229
239
|
})
|
|
230
240
|
|
|
231
|
-
it("redis.v20180412.
|
|
241
|
+
it("redis.v20180412.DescribeSecondLevelBackupInfo", async function () {
|
|
232
242
|
try {
|
|
233
|
-
const data = await client.
|
|
243
|
+
const data = await client.DescribeSecondLevelBackupInfo({})
|
|
234
244
|
expect(data).to.be.ok
|
|
235
245
|
} catch(error) {
|
|
236
246
|
expect(error.requestId).to.be.ok
|
|
@@ -558,6 +568,16 @@ it("redis.v20180412.DescribeInstanceSpecBandwidth", async function () {
|
|
|
558
568
|
}
|
|
559
569
|
})
|
|
560
570
|
|
|
571
|
+
it("redis.v20180412.DeleteInstanceAccount", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.DeleteInstanceAccount({})
|
|
574
|
+
expect(data).to.be.ok
|
|
575
|
+
} catch(error) {
|
|
576
|
+
expect(error.requestId).to.be.ok
|
|
577
|
+
expect(error.code).to.be.ok
|
|
578
|
+
}
|
|
579
|
+
})
|
|
580
|
+
|
|
561
581
|
it("redis.v20180412.SwitchProxy", async function () {
|
|
562
582
|
try {
|
|
563
583
|
const data = await client.SwitchProxy({})
|
|
@@ -38,6 +38,16 @@ it("trocket.v20230308.ModifyMQTTInstanceCertBinding", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("trocket.v20230308.DescribeMessageTrace", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeMessageTrace({})
|
|
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
|
+
|
|
41
51
|
it("trocket.v20230308.ModifyTopic", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.ModifyTopic({})
|