tencentcloud-sdk-nodejs 4.0.422 → 4.0.425

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 (70) hide show
  1. package/CHANGELOG.md +627 -0
  2. package/SERVICE_CHANGELOG.md +455 -440
  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/acp/v20220105/acp_models.ts +18 -7
  7. package/src/services/apigateway/v20180808/apigateway_client.ts +13 -0
  8. package/src/services/apigateway/v20180808/apigateway_models.ts +55 -0
  9. package/src/services/batch/v20170312/batch_models.ts +10 -0
  10. package/src/services/cdb/v20170320/cdb_models.ts +6 -6
  11. package/src/services/cls/v20201016/cls_models.ts +11 -1
  12. package/src/services/cme/v20191029/cme_client.ts +13 -4
  13. package/src/services/cme/v20191029/cme_models.ts +283 -68
  14. package/src/services/cynosdb/v20190107/cynosdb_client.ts +84 -22
  15. package/src/services/cynosdb/v20190107/cynosdb_models.ts +303 -57
  16. package/src/services/dcdb/v20180411/dcdb_models.ts +10 -0
  17. package/src/services/gaap/v20180529/gaap_client.ts +160 -37
  18. package/src/services/gaap/v20180529/gaap_models.ts +610 -179
  19. package/src/services/mmps/v20200710/mmps_models.ts +6 -0
  20. package/src/services/monitor/v20180724/monitor_models.ts +15 -15
  21. package/src/services/oceanus/v20190422/oceanus_client.ts +12 -0
  22. package/src/services/oceanus/v20190422/oceanus_models.ts +20 -0
  23. package/src/services/tcr/v20190924/tcr_client.ts +246 -50
  24. package/src/services/tcr/v20190924/tcr_models.ts +946 -298
  25. package/src/services/tse/v20201207/tse_client.ts +1 -0
  26. package/src/services/tse/v20201207/tse_models.ts +41 -0
  27. package/src/services/vod/v20180717/vod_client.ts +55 -22
  28. package/src/services/vod/v20180717/vod_models.ts +374 -86
  29. package/src/services/yinsuda/v20220527/yinsuda_client.ts +62 -2
  30. package/src/services/yinsuda/v20220527/yinsuda_models.ts +464 -13
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/acp/v20220105/acp_models.d.ts +16 -7
  34. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +5 -1
  35. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +6 -0
  36. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +47 -0
  37. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +8 -0
  38. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -6
  39. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -1
  40. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +1 -1
  41. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +245 -61
  42. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +27 -7
  43. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +39 -9
  44. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +260 -51
  45. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +8 -0
  46. package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +51 -11
  47. package/tencentcloud/services/gaap/v20180529/gaap_client.js +75 -15
  48. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +544 -174
  49. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +5 -0
  50. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +15 -15
  51. package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +5 -1
  52. package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +6 -0
  53. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +18 -0
  54. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +73 -9
  55. package/tencentcloud/services/tcr/v20190924/tcr_client.js +108 -12
  56. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +817 -264
  57. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +35 -0
  58. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +23 -13
  59. package/tencentcloud/services/vod/v20180717/vod_client.js +27 -13
  60. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +325 -77
  61. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +17 -1
  62. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +24 -0
  63. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +402 -13
  64. package/test/apigateway.v20180808.test.js +10 -0
  65. package/test/cynosdb.v20190107.test.js +56 -6
  66. package/test/gaap.v20180529.test.js +116 -16
  67. package/test/oceanus.v20190422.test.js +10 -0
  68. package/test/tcr.v20190924.test.js +168 -8
  69. package/test/vod.v20180717.test.js +22 -2
  70. package/test/yinsuda.v20220527.test.js +40 -0
@@ -20,26 +20,46 @@ import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  DescribeKTVSuggestionsResponse,
22
22
  ChorusClip,
23
+ JoinRoomInput,
24
+ DestroyKTVRobotResponse,
23
25
  MusicAlbumCoverInfo,
26
+ CreateKTVRobotRequest,
24
27
  KTVSuggestionInfo,
28
+ SyncKTVRobotCommandRequest,
25
29
  DescribeKTVPlaylistDetailRequest,
30
+ CreateKTVRobotResponse,
26
31
  DescribeKTVSuggestionsRequest,
27
32
  DescribeKTVMatchMusicsRequest,
