tencentcloud-sdk-nodejs 4.0.518 → 4.0.519

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 (48) hide show
  1. package/CHANGELOG.md +184 -0
  2. package/SERVICE_CHANGELOG.md +217 -136
  3. package/package.json +1 -1
  4. package/products.md +17 -17
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/car/v20220110/car_models.ts +5 -0
  7. package/src/services/ccc/v20200210/ccc_models.ts +6 -0
  8. package/src/services/cdn/v20180606/cdn_models.ts +3 -3
  9. package/src/services/cfg/v20210820/cfg_models.ts +2 -2
  10. package/src/services/chdfs/v20201112/chdfs_models.ts +19 -1
  11. package/src/services/dbbrain/v20210527/dbbrain_client.ts +1 -0
  12. package/src/services/dbbrain/v20210527/dbbrain_models.ts +36 -1
  13. package/src/services/dts/v20211206/dts_client.ts +1 -1
  14. package/src/services/ecm/v20190719/ecm_models.ts +17 -1
  15. package/src/services/ess/v20201111/ess_models.ts +6 -1
  16. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  18. package/src/services/lighthouse/v20200324/lighthouse_models.ts +3 -3
  19. package/src/services/tke/v20180525/tke_client.ts +148 -49
  20. package/src/services/tke/v20180525/tke_models.ts +589 -199
  21. package/src/services/tsf/v20180326/tsf_models.ts +1 -1
  22. package/src/services/yinsuda/v20220527/yinsuda_client.ts +15 -3
  23. package/src/services/yinsuda/v20220527/yinsuda_models.ts +81 -31
  24. package/tencentcloud/common/sdk_version.d.ts +1 -1
  25. package/tencentcloud/common/sdk_version.js +1 -1
  26. package/tencentcloud/services/car/v20220110/car_models.d.ts +4 -0
  27. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
  28. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +3 -3
  29. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +2 -2
  30. package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +16 -1
  31. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +31 -1
  32. package/tencentcloud/services/dts/v20211206/dts_client.d.ts +1 -1
  33. package/tencentcloud/services/dts/v20211206/dts_client.js +1 -1
  34. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +14 -1
  35. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +5 -1
  36. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  37. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  38. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  39. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +3 -3
  40. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +47 -15
  41. package/tencentcloud/services/tke/v20180525/tke_client.js +69 -21
  42. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +503 -170
  43. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -1
  44. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +5 -1
  45. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +6 -0
  46. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +71 -29
  47. package/test/tke.v20180525.test.js +100 -20
  48. package/test/yinsuda.v20220527.test.js +10 -0
