tencentcloud-sdk-nodejs 4.0.764 → 4.0.766

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 (105) hide show
  1. package/CHANGELOG.md +228 -0
  2. package/SERVICE_CHANGELOG.md +251 -118
  3. package/package.json +1 -1
  4. package/products.md +19 -19
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/index.ts +2 -2
  7. package/src/services/btoe/index.ts +2 -2
  8. package/src/services/cat/v20180409/cat_models.ts +5 -1
  9. package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +182 -7
  10. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +1149 -168
  11. package/src/services/chdfs/index.ts +2 -2
  12. package/src/services/cii/index.ts +2 -2
  13. package/src/services/cls/v20201016/cls_models.ts +1 -1
  14. package/src/services/dbbrain/index.ts +2 -2
  15. package/src/services/emr/v20190103/emr_client.ts +2 -0
  16. package/src/services/emr/v20190103/emr_models.ts +230 -46
  17. package/src/services/ess/v20201111/ess_client.ts +1 -1
  18. package/src/services/ess/v20201111/ess_models.ts +35 -29
  19. package/src/services/essbasic/v20210526/essbasic_client.ts +4 -3
  20. package/src/services/essbasic/v20210526/essbasic_models.ts +22 -13
  21. package/src/services/iotcloud/index.ts +2 -2
  22. package/src/services/iotvideo/index.ts +2 -2
  23. package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
  24. package/src/services/mgobe/index.ts +2 -2
  25. package/src/services/mongodb/index.ts +2 -2
  26. package/src/services/mongodb/v20190725/mongodb_client.ts +1 -1
  27. package/src/services/mongodb/v20190725/mongodb_models.ts +18 -9
  28. package/src/services/organization/index.ts +2 -2
  29. package/src/services/organization/v20210331/organization_models.ts +17 -17
  30. package/src/services/rkp/v20191209/rkp_client.ts +12 -6
  31. package/src/services/ses/v20201002/ses_models.ts +2 -3
  32. package/src/services/teo/index.ts +2 -2
  33. package/src/services/thpc/index.ts +2 -2
  34. package/src/services/tione/index.ts +2 -2
  35. package/src/services/tke/v20180525/tke_client.ts +3 -2
  36. package/src/services/tke/v20180525/tke_models.ts +33 -7
  37. package/src/services/tsw/index.ts +2 -2
  38. package/src/services/vod/v20180717/vod_client.ts +33 -22
  39. package/src/services/vod/v20180717/vod_models.ts +52 -51
  40. package/src/services/vpc/v20170312/vpc_models.ts +4 -0
  41. package/src/services/waf/v20180125/waf_models.ts +5 -0
  42. package/src/services/yinsuda/v20220527/yinsuda_client.ts +43 -7
  43. package/src/services/yinsuda/v20220527/yinsuda_models.ts +155 -6
  44. package/tencentcloud/common/sdk_version.d.ts +1 -1
  45. package/tencentcloud/common/sdk_version.js +1 -1
  46. package/tencentcloud/services/ams/index.d.ts +4 -4
  47. package/tencentcloud/services/ams/index.js +2 -2
  48. package/tencentcloud/services/btoe/index.d.ts +4 -4
  49. package/tencentcloud/services/btoe/index.js +2 -2
  50. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +5 -1
  51. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +57 -1
  52. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +84 -0
  53. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +1127 -181
  54. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  55. package/tencentcloud/services/chdfs/index.js +2 -2
  56. package/tencentcloud/services/cii/index.d.ts +4 -4
  57. package/tencentcloud/services/cii/index.js +2 -2
  58. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
  59. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  60. package/tencentcloud/services/dbbrain/index.js +2 -2
  61. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +228 -46
  62. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
  63. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
  64. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +35 -29
  65. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -2
  66. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -2
  67. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +22 -13
  68. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  69. package/tencentcloud/services/iotcloud/index.js +2 -2
  70. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  71. package/tencentcloud/services/iotvideo/index.js +2 -2
  72. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
  73. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  74. package/tencentcloud/services/mgobe/index.js +2 -2
  75. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  76. package/tencentcloud/services/mongodb/index.js +2 -2
  77. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +1 -1
  78. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +1 -1
  79. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +18 -9
  80. package/tencentcloud/services/organization/index.d.ts +4 -4
  81. package/tencentcloud/services/organization/index.js +2 -2
  82. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -17
  83. package/tencentcloud/services/rkp/v20191209/rkp_client.d.ts +9 -3
  84. package/tencentcloud/services/rkp/v20191209/rkp_client.js +9 -3
  85. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +2 -3
  86. package/tencentcloud/services/teo/index.d.ts +4 -4
  87. package/tencentcloud/services/teo/index.js +2 -2
  88. package/tencentcloud/services/thpc/index.d.ts +4 -4
  89. package/tencentcloud/services/thpc/index.js +2 -2
  90. package/tencentcloud/services/tione/index.d.ts +4 -4
  91. package/tencentcloud/services/tione/index.js +2 -2
  92. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
  93. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +32 -7
  94. package/tencentcloud/services/tsw/index.d.ts +4 -4
  95. package/tencentcloud/services/tsw/index.js +2 -2
  96. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +22 -11
  97. package/tencentcloud/services/vod/v20180717/vod_client.js +22 -11
  98. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +52 -51
  99. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
  100. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +5 -0
  101. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +15 -3
  102. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +21 -3
  103. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +149 -6
  104. package/test/cdwdoris.v20211228.test.js +140 -0
  105. package/test/yinsuda.v20220527.test.js +32 -2
