tencentcloud-sdk-nodejs 4.0.560 → 4.0.561

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 (36) hide show
  1. package/CHANGELOG.md +109 -0
  2. package/SERVICE_CHANGELOG.md +147 -262
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdwch/v20200915/cdwch_client.ts +3 -0
  7. package/src/services/cdwch/v20200915/cdwch_models.ts +209 -0
  8. package/src/services/redis/v20180412/redis_client.ts +12 -0
  9. package/src/services/redis/v20180412/redis_models.ts +45 -0
  10. package/src/services/scf/v20180416/scf_models.ts +11 -15
  11. package/src/services/thpc/v20220401/thpc_client.ts +3 -0
  12. package/src/services/thpc/v20220401/thpc_models.ts +4 -4
  13. package/src/services/vpc/v20170312/vpc_client.ts +1 -1
  14. package/src/services/vpc/v20170312/vpc_models.ts +10 -5
  15. package/src/services/wedata/v20210820/wedata_models.ts +36 -0
  16. package/src/services/yinsuda/v20220527/yinsuda_client.ts +47 -8
  17. package/src/services/yinsuda/v20220527/yinsuda_models.ts +245 -10
  18. package/tencentcloud/common/sdk_version.d.ts +1 -1
  19. package/tencentcloud/common/sdk_version.js +1 -1
  20. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +176 -0
  21. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +5 -1
  22. package/tencentcloud/services/redis/v20180412/redis_client.js +6 -0
  23. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +38 -0
  24. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +10 -14
  25. package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +3 -0
  26. package/tencentcloud/services/thpc/v20220401/thpc_client.js +3 -0
  27. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +4 -4
  28. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
  29. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
  30. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +9 -5
  31. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +30 -0
  32. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +15 -3
  33. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +21 -3
  34. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +210 -10
  35. package/test/redis.v20180412.test.js +10 -0
  36. package/test/yinsuda.v20220527.test.js +32 -2
@@ -144,6 +144,19 @@ export interface SyncKTVRobotCommandRequest {
144
144
  */
145
145
  SyncRobotCommands: Array<SyncRobotCommand>;
146
146
  }
147
+ /**
148
+ * 标签信息。
149
+ */
150
+ export interface KTVTagInfo {
151
+ /**
152
+ * 标签 Id。
153
+ */
154
+ TagId: string;
155
+ /**
156
+ * 标签名称。
157
+ */
158
+ Name: string;
159
+ }
147
160
  /**
148
161
  * DescribeKTVPlaylistDetail请求参数结构体
149
162
  */
@@ -175,6 +188,15 @@ export interface DescribeKTVPlaylistDetailRequest {
175
188
  */
176
189
  RightFilters?: Array<string>;
177
190
  }
191
+ /**
192
+ * SyncKTVRobotCommand返回参数结构体
193
+ */
194
+ export interface SyncKTVRobotCommandResponse {
195
+ /**
196
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
197
+ */
198
+ RequestId?: string;
199
+ }
178
200
  /**
179
201
  * 歌曲详细信息。
180
202
  */
@@ -226,6 +248,24 @@ export interface CreateKTVRobotResponse {
226
248
  */
227
249
  RequestId?: string;
228
250
  }
251
+ /**
252
+ * 直播会员用户信息
253
+ */
254
+ export interface LiveVipUserInfo {
255
+ /**
256
+ * 房间标识。
257
+ */
258
+ RoomId?: string;
259
+ /**
260
+ * 直播会员结束时间。
261
+ */
262
+ LiveVipEndTime?: string;
263
+ /**
264
+ * 会员生效状态
265
+ <li>Valid:生效</li><li>Invalid:无效</li>
266
+ */
267
+ LiveVipStatus?: string;
268
+ }
229
269
  /**
230
270
  * DescribeKTVSuggestions请求参数结构体
231
271
  */
@@ -277,6 +317,19 @@ export interface DescribeKTVPlaylistsResponse {
277
317
  */
278
318
  RequestId?: string;
279
319
  }
320
+ /**
321
+ * RechargeLiveVip返回参数结构体
322
+ */
323
+ export interface RechargeLiveVipResponse {
324
+ /**
325
+ * 直播会员信息。
326
+ */
327
+ LiveVipUserInfo?: LiveVipUserInfo;
328
+ /**
329
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
330
+ */
331
+ RequestId?: string;
332
+ }
280
333
  /**
281
334
  * DescribeKTVPlaylists请求参数结构体
282
335
  */
@@ -323,13 +376,39 @@ export interface DescribeKTVPlaylistDetailResponse {
323
376
  RequestId?: string;
324
377
  }
