@wistia/bottler-helpers 1.48.0 → 1.50.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 +32 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.48.0",
3
+ "version": "1.50.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -77,7 +77,7 @@ type RootQueryType {
77
77
  mediaFormConversions(mediaGlobalId: String!, interval: Interval!, pagination: Pagination): MediaFormAggregateResult
78
78
  mediaAudience(mediaGlobalId: String!, interval: Interval!, pagination: Pagination, search: String): MediaAudienceResult
79
79
  mediaAudienceWithAnonymous(
80
- mediaGlobalId: String!, interval: Interval!, pagination: OffsetPagination, orderBy: MediaAudienceSortField, order: Order
80
+ mediaGlobalId: String!, interval: Interval!, pagination: OffsetPagination, orderBy: MediaAudienceSortField, order: Order, filters: MediaAudienceFilters
81
81
  ): MediaAudienceWithAnonymousResult
82
82
  mediaAudienceAggregate(mediaGlobalId: String!, interval: Interval!): MediaAudienceAggregate
83
83
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
@@ -85,6 +85,7 @@ type RootQueryType {
85
85
  contactTouchpointHistory(
86
86
  email: String!, filters: ContactTouchpointHistoryFilters, sort: Order, includeWatchEvents: Boolean
87
87
  ): ContactTouchpointHistory
88
+ anonymousTouchpointHistory(visitorKey: String!, filters: AnonymousTouchpointHistoryFilters, sort: Order, limit: Int): AnonymousTouchpointHistory
88
89
  audienceActivity(interval: Interval!, limit: Int!): AudienceActivity
89
90
  accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
90
91
  }
@@ -113,6 +114,17 @@ response as an ISO8601 formatted string, without a time component.
113
114
  """
114
115
  scalar Date
115
116
 
117
+ "Filters audience members by whether they resolved to a contact"
118
+ enum MediaAudienceViewerTypeFilter {
119
+ ALL
120
+ KNOWN
121
+ ANONYMOUS
122
+ }
123
+
124
+ input MediaAudienceFilters {
125
+ viewerType: MediaAudienceViewerTypeFilter
126
+ }
127
+
116
128
  "A field to order audience viewers by"
117
129
  enum MediaAudienceSortField {
118
130
  LAST_VIEWED_AT
@@ -157,10 +169,18 @@ type MediaAudienceAggregate {
157
169
  anonymousViewers: Int!
158
170
  }
159
171
 
172
+ type AnonymousIdentity {
173
+ name: String!
174
+ adjective: String!
175
+ animal: String!
176
+ color: String!
177
+ }
178
+
160
179
  type MediaAudienceViewer {
161
180
  id: String!
162
181
  uniqueId: String
163
182
  visitorKey: String
183
+ anonymousIdentity: AnonymousIdentity
164
184
  email: String
165
185
  firstName: String
166
186
  lastName: String
@@ -188,6 +208,7 @@ type MediaAudienceViewer {
188
208
  uniquePlayedTime: Float
189
209
  sessionCount: Int
190
210
  lastViewedAt: DateTime
211
+ hasWatchData: Boolean!
191
212
  submittedAt: DateTime
192
213
  touchpointCount: Int
193
214
  formFieldData: [FormFieldResponse!]!
@@ -348,6 +369,16 @@ type AudienceActivityContact {
348
369
  touchpoints: [Touchpoint!]!
349
370
  }
350
371
 
372
+ type AnonymousTouchpointHistory {
373
+ visitorKey: String!
374
+ events: [Touchpoint!]!
375
+ }
376
+
377
+ input AnonymousTouchpointHistoryFilters {
378
+ startDate: Date
379
+ endDate: Date
380
+ }
381
+
351
382
  type ContactTouchpointHistory {
352
383
  email: String!
353
384
  events: [Touchpoint!]!