28
33
  DescribeKTVPlaylistsResponse,
29
34
  DescribeKTVPlaylistsRequest,
30
35
  DescribeKTVPlaylistDetailResponse,
36
+ SetDestroyModeCommandInput,
37
+ SetAudioParamCommandInput,
31
38
  KTVMatchMusic,
32
- SearchKTVMusicsResponse,
39
+ TRTCJoinRoomInput,
40
+ DescribeKTVRobotsResponse,
41
+ PlayCommandInput,
33
42
  BatchDescribeKTVMusicDetailsRequest,
34
43
  KTVMusicDetailInfo,
35
44
  MusicAlbumInfo,
45
+ SetPlayModeCommandInput,
46
+ SyncRobotCommand,
47
+ SearchKTVMusicsResponse,
48
+ KTVRobotInfo,
36
49
  DescribeKTVMatchMusicsResponse,
37
50
  KTVMatchRuleMusicInfo,
51
+ SetPlaylistCommandInput,
52
+ SyncKTVRobotCommandResponse,
38
53
  BatchDescribeKTVMusicDetailsResponse,
54
+ KTVMatchRule,
39
55
  KTVMusicBaseInfo,
40
56
  SearchKTVMusicsRequest,
57
+ TimeRange,
41
58
  KTVPlaylistBaseInfo,
42
- KTVMatchRule,
59
+ SendMessageCommandInput,
60
+ DestroyKTVRobotRequest,
61
+ DescribeKTVRobotsRequest,
62
+ SeekCommandInput,
43
63
  } from "./yinsuda_models"
44
64
 
45
65
  /**
@@ -51,6 +71,26 @@ export class Client extends AbstractClient {
51
71
  super("yinsuda.tencentcloudapi.com", "2022-05-27", clientConfig)
52
72
  }
53
73
 
74
+ /**
75
+ * 创建机器人,支持进入 RTC 房间,播放曲库歌曲。
76
+ */
77
+ async CreateKTVRobot(
78
+ req: CreateKTVRobotRequest,
79
+ cb?: (error: string, rep: CreateKTVRobotResponse) => void
80
+ ): Promise<CreateKTVRobotResponse> {
81
+ return this.request("CreateKTVRobot", req, cb)
82
+ }
83
+
84
+ /**
85
+ * 下发操作机器人指令,支持播放、暂停、恢复、歌单设置等操作指令,实现对机器人行为的控制。
86
+ */
87
+ async SyncKTVRobotCommand(
88
+ req: SyncKTVRobotCommandRequest,
89
+ cb?: (error: string, rep: SyncKTVRobotCommandResponse) => void
90
+ ): Promise<SyncKTVRobotCommandResponse> {
91
+ return this.request("SyncKTVRobotCommand", req, cb)
92
+ }
93
+
54
94
  /**
55
95
  * 根据歌单 Id 获取歌单详情。
56
96
  */
@@ -61,6 +101,16 @@ export class Client extends AbstractClient {
61
101
  return this.request("DescribeKTVPlaylistDetail", req, cb)
62
102
  }
63
103
 
104
+ /**
105
+ * 销毁机器人,机器人退出 RTC 房间。
106
+ */
107
+ async DestroyKTVRobot(
108
+ req: DestroyKTVRobotRequest,
109
+ cb?: (error: string, rep: DestroyKTVRobotResponse) => void
110
+ ): Promise<DestroyKTVRobotResponse> {
111
+ return this.request("DestroyKTVRobot", req, cb)
112
+ }
113
+
64
114
  /**
65
115
  * 根据关键词获取联想词列表。
66
116
  */
@@ -91,6 +141,16 @@ export class Client extends AbstractClient {
91
141
  return this.request("DescribeKTVPlaylists", req, cb)
92
142
  }
93
143
 
144
+ /**
145
+ * 获取机器人列表,支持 Id、状态等过滤条件。
146
+ */
147
+ async DescribeKTVRobots(
148
+ req: DescribeKTVRobotsRequest,
149
+ cb?: (error: string, rep: DescribeKTVRobotsResponse) => void
150
+ ): Promise<DescribeKTVRobotsResponse> {
151
+ return this.request("DescribeKTVRobots", req, cb)
152
+ }
153
+
94
154
  /**
95
155
  * 根据输入的规则匹配曲库中的歌曲。
96
156
  */
