@@ -226,9 +226,10 @@ export interface Asset {
226
226
created_at : string ;
227
227
228
228
/**
229
- * The encoding tier informs the cost, quality, and available platform features for
230
- * the asset. By default the `smart` encoding tier is used.
231
- * [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
229
+ * @deprecated : This field is deprecated. Please use `video_quality` instead. The
230
+ * encoding tier informs the cost, quality, and available platform features for the
231
+ * asset. By default the `smart` encoding tier is used.
232
+ * [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
232
233
*/
233
234
encoding_tier : 'smart' | 'baseline' ;
234
235
@@ -384,6 +385,14 @@ export interface Asset {
384
385
* when the asset is created from a direct upload.
385
386
*/
386
387
upload_id ?: string ;
388
+
389
+ /**
390
+ * The video quality controls the cost, quality, and available platform features
391
+ * for the asset. By default the `plus` video quality is used. This field replaces
392
+ * the deprecated `encoding_tier` value.
393
+ * [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
394
+ */
395
+ video_quality ?: 'basic' | 'plus' ;
387
396
}
388
397
389
398
export namespace Asset {
@@ -573,9 +582,10 @@ export interface AssetOptions {
573
582
advanced_playback_policies ?: Array < AssetOptions . AdvancedPlaybackPolicy > ;
574
583
575
584
/**
576
- * The encoding tier informs the cost, quality, and available platform features for
577
- * the asset. By default the `smart` encoding tier is used.
578
- * [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
585
+ * @deprecated : This field is deprecated. Please use `video_quality` instead. The
586
+ * encoding tier informs the cost, quality, and available platform features for the
587
+ * asset. By default the `smart` encoding tier is used.
588
+ * [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
579
589
*/
580
590
encoding_tier ?: 'smart' | 'baseline' ;
581
591
@@ -667,6 +677,14 @@ export interface AssetOptions {
667
677
* limited to 10 seconds, deleted after 24 hrs.
668
678
*/
669
679
test ?: boolean ;
680
+
681
+ /**
682
+ * The video quality controls the cost, quality, and available platform features
683
+ * for the asset. By default the `plus` video quality is used. This field replaces
684
+ * the deprecated `encoding_tier` value.
685
+ * [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
686
+ */
687
+ video_quality ?: 'basic' | 'plus' ;
670
688
}
671
689
672
690
export namespace AssetOptions {
@@ -1303,9 +1321,10 @@ export interface AssetCreateParams {
1303
1321
advanced_playback_policies ?: Array < AssetCreateParams . AdvancedPlaybackPolicy > ;
1304
1322
1305
1323
/**
1306
- * The encoding tier informs the cost, quality, and available platform features for
1307
- * the asset. By default the `smart` encoding tier is used.
1308
- * [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
1324
+ * This field is deprecated. Please use `video_quality` instead. The encoding tier
1325
+ * informs the cost, quality, and available platform features for the asset. By
1326
+ * default the `smart` encoding tier is used.
1327
+ * [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
1309
1328
*/
1310
1329
encoding_tier ?: 'smart' | 'baseline' ;
1311
1330
@@ -1387,6 +1406,14 @@ export interface AssetCreateParams {
1387
1406
* limited to 10 seconds, deleted after 24 hrs.
1388
1407
*/
1389
1408
test ?: boolean ;
1409
+
1410
+ /**
1411
+ * The video quality controls the cost, quality, and available platform features
1412
+ * for the asset. By default the `plus` video quality is used. This field replaces
1413
+ * the deprecated `encoding_tier` value.
1414
+ * [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
1415
+ */
1416
+ video_quality ?: 'basic' | 'plus' ;
1390
1417
}
1391
1418
1392
1419
export namespace AssetCreateParams {
0 commit comments