325
378
  /**
326
- * SyncKTVRobotCommand返回参数结构体
379
+ * DescribeLiveVipTradeInfos请求参数结构体
327
380
  */
328
- export interface SyncKTVRobotCommandResponse {
381
+ export interface DescribeLiveVipTradeInfosRequest {
329
382
  /**
330
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
383
+ * 应用名称。
331
384
  */
332
- RequestId?: string;
385
+ AppName: string;
386
+ /**
387
+ * 直播会员充值下单起始时间,格式为 ISO。默认为当前时间前一天。
388
+ */
389
+ StartTime?: string;
390
+ /**
391
+ * 直播会员充值下单截止时间,格式为 ISO。默认为当前时间。 EndTime不能小于StartTime
392
+ */
393
+ EndTime?: string;
394
+ /**
395
+ * 交易流水号集合,匹配集合指定所有流水号 。
396
+ <li>数组长度限制:10。</li>
397
+ */
398
+ TradeSerialNos?: Array<string>;
399
+ /**
400
+ * 用户标识集合,匹配集合指定所有用户标识 。
401
+ <li>数组长度限制:10。</li>
402
+ */
403
+ UserIds?: Array<string>;
404
+ /**
405
+ * 分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
406
+ */
407
+ Offset?: number;
408
+ /**
409
+ * 分页返回的记录条数,默认值:20,最大值:50。
410
+ */
411
+ Limit?: number;
333
412
  }
334
413
  /**
335
414
  * 设置销毁模式
@@ -488,17 +567,21 @@ export interface DescribeKTVMusicsByTagResponse {
488
567
  RequestId?: string;
489
568
  }
490
569
  /**
491
- * 标签信息。
570
+ * DescribeLiveVipTradeInfos返回参数结构体
492
571
  */
493
- export interface KTVTagInfo {
572
+ export interface DescribeLiveVipTradeInfosResponse {
494
573
  /**
495
- * 标签 Id。
574
+ * 直播会员充值流水信息列表
496
575
  */
497
- TagId: string;
576
+ LiveVipTradeInfoSet?: Array<LiveVipTradeInfo>;
498
577
  /**
499
- * 标签名称。
578
+ * 直播会员充值流水总数。
500
579
  */
501
- Name: string;
580
+ TotalCount?: number;
581
+ /**
582
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
583
+ */
584
+ RequestId?: string;
502
585
  }
503
586
  /**
504
587
  * 歌曲专辑信息。
@@ -669,6 +752,36 @@ export interface DescribeKTVTagsResponse {
669
752
  */
670
753
  RequestId?: string;
671
754
  }
755
+ /**
756
+ * RechargeLiveVip请求参数结构体
757
+ */
758
+ export interface RechargeLiveVipRequest {
759
+ /**
760
+ * 应用名称。
761
+ */
762
+ AppName: string;
763
+ /**
764
+ * 用户标识。
765
+ */
766
+ UserId: string;
767
+ /**
768
+ * 交易流水号,用于标记此次充值记录,多次充值记录传入相同的 TradeSerialNo 会判断为失败,可用于防止重提提交造成重复计费。
769
+ */
770
+ TradeSerialNo: string;
771
+ /**
772
+ * 房间标识。
773
+ */
774
+ RoomId: string;
775
+ /**
776
+ * 充值会员天数。
777
+ 取值有:
778
+ <li>31</li>
779
+ <li>93</li>
780
+ <li>186</li>
781
+ <li>372</li>
782
+ */
783
+ VipDays: number;
784
+ }
672
785
  /**
673
786
  * 副歌片段信息。
674
787
  */
@@ -915,6 +1028,19 @@ export interface KTVPlaylistBaseInfo {
915
1028
  */
916
1029
  Title: string;
917
1030
  }
1031
+ /**
1032
+ * DescribeUserInfo请求参数结构体
1033
+ */
1034
+ export interface DescribeUserInfoRequest {
1035
+ /**
1036
+ * 应用名称。
1037
+ */
1038
+ AppName: string;
1039
+ /**
1040
+ * 用户标识。
1041
+ */
1042
+ UserId: string;
1043
+ }
918
1044
  /**
919
1045
  * 发送自定义信息指令参数
920
1046
  */
@@ -945,6 +1071,80 @@ export interface DestroyKTVRobotRequest {
945
1071
  */
946
1072
  RobotId: string;
947
1073
  }
1074
+ /**
1075
+ * 充值直播会员流水信息
1076
+ */
1077
+ export interface LiveVipTradeInfo {
1078
+ /**
1079
+ * 交易流水号。
1080
+ */
1081
+ TradeSerialNo?: string;
1082
+ /**
1083
+ * 应用名称。
1084
+ */
1085
+ AppName?: string;
1086
+ /**
1087
+ * 用户标识。
1088
+ */
1089
+ UserId?: string;
1090
+ /**
1091
+ * 房间标识。
1092
+ */
1093
+ RoomId?: string;
1094
+ /**
1095
+ * 充值会员天数。
1096
+ 取值有:
1097
+ <li>31</li> <li>93</li><li>186</li> <li>372</li>
1098
+ */
1099
+ VipDays?: number;
1100
+ /**
1101
+ * 订单状态。
1102
+ 取值有:
1103
+ <li>Success:成功</li><li>Fail:失败</li><li>Processing:订单处理中</li>
1104
+ */
1105
+ Status?: string;
1106
+ /**
1107
+ * 创建时间。
1108
+ */
1109
+ CreateTime?: string;
1110
+ }
1111
+ /**
1112
+ * 用户信息
1113
+ */
1114
+ export interface UserInfo {
1115
+ /**
1116
+ * 应用名称。
1117
+ */
1118
+ AppName?: string;
1119
+ /**
1120
+ * 用户标识。
1121
+ */
1122
+ UserId?: string;
1123
+ /**
1124
+ * 直播会员详细信息。
1125
+ 注意:此字段可能返回 null,表示取不到有效值。
1126
+ */
1127
+ LiveVipUserInfo?: LiveVipUserInfo;
1128
+ /**
1129
+ * 用户类型
1130
+ <li>Normal:普通用户</li>
1131
+ <li>LiveVip:直播会员用户</li>
1132
+ */
1133
+ UserType?: string;
1134
+ }
1135
+ /**
1136
+ * DescribeUserInfo返回参数结构体
1137
+ */
1138
+ export interface DescribeUserInfoResponse {
1139
+ /**
1140
+ * 用户信息。
1141
+ */
1142
+ UserInfo?: UserInfo;
1143
+ /**
1144
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1145
+ */
1146
+ RequestId?: string;
1147
+ }
948
1148
  /**
949
1149
  * DescribeKTVRobots请求参数结构体
950
1150
  */
@@ -628,6 +628,16 @@ it("redis.v20180412.AssociateSecurityGroups", async function () {
628
628
  }
629
629
  })
