@wistia/bottler-helpers 1.17.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 +46 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.17.0",
3
+ "version": "1.21.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -28,6 +28,8 @@ type RootQueryType {
28
28
  mediaFormConversions(mediaGlobalId: String!, interval: Interval!, pagination: Pagination): MediaFormAggregateResult
29
29
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
30
30
  exportStatus(exportId: Int!): ExportStatus
31
+ contactTouchpointHistory(email: String!, filters: ContactTouchpointHistoryFilters): ContactTouchpointHistory
32
+ accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
31
33
  }
32
34
 
33
35
  type RootMutationType {
@@ -53,6 +55,46 @@ response as an ISO8601 formatted string, without a time component.
53
55
  """
54
56
  scalar Date
55
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
+
79
+ type ContactTouchpointHistory {
80
+ email: String!
81
+ events: [Touchpoint!]!
82
+ }
83
+
84
+ type Touchpoint {
85
+ embedType: String!
86
+ embedId: Int!
87
+ type: String!
88
+ startedAt: DateTime!
89
+ }
90
+
91
+ input ContactTouchpointHistoryFilters {
92
+ embedType: String
93
+ eventTypes: [String]
94
+ startDate: Date
95
+ endDate: Date
96
+ }
97
+
56
98
  type MediaEmbedLanguageAggregate {
57
99
  mediaGlobalId: String
58
100
  plays: Int
@@ -445,6 +487,7 @@ type LiveEventContactAggregate {
445
487
  ipRegion: String
446
488
  ipCountry: String
447
489
  ipCity: String
490
+ touchpointCount: Int
448
491
  qaQuestions: [QuestionDatum!]!
449
492
  qaAnswers: Int
450
493
  engagementRate: Float
@@ -458,6 +501,7 @@ type LiveEventContactAggregate {
458
501
  annotationClickCount: Int
459
502
  attendeeHistogram: [Int]
460
503
  focusedAttendeeHistogram: [Int]
504
+ contactRating: Int
461
505
  }
462
506
 
463
507
  type LivePollResponse {
@@ -699,6 +743,7 @@ enum ExportAggregate {
699
743
  "A field to filter entries by"
700
744
  enum FilterDimension {
701
745
  EMBED_DOMAIN
746
+ EMBED_PATH
702
747
  }
703
748
 
704
749
  "Operation to perform on filter"
@@ -962,7 +1007,7 @@ type MediaFormAggregate {
962
1007
  lastName: String
963
1008
  email: String!
964
1009
  convertedAt: DateTime!
965
- wistiaLeadType: WistiaLeadType!
1010
+ wistiaLeadType: WistiaLeadType
966
1011
  }
967
1012
 
968
1013
  type AggregateError {