tencentcloud-sdk-nodejs 4.0.421 → 4.0.424

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 (131) hide show
  1. package/CHANGELOG.md +971 -0
  2. package/SERVICE_CHANGELOG.md +1025 -97
  3. package/package.json +1 -1
  4. package/products.md +39 -39
  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/asr/v20190614/asr_models.ts +1 -1
  10. package/src/services/batch/v20170312/batch_models.ts +10 -0
  11. package/src/services/cdb/v20170320/cdb_models.ts +6 -6
  12. package/src/services/cdn/v20180606/cdn_models.ts +0 -1
  13. package/src/services/ckafka/v20190819/ckafka_client.ts +1 -0
  14. package/src/services/ckafka/v20190819/ckafka_models.ts +46 -1
  15. package/src/services/cls/v20201016/cls_models.ts +11 -1
  16. package/src/services/cme/v20191029/cme_client.ts +13 -4
  17. package/src/services/cme/v20191029/cme_models.ts +283 -68
  18. package/src/services/cvm/v20170312/cvm_models.ts +5 -0
  19. package/src/services/cwp/v20180228/cwp_client.ts +1 -0
  20. package/src/services/cwp/v20180228/cwp_models.ts +44 -1
  21. package/src/services/cynosdb/v20190107/cynosdb_client.ts +84 -22
  22. package/src/services/cynosdb/v20190107/cynosdb_models.ts +303 -57
  23. package/src/services/dcdb/v20180411/dcdb_models.ts +10 -0
  24. package/src/services/eb/v20210416/eb_models.ts +5 -0
  25. package/src/services/gaap/v20180529/gaap_client.ts +160 -37
  26. package/src/services/gaap/v20180529/gaap_models.ts +610 -179
  27. package/src/services/gs/v20191118/gs_client.ts +1 -1
  28. package/src/services/gs/v20191118/gs_models.ts +5 -0
  29. package/src/services/iotvideo/v20211125/iotvideo_models.ts +6 -0
  30. package/src/services/irp/v20220805/irp_client.ts +3 -3
  31. package/src/services/live/v20180801/live_client.ts +1 -1
  32. package/src/services/live/v20180801/live_models.ts +3 -3
  33. package/src/services/mmps/v20200710/mmps_models.ts +6 -0
  34. package/src/services/monitor/v20180724/monitor_client.ts +6 -3
  35. package/src/services/monitor/v20180724/monitor_models.ts +200 -76
  36. package/src/services/oceanus/v20190422/oceanus_client.ts +12 -0
  37. package/src/services/oceanus/v20190422/oceanus_models.ts +20 -0
  38. package/src/services/pts/v20210728/pts_client.ts +1 -0
  39. package/src/services/pts/v20210728/pts_models.ts +20 -0
  40. package/src/services/taf/v20200210/taf_client.ts +5 -21
  41. package/src/services/taf/v20200210/taf_models.ts +42 -170
  42. package/src/services/tcaplusdb/v20190823/tcaplusdb_client.ts +2 -0
  43. package/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +81 -0
  44. package/src/services/tcb/v20180608/tcb_models.ts +12 -0
  45. package/src/services/tcbr/v20220217/tcbr_models.ts +5 -0
  46. package/src/services/tcr/v20190924/tcr_client.ts +246 -50
  47. package/src/services/tcr/v20190924/tcr_models.ts +946 -298
  48. package/src/services/tcss/v20201101/tcss_models.ts +24 -2
  49. package/src/services/teo/v20220106/teo_models.ts +284 -109
  50. package/src/services/tiia/v20190529/tiia_client.ts +4 -1
  51. package/src/services/tione/v20211111/tione_models.ts +2 -2
  52. package/src/services/tke/v20180525/tke_client.ts +3 -2
  53. package/src/services/tke/v20180525/tke_models.ts +31 -1
  54. package/src/services/tse/v20201207/tse_client.ts +1 -0
  55. package/src/services/tse/v20201207/tse_models.ts +41 -0
  56. package/src/services/vod/v20180717/vod_client.ts +70 -24
  57. package/src/services/vod/v20180717/vod_models.ts +498 -86
  58. package/src/services/yinsuda/v20220527/yinsuda_client.ts +101 -26
  59. package/src/services/yinsuda/v20220527/yinsuda_models.ts +694 -157
  60. package/tencentcloud/common/sdk_version.d.ts +1 -1
  61. package/tencentcloud/common/sdk_version.js +1 -1
  62. package/tencentcloud/services/acp/v20220105/acp_models.d.ts +16 -7
  63. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +5 -1
  64. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +6 -0
  65. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +47 -0
  66. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
  67. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +8 -0
  68. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -6
  69. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +0 -1
  70. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +39 -1
  71. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -1
  72. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +1 -1
  73. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +245 -61
  74. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +5 -0
  75. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -1
  76. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +27 -7
  77. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +39 -9
  78. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +260 -51
  79. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +8 -0
  80. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +4 -0
  81. package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +51 -11
  82. package/tencentcloud/services/gaap/v20180529/gaap_client.js +75 -15
  83. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +544 -174
  84. package/tencentcloud/services/gs/v20191118/gs_client.d.ts +1 -1
  85. package/tencentcloud/services/gs/v20191118/gs_client.js +1 -1
  86. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +4 -0
  87. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +5 -0
  88. package/tencentcloud/services/irp/v20220805/irp_client.d.ts +3 -3
  89. package/tencentcloud/services/irp/v20220805/irp_client.js +3 -3
  90. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  91. package/tencentcloud/services/live/v20180801/live_client.js +1 -1
  92. package/tencentcloud/services/live/v20180801/live_models.d.ts +3 -3
  93. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +5 -0
  94. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  95. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +172 -69
  96. package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +5 -1
  97. package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +6 -0
  98. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +18 -0
  99. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +17 -0
  100. package/tencentcloud/services/taf/v20200210/taf_client.d.ts +1 -5
  101. package/tencentcloud/services/taf/v20200210/taf_client.js +0 -6
  102. package/tencentcloud/services/taf/v20200210/taf_models.d.ts +37 -147
  103. package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +67 -0
  104. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +10 -0
  105. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +4 -0
  106. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +73 -9
  107. package/tencentcloud/services/tcr/v20190924/tcr_client.js +108 -12
  108. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +817 -264
  109. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +21 -1
  110. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +241 -92
  111. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +4 -1
  112. package/tencentcloud/services/tiia/v20190529/tiia_client.js +4 -1
  113. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +2 -2
  114. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +2 -2
  115. package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
  116. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +27 -1
  117. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +35 -0
  118. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +29 -15
  119. package/tencentcloud/services/vod/v20180717/vod_client.js +35 -15
  120. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +429 -77
  121. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +27 -7
  122. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +39 -9
  123. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +575 -112
  124. package/test/apigateway.v20180808.test.js +10 -0
  125. package/test/cynosdb.v20190107.test.js +56 -6
  126. package/test/gaap.v20180529.test.js +116 -16
  127. package/test/oceanus.v20190422.test.js +10 -0
  128. package/test/taf.v20200210.test.js +0 -10
  129. package/test/tcr.v20190924.test.js +168 -8
  130. package/test/vod.v20180717.test.js +32 -2
  131. package/test/yinsuda.v20220527.test.js +56 -6
