@wistia/bottler-helpers 1.0.19 → 1.0.21

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema.graphql +27 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -456,10 +456,12 @@ type RootQueryType {
456
456
  medias(searchFilter: SearchFilter): Medias
457
457
  projectsCount: Int
458
458
  channelsCount: Int
459
+ liveStreamEventsCount(interval: Interval): Int
459
460
  mediaEvents(interval: Interval, searchFilter: SearchFilter): MediaEvents
460
461
  liveEvents(liveStreamEventIds: [Int]!, includePostEvent: Boolean): LiveEvents
461
462
  liveEvent(liveStreamEventId: Int!, includePostEvent: Boolean): LiveEvent
462
- liveStreamEvents(limit: Int, interval: Interval): [LiveStreamEvent!]!
463
+ liveStreamEvents(limit: Int, interval: Interval, orderBy: LiveStreamEventOrderMetric, order: Order): [LiveStreamEvent!]!
464
+ liveStreamEventsAccountAggregate(limit: Int, interval: Interval): LiveStreamEventAccountAggregate!
463
465
  mediaFormConversions(mediaGlobalId: String!, interval: Interval!, pagination: Pagination): MediaFormAggregateResult
464
466
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
465
467
  }
@@ -542,6 +544,20 @@ type MediaUtmCampaignAggregate {
542
544
  ctaConversionRate: Float
543
545
  }
544
546
 
547
+ type LiveStreamEventAccountAggregate {
548
+ accountKey: String!
549
+ accountName: String!
550
+ impressions: Int!
551
+ registrations: Int!
552
+ uniqueRegistrations: Int!
553
+ attendees: Int!
554
+ engagedAttendees: Int!
555
+ chatParticipants: Int!
556
+ playedTime: Int!
557
+ uniquePlayedTime: Int!
558
+ mediaPlays: Int!
559
+ }
560
+
545
561
  type LiveEventUtmMediumAggregate {
546
562
  accountKey: String
547
563
  accountName: String
@@ -858,6 +874,16 @@ type Medias {
858
874
  totalCount: Int
859
875
  }
860
876
 
877
+ "A metric to order live stream event entries by"
878
+ enum LiveStreamEventOrderMetric {
879
+ IMPRESSIONS
880
+ UNIQUE_REGISTRATIONS
881
+ ATTENDEES
882
+ REGISTRATION_RATE
883
+ ATTENDANCE_RATE
884
+ MEDIA_PLAYS
885
+ }
886
+
861
887
  type LiveEvents {
862
888
  aggregate: LiveStreamEventAggregate
863
889
  }