@wistia/bottler-helpers 2.3.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema.graphql +19 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -88,6 +88,7 @@ type RootQueryType {
88
88
  ): ContactTouchpointHistory
89
89
  anonymousTouchpointHistory(visitorKey: String!, filters: AnonymousTouchpointHistoryFilters, sort: Order, limit: Int): AnonymousTouchpointHistory
90
90
  audienceActivity(interval: Interval!, limit: Int!): AudienceActivity
91
+ accountAudienceViewers(interval: Interval!): AudienceViewers
91
92
  accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
92
93
  }
93
94
 
@@ -397,6 +398,24 @@ type AccountMediaBenchmark {
397
398
  entries: [AccountBenchmarkEntry]!
398
399
  }
399
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
+
400
419
  type AudienceActivity {
401
420
  contacts: [AudienceActivityContact!]!
402
421
  }