@@ -2605,7 +2605,7 @@ export interface JsonInfo {
2605
2605
  EnableTag: boolean
2606
2606
 
2607
2607
  /**
2608
- * 元数据信息列表, 可选值为 __SOURCE__、__FILENAME__、__TIMESTAMP__。
2608
+ * 元数据信息列表, 可选值为 __SOURCE__、__FILENAME__、__TIMESTAMP__、__HOSTNAME__
2609
2609
  注意:此字段可能返回 null,表示取不到有效值。
2610
2610
  */
2611
2611
  MetaFields: Array<string>
@@ -2664,6 +2664,11 @@ export interface CreateShipperRequest {
2664
2664
  * 投递日志的内容格式配置
2665
2665
  */
2666
2666
  Content?: ContentInfo
2667
+
2668
+ /**
2669
+ * 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名)
2670
+ */
2671
+ FilenameMode?: number
2667
2672
  }
2668
2673
 
2669
2674
  /**
@@ -3251,6 +3256,11 @@ export interface ModifyShipperRequest {
3251
3256
  * 投递日志的内容格式配置
3252
3257
  */
3253
3258
  Content?: ContentInfo
3259
+
3260
+ /**
3261
+ * 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名)
3262
+ */
3263
+ FilenameMode?: number
3254
3264
  }
