@wistia/bottler-helpers 1.20.0 → 1.21.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 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -29,6 +29,7 @@ type RootQueryType {
29
29
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
30
30
  exportStatus(exportId: Int!): ExportStatus
31
31
  contactTouchpointHistory(email: String!, filters: ContactTouchpointHistoryFilters): ContactTouchpointHistory
32
+ accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
32
33
  }
33
34
 
34
35
  type RootMutationType {
@@ -54,6 +55,27 @@ response as an ISO8601 formatted string, without a time component.
54
55
  """
55
56
  scalar Date
56
57
 
58
+ enum BenchmarkMetric {
59
+ CUMULATIVE_PLAYS
60
+ }
61
+
62
+ type BenchmarkPercentiles {
63
+ p25: Float!
64
+ p50: Float!
65
+ p75: Float!
66
+ p95: Float!
67
+ p99: Float!
68
+ }
69
+
70
+ type AccountBenchmarkEntry {
71
+ day: Int!
72
+ percentiles: BenchmarkPercentiles!
73
+ }
74
+
75
+ type AccountMediaBenchmark {
76
+ entries: [AccountBenchmarkEntry]!
77
+ }
78
+
57
79
  type ContactTouchpointHistory {
58
80
  email: String!
59
81
  events: [Touchpoint!]!
@@ -465,6 +487,7 @@ type LiveEventContactAggregate {
465
487
  ipRegion: String
466
488
  ipCountry: String
467
489
  ipCity: String
490
+ touchpointCount: Int
468
491
  qaQuestions: [QuestionDatum!]!
469
492
  qaAnswers: Int
470
493
  engagementRate: Float
@@ -720,6 +743,7 @@ enum ExportAggregate {
720
743
  "A field to filter entries by"
721
744
  enum FilterDimension {
722
745
  EMBED_DOMAIN
746
+ EMBED_PATH
723
747
  }
724
748
 
725
749
  "Operation to perform on filter"