@novu/js 3.14.1 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,7 +96,7 @@ var NovuError = class extends Error {
96
96
  };
97
97
 
98
98
  // src/notifications/helpers.ts
99
- var read = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
99
+ var read = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
100
100
  emitter,
101
101
  apiService,
102
102
  args
@@ -128,7 +128,7 @@ var read = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
128
128
  return { error: new NovuError("Failed to read notification", error) };
129
129
  }
130
130
  });
131
- var unread = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
131
+ var unread = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
132
132
  emitter,
133
133
  apiService,
134
134
  args
@@ -160,7 +160,7 @@ var unread = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
160
160
  return { error: new NovuError("Failed to unread notification", error) };
161
161
  }
162
162
  });
163
- var seen = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
163
+ var seen = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
164
164
  emitter,
165
165
  apiService,
166
166
  args
@@ -192,7 +192,7 @@ var seen = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
192
192
  return { error: new NovuError("Failed to mark notification as seen", error) };
193
193
  }
194
194
  });
195
- var archive = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
195
+ var archive = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
196
196
  emitter,
197
197
  apiService,
198
198
  args
@@ -224,7 +224,7 @@ var archive = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
224
224
  return { error: new NovuError("Failed to archive notification", error) };
225
225
  }
226
226
  });
227
- var unarchive = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
227
+ var unarchive = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
228
228
  emitter,
229
229
  apiService,
230
230
  args
@@ -256,7 +256,7 @@ var unarchive = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
256
256
  return { error: new NovuError("Failed to unarchive notification", error) };
257
257
  }
258
258
  });
259
- var snooze = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
259
+ var snooze = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
260
260
  emitter,
261
261
  apiService,
262
262
  args
@@ -286,7 +286,7 @@ var snooze = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
286
286
  return { error: new NovuError("Failed to snooze notification", error) };
287
287
  }
288
288
  });
289
- var unsnooze = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
289
+ var unsnooze = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
290
290
  emitter,
291
291
  apiService,
292
292
  args
@@ -316,7 +316,7 @@ var unsnooze = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
316
316
  return { error: new NovuError("Failed to unsnooze notification", error) };
317
317
  }
318
318
  });
319
- var completeAction = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
319
+ var completeAction = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
320
320
  emitter,
321
321
  apiService,
322
322
  args,
@@ -349,7 +349,7 @@ var completeAction = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
349
349
  return { error: new NovuError(`Failed to complete ${actionType} action on the notification`, error) };
350
350
  }
351
351
  });
352
- var revertAction = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
352
+ var revertAction = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
353
353
  emitter,
354
354
  apiService,
355
355
  args,
@@ -398,7 +398,7 @@ var getNotificationDetails = (args, update, dependencies) => {
398
398
  };
399
399
  }
400
400
  };
401
- var readAll = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
401
+ var readAll = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
402
402
  emitter,
403
403
  inboxService,
404
404
  notificationsCache,
@@ -428,7 +428,7 @@ var readAll = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
428
428
  return { error: new NovuError("Failed to read all notifications", error) };
429
429
  }
430
430
  });
431
- var seenAll = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
431
+ var seenAll = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
432
432
  emitter,
433
433
  inboxService,
434
434
  notificationsCache,
@@ -464,7 +464,7 @@ var seenAll = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
464
464
  return { error: new NovuError("Failed to mark all notifications as seen", error) };
465
465
  }
466
466
  });
467
- var archiveAll = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
467
+ var archiveAll = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
468
468
  emitter,
469
469
  inboxService,
470
470
  notificationsCache,
@@ -494,7 +494,7 @@ var archiveAll = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
494
494
  return { error: new NovuError("Failed to archive all notifications", error) };
495
495
  }
496
496
  });
497
- var archiveAllRead = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
497
+ var archiveAllRead = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
498
498
  emitter,
499
499
  inboxService,
500
500
  notificationsCache,
@@ -519,7 +519,7 @@ var archiveAllRead = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
519
519
  return { error: new NovuError("Failed to archive all read notifications", error) };
520
520
  }
521
521
  });
522
- var deleteNotification = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
522
+ var deleteNotification = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
523
523
  emitter,
524
524
  apiService,
525
525
  args
@@ -544,7 +544,7 @@ var deleteNotification = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function
544
544
  return { error: new NovuError("Failed to delete notification", error) };
545
545
  }
546
546
  });
