@wistia/bottler-helpers 1.1.1 → 1.1.2

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 +34 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -32,7 +32,7 @@ type RootMutationType {
32
32
  exportMedia(contactId: Int!, interval: Interval, searchFilter: SearchFilter, aggregate: ExportAggregate): ExportStatus
33
33
  exportRelativeMedia(contactId: Int!, relativePeriod: RelativePeriod!, searchFilter: SearchFilter): ExportStatus
34
34
  accountDigest(contactId: Int!, interval: Interval!, overrideEmail: String): AccountDigestStatus
35
- liveExport(liveStreamEventId: Int!, type: LiveExportType!, contactId: Int!): ExportStatus
35
+ liveExport(liveStreamEventId: Int!, type: LiveExportType!, contactId: Int!, filters: LiveFilters): ExportStatus
36
36
  }
37
37
 
38
38
  """
@@ -211,6 +211,7 @@ type MediaUtmMediumAggregate {
211
211
  type LiveEvent {
212
212
  aggregate(includePostEvent: Boolean): LiveStreamEventAggregate
213
213
  timeseries(granularity: Granularity!): [LiveEventDataPoint]
214
+ currentAttendees: [Attendee]
214
215
  referrerDomainRegistrations(orderBy: TrafficMetric!, order: Order!): [LiveEventReferrerDomainAggregate]
215
216
  utmCampaignRegistrations(orderBy: TrafficMetric!, order: Order!): [LiveEventUtmCampaignAggregate]
216
217
  utmSourceRegistrations(orderBy: TrafficMetric!, order: Order!): [LiveEventUtmSourceAggregate]
@@ -300,6 +301,12 @@ type VisitorPollResponse {
300
301
  pollOptionText: String!
301
302
  }
302
303
 
304
+ type Attendee {
305
+ id: ID
306
+ name: String
307
+ email: String
308
+ }
309
+
303
310
  type LiveStreamEventAggregate {
304
311
  registrations: Int
305
312
  restrictedRegistrations: Int
@@ -389,6 +396,7 @@ type LiveEventContactAggregate {
389
396
  registeredAt: DateTime
390
397
  attendedAt: DateTime
391
398
  attendanceStatus: String
399
+ restrictionStatus: RestrictionStatus
392
400
  utmCampaign: String
393
401
  utmSource: String
394
402
  utmMedium: String
@@ -425,6 +433,31 @@ type LiveEventContactAggregateEntries {
425
433
 
426
434
  union LiveEventContactAggregateResult = LiveEventContactAggregateEntries | AggregateError
427
435
 
436
+ input LiveFilters {
437
+ attendance: AttendanceFilter
438
+ restriction: RestrictionStatusFilter
439
+ }
440
+
441
+ "Filters registrants by attendance status"
442
+ enum AttendanceFilter {
443
+ ALL
444
+ ATTENDEES
445
+ NON_ATTENDEES
446
+ }
447
+
448
+ "Filters registrants by restriction status"
449
+ enum RestrictionStatusFilter {
450
+ ALL
451
+ RESTRICTED
452
+ ALLOWED
453
+ }
454
+
455
+ "Declares a registrant's restriction status"
456
+ enum RestrictionStatus {
457
+ RESTRICTED
458
+ ALLOWED
459
+ }
460
+
428
461
  "A metric to order traffic aggregates"
429
462
  enum TrafficMetric {
430
463
  IMPRESSIONS