@wistia/bottler-helpers 1.39.0 → 1.45.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 +25 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.39.0",
3
+ "version": "1.45.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -63,6 +63,7 @@ type RootQueryType {
63
63
  channelsCount: Int
64
64
  liveStreamEventsCount(interval: Interval): Int
65
65
  mediaEvents(interval: Interval, searchFilter: SearchFilter): MediaEvents
66
+ mediaByEmbedLocation(interval: Interval!, filters: [Filter], limit: Int): MediaByEmbedLocationResult
66
67
  formEvents(interval: Interval, formFilter: FormFilter): FormEvents
67
68
  liveEvents(liveStreamEventIds: [Int]!, includePostEvent: Boolean): LiveEvents
68
69
  liveEvent(liveStreamEventId: Int!, includePostEvent: Boolean): LiveEvent
@@ -78,6 +79,7 @@ type RootQueryType {
78
79
  mediaAudienceWithAnonymous(
79
80
  mediaGlobalId: String!, interval: Interval!, pagination: OffsetPagination, orderBy: MediaAudienceSortField, order: Order
80
81
  ): MediaAudienceWithAnonymousResult
82
+ mediaAudienceAggregate(mediaGlobalId: String!, interval: Interval!): MediaAudienceAggregate
81
83
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
82
84
  exportStatus(exportId: Int!): ExportStatus
83
85
  contactTouchpointHistory(
@@ -120,10 +122,10 @@ enum MediaAudienceSortField {
120
122
  SESSION_COUNT
121
123
  VIEWER_ID
122
124
  EMBED_URL
123
- REFERRER_URL
124
- CITY
125
- REGION
126
- COUNTRY
125
+ REFERRER_DOMAIN
126
+ IP_CITY
127
+ IP_REGION
128
+ IP_COUNTRY_CODE
127
129
  UTM_CAMPAIGN
128
130
  UTM_SOURCE
129
131
  UTM_MEDIUM
@@ -148,6 +150,12 @@ type MediaAudienceWithAnonymousResult {
148
150
  entries: [MediaAudienceViewer]
149
151
  }
150
152
 
153
+ type MediaAudienceAggregate {
154
+ uniqueViewers: Int!
155
+ knownViewers: Int!
156
+ anonymousViewers: Int!
157
+ }
158
+
151
159
  type MediaAudienceViewer {
152
160
  id: String!
153
161
  uniqueId: String
@@ -162,7 +170,10 @@ type MediaAudienceViewer {
162
170
  city: String
163
171
  region: String
164
172
  country: String
165
- referrerUrl: String
173
+ ipCity: String
174
+ ipRegion: String
175
+ ipCountryCode: String
176
+ referrerDomain: String
166
177
  utmCampaign: String
167
178
  utmSource: String
168
179
  utmMedium: String
@@ -176,6 +187,9 @@ type MediaAudienceViewer {
176
187
  uniquePlayedTime: Float
177
188
  sessionCount: Int
178
189
  lastViewedAt: DateTime
190
+ submittedAt: DateTime
191
+ touchpointCount: Int
192
+ formFieldData: [FormFieldResponse!]!
179
193
  conversionEvents: [MediaConversionEvent!]!
180
194
  }
181
195
 
@@ -1181,6 +1195,12 @@ type AggregateEntries {
1181
1195
  entries: [MediaEventAggregate]
1182
1196
  }
1183
1197
 
1198
+ type MediaByEmbedLocationEntries {
1199
+ mediaHashedIds: [String!]!
1200
+ }
1201
+
1202
+ union MediaByEmbedLocationResult = MediaByEmbedLocationEntries | AggregateError
1203
+
1184
1204
  union MediaEventAggregateResult = AggregateEntries | AggregateError
1185
1205
 
1186
1206
  type AccountAggregate {