@@ -259,6 +259,44 @@ export interface CreateKTVRobotResponse {
259
259
  */
260
260
  RequestId?: string;
261
261
  }
262
+ /**
263
+ * DescribeKTVMusicAccompanySegmentUrlVip返回参数结构体
264
+ */
265
+ export interface DescribeKTVMusicAccompanySegmentUrlVipResponse {
266
+ /**
267
+ * 0:成功获取 1:歌曲下架 2:无权限 3: 非包月会员 4:没有对应的链接
268
+ */
269
+ Status?: number;
270
+ /**
271
+ * 伴奏链接
272
+
273
+ */
274
+ Url?: string;
275
+ /**
276
+ * 伴奏类型,如mkv,mp3等
277
+
278
+ */
279
+ ExtName?: string;
280
+ /**
281
+ * 高潮开始时间
282
+
283
+ */
284
+ SegmentBegin?: number;
285
+ /**
286
+ * 高潮结束时间
287
+
288
+ */
289
+ SegmentEnd?: number;
290
+ /**
291
+ * 链接文件大小 (单位:字节)
292
+
293
+ */
294
+ FileSize?: number;
295
+ /**
296
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
297
+ */
298
+ RequestId?: string;
299
+ }
262
300
  /**
263
301
  * 直播会员用户信息
264
302
  */
@@ -496,6 +534,27 @@ export interface TRTCJoinRoomInput {
496
534
  */
497
535
  RoomIdType?: string;
498
536
  }
537
+ /**
538
+ * RechargeVip返回参数结构体
539
+ */
540
+ export interface RechargeVipResponse {
541
+ /**
542
+ * 厂商订单号。
543
+ */
544
+ PartnerNo?: string;
545
+ /**
546
+ * TME订单号。
547
+ */
548
+ OrderNo?: string;
549
+ /**
550
+ * 订单创建时间。
551
+ */
552
+ CreateTime?: string;
553
+ /**
554
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
555
+ */
556
+ RequestId?: string;
557
+ }
499
558
  /**
500
559
  * 其它片段时间(可用于抢唱)
501
560
  */
@@ -571,6 +630,19 @@ export interface KTVTagGroupInfo {
571
630
  */
572
631
  TagInfoSet: Array<KTVTagInfo>;
573
632
  }
633
+ /**
634
+ * DescribeVipUserInfo请求参数结构体
635
+ */
636
+ export interface DescribeVipUserInfoRequest {
637
+ /**
638
+ * 应用名称。
639
+ */
640
+ AppName: string;
641
+ /**
642
+ * 用户标识。
643
+ */
644
+ UserId: string;
645
+ }
574
646
  /**
575
647
  * BatchDescribeKTVMusicDetails请求参数结构体
576
648
  */
@@ -726,17 +798,29 @@ export interface SyncRobotCommand {
726
798
  SetDestroyModeCommandInput?: SetDestroyModeCommandInput;
727
799
  }
728
800
  /**
729
- * SearchKTVMusics返回参数结构体
801
+ * DescribeVipUserInfo返回参数结构体
730
802
  */
