@wistia/bottler-helpers 1.20.0 → 1.21.1

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 +27 -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.1",
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
@@ -557,6 +580,9 @@ enum RelativePeriod {
557
580
 
558
581
  "30 days"
559
582
  P30D
583
+
584
+ "90 days"
585
+ P90D
560
586
  }
561
587
 
562
588
  type RelativeMediaEvents {
@@ -720,6 +746,7 @@ enum ExportAggregate {
720
746
  "A field to filter entries by"
721
747
  enum FilterDimension {
722
748
  EMBED_DOMAIN
749
+ EMBED_PATH
723
750
  }
724
751
 
725
752
  "Operation to perform on filter"