@wistia/bottler-helpers 1.36.0 → 1.43.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 +94 -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.43.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -75,9 +75,15 @@ 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
81
+ mediaAudienceAggregate(mediaGlobalId: String!, interval: Interval!): MediaAudienceAggregate
78
82
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
79
83
  exportStatus(exportId: Int!): ExportStatus
80
- contactTouchpointHistory(email: String!, filters: ContactTouchpointHistoryFilters, sort: Order): ContactTouchpointHistory
84
+ contactTouchpointHistory(
85
+ email: String!, filters: ContactTouchpointHistoryFilters, sort: Order, includeWatchEvents: Boolean
86
+ ): ContactTouchpointHistory
81
87
  accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
82
88
  }
83
89
 
@@ -105,6 +111,87 @@ response as an ISO8601 formatted string, without a time component.
105
111
  """
106
112
  scalar Date
107
113
 
114
+ "A field to order audience viewers by"
115
+ enum MediaAudienceSortField {
116
+ LAST_VIEWED_AT
117
+ UNIQUE_PLAYED_TIME
118
+ UNIQUE_PLAYS
119
+ PLAYS
120
+ PLAYED_TIME
121
+ SESSION_COUNT
122
+ VIEWER_ID
123
+ EMBED_URL
124
+ REFERRER_DOMAIN
125
+ IP_CITY
126
+ IP_REGION
127
+ IP_COUNTRY_CODE
128
+ UTM_CAMPAIGN
129
+ UTM_SOURCE
130
+ UTM_MEDIUM
131
+ UTM_CONTENT
132
+ UTM_TERM
133
+ }
134
+
135
+ input OffsetPagination {
136
+ limit: Int!
137
+ offset: Int
138
+ }
139
+
140
+ type OffsetPageInfo {
141
+ limit: Int!
142
+ offset: Int!
143
+ hasNextPage: Boolean!
144
+ hasPreviousPage: Boolean!
145
+ }
146
+
147
+ type MediaAudienceWithAnonymousResult {
148
+ pageInfo: OffsetPageInfo!
149
+ entries: [MediaAudienceViewer]
150
+ }
151
+
152
+ type MediaAudienceAggregate {
153
+ uniqueViewers: Int!
154
+ knownViewers: Int!
155
+ anonymousViewers: Int!
156
+ }
157
+
158
+ type MediaAudienceViewer {
159
+ id: String!
160
+ uniqueId: String
161
+ visitorKey: String
162
+ email: String
163
+ firstName: String
164
+ lastName: String
165
+ company: String
166
+ jobTitle: String
167
+ phoneNumber: String
168
+ embedUrl: String
169
+ city: String
170
+ region: String
171
+ country: String
172
+ ipCity: String
173
+ ipRegion: String
174
+ ipCountryCode: String
175
+ referrerDomain: String
176
+ utmCampaign: String
177
+ utmSource: String
178
+ utmMedium: String
179
+ utmContent: String
180
+ utmTerm: String
181
+ playsHistogram: [Int]
182
+ engagementRate: Float
183
+ plays: Int
184
+ uniquePlays: Int
185
+ playedTime: Float
186
+ uniquePlayedTime: Float
187
+ sessionCount: Int
188
+ lastViewedAt: DateTime
189
+ submittedAt: DateTime
190
+ touchpointCount: Int
191
+ formFieldData: [FormFieldResponse!]!
192
+ conversionEvents: [MediaConversionEvent!]!
193
+ }
194
+
108
195
  type LiveSeries {
109
196
  aggregate: LiveSeriesAggregate
110
197
  timeseries(granularity: Granularity!): [LiveSeriesDataPoint]
@@ -254,6 +341,8 @@ type Touchpoint {
254
341
  embedId: Int!
255
342
  type: String!
256
343
  startedAt: DateTime!
344
+ playsHistogram: [Int]
345
+ engagementRate: Float
257
346
  }
258
347
 
259
348
  input ContactTouchpointHistoryFilters {
@@ -512,6 +601,7 @@ type LiveStreamEvent {
512
601
  registrationRate: Float!
513
602
  attendanceRate: Float!
514
603
  engagementRate: Float!
604
+ durationEstimated: Boolean!
515
605
  chats: Int!
516
606
  qaQuestions: Int!
517
607
  }
@@ -524,6 +614,7 @@ type LiveStreamEventAccountAggregate {
524
614
  uniqueRegistrations: Int!
525
615
  attendees: Int!
526
616
  engagedAttendees: Int!
617
+ durationEstimated: Boolean!
527
618
  chatParticipants: Int!
528
619
  playedTime: Int!
529
620
  uniquePlayedTime: Int!
@@ -600,6 +691,7 @@ type LiveStreamEventAggregate {
600
691
  attendance: Int
601
692
  onDemandPlays: Int
602
693
  engagementRate: Float
694
+ durationEstimated: Boolean!
603
695
  currentlyWatching: Int
604
696
  engagedAttendees: Int
605
697
  onDemandEngagementRate: Float
@@ -681,6 +773,7 @@ type LiveEventUtmContentAggregate {
681
773
  }
682
774
 
683
775
  type LiveEventContacts {
776
+ durationEstimated: Boolean!
684
777
  orderedEntriesResult(pagination: Pagination!): LiveEventContactAggregateResult
685
778
  }
686
779