3255
3265
 
3256
3266
  /**
@@ -33,14 +33,16 @@ import {
33
33
  DescribeTaskDetailResponse,
34
34
  ExportVideoEditProjectRequest,
35
35
  StreamConnectInputInterruptInfo,
36
+ TeamInfo,
36
37
  ClassInfo,
37
- ModifyProjectResponse,
38
+ MediaCastDestinationInterruptInfo,
38
39
  AudioTrackItem,
39
40
  StreamConnectProjectInfo,
40
41
  VideoEncodingPresetAudioSettingForUpdate,
41
42
  VideoEncodingPresetAudioSetting,
42
43
  IntegerRange,
43
44
  SearchMaterialRequest,
45
+ StorageNewFileCreatedEvent,
44
46
  DeleteTeamResponse,
45
47
  StreamConnectOutput,
46
48
  CopyProjectRequest,
@@ -60,7 +62,7 @@ import {
60
62
  AudioMaterial,
61
63
  AddMemberInfo,
62
64
  Entity,
63
- TeamInfo,
65
+ MediaCastVideoSetting,
64
66
  ExportVideoByEditorTrackDataRequest,
65
67
  MaterialTagInfo,
66
68
  VideoEditProjectOutput,
@@ -69,13 +71,14 @@ import {
69
71
  Authorizer,
70
72
  DescribePlatformsResponse,
71
73
  DescribeTasksRequest,
74
+ ProjectMediaCastStatusChangedEvent,
72
75
  MediaTrackItem,
73
- StorageNewFileCreatedEvent,
76
+ MediaCastDestinationInfo,
74
77
  DescribeLoginStatusRequest,
75
78
  MediaTrack,
76
79
  DeleteLoginStatusResponse,
77
80
  WeiboPublishInfo,
78
- Resource,
81
+ MediaCastSourceInfo,
79
82
  CreateLinkResponse,
80
83
  ExportVideoByTemplateResponse,
81
84
  StreamInputInfo,
@@ -89,8 +92,10 @@ import {
89
92
  MaterialImportedEvent,
90
93
  ModifyVideoEncodingPresetResponse,
91
94
  DescribeJoinTeamsRequest,
95
+ MediaCastSourceInterruptInfo,
92
96
  VideoSegmentationProjectInput,
93
97
  DeleteMaterialRequest,
98
+ ModifyProjectResponse,
94
99
  CreateProjectResponse,
95
100
  VideoEditProjectInput,
96
101
  DeleteProjectResponse,
@@ -104,6 +109,7 @@ import {
104
109
  VideoEncodingPresetVideoSettingForUpdate,
105
110
  GrantResourceAuthorizationResponse,
106
111
  SwitcherPgmOutputConfig,
112
+ Resource,
107
113
  CMEExportInfo,
108
114
  MoveResourceRequest,
109
115
  LivePullInputInfo,
@@ -156,6 +162,7 @@ import {
156
162
  MaterialModifiedEvent,
157
163
  HandleStreamConnectProjectResponse,
158
164
  DeleteTeamMembersRequest,
165
+ MediaCastProjectInfo,
159
166
  ExportVideoByTemplateRequest,
160
167
  DescribePlatformsRequest,
161
168
  OtherMaterial,
@@ -167,6 +174,7 @@ import {
167
174
  AccountInfo,
168
175
  DescribeProjectsRequest,
169
176
  DescribeLoginStatusResponse,
177
+ MediaCastPlaySetting,
170
178
  MaterialAddedEvent,
171
179
  CreateVideoEncodingPresetRequest,
172
180
  ProjectStreamConnectStatusChangedEvent,
@@ -203,6 +211,7 @@ import {
203
211
  ExternalMediaInfo,
204
212
  LinkMaterialInfo,
205
213
  ExportVideoByEditorTrackDataResponse,
214
+ MediaCastOutputMediaSetting,
206
215
  ClassCreatedEvent,
207
216
  VideoEncodingPreset,
208
217
  ImportMaterialRequest,
@@ -379,6 +379,36 @@ export interface StreamConnectInputInterruptInfo {
379
379
  EndPoint: string
380
380
  }
381
381
 
382
+ /**
383
+ * 团队信息
384
+ */
385
+ export interface TeamInfo {
386
+ /**
387
+ * 团队 ID。
388
+ */
389
+ TeamId: string
390
+
391
+ /**
392
+ * 团队名称。
393
+ */
394
+ Name: string
395
+
396
+ /**
397
+ * 团队成员个数
398
+ */
399
+ MemberCount?: number
400
+
401
+ /**
402
+ * 团队创建时间,格式按照 ISO 8601 标准表示。
403
+ */
404
+ CreateTime?: string
405
+
406
+ /**
407
+ * 团队最后更新时间,格式按照 ISO 8601 标准表示。
408
+ */
409
+ UpdateTime: string
410
+ }
411
+
382
412
  /**
383
413
  * 分类信息
384
414
  */
