tencentcloud-sdk-nodejs 4.0.985 → 4.0.986

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 (58) hide show
  1. package/CHANGELOG.md +318 -0
  2. package/SERVICE_CHANGELOG.md +462 -77
  3. package/package.json +1 -1
  4. package/products.md +15 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_client.ts +2 -1
  7. package/src/services/cdb/v20170320/cdb_models.ts +74 -1
  8. package/src/services/cfs/v20190719/cfs_models.ts +8 -0
  9. package/src/services/cynosdb/v20190107/cynosdb_client.ts +34 -10
  10. package/src/services/cynosdb/v20190107/cynosdb_models.ts +107 -41
  11. package/src/services/emr/v20190103/emr_models.ts +9 -4
  12. package/src/services/ess/v20201111/ess_models.ts +10 -0
  13. package/src/services/essbasic/v20210526/essbasic_models.ts +6 -1
  14. package/src/services/index.ts +1 -0
  15. package/src/services/lke/v20231130/lke_client.ts +126 -39
  16. package/src/services/lke/v20231130/lke_models.ts +464 -78
  17. package/src/services/privatedns/v20201028/privatedns_models.ts +26 -13
  18. package/src/services/tmt/v20180321/tmt_client.ts +1 -1
  19. package/src/services/trocket/v20230308/trocket_models.ts +12 -12
  20. package/src/services/vcube/index.ts +5 -0
  21. package/src/services/vcube/v20220410/index.ts +6 -0
  22. package/src/services/vcube/v20220410/vcube_client.ts +455 -0
  23. package/src/services/vcube/v20220410/vcube_models.ts +2125 -0
  24. package/src/services/vod/v20180717/vod_models.ts +17 -1
  25. package/src/services/vpc/v20170312/vpc_models.ts +12 -5
  26. package/tencentcloud/common/sdk_version.d.ts +1 -1
  27. package/tencentcloud/common/sdk_version.js +1 -1
  28. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  29. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +73 -1
  30. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +8 -0
  31. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +11 -3
  32. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +15 -3
  33. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +102 -40
  34. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +9 -4
  35. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -0
  36. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +6 -1
  37. package/tencentcloud/services/index.d.ts +1 -0
  38. package/tencentcloud/services/index.js +2 -0
  39. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +41 -13
  40. package/tencentcloud/services/lke/v20231130/lke_client.js +60 -18
  41. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +447 -78
  42. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +26 -13
  43. package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +1 -1
  44. package/tencentcloud/services/tmt/v20180321/tmt_client.js +1 -1
  45. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +12 -12
  46. package/tencentcloud/services/vcube/index.d.ts +6 -0
  47. package/tencentcloud/services/vcube/index.js +7 -0
  48. package/tencentcloud/services/vcube/v20220410/index.d.ts +6 -0
  49. package/tencentcloud/services/vcube/v20220410/index.js +9 -0
  50. package/tencentcloud/services/vcube/v20220410/vcube_client.d.ts +146 -0
  51. package/tencentcloud/services/vcube/v20220410/vcube_client.js +235 -0
  52. package/tencentcloud/services/vcube/v20220410/vcube_models.d.ts +2025 -0
  53. package/tencentcloud/services/vcube/v20220410/vcube_models.js +18 -0
  54. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +17 -1
  55. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +12 -5
  56. package/test/cynosdb.v20190107.test.js +22 -2
  57. package/test/lke.v20231130.test.js +88 -18
  58. package/test/vcube.v20220410.test.js +361 -0
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1813,6 +1813,10 @@ export interface RoundPlayInfo {
1813
1813
  注意:此字段可能返回 null,表示取不到有效值。
1814
1814
  */
1815
1815
  UpdateTime?: string;
1816
+ /**
1817
+ * 过期时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52),过期后将停止播单的播放。“9999-12-31T23:59:59+08:00”表示永不过期。
1818
+ */
1819
+ ExpiredTime?: string;
1816
1820
  }
1817
1821
  /**
1818
1822
  * DescribeLicenseUsageData返回参数结构体
@@ -6281,6 +6285,10 @@ export interface ModifyRoundPlayRequest {
6281
6285
  <li>Linear:单次播放,播单播放完停止播放。</li>
6282
6286
  */
6283
6287
  PlayBackMode?: string;
6288
+ /**
6289
+ * 过期时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52),过期后将停止播放。“9999-12-31T23:59:59+08:00”表示不过期。
6290
+ */
6291
+ ExpiredTime?: string;
6284
6292
  }
6285
6293
  /**
6286
6294
  * 图片水印模板输入参数
@@ -8356,7 +8364,7 @@ export interface RoundPlayListItemInfo {
8356
8364
  */