547
- var deleteAll = (_0) => chunk7B52C2XE_js.__async(void 0, [_0], function* ({
547
+ var deleteAll = (_0) => chunk7B52C2XE_js.__async(null, [_0], function* ({
548
548
  emitter,
549
549
  inboxService,
550
550
  notificationsCache,
@@ -1,9 +1,14 @@
1
1
  export * from 'json-logic-js';
2
- import { S as SeverityLevelEnum, N as NotificationFilter, a as Notification } from './novu-event-emitter-DlsghVpg.js';
3
- export { B as BaseDeleteSubscriptionArgs, f as BaseUpdateSubscriptionArgs, j as ChannelPreference, k as ChannelType, l as Context, C as CreateSubscriptionArgs, m as DaySchedule, n as DefaultSchedule, D as DeleteSubscriptionArgs, E as EventHandler, b as Events, F as FiltersCountResponse, G as GetSubscriptionArgs, o as InboxNotification, I as InstanceDeleteSubscriptionArgs, g as InstanceUpdateSubscriptionArgs, p as ListNotificationsResponse, L as ListSubscriptionsArgs, q as NotificationStatus, O as NovuError, r as NovuOptions, s as NovuSocketOptions, t as Preference, P as PreferenceFilter, u as PreferenceLevel, v as PreferencesResponse, w as Schedule, c as SocketEventNames, x as SocketTypeOption, y as StandardNovuOptions, z as Subscriber, h as SubscriptionPreference, A as TimeRange, T as TopicSubscription, H as UnreadCount, U as UpdateSubscriptionArgs, i as UpdateSubscriptionPreferenceArgs, J as WebSocketEvent, K as WeeklySchedule, M as WorkflowCriticalityEnum, W as WorkflowFilter, d as WorkflowGroupFilter, e as WorkflowIdentifierOrId } from './novu-event-emitter-DlsghVpg.js';
4
- export { N as Novu } from './novu-Dz_wNJko.js';
2
+ import { S as SeverityLevelEnum, T as TagsFilter, N as Notification, a as NotificationFilter } from './novu-event-emitter-D9AphR7g.js';
3
+ export { B as BaseDeleteSubscriptionArgs, b as BaseUpdateSubscriptionArgs, C as ChannelPreference, c as ChannelType, d as Context, e as CreateSubscriptionArgs, D as DaySchedule, f as DefaultSchedule, g as DeleteSubscriptionArgs, E as EventHandler, h as Events, F as FiltersCountResponse, G as GetSubscriptionArgs, I as InboxNotification, i as InstanceDeleteSubscriptionArgs, j as InstanceUpdateSubscriptionArgs, L as ListNotificationsResponse, k as ListSubscriptionsArgs, l as NotificationStatus, m as NovuError, n as NovuOptions, o as NovuSocketOptions, P as Preference, p as PreferenceFilter, q as PreferenceLevel, r as PreferencesResponse, s as Schedule, t as SocketEventNames, u as SocketTypeOption, v as StandardNovuOptions, w as Subscriber, x as SubscriptionPreference, y as TagsFilterAndForm, z as TagsFilterOrGroup, A as TimeRange, H as TopicSubscription, U as UnreadCount, J as UpdateSubscriptionArgs, K as UpdateSubscriptionPreferenceArgs, W as WebSocketEvent, M as WeeklySchedule, O as WorkflowCriticalityEnum, Q as WorkflowFilter, R as WorkflowGroupFilter, V as WorkflowIdentifierOrId } from './novu-event-emitter-D9AphR7g.js';
4
+ export { N as Novu } from './novu-CI_mzxvm.js';
5
5
 
6
- declare const areTagsEqual: (tags1?: string[], tags2?: string[]) => boolean;
6
+ /**
7
+ * Normalizes inbox tag filters to CNF: `string[][]` where each inner array is one OR-group.
8
+ * A flat list `['a','b']` is normalized to one OR-group `[['a','b']]`. Empty input → `[]` (no tag filter).
9
+ */
10
+ declare function normalizeTagGroups(tags: TagsFilter | undefined): string[][];
11
+ declare const areTagsEqual: (tags1?: TagsFilter, tags2?: TagsFilter) => boolean;
7
12
  declare const areSeveritiesEqual: (el1?: SeverityLevelEnum | SeverityLevelEnum[], el2?: SeverityLevelEnum | SeverityLevelEnum[]) => boolean;
8
13
  declare const isSameFilter: (filter1: NotificationFilter, filter2: NotificationFilter) => boolean;
9
14
  declare function checkNotificationDataFilter(notificationData: Notification['data'], filterData: NotificationFilter['data']): boolean;
@@ -13,4 +18,4 @@ declare function checkNotificationDataFilter(notificationData: Notification['dat
13
18
  */
14
19
  declare function checkNotificationMatchesFilter(notification: Notification, filter: NotificationFilter): boolean;
15
20
 
16
- export { Notification, NotificationFilter, SeverityLevelEnum, areSeveritiesEqual, areTagsEqual, checkNotificationDataFilter, checkNotificationMatchesFilter, isSameFilter };
21
+ export { Notification, NotificationFilter, SeverityLevelEnum, TagsFilter, areSeveritiesEqual, areTagsEqual, checkNotificationDataFilter, checkNotificationMatchesFilter, isSameFilter, normalizeTagGroups };
package/dist/cjs/index.js CHANGED
@@ -1,68 +1,72 @@
1
1
  'use strict';
2
2
 
3
- var chunkLESVJBPO_js = require('./chunk-LESVJBPO.js');
4
- var chunkCCAUG7YI_js = require('./chunk-CCAUG7YI.js');
3
+ var chunkC23LCEUU_js = require('./chunk-C23LCEUU.js');
4
+ var chunkYPTYVCVE_js = require('./chunk-YPTYVCVE.js');
5
5
  require('./chunk-7B52C2XE.js');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "Novu", {
10
10
  enumerable: true,
11
- get: function () { return chunkLESVJBPO_js.Novu; }
11
+ get: function () { return chunkC23LCEUU_js.Novu; }
12
12
  });
13
13
  Object.defineProperty(exports, "SubscriptionPreference", {
14
14
  enumerable: true,
15
- get: function () { return chunkLESVJBPO_js.SubscriptionPreference; }
15
+ get: function () { return chunkC23LCEUU_js.SubscriptionPreference; }
16
16
  });
17
17
  Object.defineProperty(exports, "TopicSubscription", {
18
18
  enumerable: true,
19
- get: function () { return chunkLESVJBPO_js.TopicSubscription; }
19
+ get: function () { return chunkC23LCEUU_js.TopicSubscription; }
20
20
  });
21
21
  Object.defineProperty(exports, "areSeveritiesEqual", {
22
22
  enumerable: true,
23
- get: function () { return chunkLESVJBPO_js.areSeveritiesEqual; }
23
+ get: function () { return chunkC23LCEUU_js.areSeveritiesEqual; }
24
24
  });
25
25
  Object.defineProperty(exports, "areTagsEqual", {
26
26
  enumerable: true,
27
- get: function () { return chunkLESVJBPO_js.areTagsEqual; }
27
+ get: function () { return chunkC23LCEUU_js.areTagsEqual; }
28
28
  });
29
29
  Object.defineProperty(exports, "checkNotificationDataFilter", {
30
30
  enumerable: true,
31
- get: function () { return chunkLESVJBPO_js.checkNotificationDataFilter; }
31
+ get: function () { return chunkC23LCEUU_js.checkNotificationDataFilter; }
32
32
  });
33
33
  Object.defineProperty(exports, "checkNotificationMatchesFilter", {
34
34
  enumerable: true,
35
- get: function () { return chunkLESVJBPO_js.checkNotificationMatchesFilter; }
35
+ get: function () { return chunkC23LCEUU_js.checkNotificationMatchesFilter; }
36
36
  });
37
37
  Object.defineProperty(exports, "isSameFilter", {
38
38
  enumerable: true,
39
- get: function () { return chunkLESVJBPO_js.isSameFilter; }
39
+ get: function () { return chunkC23LCEUU_js.isSameFilter; }
40
+ });
41
+ Object.defineProperty(exports, "normalizeTagGroups", {
42
+ enumerable: true,
43
+ get: function () { return chunkC23LCEUU_js.normalizeTagGroups; }
40
44
  });
41
45
  Object.defineProperty(exports, "ChannelType", {
42
46
  enumerable: true,
43
- get: function () { return chunkCCAUG7YI_js.ChannelType; }
47
+ get: function () { return chunkYPTYVCVE_js.ChannelType; }
44
48
  });
45
49
  Object.defineProperty(exports, "NotificationStatus", {
46
50
  enumerable: true,
47
- get: function () { return chunkCCAUG7YI_js.NotificationStatus; }
51
+ get: function () { return chunkYPTYVCVE_js.NotificationStatus; }
48
52
  });
49
53
  Object.defineProperty(exports, "NovuError", {
50
54
  enumerable: true,
51
- get: function () { return chunkCCAUG7YI_js.NovuError; }
55
+ get: function () { return chunkYPTYVCVE_js.NovuError; }
52
56
  });
53
57
  Object.defineProperty(exports, "PreferenceLevel", {
54
58
  enumerable: true,
55
- get: function () { return chunkCCAUG7YI_js.PreferenceLevel; }
59
+ get: function () { return chunkYPTYVCVE_js.PreferenceLevel; }
56
60
  });
57
61
  Object.defineProperty(exports, "SeverityLevelEnum", {
58
62
  enumerable: true,
59
- get: function () { return chunkCCAUG7YI_js.SeverityLevelEnum; }
63
+ get: function () { return chunkYPTYVCVE_js.SeverityLevelEnum; }
60
64
  });
61
65
  Object.defineProperty(exports, "WebSocketEvent", {
62
66
  enumerable: true,
63
- get: function () { return chunkCCAUG7YI_js.WebSocketEvent; }
67
+ get: function () { return chunkYPTYVCVE_js.WebSocketEvent; }
64
68
  });
65
69
  Object.defineProperty(exports, "WorkflowCriticalityEnum", {
66
70
  enumerable: true,
67
- get: function () { return chunkCCAUG7YI_js.WorkflowCriticalityEnum; }
71
+ get: function () { return chunkYPTYVCVE_js.WorkflowCriticalityEnum; }
68
72
  });
@@ -1,4 +1,4 @@
1
- import { l as Context, z as Subscriber, R as NovuEventEmitter, Q as InboxService, o as InboxNotification, a as Notification } from '../novu-event-emitter-DlsghVpg.js';
1
+ import { d as Context, w as Subscriber, Y as NovuEventEmitter, X as InboxService, I as InboxNotification, N as Notification } from '../novu-event-emitter-D9AphR7g.js';
2
2
  import 'json-logic-js';
3
3
 
4
4
  /**
@@ -1,27 +1,27 @@
1
1
  'use strict';
2
2
 
3
- var chunkCCAUG7YI_js = require('../chunk-CCAUG7YI.js');
3
+ var chunkYPTYVCVE_js = require('../chunk-YPTYVCVE.js');
4
4
  require('../chunk-7B52C2XE.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "buildContextKey", {
9
9
  enumerable: true,
10
- get: function () { return chunkCCAUG7YI_js.buildContextKey; }
10
+ get: function () { return chunkYPTYVCVE_js.buildContextKey; }
11
11
  });
12
12
  Object.defineProperty(exports, "buildSubscriber", {
13
13
  enumerable: true,
14
- get: function () { return chunkCCAUG7YI_js.buildSubscriber; }
14
+ get: function () { return chunkYPTYVCVE_js.buildSubscriber; }
15
15
  });
16
16
  Object.defineProperty(exports, "buildSubscriptionIdentifier", {
17
17
  enumerable: true,
18
- get: function () { return chunkCCAUG7YI_js.buildSubscriptionIdentifier; }
18
+ get: function () { return chunkYPTYVCVE_js.buildSubscriptionIdentifier; }
19
19
  });
20
20
  Object.defineProperty(exports, "createNotification", {
21
21
  enumerable: true,
22
- get: function () { return chunkCCAUG7YI_js.createNotification; }
22
+ get: function () { return chunkYPTYVCVE_js.createNotification; }
23
23
  });
24
24
  Object.defineProperty(exports, "parseMarkdownIntoTokens", {
25
25
  enumerable: true,
26
- get: function () { return chunkCCAUG7YI_js.parseMarkdownIntoTokens; }
26
+ get: function () { return chunkYPTYVCVE_js.parseMarkdownIntoTokens; }
27
27
  });
@@ -1,4 +1,4 @@
1
- import { Q as InboxService, R as NovuEventEmitter, V as Session, X as Result, Y as ScheduleCache, w as Schedule, Z as UpdateScheduleArgs, _ as PreferencesCache, $ as ListPreferencesArgs, t as Preference, a0 as BasePreferenceArgs, a1 as InstancePreferenceArgs, a2 as ListNotificationsArgs, p as ListNotificationsResponse, o as InboxNotification, a as Notification, N as NotificationFilter, a3 as FilterCountArgs, a4 as FilterCountResponse, a5 as FiltersCountArgs, F as FiltersCountResponse, a6 as BaseArgs, a7 as InstanceArgs, a8 as SnoozeArgs, a9 as SubscriptionsCache, z as Subscriber, L as ListSubscriptionsArgs, aa as Options, T as TopicSubscription, G as GetSubscriptionArgs, C as CreateSubscriptionArgs, f as BaseUpdateSubscriptionArgs, g as InstanceUpdateSubscriptionArgs, B as BaseDeleteSubscriptionArgs, I as InstanceDeleteSubscriptionArgs, c as SocketEventNames, ab as EventNames, E as EventHandler, b as Events, ac as ContextValue, r as NovuOptions, l as Context } from './novu-event-emitter-DlsghVpg.mjs';
1
+ import { X as InboxService, Y as NovuEventEmitter, Z as Session, _ as Result, $ as ScheduleCache, s as Schedule, a0 as UpdateScheduleArgs, a1 as PreferencesCache, a2 as ListPreferencesArgs, P as Preference, a3 as BasePreferenceArgs, a4 as InstancePreferenceArgs, a5 as ListNotificationsArgs, L as ListNotificationsResponse, I as InboxNotification, N as Notification, a as NotificationFilter, a6 as FilterCountArgs, a7 as FilterCountResponse, a8 as FiltersCountArgs, F as FiltersCountResponse, a9 as BaseArgs, aa as InstanceArgs, ab as SnoozeArgs, ac as SubscriptionsCache, w as Subscriber, k as ListSubscriptionsArgs, ad as Options, H as TopicSubscription, G as GetSubscriptionArgs, e as CreateSubscriptionArgs, b as BaseUpdateSubscriptionArgs, j as InstanceUpdateSubscriptionArgs, B as BaseDeleteSubscriptionArgs, i as InstanceDeleteSubscriptionArgs, t as SocketEventNames, ae as EventNames, E as EventHandler, h as Events, af as ContextValue, n as NovuOptions, d as Context } from './novu-event-emitter-D9AphR7g.js';
2
2
 
3
3
  declare class BaseModule {
4
4
  #private;
@@ -116,8 +116,8 @@ declare class Notifications extends BaseModule {
116
116
  tags?: NotificationFilter['tags'];
117
117
  data?: Record<string, unknown>;
118
118
  }): Result<void>;
119
- archiveAllRead({ tags, data }?: {
120
- tags?: string[];
119
+ archiveAllRead({ tags, data, }?: {
120
+ tags?: NotificationFilter['tags'];
121
121
  data?: Record<string, unknown>;
122
122
  }): Result<void>;
123
123
  deleteAll({ tags, data, }?: {
@@ -219,6 +219,28 @@ type Workflow = {
219
219
  tags?: string[];
220
220
  severity: SeverityLevelEnum;
221
221
  };
222
+ type TagsFilterOrGroup = {
223
+ or: string[];
224
+ };
225
+ type TagsFilterAndForm = {
226
+ and: TagsFilterOrGroup[];
227
+ };
228
+ /**
229
+ * Inbox tag filter: a **single** OR-group as `string[]` or `{ or: string[] }`, or **multiple** OR-groups (AND of OR) as `{ and: [{ or: string[] }, ...] }`.
230
+ *
231
+ * @example Single OR-group — match notifications tagged `promo` **or** `sale`
232
+ * ```ts
233
+ * const tags: TagsFilter = ['promo', 'sale'];
234
+ * ```
235
+ *
236
+ * @example AND of OR-groups — match (`urgent` **or** `critical`) **and** (`billing`)
237
+ * ```ts
238
+ * const tags: TagsFilter = {
239
+ * and: [{ or: ['urgent', 'critical'] }, { or: ['billing'] }],
240
+ * };
241
+ * ```
242
+ */
243
+ type TagsFilter = string[] | TagsFilterOrGroup | TagsFilterAndForm;
222
244
  type InboxNotification = {
223
245
  id: string;
224
246
  transactionId: string;
@@ -246,7 +268,7 @@ type InboxNotification = {
246
268
  severity: SeverityLevelEnum;
247
269
  };
248
270
  type NotificationFilter = {
249
- tags?: string[];
271
+ tags?: TagsFilter;
250
272
  read?: boolean;
251
273
  archived?: boolean;
252
274
  snoozed?: boolean;
@@ -470,7 +492,7 @@ declare class InboxService {
470
492
  context?: Context;
471
493
  }): Promise<Session>;
472
494
  fetchNotifications({ after, archived, limit, offset, read, tags, snoozed, seen, data, severity, createdGte, createdLte, }: {
473
- tags?: string[];
495
+ tags?: TagsFilter;
474
496
  read?: boolean;
475
497
  archived?: boolean;
476
498
  snoozed?: boolean;
@@ -489,7 +511,7 @@ declare class InboxService {
489
511
  }>;
490
512
  count({ filters, }: {
491
513
  filters: Array<{
492
- tags?: string[];
514
+ tags?: TagsFilter;
493
515
  read?: boolean;
494
516
  archived?: boolean;
495
517
  snoozed?: boolean;
@@ -510,25 +532,25 @@ declare class InboxService {
510
532
  snooze(notificationId: string, snoozeUntil: string): Promise<InboxNotification>;
511
533
  unsnooze(notificationId: string): Promise<InboxNotification>;
512
534
  readAll({ tags, data }: {
513
- tags?: string[];
535
+ tags?: TagsFilter;
514
536
  data?: Record<string, unknown>;
515
537
  }): Promise<void>;
516
538
  archiveAll({ tags, data }: {
517
- tags?: string[];
539
+ tags?: TagsFilter;
518
540
  data?: Record<string, unknown>;
519
541
  }): Promise<void>;
520
542
  archiveAllRead({ tags, data }: {
521
- tags?: string[];
543
+ tags?: TagsFilter;
522
544
  data?: Record<string, unknown>;
523
545
  }): Promise<void>;
524
546
  delete(notificationId: string): Promise<void>;
525
547
  deleteAll({ tags, data }: {
526
- tags?: string[];
548
+ tags?: TagsFilter;
527
549
  data?: Record<string, unknown>;
528
550
  }): Promise<void>;
529
551
  markAsSeen({ notificationIds, tags, data, }: {
530
552
  notificationIds?: string[];
531
- tags?: string[];
553
+ tags?: TagsFilter;
532
554
  data?: Record<string, unknown>;
533
555
  }): Promise<void>;
534
556
  seen(notificationId: string): Promise<void>;
@@ -651,7 +673,7 @@ declare class Notification implements Pick<NovuEventEmitter, 'on'>, InboxNotific
651
673
  }
652
674
 
653
675
  type ListNotificationsArgs = {
654
- tags?: string[];
676
+ tags?: TagsFilter;
655
677
  read?: boolean;
656
678
  data?: Record<string, unknown>;
657
679
  archived?: boolean;
@@ -671,7 +693,7 @@ type ListNotificationsResponse = {
671
693
  filter: NotificationFilter;
672
694
  };
673
695
  type FilterCountArgs = {
674
- tags?: string[];
696
+ tags?: TagsFilter;
675
697
  data?: Record<string, unknown>;
676
698
  read?: boolean;
677
699
  archived?: boolean;
@@ -683,7 +705,7 @@ type FilterCountArgs = {
683
705
  };
684
706
  type FiltersCountArgs = {
685
707
  filters: Array<{
686
- tags?: string[];
708
+ tags?: TagsFilter;
687
709
  read?: boolean;
688
710
  archived?: boolean;
689
711
  snoozed?: boolean;
@@ -764,25 +786,25 @@ type NotificationUnsnoozeEvents = BaseEvents<'notification.unsnooze', UnsnoozeAr
764
786
  type NotificationCompleteActionEvents = BaseEvents<'notification.complete_action', CompleteArgs, Notification>;
765
787
  type NotificationRevertActionEvents = BaseEvents<'notification.revert_action', RevertArgs, Notification>;
766
788
  type NotificationsReadAllEvents = BaseEvents<'notifications.read_all', {
767
- tags?: string[];
789
+ tags?: TagsFilter;
768
790
  data?: Record<string, unknown>;
769
791
  }, Notification[]>;
770
792
  type NotificationsSeenAllEvents = BaseEvents<'notifications.seen_all', {
771
793
  notificationIds: string[];
772
794
  } | {
773
- tags?: string[];
795
+ tags?: TagsFilter;
774
796
  data?: Record<string, unknown>;
775
797
  } | {}, Notification[]>;
776
798
  type NotificationsArchivedAllEvents = BaseEvents<'notifications.archive_all', {
777
- tags?: string[];
799
+ tags?: TagsFilter;
778
800
  data?: Record<string, unknown>;
779
801
  }, Notification[]>;
780
802
  type NotificationsReadArchivedAllEvents = BaseEvents<'notifications.archive_all_read', {
781
- tags?: string[];
803
+ tags?: TagsFilter;
782
804
  data?: Record<string, unknown>;
783
805
  }, Notification[]>;
784
806
  type NotificationsDeletedAllEvents = BaseEvents<'notifications.delete_all', {
785
- tags?: string[];
807
+ tags?: TagsFilter;
786
808
  data?: Record<string, unknown>;
787
809
  }, Notification[]>;
788
810
  type PreferencesFetchEvents = BaseEvents<'preferences.list', ListPreferencesArgs, Preference[]>;
@@ -865,4 +887,4 @@ declare class NovuEventEmitter {
865
887
  emit<Key extends EventNames>(type: Key, event?: Events[Key]): void;
866
888
  }
867
889
 
868
- export { type ListPreferencesArgs as $, type TimeRange as A, type BaseDeleteSubscriptionArgs as B, type CreateSubscriptionArgs as C, type DeleteSubscriptionArgs as D, type EventHandler as E, type FiltersCountResponse as F, type GetSubscriptionArgs as G, type UnreadCount as H, type InstanceDeleteSubscriptionArgs as I, WebSocketEvent as J, type WeeklySchedule as K, type ListSubscriptionsArgs as L, WorkflowCriticalityEnum as M, type NotificationFilter as N, NovuError as O, type PreferenceFilter as P, InboxService as Q, NovuEventEmitter as R, SeverityLevelEnum as S, TopicSubscription as T, type UpdateSubscriptionArgs as U, type Session as V, type WorkflowFilter as W, type Result as X, ScheduleCache as Y, type UpdateScheduleArgs as Z, PreferencesCache as _, Notification as a, type BasePreferenceArgs as a0, type InstancePreferenceArgs as a1, type ListNotificationsArgs as a2, type FilterCountArgs as a3, type FilterCountResponse as a4, type FiltersCountArgs as a5, type BaseArgs as a6, type InstanceArgs as a7, type SnoozeArgs as a8, SubscriptionsCache as a9, type Options as aa, type EventNames as ab, type ContextValue as ac, type Events as b, type SocketEventNames as c, type WorkflowGroupFilter as d, type WorkflowIdentifierOrId as e, type BaseUpdateSubscriptionArgs as f, type InstanceUpdateSubscriptionArgs as g, SubscriptionPreference as h, type UpdateSubscriptionPreferenceArgs as i, type ChannelPreference as j, ChannelType as k, type Context as l, type DaySchedule as m, type DefaultSchedule as n, type InboxNotification as o, type ListNotificationsResponse as p, NotificationStatus as q, type NovuOptions as r, type NovuSocketOptions as s, Preference as t, PreferenceLevel as u, type PreferencesResponse as v, Schedule as w, type SocketTypeOption as x, type StandardNovuOptions as y, type Subscriber as z };
890
+ export { ScheduleCache as $, type TimeRange as A, type BaseDeleteSubscriptionArgs as B, type ChannelPreference as C, type DaySchedule as D, type EventHandler as E, type FiltersCountResponse as F, type GetSubscriptionArgs as G, TopicSubscription as H, type InboxNotification as I, type UpdateSubscriptionArgs as J, type UpdateSubscriptionPreferenceArgs as K, type ListNotificationsResponse as L, type WeeklySchedule as M, Notification as N, WorkflowCriticalityEnum as O, Preference as P, type WorkflowFilter as Q, type WorkflowGroupFilter as R, SeverityLevelEnum as S, type TagsFilter as T, type UnreadCount as U, type WorkflowIdentifierOrId as V, WebSocketEvent as W, InboxService as X, NovuEventEmitter as Y, type Session as Z, type Result as _, type NotificationFilter as a, type UpdateScheduleArgs as a0, PreferencesCache as a1, type ListPreferencesArgs as a2, type BasePreferenceArgs as a3, type InstancePreferenceArgs as a4, type ListNotificationsArgs as a5, type FilterCountArgs as a6, type FilterCountResponse as a7, type FiltersCountArgs as a8, type BaseArgs as a9, type InstanceArgs as aa, type SnoozeArgs as ab, SubscriptionsCache as ac, type Options as ad, type EventNames as ae, type ContextValue as af, type BaseUpdateSubscriptionArgs as b, ChannelType as c, type Context as d, type CreateSubscriptionArgs as e, type DefaultSchedule as f, type DeleteSubscriptionArgs as g, type Events as h, type InstanceDeleteSubscriptionArgs as i, type InstanceUpdateSubscriptionArgs as j, type ListSubscriptionsArgs as k, NotificationStatus as l, NovuError as m, type NovuOptions as n, type NovuSocketOptions as o, type PreferenceFilter as p, PreferenceLevel as q, type PreferencesResponse as r, Schedule as s, type SocketEventNames as t, type SocketTypeOption as u, type StandardNovuOptions as v, type Subscriber as w, SubscriptionPreference as x, type TagsFilterAndForm as y, type TagsFilterOrGroup as z };
@@ -1,7 +1,7 @@
1
- import { G as InboxTheme, Y as SubscriptionTheme } from '../types-kZC7YyfT.js';
2
- import '../novu-event-emitter-DlsghVpg.js';
1
+ import { G as InboxTheme, Y as SubscriptionTheme } from '../types-DXbz7pFA.js';
2
+ import '../novu-event-emitter-D9AphR7g.js';
3
3
  import 'json-logic-js';
4
- import '../novu-Dz_wNJko.js';
4
+ import '../novu-CI_mzxvm.js';
5
5
 
6
6
  declare const inboxDarkTheme: InboxTheme;
7
7
  /**
@@ -1,5 +1,5 @@
1
- import { a as Notification, H as UnreadCount, N as NotificationFilter, t as Preference, w as Schedule, T as TopicSubscription, h as SubscriptionPreference, M as WorkflowCriticalityEnum, r as NovuOptions } from './novu-event-emitter-DlsghVpg.js';
2
- import { N as Novu } from './novu-Dz_wNJko.js';
1
+ import { P as Preference, s as Schedule, N as Notification, H as TopicSubscription, x as SubscriptionPreference, n as NovuOptions, a as NotificationFilter, O as WorkflowCriticalityEnum, U as UnreadCount } from './novu-event-emitter-D9AphR7g.js';
2
+ import { N as Novu } from './novu-CI_mzxvm.js';
3
3
 
4
4
  declare const commonAppearanceKeys: readonly ["root", "button", "input", "icon", "badge", "popoverContent", "popoverTrigger", "popoverClose", "collapsible", "tooltipContent", "tooltipTrigger"];
5
5
  declare const inboxAppearanceKeys: readonly ["bellIcon", "lockIcon", "bellContainer", "severityHigh__bellContainer", "severityMedium__bellContainer", "severityLow__bellContainer", "bellSeverityGlow", "severityGlowHigh__bellSeverityGlow", "severityGlowMedium__bellSeverityGlow", "severityGlowLow__bellSeverityGlow", "bellDot", "preferences__button", "preferencesContainer", "inboxHeader", "loading", "dropdownContent", "dropdownTrigger", "dropdownItem", "dropdownItemLabel", "dropdownItemLabelContainer", "dropdownItemLeft__icon", "dropdownItemRight__icon", "dropdownItem__icon", "datePicker", "datePickerGrid", "datePickerGridRow", "datePickerGridCell", "datePickerGridCellTrigger", "datePickerTrigger", "datePickerGridHeader", "datePickerControl", "datePickerControlPrevTrigger", "datePickerControlNextTrigger", "datePickerControlPrevTrigger__icon", "datePickerControlNextTrigger__icon", "datePickerCalendar", "datePickerHeaderMonth", "datePickerCalendarDay__button", "timePicker", "timePicker__hourSelect", "timePicker__minuteSelect", "timePicker__periodSelect", "timePicker__separator", "timePickerHour__input", "timePickerMinute__input", "snoozeDatePicker", "snoozeDatePicker__actions", "snoozeDatePickerCancel__button", "snoozeDatePickerApply__button", "snoozeDatePicker__timePickerContainer", "snoozeDatePicker__timePickerLabel", "back__button", "skeletonText", "skeletonAvatar", "skeletonSwitch", "skeletonSwitchThumb", "tabsRoot", "tabsList", "tabsContent", "tabsTrigger", "dots", "inboxContent", "inbox__popoverTrigger", "inbox__popoverContent", "notificationListContainer", "notificationList", "notificationListEmptyNoticeContainer", "notificationListEmptyNoticeOverlay", "notificationListEmptyNoticeIcon", "notificationListEmptyNotice", "notificationList__skeleton", "notificationList__skeletonContent", "notificationList__skeletonItem", "notificationList__skeletonAvatar", "notificationList__skeletonText", "notificationListNewNotificationsNotice__button", "notification", "severityHigh__notification", "severityMedium__notification", "severityLow__notification", "notificationBar", "severityHigh__notificationBar", "severityMedium__notificationBar", "severityLow__notificationBar", "notificationContent", "notificationTextContainer", "notificationDot", "notificationSubject", "notificationSubject__strong", "notificationSubject__em", "notificationBody", "notificationBody__strong", "notificationBody__em", "notificationBodyContainer", "notificationImage", "notificationImageLoadingFallback", "notificationDate", "notificationDateActionsContainer", "notificationDefaultActions", "notificationCustomActions", "notificationPrimaryAction__button", "notificationSecondaryAction__button", "notificationRead__button", "notificationUnread__button", "notificationArchive__button", "notificationUnarchive__button", "notificationSnooze__button", "notificationUnsnooze__button", "notificationRead__icon", "notificationUnread__icon", "notificationArchive__icon", "notificationUnarchive__icon", "notificationSnooze__icon", "notificationUnsnooze__icon", "notificationsTabs__tabsRoot", "notificationsTabs__tabsList", "notificationsTabs__tabsContent", "notificationsTabs__tabsTrigger", "notificationsTabsTriggerLabel", "notificationsTabsTriggerCount", "inboxStatus__title", "inboxStatus__dropdownTrigger", "inboxStatus__dropdownContent", "inboxStatus__dropdownItem", "inboxStatus__dropdownItemLabel", "inboxStatus__dropdownItemLabelContainer", "inboxStatus__dropdownItemLeft__icon", "inboxStatus__dropdownItemRight__icon", "inboxStatus__dropdownItem__icon", "inboxStatus__dropdownItemCheck__icon", "moreActionsContainer", "moreActions__dropdownTrigger", "moreActions__dropdownContent", "moreActions__dropdownItem", "moreActions__dropdownItemLabel", "moreActions__dropdownItemLeft__icon", "moreActions__dots", "moreTabs__button", "moreTabs__icon", "moreTabs__dropdownTrigger", "moreTabs__dropdownContent", "moreTabs__dropdownItem", "moreTabs__dropdownItemLabel", "moreTabs__dropdownItemRight__icon", "workflowContainer", "workflowLabel", "workflowLabelHeader", "workflowLabelHeaderContainer", "workflowLabelIcon", "workflowLabelContainer", "workflowContainerDisabledNotice", "workflowLabelDisabled__icon", "workflowContainerRight__icon", "workflowArrow__icon", "workflowDescription", "preferencesGroupContainer", "preferencesGroupHeader", "preferencesGroupLabelContainer", "preferencesGroupLabelIcon", "preferencesGroupLabel", "preferencesGroupActionsContainer", "preferencesGroupActionsContainerRight__icon", "preferencesGroupBody", "preferencesGroupChannels", "preferencesGroupInfo", "preferencesGroupInfoIcon", "preferencesGroupWorkflows", "channelContainer", "channelIconContainer", "channel__icon", "channelsContainerCollapsible", "channelsContainer", "channelLabel", "channelLabelContainer", "channelName", "channelSwitchContainer", "channelSwitch", "channelSwitchThumb", "preferencesHeader", "preferencesHeader__back__button", "preferencesHeader__back__button__icon", "preferencesHeader__title", "preferencesHeader__icon", "preferencesListEmptyNoticeContainer", "preferencesListEmptyNotice", "preferencesList__skeleton", "preferencesList__skeletonContent", "preferencesList__skeletonItem", "preferencesList__skeletonIcon", "preferencesList__skeletonSwitch", "preferencesList__skeletonSwitchThumb", "preferencesList__skeletonText", "scheduleContainer", "scheduleHeader", "scheduleLabelContainer", "scheduleLabelScheduleIcon", "scheduleLabelInfoIcon", "scheduleLabel", "scheduleActionsContainer", "scheduleActionsContainerRight", "scheduleBody", "scheduleDescription", "scheduleTable", "scheduleTableHeader", "scheduleHeaderColumn", "scheduleTableBody", "scheduleBodyRow", "scheduleBodyColumn", "scheduleInfoContainer", "scheduleInfoIcon", "scheduleInfo", "dayScheduleCopyTitle", "dayScheduleCopyIcon", "dayScheduleCopySelectAll", "dayScheduleCopyDay", "dayScheduleCopyFooterContainer", "dayScheduleCopy__dropdownTrigger", "dayScheduleCopy__dropdownContent", "timeSelect__dropdownTrigger", "timeSelect__time", "timeSelect__dropdownContent", "timeSelect__dropdownItem", "timeSelect__dropdownItemLabel", "timeSelect__dropdownItemLabelContainer", "timeSelect__dropdownItemCheck__icon", "notificationSnooze__dropdownContent", "notificationSnooze__dropdownItem", "notificationSnooze__dropdownItem__icon", "notificationSnoozeCustomTime_popoverContent", "notificationDeliveredAt__badge", "notificationDeliveredAt__icon", "notificationSnoozedUntil__icon", "strong", "em"];
@@ -818,7 +818,10 @@ declare enum NotificationStatus {
818
818
  ARCHIVED = "archived",
819
819
  SNOOZED = "snoozed"
820
820
  }
821
- type PreferencesFilter = Pick<NotificationFilter, 'tags' | 'severity'> & {
821
+ /** Preferences list API accepts a flat OR tag list only (not CNF). */
822
+ type PreferencesFilter = {
823
+ tags?: string[];
824
+ severity?: NotificationFilter['severity'];
822
825
  criticality?: WorkflowCriticalityEnum;
823
826
  };
824
827
  type PreferencesSort = (a: Preference, b: Preference) => number;
@@ -833,4 +836,4 @@ type PreferenceGroups = Array<{
833
836
  filter: PreferenceGroupFilter;
834
837
  }>;
835
838
 
836
- export { type AvatarRenderer as A, type BellRenderer as B, type CustomActionsRenderer as C, type DefaultActionsRenderer as D, type ElementStyles as E, type InboxLocalizationKey as F, type InboxTheme as G, NotificationStatus as H, type IconRenderer as I, type SubscriptionAppearance as J, type SubscriptionAppearanceCallback as K, type SubscriptionAppearanceCallbackFunction as L, type SubscriptionAppearanceCallbackKeys as M, type NotificationClickHandler as N, type SubscriptionAppearanceKey as O, type PreferencesFilter as P, type SubscriptionElements as Q, type RouterPush as R, type SubjectRenderer as S, type Tab as T, type SubscriptionIconKey as U, type SubscriptionIconOverrides as V, type SubscriptionLocalization as W, type SubscriptionLocalizationKey as X, type SubscriptionTheme as Y, type Variables as Z, type NotificationActionClickHandler as a, type NotificationRenderer as b, type BodyRenderer as c, type NovuProviderProps as d, type BaseNovuProviderProps as e, type AllAppearance as f, type AllLocalization as g, type PreferenceGroups as h, type PreferencesSort as i, type AllAppearanceCallbackFunction as j, type AllAppearanceCallbackKeys as k, type AllAppearanceKey as l, type AllElements as m, type AllIconKey as n, type AllIconOverrides as o, type AllLocalizationKey as p, type AllTheme as q, type InboxAppearance as r, type InboxAppearanceCallback as s, type InboxAppearanceCallbackFunction as t, type InboxAppearanceCallbackKeys as u, type InboxAppearanceKey as v, type InboxElements as w, type InboxIconKey as x, type InboxIconOverrides as y, type InboxLocalization as z };
839
+ export { type AvatarRenderer as A, type BellRenderer as B, type CustomActionsRenderer as C, type DefaultActionsRenderer as D, type ElementStyles as E, type InboxLocalizationKey as F, type InboxTheme as G, NotificationStatus as H, type IconRenderer as I, type SubscriptionAppearance as J, type SubscriptionAppearanceCallback as K, type SubscriptionAppearanceCallbackFunction as L, type SubscriptionAppearanceCallbackKeys as M, type NotificationClickHandler as N, type SubscriptionAppearanceKey as O, type PreferencesFilter as P, type SubscriptionElements as Q, type RouterPush as R, type SubjectRenderer as S, type Tab as T, type SubscriptionIconKey as U, type SubscriptionIconOverrides as V, type SubscriptionLocalization as W, type SubscriptionLocalizationKey as X, type SubscriptionTheme as Y, type Variables as Z, type NotificationActionClickHandler as a, type NotificationRenderer as b, type BodyRenderer as c, type BaseNovuProviderProps as d, type NovuProviderProps as e, type AllAppearance as f, type AllLocalization as g, type PreferenceGroups as h, type PreferencesSort as i, type AllAppearanceCallbackFunction as j, type AllAppearanceCallbackKeys as k, type AllAppearanceKey as l, type AllElements as m, type AllIconKey as n, type AllIconOverrides as o, type AllLocalizationKey as p, type AllTheme as q, type InboxAppearance as r, type InboxAppearanceCallback as s, type InboxAppearanceCallbackFunction as t, type InboxAppearanceCallbackKeys as u, type InboxAppearanceKey as v, type InboxElements as w, type InboxIconKey as x, type InboxIconOverrides as y, type InboxLocalization as z };
@@ -1,12 +1,12 @@
1
- import { T as TopicSubscription, e as WorkflowIdentifierOrId, r as NovuOptions } from '../novu-event-emitter-DlsghVpg.js';
2
- export { a as Notification } from '../novu-event-emitter-DlsghVpg.js';
3
- import { B as BellRenderer, N as NotificationClickHandler, a as NotificationActionClickHandler, b as NotificationRenderer, A as AvatarRenderer, S as SubjectRenderer, c as BodyRenderer, D as DefaultActionsRenderer, C as CustomActionsRenderer, d as NovuProviderProps, e as BaseNovuProviderProps, f as AllAppearance, g as AllLocalization, T as Tab, P as PreferencesFilter, h as PreferenceGroups, i as PreferencesSort, R as RouterPush } from '../types-kZC7YyfT.js';
4
- export { j as AllAppearanceCallbackFunction, k as AllAppearanceCallbackKeys, l as AllAppearanceKey, m as AllElements, n as AllIconKey, o as AllIconOverrides, p as AllLocalizationKey, q as AllTheme, E as ElementStyles, I as IconRenderer, r as InboxAppearance, s as InboxAppearanceCallback, t as InboxAppearanceCallbackFunction, u as InboxAppearanceCallbackKeys, v as InboxAppearanceKey, w as InboxElements, x as InboxIconKey, y as InboxIconOverrides, z as InboxLocalization, F as InboxLocalizationKey, G as InboxTheme, H as NotificationStatus, J as SubscriptionAppearance, K as SubscriptionAppearanceCallback, L as SubscriptionAppearanceCallbackFunction, M as SubscriptionAppearanceCallbackKeys, O as SubscriptionAppearanceKey, Q as SubscriptionElements, U as SubscriptionIconKey, V as SubscriptionIconOverrides, W as SubscriptionLocalization, X as SubscriptionLocalizationKey, Y as SubscriptionTheme, Z as Variables } from '../types-kZC7YyfT.js';
1
+ import { V as WorkflowIdentifierOrId, H as TopicSubscription, n as NovuOptions } from '../novu-event-emitter-D9AphR7g.js';
2
+ export { N as Notification } from '../novu-event-emitter-D9AphR7g.js';
3
+ import { B as BellRenderer, N as NotificationClickHandler, a as NotificationActionClickHandler, b as NotificationRenderer, A as AvatarRenderer, S as SubjectRenderer, c as BodyRenderer, D as DefaultActionsRenderer, C as CustomActionsRenderer, d as BaseNovuProviderProps, e as NovuProviderProps, f as AllAppearance, g as AllLocalization, T as Tab, P as PreferencesFilter, h as PreferenceGroups, i as PreferencesSort, R as RouterPush } from '../types-DXbz7pFA.js';
4
+ export { j as AllAppearanceCallbackFunction, k as AllAppearanceCallbackKeys, l as AllAppearanceKey, m as AllElements, n as AllIconKey, o as AllIconOverrides, p as AllLocalizationKey, q as AllTheme, E as ElementStyles, I as IconRenderer, r as InboxAppearance, s as InboxAppearanceCallback, t as InboxAppearanceCallbackFunction, u as InboxAppearanceCallbackKeys, v as InboxAppearanceKey, w as InboxElements, x as InboxIconKey, y as InboxIconOverrides, z as InboxLocalization, F as InboxLocalizationKey, G as InboxTheme, H as NotificationStatus, J as SubscriptionAppearance, K as SubscriptionAppearanceCallback, L as SubscriptionAppearanceCallbackFunction, M as SubscriptionAppearanceCallbackKeys, O as SubscriptionAppearanceKey, Q as SubscriptionElements, U as SubscriptionIconKey, V as SubscriptionIconOverrides, W as SubscriptionLocalization, X as SubscriptionLocalizationKey, Y as SubscriptionTheme, Z as Variables } from '../types-DXbz7pFA.js';
5
5
  import { Placement, OffsetOptions } from '@floating-ui/dom';
6
6
  import * as solid_js from 'solid-js';
7
7
  import { ComponentProps } from 'solid-js';
8
8
  import { MountableElement } from 'solid-js/web';
9
- import { N as Novu } from '../novu-Dz_wNJko.js';
9
+ import { N as Novu } from '../novu-CI_mzxvm.js';
10
10
  import 'json-logic-js';
11
11
 
12
12
  type NotificationRendererProps = {