@burdenoff/microfe-notification 2026.1029.1 → 2026.1109.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.
Files changed (218) hide show
  1. package/dist/AdminNotificationRoot.d.ts +33 -0
  2. package/dist/AdminNotificationRoot.js +9 -6
  3. package/dist/AdminNotificationRoot.js.map +1 -1
  4. package/dist/AdminNotificationRoutes.d.ts +1 -0
  5. package/dist/AdminNotificationRoutes.js +22 -23
  6. package/dist/AdminNotificationRoutes.js.map +1 -1
  7. package/dist/NotificationRoot.d.ts +29 -0
  8. package/dist/NotificationRoot.js +9 -6
  9. package/dist/NotificationRoot.js.map +1 -1
  10. package/dist/NotificationRoutes.d.ts +18 -0
  11. package/dist/NotificationRoutes.js +1 -2
  12. package/dist/NotificationRoutes.js.map +1 -1
  13. package/dist/UserNotificationRoot.d.ts +32 -0
  14. package/dist/UserNotificationRoot.js +9 -6
  15. package/dist/UserNotificationRoot.js.map +1 -1
  16. package/dist/UserNotificationRoutes.d.ts +16 -0
  17. package/dist/UserNotificationRoutes.js +9 -10
  18. package/dist/UserNotificationRoutes.js.map +1 -1
  19. package/dist/components/FeatureDisabledPage.d.ts +6 -0
  20. package/dist/components/FeatureDisabledPage.js +1 -2
  21. package/dist/components/FeatureDisabledPage.js.map +1 -1
  22. package/dist/components/NotificationBell.d.ts +13 -0
  23. package/dist/components/NotificationBell.js +6 -7
  24. package/dist/components/NotificationBell.js.map +1 -1
  25. package/dist/components/NotificationCard.d.ts +18 -0
  26. package/dist/components/NotificationCard.js +10 -11
  27. package/dist/components/NotificationCard.js.map +1 -1
  28. package/dist/components/NotificationPanel.d.ts +10 -0
  29. package/dist/components/NotificationPanel.js +5 -6
  30. package/dist/components/NotificationPanel.js.map +1 -1
  31. package/dist/components/RecipientSelector.d.ts +32 -0
  32. package/dist/components/RecipientSelector.js +2 -3
  33. package/dist/components/RecipientSelector.js.map +1 -1
  34. package/dist/components/TemplatePreview.d.ts +21 -0
  35. package/dist/components/TemplatePreview.js +3 -4
  36. package/dist/components/TemplatePreview.js.map +1 -1
  37. package/dist/components/VariableInserter.d.ts +11 -0
  38. package/dist/components/index.d.ts +3 -0
  39. package/dist/components/index.js +4 -3
  40. package/dist/constants/permissions.d.ts +23 -0
  41. package/dist/constants/permissions.js +1 -2
  42. package/dist/constants/permissions.js.map +1 -1
  43. package/dist/dev/main.d.ts +0 -0
  44. package/dist/generated/global-operations.d.ts +2119 -0
  45. package/dist/generated/global-operations.js +80 -69
  46. package/dist/generated/global-operations.js.map +1 -1
  47. package/dist/generated/global-types.d.ts +23507 -0
  48. package/dist/generated/wspace-operations.d.ts +4 -0
  49. package/dist/generated/wspace-types.d.ts +57831 -0
  50. package/dist/graphql/global-client.d.ts +32 -0
  51. package/dist/graphql/global-client.js +23 -30
  52. package/dist/graphql/global-client.js.map +1 -1
  53. package/dist/hooks/index.d.ts +7 -0
  54. package/dist/hooks/index.js +7 -6
  55. package/dist/hooks/useNotificationAdmin.d.ts +46 -0
  56. package/dist/hooks/useNotificationAdmin.js +18 -17
  57. package/dist/hooks/useNotificationAdmin.js.map +1 -1
  58. package/dist/hooks/useNotificationAnalytics.d.ts +65 -0
  59. package/dist/hooks/useNotificationAnalytics.js +1 -2
  60. package/dist/hooks/useNotificationAnalytics.js.map +1 -1
  61. package/dist/hooks/useNotificationPreferences.d.ts +10 -0
  62. package/dist/hooks/useNotificationPreferences.js +7 -7
  63. package/dist/hooks/useNotificationPreferences.js.map +1 -1
  64. package/dist/hooks/useNotificationTemplates.d.ts +131 -0
  65. package/dist/hooks/useNotificationTemplates.js +1 -2
  66. package/dist/hooks/useNotificationTemplates.js.map +1 -1
  67. package/dist/hooks/useNotificationTopics.d.ts +35 -0
  68. package/dist/hooks/useNotificationTopics.js +22 -22
  69. package/dist/hooks/useNotificationTopics.js.map +1 -1
  70. package/dist/hooks/useNotifications.d.ts +39 -0
  71. package/dist/hooks/useNotifications.js +6 -4
  72. package/dist/hooks/useNotifications.js.map +1 -1
  73. package/dist/hooks/useSendNotification.d.ts +158 -0
  74. package/dist/hooks/useSendNotification.js +12 -10
  75. package/dist/hooks/useSendNotification.js.map +1 -1
  76. package/dist/hooks/useUserSearch.d.ts +26 -0
  77. package/dist/hooks/useUserSearch.js +8 -10
  78. package/dist/hooks/useUserSearch.js.map +1 -1
  79. package/dist/index.d.ts +36 -0
  80. package/dist/index.js +8 -8
  81. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +1 -2
  82. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -1
  83. package/dist/node_modules/@apollo/client/errors/utils.js +1 -2
  84. package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -1
  85. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +7 -8
  86. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -1
  87. package/dist/node_modules/@apollo/client/link/subscriptions/index.js +9 -10
  88. package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -1
  89. package/dist/node_modules/@apollo/client/link/utils/createOperation.js +5 -6
  90. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -1
  91. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +0 -1
  92. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -1
  93. package/dist/node_modules/@apollo/client/utilities/graphql/print.js +4 -5
  94. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -1
  95. package/dist/node_modules/@apollo/client/utilities/internal/caches.js +1 -2
  96. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -1
  97. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +1 -2
  98. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -1
  99. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +2 -3
  100. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -1
  101. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +1 -2
  102. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -1
  103. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +1 -2
  104. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -1
  105. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +1 -2
  106. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -1
  107. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +1 -2
  108. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -1
  109. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +1 -2
  110. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -1
  111. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +1 -2
  112. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -1
  113. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +1 -2
  114. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -1
  115. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +1 -2
  116. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -1
  117. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +1 -2
  118. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -1
  119. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +2 -3
  120. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -1
  121. package/dist/node_modules/@apollo/client/version.js +2 -3
  122. package/dist/node_modules/@apollo/client/version.js.map +1 -1
  123. package/dist/node_modules/@wry/caches/lib/weak.js +1 -2
  124. package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -1
  125. package/dist/node_modules/@wry/trie/lib/index.js +2 -3
  126. package/dist/node_modules/@wry/trie/lib/index.js.map +1 -1
  127. package/dist/node_modules/graphql-ws/dist/client.js +76 -69
  128. package/dist/node_modules/graphql-ws/dist/client.js.map +1 -1
  129. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js +2 -3
  130. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -1
  131. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +2 -3
  132. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -1
  133. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +41 -42
  134. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -1
  135. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +14 -15
  136. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -1
  137. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +21 -18
  138. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -1
  139. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +1 -2
  140. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -1
  141. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +1 -2
  142. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -1
  143. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +2 -3
  144. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -1
  145. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +1 -2
  146. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -1
  147. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +1 -2
  148. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -1
  149. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +1 -2
  150. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -1
  151. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +1 -2
  152. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -1
  153. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +1 -2
  154. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -1
  155. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +1 -2
  156. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -1
  157. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +1 -2
  158. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -1
  159. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +1 -2
  160. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -1
  161. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +1 -2
  162. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -1
  163. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +1 -2
  164. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -1
  165. package/dist/node_modules/{rxjs/node_modules/tslib → tslib}/tslib.es6.js +1 -2
  166. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  167. package/dist/pages/CreateNotificationPage.d.ts +5 -0
  168. package/dist/pages/CreateNotificationPage.js +18 -19
  169. package/dist/pages/CreateNotificationPage.js.map +1 -1
  170. package/dist/pages/NotificationCenterPage.d.ts +6 -0
  171. package/dist/pages/NotificationCenterPage.js +13 -14
  172. package/dist/pages/NotificationCenterPage.js.map +1 -1
  173. package/dist/pages/NotificationHistoryAdminPage.d.ts +2 -0
  174. package/dist/pages/NotificationHistoryAdminPage.js +7 -8
  175. package/dist/pages/NotificationHistoryAdminPage.js.map +1 -1
  176. package/dist/pages/NotificationHistoryPage.d.ts +2 -0
  177. package/dist/pages/NotificationHistoryPage.js +13 -14
  178. package/dist/pages/NotificationHistoryPage.js.map +1 -1
  179. package/dist/pages/NotificationLandingPage.d.ts +10 -0
  180. package/dist/pages/NotificationLandingPage.js +5 -6
  181. package/dist/pages/NotificationLandingPage.js.map +1 -1
  182. package/dist/pages/NotificationPreferencesPage.d.ts +1 -0
  183. package/dist/pages/NotificationPreferencesPage.js +14 -15
  184. package/dist/pages/NotificationPreferencesPage.js.map +1 -1
  185. package/dist/pages/NotificationTemplatesPage.d.ts +7 -0
  186. package/dist/pages/NotificationTemplatesPage.js +25 -23
  187. package/dist/pages/NotificationTemplatesPage.js.map +1 -1
  188. package/dist/pages/NotificationTopicsPage.d.ts +1 -0
  189. package/dist/pages/NotificationTopicsPage.js +6 -7
  190. package/dist/pages/NotificationTopicsPage.js.map +1 -1
  191. package/dist/pages/TemplateEditorPage.d.ts +12 -0
  192. package/dist/pages/TemplateEditorPage.js +294 -285
  193. package/dist/pages/TemplateEditorPage.js.map +1 -1
  194. package/dist/providers/NotificationProvider.d.ts +11 -0
  195. package/dist/providers/NotificationProvider.js +1 -2
  196. package/dist/providers/NotificationProvider.js.map +1 -1
  197. package/dist/shared/hooks/useTr.d.ts +13 -0
  198. package/dist/shared/hooks/useTr.js +1 -2
  199. package/dist/shared/hooks/useTr.js.map +1 -1
  200. package/dist/store/notificationStore.d.ts +30 -0
  201. package/dist/store/notificationStore.js +1 -2
  202. package/dist/store/notificationStore.js.map +1 -1
  203. package/dist/test/happydom.d.ts +1 -0
  204. package/dist/translations/en.d.ts +468 -0
  205. package/dist/types/index.d.ts +249 -0
  206. package/dist/utils/inAppNavigation.d.ts +37 -0
  207. package/dist/utils/inAppNavigation.js +2 -3
  208. package/dist/utils/inAppNavigation.js.map +1 -1
  209. package/dist/utils/index.d.ts +68 -0
  210. package/dist/utils/index.js +16 -10
  211. package/dist/utils/index.js.map +1 -1
  212. package/dist/utils/nativeBridge.d.ts +2 -0
  213. package/dist/utils/nativeBridge.js +1 -2
  214. package/dist/utils/notificationHistoryExport.d.ts +12 -0
  215. package/dist/utils/notificationHistoryExport.js +1 -2
  216. package/dist/utils/notificationHistoryExport.js.map +1 -1
  217. package/package.json +66 -48
  218. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +0 -1