8357
8365
  ItemId?: string;
8358
8366
  /**
8359
- * 指定播放的转码模版,当 AudioVideoType 为 Transcode 时必须指定。
8367
+ * 指定播放的转码模板,当 AudioVideoType 为 Transcode 时必须指定。
8360
8368
  */
8361
8369
  Definition?: number;
8362
8370
  }
@@ -12816,6 +12824,14 @@ export interface CreateRoundPlayRequest {
12816
12824
  默认值:Loop。
12817
12825
  */
12818
12826
  PlayBackMode?: string;
12827
+ /**
12828
+ * 播单唯一标识 ID,长度限制为64个字符,只允许包含大小写英文字母(a-zA-Z)、数字(0-9)和连字符(-)。如果存在相同 RoundPlayId 的播单,返回 InvalidParameterValue.RoundPlayAlreadyExists 错误。默认取值为空,表示由系统分配。
12829
+ */
12830
+ RoundPlayId?: string;
12831
+ /**
12832
+ * 过期时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。过期后的播单将停止播放,“9999-12-31T23:59:59+08:00“表示不过期。默认值:9999-12-31T23:59:59+08:00。
12833
+ */
12834
+ ExpiredTime?: string;
12819
12835
  }
12820
12836
  /**
12821
12837
  * 音视频审核涉及令人反感的信息的任务结果类型
@@ -13950,16 +13950,15 @@ export interface DescribeVpcTaskResultResponse {
13950
13950
  /**
13951
13951
  * 异步任务执行结果。结果:SUCCESS、FAILED、RUNNING。3者其中之一。其中SUCCESS表示任务执行成功,FAILED表示任务执行失败,RUNNING表示任务执行中。
13952
13952
  */
13953
- Status: string;
13953
+ Status?: string;
13954
13954
  /**
13955
13955
  * 异步任务执行输出。
13956
13956
  */
13957
- Output: string;
13957
+ Output?: string;
13958
13958
  /**
13959
13959
  * 异步任务详细结果。只用于特殊场景,如批量删除弹性网卡时查询成功的网卡列表和失败的列表。
13960
- 注意:此字段可能返回 null,表示取不到有效值。
13961
13960
  */
13962
- Result: Array<VpcTaskResultDetailInfo>;
13961
+ Result?: Array<VpcTaskResultDetailInfo>;
13963
13962
  /**
13964
13963
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13965
13964
  */
@@ -16051,7 +16050,7 @@ export interface ModifyHaVipAttributeRequest {
16051
16050
  /**
16052
16051
  * `HAVIP`名称,可任意命名,但不得超过60个字符。
16053
16052
  */
16054
- HaVipName: string;
16053
+ HaVipName?: string;
16055
16054
  }
16056
16055
  /**
16057
16056
  * ModifyAddressTemplateGroupAttribute返回参数结构体
@@ -16168,6 +16167,14 @@ export interface CreateHaVipRequest {
16168
16167
  * 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
16169
16168
  */
16170
16169
  Tags?: Array<Tag>;
16170
+ /**
16171
+ * HaVip绑定的子机或网卡。最多支持10个实例。
16172
+ */
16173
+ HaVipAssociationSet?: Array<HaVipAssociation>;
16174
+ /**
16175
+ * 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
16176
+ */
16177
+ ClientToken?: string;
16171
16178
  }
