tencentcloud-sdk-nodejs 4.0.819 → 4.0.821
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 +364 -0
- package/SERVICE_CHANGELOG.md +397 -33
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +30 -0
- package/src/services/aiart/v20221229/aiart_models.ts +103 -0
- package/src/services/cdb/v20170320/cdb_client.ts +2 -1
- package/src/services/cdb/v20170320/cdb_models.ts +43 -12
- package/src/services/ckafka/v20190819/ckafka_client.ts +1 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +15 -15
- package/src/services/cls/v20201016/cls_client.ts +4 -3
- package/src/services/cls/v20201016/cls_models.ts +22 -22
- package/src/services/csip/v20221121/csip_models.ts +1 -1
- package/src/services/dlc/v20210125/dlc_client.ts +12 -0
- package/src/services/dlc/v20210125/dlc_models.ts +54 -0
- package/src/services/dts/v20211206/dts_models.ts +7 -2
- package/src/services/ess/v20201111/ess_client.ts +8 -3
- package/src/services/ess/v20201111/ess_models.ts +72 -12
- package/src/services/essbasic/v20210526/essbasic_client.ts +6 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +64 -4
- package/src/services/faceid/v20180301/faceid_client.ts +39 -15
- package/src/services/faceid/v20180301/faceid_models.ts +187 -104
- package/src/services/live/v20180801/live_models.ts +1 -1
- package/src/services/oceanus/v20190422/oceanus_models.ts +1 -1
- package/src/services/pts/v20210728/pts_client.ts +57 -9
- package/src/services/pts/v20210728/pts_models.ts +169 -109
- package/src/services/wedata/v20210820/wedata_client.ts +1 -0
- package/src/services/wedata/v20210820/wedata_models.ts +182 -92
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +15 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +18 -0
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +99 -0
- 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 +42 -12
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +15 -15
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +4 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +4 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +22 -22
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +52 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +7 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +4 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +69 -12
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +61 -4
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +13 -5
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +18 -6
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +183 -104
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +1 -1
- package/tencentcloud/services/pts/v20210728/pts_client.d.ts +19 -3
- package/tencentcloud/services/pts/v20210728/pts_client.js +27 -3
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +161 -109
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +181 -92
- package/test/aiart.v20221229.test.js +20 -0
- package/test/dlc.v20210125.test.js +10 -0
- package/test/faceid.v20180301.test.js +24 -4
- package/test/pts.v20210728.test.js +42 -2
|
@@ -18,6 +18,26 @@ const client = new tencentcloud.aiart.v20221229.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("aiart.v20221229.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("aiart.v20221229.QueryTextToImageProJob", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.QueryTextToImageProJob({})
|
|
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("aiart.v20221229.SubmitTextToImageProJob", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.SubmitTextToImageProJob({})
|
|
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
|
+
|
|
21
41
|
it("aiart.v20221229.TextToImage", async function () {
|
|
22
42
|
try {
|
|
23
43
|
const data = await client.TextToImage({})
|
|
@@ -718,6 +718,16 @@ it("dlc.v20210125.DescribeDMSTable", async function () {
|
|
|
718
718
|
}
|
|
719
719
|
})
|
|
720
720
|
|
|
721
|
+
it("dlc.v20210125.QueryTaskCostDetail", async function () {
|
|
722
|
+
try {
|
|
723
|
+
const data = await client.QueryTaskCostDetail({})
|
|
724
|
+
expect(data).to.be.ok
|
|
725
|
+
} catch(error) {
|
|
726
|
+
expect(error.requestId).to.be.ok
|
|
727
|
+
expect(error.code).to.be.ok
|
|
728
|
+
}
|
|
729
|
+
})
|
|
730
|
+
|
|
721
731
|
it("dlc.v20210125.DropDMSPartitions", async function () {
|
|
722
732
|
try {
|
|
723
733
|
const data = await client.DropDMSPartitions({})
|
|
@@ -28,9 +28,9 @@ it("faceid.v20180301.GetLiveCode", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("faceid.v20180301.
|
|
31
|
+
it("faceid.v20180301.GetFaceIdRiskInfo", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.GetFaceIdRiskInfo({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -88,6 +88,16 @@ it("faceid.v20180301.EncryptedPhoneVerification", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("faceid.v20180301.GetActionSequence", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.GetActionSequence({})
|
|
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
|
+
|
|
91
101
|
it("faceid.v20180301.GetDetectInfoEnhanced", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.GetDetectInfoEnhanced({})
|
|
@@ -218,6 +228,16 @@ it("faceid.v20180301.MobileStatus", async function () {
|
|
|
218
228
|
}
|
|
219
229
|
})
|
|
220
230
|
|
|
231
|
+
it("faceid.v20180301.CheckIdNameDate", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.CheckIdNameDate({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
221
241
|
it("faceid.v20180301.PhoneVerificationCMCC", async function () {
|
|
222
242
|
try {
|
|
223
243
|
const data = await client.PhoneVerificationCMCC({})
|
|
@@ -238,9 +258,9 @@ it("faceid.v20180301.MinorsVerification", async function () {
|
|
|
238
258
|
}
|
|
239
259
|
})
|
|
240
260
|
|
|
241
|
-
it("faceid.v20180301.
|
|
261
|
+
it("faceid.v20180301.GetFaceidRiskInfoToken", async function () {
|
|
242
262
|
try {
|
|
243
|
-
const data = await client.
|
|
263
|
+
const data = await client.GetFaceidRiskInfoToken({})
|
|
244
264
|
expect(data).to.be.ok
|
|
245
265
|
} catch(error) {
|
|
246
266
|
expect(error.requestId).to.be.ok
|
|
@@ -28,6 +28,16 @@ it("pts.v20210728.DescribeScenarioWithJobs", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("pts.v20210728.DeleteEnvironments", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DeleteEnvironments({})
|
|
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
|
+
|
|
31
41
|
it("pts.v20210728.UpdateJob", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.UpdateJob({})
|
|
@@ -208,6 +218,16 @@ it("pts.v20210728.DescribeAlertRecords", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
221
|
+
it("pts.v20210728.DescribeSampleBatchQuery", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeSampleBatchQuery({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
211
231
|
it("pts.v20210728.DescribeAlertChannels", async function () {
|
|
212
232
|
try {
|
|
213
233
|
const data = await client.DescribeAlertChannels({})
|
|
@@ -268,6 +288,16 @@ it("pts.v20210728.RestartCronJobs", async function () {
|
|
|
268
288
|
}
|
|
269
289
|
})
|
|
270
290
|
|
|
291
|
+
it("pts.v20210728.UpdateEnvironment", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.UpdateEnvironment({})
|
|
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("pts.v20210728.CreateAlertChannel", async function () {
|
|
272
302
|
try {
|
|
273
303
|
const data = await client.CreateAlertChannel({})
|
|
@@ -278,9 +308,9 @@ it("pts.v20210728.CreateAlertChannel", async function () {
|
|
|
278
308
|
}
|
|
279
309
|
})
|
|
280
310
|
|
|
281
|
-
it("pts.v20210728.
|
|
311
|
+
it("pts.v20210728.DescribeEnvironments", async function () {
|
|
282
312
|
try {
|
|
283
|
-
const data = await client.
|
|
313
|
+
const data = await client.DescribeEnvironments({})
|
|
284
314
|
expect(data).to.be.ok
|
|
285
315
|
} catch(error) {
|
|
286
316
|
expect(error.requestId).to.be.ok
|
|
@@ -338,6 +368,16 @@ it("pts.v20210728.DescribeSampleLogs", async function () {
|
|
|
338
368
|
}
|
|
339
369
|
})
|
|
340
370
|
|
|
371
|
+
it("pts.v20210728.CreateEnvironment", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.CreateEnvironment({})
|
|
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
|
+
|
|
341
381
|
it("pts.v20210728.DescribeScenarios", async function () {
|
|
342
382
|
try {
|
|
343
383
|
const data = await client.DescribeScenarios({})
|