Skip to content

Commit

Permalink
feat: Additional Standard Dimensions (#319) (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Feb 19, 2025
1 parent 98944f3 commit 89142e8
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 3 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-72563ba7ef6a58c08fb7e4297f8fdd741538a0380c6c9f813ab655ab1fcbc05d.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-890a2225edeff31f32254de485652fb874bd69859d6e0f8f261930717d9a6ba2.yml
36 changes: 34 additions & 2 deletions src/resources/data/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,23 @@ export interface MetricListParams {
| 'viewer_user_id'
| 'ad_playback_failure'
| 'content_playback_failure'
| 'view_dropped';
| 'view_dropped'
| 'client_application_name'
| 'client_application_version'
| 'video_affiliate'
| 'viewer_plan'
| 'viewer_plan_status'
| 'viewer_plan_category'
| 'view_drm_level'
| 'video_brand'
| 'used_pip'
| 'time_shift_enabled'
| 'used_captions'
| 'video_codec'
| 'audio_codec'
| 'video_dynamic_range_type'
| 'view_cdn_edge_pop'
| 'view_cdn_origin';

/**
* Limit the results to rows that match conditions from provided key:value pairs.
Expand Down Expand Up @@ -1276,7 +1292,23 @@ export interface MetricListBreakdownValuesParams extends BasePageParams {
| 'viewer_user_id'
| 'ad_playback_failure'
| 'content_playback_failure'
| 'view_dropped';
| 'view_dropped'
| 'client_application_name'
| 'client_application_version'
| 'video_affiliate'
| 'viewer_plan'
| 'viewer_plan_status'
| 'viewer_plan_category'
| 'view_drm_level'
| 'video_brand'
| 'used_pip'
| 'time_shift_enabled'
| 'used_captions'
| 'video_codec'
| 'audio_codec'
| 'video_dynamic_range_type'
| 'view_cdn_edge_pop'
| 'view_cdn_origin';

/**
* Measurement for the provided metric. If omitted, the default for the metric will
Expand Down
32 changes: 32 additions & 0 deletions src/resources/data/video-views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ export namespace VideoViewResponse {

asset_id: string | null;

audio_codec: string | null;

buffering_count: number | null;

buffering_duration: number | null;
Expand All @@ -119,6 +121,10 @@ export namespace VideoViewResponse {

city: string | null;

client_application_name: string | null;

client_application_version: string | null;

continent_code: string | null;

country_code: string | null;
Expand Down Expand Up @@ -283,16 +289,30 @@ export namespace VideoViewResponse {

sub_property_id: string | null;

time_shift_enabled: boolean;

time_to_first_frame: number | null;

updated_at: string;

used_captions: boolean;

used_fullscreen: boolean;

used_pip: boolean;

video_affiliate: string | null;

video_brand: string | null;

video_codec: string | null;

video_content_type: string | null;

video_duration: number | null;

video_dynamic_range_type: string | null;

video_encoding_variant: string | null;

video_id: string | null;
Expand Down Expand Up @@ -323,8 +343,14 @@ export namespace VideoViewResponse {

view_average_request_throughput: number | null;

view_cdn_edge_pop: string | null;

view_cdn_origin: string | null;

view_content_startup_time: number | null;

view_drm_level: string | null;

view_drm_type: string | null;

view_dropped: boolean;
Expand Down Expand Up @@ -387,6 +413,12 @@ export namespace VideoViewResponse {

viewer_os_version: string | null;

viewer_plan: string | null;

viewer_plan_category: string | null;

viewer_plan_status: string | null;

viewer_user_agent: string | null;

viewer_user_id: string | null;
Expand Down

0 comments on commit 89142e8

Please sign in to comment.