Skip to content

Commit

Permalink
feat(api): api update (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Oct 30, 2024
1 parent 6542115 commit 7a5c790
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 88
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-3c52bfc2b198819c3714bd8c2e692cd9c643f56dcd627b11ee2191b5c3d4ca02.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-8481a2dad8c1237653cceb4b3cb43e3c3985332834d0cf3ef6b69a4cddef25a9.yml
32 changes: 16 additions & 16 deletions src/resources/video/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ export interface Asset {
/**
* @deprecated: This field is deprecated. Please use `video_quality` instead. The
* encoding tier informs the cost, quality, and available platform features for the
* asset. By default the `smart` encoding tier is used.
* asset. The default encoding tier for an account can be set in the Mux Dashboard.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
encoding_tier: 'smart' | 'baseline';
encoding_tier: 'smart' | 'baseline' | 'premium';

master_access: 'temporary' | 'none';

Expand Down Expand Up @@ -388,11 +388,11 @@ export interface Asset {

/**
* The video quality controls the cost, quality, and available platform features
* for the asset. By default the `plus` video quality is used. This field replaces
* the deprecated `encoding_tier` value.
* for the asset. The default video quality for an account can be set in the Mux
* Dashboard. This field replaces the deprecated `encoding_tier` value.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
video_quality?: 'basic' | 'plus';
video_quality?: 'basic' | 'plus' | 'premium';
}

export namespace Asset {
Expand Down Expand Up @@ -584,10 +584,10 @@ export interface AssetOptions {
/**
* @deprecated: This field is deprecated. Please use `video_quality` instead. The
* encoding tier informs the cost, quality, and available platform features for the
* asset. By default the `smart` encoding tier is used.
* asset. The default encoding tier for an account can be set in the Mux Dashboard.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
encoding_tier?: 'smart' | 'baseline';
encoding_tier?: 'smart' | 'baseline' | 'premium';

/**
* An array of objects that each describe an input file to be used to create the
Expand Down Expand Up @@ -680,11 +680,11 @@ export interface AssetOptions {

/**
* The video quality controls the cost, quality, and available platform features
* for the asset. By default the `plus` video quality is used. This field replaces
* the deprecated `encoding_tier` value.
* for the asset. The default video quality for an account can be set in the Mux
* Dashboard. This field replaces the deprecated `encoding_tier` value.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
video_quality?: 'basic' | 'plus';
video_quality?: 'basic' | 'plus' | 'premium';
}

export namespace AssetOptions {
Expand Down Expand Up @@ -1322,11 +1322,11 @@ export interface AssetCreateParams {

/**
* This field is deprecated. Please use `video_quality` instead. The encoding tier
* informs the cost, quality, and available platform features for the asset. By
* default the `smart` encoding tier is used.
* informs the cost, quality, and available platform features for the asset. The
* default encoding tier for an account can be set in the Mux Dashboard.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
encoding_tier?: 'smart' | 'baseline';
encoding_tier?: 'smart' | 'baseline' | 'premium';

/**
* Specify what level (if any) of support for master access. Master access can be
Expand Down Expand Up @@ -1409,11 +1409,11 @@ export interface AssetCreateParams {

/**
* The video quality controls the cost, quality, and available platform features
* for the asset. By default the `plus` video quality is used. This field replaces
* the deprecated `encoding_tier` value.
* for the asset. The default video quality for an account can be set in the Mux
* Dashboard. This field replaces the deprecated `encoding_tier` value.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
video_quality?: 'basic' | 'plus';
video_quality?: 'basic' | 'plus' | 'premium';
}

export namespace AssetCreateParams {
Expand Down
4 changes: 2 additions & 2 deletions src/resources/video/delivery-usage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface DeliveryReport {
* The encoding tier that the asset was ingested at.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
asset_encoding_tier: 'smart' | 'baseline';
asset_encoding_tier: 'smart' | 'baseline' | 'premium';

/**
* Unique identifier for the asset.
Expand Down Expand Up @@ -82,7 +82,7 @@ export interface DeliveryReport {
* `asset_encoding_tier`.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
asset_video_quality?: 'basic' | 'plus';
asset_video_quality?: 'basic' | 'plus' | 'premium';

/**
* If exists, time at which the asset was deleted. Measured in seconds since the
Expand Down
4 changes: 2 additions & 2 deletions src/resources/webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ export namespace VideoDeliveryHighTrafficWebhookEvent {
* The encoding tier that the asset was ingested at.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
asset_encoding_tier?: 'smart' | 'baseline';
asset_encoding_tier?: 'smart' | 'baseline' | 'premium';

/**
* Unique identifier for the asset.
Expand All @@ -564,7 +564,7 @@ export namespace VideoDeliveryHighTrafficWebhookEvent {
* `asset_encoding_tier`.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
asset_video_quality?: 'basic' | 'plus';
asset_video_quality?: 'basic' | 'plus' | 'premium';

/**
* Time at which the asset was created. Measured in seconds since the Unix epoch.
Expand Down

0 comments on commit 7a5c790

Please sign in to comment.