tencentcloud-sdk-nodejs 4.0.478 → 4.0.480

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/SERVICE_CHANGELOG.md +107 -209
  3. package/package.json +1 -1
  4. package/products.md +7 -7
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cfs/v20190719/cfs_client.ts +115 -78
  7. package/src/services/cfs/v20190719/cfs_models.ts +875 -728
  8. package/src/services/faceid/v20180301/faceid_client.ts +62 -189
  9. package/src/services/faceid/v20180301/faceid_models.ts +1543 -2276
  10. package/src/services/iai/v20200303/iai_client.ts +2 -0
  11. package/src/services/ssl/v20191205/ssl_models.ts +1 -1
  12. package/src/services/tione/v20211111/tione_client.ts +125 -23
  13. package/src/services/tione/v20211111/tione_models.ts +773 -78
  14. package/src/services/tke/v20180525/tke_models.ts +1 -1
  15. package/src/services/vod/v20180717/vod_models.ts +1 -1
  16. package/tencentcloud/common/sdk_version.d.ts +1 -1
  17. package/tencentcloud/common/sdk_version.js +1 -1
  18. package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +19 -7
  19. package/tencentcloud/services/cfs/v20190719/cfs_client.js +27 -9
  20. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +820 -695
  21. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +3 -46
  22. package/tencentcloud/services/faceid/v20180301/faceid_client.js +3 -66
  23. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1508 -2139
  24. package/tencentcloud/services/iai/v20200303/iai_client.d.ts +2 -0
  25. package/tencentcloud/services/iai/v20200303/iai_client.js +2 -0
  26. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
  27. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +39 -7
  28. package/tencentcloud/services/tione/v20211111/tione_client.js +57 -9
  29. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +631 -43
  30. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
  31. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
  32. package/test/cfs.v20190719.test.js +36 -6
  33. package/test/faceid.v20180301.test.js +2 -102
  34. package/test/tione.v20211111.test.js +86 -6
