@wistia/bottler-helpers 1.29.2 → 1.30.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 +16 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.29.2",
3
+ "version": "1.30.0",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -31,8 +31,10 @@ type MediaAudienceEntry {
31
31
  referrerUrl: String
32
32
  referrerDomain: String
33
33
  utmCampaign: String
34
+ utmContent: String
34
35
  utmMedium: String
35
36
  utmSource: String
37
+ utmTerm: String
36
38
  touchpointCount: Int
37
39
  }
38
40
 
@@ -64,7 +66,7 @@ type RootQueryType {
64
66
 
65
67
  type RootMutationType {
66
68
  exportMedia(
67
- contactId: Int!, interval: Interval, searchFilter: SearchFilter, aggregate: ExportAggregate, shouldSkipEmailNotification: Boolean
69
+ contactId: Int!, interval: Interval, searchFilter: SearchFilter, search: String, mediaAudienceFilter: MediaAudienceExportFilter, aggregate: ExportAggregate, shouldSkipEmailNotification: Boolean
68
70
  ): ExportStatus
69
71
  exportRelativeMedia(contactId: Int!, relativePeriod: RelativePeriod!, searchFilter: SearchFilter): ExportStatus
70
72
  accountDigest(contactId: Int!, interval: Interval!, overrideEmail: String): AccountDigestStatus
@@ -881,6 +883,7 @@ enum ExportAggregate {
881
883
  CHANNEL_EPISODE
882
884
  PODCAST_EPISODE
883
885
  MEDIA_FORM_CONVERSION
886
+ MEDIA_AUDIENCE
884
887
  MEDIA_COMPARISON
885
888
  }
886
889
 
@@ -920,6 +923,13 @@ enum WistiaLeadType {
920
923
  UNKNOWN
921
924
  }
922
925
 
926
+ "Filter media audience exports by contact status"
927
+ enum MediaAudienceContactStatusFilter {
928
+ ALL
929
+ NEW
930
+ RETURNING
931
+ }
932
+
923
933
  "Which way to paginate from a cursor"
924
934
  enum CursorDirection {
925
935
  BEFORE
@@ -951,10 +961,14 @@ input Pagination {
951
961
  direction: CursorDirection
952
962
  }
953
963
 
964
+ input MediaAudienceExportFilter {
965
+ contactStatus: MediaAudienceContactStatusFilter
966
+ }
967
+
954
968
  type MediaEvents {
955
969
  aggregate(typeFilter: TypeFilter): MediaEventAggregate
956
970
  timeseries(
957
- for: MediaEventMetric!, over: MediaEventDimension!, granularity: Granularity!, typeFilter: TypeFilter, limit: Int
971
+ for: MediaEventMetric!, over: MediaEventDimension!, granularity: Granularity!, typeFilter: TypeFilter, limit: Int, filters: [Filter]
958
972
  ): [MediaEventDatapoint]
959
973
  orderedEntries(
960
974
  groupBy: MediaEventDimension!, orderBy: MediaEventMetric!, order: Order!, limit: Int!, excludeAggregatesWithoutStats: Boolean, filters: [Filter]