bitmovin-analytics 2.39.0 → 2.40.1

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.
@@ -104,14 +104,19 @@ export type SsaiAdMetadata = {
104
104
  adSystem?: string;
105
105
  customData?: CustomDataValues;
106
106
  };
107
+ export type AdPosition = "preroll" | "midroll" | "postroll";
107
108
  export type SsaiAdBreakMetadata = {
108
109
  adPosition?: AdPosition;
109
110
  };
110
- export type AdPosition = "midroll" | "postroll" | "preroll";
111
+ export type SsaiAdQuartile = "first" | "midpoint" | "third" | "completed";
112
+ export type SsaiAdQuartileMetadata = {
113
+ failedBeaconUrl?: string;
114
+ };
111
115
  export interface SsaiApi {
112
- adBreakStart(adBreakMetadata?: SsaiAdBreakMetadata): any;
113
- adStart(adMetadata?: SsaiAdMetadata): any;
114
- adBreakEnd(): any;
116
+ adBreakStart(adBreakMetadata?: SsaiAdBreakMetadata): void;
117
+ adStart(adMetadata?: SsaiAdMetadata): void;
118
+ adQuartileFinished(adQuartile: SsaiAdQuartile, adQuartileMetadata?: SsaiAdQuartileMetadata): void;
119
+ adBreakEnd(): void;
115
120
  }
116
121
  export interface AnalyticsStateMachineOptions {
117
122
  starttime: any;