16172
16179
  /**
16173
16180
  * IPv6子网段对象。
@@ -298,6 +298,16 @@ it("cynosdb.v20190107.DisassociateSecurityGroups", async function () {
298
298
  }
299
299
  })
300
300
 
301
+ it("cynosdb.v20190107.DescribeClusterTransparentEncryptInfo", async function () {
302
+ try {
303
+ const data = await client.DescribeClusterTransparentEncryptInfo({})
304
+ expect(data).to.be.ok
305
+ } catch(error) {
306
+ expect(error.requestId).to.be.ok
307
+ expect(error.code).to.be.ok
308
+ }
309
+ })
310
+
301
311
  it("cynosdb.v20190107.ExportInstanceSlowQueries", async function () {
302
312
  try {
303
313
  const data = await client.ExportInstanceSlowQueries({})
@@ -368,6 +378,16 @@ it("cynosdb.v20190107.DescribeBinlogSaveDays", async function () {
368
378
  }
369
379
  })
370
380
 
381
+ it("cynosdb.v20190107.SearchClusterTables", async function () {
382
+ try {
383
+ const data = await client.SearchClusterTables({})
384
+ expect(data).to.be.ok
385
+ } catch(error) {
386
+ expect(error.requestId).to.be.ok
387
+ expect(error.code).to.be.ok
388
+ }
389
+ })
390
+
371
391
  it("cynosdb.v20190107.DescribeClusterInstanceGrps", async function () {
372
392
  try {
373
393
  const data = await client.DescribeClusterInstanceGrps({})
@@ -768,9 +788,9 @@ it("cynosdb.v20190107.OpenClusterReadOnlyInstanceGroupAccess", async function ()
768
788
  }
769
789
  })
770
790
 
771
- it("cynosdb.v20190107.SearchClusterTables", async function () {
791
+ it("cynosdb.v20190107.OpenClusterTransparentEncrypt", async function () {
772
792
  try {
773
- const data = await client.SearchClusterTables({})
793
+ const data = await client.OpenClusterTransparentEncrypt({})
774
794
  expect(data).to.be.ok
775
795
  } catch(error) {
776
796
  expect(error.requestId).to.be.ok
@@ -108,6 +108,16 @@ it("lke.v20231130.DeleteQA", async function () {
108
108
  }
109
109
  })
110
110
 
111
+ it("lke.v20231130.StopDocParse", async function () {
112
+ try {
113
+ const data = await client.StopDocParse({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
111
121
  it("lke.v20231130.CreateAttributeLabel", async function () {
112
122
  try {
113
123
  const data = await client.CreateAttributeLabel({})
@@ -118,9 +128,9 @@ it("lke.v20231130.CreateAttributeLabel", async function () {
118
128
  }
119
129
  })
120
130
 
121
- it("lke.v20231130.RetryDocAudit", async function () {
131
+ it("lke.v20231130.ListDocCate", async function () {
122
132
  try {
123
- const data = await client.RetryDocAudit({})
133
+ const data = await client.ListDocCate({})
124
134
  expect(data).to.be.ok
125
135
  } catch(error) {
126
136
  expect(error.requestId).to.be.ok
@@ -278,6 +288,16 @@ it("lke.v20231130.VerifyQA", async function () {
278
288
  }
279
289
  })
280
290
 
291
+ it("lke.v20231130.CreateDocCate", async function () {
292
+ try {
293
+ const data = await client.CreateDocCate({})
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
+
281
301
  it("lke.v20231130.CheckAttributeLabelExist", async function () {
282
302
  try {
283
303
  const data = await client.CheckAttributeLabelExist({})
@@ -298,6 +318,16 @@ it("lke.v20231130.DescribeDoc", async function () {
298
318
  }
299
319
  })
300
320
 
321
+ it("lke.v20231130.ListUsageCallDetail", async function () {
322
+ try {
323
+ const data = await client.ListUsageCallDetail({})
324
+ expect(data).to.be.ok
325
+ } catch(error) {
326
+ expect(error.requestId).to.be.ok
327
+ expect(error.code).to.be.ok
328
+ }
329
+ })
330
+
301
331
  it("lke.v20231130.DescribeStorageCredential", async function () {
302
332
  try {
303
333
  const data = await client.DescribeStorageCredential({})
@@ -378,6 +408,16 @@ it("lke.v20231130.DescribeUnsatisfiedReplyContext", async function () {
378
408
  }
379
409
  })
380
410
 
411
+ it("lke.v20231130.GroupDoc", async function () {
412
+ try {
413
+ const data = await client.GroupDoc({})
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
+
381
421
  it("lke.v20231130.ListApp", async function () {
382
422
  try {
383
423
  const data = await client.ListApp({})
@@ -398,6 +438,16 @@ it("lke.v20231130.DescribeTokenUsage", async function () {
398
438
  }
399
439
  })
400
440
 
441
+ it("lke.v20231130.DeleteDocCate", async function () {
442
+ try {
443
+ const data = await client.DeleteDocCate({})
444
+ expect(data).to.be.ok
445
+ } catch(error) {
446
+ expect(error.requestId).to.be.ok
447
+ expect(error.code).to.be.ok
448
+ }
449
+ })
450
+
401
451
  it("lke.v20231130.ListQACate", async function () {
402
452
  try {
403
453
  const data = await client.ListQACate({})
@@ -488,9 +538,9 @@ it("lke.v20231130.DescribeKnowledgeUsage", async function () {
488
538
  }
489
539
  })
490
540
 
491
- it("lke.v20231130.ListDoc", async function () {
541
+ it("lke.v20231130.DescribeRobotBizIDByAppKey", async function () {
492
542
  try {
493
- const data = await client.ListDoc({})
543
+ const data = await client.DescribeRobotBizIDByAppKey({})
494
544
  expect(data).to.be.ok
495
545
  } catch(error) {
496
546
  expect(error.requestId).to.be.ok
@@ -498,9 +548,9 @@ it("lke.v20231130.ListDoc", async function () {
498
548
  }
499
549
  })
500
550
 
501
- it("lke.v20231130.ListQA", async function () {
551
+ it("lke.v20231130.ListDoc", async function () {
502
552
  try {
503
- const data = await client.ListQA({})
553
+ const data = await client.ListDoc({})
504
554
  expect(data).to.be.ok
505
555
  } catch(error) {
506
556
  expect(error.requestId).to.be.ok
@@ -508,9 +558,9 @@ it("lke.v20231130.ListQA", async function () {
508
558
  }
509
559
  })
510
560
 
511
- it("lke.v20231130.GetLikeDataCount", async function () {
561
+ it("lke.v20231130.ListQA", async function () {
512
562
  try {
513
- const data = await client.GetLikeDataCount({})
563
+ const data = await client.ListQA({})
514
564
  expect(data).to.be.ok
515
565
  } catch(error) {
516
566
  expect(error.requestId).to.be.ok
@@ -518,9 +568,9 @@ it("lke.v20231130.GetLikeDataCount", async function () {
518
568
  }
519
569
  })
520
570
 
521
- it("lke.v20231130.DescribeRobotBizIDByAppKey", async function () {
571
+ it("lke.v20231130.GetLikeDataCount", async function () {
522
572
  try {
523
- const data = await client.DescribeRobotBizIDByAppKey({})
573
+ const data = await client.GetLikeDataCount({})
524
574
  expect(data).to.be.ok
525
575
  } catch(error) {
526
576
  expect(error.requestId).to.be.ok
@@ -528,9 +578,9 @@ it("lke.v20231130.DescribeRobotBizIDByAppKey", async function () {
528
578
  }
529
579
  })
530
580
 
531
- it("lke.v20231130.ExportQAList", async function () {
581
+ it("lke.v20231130.ModifyDocCate", async function () {
532
582
  try {
533
- const data = await client.ExportQAList({})
583
+ const data = await client.ModifyDocCate({})
534
584
  expect(data).to.be.ok
535
585
  } catch(error) {
536
586
  expect(error.requestId).to.be.ok
@@ -538,9 +588,9 @@ it("lke.v20231130.ExportQAList", async function () {
538
588
  }
539
589
  })
540
590
 
541
- it("lke.v20231130.IgnoreUnsatisfiedReply", async function () {
591
+ it("lke.v20231130.ExportQAList", async function () {
542
592
  try {
543
- const data = await client.IgnoreUnsatisfiedReply({})
593
+ const data = await client.ExportQAList({})
544
594
  expect(data).to.be.ok
545
595
  } catch(error) {
546
596
  expect(error.requestId).to.be.ok
@@ -738,6 +788,16 @@ it("lke.v20231130.QueryRewrite", async function () {
738
788
  }
739
789
  })
740
790
 
791
+ it("lke.v20231130.RetryDocAudit", async function () {
792
+ try {
793
+ const data = await client.RetryDocAudit({})
794
+ expect(data).to.be.ok
795
+ } catch(error) {
796
+ expect(error.requestId).to.be.ok
797
+ expect(error.code).to.be.ok
798
+ }
799
+ })
800
+
741
801
  it("lke.v20231130.ModifyApp", async function () {
742
802
  try {
743
803
  const data = await client.ModifyApp({})
@@ -908,9 +968,9 @@ it("lke.v20231130.ReconstructDocument", async function () {
908
968
  }
909
969
  })
910
970
 
911
- it("lke.v20231130.StopDocParse", async function () {
971
+ it("lke.v20231130.ResetSession", async function () {
912
972
  try {
913
- const data = await client.StopDocParse({})
973
+ const data = await client.ResetSession({})
914
974
  expect(data).to.be.ok
915
975
  } catch(error) {
916
976
  expect(error.requestId).to.be.ok
@@ -918,9 +978,19 @@ it("lke.v20231130.StopDocParse", async function () {
918
978
  }
919
979
  })
920
980
 
921
- it("lke.v20231130.ResetSession", async function () {
981
+ it("lke.v20231130.ListAppKnowledgeDetail", async function () {
922
982
  try {
923
- const data = await client.ResetSession({})
983
+ const data = await client.ListAppKnowledgeDetail({})
984
+ expect(data).to.be.ok
985
+ } catch(error) {
986
+ expect(error.requestId).to.be.ok
987
+ expect(error.code).to.be.ok
988
+ }
989
+ })
990
+
991
+ it("lke.v20231130.IgnoreUnsatisfiedReply", async function () {
992
+ try {
993
+ const data = await client.IgnoreUnsatisfiedReply({})
924
994
  expect(data).to.be.ok
925
995
  } catch(error) {
926
996
  expect(error.requestId).to.be.ok