@wistia/bottler-helpers 1.34.0 → 1.39.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 +89 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.34.0",
3
+ "version": "1.39.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -67,6 +67,7 @@ type RootQueryType {
67
67
  liveEvents(liveStreamEventIds: [Int]!, includePostEvent: Boolean): LiveEvents
68
68
  liveEvent(liveStreamEventId: Int!, includePostEvent: Boolean): LiveEvent
69
69
  liveSeries(liveSeriesId: Int!, interval: Interval): LiveSeries
70
+ liveSeriesList(liveSeriesIds: [Int!]!): [LiveSeriesListEntry!]!
70
71
  liveStreamEvents(
71
72
  limit: Int, interval: Interval, orderBy: LiveStreamEventOrderMetric, order: Order, liveStreamEventIds: [Int]
72
73
  ): [LiveStreamEvent!]!
@@ -74,9 +75,14 @@ type RootQueryType {
74
75
  liveEventContacts(liveStreamEventId: Int!, filters: LiveFilters): LiveEventContacts
75
76
  mediaFormConversions(mediaGlobalId: String!, interval: Interval!, pagination: Pagination): MediaFormAggregateResult
76
77
  mediaAudience(mediaGlobalId: String!, interval: Interval!, pagination: Pagination, search: String): MediaAudienceResult
78
+ mediaAudienceWithAnonymous(
79
+ mediaGlobalId: String!, interval: Interval!, pagination: OffsetPagination, orderBy: MediaAudienceSortField, order: Order
80
+ ): MediaAudienceWithAnonymousResult
77
81
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
78
82
  exportStatus(exportId: Int!): ExportStatus
79
- contactTouchpointHistory(email: String!, filters: ContactTouchpointHistoryFilters, sort: Order): ContactTouchpointHistory
83
+ contactTouchpointHistory(
84
+ email: String!, filters: ContactTouchpointHistoryFilters, sort: Order, includeWatchEvents: Boolean
85
+ ): ContactTouchpointHistory
80
86
  accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
81
87
  }
82
88
 
@@ -104,6 +110,75 @@ response as an ISO8601 formatted string, without a time component.
104
110
  """
105
111
  scalar Date
106
112
 
113
+ "A field to order audience viewers by"
114
+ enum MediaAudienceSortField {
115
+ LAST_VIEWED_AT
116
+ UNIQUE_PLAYED_TIME
117
+ UNIQUE_PLAYS
118
+ PLAYS
119
+ PLAYED_TIME
120
+ SESSION_COUNT
121
+ VIEWER_ID
122
+ EMBED_URL
123
+ REFERRER_URL
124
+ CITY
125
+ REGION
126
+ COUNTRY
127
+ UTM_CAMPAIGN
128
+ UTM_SOURCE
129
+ UTM_MEDIUM
130
+ UTM_CONTENT
131
+ UTM_TERM
132
+ }
133
+
134
+ input OffsetPagination {
135
+ limit: Int!
136
+ offset: Int
137
+ }
138
+
139
+ type OffsetPageInfo {
140
+ limit: Int!
141
+ offset: Int!
142
+ hasNextPage: Boolean!
143
+ hasPreviousPage: Boolean!
144
+ }
145
+
146
+ type MediaAudienceWithAnonymousResult {
147
+ pageInfo: OffsetPageInfo!
148
+ entries: [MediaAudienceViewer]
149
+ }
150
+
151
+ type MediaAudienceViewer {
152
+ id: String!
153
+ uniqueId: String
154
+ visitorKey: String
155
+ email: String
156
+ firstName: String
157
+ lastName: String
158
+ company: String
159
+ jobTitle: String
160
+ phoneNumber: String
161
+ embedUrl: String
162
+ city: String
163
+ region: String
164
+ country: String
165
+ referrerUrl: String
166
+ utmCampaign: String
167
+ utmSource: String
168
+ utmMedium: String
169
+ utmContent: String
170
+ utmTerm: String
171
+ playsHistogram: [Int]
172
+ engagementRate: Float
173
+ plays: Int
174
+ uniquePlays: Int
175
+ playedTime: Float
176
+ uniquePlayedTime: Float
177
+ sessionCount: Int
178
+ lastViewedAt: DateTime
179
+ conversionEvents: [MediaConversionEvent!]!
180
+ }
181
+
107
182
  type LiveSeries {
108
183
  aggregate: LiveSeriesAggregate
109
184
  timeseries(granularity: Granularity!): [LiveSeriesDataPoint]
@@ -111,6 +186,13 @@ type LiveSeries {
111
186
  audience(filters: LiveSeriesFilters): LiveSeriesAudience
112
187
  }
113
188
 
189
+ type LiveSeriesListEntry {
190
+ liveSeriesId: Int!
191
+ liveSeriesHashedId: String!
192
+ liveSeriesTitle: String!
193
+ registrations: Int!
194
+ }
195
+
114
196
  input LiveSeriesFilters {
115
197
  uniqueIds: [String]
116
198
  }
@@ -246,6 +328,8 @@ type Touchpoint {
246
328
  embedId: Int!
247
329
  type: String!
248
330
  startedAt: DateTime!
331
+ playsHistogram: [Int]
332
+ engagementRate: Float
249
333
  }
250
334
 
251
335
  input ContactTouchpointHistoryFilters {
@@ -504,6 +588,7 @@ type LiveStreamEvent {
504
588
  registrationRate: Float!
505
589
  attendanceRate: Float!
506
590
  engagementRate: Float!
591
+ durationEstimated: Boolean!
507
592
  chats: Int!
508
593
  qaQuestions: Int!
509
594
  }
@@ -516,6 +601,7 @@ type LiveStreamEventAccountAggregate {
516
601
  uniqueRegistrations: Int!
517
602
  attendees: Int!
518
603
  engagedAttendees: Int!
604
+ durationEstimated: Boolean!
519
605
  chatParticipants: Int!
520
606
  playedTime: Int!
521
607
  uniquePlayedTime: Int!
@@ -592,6 +678,7 @@ type LiveStreamEventAggregate {
592
678
  attendance: Int
593
679
  onDemandPlays: Int
594
680
  engagementRate: Float
681
+ durationEstimated: Boolean!
595
682
  currentlyWatching: Int
596
683
  engagedAttendees: Int
597
684
  onDemandEngagementRate: Float
@@ -673,6 +760,7 @@ type LiveEventUtmContentAggregate {
673
760
  }
674
761
 
675
762
  type LiveEventContacts {
763
+ durationEstimated: Boolean!
676
764
  orderedEntriesResult(pagination: Pagination!): LiveEventContactAggregateResult
677
765
  }
678
766