@wistia/bottler-helpers 1.25.1 → 1.26.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 +23 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.25.1",
3
+ "version": "1.26.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -18,6 +18,7 @@ type RootQueryType {
18
18
  channelsCount: Int
19
19
  liveStreamEventsCount(interval: Interval): Int
20
20
  mediaEvents(interval: Interval, searchFilter: SearchFilter): MediaEvents
21
+ formEvents(interval: Interval, formFilter: FormFilter): FormEvents
21
22
  liveEvents(liveStreamEventIds: [Int]!, includePostEvent: Boolean): LiveEvents
22
23
  liveEvent(liveStreamEventId: Int!, includePostEvent: Boolean): LiveEvent
23
24
  liveStreamEvents(
@@ -55,6 +56,28 @@ response as an ISO8601 formatted string, without a time component.
55
56
  """
56
57
  scalar Date
57
58
 
59
+ input FormFilter {
60
+ contentIds: [String]
61
+ }
62
+
63
+ type FormEvents {
64
+ timeseries(granularity: Granularity!): [FormEventDatapoint]
65
+ }
66
+
67
+ type FormEventDatapoint {
68
+ timestamp: String
69
+ entries: [FormEventAggregate]
70
+ }
71
+
72
+ union FormEventAggregate = AccountFormAggregate
73
+
74
+ type AccountFormAggregate {
75
+ accountId: Int
76
+ impressions: Int
77
+ conversions: Int
78
+ conversionRate: Float
79
+ }
80
+
58
81
  enum BenchmarkMetric {
59
82
  PLAYS
60
83
  CUMULATIVE_PLAYS