@wistia/bottler-helpers 2.2.0 → 2.4.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.
- package/package.json +1 -1
- package/schema.graphql +60 -0
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -76,6 +76,7 @@ type RootQueryType {
|
|
|
76
76
|
liveEventContacts(liveStreamEventId: Int!, filters: LiveFilters): LiveEventContacts
|
|
77
77
|
mediaFormConversions(mediaGlobalId: String!, interval: Interval!, pagination: Pagination): MediaFormAggregateResult
|
|
78
78
|
mediaAudience(mediaGlobalId: String!, interval: Interval!, pagination: Pagination, search: String): MediaAudienceResult
|
|
79
|
+
mediaEngagement(mediaGlobalId: String!, interval: Interval!): MediaEngagementResult
|
|
79
80
|
mediaAudienceWithAnonymous(
|
|
80
81
|
mediaGlobalId: String!, interval: Interval!, pagination: OffsetPagination, orderBy: MediaAudienceSortField, order: Order, filters: MediaAudienceFilters
|
|
81
82
|
): MediaAudienceWithAnonymousResult
|
|
@@ -87,6 +88,7 @@ type RootQueryType {
|
|
|
87
88
|
): ContactTouchpointHistory
|
|
88
89
|
anonymousTouchpointHistory(visitorKey: String!, filters: AnonymousTouchpointHistoryFilters, sort: Order, limit: Int): AnonymousTouchpointHistory
|
|
89
90
|
audienceActivity(interval: Interval!, limit: Int!): AudienceActivity
|
|
91
|
+
accountAudienceViewers(interval: Interval!): AudienceViewers
|
|
90
92
|
accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
|
|
91
93
|
}
|
|
92
94
|
|
|
@@ -114,6 +116,46 @@ response as an ISO8601 formatted string, without a time component.
|
|
|
114
116
|
"""
|
|
115
117
|
scalar Date
|
|
116
118
|
|
|
119
|
+
enum EngagementDimension {
|
|
120
|
+
VIEWER_SCREEN_SIZE
|
|
121
|
+
VIEWER_TYPE
|
|
122
|
+
REFERRER_DOMAIN
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
type EngagementSummary {
|
|
126
|
+
plays: Int!
|
|
127
|
+
uniqueViewers: Int!
|
|
128
|
+
playedTime: Int!
|
|
129
|
+
engagementRate: Float!
|
|
130
|
+
completionRate: Float!
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
type EngagementGroup {
|
|
134
|
+
value: String!
|
|
135
|
+
viewerShare: Float!
|
|
136
|
+
engagementRate: Float!
|
|
137
|
+
plays: Int!
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
type MediaInteraction {
|
|
141
|
+
key: String!
|
|
142
|
+
type: String!
|
|
143
|
+
time: Float
|
|
144
|
+
impressions: Int!
|
|
145
|
+
conversions: Int!
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
type MediaEngagement {
|
|
149
|
+
bucketCount: Int!
|
|
150
|
+
playsHistogram: [Int!]!
|
|
151
|
+
replayedHistogram: [Int!]!
|
|
152
|
+
summary: EngagementSummary!
|
|
153
|
+
groups(dimension: EngagementDimension!): [EngagementGroup!]!
|
|
154
|
+
interactions: [MediaInteraction!]!
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
union MediaEngagementResult = MediaEngagement | AggregateError
|
|
158
|
+
|
|
117
159
|
"Filters audience members by whether they resolved to a contact"
|
|
118
160
|
enum MediaAudienceViewerTypeFilter {
|
|
119
161
|
ALL
|
|
@@ -356,6 +398,24 @@ type AccountMediaBenchmark {
|
|
|
356
398
|
entries: [AccountBenchmarkEntry]!
|
|
357
399
|
}
|
|
358
400
|
|
|
401
|
+
type AudienceViewers {
|
|
402
|
+
aggregate: AudienceViewerAggregate
|
|
403
|
+
timeseries: [AudienceViewerDataPoint!]
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
type AudienceViewerAggregate {
|
|
407
|
+
identifiedViewers: Int!
|
|
408
|
+
anonymousViewers: Int!
|
|
409
|
+
uniqueViewers: Int!
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
type AudienceViewerDataPoint {
|
|
413
|
+
date: Date!
|
|
414
|
+
identifiedViewers: Int!
|
|
415
|
+
anonymousViewers: Int!
|
|
416
|
+
uniqueViewers: Int!
|
|
417
|
+
}
|
|
418
|
+
|
|
359
419
|
type AudienceActivity {
|
|
360
420
|
contacts: [AudienceActivityContact!]!
|
|
361
421
|
}
|