@wistia/bottler-helpers 1.0.27 → 1.0.28

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 +65 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -76,6 +76,11 @@ type VisitorPollResponse {
76
76
  pollOptionText: String!
77
77
  }
78
78
 
79
+ type LivePollResponse {
80
+ pollQuestionText: String
81
+ pollOptionText: String
82
+ }
83
+
79
84
  type RelativeMediaAggregate {
80
85
  accountKey: String
81
86
  accountName: String
@@ -194,6 +199,11 @@ type LiveStreamEventAggregate {
194
199
 
195
200
  union RelativeMediaEventAggregateResult = RelativeAggregateEntries | AggregateError
196
201
 
202
+ type LiveEventContactAggregateEntries {
203
+ entries: [LiveEventContactAggregate]
204
+ pageInfo: PageInfo!
205
+ }
206
+
197
207
  "A metric to order traffic aggregates"
198
208
  enum TrafficMetric {
199
209
  IMPRESSIONS
@@ -395,6 +405,8 @@ type LiveEventDataPoint {
395
405
  entries: [LiveEventTimeseriesAggregate]
396
406
  }
397
407
 
408
+ union LiveEventContactAggregateResult = LiveEventContactAggregateEntries | AggregateError
409
+
398
410
  "An interval of time to aggregate metrics into datapoints"
399
411
  enum RelativePeriod {
400
412
  "1 week (7 days)"
@@ -415,10 +427,16 @@ type ChannelMetrics {
415
427
  plays: Int!
416
428
  }
417
429
 
430
+ type KeyValuePair {
431
+ key: String
432
+ value: String
433
+ }
434
+
418
435
  type RootMutationType {
419
436
  exportMedia(contactId: Int!, interval: Interval, searchFilter: SearchFilter, aggregate: ExportAggregate): ExportStatus
420
437
  exportRelativeMedia(contactId: Int!, relativePeriod: RelativePeriod!, searchFilter: SearchFilter): ExportStatus
421
438
  accountDigest(contactId: Int!, interval: Interval!, overrideEmail: String): AccountDigestStatus
439
+ liveExport(liveStreamEventId: Int!, type: LiveExportType!, contactId: Int!): ExportStatus
422
440
  }
423
441
 
424
442
  type Channel {
@@ -465,8 +483,10 @@ type RootQueryType {
465
483
  liveEvent(liveStreamEventId: Int!, includePostEvent: Boolean): LiveEvent
466
484
  liveStreamEvents(limit: Int, interval: Interval, orderBy: LiveStreamEventOrderMetric, order: Order): [LiveStreamEvent!]!
467
485
  liveStreamEventsAccountAggregate(limit: Int, interval: Interval): LiveStreamEventAccountAggregate!
486
+ liveEventContacts(liveStreamEventId: Int!): LiveEventContacts
468
487
  mediaFormConversions(mediaGlobalId: String!, interval: Interval!, pagination: Pagination): MediaFormAggregateResult
469
488
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
489
+ exportStatus(exportId: Int!): ExportStatus
470
490
  }
471
491
 
472
492
  type MediaReferrerDomainAggregate {
@@ -756,6 +776,11 @@ type LiveEventUtmSourceAggregate {
756
776
  attendees: Int
757
777
  }
758
778
 
779
+ "The type of live export"
780
+ enum LiveExportType {
781
+ LIVE_VISITOR_POLL_RESPONSE
782
+ }
783
+
759
784
  union RelativeAggregate = RelativeAccountAggregate
760
785
 
761
786
  type MediaAggregate {
@@ -819,6 +844,40 @@ type MediaUtmSourceAggregate {
819
844
  ctaConversionRate: Float
820
845
  }
821
846
 
847
+ type LiveEventContactAggregate {
848
+ visitorKey: String
849
+ accountId: Int
850
+ liveStreamEventId: Int
851
+ mediaId: Int
852
+ uniqueId: String
853
+ firstName: String
854
+ lastName: String
855
+ email: String
856
+ phoneNumber: String
857
+ company: String
858
+ jobTitle: String
859
+ country: String
860
+ formFieldData: [KeyValuePair!]!
861
+ registeredAt: DateTime
862
+ attendedAt: DateTime
863
+ attendanceStatus: String
864
+ utmCampaign: String
865
+ utmSource: String
866
+ utmMedium: String
867
+ referrerDomain: String
868
+ ipRegion: String
869
+ ipCountry: String
870
+ ipCity: String
871
+ qaAnswers: Int
872
+ engagementRate: Float
873
+ focusedRate: Float
874
+ playedTime: Int
875
+ focusedPlayedTime: Int
876
+ pollResponses: [LivePollResponse]
877
+ chatCount: Int
878
+ annotationClickCount: Int
879
+ }
880
+
822
881
  "Type of export aggregate"
823
882
  enum ExportAggregate {
824
883
  MEDIA
@@ -872,8 +931,14 @@ type MediaEvents {
872
931
  }
873
932
 
874
933
  type ExportStatus {
934
+ exportId: Int
875
935
  name: String!
876
936
  status: String!
937
+ url: String
938
+ }
939
+
940
+ type LiveEventContacts {
941
+ orderedEntriesResult(pagination: Pagination!): LiveEventContactAggregateResult
877
942
  }
878
943
 
879
944
  type Medias {