@burdenoff/microfe-notification 2026.424.101 → 2026.513.1
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/dist/components/NotificationCard.d.ts.map +1 -1
- package/dist/components/NotificationCard.js +62 -57
- package/dist/components/NotificationCard.js.map +1 -1
- package/dist/generated/global-operations.d.ts +556 -8
- package/dist/generated/global-operations.d.ts.map +1 -1
- package/dist/generated/global-operations.js +198 -155
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +2907 -153
- package/dist/generated/global-types.d.ts.map +1 -1
- package/dist/generated/wspace-types.d.ts +4521 -569
- package/dist/generated/wspace-types.d.ts.map +1 -1
- package/dist/graphql/global-client.d.ts.map +1 -1
- package/dist/graphql/global-client.js +41 -23
- package/dist/graphql/global-client.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/useNotificationAdmin.d.ts.map +1 -1
- package/dist/hooks/useNotificationPreferences.d.ts +12 -0
- package/dist/hooks/useNotificationPreferences.d.ts.map +1 -0
- package/dist/hooks/useNotificationPreferences.js +114 -0
- package/dist/hooks/useNotificationPreferences.js.map +1 -0
- package/dist/hooks/useNotifications.d.ts +6 -1
- package/dist/hooks/useNotifications.d.ts.map +1 -1
- package/dist/hooks/useNotifications.js +148 -99
- package/dist/hooks/useNotifications.js.map +1 -1
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +24 -0
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -0
- package/dist/node_modules/@apollo/client/errors/utils.js +16 -0
- package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +52 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js +41 -0
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js +34 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +6 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js +16 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js +19 -0
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +21 -0
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +17 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +8 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +8 -0
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +23 -0
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js +57 -0
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/version.js +6 -0
- package/dist/node_modules/@apollo/client/version.js.map +1 -0
- package/dist/node_modules/@wry/caches/lib/weak.js +67 -0
- package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -0
- package/dist/node_modules/@wry/trie/lib/index.js +53 -0
- package/dist/node_modules/@wry/trie/lib/index.js.map +1 -0
- package/dist/node_modules/graphql-ws/dist/client.js +272 -0
- package/dist/node_modules/graphql-ws/dist/client.js.map +1 -0
- package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js +62 -0
- package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +21 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +78 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +117 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +93 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js +12 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +9 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +16 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +13 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +11 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +22 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +13 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +14 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js +52 -0
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/pages/CreateNotificationPage.d.ts.map +1 -1
- package/dist/pages/CreateNotificationPage.js +449 -448
- package/dist/pages/CreateNotificationPage.js.map +1 -1
- package/dist/pages/NotificationCenterPage.d.ts.map +1 -1
- package/dist/pages/NotificationCenterPage.js +128 -123
- package/dist/pages/NotificationCenterPage.js.map +1 -1
- package/dist/pages/NotificationHistoryAdminPage.js +1 -1
- package/dist/pages/NotificationHistoryAdminPage.js.map +1 -1
- package/dist/pages/NotificationHistoryPage.d.ts.map +1 -1
- package/dist/pages/NotificationHistoryPage.js +35 -37
- package/dist/pages/NotificationHistoryPage.js.map +1 -1
- package/dist/pages/NotificationPreferencesPage.d.ts.map +1 -1
- package/dist/pages/NotificationPreferencesPage.js +224 -79
- package/dist/pages/NotificationPreferencesPage.js.map +1 -1
- package/dist/pages/NotificationTemplatesPage.d.ts.map +1 -1
- package/dist/pages/NotificationTemplatesPage.js +155 -141
- package/dist/pages/NotificationTemplatesPage.js.map +1 -1
- package/dist/providers/NotificationProvider.d.ts.map +1 -1
- package/dist/providers/NotificationProvider.js +6 -5
- package/dist/providers/NotificationProvider.js.map +1 -1
- package/dist/types/index.d.ts +36 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +5 -3
|
@@ -2,6 +2,127 @@ import { gql as e } from "@apollo/client";
|
|
|
2
2
|
import "@apollo/client/react";
|
|
3
3
|
//#region src/generated/global-operations.ts
|
|
4
4
|
var t = e`
|
|
5
|
+
fragment NotificationTopicSummaryFields on NotificationTopic {
|
|
6
|
+
id
|
|
7
|
+
name
|
|
8
|
+
slug
|
|
9
|
+
type
|
|
10
|
+
description
|
|
11
|
+
}
|
|
12
|
+
`, n = e`
|
|
13
|
+
fragment NotificationFields on Notification {
|
|
14
|
+
id
|
|
15
|
+
type
|
|
16
|
+
priority
|
|
17
|
+
title
|
|
18
|
+
message
|
|
19
|
+
channel
|
|
20
|
+
status
|
|
21
|
+
deliveryStatus
|
|
22
|
+
isRead
|
|
23
|
+
readAt
|
|
24
|
+
archivedAt
|
|
25
|
+
openedAt
|
|
26
|
+
clickedAt
|
|
27
|
+
deliveredAt
|
|
28
|
+
failedAt
|
|
29
|
+
sentAt
|
|
30
|
+
createdAt
|
|
31
|
+
updatedAt
|
|
32
|
+
redirectUrl
|
|
33
|
+
subject
|
|
34
|
+
htmlMessage
|
|
35
|
+
data
|
|
36
|
+
metadata
|
|
37
|
+
expiresAt
|
|
38
|
+
scheduledFor
|
|
39
|
+
templateId
|
|
40
|
+
templateVersion
|
|
41
|
+
appName
|
|
42
|
+
recipientEmail
|
|
43
|
+
recipientPhone
|
|
44
|
+
errorCode
|
|
45
|
+
errorMessage
|
|
46
|
+
userId
|
|
47
|
+
topicId
|
|
48
|
+
topic {
|
|
49
|
+
...NotificationTopicSummaryFields
|
|
50
|
+
}
|
|
51
|
+
actions {
|
|
52
|
+
...NotificationActionFields
|
|
53
|
+
}
|
|
54
|
+
media {
|
|
55
|
+
...NotificationMediaFields
|
|
56
|
+
}
|
|
57
|
+
scheduledNotification {
|
|
58
|
+
...ScheduledNotificationSummaryFields
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
${t}
|
|
62
|
+
${e`
|
|
63
|
+
fragment NotificationActionFields on NotificationAction {
|
|
64
|
+
id
|
|
65
|
+
label
|
|
66
|
+
url
|
|
67
|
+
style
|
|
68
|
+
actionType
|
|
69
|
+
metadata
|
|
70
|
+
}
|
|
71
|
+
`}
|
|
72
|
+
${e`
|
|
73
|
+
fragment NotificationMediaFields on NotificationMedia {
|
|
74
|
+
url
|
|
75
|
+
label
|
|
76
|
+
kind
|
|
77
|
+
contentType
|
|
78
|
+
thumbnailUrl
|
|
79
|
+
}
|
|
80
|
+
`}
|
|
81
|
+
${e`
|
|
82
|
+
fragment ScheduledNotificationSummaryFields on ScheduledNotification {
|
|
83
|
+
id
|
|
84
|
+
scheduledFor
|
|
85
|
+
status
|
|
86
|
+
timezone
|
|
87
|
+
retryCount
|
|
88
|
+
errorMessage
|
|
89
|
+
}
|
|
90
|
+
`}`, r = e`
|
|
91
|
+
fragment NotificationHistoryFields on NotificationHistory {
|
|
92
|
+
id
|
|
93
|
+
notificationId
|
|
94
|
+
eventType
|
|
95
|
+
deliveryStatus
|
|
96
|
+
channelServiceEventId
|
|
97
|
+
externalId
|
|
98
|
+
timestamp
|
|
99
|
+
details
|
|
100
|
+
metadata
|
|
101
|
+
createdAt
|
|
102
|
+
updatedAt
|
|
103
|
+
}
|
|
104
|
+
`, i = e`
|
|
105
|
+
fragment NotificationPreferenceFields on NotificationPreference {
|
|
106
|
+
id
|
|
107
|
+
userId
|
|
108
|
+
preferenceKey
|
|
109
|
+
scope
|
|
110
|
+
channel
|
|
111
|
+
type
|
|
112
|
+
topicId
|
|
113
|
+
enabled
|
|
114
|
+
frequency
|
|
115
|
+
quietHoursStart
|
|
116
|
+
quietHoursEnd
|
|
117
|
+
timezone
|
|
118
|
+
metadata
|
|
119
|
+
createdAt
|
|
120
|
+
updatedAt
|
|
121
|
+
topic {
|
|
122
|
+
...NotificationTopicSummaryFields
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
${t}`, a = e`
|
|
5
126
|
mutation ArchiveNotification($id: ID!) {
|
|
6
127
|
archiveNotification(id: $id) {
|
|
7
128
|
id
|
|
@@ -9,7 +130,7 @@ var t = e`
|
|
|
9
130
|
status
|
|
10
131
|
}
|
|
11
132
|
}
|
|
12
|
-
`,
|
|
133
|
+
`, o = e`
|
|
13
134
|
mutation ArchiveNotifications($notificationIds: [ID!]!) {
|
|
14
135
|
archiveNotifications(notificationIds: $notificationIds) {
|
|
15
136
|
success
|
|
@@ -17,11 +138,17 @@ var t = e`
|
|
|
17
138
|
failedIds
|
|
18
139
|
}
|
|
19
140
|
}
|
|
20
|
-
`,
|
|
141
|
+
`, s = e`
|
|
21
142
|
mutation CancelScheduledNotification($id: ID!) {
|
|
22
143
|
cancelScheduledNotification(id: $id)
|
|
23
144
|
}
|
|
24
|
-
`,
|
|
145
|
+
`, c = e`
|
|
146
|
+
mutation CreateNotificationPreference($input: CreateNotificationPreferenceInput!) {
|
|
147
|
+
createNotificationPreference(input: $input) {
|
|
148
|
+
...NotificationPreferenceFields
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
${i}`, l = e`
|
|
25
152
|
mutation CreateNotificationTemplate($input: CreateTemplateInput!) {
|
|
26
153
|
createNotificationTemplate(input: $input) {
|
|
27
154
|
id
|
|
@@ -42,7 +169,7 @@ var t = e`
|
|
|
42
169
|
metadata
|
|
43
170
|
}
|
|
44
171
|
}
|
|
45
|
-
`,
|
|
172
|
+
`, u = e`
|
|
46
173
|
mutation CreateNotificationTopic($input: CreateNotificationTopicInput!) {
|
|
47
174
|
createNotificationTopic(input: $input) {
|
|
48
175
|
id
|
|
@@ -61,11 +188,15 @@ e`
|
|
|
61
188
|
deleteNotification(id: $id)
|
|
62
189
|
}
|
|
63
190
|
`;
|
|
64
|
-
var
|
|
191
|
+
var d = e`
|
|
192
|
+
mutation DeleteNotificationPreference($id: ID!) {
|
|
193
|
+
deleteNotificationPreference(id: $id)
|
|
194
|
+
}
|
|
195
|
+
`, f = e`
|
|
65
196
|
mutation DeleteNotificationTemplate($id: ID!) {
|
|
66
197
|
deleteNotificationTemplate(id: $id)
|
|
67
198
|
}
|
|
68
|
-
`,
|
|
199
|
+
`, p = e`
|
|
69
200
|
mutation DeleteNotificationTopic($id: ID!) {
|
|
70
201
|
deleteNotificationTopic(id: $id)
|
|
71
202
|
}
|
|
@@ -75,7 +206,7 @@ e`
|
|
|
75
206
|
deleteNotifications(notificationIds: $notificationIds)
|
|
76
207
|
}
|
|
77
208
|
`;
|
|
78
|
-
var
|
|
209
|
+
var m = e`
|
|
79
210
|
mutation MarkAllMyNotificationsAsRead {
|
|
80
211
|
markAllMyNotificationsAsRead {
|
|
81
212
|
success
|
|
@@ -83,7 +214,7 @@ var c = e`
|
|
|
83
214
|
failedIds
|
|
84
215
|
}
|
|
85
216
|
}
|
|
86
|
-
`,
|
|
217
|
+
`, h = e`
|
|
87
218
|
mutation MarkNotificationAsRead($id: ID!) {
|
|
88
219
|
markNotificationAsRead(id: $id) {
|
|
89
220
|
id
|
|
@@ -102,7 +233,7 @@ e`
|
|
|
102
233
|
}
|
|
103
234
|
}
|
|
104
235
|
`;
|
|
105
|
-
var
|
|
236
|
+
var g = e`
|
|
106
237
|
mutation RecordNotificationAction($input: RecordNotificationActionInput!) {
|
|
107
238
|
recordNotificationAction(input: $input) {
|
|
108
239
|
id
|
|
@@ -111,7 +242,7 @@ var u = e`
|
|
|
111
242
|
status
|
|
112
243
|
}
|
|
113
244
|
}
|
|
114
|
-
`,
|
|
245
|
+
`, _ = e`
|
|
115
246
|
mutation RescheduleNotification($input: RescheduleNotificationInput!) {
|
|
116
247
|
rescheduleNotification(input: $input) {
|
|
117
248
|
id
|
|
@@ -121,7 +252,7 @@ var u = e`
|
|
|
121
252
|
retryCount
|
|
122
253
|
}
|
|
123
254
|
}
|
|
124
|
-
`,
|
|
255
|
+
`, v = e`
|
|
125
256
|
mutation SetNotificationTopicSubscription($input: SetNotificationTopicSubscriptionInput!) {
|
|
126
257
|
setNotificationTopicSubscription(input: $input) {
|
|
127
258
|
id
|
|
@@ -131,7 +262,7 @@ var u = e`
|
|
|
131
262
|
userId
|
|
132
263
|
}
|
|
133
264
|
}
|
|
134
|
-
`,
|
|
265
|
+
`, y = e`
|
|
135
266
|
mutation TriggerBatchNotifications($input: TriggerBatchNotificationsInput!) {
|
|
136
267
|
triggerBatchNotifications(input: $input) {
|
|
137
268
|
batchId
|
|
@@ -141,7 +272,7 @@ var u = e`
|
|
|
141
272
|
totalTriggered
|
|
142
273
|
}
|
|
143
274
|
}
|
|
144
|
-
`,
|
|
275
|
+
`, b = e`
|
|
145
276
|
mutation TriggerNotification($input: TriggerNotificationInput!) {
|
|
146
277
|
triggerNotification(input: $input) {
|
|
147
278
|
id
|
|
@@ -153,7 +284,7 @@ var u = e`
|
|
|
153
284
|
message
|
|
154
285
|
}
|
|
155
286
|
}
|
|
156
|
-
`,
|
|
287
|
+
`, x = e`
|
|
157
288
|
mutation TriggerNotificationWithTemplate($input: TriggerNotificationWithTemplateInput!) {
|
|
158
289
|
triggerNotificationWithTemplate(input: $input) {
|
|
159
290
|
totalRequested
|
|
@@ -168,7 +299,7 @@ var u = e`
|
|
|
168
299
|
}
|
|
169
300
|
}
|
|
170
301
|
}
|
|
171
|
-
`,
|
|
302
|
+
`, S = e`
|
|
172
303
|
mutation UnarchiveNotification($id: ID!) {
|
|
173
304
|
unarchiveNotification(id: $id) {
|
|
174
305
|
id
|
|
@@ -176,7 +307,13 @@ var u = e`
|
|
|
176
307
|
status
|
|
177
308
|
}
|
|
178
309
|
}
|
|
179
|
-
`,
|
|
310
|
+
`, C = e`
|
|
311
|
+
mutation UpdateNotificationPreference($id: ID!, $input: UpdateNotificationPreferenceInput!) {
|
|
312
|
+
updateNotificationPreference(id: $id, input: $input) {
|
|
313
|
+
...NotificationPreferenceFields
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
${i}`, w = e`
|
|
180
317
|
mutation UpdateNotificationTemplate($id: ID!, $input: UpdateTemplateInput!) {
|
|
181
318
|
updateNotificationTemplate(id: $id, input: $input) {
|
|
182
319
|
id
|
|
@@ -197,7 +334,7 @@ var u = e`
|
|
|
197
334
|
metadata
|
|
198
335
|
}
|
|
199
336
|
}
|
|
200
|
-
`,
|
|
337
|
+
`, T = e`
|
|
201
338
|
mutation UpdateNotificationTopic($id: ID!, $input: UpdateNotificationTopicInput!) {
|
|
202
339
|
updateNotificationTopic(id: $id, input: $input) {
|
|
203
340
|
id
|
|
@@ -210,77 +347,14 @@ var u = e`
|
|
|
210
347
|
updatedAt
|
|
211
348
|
}
|
|
212
349
|
}
|
|
213
|
-
`,
|
|
350
|
+
`, E = e`
|
|
214
351
|
query GetMyUnreadNotificationCount($filter: NotificationFilterInput) {
|
|
215
352
|
myUnreadNotificationCount(filter: $filter)
|
|
216
353
|
}
|
|
217
|
-
`,
|
|
354
|
+
`, D = e`
|
|
218
355
|
query GetNotification($id: ID!) {
|
|
219
356
|
notification(id: $id) {
|
|
220
|
-
|
|
221
|
-
type
|
|
222
|
-
priority
|
|
223
|
-
title
|
|
224
|
-
message
|
|
225
|
-
channel
|
|
226
|
-
status
|
|
227
|
-
deliveryStatus
|
|
228
|
-
isRead
|
|
229
|
-
readAt
|
|
230
|
-
archivedAt
|
|
231
|
-
openedAt
|
|
232
|
-
clickedAt
|
|
233
|
-
deliveredAt
|
|
234
|
-
failedAt
|
|
235
|
-
sentAt
|
|
236
|
-
createdAt
|
|
237
|
-
updatedAt
|
|
238
|
-
redirectUrl
|
|
239
|
-
subject
|
|
240
|
-
htmlMessage
|
|
241
|
-
data
|
|
242
|
-
metadata
|
|
243
|
-
expiresAt
|
|
244
|
-
scheduledFor
|
|
245
|
-
templateId
|
|
246
|
-
templateVersion
|
|
247
|
-
appName
|
|
248
|
-
recipientEmail
|
|
249
|
-
recipientPhone
|
|
250
|
-
errorCode
|
|
251
|
-
errorMessage
|
|
252
|
-
userId
|
|
253
|
-
topicId
|
|
254
|
-
topic {
|
|
255
|
-
id
|
|
256
|
-
name
|
|
257
|
-
slug
|
|
258
|
-
type
|
|
259
|
-
description
|
|
260
|
-
}
|
|
261
|
-
actions {
|
|
262
|
-
id
|
|
263
|
-
label
|
|
264
|
-
url
|
|
265
|
-
style
|
|
266
|
-
actionType
|
|
267
|
-
metadata
|
|
268
|
-
}
|
|
269
|
-
media {
|
|
270
|
-
url
|
|
271
|
-
label
|
|
272
|
-
kind
|
|
273
|
-
contentType
|
|
274
|
-
thumbnailUrl
|
|
275
|
-
}
|
|
276
|
-
scheduledNotification {
|
|
277
|
-
id
|
|
278
|
-
scheduledFor
|
|
279
|
-
status
|
|
280
|
-
timezone
|
|
281
|
-
retryCount
|
|
282
|
-
errorMessage
|
|
283
|
-
}
|
|
357
|
+
...NotificationFields
|
|
284
358
|
events {
|
|
285
359
|
id
|
|
286
360
|
eventType
|
|
@@ -290,7 +364,7 @@ var u = e`
|
|
|
290
364
|
}
|
|
291
365
|
}
|
|
292
366
|
}
|
|
293
|
-
`,
|
|
367
|
+
${n}`, O = e`
|
|
294
368
|
query GetNotificationEvents($notificationId: ID!) {
|
|
295
369
|
notificationEvents(notificationId: $notificationId) {
|
|
296
370
|
id
|
|
@@ -305,6 +379,28 @@ var u = e`
|
|
|
305
379
|
}
|
|
306
380
|
}
|
|
307
381
|
`;
|
|
382
|
+
e`
|
|
383
|
+
query GetNotificationHistories($filter: NotificationHistoryFilterInput, $limit: Int, $offset: Int) {
|
|
384
|
+
notificationHistories(filter: $filter, limit: $limit, offset: $offset) {
|
|
385
|
+
items {
|
|
386
|
+
...NotificationHistoryFields
|
|
387
|
+
}
|
|
388
|
+
total
|
|
389
|
+
hasMore
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
${r}`;
|
|
393
|
+
var k = e`
|
|
394
|
+
query GetNotificationPreferences($filter: NotificationPreferenceFilterInput, $limit: Int, $offset: Int) {
|
|
395
|
+
notificationPreferences(filter: $filter, limit: $limit, offset: $offset) {
|
|
396
|
+
items {
|
|
397
|
+
...NotificationPreferenceFields
|
|
398
|
+
}
|
|
399
|
+
total
|
|
400
|
+
hasMore
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
${i}`;
|
|
308
404
|
e`
|
|
309
405
|
query GetNotificationStats($filter: NotificationFilterInput) {
|
|
310
406
|
notificationStats(filter: $filter) {
|
|
@@ -321,7 +417,7 @@ e`
|
|
|
321
417
|
}
|
|
322
418
|
}
|
|
323
419
|
`;
|
|
324
|
-
var
|
|
420
|
+
var A = e`
|
|
325
421
|
query GetNotificationTemplate($slug: String!, $locale: String) {
|
|
326
422
|
notificationTemplate(slug: $slug, locale: $locale) {
|
|
327
423
|
id
|
|
@@ -342,7 +438,7 @@ var S = e`
|
|
|
342
438
|
metadata
|
|
343
439
|
}
|
|
344
440
|
}
|
|
345
|
-
`,
|
|
441
|
+
`, j = e`
|
|
346
442
|
query GetNotificationTemplates($filter: TemplateFilterInput, $limit: Int, $offset: Int) {
|
|
347
443
|
notificationTemplates(filter: $filter, limit: $limit, offset: $offset) {
|
|
348
444
|
items {
|
|
@@ -367,7 +463,7 @@ var S = e`
|
|
|
367
463
|
hasMore
|
|
368
464
|
}
|
|
369
465
|
}
|
|
370
|
-
`,
|
|
466
|
+
`, M = e`
|
|
371
467
|
query GetNotificationTopics($filter: NotificationTopicFilterInput, $limit: Int, $offset: Int) {
|
|
372
468
|
notificationTopics(filter: $filter, limit: $limit, offset: $offset) {
|
|
373
469
|
items {
|
|
@@ -393,80 +489,17 @@ var S = e`
|
|
|
393
489
|
hasMore
|
|
394
490
|
}
|
|
395
491
|
}
|
|
396
|
-
`,
|
|
492
|
+
`, N = e`
|
|
397
493
|
query GetNotifications($filter: NotificationFilterInput, $limit: Int, $offset: Int) {
|
|
398
494
|
notifications(filter: $filter, limit: $limit, offset: $offset) {
|
|
399
495
|
items {
|
|
400
|
-
|
|
401
|
-
type
|
|
402
|
-
priority
|
|
403
|
-
title
|
|
404
|
-
message
|
|
405
|
-
channel
|
|
406
|
-
status
|
|
407
|
-
deliveryStatus
|
|
408
|
-
isRead
|
|
409
|
-
readAt
|
|
410
|
-
archivedAt
|
|
411
|
-
openedAt
|
|
412
|
-
clickedAt
|
|
413
|
-
deliveredAt
|
|
414
|
-
failedAt
|
|
415
|
-
sentAt
|
|
416
|
-
createdAt
|
|
417
|
-
updatedAt
|
|
418
|
-
redirectUrl
|
|
419
|
-
subject
|
|
420
|
-
htmlMessage
|
|
421
|
-
data
|
|
422
|
-
metadata
|
|
423
|
-
expiresAt
|
|
424
|
-
scheduledFor
|
|
425
|
-
templateId
|
|
426
|
-
templateVersion
|
|
427
|
-
appName
|
|
428
|
-
recipientEmail
|
|
429
|
-
recipientPhone
|
|
430
|
-
errorCode
|
|
431
|
-
errorMessage
|
|
432
|
-
userId
|
|
433
|
-
topicId
|
|
434
|
-
topic {
|
|
435
|
-
id
|
|
436
|
-
name
|
|
437
|
-
slug
|
|
438
|
-
type
|
|
439
|
-
description
|
|
440
|
-
}
|
|
441
|
-
actions {
|
|
442
|
-
id
|
|
443
|
-
label
|
|
444
|
-
url
|
|
445
|
-
style
|
|
446
|
-
actionType
|
|
447
|
-
metadata
|
|
448
|
-
}
|
|
449
|
-
media {
|
|
450
|
-
url
|
|
451
|
-
label
|
|
452
|
-
kind
|
|
453
|
-
contentType
|
|
454
|
-
thumbnailUrl
|
|
455
|
-
}
|
|
456
|
-
scheduledNotification {
|
|
457
|
-
id
|
|
458
|
-
scheduledFor
|
|
459
|
-
status
|
|
460
|
-
timezone
|
|
461
|
-
retryCount
|
|
462
|
-
errorMessage
|
|
463
|
-
}
|
|
496
|
+
...NotificationFields
|
|
464
497
|
}
|
|
465
498
|
total
|
|
466
499
|
hasMore
|
|
467
500
|
}
|
|
468
501
|
}
|
|
469
|
-
`,
|
|
502
|
+
${n}`, P = e`
|
|
470
503
|
query GetScheduledNotifications($filter: ScheduledNotificationFilterInput, $limit: Int, $offset: Int) {
|
|
471
504
|
scheduledNotifications(filter: $filter, limit: $limit, offset: $offset) {
|
|
472
505
|
items {
|
|
@@ -492,7 +525,7 @@ var S = e`
|
|
|
492
525
|
hasMore
|
|
493
526
|
}
|
|
494
527
|
}
|
|
495
|
-
`,
|
|
528
|
+
`, F = e`
|
|
496
529
|
query SearchUsers($filter: UserFilterInput, $pagination: PaginationInput) {
|
|
497
530
|
users(filter: $filter, pagination: $pagination) {
|
|
498
531
|
users {
|
|
@@ -506,9 +539,19 @@ var S = e`
|
|
|
506
539
|
}
|
|
507
540
|
totalCount
|
|
508
541
|
}
|
|
542
|
+
}
|
|
543
|
+
`, I = e`
|
|
544
|
+
subscription NotificationReceived($userId: ID!) {
|
|
545
|
+
notificationReceived(userId: $userId) {
|
|
546
|
+
...NotificationFields
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
${n}`, L = e`
|
|
550
|
+
subscription UnreadCountUpdated($userId: ID!) {
|
|
551
|
+
unreadCountUpdated(userId: $userId)
|
|
509
552
|
}
|
|
510
553
|
`;
|
|
511
554
|
//#endregion
|
|
512
|
-
export {
|
|
555
|
+
export { a as ArchiveNotificationDocument, o as ArchiveNotificationsDocument, s as CancelScheduledNotificationDocument, c as CreateNotificationPreferenceDocument, l as CreateNotificationTemplateDocument, u as CreateNotificationTopicDocument, d as DeleteNotificationPreferenceDocument, f as DeleteNotificationTemplateDocument, p as DeleteNotificationTopicDocument, E as GetMyUnreadNotificationCountDocument, D as GetNotificationDocument, O as GetNotificationEventsDocument, k as GetNotificationPreferencesDocument, A as GetNotificationTemplateDocument, j as GetNotificationTemplatesDocument, M as GetNotificationTopicsDocument, N as GetNotificationsDocument, P as GetScheduledNotificationsDocument, m as MarkAllMyNotificationsAsReadDocument, h as MarkNotificationAsReadDocument, I as NotificationReceivedDocument, g as RecordNotificationActionDocument, _ as RescheduleNotificationDocument, F as SearchUsersDocument, v as SetNotificationTopicSubscriptionDocument, y as TriggerBatchNotificationsDocument, b as TriggerNotificationDocument, x as TriggerNotificationWithTemplateDocument, S as UnarchiveNotificationDocument, L as UnreadCountUpdatedDocument, C as UpdateNotificationPreferenceDocument, w as UpdateNotificationTemplateDocument, T as UpdateNotificationTopicDocument };
|
|
513
556
|
|
|
514
557
|
//# sourceMappingURL=global-operations.js.map
|