@wistia/bottler-helpers 1.0.26 → 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 +67 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.0.26",
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
@@ -97,6 +102,8 @@ type RelativeMediaAggregate {
97
102
  episodeUploadedAt: DateTime
98
103
  episodeDeletedAt: DateTime
99
104
  episodePublishedAt: DateTime
105
+ startDate: Date!
106
+ endDate: Date!
100
107
  liveStreamEventId: Int
101
108
  containerIsPodcastEnabled: Boolean
102
109
  loads: Int
@@ -192,6 +199,11 @@ type LiveStreamEventAggregate {
192
199
 
193
200
  union RelativeMediaEventAggregateResult = RelativeAggregateEntries | AggregateError
194
201
 
202
+ type LiveEventContactAggregateEntries {
203
+ entries: [LiveEventContactAggregate]
204
+ pageInfo: PageInfo!
205
+ }
206
+
195
207
  "A metric to order traffic aggregates"
196
208
  enum TrafficMetric {
197
209
  IMPRESSIONS
@@ -393,6 +405,8 @@ type LiveEventDataPoint {
393
405
  entries: [LiveEventTimeseriesAggregate]
394
406
  }
395
407
 
408
+ union LiveEventContactAggregateResult = LiveEventContactAggregateEntries | AggregateError
409
+
396
410
  "An interval of time to aggregate metrics into datapoints"
397
411
  enum RelativePeriod {
398
412
  "1 week (7 days)"
@@ -413,10 +427,16 @@ type ChannelMetrics {
413
427
  plays: Int!
414
428
  }
415
429
 
430
+ type KeyValuePair {
431
+ key: String
432
+ value: String
433
+ }
434
+
416
435
  type RootMutationType {
417
436
  exportMedia(contactId: Int!, interval: Interval, searchFilter: SearchFilter, aggregate: ExportAggregate): ExportStatus
418
437
  exportRelativeMedia(contactId: Int!, relativePeriod: RelativePeriod!, searchFilter: SearchFilter): ExportStatus
419
438
  accountDigest(contactId: Int!, interval: Interval!, overrideEmail: String): AccountDigestStatus
439
+ liveExport(liveStreamEventId: Int!, type: LiveExportType!, contactId: Int!): ExportStatus
420
440
  }
421
441
 
422
442
  type Channel {
@@ -463,8 +483,10 @@ type RootQueryType {
463
483
  liveEvent(liveStreamEventId: Int!, includePostEvent: Boolean): LiveEvent
464
484
  liveStreamEvents(limit: Int, interval: Interval, orderBy: LiveStreamEventOrderMetric, order: Order): [LiveStreamEvent!]!
465
485
  liveStreamEventsAccountAggregate(limit: Int, interval: Interval): LiveStreamEventAccountAggregate!
486
+ liveEventContacts(liveStreamEventId: Int!): LiveEventContacts
466
487
  mediaFormConversions(mediaGlobalId: String!, interval: Interval!, pagination: Pagination): MediaFormAggregateResult
467
488
  relativeMediaEvents(relativePeriod: RelativePeriod!, searchFilter: SearchFilter): RelativeMediaEvents
489
+ exportStatus(exportId: Int!): ExportStatus
468
490
  }
469
491
 
470
492
  type MediaReferrerDomainAggregate {
@@ -754,6 +776,11 @@ type LiveEventUtmSourceAggregate {
754
776
  attendees: Int
755
777
  }
756
778
 
779
+ "The type of live export"
780
+ enum LiveExportType {
781
+ LIVE_VISITOR_POLL_RESPONSE
782
+ }
783
+
757
784
  union RelativeAggregate = RelativeAccountAggregate
758
785
 
759
786
  type MediaAggregate {
@@ -817,6 +844,40 @@ type MediaUtmSourceAggregate {
817
844
  ctaConversionRate: Float
818
845
  }
819
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
+
820
881
  "Type of export aggregate"
821
882
  enum ExportAggregate {
822
883
  MEDIA
@@ -870,8 +931,14 @@ type MediaEvents {
870
931
  }
871
932
 
872
933
  type ExportStatus {
934
+ exportId: Int
873
935
  name: String!
874
936
  status: String!
937
+ url: String
938
+ }
939
+
940
+ type LiveEventContacts {
941
+ orderedEntriesResult(pagination: Pagination!): LiveEventContactAggregateResult
875
942
  }
876
943
 
877
944
  type Medias {