@wistia/bottler-helpers 1.21.1 → 1.23.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 +85 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.21.1",
3
+ "version": "1.23.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -28,7 +28,7 @@ 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
31
+ contactTouchpointHistory(email: String!, filters: ContactTouchpointHistoryFilters, sort: Order): ContactTouchpointHistory
32
32
  accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
33
33
  }
34
34
 
@@ -56,6 +56,7 @@ response as an ISO8601 formatted string, without a time component.
56
56
  scalar Date
57
57
 
58
58
  enum BenchmarkMetric {
59
+ PLAYS
59
60
  CUMULATIVE_PLAYS
60
61
  }
61
62
 
@@ -65,6 +66,7 @@ type BenchmarkPercentiles {
65
66
  p75: Float!
66
67
  p95: Float!
67
68
  p99: Float!
69
+ sampleSize: Int!
68
70
  }
69
71
 
70
72
  type AccountBenchmarkEntry {
@@ -256,6 +258,50 @@ type MediaUtmMediumAggregate {
256
258
  ctaConversionRate: Float
257
259
  }
258
260
 
261
+ type MediaUtmTermAggregate {
262
+ accountKey: String
263
+ accountName: String
264
+ containerGlobalId: String
265
+ containerHashedId: String
266
+ containerName: String
267
+ episodeHashedId: String
268
+ episodeGlobalId: String
269
+ episodeTitle: String
270
+ mediaHashedId: String
271
+ mediaGlobalId: String
272
+ mediaName: String
273
+ utmTerm: String
274
+ plays: Int
275
+ playRate: Float
276
+ engagementRate: Float
277
+ playedTime: Int
278
+ loads: Int
279
+ uniqueVisitors: Int
280
+ ctaConversionRate: Float
281
+ }
282
+
283
+ type MediaUtmContentAggregate {
284
+ accountKey: String
285
+ accountName: String
286
+ containerGlobalId: String
287
+ containerHashedId: String
288
+ containerName: String
289
+ episodeHashedId: String
290
+ episodeGlobalId: String
291
+ episodeTitle: String
292
+ mediaHashedId: String
293
+ mediaGlobalId: String
294
+ mediaName: String
295
+ utmContent: String
296
+ plays: Int
297
+ playRate: Float
298
+ engagementRate: Float
299
+ playedTime: Int
300
+ loads: Int
301
+ uniqueVisitors: Int
302
+ ctaConversionRate: Float
303
+ }
304
+
259
305
  type LiveEvent {
260
306
  aggregate(includePostEvent: Boolean, interval: Interval, postEventInterval: Interval, preEventInterval: Interval): LiveStreamEventAggregate
261
307
  timeseries(
@@ -266,6 +312,8 @@ type LiveEvent {
266
312
  utmCampaignRegistrations(orderBy: TrafficMetric!, order: Order!): [LiveEventUtmCampaignAggregate]
267
313
  utmSourceRegistrations(orderBy: TrafficMetric!, order: Order!): [LiveEventUtmSourceAggregate]
268
314
  utmMediumRegistrations(orderBy: TrafficMetric!, order: Order!): [LiveEventUtmMediumAggregate]
315
+ utmTermRegistrations(orderBy: TrafficMetric!, order: Order!): [LiveEventUtmTermAggregate]
316
+ utmContentRegistrations(orderBy: TrafficMetric!, order: Order!): [LiveEventUtmContentAggregate]
269
317
  liveStreamEventSegments: [LiveStreamEventSegment]
270
318
  }
271
319
 
@@ -441,6 +489,26 @@ type LiveEventUtmMediumAggregate {
441
489
  attendees: Int
442
490
  }
443
491
 
492
+ type LiveEventUtmTermAggregate {
493
+ accountKey: String
494
+ accountName: String
495
+ liveStreamEventId: Int
496
+ utmTerm: String
497
+ impressions: Int
498
+ registrations: Int
499
+ attendees: Int
500
+ }
501
+
502
+ type LiveEventUtmContentAggregate {
503
+ accountKey: String
504
+ accountName: String
505
+ liveStreamEventId: Int
506
+ utmContent: String
507
+ impressions: Int
508
+ registrations: Int
509
+ attendees: Int
510
+ }
511
+
444
512
  type LiveEventContacts {
445
513
  orderedEntriesResult(pagination: Pagination!): LiveEventContactAggregateResult
446
514
  }
@@ -460,6 +528,15 @@ type QuestionDatum {
460
528
  qaQuestions: [QuestionItem!]!
461
529
  }
462
530
 
531
+ type ClickedAnnotation {
532
+ annotationId: Int!
533
+ clickCount: Int!
534
+ link: String
535
+ text: String
536
+ eventTimestamp: Int
537
+ duration: Int
538
+ }
539
+
463
540
  type LiveEventContactAggregate {
464
541
  visitorKey: String
465
542
  accountId: Int
@@ -483,6 +560,8 @@ type LiveEventContactAggregate {
483
560
  utmCampaign: String
484
561
  utmSource: String
485
562
  utmMedium: String
563
+ utmContent: String
564
+ utmTerm: String
486
565
  referrerDomain: String
487
566
  ipRegion: String
488
567
  ipCountry: String
@@ -499,6 +578,7 @@ type LiveEventContactAggregate {
499
578
  chatCount: Int
500
579
  chats: [ChatDatum!]!
501
580
  annotationClickCount: Int
581
+ clickedAnnotations: [ClickedAnnotation!]!
502
582
  attendeeHistogram: [Int]
503
583
  focusedAttendeeHistogram: [Int]
504
584
  contactRating: Int
@@ -644,6 +724,7 @@ type RelativeMediaAggregate {
644
724
  formConversions: Int
645
725
  cumulativePlays: Int
646
726
  cumulativePlayedTime: Int
727
+ rank: Float
647
728
  }
648
729
 
649
730
  type RelativeAccountAggregate {
@@ -701,6 +782,8 @@ enum MediaEventDimension {
701
782
  MEDIA_UTM_CAMPAIGN
702
783
  MEDIA_UTM_SOURCE
703
784
  MEDIA_UTM_MEDIUM
785
+ MEDIA_UTM_TERM
786
+ MEDIA_UTM_CONTENT
704
787
  }
705
788
 
706
789
  "A metric to order entries by"
@@ -828,7 +911,7 @@ type MediaEventDatapoint {
828
911
  entries: [MediaEventAggregate]
829
912
  }
830
913
 
831
- union MediaEventAggregate = AccountAggregate | ChannelAggregate | EpisodeAggregate | MediaAggregate | PodcastEpisodeAggregate | PodcastEpisodeApplicationAggregate | ProjectAggregate | AccountEmbedLocationAggregate | MediaEmbedLocationAggregate | MediaReferrerDomainAggregate | MediaEmbedLanguageAggregate | MediaViewerScreenSizeAggregate | MediaUtmCampaignAggregate | MediaUtmSourceAggregate | MediaUtmMediumAggregate
914
+ union MediaEventAggregate = AccountAggregate | ChannelAggregate | EpisodeAggregate | MediaAggregate | PodcastEpisodeAggregate | PodcastEpisodeApplicationAggregate | ProjectAggregate | AccountEmbedLocationAggregate | MediaEmbedLocationAggregate | MediaReferrerDomainAggregate | MediaEmbedLanguageAggregate | MediaViewerScreenSizeAggregate | MediaUtmCampaignAggregate | MediaUtmSourceAggregate | MediaUtmMediumAggregate | MediaUtmTermAggregate | MediaUtmContentAggregate
832
915
 
833
916
  type AggregateEntries {
834
917
  entries: [MediaEventAggregate]