tencentcloud-sdk-nodejs 4.0.237 → 4.0.238

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 (44) hide show
  1. package/CHANGELOG.md +314 -50
  2. package/package.json +1 -1
  3. package/products.md +13 -13
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/cfs/v20190719/cfs_models.ts +2 -2
  6. package/src/services/cfw/v20190904/cfw_client.ts +1 -1
  7. package/src/services/cfw/v20190904/cfw_models.ts +6 -1
  8. package/src/services/clb/v20180317/clb_models.ts +15 -8
  9. package/src/services/cme/v20191029/cme_client.ts +80 -26
  10. package/src/services/cme/v20191029/cme_models.ts +466 -48
  11. package/src/services/cpdp/v20190820/cpdp_client.ts +575 -287
  12. package/src/services/cpdp/v20190820/cpdp_models.ts +10010 -6587
  13. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +22 -11
  15. package/src/services/dcdb/v20180411/dcdb_models.ts +7 -3
  16. package/src/services/mariadb/v20170312/mariadb_client.ts +24 -0
  17. package/src/services/mariadb/v20170312/mariadb_models.ts +61 -1
  18. package/src/services/scf/v20180416/scf_models.ts +10 -0
  19. package/src/services/vod/v20180717/vod_models.ts +1 -0
  20. package/src/services/vpc/v20170312/vpc_models.ts +26 -1
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +2 -2
  24. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
  25. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +6 -1
  26. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +12 -5
  27. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +26 -10
  28. package/tencentcloud/services/cme/v20191029/cme_client.js +36 -12
  29. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +406 -43
  30. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +101 -13
  31. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +150 -18
  32. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +8844 -5981
  33. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  34. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +17 -6
  35. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +6 -3
  36. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +9 -1
  37. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +12 -0
  38. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +53 -1
  39. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +8 -0
  40. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -0
  41. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +21 -1
  42. package/test/cme.v20191029.test.js +46 -6
  43. package/test/cpdp.v20190820.test.js +232 -12
  44. package/test/mariadb.v20170312.test.js +20 -0