630
630
 
631
+ it("redis.v20180412.DescribeSSLStatus", async function () {
632
+ try {
633
+ const data = await client.DescribeSSLStatus({})
634
+ expect(data).to.be.ok
635
+ } catch(error) {
636
+ expect(error.requestId).to.be.ok
637
+ expect(error.code).to.be.ok
638
+ }
639
+ })
640
+
631
641
  it("redis.v20180412.DescribeInstanceMonitorBigKey", async function () {
632
642
  try {
633
643
  const data = await client.DescribeInstanceMonitorBigKey({})
@@ -28,9 +28,9 @@ it("yinsuda.v20220527.CreateKTVRobot", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("yinsuda.v20220527.SyncKTVRobotCommand", async function () {
31
+ it("yinsuda.v20220527.RechargeLiveVip", async function () {
32
32
  try {
33
- const data = await client.SyncKTVRobotCommand({})
33
+ const data = await client.RechargeLiveVip({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -58,6 +58,16 @@ it("yinsuda.v20220527.DescribeKTVPlaylistDetail", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("yinsuda.v20220527.SyncKTVRobotCommand", async function () {
62
+ try {
63
+ const data = await client.SyncKTVRobotCommand({})
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
+
61
71
  it("yinsuda.v20220527.DestroyKTVRobot", async function () {
62
72
  try {
63
73
  const data = await client.DestroyKTVRobot({})
@@ -78,6 +88,26 @@ it("yinsuda.v20220527.DescribeKTVSuggestions", async function () {
78
88
  }
79
89
  })
80
90
 
91
+ it("yinsuda.v20220527.DescribeUserInfo", async function () {
92
+ try {
93
+ const data = await client.DescribeUserInfo({})
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
+
101
+ it("yinsuda.v20220527.DescribeLiveVipTradeInfos", async function () {
102
+ try {
103
+ const data = await client.DescribeLiveVipTradeInfos({})
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
+
81
111
  it("yinsuda.v20220527.BatchDescribeKTVMusicDetails", async function () {
82
112
  try {
83
113
  const data = await client.BatchDescribeKTVMusicDetails({})