@@ -45,6 +45,26 @@ export interface ChorusClip {
45
45
  EndTime: number
46
46
  }
47
47
 
48
+ /**
49
+ * 直播进房输入参数
50
+ */
51
+ export interface JoinRoomInput {
52
+ /**
53
+ * TRTC进房参数
54
+ */
55
+ TRTCJoinRoomInput: TRTCJoinRoomInput
56
+ }
57
+
58
+ /**
59
+ * DestroyKTVRobot返回参数结构体
60
+ */
61
+ export interface DestroyKTVRobotResponse {
62
+ /**
63
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
64
+ */
65
+ RequestId?: string
66
+ }
67
+
48
68
  /**
49
69
  * 歌曲专辑封面信息。
50
70
  */
@@ -63,6 +83,37 @@ export interface MusicAlbumCoverInfo {
63
83
  Url: string
64
84
  }
65
85
 
86
+ /**
87
+ * CreateKTVRobot请求参数结构体
88
+ */
89
+ export interface CreateKTVRobotRequest {
90
+ /**
91
+ * 应用名称。
92
+ */
93
+ AppName: string
94
+
95
+ /**
96
+ * 用户标识。
97
+ */
98
+ UserId: string
99
+
100
+ /**
101
+ * RTC厂商类型,取值有:
102
+ <li>TRTC</li>
103
+ */
104
+ RTCSystem: string
105
+
106
+ /**
107
+ * 进房参数。
108
+ */
109
+ JoinRoomInput: JoinRoomInput
110
+
111
+ /**
112
+ * 创建机器人时初始化参数。
113
+ */
114
+ SyncRobotCommands?: Array<SyncRobotCommand>
115
+ }
116
+
66
117
  /**
67
118
  * 联想词信息。
68
119
  */
@@ -73,6 +124,31 @@ export interface KTVSuggestionInfo {
73
124
  Suggestion: string
74
125
  }
75
126
 
127
+ /**
128
+ * SyncKTVRobotCommand请求参数结构体
129
+ */
130
+ export interface SyncKTVRobotCommandRequest {
131
+ /**
132
+ * 应用名称。
133
+ */
134
+ AppName: string
135
+
136
+ /**
137
+ * 用户标识。
138
+ */
139
+ UserId: string
140
+
141
+ /**
142
+ * 机器人Id。
143
+ */
144
+ RobotId: string
145
+
146
+ /**
147
+ * 指令及指令参数数组。
148
+ */
149
+ SyncRobotCommands: Array<SyncRobotCommand>
150
+ }
151
+
76
152
  /**
77
153
  * DescribeKTVPlaylistDetail请求参数结构体
78
154
  */
@@ -110,6 +186,21 @@ export interface DescribeKTVPlaylistDetailRequest {
110
186
  RightFilters?: Array<string>
111
187
  }
112
188
 
189
+ /**
190
+ * CreateKTVRobot返回参数结构体
191
+ */
192
+ export interface CreateKTVRobotResponse {
193
+ /**
194
+ * 机器人Id。
195
+ */
196
+ RobotId: string
197
+
198
+ /**
199
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
200
+ */
201
+ RequestId?: string
202
+ }
203
+
113
204
  /**
114
205
  * DescribeKTVSuggestions请求参数结构体
115
206
  */
@@ -207,6 +298,36 @@ export interface DescribeKTVPlaylistDetailResponse {
207
298
  RequestId?: string
208
299
  }
209
300
 
301
+ /**
302
+ * 设置销毁模式
303
+ */
304
+ export interface SetDestroyModeCommandInput {
305
+ /**
306
+ * 销毁模式,取值有:
307
+ <li>Auto:房间没人时自动销毁</li>
308
+ <li>Expire:房间没人时过期自动销毁</li>
309
+ <li>Never:不自动销毁,需手动销毁</li>默认为:Auto。
310
+ */
311
+ DestroyMode: string
312
+
313
+ /**
314
+ * 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。
315
+ */
316
+ DestroyExpireTime?: number
317
+ }
318
+
319
+ /**
320
+ * 音频参数信息
321
+ */
322
+ export interface SetAudioParamCommandInput {
323
+ /**
324
+ * 音频类型,取值有:
325
+ <li>Original:原唱</li>
326
+ <li>Accompaniment:伴奏</li>
327
+ */
328
+ Type?: string
329
+ }
330
+
210
331
  /**
211
332
  * 匹配歌曲信息。
212
333
  */
