@wistia/bottler-helpers 1.36.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 +81 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.36.0",
3
+ "version": "1.39.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -75,9 +75,14 @@ type RootQueryType {
75
75
  liveEventContacts(liveStreamEventId: Int!, filters: LiveFilters): LiveEventContacts
76
76
  mediaFormConversions(mediaGlobalId: String!, interval: Interval!, pagination: Pagination): MediaFormAggregateResult
77
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
78
81
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
79
82
  exportStatus(exportId: Int!): ExportStatus
80
- contactTouchpointHistory(email: String!, filters: ContactTouchpointHistoryFilters, sort: Order): ContactTouchpointHistory
83
+ contactTouchpointHistory(
84
+ email: String!, filters: ContactTouchpointHistoryFilters, sort: Order, includeWatchEvents: Boolean
85
+ ): ContactTouchpointHistory
81
86
  accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
82
87
  }
83
88
 
@@ -105,6 +110,75 @@ response as an ISO8601 formatted string, without a time component.
105
110
  """
106
111
  scalar Date
107
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
+
108
182
  type LiveSeries {
109
183
  aggregate: LiveSeriesAggregate
110
184
  timeseries(granularity: Granularity!): [LiveSeriesDataPoint]
@@ -254,6 +328,8 @@ type Touchpoint {
254
328
  embedId: Int!
255
329
  type: String!
256
330
  startedAt: DateTime!
331
+ playsHistogram: [Int]
332
+ engagementRate: Float
257
333
  }
258
334
 
259
335
  input ContactTouchpointHistoryFilters {
@@ -512,6 +588,7 @@ type LiveStreamEvent {
512
588
  registrationRate: Float!
513
589
  attendanceRate: Float!
514
590
  engagementRate: Float!
591
+ durationEstimated: Boolean!
515
592
  chats: Int!
516
593
  qaQuestions: Int!
517
594
  }
@@ -524,6 +601,7 @@ type LiveStreamEventAccountAggregate {
524
601
  uniqueRegistrations: Int!
525
602
  attendees: Int!
526
603
  engagedAttendees: Int!
604
+ durationEstimated: Boolean!
527
605
  chatParticipants: Int!
528
606
  playedTime: Int!
529
607
  uniquePlayedTime: Int!
@@ -600,6 +678,7 @@ type LiveStreamEventAggregate {
600
678
  attendance: Int
601
679
  onDemandPlays: Int
602
680
  engagementRate: Float
681
+ durationEstimated: Boolean!
603
682
  currentlyWatching: Int
604
683
  engagedAttendees: Int
605
684
  onDemandEngagementRate: Float
@@ -681,6 +760,7 @@ type LiveEventUtmContentAggregate {
681
760
  }
682
761
 
683
762
  type LiveEventContacts {
763
+ durationEstimated: Boolean!
684
764
  orderedEntriesResult(pagination: Pagination!): LiveEventContactAggregateResult
685
765
  }
686
766