@wistia/bottler-helpers 2.5.0 → 2.7.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 +24 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "2.5.0",
3
+ "version": "2.7.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
@@ -456,11 +471,19 @@ type AudienceCompanies {
456
471
  }
457
472
 
458
473
  type AudienceCompany {
459
- id: Int!
474
+ "Always null: companies are derived from email domains"
475
+ id: Int
476
+
477
+ domain: String!
478
+
460
479
  name: String
480
+
461
481
  website: String
482
+
462
483
  contactCount: Int!
484
+
463
485
  touchpointCount: Int!
486
+
464
487
  latestTouchpointAt: DateTime!
465
488
  }
466
489