@@ -8000,7 +8000,7 @@ export interface DeleteClusterEndpointVipResponse {
8000
8000
  */
8001
8001
  export interface ClusterBasicSettings {
8002
8002
  /**
8003
- * 集群操作系统,支持设置公共镜像(字段传相应镜像ID)和自定义镜像(字段传相应镜像Name),详情参考:https://cloud.tencent.com/document/product/457/68289
8003
+ * 集群操作系统,支持设置公共镜像(字段传相应镜像Name)和自定义镜像(字段传相应镜像ID),详情参考:https://cloud.tencent.com/document/product/457/68289
8004
8004
  */
8005
8005
  ClusterOs?: string;
8006
8006
  /**
@@ -9026,7 +9026,7 @@ export interface PullUploadRequest {
9026
9026
  */
9027
9027
  MediaName?: string;
9028
9028
  /**
9029
- * 要拉取的视频封面 URL。仅支持 gif、jpegpng 三种图片格式。
9029
+ * 要拉取的视频封面 URL。支持的文件格式:gif、jpeg(jpg)、png
9030
9030
  */
9031
9031
  CoverUrl?: string;
9032
9032
  /**
@@ -68,6 +68,16 @@ it("cfs.v20190719.DescribeCfsPGroups", async function () {
68
68
  }
69
69
  })
70
70
 
71
+ it("cfs.v20190719.SetUserQuota", async function () {
72
+ try {
73
+ const data = await client.SetUserQuota({})
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
+
71
81
  it("cfs.v20190719.DescribeAutoSnapshotPolicies", async function () {
72
82
  try {
73
83
  const data = await client.DescribeAutoSnapshotPolicies({})
@@ -78,9 +88,9 @@ it("cfs.v20190719.DescribeAutoSnapshotPolicies", async function () {
78
88
  }
79
89
  })
80
90
 
81
- it("cfs.v20190719.BindAutoSnapshotPolicy", async function () {
91
+ it("cfs.v20190719.DescribeMountTargets", async function () {
82
92
  try {
83
- const data = await client.BindAutoSnapshotPolicy({})
93
+ const data = await client.DescribeMountTargets({})
84
94
  expect(data).to.be.ok
85
95
  } catch(error) {
86
96
  expect(error.requestId).to.be.ok
@@ -148,6 +158,16 @@ it("cfs.v20190719.UpdateCfsFileSystemSizeLimit", async function () {
148
158
  }
149
159
  })
150
160
 
161
+ it("cfs.v20190719.CreateAutoSnapshotPolicy", async function () {
162
+ try {
163
+ const data = await client.CreateAutoSnapshotPolicy({})
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
+
151
171
  it("cfs.v20190719.DeleteCfsFileSystem", async function () {
152
172
  try {
153
173
  const data = await client.DeleteCfsFileSystem({})
@@ -188,6 +208,16 @@ it("cfs.v20190719.DescribeCfsSnapshotOverview", async function () {
188
208
  }
189
209
  })
190
210
 
211
+ it("cfs.v20190719.DescribeUserQuota", async function () {
212
+ try {
213
+ const data = await client.DescribeUserQuota({})
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
+
191
221
  it("cfs.v20190719.UpdateAutoSnapshotPolicy", async function () {
192
222
  try {
193
223
  const data = await client.UpdateAutoSnapshotPolicy({})
@@ -218,9 +248,9 @@ it("cfs.v20190719.DescribeCfsSnapshots", async function () {
218
248
  }
219
249
  })
220
250
 
221
- it("cfs.v20190719.DescribeMountTargets", async function () {
251
+ it("cfs.v20190719.BindAutoSnapshotPolicy", async function () {
222
252
  try {
223
- const data = await client.DescribeMountTargets({})
253
+ const data = await client.BindAutoSnapshotPolicy({})
224
254
  expect(data).to.be.ok
225
255
  } catch(error) {
226
256
  expect(error.requestId).to.be.ok
@@ -248,9 +278,9 @@ it("cfs.v20190719.DeleteMountTarget", async function () {
248
278
  }
249
279
  })
250
280
 
251
- it("cfs.v20190719.CreateAutoSnapshotPolicy", async function () {
281
+ it("cfs.v20190719.DeleteUserQuota", async function () {
252
282
  try {
253
- const data = await client.CreateAutoSnapshotPolicy({})
283
+ const data = await client.DeleteUserQuota({})
254
284
  expect(data).to.be.ok
255
285
  } catch(error) {
256
286
  expect(error.requestId).to.be.ok
@@ -28,16 +28,6 @@ it("faceid.v20180301.GetLiveCode", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("faceid.v20180301.VideoLivenessCompare", async function () {
32
- try {
33
- const data = await client.VideoLivenessCompare({})
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
31
  it("faceid.v20180301.GetActionSequence", async function () {
42
32
  try {
43
33
  const data = await client.GetActionSequence({})
@@ -78,16 +68,6 @@ it("faceid.v20180301.CheckEidTokenStatus", async function () {
78
68
  }
79
69
  })
80
70
 
81
- it("faceid.v20180301.CreateUploadUrl", async function () {
82
- try {
83
- const data = await client.CreateUploadUrl({})
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
71
  it("faceid.v20180301.BankCard4EVerification", async function () {
92
72
  try {
93
73
  const data = await client.BankCard4EVerification({})
@@ -138,16 +118,6 @@ it("faceid.v20180301.CheckPhoneAndName", async function () {
138
118
  }
139
119
  })
140
120
 
141
- it("faceid.v20180301.ApplyLivenessToken", async function () {
142
- try {
143
- const data = await client.ApplyLivenessToken({})
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
-
151
121
  it("faceid.v20180301.BankCardVerification", async function () {
152
122
  try {
153
123
  const data = await client.BankCardVerification({})
@@ -158,16 +128,6 @@ it("faceid.v20180301.BankCardVerification", async function () {
158
128
  }
159
129
  })
160
130
 
161
- it("faceid.v20180301.ApplySdkVerificationToken", async function () {
162
- try {
163
- const data = await client.ApplySdkVerificationToken({})
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
131
  it("faceid.v20180301.LivenessCompare", async function () {
172
132
  try {
173
133
  const data = await client.LivenessCompare({})
@@ -178,26 +138,6 @@ it("faceid.v20180301.LivenessCompare", async function () {
178
138
  }
179
139
  })
180
140
 
181
- it("faceid.v20180301.GenerateReflectSequence", async function () {
182
- try {
183
- const data = await client.GenerateReflectSequence({})
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
-
191
- it("faceid.v20180301.GetSdkVerificationResult", async function () {
192
- try {
193
- const data = await client.GetSdkVerificationResult({})
194
- expect(data).to.be.ok
195
- } catch(error) {
196
- expect(error.requestId).to.be.ok
197
- expect(error.code).to.be.ok
198
- }
199
- })
200
-
201
141
  it("faceid.v20180301.GetRealNameAuthToken", async function () {
202
142
  try {
203
143
  const data = await client.GetRealNameAuthToken({})
@@ -248,9 +188,9 @@ it("faceid.v20180301.GetEidToken", async function () {
248
188
  }
249
189
  })
250
190
 
251
- it("faceid.v20180301.GetWebVerificationResult", async function () {
191
+ it("faceid.v20180301.PhoneVerification", async function () {
252
192
  try {
253
- const data = await client.GetWebVerificationResult({})
193
+ const data = await client.PhoneVerification({})
254
194
  expect(data).to.be.ok
255
195
  } catch(error) {
256
196
  expect(error.requestId).to.be.ok
@@ -288,16 +228,6 @@ it("faceid.v20180301.MinorsVerification", async function () {
288
228
  }
289
229
  })
290
230
 
291
- it("faceid.v20180301.DetectReflectLivenessAndCompare", async function () {
292
- try {
293
- const data = await client.DetectReflectLivenessAndCompare({})
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
-
301
231
  it("faceid.v20180301.CheckIdNameDate", async function () {
302
232
  try {
303
233
  const data = await client.CheckIdNameDate({})
@@ -398,16 +328,6 @@ it("faceid.v20180301.CheckBankCardInformation", async function () {
398
328
  }
399
329
  })
400
330
 
401
- it("faceid.v20180301.ApplyWebVerificationToken", async function () {
402
- try {
403
- const data = await client.ApplyWebVerificationToken({})
404
- expect(data).to.be.ok
405
- } catch(error) {
406
- expect(error.requestId).to.be.ok
407
- expect(error.code).to.be.ok
408
- }
409
- })
410
-
411
331
  it("faceid.v20180301.GetDetectInfo", async function () {
412
332
  try {
413
333
  const data = await client.GetDetectInfo({})
@@ -428,16 +348,6 @@ it("faceid.v20180301.BankCard2EVerification", async function () {
428
348
  }
429
349
  })
430
350
 
431
- it("faceid.v20180301.PhoneVerification", async function () {
432
- try {
433
- const data = await client.PhoneVerification({})
434
- expect(data).to.be.ok
435
- } catch(error) {
436
- expect(error.requestId).to.be.ok
437
- expect(error.code).to.be.ok
438
- }
439
- })
440
-
441
351
  it("faceid.v20180301.PhoneVerificationCTCC", async function () {
442
352
  try {
443
353
  const data = await client.PhoneVerificationCTCC({})
@@ -458,14 +368,4 @@ it("faceid.v20180301.GetRealNameAuthResult", async function () {
458
368
  }
459
369
  })
460
370
 
461
- it("faceid.v20180301.GetLivenessResult", async function () {
462
- try {
463
- const data = await client.GetLivenessResult({})
464
- expect(data).to.be.ok
465
- } catch(error) {
466
- expect(error.requestId).to.be.ok
467
- expect(error.code).to.be.ok
468
- }
469
- })
470
-
471
371
  })
@@ -78,6 +78,16 @@ it("tione.v20211111.DescribeModelServiceCallInfo", async function () {
78
78
  }
79
79
  })
80
80
 
81
+ it("tione.v20211111.CreateOptimizedModel", async function () {
82
+ try {
83
+ const data = await client.CreateOptimizedModel({})
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
+
81
91
  it("tione.v20211111.DescribeTrainingTasks", async function () {
82
92
  try {
83
93
  const data = await client.DescribeTrainingTasks({})
@@ -88,6 +98,16 @@ it("tione.v20211111.DescribeTrainingTasks", async function () {
88
98
  }
89
99
  })
90
100
 
101
+ it("tione.v20211111.DescribeModelServiceGroup", async function () {
102
+ try {
103
+ const data = await client.DescribeModelServiceGroup({})
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
+
91
111
  it("tione.v20211111.DescribeModelService", async function () {
92
112
  try {
93
113
  const data = await client.DescribeModelService({})
@@ -178,6 +198,16 @@ it("tione.v20211111.DescribeModelServiceHotUpdated", async function () {
178
198
  }
179
199
  })
180
200
 
201
+ it("tione.v20211111.DescribeModelAccelerateTask", async function () {
202
+ try {
203
+ const data = await client.DescribeModelAccelerateTask({})
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
+
181
211
  it("tione.v20211111.DescribeTrainingMetrics", async function () {
182
212
  try {
183
213
  const data = await client.DescribeTrainingMetrics({})
@@ -228,6 +258,16 @@ it("tione.v20211111.DescribeBatchTaskInstances", async function () {
228
258
  }
229
259
  })
230
260
 
261
+ it("tione.v20211111.DescribeModelAccEngineVersions", async function () {
262
+ try {
263
+ const data = await client.DescribeModelAccEngineVersions({})
264
+ expect(data).to.be.ok
265
+ } catch(error) {
266
+ expect(error.requestId).to.be.ok
267
+ expect(error.code).to.be.ok
268
+ }
269
+ })
270
+
231
271
  it("tione.v20211111.StopTrainingTask", async function () {
232
272
  try {
233
273
  const data = await client.StopTrainingTask({})
@@ -248,9 +288,9 @@ it("tione.v20211111.StartTrainingTask", async function () {
248
288
  }
249
289
  })
250
290
 
251
- it("tione.v20211111.DescribeModelServiceGroup", async function () {
291
+ it("tione.v20211111.DeleteModelAccelerateTask", async function () {
252
292
  try {
253
- const data = await client.DescribeModelServiceGroup({})
293
+ const data = await client.DeleteModelAccelerateTask({})
254
294
  expect(data).to.be.ok
255
295
  } catch(error) {
256
296
  expect(error.requestId).to.be.ok
@@ -308,6 +348,16 @@ it("tione.v20211111.DescribeTrainingModelVersions", async function () {
308
348
  }
309
349
  })
310
350
 
351
+ it("tione.v20211111.DescribeModelAccelerateTasks", async function () {
352
+ try {
353
+ const data = await client.DescribeModelAccelerateTasks({})
354
+ expect(data).to.be.ok
355
+ } catch(error) {
356
+ expect(error.requestId).to.be.ok
357
+ expect(error.code).to.be.ok
358
+ }
359
+ })
360
+
311
361
  it("tione.v20211111.CreateModelService", async function () {
312
362
  try {
313
363
  const data = await client.CreateModelService({})
@@ -318,9 +368,9 @@ it("tione.v20211111.CreateModelService", async function () {
318
368
  }
319
369
  })
320
370
 
321
- it("tione.v20211111.DescribeDatasetDetailStructured", async function () {
371
+ it("tione.v20211111.DescribeDatasets", async function () {
322
372
  try {
323
- const data = await client.DescribeDatasetDetailStructured({})
373
+ const data = await client.DescribeDatasets({})
324
374
  expect(data).to.be.ok
325
375
  } catch(error) {
326
376
  expect(error.requestId).to.be.ok
@@ -348,9 +398,19 @@ it("tione.v20211111.DeleteModelService", async function () {
348
398
  }
349
399
  })
350
400
 
351
- it("tione.v20211111.DescribeDatasets", async function () {
401
+ it("tione.v20211111.DescribeDatasetDetailStructured", async function () {
352
402
  try {
353
- const data = await client.DescribeDatasets({})
403
+ const data = await client.DescribeDatasetDetailStructured({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
411
+ it("tione.v20211111.RestartModelAccelerateTask", async function () {
412
+ try {
413
+ const data = await client.RestartModelAccelerateTask({})
354
414
  expect(data).to.be.ok
355
415
  } catch(error) {
356
416
  expect(error.requestId).to.be.ok
@@ -398,6 +458,16 @@ it("tione.v20211111.DeleteTrainingTask", async function () {
398
458
  }
399
459
  })
400
460
 
461
+ it("tione.v20211111.CreateBatchModelAccTasks", async function () {
462
+ try {
463
+ const data = await client.CreateBatchModelAccTasks({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
401
471
  it("tione.v20211111.DescribeBatchTask", async function () {
402
472
  try {
403
473
  const data = await client.DescribeBatchTask({})
@@ -468,4 +538,14 @@ it("tione.v20211111.DescribeModelServiceGroups", async function () {
468
538
  }
469
539
  })
470
540
 
541
+ it("tione.v20211111.StopModelAccelerateTask", async function () {
542
+ try {
543
+ const data = await client.StopModelAccelerateTask({})
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
+
471
551
  })