@wistia/bottler-helpers 1.45.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 +46 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.45.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,8 @@ 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
89
+ audienceActivity(interval: Interval!, limit: Int!): AudienceActivity
88
90
  accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
89
91
  }
90
92
 
@@ -112,6 +114,17 @@ response as an ISO8601 formatted string, without a time component.
112
114
  """
113
115
  scalar Date
114
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
+
115
128
  "A field to order audience viewers by"
116
129
  enum MediaAudienceSortField {
117
130
  LAST_VIEWED_AT
@@ -187,6 +200,7 @@ type MediaAudienceViewer {
187
200
  uniquePlayedTime: Float
188
201
  sessionCount: Int
189
202
  lastViewedAt: DateTime
203
+ hasWatchData: Boolean!
190
204
  submittedAt: DateTime
191
205
  touchpointCount: Int
192
206
  formFieldData: [FormFieldResponse!]!
@@ -332,6 +346,31 @@ type AccountMediaBenchmark {
332
346
  entries: [AccountBenchmarkEntry]!
333
347
  }
334
348
 
349
+ type AudienceActivity {
350
+ contacts: [AudienceActivityContact!]!
351
+ }
352
+
353
+ type AudienceActivityContact {
354
+ uniqueId: String!
355
+ email: String
356
+ firstName: String
357
+ lastName: String
358
+ company: String
359
+ jobTitle: String
360
+ touchpointCount: Int!
361
+ touchpoints: [Touchpoint!]!
362
+ }
363
+
364
+ type AnonymousTouchpointHistory {
365
+ visitorKey: String!
366
+ events: [Touchpoint!]!
367
+ }
368
+
369
+ input AnonymousTouchpointHistoryFilters {
370
+ startDate: Date
371
+ endDate: Date
372
+ }
373
+
335
374
  type ContactTouchpointHistory {
336
375
  email: String!
337
376
  events: [Touchpoint!]!
@@ -1090,6 +1129,7 @@ enum ExportAggregate {
1090
1129
  PODCAST_EPISODE
1091
1130
  MEDIA_FORM_CONVERSION
1092
1131
  MEDIA_AUDIENCE
1132
+ MEDIA_AUDIENCE_WITH_ANONYMOUS
1093
1133
  MEDIA_COMPARISON
1094
1134
  }
1095
1135
 
@@ -1103,6 +1143,7 @@ enum FilterDimension {
1103
1143
  enum Operator {
1104
1144
  EQUALS
1105
1145
  NOT_EQUALS
1146
+ STARTS_WITH
1106
1147
  }
1107
1148
 
1108
1149
  "Filter by certain types in aggregation queries"
@@ -1134,6 +1175,7 @@ enum MediaAudienceContactStatusFilter {
1134
1175
  ALL
1135
1176
  NEW
1136
1177
  RETURNING
1178
+ ANONYMOUS
1137
1179
  }
1138
1180
 
1139
1181
  "Which way to paginate from a cursor"
@@ -1153,6 +1195,8 @@ input SearchFilter {
1153
1195
  turnstile: [Boolean]
1154
1196
  contentIds: [String]
1155
1197
  tags: [String]
1198
+ durationGroups: [String]
1199
+ transcriptLanguages: [String]
1156
1200
  }
1157
1201
 
1158
1202
  input Filter {
@@ -1378,6 +1422,7 @@ type MediaFormAggregate {
1378
1422
  email: String!
1379
1423
  convertedAt: DateTime!
1380
1424
  wistiaLeadType: WistiaLeadType
1425
+ formFieldData: [FormFieldResponse!]!
1381
1426
  }
1382
1427
 
1383
1428
  type AggregateError {