@@ -0,0 +1,2119 @@
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends {
3
+ [key: string]: unknown;
4
+ }> = {
5
+ [K in keyof T]: T[K];
6
+ };
7
+ /** Internal type. DO NOT USE DIRECTLY. */
8
+ export type Incremental<T> = T | {
9
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
10
+ };
11
+ import * as Types from './global-types';
12
+ import * as Apollo from '@apollo/client';
13
+ import * as ApolloReactHooks from '@apollo/client/react';
14
+ export type CreateNotificationInput = {
15
+ actions?: Array<NotificationActionInput> | null | undefined;
16
+ appName?: string | null | undefined;
17
+ body: string;
18
+ channel: NotificationChannel;
19
+ data?: Record<string, unknown> | null | undefined;
20
+ expiresAt?: string | null | undefined;
21
+ htmlBody?: string | null | undefined;
22
+ media?: Array<NotificationMediaInput> | null | undefined;
23
+ metadata?: Record<string, unknown> | null | undefined;
24
+ priority?: NotificationPriority | null | undefined;
25
+ recipient: RecipientInput;
26
+ redirectUrl?: string | null | undefined;
27
+ subject?: string | null | undefined;
28
+ topicId?: string | number | null | undefined;
29
+ trackClicks?: boolean | null | undefined;
30
+ trackOpens?: boolean | null | undefined;
31
+ type?: NotificationType | null | undefined;
32
+ };
33
+ export type CreateNotificationPreferenceInput = {
34
+ channel?: NotificationChannel | null | undefined;
35
+ enabled?: boolean | null | undefined;
36
+ frequency?: NotificationPreferenceFrequency | null | undefined;
37
+ metadata?: Record<string, unknown> | null | undefined;
38
+ quietHoursEnd?: string | null | undefined;
39
+ quietHoursStart?: string | null | undefined;
40
+ scope: NotificationPreferenceScope;
41
+ timezone?: string | null | undefined;
42
+ topicId?: string | number | null | undefined;
43
+ type?: NotificationType | null | undefined;
44
+ userId?: string | number | null | undefined;
45
+ };
46
+ export type CreateNotificationTopicInput = {
47
+ description?: string | null | undefined;
48
+ isActive?: boolean | null | undefined;
49
+ metadata?: Record<string, unknown> | null | undefined;
50
+ name: string;
51
+ slug: string;
52
+ type: NotificationType;
53
+ };
54
+ export type CreateTemplateInput = {
55
+ bodyTemplate: string;
56
+ /** Default delivery channel for this template (defaults to EMAIL if not specified) */
57
+ channel?: NotificationChannel | null | undefined;
58
+ description?: string | null | undefined;
59
+ htmlTemplate?: string | null | undefined;
60
+ locale?: string | null | undefined;
61
+ metadata?: Record<string, unknown> | null | undefined;
62
+ name: string;
63
+ slug: string;
64
+ subject?: string | null | undefined;
65
+ type: NotificationType;
66
+ variables: Record<string, unknown>;
67
+ };
68
+ export type NotificationActionInput = {
69
+ actionType?: string | null | undefined;
70
+ id?: string | null | undefined;
71
+ label: string;
72
+ metadata?: Record<string, unknown> | null | undefined;
73
+ style?: string | null | undefined;
74
+ url: string;
75
+ };
76
+ export type NotificationChannel = 'DISCORD' | 'EMAIL' | 'IN_APP' | 'PUSH' | 'SLACK' | 'SMS' | 'TEAMS' | 'TELEGRAM' | 'WEBHOOK' | 'WHATSAPP';
77
+ export type NotificationDeliveryStatus = 'BOUNCED' | 'CLICKED' | 'COMPLAINED' | 'DELIVERED' | 'DELIVERING' | 'FAILED' | 'OPENED' | 'PENDING' | 'PROCESSING' | 'QUEUED' | 'RETRYING' | 'SENT' | 'UNSUBSCRIBED';
78
+ export type NotificationEventType = 'BOUNCED' | 'CANCELLED' | 'CLICKED' | 'COMPLAINED' | 'CREATED' | 'DELIVERED' | 'EXPIRED' | 'FAILED' | 'OPENED' | 'RETRY' | 'SCHEDULED' | 'SENT' | 'TRIGGERED' | 'UNSUBSCRIBED';
79
+ export type NotificationFilterInput = {
80
+ appName?: string | null | undefined;
81
+ archived?: boolean | null | undefined;
82
+ channel?: NotificationChannel | null | undefined;
83
+ deliveryStatus?: NotificationDeliveryStatus | null | undefined;
84
+ endDate?: string | null | undefined;
85
+ isRead?: boolean | null | undefined;
86
+ priority?: NotificationPriority | null | undefined;
87
+ search?: string | null | undefined;
88
+ startDate?: string | null | undefined;
89
+ status?: NotificationStatus | null | undefined;
90
+ topicId?: string | number | null | undefined;
91
+ triggerStatus?: TriggerStatus | null | undefined;
92
+ type?: NotificationType | null | undefined;
93
+ userId?: string | number | null | undefined;
94
+ };
95
+ export type NotificationHistoryFilterInput = {
96
+ deliveryStatus?: NotificationDeliveryStatus | null | undefined;
97
+ endDate?: string | null | undefined;
98
+ eventType?: NotificationEventType | null | undefined;
99
+ notificationId?: string | number | null | undefined;
100
+ startDate?: string | null | undefined;
101
+ userId?: string | number | null | undefined;
102
+ };
103
+ export type NotificationMediaInput = {
104
+ contentType?: string | null | undefined;
105
+ kind?: string | null | undefined;
106
+ label?: string | null | undefined;
107
+ thumbnailUrl?: string | null | undefined;
108
+ url: string;
109
+ };
110
+ export type NotificationPreferenceFilterInput = {
111
+ channel?: NotificationChannel | null | undefined;
112
+ enabled?: boolean | null | undefined;
113
+ scope?: NotificationPreferenceScope | null | undefined;
114
+ topicId?: string | number | null | undefined;
115
+ type?: NotificationType | null | undefined;
116
+ userId?: string | number | null | undefined;
117
+ };
118
+ export type NotificationPreferenceFrequency = 'DAILY_DIGEST' | 'IMMEDIATE' | 'NEVER' | 'WEEKLY_DIGEST';
119
+ export type NotificationPreferenceScope = 'CHANNEL' | 'GLOBAL' | 'TOPIC' | 'TYPE';
120
+ export type NotificationPriority = 'HIGH' | 'LOW' | 'MEDIUM' | 'URGENT';
121
+ export type NotificationStatus = 'CANCELLED' | 'DELIVERED' | 'DRAFT' | 'EXPIRED' | 'FAILED' | 'PENDING' | 'READ' | 'SCHEDULED' | 'SENT' | 'TRIGGERED';
122
+ export type NotificationTopicFilterInput = {
123
+ isActive?: boolean | null | undefined;
124
+ search?: string | null | undefined;
125
+ type?: NotificationType | null | undefined;
126
+ };
127
+ export type NotificationType = 'ALERT' | 'MARKETING' | 'SYSTEM' | 'TRANSACTIONAL';
128
+ /** Pagination input */
129
+ export type PaginationInput = {
130
+ limit?: number | null | undefined;
131
+ offset?: number | null | undefined;
132
+ };
133
+ export type RecipientInput = {
134
+ email?: string | null | undefined;
135
+ locale?: string | null | undefined;
136
+ name?: string | null | undefined;
137
+ phoneNumber?: string | null | undefined;
138
+ pushToken?: string | null | undefined;
139
+ slackUserId?: string | null | undefined;
140
+ teamsUserId?: string | null | undefined;
141
+ timezone?: string | null | undefined;
142
+ userId?: string | number | null | undefined;
143
+ webhookUrl?: string | null | undefined;
144
+ whatsappNumber?: string | null | undefined;
145
+ };
146
+ export type RecordNotificationActionInput = {
147
+ actionId?: string | null | undefined;
148
+ metadata?: Record<string, unknown> | null | undefined;
149
+ notificationId: string | number;
150
+ };
151
+ export type RescheduleNotificationInput = {
152
+ scheduledFor: string;
153
+ scheduledNotificationId: string | number;
154
+ timezone?: string | null | undefined;
155
+ };
156
+ export type ScheduledNotificationFilterInput = {
157
+ endDate?: string | null | undefined;
158
+ startDate?: string | null | undefined;
159
+ status?: ScheduledNotificationStatus | null | undefined;
160
+ userId?: string | number | null | undefined;
161
+ };
162
+ export type ScheduledNotificationStatus = 'CANCELLED' | 'FAILED' | 'PENDING' | 'TRIGGERED';
163
+ export type SetNotificationTopicSubscriptionInput = {
164
+ metadata?: Record<string, unknown> | null | undefined;
165
+ subscribed: boolean;
166
+ topicId: string | number;
167
+ };
168
+ export type TemplateFilterInput = {
169
+ enabled?: boolean | null | undefined;
170
+ locale?: string | null | undefined;
171
+ type?: NotificationType | null | undefined;
172
+ };
173
+ export type TriggerBatchNotificationsInput = {
174
+ /** Size of each batch */
175
+ batchSize?: number | null | undefined;
176
+ /** Delay between batches in milliseconds */
177
+ delayBetweenBatches?: number | null | undefined;
178
+ /** List of notification IDs to trigger */
179
+ notificationIds?: Array<string | number> | null | undefined;
180
+ /** Or list of new notifications to create and trigger */
181
+ notifications?: Array<CreateNotificationInput> | null | undefined;
182
+ /** Default priority for batch */
183
+ priority?: NotificationPriority | null | undefined;
184
+ /** Optionally schedule all notifications instead of sending immediately */
185
+ scheduledFor?: string | null | undefined;
186
+ timezone?: string | null | undefined;
187
+ };
188
+ export type TriggerNotificationInput = {
189
+ /** Specific channel instance ID from channel service (takes precedence) */
190
+ channelId?: string | number | null | undefined;
191
+ /** Channels to deliver to (deprecated - use channelId or platform instead) */
192
+ channels?: Array<NotificationChannel> | null | undefined;
193
+ /** Also deliver as in-app notification alongside the primary platform */
194
+ includeInApp?: boolean | null | undefined;
195
+ /** Or create and trigger a new notification */
196
+ notification?: CreateNotificationInput | null | undefined;
197
+ /** ID of an existing notification to trigger */
198
+ notificationId?: string | number | null | undefined;
199
+ /** Platform type for auto-failover (EMAIL, SMS, etc.) */
200
+ platform?: NotificationChannel | null | undefined;
201
+ /** User IDs for in-app notifications (required when includeInApp is true) */
202
+ userIds?: Array<string | number> | null | undefined;
203
+ };
204
+ export type TriggerNotificationWithTemplateInput = {
205
+ actions?: Array<NotificationActionInput> | null | undefined;
206
+ /** Specific channel instance ID from channel service (takes precedence) */
207
+ channelId?: string | number | null | undefined;
208
+ expiresAt?: string | null | undefined;
209
+ /** Also deliver as in-app notification alongside the primary platform */
210
+ includeInApp?: boolean | null | undefined;
211
+ media?: Array<NotificationMediaInput> | null | undefined;
212
+ /** Platform type for auto-failover (EMAIL, SMS, etc.) - used if channelId not provided */
213
+ platform?: NotificationChannel | null | undefined;
214
+ priority?: NotificationPriority | null | undefined;
215
+ /** Single recipient (use this OR recipients, not both) */
216
+ recipient?: RecipientInput | null | undefined;
217
+ /** Multiple recipients for bulk delivery (use this OR recipient, not both) */
218
+ recipients?: Array<RecipientInput> | null | undefined;
219
+ redirectUrl?: string | null | undefined;
220
+ /** Optionally schedule for later delivery */
221
+ scheduledFor?: string | null | undefined;
222
+ templateSlug: string;
223
+ timezone?: string | null | undefined;
224
+ topicId?: string | number | null | undefined;
225
+ trackClicks?: boolean | null | undefined;
226
+ trackOpens?: boolean | null | undefined;
227
+ /** User IDs for in-app notifications (required when includeInApp is true) */
228
+ userIds?: Array<string | number> | null | undefined;
229
+ variables: Record<string, unknown>;
230
+ };
231
+ export type TriggerStatus = 'CANCELLED' | 'FAILED' | 'PENDING' | 'TRIGGERED';
232
+ export type UpdateNotificationPreferenceInput = {
233
+ channel?: NotificationChannel | null | undefined;
234
+ enabled?: boolean | null | undefined;
235
+ frequency?: NotificationPreferenceFrequency | null | undefined;
236
+ metadata?: Record<string, unknown> | null | undefined;
237
+ quietHoursEnd?: string | null | undefined;
238
+ quietHoursStart?: string | null | undefined;
239
+ scope?: NotificationPreferenceScope | null | undefined;
240
+ timezone?: string | null | undefined;
241
+ topicId?: string | number | null | undefined;
242
+ type?: NotificationType | null | undefined;
243
+ };
244
+ export type UpdateNotificationTopicInput = {
245
+ description?: string | null | undefined;
246
+ isActive?: boolean | null | undefined;
247
+ metadata?: Record<string, unknown> | null | undefined;
248
+ name?: string | null | undefined;
249
+ slug?: string | null | undefined;
250
+ type?: NotificationType | null | undefined;
251
+ };
252
+ export type UpdateTemplateInput = {
253
+ bodyTemplate?: string | null | undefined;
254
+ description?: string | null | undefined;
255
+ enabled?: boolean | null | undefined;
256
+ htmlTemplate?: string | null | undefined;
257
+ metadata?: Record<string, unknown> | null | undefined;
258
+ name?: string | null | undefined;
259
+ subject?: string | null | undefined;
260
+ variables?: Record<string, unknown> | null | undefined;
261
+ };
262
+ /** Filter input for listing users */
263
+ export type UserFilterInput = {
264
+ email?: string | null | undefined;
265
+ role?: UserRole | null | undefined;
266
+ search?: string | null | undefined;
267
+ status?: UserStatus | null | undefined;
268
+ username?: string | null | undefined;
269
+ };
270
+ /** User role for access control across the platform */
271
+ export type UserRole = 'GUEST' | 'MEMBER' | 'ORG_ADMIN' | 'SUPER_ADMIN' | 'TENANT_ADMIN' | 'WORKSPACE_ADMIN';
272
+ export type UserStatus = 'ACTIVE' | 'DELETED' | 'INACTIVE' | 'SUSPENDED';
273
+ export type NotificationTopicSummaryFieldsFragment = {
274
+ id: string;
275
+ name: string;
276
+ slug: string;
277
+ type: Types.NotificationType;
278
+ description: string | null;
279
+ };
280
+ export type ScheduledNotificationSummaryFieldsFragment = {
281
+ id: string;
282
+ scheduledFor: string;
283
+ status: Types.ScheduledNotificationStatus;
284
+ timezone: string | null;
285
+ retryCount: number;
286
+ errorMessage: string | null;
287
+ };
288
+ export type NotificationActionFieldsFragment = {
289
+ id: string;
290
+ label: string;
291
+ url: string;
292
+ style: string | null;
293
+ actionType: string | null;
294
+ metadata: Record<string, unknown> | null;
295
+ };
296
+ export type NotificationMediaFieldsFragment = {
297
+ url: string;
298
+ label: string | null;
299
+ kind: string | null;
300
+ contentType: string | null;
301
+ thumbnailUrl: string | null;
302
+ };
303
+ export type NotificationFieldsFragment = {
304
+ id: string;
305
+ type: Types.NotificationType;
306
+ priority: Types.NotificationPriority;
307
+ title: string;
308
+ message: string;
309
+ channel: Types.NotificationChannel;
310
+ status: Types.NotificationStatus;
311
+ deliveryStatus: Types.NotificationDeliveryStatus | null;
312
+ isRead: boolean;
313
+ readAt: string | null;
314
+ archivedAt: string | null;
315
+ openedAt: string | null;
316
+ clickedAt: string | null;
317
+ deliveredAt: string | null;
318
+ failedAt: string | null;
319
+ sentAt: string | null;
320
+ createdAt: string;
321
+ updatedAt: string;
322
+ redirectUrl: string | null;
323
+ subject: string | null;
324
+ htmlMessage: string | null;
325
+ data: Record<string, unknown> | null;
326
+ metadata: Record<string, unknown> | null;
327
+ expiresAt: string | null;
328
+ scheduledFor: string | null;
329
+ templateId: string | null;
330
+ templateVersion: number | null;
331
+ appName: string | null;
332
+ recipientEmail: string | null;
333
+ recipientPhone: string | null;
334
+ errorCode: string | null;
335
+ errorMessage: string | null;
336
+ userId: string;
337
+ topicId: string | null;
338
+ topic: {
339
+ id: string;
340
+ name: string;
341
+ slug: string;
342
+ type: Types.NotificationType;
343
+ description: string | null;
344
+ } | null;
345
+ actions: Array<{
346
+ id: string;
347
+ label: string;
348
+ url: string;
349
+ style: string | null;
350
+ actionType: string | null;
351
+ metadata: Record<string, unknown> | null;
352
+ }>;
353
+ media: Array<{
354
+ url: string;
355
+ label: string | null;
356
+ kind: string | null;
357
+ contentType: string | null;
358
+ thumbnailUrl: string | null;
359
+ }>;
360
+ scheduledNotification: {
361
+ id: string;
362
+ scheduledFor: string;
363
+ status: Types.ScheduledNotificationStatus;
364
+ timezone: string | null;
365
+ retryCount: number;
366
+ errorMessage: string | null;
367
+ } | null;
368
+ };
369
+ export type NotificationHistoryFieldsFragment = {
370
+ id: string;
371
+ notificationId: string;
372
+ eventType: Types.NotificationEventType;
373
+ deliveryStatus: Types.NotificationDeliveryStatus | null;
374
+ channelServiceEventId: string | null;
375
+ externalId: string | null;
376
+ timestamp: string;
377
+ details: Record<string, unknown> | null;
378
+ metadata: Record<string, unknown> | null;
379
+ createdAt: string;
380
+ updatedAt: string;
381
+ };
382
+ export type NotificationPreferenceFieldsFragment = {
383
+ id: string;
384
+ userId: string;
385
+ preferenceKey: string;
386
+ scope: Types.NotificationPreferenceScope;
387
+ channel: Types.NotificationChannel | null;
388
+ type: Types.NotificationType | null;
389
+ topicId: string | null;
390
+ enabled: boolean;
391
+ frequency: Types.NotificationPreferenceFrequency;
392
+ quietHoursStart: string | null;
393
+ quietHoursEnd: string | null;
394
+ timezone: string | null;
395
+ metadata: Record<string, unknown> | null;
396
+ createdAt: string;
397
+ updatedAt: string;
398
+ topic: {
399
+ id: string;
400
+ name: string;
401
+ slug: string;
402
+ type: Types.NotificationType;
403
+ description: string | null;
404
+ } | null;
405
+ };
406
+ export type ArchiveNotificationMutationVariables = Exact<{
407
+ id: string | number;
408
+ }>;
409
+ export type ArchiveNotificationMutation = {
410
+ archiveNotification: {
411
+ id: string;
412
+ archivedAt: string | null;
413
+ status: Types.NotificationStatus;
414
+ };
415
+ };
416
+ export type ArchiveNotificationsMutationVariables = Exact<{
417
+ notificationIds: Array<string | number> | string | number;
418
+ }>;
419
+ export type ArchiveNotificationsMutation = {
420
+ archiveNotifications: {
421
+ success: boolean;
422
+ count: number;
423
+ failedIds: Array<string> | null;
424
+ };
425
+ };
426
+ export type CancelScheduledNotificationMutationVariables = Exact<{
427
+ id: string | number;
428
+ }>;
429
+ export type CancelScheduledNotificationMutation = {
430
+ cancelScheduledNotification: boolean;
431
+ };
432
+ export type CreateNotificationPreferenceMutationVariables = Exact<{
433
+ input: Types.CreateNotificationPreferenceInput;
434
+ }>;
435
+ export type CreateNotificationPreferenceMutation = {
436
+ createNotificationPreference: {
437
+ id: string;
438
+ userId: string;
439
+ preferenceKey: string;
440
+ scope: Types.NotificationPreferenceScope;
441
+ channel: Types.NotificationChannel | null;
442
+ type: Types.NotificationType | null;
443
+ topicId: string | null;
444
+ enabled: boolean;
445
+ frequency: Types.NotificationPreferenceFrequency;
446
+ quietHoursStart: string | null;
447
+ quietHoursEnd: string | null;
448
+ timezone: string | null;
449
+ metadata: Record<string, unknown> | null;
450
+ createdAt: string;
451
+ updatedAt: string;
452
+ topic: {
453
+ id: string;
454
+ name: string;
455
+ slug: string;
456
+ type: Types.NotificationType;
457
+ description: string | null;
458
+ } | null;
459
+ };
460
+ };
461
+ export type CreateNotificationTemplateMutationVariables = Exact<{
462
+ input: Types.CreateTemplateInput;
463
+ }>;
464
+ export type CreateNotificationTemplateMutation = {
465
+ createNotificationTemplate: {
466
+ id: string;
467
+ slug: string;
468
+ name: string;
469
+ description: string | null;
470
+ type: Types.NotificationType;
471
+ locale: string;
472
+ subject: string | null;
473
+ bodyTemplate: string;
474
+ htmlTemplate: string | null;
475
+ variables: Record<string, unknown>;
476
+ enabled: boolean;
477
+ version: number;
478
+ createdAt: string;
479
+ updatedAt: string;
480
+ createdBy: string;
481
+ metadata: Record<string, unknown> | null;
482
+ };
483
+ };
484
+ export type CreateNotificationTopicMutationVariables = Exact<{
485
+ input: Types.CreateNotificationTopicInput;
486
+ }>;
487
+ export type CreateNotificationTopicMutation = {
488
+ createNotificationTopic: {
489
+ id: string;
490
+ slug: string;
491
+ name: string;
492
+ description: string | null;
493
+ type: Types.NotificationType;
494
+ isActive: boolean;
495
+ createdAt: string;
496
+ updatedAt: string;
497
+ };
498
+ };
499
+ export type DeleteNotificationMutationVariables = Exact<{
500
+ id: string | number;
501
+ }>;
502
+ export type DeleteNotificationMutation = {
503
+ deleteNotification: boolean;
504
+ };
505
+ export type DeleteNotificationPreferenceMutationVariables = Exact<{
506
+ id: string | number;
507
+ }>;
508
+ export type DeleteNotificationPreferenceMutation = {
509
+ deleteNotificationPreference: boolean;
510
+ };
511
+ export type DeleteNotificationTemplateMutationVariables = Exact<{
512
+ id: string | number;
513
+ }>;
514
+ export type DeleteNotificationTemplateMutation = {
515
+ deleteNotificationTemplate: boolean;
516
+ };
517
+ export type DeleteNotificationTopicMutationVariables = Exact<{
518
+ id: string | number;
519
+ }>;
520
+ export type DeleteNotificationTopicMutation = {
521
+ deleteNotificationTopic: boolean;
522
+ };
523
+ export type DeleteNotificationsMutationVariables = Exact<{
524
+ notificationIds: Array<string | number> | string | number;
525
+ }>;
526
+ export type DeleteNotificationsMutation = {
527
+ deleteNotifications: boolean;
528
+ };
529
+ export type MarkAllMyNotificationsAsReadMutationVariables = Exact<{
530
+ [key: string]: never;
531
+ }>;
532
+ export type MarkAllMyNotificationsAsReadMutation = {
533
+ markAllMyNotificationsAsRead: {
534
+ success: boolean;
535
+ count: number;
536
+ failedIds: Array<string> | null;
537
+ };
538
+ };
539
+ export type MarkNotificationAsReadMutationVariables = Exact<{
540
+ id: string | number;
541
+ }>;
542
+ export type MarkNotificationAsReadMutation = {
543
+ markNotificationAsRead: {
544
+ id: string;
545
+ isRead: boolean;
546
+ readAt: string | null;
547
+ status: Types.NotificationStatus;
548
+ };
549
+ };
550
+ export type MarkNotificationsAsReadMutationVariables = Exact<{
551
+ notificationIds: Array<string | number> | string | number;
552
+ }>;
553
+ export type MarkNotificationsAsReadMutation = {
554
+ markNotificationsAsRead: {
555
+ success: boolean;
556
+ count: number;
557
+ failedIds: Array<string> | null;
558
+ };
559
+ };
560
+ export type RecordNotificationActionMutationVariables = Exact<{
561
+ input: Types.RecordNotificationActionInput;
562
+ }>;
563
+ export type RecordNotificationActionMutation = {
564
+ recordNotificationAction: {
565
+ id: string;
566
+ clickedAt: string | null;
567
+ readAt: string | null;
568
+ status: Types.NotificationStatus;
569
+ };
570
+ };
571
+ export type RescheduleNotificationMutationVariables = Exact<{
572
+ input: Types.RescheduleNotificationInput;
573
+ }>;
574
+ export type RescheduleNotificationMutation = {
575
+ rescheduleNotification: {
576
+ id: string;
577
+ scheduledFor: string;
578
+ status: Types.ScheduledNotificationStatus;
579
+ timezone: string | null;
580
+ retryCount: number;
581
+ };
582
+ };
583
+ export type SetNotificationTopicSubscriptionMutationVariables = Exact<{
584
+ input: Types.SetNotificationTopicSubscriptionInput;
585
+ }>;
586
+ export type SetNotificationTopicSubscriptionMutation = {
587
+ setNotificationTopicSubscription: {
588
+ id: string;
589
+ subscribed: boolean;
590
+ unsubscribedAt: string | null;
591
+ topicId: string;
592
+ userId: string;
593
+ };
594
+ };
595
+ export type TriggerBatchNotificationsMutationVariables = Exact<{
596
+ input: Types.TriggerBatchNotificationsInput;
597
+ }>;
598
+ export type TriggerBatchNotificationsMutation = {
599
+ triggerBatchNotifications: {
600
+ batchId: string;
601
+ results: Record<string, unknown>;
602
+ totalFailed: number;
603
+ totalRequested: number;
604
+ totalTriggered: number;
605
+ };
606
+ };
607
+ export type TriggerNotificationMutationVariables = Exact<{
608
+ input: Types.TriggerNotificationInput;
609
+ }>;
610
+ export type TriggerNotificationMutation = {
611
+ triggerNotification: {
612
+ id: string;
613
+ status: Types.NotificationStatus;
614
+ deliveryStatus: Types.NotificationDeliveryStatus | null;
615
+ triggerStatus: Types.TriggerStatus;
616
+ sentAt: string | null;
617
+ title: string;
618
+ message: string;
619
+ };
620
+ };
621
+ export type TriggerNotificationWithTemplateMutationVariables = Exact<{
622
+ input: Types.TriggerNotificationWithTemplateInput;
623
+ }>;
624
+ export type TriggerNotificationWithTemplateMutation = {
625
+ triggerNotificationWithTemplate: {
626
+ totalRequested: number;
627
+ totalTriggered: number;
628
+ totalFailed: number;
629
+ notifications: Array<{
630
+ id: string;
631
+ status: Types.NotificationStatus;
632
+ title: string;
633
+ message: string;
634
+ sentAt: string | null;
635
+ }>;
636
+ };
637
+ };
638
+ export type UnarchiveNotificationMutationVariables = Exact<{
639
+ id: string | number;
640
+ }>;
641
+ export type UnarchiveNotificationMutation = {
642
+ unarchiveNotification: {
643
+ id: string;
644
+ archivedAt: string | null;
645
+ status: Types.NotificationStatus;
646
+ };
647
+ };
648
+ export type UpdateNotificationPreferenceMutationVariables = Exact<{
649
+ id: string | number;
650
+ input: Types.UpdateNotificationPreferenceInput;
651
+ }>;
652
+ export type UpdateNotificationPreferenceMutation = {
653
+ updateNotificationPreference: {
654
+ id: string;
655
+ userId: string;
656
+ preferenceKey: string;
657
+ scope: Types.NotificationPreferenceScope;
658
+ channel: Types.NotificationChannel | null;
659
+ type: Types.NotificationType | null;
660
+ topicId: string | null;
661
+ enabled: boolean;
662
+ frequency: Types.NotificationPreferenceFrequency;
663
+ quietHoursStart: string | null;
664
+ quietHoursEnd: string | null;
665
+ timezone: string | null;
666
+ metadata: Record<string, unknown> | null;
667
+ createdAt: string;
668
+ updatedAt: string;
669
+ topic: {
670
+ id: string;
671
+ name: string;
672
+ slug: string;
673
+ type: Types.NotificationType;
674
+ description: string | null;
675
+ } | null;
676
+ };
677
+ };
678
+ export type UpdateNotificationTemplateMutationVariables = Exact<{
679
+ id: string | number;
680
+ input: Types.UpdateTemplateInput;
681
+ }>;
682
+ export type UpdateNotificationTemplateMutation = {
683
+ updateNotificationTemplate: {
684
+ id: string;
685
+ slug: string;
686
+ name: string;
687
+ description: string | null;
688
+ type: Types.NotificationType;
689
+ locale: string;
690
+ subject: string | null;
691
+ bodyTemplate: string;
692
+ htmlTemplate: string | null;
693
+ variables: Record<string, unknown>;
694
+ enabled: boolean;
695
+ version: number;
696
+ createdAt: string;
697
+ updatedAt: string;
698
+ createdBy: string;
699
+ metadata: Record<string, unknown> | null;
700
+ };
701
+ };
702
+ export type UpdateNotificationTopicMutationVariables = Exact<{
703
+ id: string | number;
704
+ input: Types.UpdateNotificationTopicInput;
705
+ }>;
706
+ export type UpdateNotificationTopicMutation = {
707
+ updateNotificationTopic: {
708
+ id: string;
709
+ slug: string;
710
+ name: string;
711
+ description: string | null;
712
+ type: Types.NotificationType;
713
+ isActive: boolean;
714
+ createdAt: string;
715
+ updatedAt: string;
716
+ };
717
+ };
718
+ export type GetMyUnreadNotificationCountQueryVariables = Exact<{
719
+ filter?: Types.NotificationFilterInput | null | undefined;
720
+ }>;
721
+ export type GetMyUnreadNotificationCountQuery = {
722
+ myUnreadNotificationCount: number;
723
+ };
724
+ export type GetNotificationQueryVariables = Exact<{
725
+ id: string | number;
726
+ }>;
727
+ export type GetNotificationQuery = {
728
+ notification: {
729
+ id: string;
730
+ type: Types.NotificationType;
731
+ priority: Types.NotificationPriority;
732
+ title: string;
733
+ message: string;
734
+ channel: Types.NotificationChannel;
735
+ status: Types.NotificationStatus;
736
+ deliveryStatus: Types.NotificationDeliveryStatus | null;
737
+ isRead: boolean;
738
+ readAt: string | null;
739
+ archivedAt: string | null;
740
+ openedAt: string | null;
741
+ clickedAt: string | null;
742
+ deliveredAt: string | null;
743
+ failedAt: string | null;
744
+ sentAt: string | null;
745
+ createdAt: string;
746
+ updatedAt: string;
747
+ redirectUrl: string | null;
748
+ subject: string | null;
749
+ htmlMessage: string | null;
750
+ data: Record<string, unknown> | null;
751
+ metadata: Record<string, unknown> | null;
752
+ expiresAt: string | null;
753
+ scheduledFor: string | null;
754
+ templateId: string | null;
755
+ templateVersion: number | null;
756
+ appName: string | null;
757
+ recipientEmail: string | null;
758
+ recipientPhone: string | null;
759
+ errorCode: string | null;
760
+ errorMessage: string | null;
761
+ userId: string;
762
+ topicId: string | null;
763
+ events: Array<{
764
+ id: string;
765
+ eventType: Types.NotificationEventType;
766
+ deliveryStatus: Types.NotificationDeliveryStatus | null;
767
+ timestamp: string;
768
+ details: Record<string, unknown> | null;
769
+ }>;
770
+ topic: {
771
+ id: string;
772
+ name: string;
773
+ slug: string;
774
+ type: Types.NotificationType;
775
+ description: string | null;
776
+ } | null;
777
+ actions: Array<{
778
+ id: string;
779
+ label: string;
780
+ url: string;
781
+ style: string | null;
782
+ actionType: string | null;
783
+ metadata: Record<string, unknown> | null;
784
+ }>;
785
+ media: Array<{
786
+ url: string;
787
+ label: string | null;
788
+ kind: string | null;
789
+ contentType: string | null;
790
+ thumbnailUrl: string | null;
791
+ }>;
792
+ scheduledNotification: {
793
+ id: string;
794
+ scheduledFor: string;
795
+ status: Types.ScheduledNotificationStatus;
796
+ timezone: string | null;
797
+ retryCount: number;
798
+ errorMessage: string | null;
799
+ } | null;
800
+ } | null;
801
+ };
802
+ export type GetNotificationEventsQueryVariables = Exact<{
803
+ notificationId: string | number;
804
+ }>;
805
+ export type GetNotificationEventsQuery = {
806
+ notificationEvents: Array<{
807
+ id: string;
808
+ notificationId: string;
809
+ eventType: Types.NotificationEventType;
810
+ deliveryStatus: Types.NotificationDeliveryStatus | null;
811
+ timestamp: string;
812
+ externalId: string | null;
813
+ channelServiceEventId: string | null;
814
+ details: Record<string, unknown> | null;
815
+ metadata: Record<string, unknown> | null;
816
+ }>;
817
+ };
818
+ export type GetNotificationHistoriesQueryVariables = Exact<{
819
+ filter?: Types.NotificationHistoryFilterInput | null | undefined;
820
+ limit?: number | null | undefined;
821
+ offset?: number | null | undefined;
822
+ }>;
823
+ export type GetNotificationHistoriesQuery = {
824
+ notificationHistories: {
825
+ total: number;
826
+ hasMore: boolean;
827
+ items: Array<{
828
+ id: string;
829
+ notificationId: string;
830
+ eventType: Types.NotificationEventType;
831
+ deliveryStatus: Types.NotificationDeliveryStatus | null;
832
+ channelServiceEventId: string | null;
833
+ externalId: string | null;
834
+ timestamp: string;
835
+ details: Record<string, unknown> | null;
836
+ metadata: Record<string, unknown> | null;
837
+ createdAt: string;
838
+ updatedAt: string;
839
+ }>;
840
+ };
841
+ };
842
+ export type GetNotificationPreferencesQueryVariables = Exact<{
843
+ filter?: Types.NotificationPreferenceFilterInput | null | undefined;
844
+ limit?: number | null | undefined;
845
+ offset?: number | null | undefined;
846
+ }>;
847
+ export type GetNotificationPreferencesQuery = {
848
+ notificationPreferences: {
849
+ total: number;
850
+ hasMore: boolean;
851
+ items: Array<{
852
+ id: string;
853
+ userId: string;
854
+ preferenceKey: string;
855
+ scope: Types.NotificationPreferenceScope;
856
+ channel: Types.NotificationChannel | null;
857
+ type: Types.NotificationType | null;
858
+ topicId: string | null;
859
+ enabled: boolean;
860
+ frequency: Types.NotificationPreferenceFrequency;
861
+ quietHoursStart: string | null;
862
+ quietHoursEnd: string | null;
863
+ timezone: string | null;
864
+ metadata: Record<string, unknown> | null;
865
+ createdAt: string;
866
+ updatedAt: string;
867
+ topic: {
868
+ id: string;
869
+ name: string;
870
+ slug: string;
871
+ type: Types.NotificationType;
872
+ description: string | null;
873
+ } | null;
874
+ }>;
875
+ };
876
+ };
877
+ export type GetNotificationStatsQueryVariables = Exact<{
878
+ filter?: Types.NotificationFilterInput | null | undefined;
879
+ }>;
880
+ export type GetNotificationStatsQuery = {
881
+ notificationStats: {
882
+ total: number;
883
+ pending: number;
884
+ sent: number;
885
+ delivered: number;
886
+ failed: number;
887
+ triggered: number;
888
+ scheduled: number;
889
+ cancelled: number;
890
+ byChannel: Record<string, unknown>;
891
+ byType: Record<string, unknown>;
892
+ };
893
+ };
894
+ export type GetNotificationTemplateQueryVariables = Exact<{
895
+ slug: string;
896
+ locale?: string | null | undefined;
897
+ }>;
898
+ export type GetNotificationTemplateQuery = {
899
+ notificationTemplate: {
900
+ id: string;
901
+ slug: string;
902
+ name: string;
903
+ description: string | null;
904
+ type: Types.NotificationType;
905
+ locale: string;
906
+ subject: string | null;
907
+ bodyTemplate: string;
908
+ htmlTemplate: string | null;
909
+ variables: Record<string, unknown>;
910
+ enabled: boolean;
911
+ version: number;
912
+ createdAt: string;
913
+ updatedAt: string;
914
+ createdBy: string;
915
+ metadata: Record<string, unknown> | null;
916
+ } | null;
917
+ };
918
+ export type GetNotificationTemplatesQueryVariables = Exact<{
919
+ filter?: Types.TemplateFilterInput | null | undefined;
920
+ limit?: number | null | undefined;
921
+ offset?: number | null | undefined;
922
+ }>;
923
+ export type GetNotificationTemplatesQuery = {
924
+ notificationTemplates: {
925
+ total: number;
926
+ hasMore: boolean;
927
+ items: Array<{
928
+ id: string;
929
+ slug: string;
930
+ name: string;
931
+ description: string | null;
932
+ type: Types.NotificationType;
933
+ locale: string;
934
+ subject: string | null;
935
+ bodyTemplate: string;
936
+ htmlTemplate: string | null;
937
+ variables: Record<string, unknown>;
938
+ enabled: boolean;
939
+ version: number;
940
+ createdAt: string;
941
+ updatedAt: string;
942
+ createdBy: string;
943
+ metadata: Record<string, unknown> | null;
944
+ }>;
945
+ };
946
+ };
947
+ export type GetNotificationTopicsQueryVariables = Exact<{
948
+ filter?: Types.NotificationTopicFilterInput | null | undefined;
949
+ limit?: number | null | undefined;
950
+ offset?: number | null | undefined;
951
+ }>;
952
+ export type GetNotificationTopicsQuery = {
953
+ notificationTopics: {
954
+ total: number;
955
+ hasMore: boolean;
956
+ items: Array<{
957
+ id: string;
958
+ slug: string;
959
+ name: string;
960
+ description: string | null;
961
+ type: Types.NotificationType;
962
+ isActive: boolean;
963
+ metadata: Record<string, unknown> | null;
964
+ subscriberCount: number | null;
965
+ createdAt: string;
966
+ updatedAt: string;
967
+ mySubscription: {
968
+ id: string;
969
+ subscribed: boolean;
970
+ unsubscribedAt: string | null;
971
+ userId: string;
972
+ topicId: string;
973
+ } | null;
974
+ }>;
975
+ };
976
+ };
977
+ export type GetNotificationsQueryVariables = Exact<{
978
+ filter?: Types.NotificationFilterInput | null | undefined;
979
+ limit?: number | null | undefined;
980
+ offset?: number | null | undefined;
981
+ }>;
982
+ export type GetNotificationsQuery = {
983
+ notifications: {
984
+ total: number;
985
+ hasMore: boolean;
986
+ items: Array<{
987
+ id: string;
988
+ type: Types.NotificationType;
989
+ priority: Types.NotificationPriority;
990
+ title: string;
991
+ message: string;
992
+ channel: Types.NotificationChannel;
993
+ status: Types.NotificationStatus;
994
+ deliveryStatus: Types.NotificationDeliveryStatus | null;
995
+ isRead: boolean;
996
+ readAt: string | null;
997
+ archivedAt: string | null;
998
+ openedAt: string | null;
999
+ clickedAt: string | null;
1000
+ deliveredAt: string | null;
1001
+ failedAt: string | null;
1002
+ sentAt: string | null;
1003
+ createdAt: string;
1004
+ updatedAt: string;
1005
+ redirectUrl: string | null;
1006
+ subject: string | null;
1007
+ htmlMessage: string | null;
1008
+ data: Record<string, unknown> | null;
1009
+ metadata: Record<string, unknown> | null;
1010
+ expiresAt: string | null;
1011
+ scheduledFor: string | null;
1012
+ templateId: string | null;
1013
+ templateVersion: number | null;
1014
+ appName: string | null;
1015
+ recipientEmail: string | null;
1016
+ recipientPhone: string | null;
1017
+ errorCode: string | null;
1018
+ errorMessage: string | null;
1019
+ userId: string;
1020
+ topicId: string | null;
1021
+ topic: {
1022
+ id: string;
1023
+ name: string;
1024
+ slug: string;
1025
+ type: Types.NotificationType;
1026
+ description: string | null;
1027
+ } | null;
1028
+ actions: Array<{
1029
+ id: string;
1030
+ label: string;
1031
+ url: string;
1032
+ style: string | null;
1033
+ actionType: string | null;
1034
+ metadata: Record<string, unknown> | null;
1035
+ }>;
1036
+ media: Array<{
1037
+ url: string;
1038
+ label: string | null;
1039
+ kind: string | null;
1040
+ contentType: string | null;
1041
+ thumbnailUrl: string | null;
1042
+ }>;
1043
+ scheduledNotification: {
1044
+ id: string;
1045
+ scheduledFor: string;
1046
+ status: Types.ScheduledNotificationStatus;
1047
+ timezone: string | null;
1048
+ retryCount: number;
1049
+ errorMessage: string | null;
1050
+ } | null;
1051
+ }>;
1052
+ };
1053
+ };
1054
+ export type GetScheduledNotificationsQueryVariables = Exact<{
1055
+ filter?: Types.ScheduledNotificationFilterInput | null | undefined;
1056
+ limit?: number | null | undefined;
1057
+ offset?: number | null | undefined;
1058
+ }>;
1059
+ export type GetScheduledNotificationsQuery = {
1060
+ scheduledNotifications: {
1061
+ total: number;
1062
+ hasMore: boolean;
1063
+ items: Array<{
1064
+ id: string;
1065
+ scheduledFor: string;
1066
+ status: Types.ScheduledNotificationStatus;
1067
+ timezone: string | null;
1068
+ retryCount: number;
1069
+ errorMessage: string | null;
1070
+ createdAt: string;
1071
+ notification: {
1072
+ id: string;
1073
+ title: string;
1074
+ message: string;
1075
+ type: Types.NotificationType;
1076
+ priority: Types.NotificationPriority;
1077
+ channel: Types.NotificationChannel;
1078
+ userId: string;
1079
+ topicId: string | null;
1080
+ };
1081
+ }>;
1082
+ };
1083
+ };
1084
+ export type SearchUsersQueryVariables = Exact<{
1085
+ filter?: Types.UserFilterInput | null | undefined;
1086
+ pagination?: Types.PaginationInput | null | undefined;
1087
+ }>;
1088
+ export type SearchUsersQuery = {
1089
+ users: {
1090
+ totalCount: number;
1091
+ users: Array<{
1092
+ id: string;
1093
+ name: string | null;
1094
+ email: string;
1095
+ phoneNumber: string | null;
1096
+ role: string;
1097
+ status: string;
1098
+ username: string;
1099
+ }>;
1100
+ };
1101
+ };
1102
+ export type NotificationReceivedSubscriptionVariables = Exact<{
1103
+ userId: string | number;
1104
+ }>;
1105
+ export type NotificationReceivedSubscription = {
1106
+ notificationReceived: {
1107
+ id: string;
1108
+ type: Types.NotificationType;
1109
+ priority: Types.NotificationPriority;
1110
+ title: string;
1111
+ message: string;
1112
+ channel: Types.NotificationChannel;
1113
+ status: Types.NotificationStatus;
1114
+ deliveryStatus: Types.NotificationDeliveryStatus | null;
1115
+ isRead: boolean;
1116
+ readAt: string | null;
1117
+ archivedAt: string | null;
1118
+ openedAt: string | null;
1119
+ clickedAt: string | null;
1120
+ deliveredAt: string | null;
1121
+ failedAt: string | null;
1122
+ sentAt: string | null;
1123
+ createdAt: string;
1124
+ updatedAt: string;
1125
+ redirectUrl: string | null;
1126
+ subject: string | null;
1127
+ htmlMessage: string | null;
1128
+ data: Record<string, unknown> | null;
1129
+ metadata: Record<string, unknown> | null;
1130
+ expiresAt: string | null;
1131
+ scheduledFor: string | null;
1132
+ templateId: string | null;
1133
+ templateVersion: number | null;
1134
+ appName: string | null;
1135
+ recipientEmail: string | null;
1136
+ recipientPhone: string | null;
1137
+ errorCode: string | null;
1138
+ errorMessage: string | null;
1139
+ userId: string;
1140
+ topicId: string | null;
1141
+ topic: {
1142
+ id: string;
1143
+ name: string;
1144
+ slug: string;
1145
+ type: Types.NotificationType;
1146
+ description: string | null;
1147
+ } | null;
1148
+ actions: Array<{
1149
+ id: string;
1150
+ label: string;
1151
+ url: string;
1152
+ style: string | null;
1153
+ actionType: string | null;
1154
+ metadata: Record<string, unknown> | null;
1155
+ }>;
1156
+ media: Array<{
1157
+ url: string;
1158
+ label: string | null;
1159
+ kind: string | null;
1160
+ contentType: string | null;
1161
+ thumbnailUrl: string | null;
1162
+ }>;
1163
+ scheduledNotification: {
1164
+ id: string;
1165
+ scheduledFor: string;
1166
+ status: Types.ScheduledNotificationStatus;
1167
+ timezone: string | null;
1168
+ retryCount: number;
1169
+ errorMessage: string | null;
1170
+ } | null;
1171
+ } | null;
1172
+ };
1173
+ export type UnreadCountUpdatedSubscriptionVariables = Exact<{
1174
+ userId: string | number;
1175
+ }>;
1176
+ export type UnreadCountUpdatedSubscription = {
1177
+ unreadCountUpdated: number | null;
1178
+ };
1179
+ export declare const NotificationTopicSummaryFieldsFragmentDoc: Apollo.DocumentNode;
1180
+ export declare const NotificationActionFieldsFragmentDoc: Apollo.DocumentNode;
1181
+ export declare const NotificationMediaFieldsFragmentDoc: Apollo.DocumentNode;
1182
+ export declare const ScheduledNotificationSummaryFieldsFragmentDoc: Apollo.DocumentNode;
1183
+ export declare const NotificationFieldsFragmentDoc: Apollo.DocumentNode;
1184
+ export declare const NotificationHistoryFieldsFragmentDoc: Apollo.DocumentNode;
1185
+ export declare const NotificationPreferenceFieldsFragmentDoc: Apollo.DocumentNode;
1186
+ export declare const ArchiveNotificationDocument: Apollo.DocumentNode;
1187
+ export type ArchiveNotificationMutationFn = Apollo.MutationFunction<Types.ArchiveNotificationMutation, Types.ArchiveNotificationMutationVariables>;
1188
+ /**
1189
+ * __useArchiveNotificationMutation__
1190
+ *
1191
+ * To run a mutation, you first call `useArchiveNotificationMutation` within a React component and pass it any options that fit your needs.
1192
+ * When your component renders, `useArchiveNotificationMutation` returns a tuple that includes:
1193
+ * - A mutate function that you can call at any time to execute the mutation
1194
+ * - An object with fields that represent the current status of the mutation's execution
1195
+ *
1196
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1197
+ *
1198
+ * @example
1199
+ * const [archiveNotificationMutation, { data, loading, error }] = useArchiveNotificationMutation({
1200
+ * variables: {
1201
+ * id: // value for 'id'
1202
+ * },
1203
+ * });
1204
+ */
1205
+ export declare function useArchiveNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ArchiveNotificationMutation, Types.ArchiveNotificationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ArchiveNotificationMutation, any, Apollo.ApolloCache, undefined>;
1206
+ export type ArchiveNotificationMutationHookResult = ReturnType<typeof useArchiveNotificationMutation>;
1207
+ export type ArchiveNotificationMutationResult = Apollo.MutationResult<Types.ArchiveNotificationMutation>;
1208
+ export type ArchiveNotificationMutationOptions = Apollo.BaseMutationOptions<Types.ArchiveNotificationMutation, Types.ArchiveNotificationMutationVariables>;
1209
+ export declare const ArchiveNotificationsDocument: Apollo.DocumentNode;
1210
+ export type ArchiveNotificationsMutationFn = Apollo.MutationFunction<Types.ArchiveNotificationsMutation, Types.ArchiveNotificationsMutationVariables>;
1211
+ /**
1212
+ * __useArchiveNotificationsMutation__
1213
+ *
1214
+ * To run a mutation, you first call `useArchiveNotificationsMutation` within a React component and pass it any options that fit your needs.
1215
+ * When your component renders, `useArchiveNotificationsMutation` returns a tuple that includes:
1216
+ * - A mutate function that you can call at any time to execute the mutation
1217
+ * - An object with fields that represent the current status of the mutation's execution
1218
+ *
1219
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1220
+ *
1221
+ * @example
1222
+ * const [archiveNotificationsMutation, { data, loading, error }] = useArchiveNotificationsMutation({
1223
+ * variables: {
1224
+ * notificationIds: // value for 'notificationIds'
1225
+ * },
1226
+ * });
1227
+ */
1228
+ export declare function useArchiveNotificationsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ArchiveNotificationsMutation, Types.ArchiveNotificationsMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ArchiveNotificationsMutation, any, Apollo.ApolloCache, undefined>;
1229
+ export type ArchiveNotificationsMutationHookResult = ReturnType<typeof useArchiveNotificationsMutation>;
1230
+ export type ArchiveNotificationsMutationResult = Apollo.MutationResult<Types.ArchiveNotificationsMutation>;
1231
+ export type ArchiveNotificationsMutationOptions = Apollo.BaseMutationOptions<Types.ArchiveNotificationsMutation, Types.ArchiveNotificationsMutationVariables>;
1232
+ export declare const CancelScheduledNotificationDocument: Apollo.DocumentNode;
1233
+ export type CancelScheduledNotificationMutationFn = Apollo.MutationFunction<Types.CancelScheduledNotificationMutation, Types.CancelScheduledNotificationMutationVariables>;
1234
+ /**
1235
+ * __useCancelScheduledNotificationMutation__
1236
+ *
1237
+ * To run a mutation, you first call `useCancelScheduledNotificationMutation` within a React component and pass it any options that fit your needs.
1238
+ * When your component renders, `useCancelScheduledNotificationMutation` returns a tuple that includes:
1239
+ * - A mutate function that you can call at any time to execute the mutation
1240
+ * - An object with fields that represent the current status of the mutation's execution
1241
+ *
1242
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1243
+ *
1244
+ * @example
1245
+ * const [cancelScheduledNotificationMutation, { data, loading, error }] = useCancelScheduledNotificationMutation({
1246
+ * variables: {
1247
+ * id: // value for 'id'
1248
+ * },
1249
+ * });
1250
+ */
1251
+ export declare function useCancelScheduledNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CancelScheduledNotificationMutation, Types.CancelScheduledNotificationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CancelScheduledNotificationMutation, any, Apollo.ApolloCache, undefined>;
1252
+ export type CancelScheduledNotificationMutationHookResult = ReturnType<typeof useCancelScheduledNotificationMutation>;
1253
+ export type CancelScheduledNotificationMutationResult = Apollo.MutationResult<Types.CancelScheduledNotificationMutation>;
1254
+ export type CancelScheduledNotificationMutationOptions = Apollo.BaseMutationOptions<Types.CancelScheduledNotificationMutation, Types.CancelScheduledNotificationMutationVariables>;
1255
+ export declare const CreateNotificationPreferenceDocument: Apollo.DocumentNode;
1256
+ export type CreateNotificationPreferenceMutationFn = Apollo.MutationFunction<Types.CreateNotificationPreferenceMutation, Types.CreateNotificationPreferenceMutationVariables>;
1257
+ /**
1258
+ * __useCreateNotificationPreferenceMutation__
1259
+ *
1260
+ * To run a mutation, you first call `useCreateNotificationPreferenceMutation` within a React component and pass it any options that fit your needs.
1261
+ * When your component renders, `useCreateNotificationPreferenceMutation` returns a tuple that includes:
1262
+ * - A mutate function that you can call at any time to execute the mutation
1263
+ * - An object with fields that represent the current status of the mutation's execution
1264
+ *
1265
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1266
+ *
1267
+ * @example
1268
+ * const [createNotificationPreferenceMutation, { data, loading, error }] = useCreateNotificationPreferenceMutation({
1269
+ * variables: {
1270
+ * input: // value for 'input'
1271
+ * },
1272
+ * });
1273
+ */
1274
+ export declare function useCreateNotificationPreferenceMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateNotificationPreferenceMutation, Types.CreateNotificationPreferenceMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CreateNotificationPreferenceMutation, any, Apollo.ApolloCache, undefined>;
1275
+ export type CreateNotificationPreferenceMutationHookResult = ReturnType<typeof useCreateNotificationPreferenceMutation>;
1276
+ export type CreateNotificationPreferenceMutationResult = Apollo.MutationResult<Types.CreateNotificationPreferenceMutation>;
1277
+ export type CreateNotificationPreferenceMutationOptions = Apollo.BaseMutationOptions<Types.CreateNotificationPreferenceMutation, Types.CreateNotificationPreferenceMutationVariables>;
1278
+ export declare const CreateNotificationTemplateDocument: Apollo.DocumentNode;
1279
+ export type CreateNotificationTemplateMutationFn = Apollo.MutationFunction<Types.CreateNotificationTemplateMutation, Types.CreateNotificationTemplateMutationVariables>;
1280
+ /**
1281
+ * __useCreateNotificationTemplateMutation__
1282
+ *
1283
+ * To run a mutation, you first call `useCreateNotificationTemplateMutation` within a React component and pass it any options that fit your needs.
1284
+ * When your component renders, `useCreateNotificationTemplateMutation` returns a tuple that includes:
1285
+ * - A mutate function that you can call at any time to execute the mutation
1286
+ * - An object with fields that represent the current status of the mutation's execution
1287
+ *
1288
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1289
+ *
1290
+ * @example
1291
+ * const [createNotificationTemplateMutation, { data, loading, error }] = useCreateNotificationTemplateMutation({
1292
+ * variables: {
1293
+ * input: // value for 'input'
1294
+ * },
1295
+ * });
1296
+ */
1297
+ export declare function useCreateNotificationTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateNotificationTemplateMutation, Types.CreateNotificationTemplateMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CreateNotificationTemplateMutation, any, Apollo.ApolloCache, undefined>;
1298
+ export type CreateNotificationTemplateMutationHookResult = ReturnType<typeof useCreateNotificationTemplateMutation>;
1299
+ export type CreateNotificationTemplateMutationResult = Apollo.MutationResult<Types.CreateNotificationTemplateMutation>;
1300
+ export type CreateNotificationTemplateMutationOptions = Apollo.BaseMutationOptions<Types.CreateNotificationTemplateMutation, Types.CreateNotificationTemplateMutationVariables>;
1301
+ export declare const CreateNotificationTopicDocument: Apollo.DocumentNode;
1302
+ export type CreateNotificationTopicMutationFn = Apollo.MutationFunction<Types.CreateNotificationTopicMutation, Types.CreateNotificationTopicMutationVariables>;
1303
+ /**
1304
+ * __useCreateNotificationTopicMutation__
1305
+ *
1306
+ * To run a mutation, you first call `useCreateNotificationTopicMutation` within a React component and pass it any options that fit your needs.
1307
+ * When your component renders, `useCreateNotificationTopicMutation` returns a tuple that includes:
1308
+ * - A mutate function that you can call at any time to execute the mutation
1309
+ * - An object with fields that represent the current status of the mutation's execution
1310
+ *
1311
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1312
+ *
1313
+ * @example
1314
+ * const [createNotificationTopicMutation, { data, loading, error }] = useCreateNotificationTopicMutation({
1315
+ * variables: {
1316
+ * input: // value for 'input'
1317
+ * },
1318
+ * });
1319
+ */
1320
+ export declare function useCreateNotificationTopicMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateNotificationTopicMutation, Types.CreateNotificationTopicMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CreateNotificationTopicMutation, any, Apollo.ApolloCache, undefined>;
1321
+ export type CreateNotificationTopicMutationHookResult = ReturnType<typeof useCreateNotificationTopicMutation>;
1322
+ export type CreateNotificationTopicMutationResult = Apollo.MutationResult<Types.CreateNotificationTopicMutation>;
1323
+ export type CreateNotificationTopicMutationOptions = Apollo.BaseMutationOptions<Types.CreateNotificationTopicMutation, Types.CreateNotificationTopicMutationVariables>;
1324
+ export declare const DeleteNotificationDocument: Apollo.DocumentNode;
1325
+ export type DeleteNotificationMutationFn = Apollo.MutationFunction<Types.DeleteNotificationMutation, Types.DeleteNotificationMutationVariables>;
1326
+ /**
1327
+ * __useDeleteNotificationMutation__
1328
+ *
1329
+ * To run a mutation, you first call `useDeleteNotificationMutation` within a React component and pass it any options that fit your needs.
1330
+ * When your component renders, `useDeleteNotificationMutation` returns a tuple that includes:
1331
+ * - A mutate function that you can call at any time to execute the mutation
1332
+ * - An object with fields that represent the current status of the mutation's execution
1333
+ *
1334
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1335
+ *
1336
+ * @example
1337
+ * const [deleteNotificationMutation, { data, loading, error }] = useDeleteNotificationMutation({
1338
+ * variables: {
1339
+ * id: // value for 'id'
1340
+ * },
1341
+ * });
1342
+ */
1343
+ export declare function useDeleteNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteNotificationMutation, Types.DeleteNotificationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.DeleteNotificationMutation, any, Apollo.ApolloCache, undefined>;
1344
+ export type DeleteNotificationMutationHookResult = ReturnType<typeof useDeleteNotificationMutation>;
1345
+ export type DeleteNotificationMutationResult = Apollo.MutationResult<Types.DeleteNotificationMutation>;
1346
+ export type DeleteNotificationMutationOptions = Apollo.BaseMutationOptions<Types.DeleteNotificationMutation, Types.DeleteNotificationMutationVariables>;
1347
+ export declare const DeleteNotificationPreferenceDocument: Apollo.DocumentNode;
1348
+ export type DeleteNotificationPreferenceMutationFn = Apollo.MutationFunction<Types.DeleteNotificationPreferenceMutation, Types.DeleteNotificationPreferenceMutationVariables>;
1349
+ /**
1350
+ * __useDeleteNotificationPreferenceMutation__
1351
+ *
1352
+ * To run a mutation, you first call `useDeleteNotificationPreferenceMutation` within a React component and pass it any options that fit your needs.
1353
+ * When your component renders, `useDeleteNotificationPreferenceMutation` returns a tuple that includes:
1354
+ * - A mutate function that you can call at any time to execute the mutation
1355
+ * - An object with fields that represent the current status of the mutation's execution
1356
+ *
1357
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1358
+ *
1359
+ * @example
1360
+ * const [deleteNotificationPreferenceMutation, { data, loading, error }] = useDeleteNotificationPreferenceMutation({
1361
+ * variables: {
1362
+ * id: // value for 'id'
1363
+ * },
1364
+ * });
1365
+ */
1366
+ export declare function useDeleteNotificationPreferenceMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteNotificationPreferenceMutation, Types.DeleteNotificationPreferenceMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.DeleteNotificationPreferenceMutation, any, Apollo.ApolloCache, undefined>;
1367
+ export type DeleteNotificationPreferenceMutationHookResult = ReturnType<typeof useDeleteNotificationPreferenceMutation>;
1368
+ export type DeleteNotificationPreferenceMutationResult = Apollo.MutationResult<Types.DeleteNotificationPreferenceMutation>;
1369
+ export type DeleteNotificationPreferenceMutationOptions = Apollo.BaseMutationOptions<Types.DeleteNotificationPreferenceMutation, Types.DeleteNotificationPreferenceMutationVariables>;
1370
+ export declare const DeleteNotificationTemplateDocument: Apollo.DocumentNode;
1371
+ export type DeleteNotificationTemplateMutationFn = Apollo.MutationFunction<Types.DeleteNotificationTemplateMutation, Types.DeleteNotificationTemplateMutationVariables>;
1372
+ /**
1373
+ * __useDeleteNotificationTemplateMutation__
1374
+ *
1375
+ * To run a mutation, you first call `useDeleteNotificationTemplateMutation` within a React component and pass it any options that fit your needs.
1376
+ * When your component renders, `useDeleteNotificationTemplateMutation` returns a tuple that includes:
1377
+ * - A mutate function that you can call at any time to execute the mutation
1378
+ * - An object with fields that represent the current status of the mutation's execution
1379
+ *
1380
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1381
+ *
1382
+ * @example
1383
+ * const [deleteNotificationTemplateMutation, { data, loading, error }] = useDeleteNotificationTemplateMutation({
1384
+ * variables: {
1385
+ * id: // value for 'id'
1386
+ * },
1387
+ * });
1388
+ */
1389
+ export declare function useDeleteNotificationTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteNotificationTemplateMutation, Types.DeleteNotificationTemplateMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.DeleteNotificationTemplateMutation, any, Apollo.ApolloCache, undefined>;
1390
+ export type DeleteNotificationTemplateMutationHookResult = ReturnType<typeof useDeleteNotificationTemplateMutation>;
1391
+ export type DeleteNotificationTemplateMutationResult = Apollo.MutationResult<Types.DeleteNotificationTemplateMutation>;
1392
+ export type DeleteNotificationTemplateMutationOptions = Apollo.BaseMutationOptions<Types.DeleteNotificationTemplateMutation, Types.DeleteNotificationTemplateMutationVariables>;
1393
+ export declare const DeleteNotificationTopicDocument: Apollo.DocumentNode;
1394
+ export type DeleteNotificationTopicMutationFn = Apollo.MutationFunction<Types.DeleteNotificationTopicMutation, Types.DeleteNotificationTopicMutationVariables>;
1395
+ /**
1396
+ * __useDeleteNotificationTopicMutation__
1397
+ *
1398
+ * To run a mutation, you first call `useDeleteNotificationTopicMutation` within a React component and pass it any options that fit your needs.
1399
+ * When your component renders, `useDeleteNotificationTopicMutation` returns a tuple that includes:
1400
+ * - A mutate function that you can call at any time to execute the mutation
1401
+ * - An object with fields that represent the current status of the mutation's execution
1402
+ *
1403
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1404
+ *
1405
+ * @example
1406
+ * const [deleteNotificationTopicMutation, { data, loading, error }] = useDeleteNotificationTopicMutation({
1407
+ * variables: {
1408
+ * id: // value for 'id'
1409
+ * },
1410
+ * });
1411
+ */
1412
+ export declare function useDeleteNotificationTopicMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteNotificationTopicMutation, Types.DeleteNotificationTopicMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.DeleteNotificationTopicMutation, any, Apollo.ApolloCache, undefined>;
1413
+ export type DeleteNotificationTopicMutationHookResult = ReturnType<typeof useDeleteNotificationTopicMutation>;
1414
+ export type DeleteNotificationTopicMutationResult = Apollo.MutationResult<Types.DeleteNotificationTopicMutation>;
1415
+ export type DeleteNotificationTopicMutationOptions = Apollo.BaseMutationOptions<Types.DeleteNotificationTopicMutation, Types.DeleteNotificationTopicMutationVariables>;
1416
+ export declare const DeleteNotificationsDocument: Apollo.DocumentNode;
1417
+ export type DeleteNotificationsMutationFn = Apollo.MutationFunction<Types.DeleteNotificationsMutation, Types.DeleteNotificationsMutationVariables>;
1418
+ /**
1419
+ * __useDeleteNotificationsMutation__
1420
+ *
1421
+ * To run a mutation, you first call `useDeleteNotificationsMutation` within a React component and pass it any options that fit your needs.
1422
+ * When your component renders, `useDeleteNotificationsMutation` returns a tuple that includes:
1423
+ * - A mutate function that you can call at any time to execute the mutation
1424
+ * - An object with fields that represent the current status of the mutation's execution
1425
+ *
1426
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1427
+ *
1428
+ * @example
1429
+ * const [deleteNotificationsMutation, { data, loading, error }] = useDeleteNotificationsMutation({
1430
+ * variables: {
1431
+ * notificationIds: // value for 'notificationIds'
1432
+ * },
1433
+ * });
1434
+ */
1435
+ export declare function useDeleteNotificationsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteNotificationsMutation, Types.DeleteNotificationsMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.DeleteNotificationsMutation, any, Apollo.ApolloCache, undefined>;
1436
+ export type DeleteNotificationsMutationHookResult = ReturnType<typeof useDeleteNotificationsMutation>;
1437
+ export type DeleteNotificationsMutationResult = Apollo.MutationResult<Types.DeleteNotificationsMutation>;
1438
+ export type DeleteNotificationsMutationOptions = Apollo.BaseMutationOptions<Types.DeleteNotificationsMutation, Types.DeleteNotificationsMutationVariables>;
1439
+ export declare const MarkAllMyNotificationsAsReadDocument: Apollo.DocumentNode;
1440
+ export type MarkAllMyNotificationsAsReadMutationFn = Apollo.MutationFunction<Types.MarkAllMyNotificationsAsReadMutation, Types.MarkAllMyNotificationsAsReadMutationVariables>;
1441
+ /**
1442
+ * __useMarkAllMyNotificationsAsReadMutation__
1443
+ *
1444
+ * To run a mutation, you first call `useMarkAllMyNotificationsAsReadMutation` within a React component and pass it any options that fit your needs.
1445
+ * When your component renders, `useMarkAllMyNotificationsAsReadMutation` returns a tuple that includes:
1446
+ * - A mutate function that you can call at any time to execute the mutation
1447
+ * - An object with fields that represent the current status of the mutation's execution
1448
+ *
1449
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1450
+ *
1451
+ * @example
1452
+ * const [markAllMyNotificationsAsReadMutation, { data, loading, error }] = useMarkAllMyNotificationsAsReadMutation({
1453
+ * variables: {
1454
+ * },
1455
+ * });
1456
+ */
1457
+ export declare function useMarkAllMyNotificationsAsReadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MarkAllMyNotificationsAsReadMutation, Types.MarkAllMyNotificationsAsReadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.MarkAllMyNotificationsAsReadMutation, any, Apollo.ApolloCache, undefined>;
1458
+ export type MarkAllMyNotificationsAsReadMutationHookResult = ReturnType<typeof useMarkAllMyNotificationsAsReadMutation>;
1459
+ export type MarkAllMyNotificationsAsReadMutationResult = Apollo.MutationResult<Types.MarkAllMyNotificationsAsReadMutation>;
1460
+ export type MarkAllMyNotificationsAsReadMutationOptions = Apollo.BaseMutationOptions<Types.MarkAllMyNotificationsAsReadMutation, Types.MarkAllMyNotificationsAsReadMutationVariables>;
1461
+ export declare const MarkNotificationAsReadDocument: Apollo.DocumentNode;
1462
+ export type MarkNotificationAsReadMutationFn = Apollo.MutationFunction<Types.MarkNotificationAsReadMutation, Types.MarkNotificationAsReadMutationVariables>;
1463
+ /**
1464
+ * __useMarkNotificationAsReadMutation__
1465
+ *
1466
+ * To run a mutation, you first call `useMarkNotificationAsReadMutation` within a React component and pass it any options that fit your needs.
1467
+ * When your component renders, `useMarkNotificationAsReadMutation` returns a tuple that includes:
1468
+ * - A mutate function that you can call at any time to execute the mutation
1469
+ * - An object with fields that represent the current status of the mutation's execution
1470
+ *
1471
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1472
+ *
1473
+ * @example
1474
+ * const [markNotificationAsReadMutation, { data, loading, error }] = useMarkNotificationAsReadMutation({
1475
+ * variables: {
1476
+ * id: // value for 'id'
1477
+ * },
1478
+ * });
1479
+ */
1480
+ export declare function useMarkNotificationAsReadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MarkNotificationAsReadMutation, Types.MarkNotificationAsReadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.MarkNotificationAsReadMutation, any, Apollo.ApolloCache, undefined>;
1481
+ export type MarkNotificationAsReadMutationHookResult = ReturnType<typeof useMarkNotificationAsReadMutation>;
1482
+ export type MarkNotificationAsReadMutationResult = Apollo.MutationResult<Types.MarkNotificationAsReadMutation>;
1483
+ export type MarkNotificationAsReadMutationOptions = Apollo.BaseMutationOptions<Types.MarkNotificationAsReadMutation, Types.MarkNotificationAsReadMutationVariables>;
1484
+ export declare const MarkNotificationsAsReadDocument: Apollo.DocumentNode;
1485
+ export type MarkNotificationsAsReadMutationFn = Apollo.MutationFunction<Types.MarkNotificationsAsReadMutation, Types.MarkNotificationsAsReadMutationVariables>;
1486
+ /**
1487
+ * __useMarkNotificationsAsReadMutation__
1488
+ *
1489
+ * To run a mutation, you first call `useMarkNotificationsAsReadMutation` within a React component and pass it any options that fit your needs.
1490
+ * When your component renders, `useMarkNotificationsAsReadMutation` returns a tuple that includes:
1491
+ * - A mutate function that you can call at any time to execute the mutation
1492
+ * - An object with fields that represent the current status of the mutation's execution
1493
+ *
1494
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1495
+ *
1496
+ * @example
1497
+ * const [markNotificationsAsReadMutation, { data, loading, error }] = useMarkNotificationsAsReadMutation({
1498
+ * variables: {
1499
+ * notificationIds: // value for 'notificationIds'
1500
+ * },
1501
+ * });
1502
+ */
1503
+ export declare function useMarkNotificationsAsReadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MarkNotificationsAsReadMutation, Types.MarkNotificationsAsReadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.MarkNotificationsAsReadMutation, any, Apollo.ApolloCache, undefined>;
1504
+ export type MarkNotificationsAsReadMutationHookResult = ReturnType<typeof useMarkNotificationsAsReadMutation>;
1505
+ export type MarkNotificationsAsReadMutationResult = Apollo.MutationResult<Types.MarkNotificationsAsReadMutation>;
1506
+ export type MarkNotificationsAsReadMutationOptions = Apollo.BaseMutationOptions<Types.MarkNotificationsAsReadMutation, Types.MarkNotificationsAsReadMutationVariables>;
1507
+ export declare const RecordNotificationActionDocument: Apollo.DocumentNode;
1508
+ export type RecordNotificationActionMutationFn = Apollo.MutationFunction<Types.RecordNotificationActionMutation, Types.RecordNotificationActionMutationVariables>;
1509
+ /**
1510
+ * __useRecordNotificationActionMutation__
1511
+ *
1512
+ * To run a mutation, you first call `useRecordNotificationActionMutation` within a React component and pass it any options that fit your needs.
1513
+ * When your component renders, `useRecordNotificationActionMutation` returns a tuple that includes:
1514
+ * - A mutate function that you can call at any time to execute the mutation
1515
+ * - An object with fields that represent the current status of the mutation's execution
1516
+ *
1517
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1518
+ *
1519
+ * @example
1520
+ * const [recordNotificationActionMutation, { data, loading, error }] = useRecordNotificationActionMutation({
1521
+ * variables: {
1522
+ * input: // value for 'input'
1523
+ * },
1524
+ * });
1525
+ */
1526
+ export declare function useRecordNotificationActionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RecordNotificationActionMutation, Types.RecordNotificationActionMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.RecordNotificationActionMutation, any, Apollo.ApolloCache, undefined>;
1527
+ export type RecordNotificationActionMutationHookResult = ReturnType<typeof useRecordNotificationActionMutation>;
1528
+ export type RecordNotificationActionMutationResult = Apollo.MutationResult<Types.RecordNotificationActionMutation>;
1529
+ export type RecordNotificationActionMutationOptions = Apollo.BaseMutationOptions<Types.RecordNotificationActionMutation, Types.RecordNotificationActionMutationVariables>;
1530
+ export declare const RescheduleNotificationDocument: Apollo.DocumentNode;
1531
+ export type RescheduleNotificationMutationFn = Apollo.MutationFunction<Types.RescheduleNotificationMutation, Types.RescheduleNotificationMutationVariables>;
1532
+ /**
1533
+ * __useRescheduleNotificationMutation__
1534
+ *
1535
+ * To run a mutation, you first call `useRescheduleNotificationMutation` within a React component and pass it any options that fit your needs.
1536
+ * When your component renders, `useRescheduleNotificationMutation` returns a tuple that includes:
1537
+ * - A mutate function that you can call at any time to execute the mutation
1538
+ * - An object with fields that represent the current status of the mutation's execution
1539
+ *
1540
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1541
+ *
1542
+ * @example
1543
+ * const [rescheduleNotificationMutation, { data, loading, error }] = useRescheduleNotificationMutation({
1544
+ * variables: {
1545
+ * input: // value for 'input'
1546
+ * },
1547
+ * });
1548
+ */
1549
+ export declare function useRescheduleNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RescheduleNotificationMutation, Types.RescheduleNotificationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.RescheduleNotificationMutation, any, Apollo.ApolloCache, undefined>;
1550
+ export type RescheduleNotificationMutationHookResult = ReturnType<typeof useRescheduleNotificationMutation>;
1551
+ export type RescheduleNotificationMutationResult = Apollo.MutationResult<Types.RescheduleNotificationMutation>;
1552
+ export type RescheduleNotificationMutationOptions = Apollo.BaseMutationOptions<Types.RescheduleNotificationMutation, Types.RescheduleNotificationMutationVariables>;
1553
+ export declare const SetNotificationTopicSubscriptionDocument: Apollo.DocumentNode;
1554
+ export type SetNotificationTopicSubscriptionMutationFn = Apollo.MutationFunction<Types.SetNotificationTopicSubscriptionMutation, Types.SetNotificationTopicSubscriptionMutationVariables>;
1555
+ /**
1556
+ * __useSetNotificationTopicSubscriptionMutation__
1557
+ *
1558
+ * To run a mutation, you first call `useSetNotificationTopicSubscriptionMutation` within a React component and pass it any options that fit your needs.
1559
+ * When your component renders, `useSetNotificationTopicSubscriptionMutation` returns a tuple that includes:
1560
+ * - A mutate function that you can call at any time to execute the mutation
1561
+ * - An object with fields that represent the current status of the mutation's execution
1562
+ *
1563
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1564
+ *
1565
+ * @example
1566
+ * const [setNotificationTopicSubscriptionMutation, { data, loading, error }] = useSetNotificationTopicSubscriptionMutation({
1567
+ * variables: {
1568
+ * input: // value for 'input'
1569
+ * },
1570
+ * });
1571
+ */
1572
+ export declare function useSetNotificationTopicSubscriptionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.SetNotificationTopicSubscriptionMutation, Types.SetNotificationTopicSubscriptionMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.SetNotificationTopicSubscriptionMutation, any, Apollo.ApolloCache, undefined>;
1573
+ export type SetNotificationTopicSubscriptionMutationHookResult = ReturnType<typeof useSetNotificationTopicSubscriptionMutation>;
1574
+ export type SetNotificationTopicSubscriptionMutationResult = Apollo.MutationResult<Types.SetNotificationTopicSubscriptionMutation>;
1575
+ export type SetNotificationTopicSubscriptionMutationOptions = Apollo.BaseMutationOptions<Types.SetNotificationTopicSubscriptionMutation, Types.SetNotificationTopicSubscriptionMutationVariables>;
1576
+ export declare const TriggerBatchNotificationsDocument: Apollo.DocumentNode;
1577
+ export type TriggerBatchNotificationsMutationFn = Apollo.MutationFunction<Types.TriggerBatchNotificationsMutation, Types.TriggerBatchNotificationsMutationVariables>;
1578
+ /**
1579
+ * __useTriggerBatchNotificationsMutation__
1580
+ *
1581
+ * To run a mutation, you first call `useTriggerBatchNotificationsMutation` within a React component and pass it any options that fit your needs.
1582
+ * When your component renders, `useTriggerBatchNotificationsMutation` returns a tuple that includes:
1583
+ * - A mutate function that you can call at any time to execute the mutation
1584
+ * - An object with fields that represent the current status of the mutation's execution
1585
+ *
1586
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1587
+ *
1588
+ * @example
1589
+ * const [triggerBatchNotificationsMutation, { data, loading, error }] = useTriggerBatchNotificationsMutation({
1590
+ * variables: {
1591
+ * input: // value for 'input'
1592
+ * },
1593
+ * });
1594
+ */
1595
+ export declare function useTriggerBatchNotificationsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TriggerBatchNotificationsMutation, Types.TriggerBatchNotificationsMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.TriggerBatchNotificationsMutation, any, Apollo.ApolloCache, undefined>;
1596
+ export type TriggerBatchNotificationsMutationHookResult = ReturnType<typeof useTriggerBatchNotificationsMutation>;
1597
+ export type TriggerBatchNotificationsMutationResult = Apollo.MutationResult<Types.TriggerBatchNotificationsMutation>;
1598
+ export type TriggerBatchNotificationsMutationOptions = Apollo.BaseMutationOptions<Types.TriggerBatchNotificationsMutation, Types.TriggerBatchNotificationsMutationVariables>;
1599
+ export declare const TriggerNotificationDocument: Apollo.DocumentNode;
1600
+ export type TriggerNotificationMutationFn = Apollo.MutationFunction<Types.TriggerNotificationMutation, Types.TriggerNotificationMutationVariables>;
1601
+ /**
1602
+ * __useTriggerNotificationMutation__
1603
+ *
1604
+ * To run a mutation, you first call `useTriggerNotificationMutation` within a React component and pass it any options that fit your needs.
1605
+ * When your component renders, `useTriggerNotificationMutation` returns a tuple that includes:
1606
+ * - A mutate function that you can call at any time to execute the mutation
1607
+ * - An object with fields that represent the current status of the mutation's execution
1608
+ *
1609
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1610
+ *
1611
+ * @example
1612
+ * const [triggerNotificationMutation, { data, loading, error }] = useTriggerNotificationMutation({
1613
+ * variables: {
1614
+ * input: // value for 'input'
1615
+ * },
1616
+ * });
1617
+ */
1618
+ export declare function useTriggerNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TriggerNotificationMutation, Types.TriggerNotificationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.TriggerNotificationMutation, any, Apollo.ApolloCache, undefined>;
1619
+ export type TriggerNotificationMutationHookResult = ReturnType<typeof useTriggerNotificationMutation>;
1620
+ export type TriggerNotificationMutationResult = Apollo.MutationResult<Types.TriggerNotificationMutation>;
1621
+ export type TriggerNotificationMutationOptions = Apollo.BaseMutationOptions<Types.TriggerNotificationMutation, Types.TriggerNotificationMutationVariables>;
1622
+ export declare const TriggerNotificationWithTemplateDocument: Apollo.DocumentNode;
1623
+ export type TriggerNotificationWithTemplateMutationFn = Apollo.MutationFunction<Types.TriggerNotificationWithTemplateMutation, Types.TriggerNotificationWithTemplateMutationVariables>;
1624
+ /**
1625
+ * __useTriggerNotificationWithTemplateMutation__
1626
+ *
1627
+ * To run a mutation, you first call `useTriggerNotificationWithTemplateMutation` within a React component and pass it any options that fit your needs.
1628
+ * When your component renders, `useTriggerNotificationWithTemplateMutation` returns a tuple that includes:
1629
+ * - A mutate function that you can call at any time to execute the mutation
1630
+ * - An object with fields that represent the current status of the mutation's execution
1631
+ *
1632
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1633
+ *
1634
+ * @example
1635
+ * const [triggerNotificationWithTemplateMutation, { data, loading, error }] = useTriggerNotificationWithTemplateMutation({
1636
+ * variables: {
1637
+ * input: // value for 'input'
1638
+ * },
1639
+ * });
1640
+ */
1641
+ export declare function useTriggerNotificationWithTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TriggerNotificationWithTemplateMutation, Types.TriggerNotificationWithTemplateMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.TriggerNotificationWithTemplateMutation, any, Apollo.ApolloCache, undefined>;
1642
+ export type TriggerNotificationWithTemplateMutationHookResult = ReturnType<typeof useTriggerNotificationWithTemplateMutation>;
1643
+ export type TriggerNotificationWithTemplateMutationResult = Apollo.MutationResult<Types.TriggerNotificationWithTemplateMutation>;
1644
+ export type TriggerNotificationWithTemplateMutationOptions = Apollo.BaseMutationOptions<Types.TriggerNotificationWithTemplateMutation, Types.TriggerNotificationWithTemplateMutationVariables>;
1645
+ export declare const UnarchiveNotificationDocument: Apollo.DocumentNode;
1646
+ export type UnarchiveNotificationMutationFn = Apollo.MutationFunction<Types.UnarchiveNotificationMutation, Types.UnarchiveNotificationMutationVariables>;
1647
+ /**
1648
+ * __useUnarchiveNotificationMutation__
1649
+ *
1650
+ * To run a mutation, you first call `useUnarchiveNotificationMutation` within a React component and pass it any options that fit your needs.
1651
+ * When your component renders, `useUnarchiveNotificationMutation` returns a tuple that includes:
1652
+ * - A mutate function that you can call at any time to execute the mutation
1653
+ * - An object with fields that represent the current status of the mutation's execution
1654
+ *
1655
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1656
+ *
1657
+ * @example
1658
+ * const [unarchiveNotificationMutation, { data, loading, error }] = useUnarchiveNotificationMutation({
1659
+ * variables: {
1660
+ * id: // value for 'id'
1661
+ * },
1662
+ * });
1663
+ */
1664
+ export declare function useUnarchiveNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnarchiveNotificationMutation, Types.UnarchiveNotificationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UnarchiveNotificationMutation, any, Apollo.ApolloCache, undefined>;
1665
+ export type UnarchiveNotificationMutationHookResult = ReturnType<typeof useUnarchiveNotificationMutation>;
1666
+ export type UnarchiveNotificationMutationResult = Apollo.MutationResult<Types.UnarchiveNotificationMutation>;
1667
+ export type UnarchiveNotificationMutationOptions = Apollo.BaseMutationOptions<Types.UnarchiveNotificationMutation, Types.UnarchiveNotificationMutationVariables>;
1668
+ export declare const UpdateNotificationPreferenceDocument: Apollo.DocumentNode;
1669
+ export type UpdateNotificationPreferenceMutationFn = Apollo.MutationFunction<Types.UpdateNotificationPreferenceMutation, Types.UpdateNotificationPreferenceMutationVariables>;
1670
+ /**
1671
+ * __useUpdateNotificationPreferenceMutation__
1672
+ *
1673
+ * To run a mutation, you first call `useUpdateNotificationPreferenceMutation` within a React component and pass it any options that fit your needs.
1674
+ * When your component renders, `useUpdateNotificationPreferenceMutation` returns a tuple that includes:
1675
+ * - A mutate function that you can call at any time to execute the mutation
1676
+ * - An object with fields that represent the current status of the mutation's execution
1677
+ *
1678
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1679
+ *
1680
+ * @example
1681
+ * const [updateNotificationPreferenceMutation, { data, loading, error }] = useUpdateNotificationPreferenceMutation({
1682
+ * variables: {
1683
+ * id: // value for 'id'
1684
+ * input: // value for 'input'
1685
+ * },
1686
+ * });
1687
+ */
1688
+ export declare function useUpdateNotificationPreferenceMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateNotificationPreferenceMutation, Types.UpdateNotificationPreferenceMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpdateNotificationPreferenceMutation, any, Apollo.ApolloCache, undefined>;
1689
+ export type UpdateNotificationPreferenceMutationHookResult = ReturnType<typeof useUpdateNotificationPreferenceMutation>;
1690
+ export type UpdateNotificationPreferenceMutationResult = Apollo.MutationResult<Types.UpdateNotificationPreferenceMutation>;
1691
+ export type UpdateNotificationPreferenceMutationOptions = Apollo.BaseMutationOptions<Types.UpdateNotificationPreferenceMutation, Types.UpdateNotificationPreferenceMutationVariables>;
1692
+ export declare const UpdateNotificationTemplateDocument: Apollo.DocumentNode;
1693
+ export type UpdateNotificationTemplateMutationFn = Apollo.MutationFunction<Types.UpdateNotificationTemplateMutation, Types.UpdateNotificationTemplateMutationVariables>;
1694
+ /**
1695
+ * __useUpdateNotificationTemplateMutation__
1696
+ *
1697
+ * To run a mutation, you first call `useUpdateNotificationTemplateMutation` within a React component and pass it any options that fit your needs.
1698
+ * When your component renders, `useUpdateNotificationTemplateMutation` returns a tuple that includes:
1699
+ * - A mutate function that you can call at any time to execute the mutation
1700
+ * - An object with fields that represent the current status of the mutation's execution
1701
+ *
1702
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1703
+ *
1704
+ * @example
1705
+ * const [updateNotificationTemplateMutation, { data, loading, error }] = useUpdateNotificationTemplateMutation({
1706
+ * variables: {
1707
+ * id: // value for 'id'
1708
+ * input: // value for 'input'
1709
+ * },
1710
+ * });
1711
+ */
1712
+ export declare function useUpdateNotificationTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateNotificationTemplateMutation, Types.UpdateNotificationTemplateMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpdateNotificationTemplateMutation, any, Apollo.ApolloCache, undefined>;
1713
+ export type UpdateNotificationTemplateMutationHookResult = ReturnType<typeof useUpdateNotificationTemplateMutation>;
1714
+ export type UpdateNotificationTemplateMutationResult = Apollo.MutationResult<Types.UpdateNotificationTemplateMutation>;
1715
+ export type UpdateNotificationTemplateMutationOptions = Apollo.BaseMutationOptions<Types.UpdateNotificationTemplateMutation, Types.UpdateNotificationTemplateMutationVariables>;
1716
+ export declare const UpdateNotificationTopicDocument: Apollo.DocumentNode;
1717
+ export type UpdateNotificationTopicMutationFn = Apollo.MutationFunction<Types.UpdateNotificationTopicMutation, Types.UpdateNotificationTopicMutationVariables>;
1718
+ /**
1719
+ * __useUpdateNotificationTopicMutation__
1720
+ *
1721
+ * To run a mutation, you first call `useUpdateNotificationTopicMutation` within a React component and pass it any options that fit your needs.
1722
+ * When your component renders, `useUpdateNotificationTopicMutation` returns a tuple that includes:
1723
+ * - A mutate function that you can call at any time to execute the mutation
1724
+ * - An object with fields that represent the current status of the mutation's execution
1725
+ *
1726
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1727
+ *
1728
+ * @example
1729
+ * const [updateNotificationTopicMutation, { data, loading, error }] = useUpdateNotificationTopicMutation({
1730
+ * variables: {
1731
+ * id: // value for 'id'
1732
+ * input: // value for 'input'
1733
+ * },
1734
+ * });
1735
+ */
1736
+ export declare function useUpdateNotificationTopicMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateNotificationTopicMutation, Types.UpdateNotificationTopicMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpdateNotificationTopicMutation, any, Apollo.ApolloCache, undefined>;
1737
+ export type UpdateNotificationTopicMutationHookResult = ReturnType<typeof useUpdateNotificationTopicMutation>;
1738
+ export type UpdateNotificationTopicMutationResult = Apollo.MutationResult<Types.UpdateNotificationTopicMutation>;
1739
+ export type UpdateNotificationTopicMutationOptions = Apollo.BaseMutationOptions<Types.UpdateNotificationTopicMutation, Types.UpdateNotificationTopicMutationVariables>;
1740
+ export declare const GetMyUnreadNotificationCountDocument: Apollo.DocumentNode;
1741
+ /**
1742
+ * __useGetMyUnreadNotificationCountQuery__
1743
+ *
1744
+ * To run a query within a React component, call `useGetMyUnreadNotificationCountQuery` and pass it any options that fit your needs.
1745
+ * When your component renders, `useGetMyUnreadNotificationCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
1746
+ * you can use to render your UI.
1747
+ *
1748
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1749
+ *
1750
+ * @example
1751
+ * const { data, loading, error } = useGetMyUnreadNotificationCountQuery({
1752
+ * variables: {
1753
+ * filter: // value for 'filter'
1754
+ * },
1755
+ * });
1756
+ */
1757
+ export declare function useGetMyUnreadNotificationCountQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMyUnreadNotificationCountQuery, Types.GetMyUnreadNotificationCountQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetMyUnreadNotificationCountQuery, Types.GetMyUnreadNotificationCountQueryVariables, "complete" | "empty" | "streaming", Types.GetMyUnreadNotificationCountQueryVariables, undefined>;
1758
+ export declare function useGetMyUnreadNotificationCountLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMyUnreadNotificationCountQuery, Types.GetMyUnreadNotificationCountQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetMyUnreadNotificationCountQuery, Types.GetMyUnreadNotificationCountQueryVariables, "complete" | "empty" | "streaming", undefined>;
1759
+ export declare function useGetMyUnreadNotificationCountSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyUnreadNotificationCountQuery, Types.GetMyUnreadNotificationCountQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyUnreadNotificationCountQuery, Types.GetMyUnreadNotificationCountQueryVariables>;
1760
+ export declare function useGetMyUnreadNotificationCountSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyUnreadNotificationCountQuery, Types.GetMyUnreadNotificationCountQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyUnreadNotificationCountQuery | undefined, Types.GetMyUnreadNotificationCountQueryVariables>;
1761
+ export type GetMyUnreadNotificationCountQueryHookResult = ReturnType<typeof useGetMyUnreadNotificationCountQuery>;
1762
+ export type GetMyUnreadNotificationCountLazyQueryHookResult = ReturnType<typeof useGetMyUnreadNotificationCountLazyQuery>;
1763
+ export type GetMyUnreadNotificationCountSuspenseQueryHookResult = ReturnType<typeof useGetMyUnreadNotificationCountSuspenseQuery>;
1764
+ export type GetMyUnreadNotificationCountQueryResult = Apollo.QueryResult<Types.GetMyUnreadNotificationCountQuery, Types.GetMyUnreadNotificationCountQueryVariables>;
1765
+ export declare const GetNotificationDocument: Apollo.DocumentNode;
1766
+ /**
1767
+ * __useGetNotificationQuery__
1768
+ *
1769
+ * To run a query within a React component, call `useGetNotificationQuery` and pass it any options that fit your needs.
1770
+ * When your component renders, `useGetNotificationQuery` returns an object from Apollo Client that contains loading, error, and data properties
1771
+ * you can use to render your UI.
1772
+ *
1773
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1774
+ *
1775
+ * @example
1776
+ * const { data, loading, error } = useGetNotificationQuery({
1777
+ * variables: {
1778
+ * id: // value for 'id'
1779
+ * },
1780
+ * });
1781
+ */
1782
+ export declare function useGetNotificationQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetNotificationQuery, Types.GetNotificationQueryVariables> & ({
1783
+ variables: Types.GetNotificationQueryVariables;
1784
+ skip?: boolean;
1785
+ } | {
1786
+ skip: boolean;
1787
+ })): ApolloReactHooks.useQuery.Result<Types.GetNotificationQuery, Types.GetNotificationQueryVariables, "complete" | "empty" | "streaming", Types.GetNotificationQueryVariables, undefined>;
1788
+ export declare function useGetNotificationLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetNotificationQuery, Types.GetNotificationQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetNotificationQuery, Types.GetNotificationQueryVariables, "complete" | "empty" | "streaming", undefined>;
1789
+ export declare function useGetNotificationSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationQuery, Types.GetNotificationQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationQuery, Types.GetNotificationQueryVariables>;
1790
+ export declare function useGetNotificationSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationQuery, Types.GetNotificationQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationQuery | undefined, Types.GetNotificationQueryVariables>;
1791
+ export type GetNotificationQueryHookResult = ReturnType<typeof useGetNotificationQuery>;
1792
+ export type GetNotificationLazyQueryHookResult = ReturnType<typeof useGetNotificationLazyQuery>;
1793
+ export type GetNotificationSuspenseQueryHookResult = ReturnType<typeof useGetNotificationSuspenseQuery>;
1794
+ export type GetNotificationQueryResult = Apollo.QueryResult<Types.GetNotificationQuery, Types.GetNotificationQueryVariables>;
1795
+ export declare const GetNotificationEventsDocument: Apollo.DocumentNode;
1796
+ /**
1797
+ * __useGetNotificationEventsQuery__
1798
+ *
1799
+ * To run a query within a React component, call `useGetNotificationEventsQuery` and pass it any options that fit your needs.
1800
+ * When your component renders, `useGetNotificationEventsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1801
+ * you can use to render your UI.
1802
+ *
1803
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1804
+ *
1805
+ * @example
1806
+ * const { data, loading, error } = useGetNotificationEventsQuery({
1807
+ * variables: {
1808
+ * notificationId: // value for 'notificationId'
1809
+ * },
1810
+ * });
1811
+ */
1812
+ export declare function useGetNotificationEventsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetNotificationEventsQuery, Types.GetNotificationEventsQueryVariables> & ({
1813
+ variables: Types.GetNotificationEventsQueryVariables;
1814
+ skip?: boolean;
1815
+ } | {
1816
+ skip: boolean;
1817
+ })): ApolloReactHooks.useQuery.Result<Types.GetNotificationEventsQuery, Types.GetNotificationEventsQueryVariables, "complete" | "empty" | "streaming", Types.GetNotificationEventsQueryVariables, undefined>;
1818
+ export declare function useGetNotificationEventsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetNotificationEventsQuery, Types.GetNotificationEventsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetNotificationEventsQuery, Types.GetNotificationEventsQueryVariables, "complete" | "empty" | "streaming", undefined>;
1819
+ export declare function useGetNotificationEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationEventsQuery, Types.GetNotificationEventsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationEventsQuery, Types.GetNotificationEventsQueryVariables>;
1820
+ export declare function useGetNotificationEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationEventsQuery, Types.GetNotificationEventsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationEventsQuery | undefined, Types.GetNotificationEventsQueryVariables>;
1821
+ export type GetNotificationEventsQueryHookResult = ReturnType<typeof useGetNotificationEventsQuery>;
1822
+ export type GetNotificationEventsLazyQueryHookResult = ReturnType<typeof useGetNotificationEventsLazyQuery>;
1823
+ export type GetNotificationEventsSuspenseQueryHookResult = ReturnType<typeof useGetNotificationEventsSuspenseQuery>;
1824
+ export type GetNotificationEventsQueryResult = Apollo.QueryResult<Types.GetNotificationEventsQuery, Types.GetNotificationEventsQueryVariables>;
1825
+ export declare const GetNotificationHistoriesDocument: Apollo.DocumentNode;
1826
+ /**
1827
+ * __useGetNotificationHistoriesQuery__
1828
+ *
1829
+ * To run a query within a React component, call `useGetNotificationHistoriesQuery` and pass it any options that fit your needs.
1830
+ * When your component renders, `useGetNotificationHistoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
1831
+ * you can use to render your UI.
1832
+ *
1833
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1834
+ *
1835
+ * @example
1836
+ * const { data, loading, error } = useGetNotificationHistoriesQuery({
1837
+ * variables: {
1838
+ * filter: // value for 'filter'
1839
+ * limit: // value for 'limit'
1840
+ * offset: // value for 'offset'
1841
+ * },
1842
+ * });
1843
+ */
1844
+ export declare function useGetNotificationHistoriesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetNotificationHistoriesQuery, Types.GetNotificationHistoriesQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetNotificationHistoriesQuery, Types.GetNotificationHistoriesQueryVariables, "complete" | "empty" | "streaming", Types.GetNotificationHistoriesQueryVariables, undefined>;
1845
+ export declare function useGetNotificationHistoriesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetNotificationHistoriesQuery, Types.GetNotificationHistoriesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetNotificationHistoriesQuery, Types.GetNotificationHistoriesQueryVariables, "complete" | "empty" | "streaming", undefined>;
1846
+ export declare function useGetNotificationHistoriesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationHistoriesQuery, Types.GetNotificationHistoriesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationHistoriesQuery, Types.GetNotificationHistoriesQueryVariables>;
1847
+ export declare function useGetNotificationHistoriesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationHistoriesQuery, Types.GetNotificationHistoriesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationHistoriesQuery | undefined, Types.GetNotificationHistoriesQueryVariables>;
1848
+ export type GetNotificationHistoriesQueryHookResult = ReturnType<typeof useGetNotificationHistoriesQuery>;
1849
+ export type GetNotificationHistoriesLazyQueryHookResult = ReturnType<typeof useGetNotificationHistoriesLazyQuery>;
1850
+ export type GetNotificationHistoriesSuspenseQueryHookResult = ReturnType<typeof useGetNotificationHistoriesSuspenseQuery>;
1851
+ export type GetNotificationHistoriesQueryResult = Apollo.QueryResult<Types.GetNotificationHistoriesQuery, Types.GetNotificationHistoriesQueryVariables>;
1852
+ export declare const GetNotificationPreferencesDocument: Apollo.DocumentNode;
1853
+ /**
1854
+ * __useGetNotificationPreferencesQuery__
1855
+ *
1856
+ * To run a query within a React component, call `useGetNotificationPreferencesQuery` and pass it any options that fit your needs.
1857
+ * When your component renders, `useGetNotificationPreferencesQuery` returns an object from Apollo Client that contains loading, error, and data properties
1858
+ * you can use to render your UI.
1859
+ *
1860
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1861
+ *
1862
+ * @example
1863
+ * const { data, loading, error } = useGetNotificationPreferencesQuery({
1864
+ * variables: {
1865
+ * filter: // value for 'filter'
1866
+ * limit: // value for 'limit'
1867
+ * offset: // value for 'offset'
1868
+ * },
1869
+ * });
1870
+ */
1871
+ export declare function useGetNotificationPreferencesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetNotificationPreferencesQuery, Types.GetNotificationPreferencesQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetNotificationPreferencesQuery, Types.GetNotificationPreferencesQueryVariables, "complete" | "empty" | "streaming", Types.GetNotificationPreferencesQueryVariables, undefined>;
1872
+ export declare function useGetNotificationPreferencesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetNotificationPreferencesQuery, Types.GetNotificationPreferencesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetNotificationPreferencesQuery, Types.GetNotificationPreferencesQueryVariables, "complete" | "empty" | "streaming", undefined>;
1873
+ export declare function useGetNotificationPreferencesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationPreferencesQuery, Types.GetNotificationPreferencesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationPreferencesQuery, Types.GetNotificationPreferencesQueryVariables>;
1874
+ export declare function useGetNotificationPreferencesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationPreferencesQuery, Types.GetNotificationPreferencesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationPreferencesQuery | undefined, Types.GetNotificationPreferencesQueryVariables>;
1875
+ export type GetNotificationPreferencesQueryHookResult = ReturnType<typeof useGetNotificationPreferencesQuery>;
1876
+ export type GetNotificationPreferencesLazyQueryHookResult = ReturnType<typeof useGetNotificationPreferencesLazyQuery>;
1877
+ export type GetNotificationPreferencesSuspenseQueryHookResult = ReturnType<typeof useGetNotificationPreferencesSuspenseQuery>;
1878
+ export type GetNotificationPreferencesQueryResult = Apollo.QueryResult<Types.GetNotificationPreferencesQuery, Types.GetNotificationPreferencesQueryVariables>;
1879
+ export declare const GetNotificationStatsDocument: Apollo.DocumentNode;
1880
+ /**
1881
+ * __useGetNotificationStatsQuery__
1882
+ *
1883
+ * To run a query within a React component, call `useGetNotificationStatsQuery` and pass it any options that fit your needs.
1884
+ * When your component renders, `useGetNotificationStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1885
+ * you can use to render your UI.
1886
+ *
1887
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1888
+ *
1889
+ * @example
1890
+ * const { data, loading, error } = useGetNotificationStatsQuery({
1891
+ * variables: {
1892
+ * filter: // value for 'filter'
1893
+ * },
1894
+ * });
1895
+ */
1896
+ export declare function useGetNotificationStatsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetNotificationStatsQuery, Types.GetNotificationStatsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetNotificationStatsQuery, Types.GetNotificationStatsQueryVariables, "complete" | "empty" | "streaming", Types.GetNotificationStatsQueryVariables, undefined>;
1897
+ export declare function useGetNotificationStatsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetNotificationStatsQuery, Types.GetNotificationStatsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetNotificationStatsQuery, Types.GetNotificationStatsQueryVariables, "complete" | "empty" | "streaming", undefined>;
1898
+ export declare function useGetNotificationStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationStatsQuery, Types.GetNotificationStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationStatsQuery, Types.GetNotificationStatsQueryVariables>;
1899
+ export declare function useGetNotificationStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationStatsQuery, Types.GetNotificationStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationStatsQuery | undefined, Types.GetNotificationStatsQueryVariables>;
1900
+ export type GetNotificationStatsQueryHookResult = ReturnType<typeof useGetNotificationStatsQuery>;
1901
+ export type GetNotificationStatsLazyQueryHookResult = ReturnType<typeof useGetNotificationStatsLazyQuery>;
1902
+ export type GetNotificationStatsSuspenseQueryHookResult = ReturnType<typeof useGetNotificationStatsSuspenseQuery>;
1903
+ export type GetNotificationStatsQueryResult = Apollo.QueryResult<Types.GetNotificationStatsQuery, Types.GetNotificationStatsQueryVariables>;
1904
+ export declare const GetNotificationTemplateDocument: Apollo.DocumentNode;
1905
+ /**
1906
+ * __useGetNotificationTemplateQuery__
1907
+ *
1908
+ * To run a query within a React component, call `useGetNotificationTemplateQuery` and pass it any options that fit your needs.
1909
+ * When your component renders, `useGetNotificationTemplateQuery` returns an object from Apollo Client that contains loading, error, and data properties
1910
+ * you can use to render your UI.
1911
+ *
1912
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1913
+ *
1914
+ * @example
1915
+ * const { data, loading, error } = useGetNotificationTemplateQuery({
1916
+ * variables: {
1917
+ * slug: // value for 'slug'
1918
+ * locale: // value for 'locale'
1919
+ * },
1920
+ * });
1921
+ */
1922
+ export declare function useGetNotificationTemplateQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetNotificationTemplateQuery, Types.GetNotificationTemplateQueryVariables> & ({
1923
+ variables: Types.GetNotificationTemplateQueryVariables;
1924
+ skip?: boolean;
1925
+ } | {
1926
+ skip: boolean;
1927
+ })): ApolloReactHooks.useQuery.Result<Types.GetNotificationTemplateQuery, Types.GetNotificationTemplateQueryVariables, "complete" | "empty" | "streaming", Types.GetNotificationTemplateQueryVariables, undefined>;
1928
+ export declare function useGetNotificationTemplateLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetNotificationTemplateQuery, Types.GetNotificationTemplateQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetNotificationTemplateQuery, Types.GetNotificationTemplateQueryVariables, "complete" | "empty" | "streaming", undefined>;
1929
+ export declare function useGetNotificationTemplateSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationTemplateQuery, Types.GetNotificationTemplateQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationTemplateQuery, Types.GetNotificationTemplateQueryVariables>;
1930
+ export declare function useGetNotificationTemplateSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationTemplateQuery, Types.GetNotificationTemplateQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationTemplateQuery | undefined, Types.GetNotificationTemplateQueryVariables>;
1931
+ export type GetNotificationTemplateQueryHookResult = ReturnType<typeof useGetNotificationTemplateQuery>;
1932
+ export type GetNotificationTemplateLazyQueryHookResult = ReturnType<typeof useGetNotificationTemplateLazyQuery>;
1933
+ export type GetNotificationTemplateSuspenseQueryHookResult = ReturnType<typeof useGetNotificationTemplateSuspenseQuery>;
1934
+ export type GetNotificationTemplateQueryResult = Apollo.QueryResult<Types.GetNotificationTemplateQuery, Types.GetNotificationTemplateQueryVariables>;
1935
+ export declare const GetNotificationTemplatesDocument: Apollo.DocumentNode;
1936
+ /**
1937
+ * __useGetNotificationTemplatesQuery__
1938
+ *
1939
+ * To run a query within a React component, call `useGetNotificationTemplatesQuery` and pass it any options that fit your needs.
1940
+ * When your component renders, `useGetNotificationTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties
1941
+ * you can use to render your UI.
1942
+ *
1943
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1944
+ *
1945
+ * @example
1946
+ * const { data, loading, error } = useGetNotificationTemplatesQuery({
1947
+ * variables: {
1948
+ * filter: // value for 'filter'
1949
+ * limit: // value for 'limit'
1950
+ * offset: // value for 'offset'
1951
+ * },
1952
+ * });
1953
+ */
1954
+ export declare function useGetNotificationTemplatesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetNotificationTemplatesQuery, Types.GetNotificationTemplatesQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetNotificationTemplatesQuery, Types.GetNotificationTemplatesQueryVariables, "complete" | "empty" | "streaming", Types.GetNotificationTemplatesQueryVariables, undefined>;
1955
+ export declare function useGetNotificationTemplatesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetNotificationTemplatesQuery, Types.GetNotificationTemplatesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetNotificationTemplatesQuery, Types.GetNotificationTemplatesQueryVariables, "complete" | "empty" | "streaming", undefined>;
1956
+ export declare function useGetNotificationTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationTemplatesQuery, Types.GetNotificationTemplatesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationTemplatesQuery, Types.GetNotificationTemplatesQueryVariables>;
1957
+ export declare function useGetNotificationTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationTemplatesQuery, Types.GetNotificationTemplatesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationTemplatesQuery | undefined, Types.GetNotificationTemplatesQueryVariables>;
1958
+ export type GetNotificationTemplatesQueryHookResult = ReturnType<typeof useGetNotificationTemplatesQuery>;
1959
+ export type GetNotificationTemplatesLazyQueryHookResult = ReturnType<typeof useGetNotificationTemplatesLazyQuery>;
1960
+ export type GetNotificationTemplatesSuspenseQueryHookResult = ReturnType<typeof useGetNotificationTemplatesSuspenseQuery>;
1961
+ export type GetNotificationTemplatesQueryResult = Apollo.QueryResult<Types.GetNotificationTemplatesQuery, Types.GetNotificationTemplatesQueryVariables>;
1962
+ export declare const GetNotificationTopicsDocument: Apollo.DocumentNode;
1963
+ /**
1964
+ * __useGetNotificationTopicsQuery__
1965
+ *
1966
+ * To run a query within a React component, call `useGetNotificationTopicsQuery` and pass it any options that fit your needs.
1967
+ * When your component renders, `useGetNotificationTopicsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1968
+ * you can use to render your UI.
1969
+ *
1970
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1971
+ *
1972
+ * @example
1973
+ * const { data, loading, error } = useGetNotificationTopicsQuery({
1974
+ * variables: {
1975
+ * filter: // value for 'filter'
1976
+ * limit: // value for 'limit'
1977
+ * offset: // value for 'offset'
1978
+ * },
1979
+ * });
1980
+ */
1981
+ export declare function useGetNotificationTopicsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetNotificationTopicsQuery, Types.GetNotificationTopicsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetNotificationTopicsQuery, Types.GetNotificationTopicsQueryVariables, "complete" | "empty" | "streaming", Types.GetNotificationTopicsQueryVariables, undefined>;
1982
+ export declare function useGetNotificationTopicsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetNotificationTopicsQuery, Types.GetNotificationTopicsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetNotificationTopicsQuery, Types.GetNotificationTopicsQueryVariables, "complete" | "empty" | "streaming", undefined>;
1983
+ export declare function useGetNotificationTopicsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationTopicsQuery, Types.GetNotificationTopicsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationTopicsQuery, Types.GetNotificationTopicsQueryVariables>;
1984
+ export declare function useGetNotificationTopicsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationTopicsQuery, Types.GetNotificationTopicsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationTopicsQuery | undefined, Types.GetNotificationTopicsQueryVariables>;
1985
+ export type GetNotificationTopicsQueryHookResult = ReturnType<typeof useGetNotificationTopicsQuery>;
1986
+ export type GetNotificationTopicsLazyQueryHookResult = ReturnType<typeof useGetNotificationTopicsLazyQuery>;
1987
+ export type GetNotificationTopicsSuspenseQueryHookResult = ReturnType<typeof useGetNotificationTopicsSuspenseQuery>;
1988
+ export type GetNotificationTopicsQueryResult = Apollo.QueryResult<Types.GetNotificationTopicsQuery, Types.GetNotificationTopicsQueryVariables>;
1989
+ export declare const GetNotificationsDocument: Apollo.DocumentNode;
1990
+ /**
1991
+ * __useGetNotificationsQuery__
1992
+ *
1993
+ * To run a query within a React component, call `useGetNotificationsQuery` and pass it any options that fit your needs.
1994
+ * When your component renders, `useGetNotificationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1995
+ * you can use to render your UI.
1996
+ *
1997
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1998
+ *
1999
+ * @example
2000
+ * const { data, loading, error } = useGetNotificationsQuery({
2001
+ * variables: {
2002
+ * filter: // value for 'filter'
2003
+ * limit: // value for 'limit'
2004
+ * offset: // value for 'offset'
2005
+ * },
2006
+ * });
2007
+ */
2008
+ export declare function useGetNotificationsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetNotificationsQuery, Types.GetNotificationsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetNotificationsQuery, Types.GetNotificationsQueryVariables, "complete" | "empty" | "streaming", Types.GetNotificationsQueryVariables, undefined>;
2009
+ export declare function useGetNotificationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetNotificationsQuery, Types.GetNotificationsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetNotificationsQuery, Types.GetNotificationsQueryVariables, "complete" | "empty" | "streaming", undefined>;
2010
+ export declare function useGetNotificationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationsQuery, Types.GetNotificationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationsQuery, Types.GetNotificationsQueryVariables>;
2011
+ export declare function useGetNotificationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetNotificationsQuery, Types.GetNotificationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetNotificationsQuery | undefined, Types.GetNotificationsQueryVariables>;
2012
+ export type GetNotificationsQueryHookResult = ReturnType<typeof useGetNotificationsQuery>;
2013
+ export type GetNotificationsLazyQueryHookResult = ReturnType<typeof useGetNotificationsLazyQuery>;
2014
+ export type GetNotificationsSuspenseQueryHookResult = ReturnType<typeof useGetNotificationsSuspenseQuery>;
2015
+ export type GetNotificationsQueryResult = Apollo.QueryResult<Types.GetNotificationsQuery, Types.GetNotificationsQueryVariables>;
2016
+ export declare const GetScheduledNotificationsDocument: Apollo.DocumentNode;
2017
+ /**
2018
+ * __useGetScheduledNotificationsQuery__
2019
+ *
2020
+ * To run a query within a React component, call `useGetScheduledNotificationsQuery` and pass it any options that fit your needs.
2021
+ * When your component renders, `useGetScheduledNotificationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2022
+ * you can use to render your UI.
2023
+ *
2024
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
2025
+ *
2026
+ * @example
2027
+ * const { data, loading, error } = useGetScheduledNotificationsQuery({
2028
+ * variables: {
2029
+ * filter: // value for 'filter'
2030
+ * limit: // value for 'limit'
2031
+ * offset: // value for 'offset'
2032
+ * },
2033
+ * });
2034
+ */
2035
+ export declare function useGetScheduledNotificationsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetScheduledNotificationsQuery, Types.GetScheduledNotificationsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetScheduledNotificationsQuery, Types.GetScheduledNotificationsQueryVariables, "complete" | "empty" | "streaming", Types.GetScheduledNotificationsQueryVariables, undefined>;
2036
+ export declare function useGetScheduledNotificationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetScheduledNotificationsQuery, Types.GetScheduledNotificationsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetScheduledNotificationsQuery, Types.GetScheduledNotificationsQueryVariables, "complete" | "empty" | "streaming", undefined>;
2037
+ export declare function useGetScheduledNotificationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetScheduledNotificationsQuery, Types.GetScheduledNotificationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetScheduledNotificationsQuery, Types.GetScheduledNotificationsQueryVariables>;
2038
+ export declare function useGetScheduledNotificationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetScheduledNotificationsQuery, Types.GetScheduledNotificationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetScheduledNotificationsQuery | undefined, Types.GetScheduledNotificationsQueryVariables>;
2039
+ export type GetScheduledNotificationsQueryHookResult = ReturnType<typeof useGetScheduledNotificationsQuery>;
2040
+ export type GetScheduledNotificationsLazyQueryHookResult = ReturnType<typeof useGetScheduledNotificationsLazyQuery>;
2041
+ export type GetScheduledNotificationsSuspenseQueryHookResult = ReturnType<typeof useGetScheduledNotificationsSuspenseQuery>;
2042
+ export type GetScheduledNotificationsQueryResult = Apollo.QueryResult<Types.GetScheduledNotificationsQuery, Types.GetScheduledNotificationsQueryVariables>;
2043
+ export declare const SearchUsersDocument: Apollo.DocumentNode;
2044
+ /**
2045
+ * __useSearchUsersQuery__
2046
+ *
2047
+ * To run a query within a React component, call `useSearchUsersQuery` and pass it any options that fit your needs.
2048
+ * When your component renders, `useSearchUsersQuery` returns an object from Apollo Client that contains loading, error, and data properties
2049
+ * you can use to render your UI.
2050
+ *
2051
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
2052
+ *
2053
+ * @example
2054
+ * const { data, loading, error } = useSearchUsersQuery({
2055
+ * variables: {
2056
+ * filter: // value for 'filter'
2057
+ * pagination: // value for 'pagination'
2058
+ * },
2059
+ * });
2060
+ */
2061
+ export declare function useSearchUsersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.SearchUsersQuery, Types.SearchUsersQueryVariables>): ApolloReactHooks.useQuery.Result<Types.SearchUsersQuery, Types.SearchUsersQueryVariables, "complete" | "empty" | "streaming", Types.SearchUsersQueryVariables, undefined>;
2062
+ export declare function useSearchUsersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SearchUsersQuery, Types.SearchUsersQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.SearchUsersQuery, Types.SearchUsersQueryVariables, "complete" | "empty" | "streaming", undefined>;
2063
+ export declare function useSearchUsersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchUsersQuery, Types.SearchUsersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchUsersQuery, Types.SearchUsersQueryVariables>;
2064
+ export declare function useSearchUsersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchUsersQuery, Types.SearchUsersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchUsersQuery | undefined, Types.SearchUsersQueryVariables>;
2065
+ export type SearchUsersQueryHookResult = ReturnType<typeof useSearchUsersQuery>;
2066
+ export type SearchUsersLazyQueryHookResult = ReturnType<typeof useSearchUsersLazyQuery>;
2067
+ export type SearchUsersSuspenseQueryHookResult = ReturnType<typeof useSearchUsersSuspenseQuery>;
2068
+ export type SearchUsersQueryResult = Apollo.QueryResult<Types.SearchUsersQuery, Types.SearchUsersQueryVariables>;
2069
+ export declare const NotificationReceivedDocument: Apollo.DocumentNode;
2070
+ /**
2071
+ * __useNotificationReceivedSubscription__
2072
+ *
2073
+ * To run a query within a React component, call `useNotificationReceivedSubscription` and pass it any options that fit your needs.
2074
+ * When your component renders, `useNotificationReceivedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
2075
+ * you can use to render your UI.
2076
+ *
2077
+ * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
2078
+ *
2079
+ * @example
2080
+ * const { data, loading, error } = useNotificationReceivedSubscription({
2081
+ * variables: {
2082
+ * userId: // value for 'userId'
2083
+ * },
2084
+ * });
2085
+ */
2086
+ export declare function useNotificationReceivedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.NotificationReceivedSubscription, Types.NotificationReceivedSubscriptionVariables> & ({
2087
+ variables: Types.NotificationReceivedSubscriptionVariables;
2088
+ skip?: boolean;
2089
+ } | {
2090
+ skip: boolean;
2091
+ })): ApolloReactHooks.useSubscription.Result<Types.NotificationReceivedSubscription>;
2092
+ export type NotificationReceivedSubscriptionHookResult = ReturnType<typeof useNotificationReceivedSubscription>;
2093
+ export type NotificationReceivedSubscriptionResult = Apollo.SubscriptionResult<Types.NotificationReceivedSubscription>;
2094
+ export declare const UnreadCountUpdatedDocument: Apollo.DocumentNode;
2095
+ /**
2096
+ * __useUnreadCountUpdatedSubscription__
2097
+ *
2098
+ * To run a query within a React component, call `useUnreadCountUpdatedSubscription` and pass it any options that fit your needs.
2099
+ * When your component renders, `useUnreadCountUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
2100
+ * you can use to render your UI.
2101
+ *
2102
+ * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
2103
+ *
2104
+ * @example
2105
+ * const { data, loading, error } = useUnreadCountUpdatedSubscription({
2106
+ * variables: {
2107
+ * userId: // value for 'userId'
2108
+ * },
2109
+ * });
2110
+ */
2111
+ export declare function useUnreadCountUpdatedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.UnreadCountUpdatedSubscription, Types.UnreadCountUpdatedSubscriptionVariables> & ({
2112
+ variables: Types.UnreadCountUpdatedSubscriptionVariables;
2113
+ skip?: boolean;
2114
+ } | {
2115
+ skip: boolean;
2116
+ })): ApolloReactHooks.useSubscription.Result<Types.UnreadCountUpdatedSubscription>;
2117
+ export type UnreadCountUpdatedSubscriptionHookResult = ReturnType<typeof useUnreadCountUpdatedSubscription>;
2118
+ export type UnreadCountUpdatedSubscriptionResult = Apollo.SubscriptionResult<Types.UnreadCountUpdatedSubscription>;
2119
+ export {};