@wistia/bottler-helpers 2.5.0 → 2.6.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 +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -90,6 +90,7 @@ type RootQueryType {
90
90
  audienceActivity(interval: Interval!, limit: Int!): AudienceActivity
91
91
  audience(interval: Interval!): Audience
92
92
  accountAudienceViewers(interval: Interval!): AudienceViewers
93
+ accountAudienceNewContacts(interval: Interval!): AudienceNewContacts
93
94
  accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
94
95
  }
95
96
 
@@ -417,6 +418,20 @@ type AudienceViewerDataPoint {
417
418
  uniqueViewers: Int!
418
419
  }
419
420
 
421
+ type AudienceNewContacts {
422
+ aggregate: AudienceNewContactsAggregate
423
+ timeseries: [AudienceNewContactsDataPoint!]
424
+ }
425
+
426
+ type AudienceNewContactsAggregate {
427
+ newContacts: Int!
428
+ }
429
+
430
+ type AudienceNewContactsDataPoint {
431
+ date: Date!
432
+ newContacts: Int!
433
+ }
434
+
420
435
  "Which key orders the audience contacts"
421
436
  enum AudienceContactSortField {
422
437
  TOUCHPOINT_COUNT