Skip to content

Commit 3b6a553

Browse files
release: 9.0.1 (#521)
* feat(api): api update (#520) * release: 9.0.1 * update changelot --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Justin Sanford <[email protected]>
1 parent fe5b7d9 commit 3b6a553

File tree

7 files changed

+76
-100
lines changed

7 files changed

+76
-100
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "9.0.0"
2+
".": "9.0.1"
33
}

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 88
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-5bc9dec57cc47596441c1af33503b43275966e117bb43d2d6c3c5301a1644330.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-59cc6a0736ea7363f64111dcca8774fe5e7f353c547071c7064574456c178486.yml

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 9.0.1 (2024-11-15)
4+
5+
Full Changelog: [v9.0.0...v9.0.1](https://github.com/muxinc/mux-node-sdk/compare/v9.0.0...v9.0.1)
6+
7+
### Bug Fixes (breaking)
8+
9+
* Remove `ad_watch_time` and `view_content_watch_time` from Video View model and Data APIs. Note: this _may_ be a breaking change, but was missed in the 9.0.0 release.
10+
311
## 9.0.0 (2024-11-14)
412

513
Full Changelog: [v8.8.0...v9.0.0](https://github.com/muxinc/mux-node-sdk/compare/v8.8.0...v9.0.0)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mux/mux-node",
3-
"version": "9.0.0",
3+
"version": "9.0.1",
44
"description": "The official TypeScript library for the Mux API",
55
"author": "Mux <[email protected]>",
66
"types": "dist/index.d.ts",

src/resources/data/metrics.ts

+64-92
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ export class Metrics extends APIResource {
7575
| 'video_startup_business_exception_percentage'
7676
| 'view_content_startup_time'
7777
| 'ad_preroll_startup_time'
78-
| 'ad_watch_time'
79-
| 'view_content_watch_time'
8078
| 'view_dropped_percentage',
8179
query?: MetricGetInsightsParams,
8280
options?: Core.RequestOptions,
@@ -130,8 +128,6 @@ export class Metrics extends APIResource {
130128
| 'video_startup_business_exception_percentage'
131129
| 'view_content_startup_time'
132130
| 'ad_preroll_startup_time'
133-
| 'ad_watch_time'
134-
| 'view_content_watch_time'
135131
| 'view_dropped_percentage',
136132
options?: Core.RequestOptions,
137133
): Core.APIPromise<InsightsResponse>;
@@ -184,8 +180,6 @@ export class Metrics extends APIResource {
184180
| 'video_startup_business_exception_percentage'
185181
| 'view_content_startup_time'
186182
| 'ad_preroll_startup_time'
187-
| 'ad_watch_time'
188-
| 'view_content_watch_time'
189183
| 'view_dropped_percentage',
190184
query: MetricGetInsightsParams | Core.RequestOptions = {},
191185
options?: Core.RequestOptions,
@@ -249,8 +243,6 @@ export class Metrics extends APIResource {
249243
| 'video_startup_business_exception_percentage'
250244
| 'view_content_startup_time'
251245
| 'ad_preroll_startup_time'
252-
| 'ad_watch_time'
253-
| 'view_content_watch_time'
254246
| 'view_dropped_percentage',
255247
query?: MetricGetOverallValuesParams,
256248
options?: Core.RequestOptions,
@@ -304,8 +296,6 @@ export class Metrics extends APIResource {
304296
| 'video_startup_business_exception_percentage'
305297
| 'view_content_startup_time'
306298
| 'ad_preroll_startup_time'
307-
| 'ad_watch_time'
308-
| 'view_content_watch_time'
309299
| 'view_dropped_percentage',
310300
options?: Core.RequestOptions,
311301
): Core.APIPromise<OverallValuesResponse>;
@@ -358,8 +348,6 @@ export class Metrics extends APIResource {
358348
| 'video_startup_business_exception_percentage'
359349
| 'view_content_startup_time'
360350
| 'ad_preroll_startup_time'
361-
| 'ad_watch_time'
362-
| 'view_content_watch_time'
363351
| 'view_dropped_percentage',
364352
query: MetricGetOverallValuesParams | Core.RequestOptions = {},
365353
options?: Core.RequestOptions,
@@ -430,8 +418,6 @@ export class Metrics extends APIResource {
430418
| 'video_startup_business_exception_percentage'
431419
| 'view_content_startup_time'
432420
| 'ad_preroll_startup_time'
433-
| 'ad_watch_time'
434-
| 'view_content_watch_time'
435421
| 'view_dropped_percentage',
436422
query?: MetricGetTimeseriesParams,
437423
options?: Core.RequestOptions,
@@ -485,8 +471,6 @@ export class Metrics extends APIResource {
485471
| 'video_startup_business_exception_percentage'
486472
| 'view_content_startup_time'
487473
| 'ad_preroll_startup_time'
488-
| 'ad_watch_time'
489-
| 'view_content_watch_time'
490474
| 'view_dropped_percentage',
491475
options?: Core.RequestOptions,
492476
): Core.APIPromise<MetricTimeseriesDataResponse>;
@@ -539,8 +523,6 @@ export class Metrics extends APIResource {
539523
| 'video_startup_business_exception_percentage'
540524
| 'view_content_startup_time'
541525
| 'ad_preroll_startup_time'
542-
| 'ad_watch_time'
543-
| 'view_content_watch_time'
544526
| 'view_dropped_percentage',
545527
query: MetricGetTimeseriesParams | Core.RequestOptions = {},
546528
options?: Core.RequestOptions,
@@ -603,8 +585,6 @@ export class Metrics extends APIResource {
603585
| 'video_startup_business_exception_percentage'
604586
| 'view_content_startup_time'
605587
| 'ad_preroll_startup_time'
606-
| 'ad_watch_time'
607-
| 'view_content_watch_time'
608588
| 'view_dropped_percentage',
609589
query?: MetricListBreakdownValuesParams,
610590
options?: Core.RequestOptions,
@@ -658,8 +638,6 @@ export class Metrics extends APIResource {
658638
| 'video_startup_business_exception_percentage'
659639
| 'view_content_startup_time'
660640
| 'ad_preroll_startup_time'
661-
| 'ad_watch_time'
662-
| 'view_content_watch_time'
663641
| 'view_dropped_percentage',
664642
options?: Core.RequestOptions,
665643
): Core.PagePromise<BreakdownValuesBasePage, BreakdownValue>;
@@ -712,8 +690,6 @@ export class Metrics extends APIResource {
712690
| 'video_startup_business_exception_percentage'
713691
| 'view_content_startup_time'
714692
| 'ad_preroll_startup_time'
715-
| 'ad_watch_time'
716-
| 'view_content_watch_time'
717693
| 'view_dropped_percentage',
718694
query: MetricListBreakdownValuesParams | Core.RequestOptions = {},
719695
options?: Core.RequestOptions,
@@ -1011,23 +987,22 @@ export interface MetricGetInsightsParams {
1011987
* be used. The default measurement for each metric is: "sum" : `ad_attempt_count`,
1012988
* `ad_break_count`, `ad_break_error_count`, `ad_error_count`,
1013989
* `ad_impression_count`, `playing_time` "median" : `ad_preroll_startup_time`,
1014-
* `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`,
1015-
* `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`,
1016-
* `page_load_time`, `player_average_live_latency`, `player_startup_time`,
1017-
* `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`,
1018-
* `video_startup_preroll_load_time`, `video_startup_preroll_request_time`,
1019-
* `video_startup_time`, `view_average_request_latency`,
1020-
* `view_average_request_throughput`, `view_max_request_latency`,
1021-
* `weighted_average_bitrate` "avg" : `ad_break_error_percentage`,
1022-
* `ad_error_percentage`, `ad_exit_before_start_count`,
1023-
* `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`,
1024-
* `ad_startup_error_count`, `ad_startup_error_percentage`,
1025-
* `content_playback_failure_percentage`, `downscale_percentage`,
1026-
* `exits_before_video_start`, `playback_business_exception_percentage`,
1027-
* `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`,
1028-
* `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`,
1029-
* `upscale_percentage`, `video_quality_score`,
1030-
* `video_startup_business_exception_percentage`,
990+
* `aggregate_startup_time`, `content_startup_time`, `max_downscale_percentage`,
991+
* `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`,
992+
* `player_startup_time`, `rebuffer_count`, `rebuffer_duration`,
993+
* `requests_for_first_preroll`, `video_startup_preroll_load_time`,
994+
* `video_startup_preroll_request_time`, `video_startup_time`,
995+
* `view_average_request_latency`, `view_average_request_throughput`,
996+
* `view_max_request_latency`, `weighted_average_bitrate` "avg" :
997+
* `ad_break_error_percentage`, `ad_error_percentage`,
998+
* `ad_exit_before_start_count`, `ad_exit_before_start_percentage`,
999+
* `ad_playback_failure_percentage`, `ad_startup_error_count`,
1000+
* `ad_startup_error_percentage`, `content_playback_failure_percentage`,
1001+
* `downscale_percentage`, `exits_before_video_start`,
1002+
* `playback_business_exception_percentage`, `playback_failure_percentage`,
1003+
* `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`,
1004+
* `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`,
1005+
* `video_quality_score`, `video_startup_business_exception_percentage`,
10311006
* `video_startup_failure_percentage`, `view_dropped_percentage`,
10321007
* `viewer_experience_score` "count" : `started_views`, `unique_viewers`
10331008
*/
@@ -1085,23 +1060,22 @@ export interface MetricGetOverallValuesParams {
10851060
* be used. The default measurement for each metric is: "sum" : `ad_attempt_count`,
10861061
* `ad_break_count`, `ad_break_error_count`, `ad_error_count`,
10871062
* `ad_impression_count`, `playing_time` "median" : `ad_preroll_startup_time`,
1088-
* `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`,
1089-
* `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`,
1090-
* `page_load_time`, `player_average_live_latency`, `player_startup_time`,
1091-
* `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`,
1092-
* `video_startup_preroll_load_time`, `video_startup_preroll_request_time`,
1093-
* `video_startup_time`, `view_average_request_latency`,
1094-
* `view_average_request_throughput`, `view_max_request_latency`,
1095-
* `weighted_average_bitrate` "avg" : `ad_break_error_percentage`,
1096-
* `ad_error_percentage`, `ad_exit_before_start_count`,
1097-
* `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`,
1098-
* `ad_startup_error_count`, `ad_startup_error_percentage`,
1099-
* `content_playback_failure_percentage`, `downscale_percentage`,
1100-
* `exits_before_video_start`, `playback_business_exception_percentage`,
1101-
* `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`,
1102-
* `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`,
1103-
* `upscale_percentage`, `video_quality_score`,
1104-
* `video_startup_business_exception_percentage`,
1063+
* `aggregate_startup_time`, `content_startup_time`, `max_downscale_percentage`,
1064+
* `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`,
1065+
* `player_startup_time`, `rebuffer_count`, `rebuffer_duration`,
1066+
* `requests_for_first_preroll`, `video_startup_preroll_load_time`,
1067+
* `video_startup_preroll_request_time`, `video_startup_time`,
1068+
* `view_average_request_latency`, `view_average_request_throughput`,
1069+
* `view_max_request_latency`, `weighted_average_bitrate` "avg" :
1070+
* `ad_break_error_percentage`, `ad_error_percentage`,
1071+
* `ad_exit_before_start_count`, `ad_exit_before_start_percentage`,
1072+
* `ad_playback_failure_percentage`, `ad_startup_error_count`,
1073+
* `ad_startup_error_percentage`, `content_playback_failure_percentage`,
1074+
* `downscale_percentage`, `exits_before_video_start`,
1075+
* `playback_business_exception_percentage`, `playback_failure_percentage`,
1076+
* `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`,
1077+
* `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`,
1078+
* `video_quality_score`, `video_startup_business_exception_percentage`,
11051079
* `video_startup_failure_percentage`, `view_dropped_percentage`,
11061080
* `viewer_experience_score` "count" : `started_views`, `unique_viewers`
11071081
*/
@@ -1167,23 +1141,22 @@ export interface MetricGetTimeseriesParams {
11671141
* be used. The default measurement for each metric is: "sum" : `ad_attempt_count`,
11681142
* `ad_break_count`, `ad_break_error_count`, `ad_error_count`,
11691143
* `ad_impression_count`, `playing_time` "median" : `ad_preroll_startup_time`,
1170-
* `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`,
1171-
* `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`,
1172-
* `page_load_time`, `player_average_live_latency`, `player_startup_time`,
1173-
* `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`,
1174-
* `video_startup_preroll_load_time`, `video_startup_preroll_request_time`,
1175-
* `video_startup_time`, `view_average_request_latency`,
1176-
* `view_average_request_throughput`, `view_max_request_latency`,
1177-
* `weighted_average_bitrate` "avg" : `ad_break_error_percentage`,
1178-
* `ad_error_percentage`, `ad_exit_before_start_count`,
1179-
* `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`,
1180-
* `ad_startup_error_count`, `ad_startup_error_percentage`,
1181-
* `content_playback_failure_percentage`, `downscale_percentage`,
1182-
* `exits_before_video_start`, `playback_business_exception_percentage`,
1183-
* `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`,
1184-
* `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`,
1185-
* `upscale_percentage`, `video_quality_score`,
1186-
* `video_startup_business_exception_percentage`,
1144+
* `aggregate_startup_time`, `content_startup_time`, `max_downscale_percentage`,
1145+
* `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`,
1146+
* `player_startup_time`, `rebuffer_count`, `rebuffer_duration`,
1147+
* `requests_for_first_preroll`, `video_startup_preroll_load_time`,
1148+
* `video_startup_preroll_request_time`, `video_startup_time`,
1149+
* `view_average_request_latency`, `view_average_request_throughput`,
1150+
* `view_max_request_latency`, `weighted_average_bitrate` "avg" :
1151+
* `ad_break_error_percentage`, `ad_error_percentage`,
1152+
* `ad_exit_before_start_count`, `ad_exit_before_start_percentage`,
1153+
* `ad_playback_failure_percentage`, `ad_startup_error_count`,
1154+
* `ad_startup_error_percentage`, `content_playback_failure_percentage`,
1155+
* `downscale_percentage`, `exits_before_video_start`,
1156+
* `playback_business_exception_percentage`, `playback_failure_percentage`,
1157+
* `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`,
1158+
* `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`,
1159+
* `video_quality_score`, `video_startup_business_exception_percentage`,
11871160
* `video_startup_failure_percentage`, `view_dropped_percentage`,
11881161
* `viewer_experience_score` "count" : `started_views`, `unique_viewers`
11891162
*/
@@ -1310,23 +1283,22 @@ export interface MetricListBreakdownValuesParams extends BasePageParams {
13101283
* be used. The default measurement for each metric is: "sum" : `ad_attempt_count`,
13111284
* `ad_break_count`, `ad_break_error_count`, `ad_error_count`,
13121285
* `ad_impression_count`, `playing_time` "median" : `ad_preroll_startup_time`,
1313-
* `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`,
1314-
* `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`,
1315-
* `page_load_time`, `player_average_live_latency`, `player_startup_time`,
1316-
* `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`,
1317-
* `video_startup_preroll_load_time`, `video_startup_preroll_request_time`,
1318-
* `video_startup_time`, `view_average_request_latency`,
1319-
* `view_average_request_throughput`, `view_max_request_latency`,
1320-
* `weighted_average_bitrate` "avg" : `ad_break_error_percentage`,
1321-
* `ad_error_percentage`, `ad_exit_before_start_count`,
1322-
* `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`,
1323-
* `ad_startup_error_count`, `ad_startup_error_percentage`,
1324-
* `content_playback_failure_percentage`, `downscale_percentage`,
1325-
* `exits_before_video_start`, `playback_business_exception_percentage`,
1326-
* `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`,
1327-
* `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`,
1328-
* `upscale_percentage`, `video_quality_score`,
1329-
* `video_startup_business_exception_percentage`,
1286+
* `aggregate_startup_time`, `content_startup_time`, `max_downscale_percentage`,
1287+
* `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`,
1288+
* `player_startup_time`, `rebuffer_count`, `rebuffer_duration`,
1289+
* `requests_for_first_preroll`, `video_startup_preroll_load_time`,
1290+
* `video_startup_preroll_request_time`, `video_startup_time`,
1291+
* `view_average_request_latency`, `view_average_request_throughput`,
1292+
* `view_max_request_latency`, `weighted_average_bitrate` "avg" :
1293+
* `ad_break_error_percentage`, `ad_error_percentage`,
1294+
* `ad_exit_before_start_count`, `ad_exit_before_start_percentage`,
1295+
* `ad_playback_failure_percentage`, `ad_startup_error_count`,
1296+
* `ad_startup_error_percentage`, `content_playback_failure_percentage`,
1297+
* `downscale_percentage`, `exits_before_video_start`,
1298+
* `playback_business_exception_percentage`, `playback_failure_percentage`,
1299+
* `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`,
1300+
* `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`,
1301+
* `video_quality_score`, `video_startup_business_exception_percentage`,
13301302
* `video_startup_failure_percentage`, `view_dropped_percentage`,
13311303
* `viewer_experience_score` "count" : `started_views`, `unique_viewers`
13321304
*/

src/resources/data/video-views.ts

-4
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ export namespace VideoViewResponse {
103103

104104
ad_startup_error_percentage: string | null;
105105

106-
ad_watch_time: number | null;
107-
108106
asn: number | null;
109107

110108
asn_name: string | null;
@@ -327,8 +325,6 @@ export namespace VideoViewResponse {
327325

328326
view_content_startup_time: number | null;
329327

330-
view_content_watch_time: number | null;
331-
332328
view_drm_type: string | null;
333329

334330
view_dropped: boolean;

src/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '9.0.0'; // x-release-please-version
1+
export const VERSION = '9.0.1'; // x-release-please-version

0 commit comments

Comments
 (0)