@@ -395,13 +425,20 @@ export interface ClassInfo {
395
425
  }
396
426
 
397
427
  /**
398
- * ModifyProject返回参数结构体
428
+ * 点播转直播输出断流信息。
399
429
  */
400
- export interface ModifyProjectResponse {
430
+ export interface MediaCastDestinationInterruptInfo {
401
431
  /**
402
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
432
+ * 发生断流的输出源信息。
403
433
  */
404
- RequestId?: string
434
+ DestinationInfo: MediaCastDestinationInfo
435
+
436
+ /**
437
+ * 输出源断流原因,取值有:
438
+ <li>SystemError:系统错误;</li>
439
+ <li>Unknown:未知错误。</li>
440
+ */
441
+ Reason: string
405
442
  }
406
443
 
407
444
  /**
@@ -636,6 +673,56 @@ export interface SearchMaterialRequest {
636
673
  Operator?: string
637
674
  }
638
675
 
676
+ /**
677
+ * 新文件生成事件
678
+ */
679
+ export interface StorageNewFileCreatedEvent {
680
+ /**
681
+ * 云点播文件 Id。
682
+ */
683
+ FileId: string
684
+
685
+ /**
686
+ * 媒体 Id。
687
+ */
688
+ MaterialId: string
689
+
690
+ /**
691
+ * 操作者 Id。(废弃,请勿使用)
692
+ */
693
+ Operator: string
694
+
695
+ /**
696
+ * 操作类型,可取值有:
697
+ <li>Upload:本地上传;</li>
698
+ <li>PullUpload:拉取上传;</li>
699
+ <li>VideoEdit:视频剪辑;</li>
700
+ <li>LiveStreamClip:直播流剪辑;</li>
701
+ <li>LiveStreamRecord:直播流录制。</li>
702
+ */
703
+ OperationType: string
704
+
705
+ /**
706
+ * 媒体归属。
707
+ */
708
+ Owner: Entity
709
+
710
+ /**
711
+ * 媒体分类路径。
712
+ */
713
+ ClassPath: string
714
+
715
+ /**
716
+ * 生成文件的任务 Id。当生成新文件是拉取上传、视频剪辑、直播流剪辑时为任务 Id。
717
+ */
718
+ TaskId: string
719
+
720
+ /**
721
+ * 来源上下文信息。视频剪辑生成新文件时此字段为项目 Id;直播流剪辑或者直播流录制生成新文件则为原始流地址。
722
+ */
723
+ SourceContext: string
724
+ }
725
+
639
726
  /**
640
727
  * DeleteTeam返回参数结构体
641
728
  */
@@ -809,14 +896,20 @@ export interface ProjectInfo {
809
896
  StreamConnectProjectInfo: StreamConnectProjectInfo
810
897
 
811
898
  /**
812
- * 项目创建时间,格式按照 ISO 8601 标准表示。
813
- */
814
- CreateTime: string
899
+ * 点播转直播项目信息,仅当项目类别取值为 MEDIA_CAST 时有效。
900
+ 注意:此字段可能返回 null,表示取不到有效值。
901
+ */
902
+ MediaCastProjectInfo: MediaCastProjectInfo
815
903
 
816
904
  /**
817
905
  * 项目更新时间,格式按照 ISO 8601 标准表示。
818
906
  */
819
907
  UpdateTime: string
908
+
909
+ /**
910
+ * 项目创建时间,格式按照 ISO 8601 标准表示。
911
+ */
912
+ CreateTime: string
820
913
  }
821
914
 
822
915
  /**
@@ -1161,33 +1254,28 @@ export interface Entity {
1161
1254
  }
1162
1255
 
1163
1256
  /**
1164
- * 团队信息
1257
+ * 点播转直播视频配置
1165
1258
  */
1166
- export interface TeamInfo {
1259
+ export interface MediaCastVideoSetting {
1167
1260
  /**
1168
- * 团队 ID
1261
+ * 视频宽度,单位:px,默认值为1280
1169
1262
  */
1170
- TeamId: string
1171
-
1172
- /**
1173
- * 团队名称。
1174
- */
1175
- Name: string
1263
+ Width: number
1176
1264
 
1177
1265
  /**
1178
- * 团队成员个数
1266
+ * 视频高度,单位:px,默认值为720。支持的视频分辨率最大为1920*1080。
1179
1267
  */
1180
- MemberCount?: number
1268
+ Height: number
1181
1269
 
1182
1270
  /**
1183
- * 团队创建时间,格式按照 ISO 8601 标准表示。
1271
+ * 视频码率,单位:kbps,默认值为2500。最大值为10000 kbps。
1184
1272
  */
1185
- CreateTime?: string
1273
+ Bitrate?: number
1186
1274
 
1187
1275
  /**
1188
- * 团队最后更新时间,格式按照 ISO 8601 标准表示。
1276
+ * 视频帧率,单位:Hz,默认值为25。最大值为60。
1189
1277
  */
1190
- UpdateTime: string
1278
+ FrameRate?: number
1191
1279
  }
1192
1280
 
1193
1281
  /**
@@ -1497,6 +1585,35 @@ export interface DescribeTasksRequest {
1497
1585
  Operator?: string
1498
1586
  }
1499
1587
 
1588
+ /**
1589
+ * 点播转直播项目状态变更事件。
1590
+ */
1591
+ export interface ProjectMediaCastStatusChangedEvent {
1592
+ /**
1593
+ * 项目 Id。
1594
+ */
1595
+ ProjectId: string
1596
+
1597
+ /**
1598
+ * 项目状态,取值有:
1599
+ <li>Started:点播转直播开始;</li>
1600
+ <li>Stopped:点播转直播结束;</li>
1601
+ <li>SourceInterrupted:点播转直播输入断流;</li>
1602
+ <li>DestinationInterrupted:点播转直播输出断流。</li>
1603
+ */
1604
+ Status: string
1605
+
1606
+ /**
1607
+ * 点播转直播输入断流信息,仅当 Status 取值 SourceInterrupted 时有效。
1608
+ */
1609
+ SourceInterruptInfo: MediaCastSourceInterruptInfo
1610
+
1611
+ /**
1612
+ * 点播转直播输出断流信息,仅当 Status 取值 DestinationInterrupted 时有效。
1613
+ */
1614
+ DestinationInterruptInfo: MediaCastDestinationInterruptInfo
1615
+ }
1616
+
1500
1617
  /**
1501
1618
  * 媒体轨道的片段信息
1502
1619
  */
@@ -1533,53 +1650,23 @@ export interface MediaTrackItem {
1533
1650
  }
1534
1651
 
1535
1652
  /**
1536
- * 新文件生成事件
1653
+ * 点播转直播输出信息。
1537
1654
  */
1538
- export interface StorageNewFileCreatedEvent {
1539
- /**
1540
- * 云点播文件 Id。
1541
- */
1542
- FileId: string
1543
-
1544
- /**
1545
- * 媒体 Id。
1546
- */
1547
- MaterialId: string
1548
-
1549
- /**
1550
- * 操作者 Id。(废弃,请勿使用)
1551
- */
1552
- Operator: string
1553
-
1655
+ export interface MediaCastDestinationInfo {
1554
1656
  /**
1555
- * 操作类型,可取值有:
1556
- <li>Upload:本地上传;</li>
1557
- <li>PullUpload:拉取上传;</li>
1558
- <li>VideoEdit:视频剪辑;</li>
1559
- <li>LiveStreamClip:直播流剪辑;</li>
1560
- <li>LiveStreamRecord:直播流录制。</li>
1561
- */
1562
- OperationType: string
1563
-
1564
- /**
1565
- * 媒体归属。
1566
- */
1567
- Owner: Entity
1568
-
1569
- /**
1570
- * 媒体分类路径。
1657
+ * 输出源序号。由系统进行分配。
1571
1658
  */
1572
- ClassPath: string
1659
+ Index?: number
1573
1660
 
1574
1661
  /**
1575
- * 生成文件的任务 Id。当生成新文件是拉取上传、视频剪辑、直播流剪辑时为任务 Id。
1662
+ * 输出源的名称。
1576
1663
  */
1577
- TaskId: string
1664
+ Name?: string
1578
1665
 
1579
1666
  /**
1580
- * 来源上下文信息。视频剪辑生成新文件时此字段为项目 Id;直播流剪辑或者直播流录制生成新文件则为原始流地址。
1667
+ * 输出直播流地址。支持的直播流类型为 RTMP 和 SRT。
1581
1668
  */
1582
- SourceContext: string
1669
+ PushUrl?: string
1583
1670
  }
1584
1671
 
1585
1672
  /**
@@ -1651,20 +1738,30 @@ export interface WeiboPublishInfo {
1651
1738
  }
1652
1739
 
1653
1740
  /**
1654
- * 用于描述资源
1741
+ * 点播转直播输入源信息。
1655
1742
  */
1656
- export interface Resource {
1743
+ export interface MediaCastSourceInfo {
1657
1744
  /**
1658
- * 类型,取值有:
1659
- <li>MATERIAL:素材。</li>
1660
- <li>CLASS:分类。</li>
1745
+ * 输入源的媒体类型,取值有:
1746
+ <li>CME:多媒体创作引擎的媒体文件;</li>
1747
+ <li>VOD:云点播的媒资文件。</li>
1661
1748
  */
1662
1749
  Type: string
1663
1750
 
1664
1751
  /**
1665
- * 资源 Id,当 Type MATERIAL 时,取值为素材 Id;当 Type 为 CLASS 时,取值为分类路径 ClassPath。
1752
+ * 多媒体创作引擎的媒体 ID。当 Type = CME 时必填。
1666
1753
  */
1667
- Id: string
1754
+ MaterialId?: string
1755
+
1756
+ /**
1757
+ * 云点播媒体文件 ID。当 Type = VOD 时必填。
1758
+ */
1759
+ FileId?: string
1760
+
1761
+ /**
1762
+ * 序号,位于输入源列表中的序号,由系统分配。
1763
+ */
1764
+ Index?: number
1668
1765
  }
1669
1766
 
1670
1767
  /**
@@ -1911,6 +2008,23 @@ export interface DescribeJoinTeamsRequest {
1911
2008
  Limit?: number
1912
2009
  }
1913
2010
 
2011
+ /**
2012
+ * 点播转直播输入断流信息。
2013
+ */
2014
+ export interface MediaCastSourceInterruptInfo {
2015
+ /**
2016
+ * 发生断流的输入源信息。
2017
+ */
2018
+ SourceInfo: MediaCastSourceInfo
2019
+
2020
+ /**
2021
+ * 输入源断开原因。取值有:
2022
+ <li>SystemError:系统错误;</li>
2023
+ <li>Unknown:未知错误。</li>
2024
+ */
2025
+ Reason: string
2026
+ }
2027
+
1914
2028
  /**
1915
2029
  * 视频拆条项目的输入信息。
1916
2030
  */
@@ -1956,6 +2070,16 @@ export interface DeleteMaterialRequest {
1956
2070
  Operator?: string
1957
2071
  }
1958
2072
 
2073
+ /**
2074
+ * ModifyProject返回参数结构体
2075
+ */
2076
+ export interface ModifyProjectResponse {
2077
+ /**
2078
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2079
+ */
2080
+ RequestId?: string
2081
+ }
2082
+
1959
2083
  /**
1960
2084
  * CreateProject返回参数结构体
1961
2085
  */
@@ -2273,6 +2397,23 @@ export interface SwitcherPgmOutputConfig {
2273
2397
  BitRate?: number
2274
2398
  }
2275
2399
 
2400
+ /**
2401
+ * 用于描述资源
2402
+ */
2403
+ export interface Resource {
2404
+ /**
2405
+ * 类型,取值有:
2406
+ <li>MATERIAL:素材。</li>
2407
+ <li>CLASS:分类。</li>
2408
+ */
2409
+ Type: string
2410
+
2411
+ /**
2412
+ * 资源 Id,当 Type 为 MATERIAL 时,取值为素材 Id;当 Type 为 CLASS 时,取值为分类路径 ClassPath。
2413
+ */
2414
+ Id: string
2415
+ }
2416
+
2276
2417
  /**
2277
2418
  * 多媒体创作引擎导出信息。
2278
2419
  */
@@ -3513,6 +3654,48 @@ export interface DeleteTeamMembersRequest {
3513
3654
  Operator?: string
3514
3655
  }
3515
3656
 
3657
+ /**
3658
+ * 点播转直播项目信息。
3659
+ */
3660
+ export interface MediaCastProjectInfo {
3661
+ /**
3662
+ * 点播转直播项目状态,取值有:
3663
+ <li>Working :运行中;</li>
3664
+ <li>Idle :空闲。</li>
3665
+ */
3666
+ Status: string
3667
+
3668
+ /**
3669
+ * 输入源列表。
3670
+ */
3671
+ SourceInfos: Array<MediaCastSourceInfo>
3672
+
3673
+ /**
3674
+ * 输出源列表。
3675
+ */
3676
+ DestinationInfos: Array<MediaCastDestinationInfo>
3677
+
3678
+ /**
3679
+ * 输出媒体配置。
3680
+ */
3681
+ OutputMediaSetting: MediaCastOutputMediaSetting
3682
+
3683
+ /**
3684
+ * 播放参数。
3685
+ */
3686
+ PlaySetting: MediaCastPlaySetting
3687
+
3688
+ /**
3689
+ * 项目启动时间。采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
3690
+ */
3691
+ StartTime: string
3692
+
3693
+ /**
3694
+ * 项目结束时间。采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。如果项目还在运行中,改字段为空。
3695
+ */
3696
+ StopTime: string
3697
+ }
3698
+
3516
3699
  /**
3517
3700
  * ExportVideoByTemplate请求参数结构体
3518
3701
  */
@@ -3620,7 +3803,8 @@ export interface EventContent {
3620
3803
  <li>Class.Created:分类新增事件;</li>
3621
3804
  <li>Class.Moved:分类移动事件;</li>
3622
3805
  <li>Class.Deleted:分类删除事件;</li>
3623
- <li>Task.VideoExportCompleted:视频导出完成事件。 </li>
3806
+ <li>Task.VideoExportCompleted:视频导出完成事件; </li>
3807
+ <li>Project.MediaCast.StatusChanged:点播转直播项目状态变更事件。 </li>
3624
3808
  */
3625
3809
  EventType: string
3626
3810
 
@@ -3698,6 +3882,12 @@ export interface EventContent {
3698
3882
  注意:此字段可能返回 null,表示取不到有效值。
3699
3883
  */
3700
3884
  VideoExportCompletedEvent: VideoExportCompletedEvent
3885
+
3886
+ /**
3887
+ * 点播转直播项目状态变更事件。仅当 EventType 为 Project.MediaCast.StatusChanged 时有效。
3888
+ 注意:此字段可能返回 null,表示取不到有效值。
3889
+ */
3890
+ ProjectMediaCastStatusChangedEvent: ProjectMediaCastStatusChangedEvent
3701
3891
  }
3702
3892
 
3703
3893
  /**
@@ -3920,6 +4110,21 @@ export interface DescribeLoginStatusResponse {
3920
4110
  RequestId?: string
3921
4111
  }
3922
4112
 
4113
+ /**
4114
+ * 播放控制参数。
4115
+ */
4116
+ export interface MediaCastPlaySetting {
4117
+ /**
4118
+ * 循环播放次数。LoopCount 和 EndTime 同时只能有一个生效。默认循环播放次数为一次。如果同时设置了 LoopCount 和 EndTime 参数,优先使用 LoopCount 参数。
4119
+ */
4120
+ LoopCount?: number
4121
+
4122
+ /**
4123
+ * 结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
4124
+ */
4125
+ EndTime?: string
4126
+ }
4127
+
3923
4128
  /**
3924
4129
  * 媒体添加事件。
3925
4130
  */
@@ -4842,6 +5047,16 @@ export interface ExportVideoByEditorTrackDataResponse {
4842
5047
  RequestId?: string
4843
5048
  }
4844
5049
 
5050
+ /**
5051
+ * 点播转直播输出媒体配置。
5052
+ */
5053
+ export interface MediaCastOutputMediaSetting {
5054
+ /**
5055
+ * 视频配置。
5056
+ */
5057
+ VideoSetting: MediaCastVideoSetting
5058
+ }
5059
+
4845
5060
  /**
4846
5061
  * 分类创建事件。
4847
5062
  */
@@ -980,6 +980,7 @@ export interface ZoneInfo {
980
980
  <li> ap-singapore-1 </li>
981
981
  <li> ap-singapore-2 </li>
982
982
  <li> ap-singapore-3 </li>
983
+ <li>ap-singapore-4 </li>
983
984
  <li> ap-shanghai-fsi-1 </li>
984
985
  <li> ap-shanghai-fsi-2 </li>
985
986
  <li> ap-shanghai-fsi-3 </li>
@@ -990,6 +991,7 @@ export interface ZoneInfo {
990
991
  <li> ap-shanghai-3 </li>
991
992
  <li> ap-shanghai-4 </li>
992
993
  <li> ap-shanghai-5 </li>
994
+ <li> ap-shanghai-8 </li>
993
995
  <li> ap-mumbai-1 </li>
994
996
  <li> ap-mumbai-2 </li>
995
997
  <li> eu-moscow-1 </li>
@@ -1009,7 +1011,10 @@ export interface ZoneInfo {
1009
1011
  <li> na-ashburn-2 </li>
1010
1012
  <li> ap-nanjing-1 </li>
1011
1013
  <li> ap-nanjing-2 </li>
1014
+ <li> ap-nanjing-3 </li>
1012
1015
  <li> sa-saopaulo-1</li>
1016
+ <li> ap-jakarta-1 </li>
1017
+ <li> ap-jakarta-2 </li>
1013
1018
  */
1014
1019
  Zone: string
1015
1020
 
@@ -344,6 +344,7 @@ import {
344
344
  AssetWebLocationBaseInfo,
345
345
  DescribeMalwareTimingScanSettingRequest,
346
346
  BashRule,
347
+ Tags,
347
348
  CreateSearchLogResponse,
348
349
  DescribeSecurityTrendsResponse,
349
350
  AssetSystemPackageInfo,