@@ -302,7 +302,7 @@ export interface ExportVideoEditProjectRequest {
302
302
  ProjectId: string
303
303
 
304
304
  /**
305
- * 导出模板 Id,目前不支持自定义创建,只支持下面的预置模板 Id。
305
+ * 视频编码配置 ID,支持自定义创建,推荐优先使用系统预置的导出配置。
306
306
  <li>10:分辨率为 480P,输出视频格式为 MP4;</li>
307
307
  <li>11:分辨率为 720P,输出视频格式为 MP4;</li>
308
308
  <li>12:分辨率为 1080P,输出视频格式为 MP4。</li>
@@ -331,6 +331,11 @@ export interface ExportVideoEditProjectRequest {
331
331
  */
332
332
  VODExportInfo?: VODExportInfo
333
333
 
334
+ /**
335
+ * 视频导出扩展参数。可以覆盖导出模板中的参数,灵活的指定导出规格及参数。
336
+ */
337
+ ExportExtensionArgs?: VideoExportExtensionArgs
338
+
334
339
  /**
335
340
  * 操作者。填写用户的 Id,用于标识调用者及校验项目导出权限。
336
341
  */
@@ -452,6 +457,64 @@ export interface StreamConnectProjectInfo {
452
457
  OutputSet: Array<StreamConnectOutputInfo>
453
458
  }
454
459
 
460
+ /**
461
+ * 视频编码配置中的音频设置更新信息
462
+ */
463
+ export interface VideoEncodingPresetAudioSettingForUpdate {
464
+ /**
465
+ * 音频码率,单位:bps。
466
+ 不填则不修改。
467
+ */
468
+ Bitrate?: string
469
+
470
+ /**
471
+ * 音频声道数,可选值:
472
+ <li>1:单声道;</li>
473
+ <li>2:双声道。</li>
474
+ 不填则不修改。
475
+ */
476
+ Channels?: number
477
+
478
+ /**
479
+ * 音频流的采样率,目前仅支持: 16000; 32000; 44100; 48000。单位:Hz。
480
+ 不填则不修改。
481
+ */
482
+ SampleRate?: number
483
+ }
484
+
485
+ /**
486
+ * 视频编码配置中的音频设置
487
+ */
488
+ export interface VideoEncodingPresetAudioSetting {
489
+ /**
490
+ * 音频流的编码格式,可选值:
491
+ AAC:AAC 编码。
492
+
493
+ 默认值:AAC。
494
+ */
495
+ Codec?: string
496
+
497
+ /**
498
+ * 音频码率,单位:bps。
499
+ 默认值:64K。
500
+ */
501
+ Bitrate?: number
502
+
503
+ /**
504
+ * 音频声道数,可选值:
505
+ <li>1:单声道;</li>
506
+ <li>2:双声道。</li>
507
+ 默认值:2。
508
+ */
509
+ Channels?: number
510
+
511
+ /**
512
+ * 音频流的采样率,仅支持 16000; 32000; 44100; 48000。单位:Hz。
513
+ 默认值:16000。
514
+ */
515
+ SampleRate?: number
516
+ }
517
+
455
518
  /**
456
519
  * 整型范围
457
520
  */
@@ -1063,7 +1126,7 @@ export interface ExportVideoByEditorTrackDataRequest {
1063
1126
  Platform: string
1064
1127
 
1065
1128
  /**
1066
- * 导出模板 Id,目前不支持自定义创建,只支持下面的预置模板 Id
1129
+ * 导出视频编码配置 Id,推荐优先使用下面的预置模板 Id,有其他需求可通过接口定制视频编码配置。
1067
1130
  <li>10:分辨率为 480P,输出视频格式为 MP4;</li>
1068
1131
  <li>11:分辨率为 720P,输出视频格式为 MP4;</li>
1069
1132
  <li>12:分辨率为 1080P,输出视频格式为 MP4。</li>
@@ -1083,8 +1146,10 @@ export interface ExportVideoByEditorTrackDataRequest {
1083
1146
  TrackData: string
1084
1147
 
1085
1148
  /**
1086
- * 轨道数据对应的画布宽高比。
1087
- */
1149
+ * 轨道数据对应的画布宽高比,配合视频编码配置中的视频短边尺寸,可决定导出画面的尺寸。例:
1150
+ <li>如果 AspectRatio 取值 16:9,视频编码配置选为12(短边1080),则导出尺寸为 1920 * 1080;</li>
1151
+ <li>如果 AspectRatio 取值 9:16,视频编码配置选为11(短边720),则导出尺寸为 720 *1280。</li>
1152
+ */
1088
1153
  AspectRatio?: string
1089
1154
 
1090
1155
  /**
@@ -1457,6 +1522,16 @@ export interface MediaTrack {
1457
1522
  TrackItems: Array<MediaTrackItem>
1458
1523
  }
1459
1524
 
1525
+ /**
1526
+ * DeleteVideoEncodingPreset返回参数结构体
1527
+ */
1528
+ export interface DeleteVideoEncodingPresetResponse {
1529
+ /**
1530
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1531
+ */
1532
+ RequestId?: string
1533
+ }
1534
+
1460
1535
  /**
1461
1536
  * DeleteLoginStatus返回参数结构体
1462
1537
  */
@@ -1700,6 +1775,31 @@ export interface PlatformInfo {
1700
1775
  UpdateTime: string
1701
1776
  }
1702
1777
 
1778
+ /**
1779
+ * DeleteVideoEncodingPreset请求参数结构体
1780
+ */
1781
+ export interface DeleteVideoEncodingPresetRequest {
1782
+ /**
1783
+ * 平台名称,指定访问的平台。
1784
+ */
1785
+ Platform: string
1786
+
1787
+ /**
1788
+ * 要删除的视频编码配置 ID。
1789
+ */
1790
+ Id: number
1791
+ }
1792
+
1793
+ /**
1794
+ * ModifyVideoEncodingPreset返回参数结构体
1795
+ */
1796
+ export interface ModifyVideoEncodingPresetResponse {
1797
+ /**
1798
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1799
+ */
1800
+ RequestId?: string
1801
+ }
1802
+
1703
1803
  /**
1704
1804
  * DescribeJoinTeams请求参数结构体
1705
1805
  */
@@ -1715,7 +1815,7 @@ export interface DescribeJoinTeamsRequest {
1715
1815
  MemberId: string
1716
1816
 
1717
1817
  /**
1718
- * 分页偏移量,默认值:0
1818
+ * 分页偏移量,默认值:0
1719
1819
  */
1720
1820
  Offset?: number
1721
1821
 
@@ -1826,6 +1926,36 @@ export interface DeleteProjectResponse {
1826
1926
  RequestId?: string
1827
1927
  }
1828
1928
 
1929
+ /**
1930
+ * 视频编码配置中的视频设置信息
1931
+ */
1932
+ export interface VideoEncodingPresetVideoSetting {
1933
+ /**
1934
+ * 视频流的编码格式,可选值:
1935
+ <li>H264:H.264 编码。</li>
1936
+ */
1937
+ Codec?: string
1938
+
1939
+ /**
1940
+ * 视频短边尺寸,取值范围: [128, 4096],单位:px。
1941
+ 视频最后的分辨率,根据短边尺寸和宽高比进行计算。
1942
+ 例:如果项目的宽高比是 16:9 :
1943
+ <li>短边尺寸为 1080,则导出视频的分辨率为 1920 * 1080。</li>
1944
+ <li>短边尺寸为 720,则导出视频的分辨率为 1280 * 720。</li>
1945
+ 如果项目的宽高比是 9:16 :
1946
+ <li>短边尺寸为 1080,则导出视频的分辨率为 1080 * 1920。</li>
1947
+ <li>短边尺寸为 720,则导出视频的分辨率为 720 * 1280。</li>
1948
+ 默认值:1080。
1949
+ */
1950
+ ShortEdge?: number
1951
+
1952
+ /**
1953
+ * 指定码率,单位 bps。当该参数为'0'时则不强制限定码率。
1954
+ 默认值:0。
1955
+ */
1956
+ Bitrate?: number
1957
+ }
1958
+
1829
1959
  /**
1830
1960
  * DeleteClass请求参数结构体
1831
1961
  */
@@ -1941,13 +2071,13 @@ export interface DescribeMaterialsResponse {
1941
2071
  }
1942
2072
 
1943
2073
  /**
1944
- * HandleStreamConnectProject返回参数结构体
2074
+ * CreateVideoEncodingPreset返回参数结构体
1945
2075
  */
1946
- export interface HandleStreamConnectProjectResponse {
2076
+ export interface CreateVideoEncodingPresetResponse {
1947
2077
  /**
1948
- * 输入源推流地址,当 Operation 取值 AddInput 且 InputType 为 RtmpPush 类型时有效。
2078
+ * 模板 ID。
1949
2079
  */
1950
- StreamInputRtmpPushUrl: string
2080
+ Id: number
1951
2081
 
1952
2082
  /**
1953
2083
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2487,6 +2617,36 @@ export interface ModifyTeamMemberRequest {
2487
2617
  Operator?: string
2488
2618
  }
2489
2619
 
2620
+ /**
2621
+ * 视频编码配置的视频设置更新信息
2622
+ */
2623
+ export interface VideoEncodingPresetVideoSettingForUpdate {
2624
+ /**
2625
+ * 视频短边尺寸,取值范围: [128, 4096],单位:px。
2626
+ 视频最后的分辨率,根据短边尺寸和宽高比进行计算。
2627
+ 例:如果项目的宽高比是 16:9 :
2628
+ <li>短边尺寸为 1080,则导出视频的分辨率为 1920 * 1080。</li>
2629
+ <li>短边尺寸为 720,则导出视频的分辨率为 1280 * 720。</li>
2630
+ 如果项目的宽高比是 9:16 :
2631
+ <li>短边尺寸为 1080,则导出视频的分辨率为 1080 * 1920。</li>
2632
+ <li>短边尺寸为 720,则导出视频的分辨率为 720 * 1280。</li>
2633
+ 不填则不修改。
2634
+ */
2635
+ ShortEdge?: number
2636
+
2637
+ /**
2638
+ * 指定码率,单位 bps。当该参数为'0' 时则不强制限定码率。
2639
+ 不填则不修改。
2640
+ */
2641
+ Bitrate?: number
2642
+
2643
+ /**
2644
+ * 指定帧率。单位 Hz。
2645
+ 不填则不修改。
2646
+ */
2647
+ FrameRate?: number
2648
+ }
2649
+
2490
2650
  /**
2491
2651
  * CreateTeam请求参数结构体
2492
2652
  */
@@ -2873,18 +3033,42 @@ export interface AddTeamMemberRequest {
2873
3033
  }
2874
3034
 
2875
3035
  /**
2876
- * ExportVideoEditProject返回参数结构体
3036
+ * GrantResourceAuthorization请求参数结构体
2877
3037
  */
2878
- export interface ExportVideoEditProjectResponse {
3038
+ export interface GrantResourceAuthorizationRequest {
2879
3039
  /**
2880
- * 任务 Id。
3040
+ * 平台名称,指定访问的平台。
2881
3041
  */
2882
- TaskId: string
3042
+ Platform: string
2883
3043
 
2884
3044
  /**
2885
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3045
+ * 资源归属者,个人或者团队。
2886
3046
  */
2887
- RequestId?: string
3047
+ Owner: Entity
3048
+
3049
+ /**
3050
+ * 被授权资源。
3051
+ */
3052
+ Resources: Array<Resource>
3053
+
3054
+ /**
3055
+ * 被授权目标,个人或者团队。
3056
+ */
3057
+ Authorizees: Array<Entity>
3058
+
3059
+ /**
3060
+ * 详细授权值。 取值有:
3061
+ <li>R:可读,可以浏览媒体,但不能使用该媒体文件(将其添加到 Project),或复制到自己的媒资库中</li>
3062
+ <li>X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。</li>
3063
+ <li>C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。</li>
3064
+ <li>W:可修改、删除媒资。</li>
3065
+ */
3066
+ Permissions: Array<string>
3067
+
3068
+ /**
3069
+ * 操作者。填写用户的 Id,用于标识调用者及校验操作权限。
3070
+ */
3071
+ Operator?: string
2888
3072
  }
2889
3073
 
2890
3074
  /**
@@ -2952,6 +3136,21 @@ export interface ListMediaRequest {
2952
3136
  Operator?: string
2953
3137
  }
2954
3138
 
3139
+ /**
3140
+ * HandleStreamConnectProject返回参数结构体
3141
+ */
3142
+ export interface HandleStreamConnectProjectResponse {
3143
+ /**
3144
+ * 输入源推流地址,当 Operation 取值 AddInput 且 InputType 为 RtmpPush 类型时有效。
3145
+ */
3146
+ StreamInputRtmpPushUrl: string
3147
+
3148
+ /**
3149
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3150
+ */
3151
+ RequestId?: string
3152
+ }
3153
+
2955
3154
  /**
2956
3155
  * 点播拉流信息,包括输入拉流地址和播放次数。
2957
3156
  */
@@ -3214,6 +3413,26 @@ export interface VideoMaterial {
3214
3413
  VodFileId: string
3215
3414
  }
3216
3415
 
3416
+ /**
3417
+ * DescribeVideoEncodingPresets返回参数结构体
3418
+ */
3419
+ export interface DescribeVideoEncodingPresetsResponse {
3420
+ /**
3421
+ * 符合条件的编码配置总个数。
3422
+ */
3423
+ TotalCount: number
3424
+
3425
+ /**
3426
+ * 视频编码配置信息。
3427
+ */
3428
+ VideoEncodingPresetSet: Array<VideoEncodingPreset>
3429
+
3430
+ /**
3431
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3432
+ */
3433
+ RequestId?: string
3434
+ }
3435
+
3217
3436
  /**
3218
3437
  * DescribeResourceAuthorization返回参数结构体
3219
3438
  */
@@ -3362,6 +3581,55 @@ export interface DescribeLoginStatusResponse {
3362
3581
  RequestId?: string
3363
3582
  }
3364
3583
 
3584
+ /**
3585
+ * CreateVideoEncodingPreset请求参数结构体
3586
+ */
3587
+ export interface CreateVideoEncodingPresetRequest {
3588
+ /**
3589
+ * 平台名称,指定访问的平台。
3590
+ */
3591
+ Platform: string
3592
+
3593
+ /**
3594
+ * 配置名,可用来简单描述该配置的作用。
3595
+ */
3596
+ Name: string
3597
+
3598
+ /**
3599
+ * 封装格式,可选值:
3600
+ <li>mp4 ;</li>
3601
+ <li>mov 。</li>
3602
+ 默认值:mp4。
3603
+ */
3604
+ Container?: string
3605
+
3606
+ /**
3607
+ * 是否去除视频数据,可选值:
3608
+ <li>0:保留;</li>
3609
+ <li>1:去除。</li>
3610
+ 默认值:0。
3611
+ */
3612
+ RemoveVideo?: number
3613
+
3614
+ /**
3615
+ * 是否去除音频数据,可选值:
3616
+ <li>0:保留;</li>
3617
+ <li>1:去除。</li>
3618
+ 默认值:0。
3619
+ */
3620
+ RemoveAudio?: number
3621
+
3622
+ /**
3623
+ * 编码配置的视频设置。默认值参考VideoEncodingPresetVideoSetting 定义。
3624
+ */
3625
+ VideoSetting?: VideoEncodingPresetVideoSetting
3626
+
3627
+ /**
3628
+ * 编码配置的音频设置。默认值参考VideoEncodingPresetAudioSetting 定义。
3629
+ */
3630
+ AudioSetting?: VideoEncodingPresetAudioSetting
3631
+ }
3632
+
3365
3633
  /**
3366
3634
  * 云转推项目状态变更事件。
3367
3635
  */
@@ -3386,12 +3654,12 @@ export interface DescribeJoinTeamsResponse {
3386
3654
  /**
3387
3655
  * 符合条件的记录总数。
3388
3656
  */
3389
- TotalCount?: number
3657
+ TotalCount: number
3390
3658
 
3391
3659
  /**
3392
- * 团队列表
3660
+ * 团队列表。
3393
3661
  */
3394
- TeamSet?: Array<JoinTeamInfo>
3662
+ TeamSet: Array<JoinTeamInfo>
3395
3663
 
3396
3664
  /**
3397
3665
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -3506,6 +3774,61 @@ export interface VideoEditTemplateMaterial {
3506
3774
  PreviewVideoUrl: string
3507
3775
  }
3508
3776
 
3777
+ /**
3778
+ * 视频导出扩展参数
3779
+ */
3780
+ export interface VideoExportExtensionArgs {
3781
+ /**
3782
+ * 封装格式,可选值:
3783
+ <li>mp4 </li>
3784
+ <li>mov </li>
3785
+ 不填则默认使用导出模板中的值。
3786
+ */
3787
+ Container?: string
3788
+
3789
+ /**
3790
+ * 视频短边尺寸,取值范围: [128, 4096],单位:px。
3791
+ 视频最后的分辨率,根据短边尺寸和宽高比进行计算。
3792
+ 例如:项目的宽高比是 16:9 :
3793
+ <li>短边尺寸为 1080,则导出视频的分辨率为 1920 * 1080。</li>
3794
+ <li>短边尺寸为 720,则导出视频的分辨率为 1280 * 720</li>
3795
+ 不填则默认使用导出模板中对的值。
3796
+ */
3797
+ ShortEdge?: number
3798
+
3799
+ /**
3800
+ * 指定码率,单位 bps。当该参数为 0 时则不强制限定码率。
3801
+ 不填则默认使用导出模板中的值。
3802
+ */
3803
+ VideoBitrate?: number
3804
+
3805
+ /**
3806
+ * 是否去除视频数据,可选值:
3807
+ <li>0:保留;</li>
3808
+ <li>1:去除。</li>
3809
+ 不填则默认使用导出模板中对的值。
3810
+ */
3811
+ RemoveVideo?: number
3812
+
3813
+ /**
3814
+ * 是否去除音频数据,可选值:
3815
+ <li>0:保留;</li>
3816
+ <li>1:去除。</li>
3817
+ 不填则默认使用导出模板中对的值。
3818
+ */
3819
+ RemoveAudio?: number
3820
+
3821
+ /**
3822
+ * 片段起始时间,单位:毫秒。
3823
+ */
3824
+ StartTime?: number
3825
+
3826
+ /**
3827
+ * 片段结束时间,单位:毫秒。
3828
+ */
3829
+ EndTime?: number
3830
+ }
3831
+
3509
3832
  /**
3510
3833
  * 卡槽替换信息。
3511
3834
  */
@@ -3620,6 +3943,52 @@ export interface DescribeTaskDetailRequest {
3620
3943
  Operator?: string
3621
3944
  }
3622
3945
 
3946
+ /**
3947
+ * ModifyVideoEncodingPreset请求参数结构体
3948
+ */
3949
+ export interface ModifyVideoEncodingPresetRequest {
3950
+ /**
3951
+ * 平台名称,指定访问的平台。
3952
+ */
3953
+ Platform: string
3954
+
3955
+ /**
3956
+ * 配置 ID。
3957
+ */
3958
+ Id: number
3959
+
3960
+ /**
3961
+ * 更改后的视频编码配置名,不填则不修改。
3962
+ */
3963
+ Name?: string
3964
+
3965
+ /**
3966
+ * 是否去除视频数据,可选值:
3967
+ <li>0:保留;</li>
3968
+ <li>1:去除。</li>
3969
+ 默认值:0。
3970
+ */
3971
+ RemoveVideo?: number
3972
+
3973
+ /**
3974
+ * 是否去除音频数据,可选值:
3975
+ <li>0:保留;</li>
3976
+ <li>1:去除。</li>
3977
+ 默认值:0。
3978
+ */
3979
+ RemoveAudio?: number
3980
+
3981
+ /**
3982
+ * 更改后的编码配置的视频设置。
3983
+ */
3984
+ VideoSetting?: VideoEncodingPresetVideoSettingForUpdate
3985
+
3986
+ /**
3987
+ * 更改后的编码配置的音频设置。
3988
+ */
3989
+ AudioSetting?: VideoEncodingPresetAudioSettingForUpdate
3990
+ }
3991
+
3623
3992
  /**
3624
3993
  * 团队成员信息
3625
3994
  */
@@ -3774,6 +4143,31 @@ export interface MaterialInfo {
3774
4143
  OtherMaterial: OtherMaterial
3775
4144
  }
3776
4145
 
4146
+ /**
4147
+ * DescribeVideoEncodingPresets请求参数结构体
4148
+ */
4149
+ export interface DescribeVideoEncodingPresetsRequest {
4150
+ /**
4151
+ * 平台名称,指定访问的平台。
4152
+ */
4153
+ Platform: string
4154
+
4155
+ /**
4156
+ * 要查询的配置 ID 列表。填写该参数则按照配置 ID 进行查询。
4157
+ */
4158
+ Ids?: Array<number>
4159
+
4160
+ /**
4161
+ * 分页大小,默认20。最大值50。
4162
+ */
4163
+ Limit?: number
4164
+
4165
+ /**
4166
+ * 分页起始,默认0。
4167
+ */
4168
+ Offset?: number
4169
+ }
4170
+
3777
4171
  /**
3778
4172
  * 登录态信息
3779
4173
  */
@@ -3897,42 +4291,18 @@ export interface DeleteClassResponse {
3897
4291
  }
3898
4292
 
3899
4293
  /**
3900
- * GrantResourceAuthorization请求参数结构体
4294
+ * ExportVideoEditProject返回参数结构体
3901
4295
  */
3902
- export interface GrantResourceAuthorizationRequest {
3903
- /**
3904
- * 平台名称,指定访问的平台。
3905
- */
3906
- Platform: string
3907
-
3908
- /**
3909
- * 资源归属者,个人或者团队。
3910
- */
3911
- Owner: Entity
3912
-
3913
- /**
3914
- * 被授权资源。
3915
- */
3916
- Resources: Array<Resource>
3917
-
4296
+ export interface ExportVideoEditProjectResponse {
3918
4297
  /**
3919
- * 被授权目标,个人或者团队。
4298
+ * 任务 Id。
3920
4299
  */
3921
- Authorizees: Array<Entity>
3922
-
3923
- /**
3924
- * 详细授权值。 取值有:
3925
- <li>R:可读,可以浏览媒体,但不能使用该媒体文件(将其添加到 Project),或复制到自己的媒资库中</li>
3926
- <li>X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。</li>
3927
- <li>C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。</li>
3928
- <li>W:可修改、删除媒资。</li>
3929
- */
3930
- Permissions: Array<string>
4300
+ TaskId: string
3931
4301
 
3932
4302
  /**
3933
- * 操作者。填写用户的 Id,用于标识调用者及校验操作权限。
4303
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3934
4304
  */
3935
- Operator?: string
4305
+ RequestId?: string
3936
4306
  }
3937
4307
 
3938
4308
  /**
@@ -4078,6 +4448,54 @@ export interface MediaImageSpriteInfo {
4078
4448
  WebVttUrl: string
4079
4449
  }
4080
4450
 
4451
+ /**
4452
+ * 视频编码配置
4453
+ */
4454
+ export interface VideoEncodingPreset {
4455
+ /**
4456
+ * 配置 ID。
4457
+ */
4458
+ Id: number
4459
+
4460
+ /**
4461
+ * 配置名。
4462
+ */
4463
+ Name: string
4464
+
4465
+ /**
4466
+ * 封装格式,可选值:
4467
+ <li>mp4 ;</li>
4468
+ <li>mov 。</li>
4469
+ */
4470
+ Container: string
4471
+
4472
+ /**
4473
+ * 是否去除视频数据,可选值:
4474
+ <li>0:保留;</li>
4475
+ <li>1:去除。</li>
4476
+ 默认值:0。
4477
+ */
4478
+ RemoveVideo: number
4479
+
4480
+ /**
4481
+ * 是否去除音频数据,可选值:
4482
+ <li>0:保留;</li>
4483
+ <li>1:去除。</li>
4484
+ 默认值:0。
4485
+ */
4486
+ RemoveAudio: number
4487
+
4488
+ /**
4489
+ * 视频编码配置中的视频设置。
4490
+ */
4491
+ VideoSetting: VideoEncodingPresetVideoSetting
4492
+
4493
+ /**
4494
+ * 视频编码配置中的音频设置。
4495
+ */
4496
+ AudioSetting: VideoEncodingPresetAudioSetting
4497
+ }
4498
+
4081
4499
  /**
4082
4500
  * ImportMaterial请求参数结构体
4083
4501
  */