@wistia/bottler-helpers 2.3.0 → 2.5.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.
- package/package.json +1 -1
- package/schema.graphql +72 -0
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -88,6 +88,8 @@ type RootQueryType {
|
|
|
88
88
|
): ContactTouchpointHistory
|
|
89
89
|
anonymousTouchpointHistory(visitorKey: String!, filters: AnonymousTouchpointHistoryFilters, sort: Order, limit: Int): AnonymousTouchpointHistory
|
|
90
90
|
audienceActivity(interval: Interval!, limit: Int!): AudienceActivity
|
|
91
|
+
audience(interval: Interval!): Audience
|
|
92
|
+
accountAudienceViewers(interval: Interval!): AudienceViewers
|
|
91
93
|
accountMediaBenchmark(contentType: String!, metric: BenchmarkMetric!, days: Int): AccountMediaBenchmark
|
|
92
94
|
}
|
|
93
95
|
|
|
@@ -397,6 +399,76 @@ type AccountMediaBenchmark {
|
|
|
397
399
|
entries: [AccountBenchmarkEntry]!
|
|
398
400
|
}
|
|
399
401
|
|
|
402
|
+
type AudienceViewers {
|
|
403
|
+
aggregate: AudienceViewerAggregate
|
|
404
|
+
timeseries: [AudienceViewerDataPoint!]
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
type AudienceViewerAggregate {
|
|
408
|
+
identifiedViewers: Int!
|
|
409
|
+
anonymousViewers: Int!
|
|
410
|
+
uniqueViewers: Int!
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
type AudienceViewerDataPoint {
|
|
414
|
+
date: Date!
|
|
415
|
+
identifiedViewers: Int!
|
|
416
|
+
anonymousViewers: Int!
|
|
417
|
+
uniqueViewers: Int!
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
"Which key orders the audience contacts"
|
|
421
|
+
enum AudienceContactSortField {
|
|
422
|
+
TOUCHPOINT_COUNT
|
|
423
|
+
LATEST_ACTIVITY
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
type Audience {
|
|
427
|
+
contacts(pagination: OffsetPagination, orderBy: AudienceContactSortField, order: Order, search: String): AudienceContacts!
|
|
428
|
+
companies(pagination: OffsetPagination): AudienceCompanies!
|
|
429
|
+
touchpointCounts: [TouchpointTypeCount!]!
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
type AudienceContacts {
|
|
433
|
+
pageInfo: OffsetPageInfo!
|
|
434
|
+
totalCount: Int!
|
|
435
|
+
entries: [AudienceContact!]!
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
type AudienceContact {
|
|
439
|
+
uniqueId: String!
|
|
440
|
+
email: String
|
|
441
|
+
firstName: String
|
|
442
|
+
lastName: String
|
|
443
|
+
jobTitle: String
|
|
444
|
+
company: String
|
|
445
|
+
companyId: Int
|
|
446
|
+
firstIdentifiedAt: DateTime
|
|
447
|
+
touchpointCount: Int!
|
|
448
|
+
latestTouchpointAt: DateTime!
|
|
449
|
+
touchpoints: [Touchpoint!]!
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
type AudienceCompanies {
|
|
453
|
+
pageInfo: OffsetPageInfo!
|
|
454
|
+
totalCount: Int!
|
|
455
|
+
entries: [AudienceCompany!]!
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
type AudienceCompany {
|
|
459
|
+
id: Int!
|
|
460
|
+
name: String
|
|
461
|
+
website: String
|
|
462
|
+
contactCount: Int!
|
|
463
|
+
touchpointCount: Int!
|
|
464
|
+
latestTouchpointAt: DateTime!
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
type TouchpointTypeCount {
|
|
468
|
+
type: String!
|
|
469
|
+
count: Int!
|
|
470
|
+
}
|
|
471
|
+
|
|
400
472
|
type AudienceActivity {
|
|
401
473
|
contacts: [AudienceActivityContact!]!
|
|
402
474
|
}
|