@tolinax/ayoune-interfaces 2026.16.0 → 2026.17.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.
@@ -406,6 +406,7 @@ export declare enum aMN {
406
406
  NewsSources = "NewsSources",
407
407
  Notifications = "Notifications",
408
408
  NotificationPolicies = "NotificationPolicies",
409
+ NotificationPreferences = "NotificationPreferences",
409
410
  OfferCalculations = "OfferCalculations",
410
411
  OfferCalculationSchemas = "OfferCalculationSchemas",
411
412
  Offers = "Offers",
@@ -410,6 +410,7 @@ var aMN;
410
410
  aMN["NewsSources"] = "NewsSources";
411
411
  aMN["Notifications"] = "Notifications";
412
412
  aMN["NotificationPolicies"] = "NotificationPolicies";
413
+ aMN["NotificationPreferences"] = "NotificationPreferences";
413
414
  aMN["OfferCalculations"] = "OfferCalculations";
414
415
  aMN["OfferCalculationSchemas"] = "OfferCalculationSchemas";
415
416
  aMN["Offers"] = "Offers";
@@ -4266,6 +4266,16 @@ const modelsAndRights = [
4266
4266
  allowDuplicate: true,
4267
4267
  updateBy: "_id",
4268
4268
  },
4269
+ {
4270
+ plural: "NotificationPreferences",
4271
+ singular: "NotificationPreference",
4272
+ module: "config",
4273
+ right: "config.notificationpreferences",
4274
+ readOnly: false,
4275
+ importable: false,
4276
+ allowDuplicate: false,
4277
+ updateBy: "_id",
4278
+ },
4269
4279
  {
4270
4280
  plural: "OfferCalculations",
4271
4281
  singular: "OfferCalculation",
@@ -0,0 +1,8 @@
1
+ import { IDefaultFields } from "./IDefaultFields";
2
+ export interface INotificationPreference extends IDefaultFields {
3
+ _customerID: ObjectId;
4
+ user: ObjectId;
5
+ entityType: string;
6
+ channel: string;
7
+ enabled: boolean;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -431,6 +431,7 @@ export * from "./INewsletterType";
431
431
  export * from "./INewsSource";
432
432
  export * from "./INotification";
433
433
  export * from "./INotificationPolicy";
434
+ export * from "./INotificationPreference";
434
435
  export * from "./IOffer";
435
436
  export * from "./IOfferCalculation";
436
437
  export * from "./IOfferCalculationSchema";
@@ -447,6 +447,7 @@ __exportStar(require("./INewsletterType"), exports);
447
447
  __exportStar(require("./INewsSource"), exports);
448
448
  __exportStar(require("./INotification"), exports);
449
449
  __exportStar(require("./INotificationPolicy"), exports);
450
+ __exportStar(require("./INotificationPreference"), exports);
450
451
  __exportStar(require("./IOffer"), exports);
451
452
  __exportStar(require("./IOfferCalculation"), exports);
452
453
  __exportStar(require("./IOfferCalculationSchema"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2026.16.0",
3
+ "version": "2026.17.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",