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
@@ -27,12 +27,30 @@ class Client extends abstract_client_1.AbstractClient {
27
27
  constructor(clientConfig) {
28
28
  super("yinsuda.tencentcloudapi.com", "2022-05-27", clientConfig);
29
29
  }
30
+ /**
31
+ * 创建机器人,支持进入 RTC 房间,播放曲库歌曲。
32
+ */
33
+ async CreateKTVRobot(req, cb) {
34
+ return this.request("CreateKTVRobot", req, cb);
35
+ }
36
+ /**
37
+ * 下发操作机器人指令,支持播放、暂停、恢复、歌单设置等操作指令,实现对机器人行为的控制。
38
+ */
39
+ async SyncKTVRobotCommand(req, cb) {
40
+ return this.request("SyncKTVRobotCommand", req, cb);
41
+ }
30
42
  /**
31
43
  * 根据歌单 Id 获取歌单详情。
32
44
  */
33
45
  async DescribeKTVPlaylistDetail(req, cb) {
34
46
  return this.request("DescribeKTVPlaylistDetail", req, cb);
35
47
  }
48
+ /**
49
+ * 销毁机器人,机器人退出 RTC 房间。
50
+ */
51
+ async DestroyKTVRobot(req, cb) {
52
+ return this.request("DestroyKTVRobot", req, cb);
53
+ }
36
54
  /**
37
55
  * 根据关键词获取联想词列表。
38
56
  */
@@ -51,6 +69,12 @@ class Client extends abstract_client_1.AbstractClient {
51
69
  async DescribeKTVPlaylists(req, cb) {
52
70
  return this.request("DescribeKTVPlaylists", req, cb);
53
71
  }
72
+ /**
73
+ * 获取机器人列表,支持 Id、状态等过滤条件。
74
+ */
75
+ async DescribeKTVRobots(req, cb) {
76
+ return this.request("DescribeKTVRobots", req, cb);
77
+ }
54
78
  /**
55
79
  * 根据输入的规则匹配曲库中的歌曲。
56
80
  */
@@ -24,6 +24,24 @@ export interface ChorusClip {
24
24
  */
25
25
  EndTime: number;
26
26
  }
27
+ /**
28
+ * 直播进房输入参数
29
+ */
30
+ export interface JoinRoomInput {
31
+ /**
32
+ * TRTC进房参数
33
+ */
34
+ TRTCJoinRoomInput: TRTCJoinRoomInput;
35
+ }
36
+ /**
37
+ * DestroyKTVRobot返回参数结构体
38
+ */
39
+ export interface DestroyKTVRobotResponse {
40
+ /**
41
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
42
+ */
43
+ RequestId?: string;
44
+ }
27
45
  /**
28
46
  * 歌曲专辑封面信息。
29
47
  */
@@ -40,6 +58,32 @@ export interface MusicAlbumCoverInfo {
40
58
  */
41
59
  Url: string;
42
60
  }
61
+ /**
62
+ * CreateKTVRobot请求参数结构体
63
+ */
64
+ export interface CreateKTVRobotRequest {
65
+ /**
66
+ * 应用名称。
67
+ */
68
+ AppName: string;
69
+ /**
70
+ * 用户标识。
71
+ */
72
+ UserId: string;
73
+ /**
74
+ * RTC厂商类型,取值有:
75
+ <li>TRTC</li>
76
+ */
77
+ RTCSystem: string;
78
+ /**
79
+ * 进房参数。
80
+ */
81
+ JoinRoomInput: JoinRoomInput;
82
+ /**
83
+ * 创建机器人时初始化参数。
84
+ */
85
+ SyncRobotCommands?: Array<SyncRobotCommand>;
86
+ }
43
87
  /**
44
88
  * 联想词信息。
45
89
  */
@@ -49,6 +93,27 @@ export interface KTVSuggestionInfo {
49
93
  */
50
94
  Suggestion: string;
51
95
  }
96
+ /**
97
+ * SyncKTVRobotCommand请求参数结构体
98
+ */
99
+ export interface SyncKTVRobotCommandRequest {
100
+ /**
101
+ * 应用名称。
102
+ */
103
+ AppName: string;
104
+ /**
105
+ * 用户标识。
106
+ */
107
+ UserId: string;
108
+ /**
109
+ * 机器人Id。
110
+ */
111
+ RobotId: string;
112
+ /**
113
+ * 指令及指令参数数组。
114
+ */
115
+ SyncRobotCommands: Array<SyncRobotCommand>;
116
+ }
52
117
  /**
53
118
  * DescribeKTVPlaylistDetail请求参数结构体
54
119
  */
@@ -80,6 +145,19 @@ export interface DescribeKTVPlaylistDetailRequest {
80
145
  */
81
146
  RightFilters?: Array<string>;
82
147
  }
148
+ /**
149
+ * CreateKTVRobot返回参数结构体
150
+ */
151
+ export interface CreateKTVRobotResponse {
152
+ /**
153
+ * 机器人Id。
154
+ */
155
+ RobotId: string;
156
+ /**
157
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
158
+ */
159
+ RequestId?: string;
160
+ }
83
161
  /**
84
162
  * DescribeKTVSuggestions请求参数结构体
85
163
  */
@@ -163,6 +241,33 @@ export interface DescribeKTVPlaylistDetailResponse {
163
241
  */
164
242
  RequestId?: string;
165
243
  }
244
+ /**
245
+ * 设置销毁模式
246
+ */
247
+ export interface SetDestroyModeCommandInput {
248
+ /**
249
+ * 销毁模式,取值有:
250
+ <li>Auto:房间没人时自动销毁</li>
251
+ <li>Expire:房间没人时过期自动销毁</li>
252
+ <li>Never:不自动销毁,需手动销毁</li>默认为:Auto。
253
+ */
254
+ DestroyMode: string;
255
+ /**
256
+ * 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。
257
+ */
258
+ DestroyExpireTime?: number;
259
+ }
260
+ /**
261
+ * 音频参数信息
262
+ */
263
+ export interface SetAudioParamCommandInput {
264
+ /**
265
+ * 音频类型,取值有:
266
+ <li>Original:原唱</li>
267
+ <li>Accompaniment:伴奏</li>
268
+ */
269
+ Type?: string;
270
+ }
166
271
  /**
167
272
  * 匹配歌曲信息。
168
273
  */
@@ -177,22 +282,52 @@ export interface KTVMatchMusic {
177
282
  MatchRule: KTVMatchRule;
178
283
  }
179
284
  /**
180
- * SearchKTVMusics返回参数结构体
285
+ * TRTC推流进房信息
181
286
  */
182
- export interface SearchKTVMusicsResponse {
287
+ export interface TRTCJoinRoomInput {
183
288
  /**
184
- * 歌曲信息列表。
289
+ * 签名。
185
290
  */
186
- KTVMusicInfoSet: Array<KTVMusicBaseInfo>;
291
+ Sign: string;
187
292
  /**
188
- * 滚动标记,用于设置下次请求的 ScrollToken 参数。
293
+ * 房间号。
189
294
  */
190
- ScrollToken: string;
295
+ RoomId: string;
296
+ /**
297
+ * 推流应用ID。
298
+ */
299
+ SdkAppId: string;
300
+ /**
301
+ * 用户唯一标识。
302
+ */
303
+ UserId: string;
304
+ }
305
+ /**
306
+ * DescribeKTVRobots返回参数结构体
307
+ */
308
+ export interface DescribeKTVRobotsResponse {
309
+ /**
310
+ * 机器人总数。
311
+ */
312
+ TotalCount: number;
313
+ /**
314
+ * 机器人信息集合。
315
+ */
316
+ KTVRobotInfoSet: Array<KTVRobotInfo>;
191
317
  /**
192
318
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
193
319
  */
194
320
  RequestId?: string;
195
321
  }
322
+ /**
323
+ * 播放指令输入参数
324
+ */
325
+ export interface PlayCommandInput {
326
+ /**
327
+ * 歌曲位置索引。
328
+ */
329
+ Index: number;
330
+ }
196
331
  /**
197
332
  * BatchDescribeKTVMusicDetails请求参数结构体
198
333
  */
@@ -256,6 +391,132 @@ export interface MusicAlbumInfo {
256
391
  */
257
392
  CoverInfoSet: Array<MusicAlbumCoverInfo>;
258
393
  }
394
+ /**
395
+ * 设置播放模式
396
+ */
397
+ export interface SetPlayModeCommandInput {
398
+ /**
399
+ * 播放模式,取值有:
400
+ <li>RepeatPlaylist:列表循环</li>
401
+ <li>Order:顺序播放</li>
402
+ <li>RepeatSingle:单曲循环</li>
403
+ <li>Shuffle:随机播放</li>
404
+ */
405
+ PlayMode: string;
406
+ }
407
+ /**
408
+ * KTV 机器人初始化参数,在创建后自动完成相关初始化工作。
409
+ */
410
+ export interface SyncRobotCommand {
411
+ /**
412
+ * 可同时传入多个指令,顺序执行。取值有:
413
+ <li>Play:播放</li>
414
+ <li>Pause:暂停</li>
415
+ <li>SwitchPrevious:上一首</li>
416
+ <li>SwitchNext:下一首</li>
417
+ <li>SetPlayMode:设置播放模式</li>
418
+ <li>Seek:调整播放进度</li>
419
+ <li>SetPlaylist:歌单变更</li>
420
+ <li>SetAudioParam:音频参数变更</li>
421
+ <li>SendMessage:发送自定义消息</li>
422
+ <li>SetDestroyMode:设置销毁模式</li>
423
+ */
424
+ Command: string;
425
+ /**
426
+ * 播放参数。
427
+ */
428
+ PlayCommandInput?: PlayCommandInput;
429
+ /**
430
+ * 播放列表变更信息,当Command取SetPlaylist时,必填。
431
+ */
432
+ SetPlaylistCommandInput?: SetPlaylistCommandInput;
433
+ /**
434
+ * 播放进度,当Command取Seek时,必填。
435
+ */
436
+ SeekCommandInput?: SeekCommandInput;
437
+ /**
438
+ * 音频参数,当Command取SetAudioParam时,必填。
439
+ */
440
+ SetAudioParamCommandInput?: SetAudioParamCommandInput;
441
+ /**
442
+ * 自定义消息,当Command取SendMessage时,必填。
443
+ */
444
+ SendMessageCommandInput?: SendMessageCommandInput;
445
+ /**
446
+ * 播放模式,当Command取SetPlayMode时,必填。
447
+ */
448
+ SetPlayModeCommandInput?: SetPlayModeCommandInput;
449
+ /**
450
+ * 销毁模式,当Command取SetDestroyMode时,必填。
451
+ */
452
+ SetDestroyModeCommandInput?: SetDestroyModeCommandInput;
453
+ }
454
+ /**
455
+ * SearchKTVMusics返回参数结构体
456
+ */
457
+ export interface SearchKTVMusicsResponse {
458
+ /**
459
+ * 歌曲信息列表。
460
+ */
461
+ KTVMusicInfoSet: Array<KTVMusicBaseInfo>;
462
+ /**
463
+ * 滚动标记,用于设置下次请求的 ScrollToken 参数。
464
+ */
465
+ ScrollToken: string;
466
+ /**
467
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
468
+ */
469
+ RequestId?: string;
470
+ }
471
+ /**
472
+ * 机器人信息
473
+ */
474
+ export interface KTVRobotInfo {
475
+ /**
476
+ * 机器人Id。
477
+ */
478
+ RobotId: string;
479
+ /**
480
+ * 状态,取值有:
481
+ <li>Play:播放</li>
482
+ <li>Pause:暂停</li>
483
+ <li>Destroy:销毁</li>
484
+ */
485
+ Status: string;
486
+ /**
487
+ * 播放列表。
488
+ */
489
+ Playlists: Array<string>;
490
+ /**
491
+ * 当前歌单索引位置。
492
+ */
493
+ CurIndex: number;
494
+ /**
495
+ * 播放进度,单位:毫秒。
496
+ */
497
+ Position: number;
498
+ /**
499
+ * 音频参数。
500
+ */
501
+ SetAudioParamInput: SetAudioParamCommandInput;
502
+ /**
503
+ * 进房信息。
504
+ */
505
+ JoinRoomInput: JoinRoomInput;
506
+ /**
507
+ * RTC厂商类型,取值有:
508
+ <li>TRTC</li>
509
+ */
510
+ RTCSystem: string;
511
+ /**
512
+ * 播放模式,PlayMode取值有:
513
+ <li>RepeatPlaylist:列表循环</li>
514
+ <li>Order:顺序播放</li>
515
+ <li>RepeatSingle:单曲循环</li>
516
+ <li>Shuffle:随机播放</li>
517
+ */
518
+ SetPlayModeInput: SetPlayModeCommandInput;
519
+ }
259
520
  /**
260
521
  * DescribeKTVMatchMusics返回参数结构体
261
522
  */
@@ -286,6 +547,43 @@ export interface KTVMatchRuleMusicInfo {
286
547
  */
287
548
  SingerSet: Array<string>;
288
549
  }
550
+ /**
551
+ * 设置播放列表指令参数
552
+ */
553
+ export interface SetPlaylistCommandInput {
554
+ /**
555
+ * 变更类型,取值有:
556
+ <li>Add:添加</li>
557
+ <li>Delete:删除</li>
558
+ <li>ClearList:清空歌曲列表</li>
559
+ <li>Move:移动歌曲</li>
560
+ */
561
+ Type: string;
562
+ /**
563
+ * 歌单索引位置,
564
+ 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;
565
+ 当 Type 取 Delete 时,表示待删除歌曲的位置;
566
+ 当 Type 取 Move 时,表示待调整歌曲的位置。
567
+ */
568
+ Index?: number;
569
+ /**
570
+ * 当 Type 取 Move 时,必填,表示移动歌曲的目标位置。
571
+ */
572
+ ChangedIndex?: number;
573
+ /**
574
+ * 歌曲 ID 列表,当 Type 取 Add 时,必填。
575
+ */
576
+ MusicIds?: Array<string>;
577
+ }
578
+ /**
579
+ * SyncKTVRobotCommand返回参数结构体
580
+ */
581
+ export interface SyncKTVRobotCommandResponse {
582
+ /**
583
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
584
+ */
585
+ RequestId?: string;
586
+ }
289
587
  /**
290
588
  * BatchDescribeKTVMusicDetails返回参数结构体
291
589
  */
@@ -303,6 +601,20 @@ export interface BatchDescribeKTVMusicDetailsResponse {
303
601
  */
304
602
  RequestId?: string;
305
603
  }
604
+ /**
605
+ * 歌曲匹配规则。
606
+ */
607
+ export interface KTVMatchRule {
608
+ /**
609
+ * AME 曲库 Id。
610
+ */
611
+ AMEMusicId?: string;
612
+ /**
613
+ * 歌曲匹配信息。
614
+ 注意:此字段可能返回 null,表示取不到有效值。
615
+ */
616
+ MusicInfo?: KTVMatchRuleMusicInfo;
617
+ }
306
618
  /**
307
619
  * 歌曲基础信息。
308
620
  */
@@ -376,6 +688,21 @@ export interface SearchKTVMusicsRequest {
376
688
  */
377
689
  RightFilters?: Array<string>;
378
690
  }
691
+ /**
692
+ * 时间范围
693
+ */
694
+ export interface TimeRange {
695
+ /**
696
+ * <li>大于等于此时间(起始时间)。</li>
697
+ <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
698
+ */
699
+ Before?: string;
700
+ /**
701
+ * <li>小于此时间(结束时间)。</li>
702
+ <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
703
+ */
704
+ After?: string;
705
+ }
379
706
  /**
380
707
  * 歌单基础信息。
381
708
  */
@@ -390,16 +717,78 @@ export interface KTVPlaylistBaseInfo {
390
717
  Title: string;
391
718
  }
392
719
  /**
393
- * 歌曲匹配规则。
720
+ * 发送自定义信息指令参数
394
721
  */
395
- export interface KTVMatchRule {
722
+ export interface SendMessageCommandInput {
396
723
  /**
397
- * AME 曲库 Id。
724
+ * 自定义消息,json格式字符串。
398
725
  */
399
- AMEMusicId?: string;
726
+ Message: string;
400
727
  /**
401
- * 歌曲匹配信息。
402
- 注意:此字段可能返回 null,表示取不到有效值。
728
+ * 消息重复次数,默认为 1。
403
729
  */
404
- MusicInfo?: KTVMatchRuleMusicInfo;
730
+ Repeat?: number;
731
+ }
732
+ /**
733
+ * DestroyKTVRobot请求参数结构体
734
+ */
735
+ export interface DestroyKTVRobotRequest {
736
+ /**
737
+ * 应用名称。
738
+ */
739
+ AppName: string;
740
+ /**
741
+ * 用户标识。
742
+ */
743
+ UserId: string;
744
+ /**
745
+ * 机器人Id。
746
+ */
747
+ RobotId: string;
748
+ }
749
+ /**
750
+ * DescribeKTVRobots请求参数结构体
751
+ */
752
+ export interface DescribeKTVRobotsRequest {
753
+ /**
754
+ * 应用名称。
755
+ */
756
+ AppName: string;
757
+ /**
758
+ * 用户标识。
759
+ */
760
+ UserId: string;
761
+ /**
762
+ * 机器人Id列表。
763
+ */
764
+ RobotIds?: Array<string>;
765
+ /**
766
+ * 机器人状态,取值有:
767
+ <li>Play:播放</li>
768
+ <li>Pause:暂停</li>
769
+ <li>Destroy:销毁</li>
770
+ */
771
+ Statuses?: Array<string>;
772
+ /**
773
+ * 匹配创建时间在此时间段内的机器人。
774
+ <li>包含所指定的头尾时间点。</li>
775
+ */
776
+ CreateTime?: TimeRange;
777
+ /**
778
+ * 分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
779
+ */
780
+ Offset?: number;
781
+ /**
782
+ * 分页返回的起始偏移量,默认值:10。
783
+ */
784
+ Limit?: number;
785
+ }
786
+ /**
787
+ * 调整播放进度指令参数
788
+ */
789
+ export interface SeekCommandInput {
790
+ /**
791
+ * 播放位置,单位:毫秒。
792
+ */
793
+ Position: number;
405
794
  }
@@ -758,6 +758,16 @@ it("apigateway.v20180808.DescribeUpstreamBindApis", async function () {
758
758
  }
759
759
  })
760
760
 
761
+ it("apigateway.v20180808.ImportOpenApi", async function () {
762
+ try {
763
+ const data = await client.ImportOpenApi({})
764
+ expect(data).to.be.ok
765
+ } catch(error) {
766
+ expect(error.requestId).to.be.ok
767
+ expect(error.code).to.be.ok
768
+ }
769
+ })
770
+
761
771
  it("apigateway.v20180808.ModifyService", async function () {
762
772
  try {
763
773
  const data = await client.ModifyService({})
@@ -78,9 +78,19 @@ it("cynosdb.v20190107.DescribeBinlogSaveDays", async function () {
78
78
  }
79
79
  })
80
80
 
81
- it("cynosdb.v20190107.DescribeBackupConfig", async function () {
81
+ it("cynosdb.v20190107.DescribeInstanceSpecs", async function () {
82
82
  try {
83
- const data = await client.DescribeBackupConfig({})
83
+ const data = await client.DescribeInstanceSpecs({})
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("cynosdb.v20190107.AddClusterSlaveZone", async function () {
92
+ try {
93
+ const data = await client.AddClusterSlaveZone({})
84
94
  expect(data).to.be.ok
85
95
  } catch(error) {
86
96
  expect(error.requestId).to.be.ok
@@ -98,6 +108,16 @@ it("cynosdb.v20190107.DescribeParamTemplates", async function () {
98
108
  }
99
109
  })
100
110
 
111
+ it("cynosdb.v20190107.SetRenewFlag", async function () {
112
+ try {
113
+ const data = await client.SetRenewFlag({})
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
+
101
121
  it("cynosdb.v20190107.DescribeClusterInstanceGrps", async function () {
102
122
  try {
103
123
  const data = await client.DescribeClusterInstanceGrps({})
@@ -218,6 +238,16 @@ it("cynosdb.v20190107.ModifyMaintainPeriodConfig", async function () {
218
238
  }
219
239
  })
220
240
 
241
+ it("cynosdb.v20190107.ModifyClusterSlaveZone", async function () {
242
+ try {
243
+ const data = await client.ModifyClusterSlaveZone({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
221
251
  it("cynosdb.v20190107.ModifyAccountParams", async function () {
222
252
  try {
223
253
  const data = await client.ModifyAccountParams({})
@@ -228,6 +258,16 @@ it("cynosdb.v20190107.ModifyAccountParams", async function () {
228
258
  }
229
259
  })
230
260
 
261
+ it("cynosdb.v20190107.DescribeClusterParams", async function () {
262
+ try {
263
+ const data = await client.DescribeClusterParams({})
264
+ expect(data).to.be.ok
265
+ } catch(error) {
266
+ expect(error.requestId).to.be.ok
267
+ expect(error.code).to.be.ok
268
+ }
269
+ })
270
+
231
271
  it("cynosdb.v20190107.OfflineInstance", async function () {
232
272
  try {
233
273
  const data = await client.OfflineInstance({})
@@ -308,9 +348,9 @@ it("cynosdb.v20190107.AssociateSecurityGroups", async function () {
308
348
  }
309
349
  })
310
350
 
311
- it("cynosdb.v20190107.SetRenewFlag", async function () {
351
+ it("cynosdb.v20190107.RemoveClusterSlaveZone", async function () {
312
352
  try {
313
- const data = await client.SetRenewFlag({})
353
+ const data = await client.RemoveClusterSlaveZone({})
314
354
  expect(data).to.be.ok
315
355
  } catch(error) {
316
356
  expect(error.requestId).to.be.ok
@@ -348,9 +388,9 @@ it("cynosdb.v20190107.IsolateInstance", async function () {
348
388
  }
349
389
  })
350
390
 
351
- it("cynosdb.v20190107.DescribeInstanceSpecs", async function () {
391
+ it("cynosdb.v20190107.DescribeBackupConfig", async function () {
352
392
  try {
353
- const data = await client.DescribeInstanceSpecs({})
393
+ const data = await client.DescribeBackupConfig({})
354
394
  expect(data).to.be.ok
355
395
  } catch(error) {
356
396
  expect(error.requestId).to.be.ok
@@ -498,6 +538,16 @@ it("cynosdb.v20190107.ExportInstanceSlowQueries", async function () {
498
538
  }
499
539
  })
500
540
 
541
+ it("cynosdb.v20190107.SwitchClusterZone", async function () {
542
+ try {
543
+ const data = await client.SwitchClusterZone({})
544
+ expect(data).to.be.ok
545
+ } catch(error) {
546
+ expect(error.requestId).to.be.ok
547
+ expect(error.code).to.be.ok
548
+ }
549
+ })
550
+
501
551
  it("cynosdb.v20190107.DisassociateSecurityGroups", async function () {
502
552
  try {
503
553
  const data = await client.DisassociateSecurityGroups({})