@@ -223,18 +344,43 @@ export interface KTVMatchMusic {
223
344
  }
224
345
 
225
346
  /**
226
- * SearchKTVMusics返回参数结构体
347
+ * TRTC推流进房信息
227
348
  */
228
- export interface SearchKTVMusicsResponse {
349
+ export interface TRTCJoinRoomInput {
229
350
  /**
230
- * 歌曲信息列表。
351
+ * 签名。
231
352
  */
232
- KTVMusicInfoSet: Array<KTVMusicBaseInfo>
353
+ Sign: string
233
354
 
234
355
  /**
235
- * 滚动标记,用于设置下次请求的 ScrollToken 参数。
356
+ * 房间号。
236
357
  */
237
- ScrollToken: string
358
+ RoomId: string
359
+
360
+ /**
361
+ * 推流应用ID。
362
+ */
363
+ SdkAppId: string
364
+
365
+ /**
366
+ * 用户唯一标识。
367
+ */
368
+ UserId: string
369
+ }
370
+
371
+ /**
372
+ * DescribeKTVRobots返回参数结构体
373
+ */
374
+ export interface DescribeKTVRobotsResponse {
375
+ /**
376
+ * 机器人总数。
377
+ */
378
+ TotalCount: number
379
+
380
+ /**
381
+ * 机器人信息集合。
382
+ */
383
+ KTVRobotInfoSet: Array<KTVRobotInfo>
238
384
 
239
385
  /**
240
386
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -242,6 +388,16 @@ export interface SearchKTVMusicsResponse {
242
388
  RequestId?: string
243
389
  }
244
390
 
391
+ /**
392
+ * 播放指令输入参数
393
+ */
394
+ export interface PlayCommandInput {
395
+ /**
396
+ * 歌曲位置索引。
397
+ */
398
+ Index: number
399
+ }
400
+
245
401
  /**
246
402
  * BatchDescribeKTVMusicDetails请求参数结构体
247
403
  */
@@ -317,6 +473,153 @@ export interface MusicAlbumInfo {
317
473
  CoverInfoSet: Array<MusicAlbumCoverInfo>
318
474
  }
319
475
 
476
+ /**
477
+ * 设置播放模式
478
+ */
479
+ export interface SetPlayModeCommandInput {
480
+ /**
481
+ * 播放模式,取值有:
482
+ <li>RepeatPlaylist:列表循环</li>
483
+ <li>Order:顺序播放</li>
484
+ <li>RepeatSingle:单曲循环</li>
485
+ <li>Shuffle:随机播放</li>
486
+ */
487
+ PlayMode: string
488
+ }
489
+
490
+ /**
491
+ * KTV 机器人初始化参数,在创建后自动完成相关初始化工作。
492
+ */
493
+ export interface SyncRobotCommand {
494
+ /**
495
+ * 可同时传入多个指令,顺序执行。取值有:
496
+ <li>Play:播放</li>
497
+ <li>Pause:暂停</li>
498
+ <li>SwitchPrevious:上一首</li>
499
+ <li>SwitchNext:下一首</li>
500
+ <li>SetPlayMode:设置播放模式</li>
501
+ <li>Seek:调整播放进度</li>
502
+ <li>SetPlaylist:歌单变更</li>
503
+ <li>SetAudioParam:音频参数变更</li>
504
+ <li>SendMessage:发送自定义消息</li>
505
+ <li>SetDestroyMode:设置销毁模式</li>
506
+ */
507
+ Command: string
508
+
509
+ /**
510
+ * 播放参数。
511
+ */
512
+ PlayCommandInput?: PlayCommandInput
513
+
514
+ /**
515
+ * 播放列表变更信息,当Command取SetPlaylist时,必填。
516
+ */
517
+ SetPlaylistCommandInput?: SetPlaylistCommandInput
518
+
519
+ /**
520
+ * 播放进度,当Command取Seek时,必填。
521
+ */
522
+ SeekCommandInput?: SeekCommandInput
523
+
524
+ /**
525
+ * 音频参数,当Command取SetAudioParam时,必填。
526
+ */
527
+ SetAudioParamCommandInput?: SetAudioParamCommandInput
528
+
529
+ /**
530
+ * 自定义消息,当Command取SendMessage时,必填。
531
+ */
532
+ SendMessageCommandInput?: SendMessageCommandInput
533
+
534
+ /**
535
+ * 播放模式,当Command取SetPlayMode时,必填。
536
+ */
537
+ SetPlayModeCommandInput?: SetPlayModeCommandInput
538
+
539
+ /**
540
+ * 销毁模式,当Command取SetDestroyMode时,必填。
541
+ */
542
+ SetDestroyModeCommandInput?: SetDestroyModeCommandInput
543
+ }
544
+
545
+ /**
546
+ * SearchKTVMusics返回参数结构体
547
+ */
548
+ export interface SearchKTVMusicsResponse {
549
+ /**
550
+ * 歌曲信息列表。
551
+ */
552
+ KTVMusicInfoSet: Array<KTVMusicBaseInfo>
553
+
554
+ /**
555
+ * 滚动标记,用于设置下次请求的 ScrollToken 参数。
556
+ */
557
+ ScrollToken: string
558
+
559
+ /**
560
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
561
+ */
562
+ RequestId?: string
563
+ }
564
+
565
+ /**
566
+ * 机器人信息
567
+ */
568
+ export interface KTVRobotInfo {
569
+ /**
570
+ * 机器人Id。
571
+ */
572
+ RobotId: string
573
+
574
+ /**
575
+ * 状态,取值有:
576
+ <li>Play:播放</li>
577
+ <li>Pause:暂停</li>
578
+ <li>Destroy:销毁</li>
579
+ */
580
+ Status: string
581
+
582
+ /**
583
+ * 播放列表。
584
+ */
585
+ Playlists: Array<string>
586
+
587
+ /**
588
+ * 当前歌单索引位置。
589
+ */
590
+ CurIndex: number
591
+
592
+ /**
593
+ * 播放进度,单位:毫秒。
594
+ */
595
+ Position: number
596
+
597
+ /**
598
+ * 音频参数。
599
+ */
600
+ SetAudioParamInput: SetAudioParamCommandInput
601
+
602
+ /**
603
+ * 进房信息。
604
+ */
605
+ JoinRoomInput: JoinRoomInput
606
+
607
+ /**
608
+ * RTC厂商类型,取值有:
609
+ <li>TRTC</li>
610
+ */
611
+ RTCSystem: string
612
+
613
+ /**
614
+ * 播放模式,PlayMode取值有:
615
+ <li>RepeatPlaylist:列表循环</li>
616
+ <li>Order:顺序播放</li>
617
+ <li>RepeatSingle:单曲循环</li>
618
+ <li>Shuffle:随机播放</li>
619
+ */
620
+ SetPlayModeInput: SetPlayModeCommandInput
621
+ }
622
+
320
623
  /**
321
624
  * DescribeKTVMatchMusics返回参数结构体
322
625
  */
@@ -352,6 +655,48 @@ export interface KTVMatchRuleMusicInfo {
352
655
  SingerSet: Array<string>
353
656
  }
354
657
 
658
+ /**
659
+ * 设置播放列表指令参数
660
+ */
661
+ export interface SetPlaylistCommandInput {
662
+ /**
663
+ * 变更类型,取值有:
664
+ <li>Add:添加</li>
665
+ <li>Delete:删除</li>
666
+ <li>ClearList:清空歌曲列表</li>
667
+ <li>Move:移动歌曲</li>
668
+ */
669
+ Type: string
670
+
671
+ /**
672
+ * 歌单索引位置,
673
+ 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;
674
+ 当 Type 取 Delete 时,表示待删除歌曲的位置;
675
+ 当 Type 取 Move 时,表示待调整歌曲的位置。
676
+ */
677
+ Index?: number
678
+
679
+ /**
680
+ * 当 Type 取 Move 时,必填,表示移动歌曲的目标位置。
681
+ */
682
+ ChangedIndex?: number
683
+
684
+ /**
685
+ * 歌曲 ID 列表,当 Type 取 Add 时,必填。
686
+ */
687
+ MusicIds?: Array<string>
688
+ }
689
+
690
+ /**
691
+ * SyncKTVRobotCommand返回参数结构体
692
+ */
693
+ export interface SyncKTVRobotCommandResponse {
694
+ /**
695
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
696
+ */
697
+ RequestId?: string
698
+ }
699
+
355
700
  /**
356
701
  * BatchDescribeKTVMusicDetails返回参数结构体
357
702
  */
@@ -372,6 +717,22 @@ export interface BatchDescribeKTVMusicDetailsResponse {
372
717
  RequestId?: string
373
718
  }
374
719
 
720
+ /**
721
+ * 歌曲匹配规则。
722
+ */
723
+ export interface KTVMatchRule {
724
+ /**
725
+ * AME 曲库 Id。
726
+ */
727
+ AMEMusicId?: string
728
+
729
+ /**
730
+ * 歌曲匹配信息。
731
+ 注意:此字段可能返回 null,表示取不到有效值。
732
+ */
733
+ MusicInfo?: KTVMatchRuleMusicInfo
734
+ }
735
+
375
736
  /**
376
737
  * 歌曲基础信息。
377
738
  */
@@ -459,6 +820,23 @@ export interface SearchKTVMusicsRequest {
459
820
  RightFilters?: Array<string>
460
821
  }
461
822
 
823
+ /**
824
+ * 时间范围
825
+ */
826
+ export interface TimeRange {
827
+ /**
828
+ * <li>大于等于此时间(起始时间)。</li>
829
+ <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
830
+ */
831
+ Before?: string
832
+
833
+ /**
834
+ * <li>小于此时间(结束时间)。</li>
835
+ <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
836
+ */
837
+ After?: string
838
+ }
839
+
462
840
  /**
463
841
  * 歌单基础信息。
464
842
  */
@@ -475,17 +853,90 @@ export interface KTVPlaylistBaseInfo {
475
853
  }
476
854
 
477
855
  /**
478
- * 歌曲匹配规则。
856
+ * 发送自定义信息指令参数
479
857
  */
480
- export interface KTVMatchRule {
858
+ export interface SendMessageCommandInput {
481
859
  /**
482
- * AME 曲库 Id。
860
+ * 自定义消息,json格式字符串。
483
861
  */
484
- AMEMusicId?: string
862
+ Message: string
485
863
 
486
864
  /**
487
- * 歌曲匹配信息。
488
- 注意:此字段可能返回 null,表示取不到有效值。
865
+ * 消息重复次数,默认为 1。
866
+ */
867
+ Repeat?: number
868
+ }
869
+
870
+ /**
871
+ * DestroyKTVRobot请求参数结构体
872
+ */
873
+ export interface DestroyKTVRobotRequest {
874
+ /**
875
+ * 应用名称。
876
+ */
877
+ AppName: string
878
+
879
+ /**
880
+ * 用户标识。
881
+ */
882
+ UserId: string
883
+
884
+ /**
885
+ * 机器人Id。
886
+ */
887
+ RobotId: string
888
+ }
889
+
890
+ /**
891
+ * DescribeKTVRobots请求参数结构体
892
+ */
893
+ export interface DescribeKTVRobotsRequest {
894
+ /**
895
+ * 应用名称。
896
+ */
897
+ AppName: string
898
+
899
+ /**
900
+ * 用户标识。
901
+ */
902
+ UserId: string
903
+
904
+ /**
905
+ * 机器人Id列表。
906
+ */
907
+ RobotIds?: Array<string>
908
+
909
+ /**
910
+ * 机器人状态,取值有:
911
+ <li>Play:播放</li>
912
+ <li>Pause:暂停</li>
913
+ <li>Destroy:销毁</li>
489
914
  */
490
- MusicInfo?: KTVMatchRuleMusicInfo
915
+ Statuses?: Array<string>
916
+
917
+ /**
918
+ * 匹配创建时间在此时间段内的机器人。
919
+ <li>包含所指定的头尾时间点。</li>
920
+ */
921
+ CreateTime?: TimeRange
922
+
923
+ /**
924
+ * 分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
925
+ */
926
+ Offset?: number
927
+
928
+ /**
929
+ * 分页返回的起始偏移量,默认值:10。
930
+ */
931
+ Limit?: number
932
+ }
933
+
934
+ /**
935
+ * 调整播放进度指令参数
936
+ */
937
+ export interface SeekCommandInput {
938
+ /**
939
+ * 播放位置,单位:毫秒。
940
+ */
941
+ Position: number
491
942
  }
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.422";
1
+ export declare const sdkVersion = "4.0.425";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.422";
4
+ exports.sdkVersion = "4.0.425";