@@ -10839,7 +10839,7 @@ export interface DescribeContainerGroupsRequest {
10839
10839
  */
10840
10840
  SearchWord?: string;
10841
10841
  /**
10842
- * 分组所属应用ID
10842
+ * 分组所属应用ID。必填
10843
10843
  */
10844
10844
  ApplicationId?: string;
10845
10845
  /**
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeKTVSuggestionsResponse, DestroyKTVRobotResponse, SyncKTVRobotCommandRequest, DescribeKTVPlaylistDetailRequest, CreateKTVRobotResponse, DescribeKTVSuggestionsRequest, DescribeKTVMatchMusicsRequest, DescribeKTVPlaylistsResponse, DescribeKTVPlaylistsRequest, DescribeKTVPlaylistDetailResponse, DescribeKTVRobotsResponse, BatchDescribeKTVMusicDetailsRequest, CreateKTVRobotRequest, DescribeKTVMusicsByTagResponse, SearchKTVMusicsResponse, DescribeKTVMatchMusicsResponse, DescribeKTVTagsResponse, SyncKTVRobotCommandResponse, BatchDescribeKTVMusicDetailsResponse, DescribeKTVMusicsByTagRequest, SearchKTVMusicsRequest, DestroyKTVRobotRequest, DescribeKTVRobotsRequest, DescribeKTVTagsRequest } from "./yinsuda_models";
3
+ import { ApplyChorusResponse, DescribeKTVSuggestionsResponse, DestroyKTVRobotResponse, CreateKTVRobotRequest, SyncKTVRobotCommandRequest, DescribeKTVPlaylistDetailRequest, CreateKTVRobotResponse, DescribeKTVSuggestionsRequest, DescribeKTVMatchMusicsRequest, DescribeKTVPlaylistsResponse, DescribeKTVPlaylistsRequest, DescribeKTVPlaylistDetailResponse, SyncKTVRobotCommandResponse, DescribeKTVRobotsResponse, BatchDescribeKTVMusicDetailsRequest, DescribeKTVMusicsByTagResponse, SearchKTVMusicsResponse, DescribeKTVMatchMusicsResponse, DescribeKTVTagsResponse, ApplyChorusRequest, BatchDescribeKTVMusicDetailsResponse, DescribeKTVMusicsByTagRequest, SearchKTVMusicsRequest, DestroyKTVRobotRequest, DescribeKTVRobotsRequest, DescribeKTVTagsRequest } from "./yinsuda_models";
4
4
  /**
5
5
  * yinsuda client
6
6
  * @class
@@ -39,6 +39,10 @@ export declare class Client extends AbstractClient {
39
39
  * 获取歌单列表。
40
40
  */
41
41
  DescribeKTVPlaylists(req: DescribeKTVPlaylistsRequest, cb?: (error: string, rep: DescribeKTVPlaylistsResponse) => void): Promise<DescribeKTVPlaylistsResponse>;
42
+ /**
43
+ * 申请合唱相关信息,用于标记用户的演唱是在合唱场景下。
44
+ */
45
+ ApplyChorus(req: ApplyChorusRequest, cb?: (error: string, rep: ApplyChorusResponse) => void): Promise<ApplyChorusResponse>;
42
46
  /**
43
47
  * 获取机器人列表,支持 Id、状态等过滤条件。
44
48
  */
@@ -75,6 +75,12 @@ class Client extends abstract_client_1.AbstractClient {
75
75
  async DescribeKTVPlaylists(req, cb) {
76
76
  return this.request("DescribeKTVPlaylists", req, cb);
77
77
  }
78
+ /**
79
+ * 申请合唱相关信息,用于标记用户的演唱是在合唱场景下。
80
+ */
81
+ async ApplyChorus(req, cb) {
82
+ return this.request("ApplyChorus", req, cb);
83
+ }
78
84
  /**
79
85
  * 获取机器人列表,支持 Id、状态等过滤条件。
80
86
  */
@@ -1,3 +1,16 @@
1
+ /**
2
+ * ApplyChorus返回参数结构体
3
+ */
4
+ export interface ApplyChorusResponse {
5
+ /**
6
+ * 合唱 Token。
7
+ */
8
+ ChorusToken: string;
9
+ /**
10
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11
+ */
12
+ RequestId?: string;
13
+ }
1
14
  /**
2
15
  * 节拍信息。
3
16
  */
@@ -76,21 +89,30 @@ export interface MusicAlbumCoverInfo {
76
89
  Url: string;
77
90
  }
78
91
  /**
79
- * AME 曲库歌曲基础信息。
92
+ * CreateKTVRobot请求参数结构体
80
93
  */
81
- export interface AMEMusicBaseInfo {
94
+ export interface CreateKTVRobotRequest {
82
95
  /**
83
- * 歌曲 Id。
96
+ * 应用名称。
84
97
  */
85
- MusicId: string;
98
+ AppName: string;
86
99
  /**
87
- * 歌曲名称。
100
+ * 用户标识。
88
101
  */
89
- Name: string;
102
+ UserId: string;
90
103
  /**
91
- * 歌手列表。
104
+ * RTC厂商类型,取值有:
105
+ <li>TRTC</li>
92
106
  */
93
- SingerSet: Array<string>;
107
+ RTCSystem: string;
108
+ /**
109
+ * 进房参数。
110
+ */
111
+ JoinRoomInput: JoinRoomInput;
112
+ /**
113
+ * 创建机器人时初始化参数。
114
+ */
115
+ SyncRobotCommands?: Array<SyncRobotCommand>;
94
116
  }
95
117
  /**
96
118
  * 联想词信息。
@@ -300,6 +322,15 @@ export interface DescribeKTVPlaylistDetailResponse {
300
322
  */
301
323
  RequestId?: string;
302
324
  }
325
+ /**
326
+ * SyncKTVRobotCommand返回参数结构体
327
+ */
328
+ export interface SyncKTVRobotCommandResponse {
329
+ /**
330
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
331
+ */
332
+ RequestId?: string;
333
+ }
303
334
  /**
304
335
  * 设置销毁模式
305
336
  */
@@ -418,30 +449,21 @@ export interface BatchDescribeKTVMusicDetailsRequest {
418
449
  MusicIds: Array<string>;
419
450
  }
420
451
  /**
421
- * CreateKTVRobot请求参数结构体
452
+ * AME 曲库歌曲基础信息。
422
453
  */
423
- export interface CreateKTVRobotRequest {
424
- /**
425
- * 应用名称。
426
- */
427
- AppName: string;
428
- /**
429
- * 用户标识。
430
- */
431
- UserId: string;
454
+ export interface AMEMusicBaseInfo {
432
455
  /**
433
- * RTC厂商类型,取值有:
434
- <li>TRTC</li>
456
+ * 歌曲 Id。
435
457
  */
436
- RTCSystem: string;
458
+ MusicId: string;
437
459
  /**
438
- * 进房参数。
460
+ * 歌曲名称。
439
461
  */
440
- JoinRoomInput: JoinRoomInput;
462
+ Name: string;
441
463
  /**
442
- * 创建机器人时初始化参数。
464
+ * 歌手列表。
443
465
  */
444
- SyncRobotCommands?: Array<SyncRobotCommand>;
466
+ SingerSet: Array<string>;
445
467
  }
446
468
  /**
447
469
  * DescribeKTVMusicsByTag返回参数结构体
@@ -684,13 +706,33 @@ export interface SetPlaylistCommandInput {
684
706
  MusicIds?: Array<string>;
685
707
  }
686
708
  /**
687
- * SyncKTVRobotCommand返回参数结构体
709
+ * ApplyChorus请求参数结构体
688
710
  */
689
- export interface SyncKTVRobotCommandResponse {
711
+ export interface ApplyChorusRequest {
690
712
  /**
691
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
713
+ * 应用名称。
692
714
  */
693
- RequestId?: string;
715
+ AppName: string;
716
+ /**
717
+ * 用户标识。
718
+ */
719
+ UserId: string;
720
+ /**
721
+ * 房间号。
722
+ */
723
+ RoomId: string;
724
+ /**
725
+ * 歌曲 Id。
726
+ */
727
+ MusicId: string;
728
+ /**
729
+ * 最大合唱人数,默认值为 8,最大值为 20。
730
+ */
731
+ MaxChorusNum?: number;
732
+ /**
733
+ * 合唱用户标识列表。
734
+ */
735
+ ChorusUserIds?: Array<string>;
694
736
  }
695
737
  /**
696
738
  * BatchDescribeKTVMusicDetails返回参数结构体
@@ -38,9 +38,9 @@ it("tke.v20180525.CreateECMInstances", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("tke.v20180525.UpdateImageCache", async function () {
41
+ it("tke.v20180525.DescribeClusterVirtualNode", async function () {
42
42
  try {
43
- const data = await client.UpdateImageCache({})
43
+ const data = await client.DescribeClusterVirtualNode({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -68,6 +68,16 @@ it("tke.v20180525.InstallEdgeLogAgent", async function () {
68
68
  }
69
69
  })
70
70
 
71
+ it("tke.v20180525.CreateClusterVirtualNodePool", async function () {
72
+ try {
73
+ const data = await client.CreateClusterVirtualNodePool({})
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("tke.v20180525.ModifyClusterAsGroupOptionAttribute", async function () {
72
82
  try {
73
83
  const data = await client.ModifyClusterAsGroupOptionAttribute({})
@@ -168,16 +178,6 @@ it("tke.v20180525.DescribeClusterCommonNames", async function () {
168
178
  }
169
179
  })
170
180
 
171
- it("tke.v20180525.DescribePrometheusInstanceInitStatus", async function () {
172
- try {
173
- const data = await client.DescribePrometheusInstanceInitStatus({})
174
- expect(data).to.be.ok
175
- } catch(error) {
176
- expect(error.requestId).to.be.ok
177
- expect(error.code).to.be.ok
178
- }
179
- })
180
-
181
181
  it("tke.v20180525.EnableEventPersistence", async function () {
182
182
  try {
183
183
  const data = await client.EnableEventPersistence({})
@@ -248,6 +248,16 @@ it("tke.v20180525.GetMostSuitableImageCache", async function () {
248
248
  }
249
249
  })
250
250
 
251
+ it("tke.v20180525.DeleteClusterVirtualNode", async function () {
252
+ try {
253
+ const data = await client.DeleteClusterVirtualNode({})
254
+ expect(data).to.be.ok
255
+ } catch(error) {
256
+ expect(error.requestId).to.be.ok
257
+ expect(error.code).to.be.ok
258
+ }
259
+ })
260
+
251
261
  it("tke.v20180525.DescribeTKEEdgeScript", async function () {
252
262
  try {
253
263
  const data = await client.DescribeTKEEdgeScript({})
@@ -378,9 +388,19 @@ it("tke.v20180525.DescribeEdgeClusterExtraArgs", async function () {
378
388
  }
379
389
  })
380
390
 
381
- it("tke.v20180525.DescribeClusterAsGroups", async function () {
391
+ it("tke.v20180525.ModifyClusterVirtualNodePool", async function () {
382
392
  try {
383
- const data = await client.DescribeClusterAsGroups({})
393
+ const data = await client.ModifyClusterVirtualNodePool({})
394
+ expect(data).to.be.ok
395
+ } catch(error) {
396
+ expect(error.requestId).to.be.ok
397
+ expect(error.code).to.be.ok
398
+ }
399
+ })
400
+
401
+ it("tke.v20180525.DescribeClusterNodePools", async function () {
402
+ try {
403
+ const data = await client.DescribeClusterNodePools({})
384
404
  expect(data).to.be.ok
385
405
  } catch(error) {
386
406
  expect(error.requestId).to.be.ok
@@ -578,9 +598,9 @@ it("tke.v20180525.DescribeExistedInstances", async function () {
578
598
  }
579
599
  })
580
600
 
581
- it("tke.v20180525.DescribeClusterNodePools", async function () {
601
+ it("tke.v20180525.DescribePrometheusInstanceInitStatus", async function () {
582
602
  try {
583
- const data = await client.DescribeClusterNodePools({})
603
+ const data = await client.DescribePrometheusInstanceInitStatus({})
584
604
  expect(data).to.be.ok
585
605
  } catch(error) {
586
606
  expect(error.requestId).to.be.ok
@@ -658,6 +678,16 @@ it("tke.v20180525.DescribeClusterEndpointStatus", async function () {
658
678
  }
659
679
  })
660
680
 
681
+ it("tke.v20180525.UpdateImageCache", async function () {
682
+ try {
683
+ const data = await client.UpdateImageCache({})
684
+ expect(data).to.be.ok
685
+ } catch(error) {
686
+ expect(error.requestId).to.be.ok
687
+ expect(error.code).to.be.ok
688
+ }
689
+ })
690
+
661
691
  it("tke.v20180525.DescribeRegions", async function () {
662
692
  try {
663
693
  const data = await client.DescribeRegions({})
@@ -788,6 +818,16 @@ it("tke.v20180525.CreateImageCache", async function () {
788
818
  }
789
819
  })
790
820
 
821
+ it("tke.v20180525.DeleteClusterVirtualNodePool", async function () {
822
+ try {
823
+ const data = await client.DeleteClusterVirtualNodePool({})
824
+ expect(data).to.be.ok
825
+ } catch(error) {
826
+ expect(error.requestId).to.be.ok
827
+ expect(error.code).to.be.ok
828
+ }
829
+ })
830
+
791
831
  it("tke.v20180525.UpdateEKSContainerInstance", async function () {
792
832
  try {
793
833
  const data = await client.UpdateEKSContainerInstance({})
@@ -818,6 +858,16 @@ it("tke.v20180525.DescribePrometheusAlertRule", async function () {
818
858
  }
819
859
  })
820
860
 
861
+ it("tke.v20180525.DrainClusterVirtualNode", async function () {
862
+ try {
863
+ const data = await client.DrainClusterVirtualNode({})
864
+ expect(data).to.be.ok
865
+ } catch(error) {
866
+ expect(error.requestId).to.be.ok
867
+ expect(error.code).to.be.ok
868
+ }
869
+ })
870
+
821
871
  it("tke.v20180525.RestartEKSContainerInstances", async function () {
822
872
  try {
823
873
  const data = await client.RestartEKSContainerInstances({})
@@ -1498,6 +1548,16 @@ it("tke.v20180525.CreateClusterRelease", async function () {
1498
1548
  }
1499
1549
  })
1500
1550
 
1551
+ it("tke.v20180525.DescribeClusterVirtualNodePools", async function () {
1552
+ try {
1553
+ const data = await client.DescribeClusterVirtualNodePools({})
1554
+ expect(data).to.be.ok
1555
+ } catch(error) {
1556
+ expect(error.requestId).to.be.ok
1557
+ expect(error.code).to.be.ok
1558
+ }
1559
+ })
1560
+
1501
1561
  it("tke.v20180525.GetClusterLevelPrice", async function () {
1502
1562
  try {
1503
1563
  const data = await client.GetClusterLevelPrice({})
@@ -1538,6 +1598,16 @@ it("tke.v20180525.DescribeEdgeClusterUpgradeInfo", async function () {
1538
1598
  }
1539
1599
  })
1540
1600
 
1601
+ it("tke.v20180525.RollbackClusterRelease", async function () {
1602
+ try {
1603
+ const data = await client.RollbackClusterRelease({})
1604
+ expect(data).to.be.ok
1605
+ } catch(error) {
1606
+ expect(error.requestId).to.be.ok
1607
+ expect(error.code).to.be.ok
1608
+ }
1609
+ })
1610
+
1541
1611
  it("tke.v20180525.DescribePrometheusConfig", async function () {
1542
1612
  try {
1543
1613
  const data = await client.DescribePrometheusConfig({})
@@ -1578,9 +1648,9 @@ it("tke.v20180525.DescribeClusterAsGroupOption", async function () {
1578
1648
  }
1579
1649
  })
1580
1650
 
1581
- it("tke.v20180525.RollbackClusterRelease", async function () {
1651
+ it("tke.v20180525.DescribeEKSClusters", async function () {
1582
1652
  try {
1583
- const data = await client.RollbackClusterRelease({})
1653
+ const data = await client.DescribeEKSClusters({})
1584
1654
  expect(data).to.be.ok
1585
1655
  } catch(error) {
1586
1656
  expect(error.requestId).to.be.ok
@@ -1588,9 +1658,9 @@ it("tke.v20180525.RollbackClusterRelease", async function () {
1588
1658
  }
1589
1659
  })
1590
1660
 
1591
- it("tke.v20180525.DescribeEKSClusters", async function () {
1661
+ it("tke.v20180525.DescribeClusterAsGroups", async function () {
1592
1662
  try {
1593
- const data = await client.DescribeEKSClusters({})
1663
+ const data = await client.DescribeClusterAsGroups({})
1594
1664
  expect(data).to.be.ok
1595
1665
  } catch(error) {
1596
1666
  expect(error.requestId).to.be.ok
@@ -1798,6 +1868,16 @@ it("tke.v20180525.GetTkeAppChartList", async function () {
1798
1868
  }
1799
1869
  })
1800
1870
 
1871
+ it("tke.v20180525.CreateClusterVirtualNode", async function () {
1872
+ try {
1873
+ const data = await client.CreateClusterVirtualNode({})
1874
+ expect(data).to.be.ok
1875
+ } catch(error) {
1876
+ expect(error.requestId).to.be.ok
1877
+ expect(error.code).to.be.ok
1878
+ }
1879
+ })
1880
+
1801
1881
  it("tke.v20180525.CheckEdgeClusterCIDR", async function () {
1802
1882
  try {
1803
1883
  const data = await client.CheckEdgeClusterCIDR({})
@@ -98,6 +98,16 @@ it("yinsuda.v20220527.DescribeKTVPlaylists", async function () {
98
98
  }
99
99
  })
100
100
 
101
+ it("yinsuda.v20220527.ApplyChorus", async function () {
102
+ try {
103
+ const data = await client.ApplyChorus({})
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
+
101
111
  it("yinsuda.v20220527.DescribeKTVRobots", async function () {
102
112
  try {
103
113
  const data = await client.DescribeKTVRobots({})