@@ -130,14 +130,14 @@ interface ActivePlaylistEvent {
130130 * Optional arbitrary data
131131 */
132132 'publicData' ?: any ;
133- /**
134- * Information about the current quickLoop, if any
135- */
136- 'quickLoop' ?: ActivePlaylistQuickLoop ;
137133 /**
138134 * Timing information about the active playlist
139135 */
140136 'timing' : ActivePlaylistTiming ;
137+ /**
138+ * Information about the current quickLoop, if any
139+ */
140+ 'quickLoop' ?: ActivePlaylistQuickLoop ;
141141}
142142
143143interface CurrentPartStatus {
@@ -288,6 +288,41 @@ interface PartStatus {
288288 'additionalProperties' ?: Record < string , any > ;
289289}
290290
291+ /**
292+ * Timing information about the active playlist
293+ */
294+ interface ActivePlaylistTiming {
295+ /**
296+ * Timing mode for the playlist.
297+ */
298+ 'timingMode' : ActivePlaylistTimingMode ;
299+ /**
300+ * Unix timestamp of when the playlist started (milliseconds)
301+ */
302+ 'startedPlayback' ?: number ;
303+ /**
304+ * Unix timestamp of when the playlist is expected to start (milliseconds). Required when the timingMode is set to forward-time.
305+ */
306+ 'expectedStart' ?: number ;
307+ /**
308+ * Duration of the playlist in ms
309+ */
310+ 'expectedDurationMs' ?: number ;
311+ /**
312+ * Unix timestamp of when the playlist is expected to end (milliseconds) Required when the timingMode is set to back-time.
313+ */
314+ 'expectedEnd' ?: number ;
315+ }
316+
317+ /**
318+ * Timing mode for the playlist.
319+ */
320+ enum ActivePlaylistTimingMode {
321+ NONE = "none" ,
322+ FORWARD_MINUS_TIME = "forward-time" ,
323+ BACK_MINUS_TIME = "back-time" ,
324+ }
325+
291326/**
292327 * Information about the current quickLoop, if any
293328 */
@@ -335,41 +370,6 @@ enum QuickLoopMarkerType {
335370 PART = "part" ,
336371}
337372
338- /**
339- * Timing information about the active playlist
340- */
341- interface ActivePlaylistTiming {
342- /**
343- * Timing mode for the playlist.
344- */
345- 'timingMode' : ActivePlaylistTimingMode ;
346- /**
347- * Unix timestamp of when the playlist started (milliseconds)
348- */
349- 'startedPlayback' ?: number ;
350- /**
351- * Unix timestamp of when the playlist is expected to start (milliseconds). Required when the timingMode is set to forward-time.
352- */
353- 'expectedStart' ?: number ;
354- /**
355- * Duration of the playlist in ms
356- */
357- 'expectedDurationMs' ?: number ;
358- /**
359- * Unix timestamp of when the playlist is expected to end (milliseconds) Required when the timingMode is set to back-time.
360- */
361- 'expectedEnd' ?: number ;
362- }
363-
364- /**
365- * Timing mode for the playlist.
366- */
367- enum ActivePlaylistTimingMode {
368- NONE = "none" ,
369- FORWARD_MINUS_TIME = "forward-time" ,
370- BACK_MINUS_TIME = "back-time" ,
371- }
372-
373373interface ActivePiecesEvent {
374374 'event' : 'activePieces' ;
375375 /**
@@ -479,6 +479,10 @@ interface AdLibStatus {
479479 * Optional arbitrary data
480480 */
481481 'publicData' ?: any ;
482+ /**
483+ * JSON schema definition of the adLib properties that can be modified using the adLibOptions property in executeAdLib
484+ */
485+ 'optionsSchema' ?: string ;
482486 /**
483487 * Unique id of the segment this adLib belongs to
484488 */
@@ -530,7 +534,11 @@ interface GlobalAdLibStatus {
530534 * Optional arbitrary data
531535 */
532536 'publicData' ?: any ;
537+ /**
538+ * JSON schema definition of the adLib properties that can be modified using the adLibOptions property in executeAdLib
539+ */
540+ 'optionsSchema' ?: string ;
533541 'additionalProperties' ?: Record < string , any > ;
534542}
535543
536- export { Slash , PongEvent , HeartbeatEvent , SubscriptionStatusError , SubscriptionDetails , SubscriptionName , SubscriptionStatus , SubscriptionStatusSuccess , StudioEvent , PlaylistStatus , PlaylistActivationStatus , ActivePlaylistEvent , CurrentPartStatus , PieceStatus , CurrentPartTiming , CurrentSegment , CurrentSegmentTiming , SegmentCountdownType , PartStatus , ActivePlaylistQuickLoop , QuickLoopMarker , QuickLoopMarkerType , ActivePlaylistTiming , ActivePlaylistTimingMode , ActivePiecesEvent , SegmentsEvent , Segment , SegmentTiming , AdLibsEvent , AdLibStatus , AdLibActionType , GlobalAdLibStatus } ;
544+ export { Slash , PongEvent , HeartbeatEvent , SubscriptionStatusError , SubscriptionDetails , SubscriptionName , SubscriptionStatus , SubscriptionStatusSuccess , StudioEvent , PlaylistStatus , PlaylistActivationStatus , ActivePlaylistEvent , CurrentPartStatus , PieceStatus , CurrentPartTiming , CurrentSegment , CurrentSegmentTiming , SegmentCountdownType , PartStatus , ActivePlaylistTiming , ActivePlaylistTimingMode , ActivePlaylistQuickLoop , QuickLoopMarker , QuickLoopMarkerType , ActivePiecesEvent , SegmentsEvent , Segment , SegmentTiming , AdLibsEvent , AdLibStatus , AdLibActionType , GlobalAdLibStatus } ;
0 commit comments