@wistia/bottler-helpers 1.31.0 → 1.32.0

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 +90 -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.32.0",
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!]!
@@ -72,6 +73,7 @@ type RootMutationType {
72
73
  exportRelativeMedia(contactId: Int!, relativePeriod: RelativePeriod!, searchFilter: SearchFilter): ExportStatus
73
74
  accountDigest(contactId: Int!, interval: Interval!, overrideEmail: String): AccountDigestStatus
74
75
  liveExport(liveStreamEventId: Int!, type: LiveExportType!, contactId: Int!, filters: LiveFilters): ExportStatus
76
+ liveSeriesExport(liveSeriesId: Int!, type: LiveSeriesExportType!, contactId: Int!): ExportStatus
75
77
  }
76
78
 
77
79
  """
@@ -88,6 +90,91 @@ response as an ISO8601 formatted string, without a time component.
88
90
  """
89
91
  scalar Date
90
92
 
93
+ type LiveSeries {
94
+ aggregate: LiveSeriesAggregate
95
+ timeseries(granularity: Granularity!): [LiveSeriesDataPoint]
96
+ registrationTraffic(dimension: TrafficDimension!, orderBy: TrafficMetric!, order: Order!): [LiveSeriesTrafficAggregate]
97
+ audience(filters: LiveSeriesFilters): LiveSeriesAudience
98
+ }
99
+
100
+ input LiveSeriesFilters {
101
+ uniqueIds: [String]
102
+ }
103
+
104
+ type LiveSeriesAudience {
105
+ orderedEntriesResult(pagination: Pagination!): LiveSeriesContactAggregateResult
106
+ }
107
+
108
+ enum TrafficDimension {
109
+ REFERRER_DOMAIN
110
+ UTM_CAMPAIGN
111
+ UTM_SOURCE
112
+ UTM_MEDIUM
113
+ UTM_TERM
114
+ UTM_CONTENT
115
+ }
116
+
117
+ enum LiveSeriesExportType {
118
+ LIVE_SERIES_WEBINARS
119
+ }
120
+
121
+ type LiveSeriesAggregate {
122
+ impressions: Int
123
+ registrations: Int
124
+ newContacts: Int
125
+ attendees: Int
126
+ }
127
+
128
+ type LiveSeriesDataPoint {
129
+ timestamp: String
130
+ entries: [LiveSeriesTimeseriesAggregate]
131
+ }
132
+
133
+ type LiveSeriesTimeseriesAggregate {
134
+ impressions: Int
135
+ registrations: Int
136
+ }
137
+
138
+ type LiveSeriesTrafficAggregate {
139
+ value: String
140
+ impressions: Int
141
+ registrations: Int
142
+ attendees: Int
143
+ }
144
+
145
+ type LiveSeriesContactAggregate {
146
+ uniqueId: String
147
+ firstName: String
148
+ lastName: String
149
+ email: String
150
+ phoneNumber: String
151
+ company: String
152
+ jobTitle: String
153
+ country: String
154
+ formFieldData: [FormFieldResponse!]!
155
+ originMethod: String
156
+ registeredAt: DateTime
157
+ webinarRegistrationsCount: Int
158
+ webinarsAttendedCount: Int
159
+ utmCampaign: String
160
+ utmSource: String
161
+ utmMedium: String
162
+ utmContent: String
163
+ utmTerm: String
164
+ referrerDomain: String
165
+ ipRegion: String
166
+ ipCountry: String
167
+ ipCity: String
168
+ touchpointCount: Int
169
+ }
170
+
171
+ type LiveSeriesContactAggregateEntries {
172
+ entries: [LiveSeriesContactAggregate]
173
+ pageInfo: PageInfo!
174
+ }
175
+
176
+ union LiveSeriesContactAggregateResult = LiveSeriesContactAggregateEntries | AggregateError
177
+
91
178
  input FormFilter {
92
179
  contentIds: [String]
93
180
  }
@@ -403,6 +490,9 @@ type LiveStreamEvent {
403
490
  attendees: Int!
404
491
  registrationRate: Float!
405
492
  attendanceRate: Float!
493
+ engagementRate: Float!
494
+ chats: Int!
495
+ qaQuestions: Int!
406
496
  }
407
497
 
408
498
  type LiveStreamEventAccountAggregate {