731
- export interface SearchKTVMusicsResponse {
803
+ export interface DescribeVipUserInfoResponse {
732
804
  /**
733
- * 歌曲信息列表。
805
+ * 是否是会员。(0:不是会员 1:是会员)
734
806
  */
735
- KTVMusicInfoSet?: Array<KTVMusicBaseInfo>;
807
+ IsVip?: number;
736
808
  /**
737
- * 滚动标记,用于设置下次请求的 ScrollToken 参数。
809
+ * 主播id
738
810
  */
739
- ScrollToken?: string;
811
+ AnchorId?: string;
812
+ /**
813
+ * 房间id
814
+ */
815
+ RoomId?: string;
816
+ /**
817
+ * 会员过期时间
818
+ */
819
+ EndTime?: string;
820
+ /**
821
+ * 会员状态。(-1:未开通过;1:已开通,未过期;2:已开通,已过期)
822
+ */
823
+ Status?: number;
740
824
  /**
741
825
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
742
826
  */
@@ -860,6 +944,23 @@ export interface RechargeLiveVipRequest {
860
944
  */
861
945
  PlayScene?: string;
862
946
  }
947
+ /**
948
+ * SearchKTVMusics返回参数结构体
949
+ */
950
+ export interface SearchKTVMusicsResponse {
951
+ /**
952
+ * 歌曲信息列表。
953
+ */
954
+ KTVMusicInfoSet?: Array<KTVMusicBaseInfo>;
955
+ /**
956
+ * 滚动标记,用于设置下次请求的 ScrollToken 参数。
957
+ */
958
+ ScrollToken?: string;
959
+ /**
960
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
961
+ */
962
+ RequestId?: string;
963
+ }
863
964
  /**
864
965
  * 副歌片段信息。
865
966
  */
@@ -873,6 +974,31 @@ export interface ChorusClip {
873
974
  */
874
975
  EndTime: number;
875
976
  }
977
+ /**
978
+ * RechargeVip请求参数结构体
979
+ */
980
+ export interface RechargeVipRequest {
981
+ /**
982
+ * 应用名称。
983
+ */
984
+ AppName: string;
985
+ /**
986
+ * 用户标识。
987
+ */
988
+ UserId: string;
989
+ /**
990
+ * 房间Id。
991
+ */
992
+ RoomId: string;
993
+ /**
994
+ * 充值会员天数。(取值有:31、93、186、372)
995
+ */
996
+ VipDays: number;
997
+ /**
998
+ * 主播id。
999
+ */
1000
+ AnchorId: string;
1001
+ }
876
1002
  /**
877
1003
  * 设置播放列表指令参数
878
1004
  */
@@ -1192,6 +1318,23 @@ export interface SendMessageCommandInput {
1192
1318
  */
1193
1319
  Repeat?: number;
1194
1320
  }
1321
+ /**
1322
+ * DescribeKTVMusicAccompanySegmentUrlVip请求参数结构体
1323
+ */
1324
+ export interface DescribeKTVMusicAccompanySegmentUrlVipRequest {
1325
+ /**
1326
+ * 应用名称
1327
+ */
1328
+ AppName: string;
1329
+ /**
1330
+ * 用户标识
1331
+ */
1332
+ UserId: string;
1333
+ /**
1334
+ * 歌曲 Id
1335
+ */
1336
+ MusicId: string;
1337
+ }
1195
1338
  /**
1196
1339
  * DestroyKTVRobot请求参数结构体
1197
1340
  */
@@ -18,6 +18,16 @@ const client = new tencentcloud.cdwdoris.v20211228.Client({
18
18
  })
19
19
  describe("cdwdoris.v20211228.test.js", function () {
20
20
 
21
+ it("cdwdoris.v20211228.ScaleUpInstance", async function () {
22
+ try {
23
+ const data = await client.ScaleUpInstance({})
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
+
21
31
  it("cdwdoris.v20211228.DescribeInstances", async function () {
22
32
  try {
23
33
  const data = await client.DescribeInstances({})
@@ -28,6 +38,66 @@ it("cdwdoris.v20211228.DescribeInstances", async function () {
28
38
  }
29
39
  })
30
40
 
41
+ it("cdwdoris.v20211228.DestroyInstance", async function () {
42
+ try {
43
+ const data = await client.DestroyInstance({})
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("cdwdoris.v20211228.DescribeInstanceState", async function () {
52
+ try {
53
+ const data = await client.DescribeInstanceState({})
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("cdwdoris.v20211228.DescribeDatabaseAuditRecords", async function () {
62
+ try {
63
+ const data = await client.DescribeDatabaseAuditRecords({})
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("cdwdoris.v20211228.DescribeClusterConfigs", async function () {
72
+ try {
73
+ const data = await client.DescribeClusterConfigs({})
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("cdwdoris.v20211228.ResizeDisk", async function () {
82
+ try {
83
+ const data = await client.ResizeDisk({})
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("cdwdoris.v20211228.DescribeDatabaseAuditDownload", async function () {
92
+ try {
93
+ const data = await client.DescribeDatabaseAuditDownload({})
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
+
31
101
  it("cdwdoris.v20211228.DescribeInstance", async function () {
32
102
  try {
33
103
  const data = await client.DescribeInstance({})
@@ -38,6 +108,16 @@ it("cdwdoris.v20211228.DescribeInstance", async function () {
38
108
  }
39
109
  })
40
110
 
111
+ it("cdwdoris.v20211228.RestartClusterForNode", async function () {
112
+ try {
113
+ const data = await client.RestartClusterForNode({})
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
+
41
121
  it("cdwdoris.v20211228.DescribeInstanceNodes", async function () {
42
122
  try {
43
123
  const data = await client.DescribeInstanceNodes({})
@@ -48,4 +128,64 @@ it("cdwdoris.v20211228.DescribeInstanceNodes", async function () {
48
128
  }
49
129
  })
50
130
 
131
+ it("cdwdoris.v20211228.DescribeSlowQueryRecordsDownload", async function () {
132
+ try {
133
+ const data = await client.DescribeSlowQueryRecordsDownload({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
141
+ it("cdwdoris.v20211228.DescribeInstanceNodesInfo", async function () {
142
+ try {
143
+ const data = await client.DescribeInstanceNodesInfo({})
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
+ it("cdwdoris.v20211228.CreateInstanceNew", async function () {
152
+ try {
153
+ const data = await client.CreateInstanceNew({})
154
+ expect(data).to.be.ok
155
+ } catch(error) {
156
+ expect(error.requestId).to.be.ok
157
+ expect(error.code).to.be.ok
158
+ }
159
+ })
160
+
161
+ it("cdwdoris.v20211228.ScaleOutInstance", async function () {
162
+ try {
163
+ const data = await client.ScaleOutInstance({})
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
+ it("cdwdoris.v20211228.ModifyInstance", async function () {
172
+ try {
173
+ const data = await client.ModifyInstance({})
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
+ it("cdwdoris.v20211228.DescribeSlowQueryRecords", async function () {
182
+ try {
183
+ const data = await client.DescribeSlowQueryRecords({})
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
+
51
191
  })
@@ -48,6 +48,16 @@ it("yinsuda.v20220527.DescribeKTVTags", async function () {
48
48
  }
49
49
  })
50
50
 
51
+ it("yinsuda.v20220527.RechargeVip", async function () {
52
+ try {
53
+ const data = await client.RechargeVip({})
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
+
51
61
  it("yinsuda.v20220527.DescribeKTVPlaylistDetail", async function () {
52
62
  try {
53
63
  const data = await client.DescribeKTVPlaylistDetail({})
@@ -58,9 +68,9 @@ it("yinsuda.v20220527.DescribeKTVPlaylistDetail", async function () {
58
68
  }
59
69
  })
60
70
 
61
- it("yinsuda.v20220527.SyncKTVRobotCommand", async function () {
71
+ it("yinsuda.v20220527.DescribeVipUserInfo", async function () {
62
72
  try {
63
- const data = await client.SyncKTVRobotCommand({})
73
+ const data = await client.DescribeVipUserInfo({})
64
74
  expect(data).to.be.ok
65
75
  } catch(error) {
66
76
  expect(error.requestId).to.be.ok
@@ -78,6 +88,16 @@ it("yinsuda.v20220527.DestroyKTVRobot", async function () {
78
88
  }
79
89
  })
80
90
 
91
+ it("yinsuda.v20220527.DescribeKTVMusicAccompanySegmentUrlVip", async function () {
92
+ try {
93
+ const data = await client.DescribeKTVMusicAccompanySegmentUrlVip({})
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
+
81
101
  it("yinsuda.v20220527.DescribeKTVSuggestions", async function () {
82
102
  try {
83
103
  const data = await client.DescribeKTVSuggestions({})
@@ -158,6 +178,16 @@ it("yinsuda.v20220527.DescribeKTVMusicAccompanySegmentUrl", async function () {
158
178
  }
159
179
  })
160
180
 
181
+ it("yinsuda.v20220527.SyncKTVRobotCommand", async function () {
182
+ try {
183
+ const data = await client.SyncKTVRobotCommand({})
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
+
161
191
  it("yinsuda.v20220527.DescribeKTVMatchMusics", async function () {
162
192
  try {
163
193
  const data = await client.DescribeKTVMatchMusics({})