OBJECT

NotificationMailbox

link GraphQL Schema definition

1type NotificationMailbox {
2
3# Special mailboxes like the default user and org mailbox have
4# ids matching the userId/applicationId
5id: ID!
6
7name: String!
8
9notifications(
10dateTimeFilter: [NotificationDateTimeFilter!],
11offset: Int,
12limit: Int,
13orderBy: NotificationDateTimeField,
14orderDirection: OrderDirection,
15flags: [NotificationFlag!],
16flagsMode: filterCombineOperator
17): NotificationList
18
19eventFilter: EventFilter
20
21notificationTemplate: String
22
23details: JSONData
24
25# The mailboxes can be paused and no new notification would be
26# posted until they are unpaused. This is different for silencing
27# the notifications from the UI
28paused: Boolean
29
30# Some frequently queried statistics from the Notifications field
31# so the clients don't have to page through to get that information
32lastReceiptDateTime: DateTime
33
34latestUpdateDate: DateTime
35
36totalCount: Int
37
38unreadCount: Int
39
40limit: Int
41
42unseenCount: Int
43
44}