@wistia/bottler-helpers 1.31.0 → 1.31.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema.graphql +43 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.31.0",
3
+ "version": "1.31.1",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -52,6 +52,7 @@ type RootQueryType {
52
52
  formEvents(interval: Interval, formFilter: FormFilter): FormEvents
53
53
  liveEvents(liveStreamEventIds: [Int]!, includePostEvent: Boolean): LiveEvents
54
54
  liveEvent(liveStreamEventId: Int!, includePostEvent: Boolean): LiveEvent
55
+ liveSeries(liveSeriesId: Int!, interval: Interval): LiveSeries
55
56
  liveStreamEvents(
56
57
  limit: Int, interval: Interval, orderBy: LiveStreamEventOrderMetric, order: Order, liveStreamEventIds: [Int]
57
58
  ): [LiveStreamEvent!]!
@@ -88,6 +89,45 @@ response as an ISO8601 formatted string, without a time component.
88
89
  """
89
90
  scalar Date
90
91
 
92
+ type LiveSeries {
93
+ aggregate: LiveSeriesAggregate
94
+ timeseries(granularity: Granularity!): [LiveSeriesDataPoint]
95
+ registrationTraffic(dimension: TrafficDimension!, orderBy: TrafficMetric!, order: Order!): [LiveSeriesTrafficAggregate]
96
+ }
97
+
98
+ enum TrafficDimension {
99
+ REFERRER_DOMAIN
100
+ UTM_CAMPAIGN
101
+ UTM_SOURCE
102
+ UTM_MEDIUM
103
+ UTM_TERM
104
+ UTM_CONTENT
105
+ }
106
+
107
+ type LiveSeriesAggregate {
108
+ impressions: Int
109
+ registrations: Int
110
+ newContacts: Int
111
+ attendees: Int
112
+ }
113
+
114
+ type LiveSeriesDataPoint {
115
+ timestamp: String
116
+ entries: [LiveSeriesTimeseriesAggregate]
117
+ }
118
+
119
+ type LiveSeriesTimeseriesAggregate {
120
+ impressions: Int
121
+ registrations: Int
122
+ }
123
+
124
+ type LiveSeriesTrafficAggregate {
125
+ value: String
126
+ impressions: Int
127
+ registrations: Int
128
+ attendees: Int
129
+ }
130
+
91
131
  input FormFilter {
92
132
  contentIds: [String]
93
133
  }
@@ -403,6 +443,9 @@ type LiveStreamEvent {
403
443
  attendees: Int!
404
444
  registrationRate: Float!
405
445
  attendanceRate: Float!
446
+ engagementRate: Float!
447
+ chats: Int!
448
+ qaQuestions: Int!
406
449
  }
407
450
 
408
451
  type LiveStreamEventAccountAggregate {