@wistia/bottler-helpers 1.48.0 → 1.49.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 +24 -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.49.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
@@ -188,6 +200,7 @@ type MediaAudienceViewer {
188
200
  uniquePlayedTime: Float
189
201
  sessionCount: Int
190
202
  lastViewedAt: DateTime
203
+ hasWatchData: Boolean!
191
204
  submittedAt: DateTime
192
205
  touchpointCount: Int
193
206
  formFieldData: [FormFieldResponse!]!
@@ -348,6 +361,16 @@ type AudienceActivityContact {
348
361
  touchpoints: [Touchpoint!]!
349
362
  }
350
363
 
364
+ type AnonymousTouchpointHistory {
365
+ visitorKey: String!
366
+ events: [Touchpoint!]!
367
+ }
368
+
369
+ input AnonymousTouchpointHistoryFilters {
370
+ startDate: Date
371
+ endDate: Date
372
+ }
373
+
351
374
  type ContactTouchpointHistory {
352
375
  email: String!
353
376
  events: [Touchpoint!]!