cecon-interfaces 1.0.58 → 1.0.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/esm2022/notification/entities/notification-action.entity.mjs +20 -0
  2. package/dist/esm2022/notification/entities/notification.entity.mjs +13 -9
  3. package/dist/esm2022/notification/enums/action-type.enum.mjs +7 -0
  4. package/dist/esm2022/notification/enums/category.enum.mjs +11 -0
  5. package/dist/esm2022/notification/enums/index.mjs +5 -0
  6. package/dist/esm2022/notification/enums/priority.enum.mjs +8 -0
  7. package/dist/esm2022/notification/enums/status.enum.mjs +7 -0
  8. package/dist/esm2022/notification/index.mjs +2 -1
  9. package/dist/esm2022/notification/interfaces/i-notification-action.mjs +2 -0
  10. package/dist/esm2022/notification/interfaces/i-notification.mjs +1 -1
  11. package/dist/fesm2022/cecon-interfaces.mjs +63 -9
  12. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  13. package/dist/notification/entities/notification-action.entity.d.ts +9 -0
  14. package/dist/notification/entities/notification-action.entity.js +24 -0
  15. package/dist/notification/entities/notification.entity.d.ts +10 -8
  16. package/dist/notification/entities/notification.entity.js +12 -8
  17. package/dist/notification/enums/action-type.enum.d.ts +5 -0
  18. package/dist/notification/enums/action-type.enum.js +9 -0
  19. package/dist/notification/enums/category.enum.d.ts +9 -0
  20. package/dist/notification/enums/category.enum.js +13 -0
  21. package/dist/notification/enums/index.d.ts +4 -0
  22. package/dist/notification/enums/index.js +11 -0
  23. package/dist/notification/enums/priority.enum.d.ts +6 -0
  24. package/dist/notification/enums/priority.enum.js +10 -0
  25. package/dist/notification/enums/status.enum.d.ts +5 -0
  26. package/dist/notification/enums/status.enum.js +9 -0
  27. package/dist/notification/index.d.ts +1 -0
  28. package/dist/notification/index.js +1 -0
  29. package/dist/notification/interfaces/i-notification-action.d.ts +7 -0
  30. package/dist/notification/interfaces/i-notification-action.js +2 -0
  31. package/dist/notification/interfaces/i-notification.d.ts +10 -8
  32. package/dist/package.json +1 -1
  33. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ import { NotificationActionTypeEnum } from '../enums';
2
+ export class NotificationActionEntity {
3
+ // #region Properties (4)
4
+ icon = '';
5
+ label = '';
6
+ type = NotificationActionTypeEnum.URL;
7
+ value = '';
8
+ // #endregion Properties (4)
9
+ // #region Constructors (1)
10
+ constructor(data) {
11
+ if (data) {
12
+ for (let key in data) {
13
+ if (data.hasOwnProperty(key) && key in this) {
14
+ this[key] = data[key];
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLWFjdGlvbi5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2VudGl0aWVzL25vdGlmaWNhdGlvbi1hY3Rpb24uZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUd0RCxNQUFNLE9BQU8sd0JBQXdCO0lBQ2pDLHlCQUF5QjtJQUV6QixJQUFJLEdBQVksRUFBRSxDQUFDO0lBQ1osS0FBSyxHQUFXLEVBQUUsQ0FBQztJQUNuQixJQUFJLEdBQStCLDBCQUEwQixDQUFDLEdBQUcsQ0FBQztJQUNsRSxLQUFLLEdBQVcsRUFBRSxDQUFDO0lBRTFCLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUF3QztRQUNoRCxJQUFJLElBQUksRUFBRTtZQUNOLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNsQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDeEMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENB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ICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
@@ -1,15 +1,19 @@
1
+ import { NotificationCategoryEnum, NotificationPriorityEnum, NotificationStatusEnum } from '../enums';
2
+ import { NotificationActionEntity } from './notification-action.entity';
1
3
  export class NotificationEntity {
2
- // #region Properties (9)
4
+ // #region Properties (11)
5
+ action = new NotificationActionEntity();
6
+ category = NotificationCategoryEnum.ALERT;
3
7
  createdAt = new Date();
4
- deliveryAttempts = 0;
5
- expiryDate = new Date();
8
+ data = '';
9
+ expirationTime = 3600;
6
10
  id = '';
7
- isDelivered = false;
8
- isRead = false;
9
- metadata = {};
10
- payload = {};
11
+ imageURL = '';
12
+ priority = NotificationPriorityEnum.HIGH;
13
+ sound = true;
14
+ status = NotificationStatusEnum.DELIVERED;
11
15
  topicName = '';
12
- // #endregion Properties (9)
16
+ // #endregion Properties (11)
13
17
  // #region Constructors (1)
14
18
  constructor(data) {
15
19
  if (data) {
@@ -21,4 +25,4 @@ export class NotificationEntity {
21
25
  }
22
26
  }
23
27
  }
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ub3RpZmljYXRpb24vZW50aXRpZXMvbm90aWZpY2F0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sa0JBQWtCO0lBQzNCLHlCQUF5QjtJQUVsQixTQUFTLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FBQztJQUNwQyxnQkFBZ0IsR0FBWSxDQUFDLENBQUM7SUFDOUIsVUFBVSxHQUFVLElBQUksSUFBSSxFQUFFLENBQ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vbGVhbiA9IGZhbHNlO1xyXG4gICAgbWV0YWRhdGE/OiB7XHJcbiAgICAgICAgW2tleTogc3RyaW5nXTogYW55O1xyXG4gICAgfSA9IHt9O1xyXG4gICAgcHVibGljIHBheWxvYWQ6IGFueSA9IHt9O1xyXG4gICAgcHVibGljIHRvcGljTmFtZTogc3RyaW5nID0gJyc7XHJcblxyXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg5KVxyXG5cclxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG5cclxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE5vdGlmaWNhdGlvbkVudGl0eT4pIHtcclxuICAgICAgICBpZiAoZGF0YSkge1xyXG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ub3RpZmljYXRpb24vZW50aXRpZXMvbm90aWZpY2F0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsd0JBQXdCLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxVQUF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OiBzdHJpbmcgPSAnJztcclxuXHJcbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDExKVxyXG5cclxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG5cclxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE5vdGlmaWNhdGlvbkVudGl0eT4pIHtcclxuICAgICAgICBpZiAoZGF0YSkge1xyXG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
@@ -0,0 +1,7 @@
1
+ export var NotificationActionTypeEnum;
2
+ (function (NotificationActionTypeEnum) {
3
+ NotificationActionTypeEnum["URL"] = "url";
4
+ NotificationActionTypeEnum["FUNCTION"] = "function";
5
+ NotificationActionTypeEnum["CUSTOM"] = "custom";
6
+ })(NotificationActionTypeEnum || (NotificationActionTypeEnum = {}));
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ub3RpZmljYXRpb24vZW51bXMvYWN0aW9uLXR5cGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSwwQkFJWDtBQUpELFdBQVksMEJBQTBCO0lBQ2xDLHlDQUFXLENBQUE7SUFDWCxtREFBcUIsQ0FBQTtJQUNyQiwrQ0FBaUIsQ0FBQTtBQUNyQixDQUFDLEVBSlcsMEJBQTBCLEtBQTFCLDBCQUEwQixRQUlyQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIE5vdGlmaWNhdGlvbkFjdGlvblR5cGVFbnVtIHtcbiAgICBVUkwgPSAndXJsJyxcbiAgICBGVU5DVElPTiA9ICdmdW5jdGlvbicsXG4gICAgQ1VTVE9NID0gJ2N1c3RvbSdcbn0iXX0=
@@ -0,0 +1,11 @@
1
+ export var NotificationCategoryEnum;
2
+ (function (NotificationCategoryEnum) {
3
+ NotificationCategoryEnum["INVITE"] = "invite";
4
+ NotificationCategoryEnum["LEAD"] = "lead";
5
+ NotificationCategoryEnum["TASK"] = "task";
6
+ NotificationCategoryEnum["MEETING"] = "meeting";
7
+ NotificationCategoryEnum["ALERT"] = "alert";
8
+ NotificationCategoryEnum["UPDATE"] = "update";
9
+ NotificationCategoryEnum["OTHER"] = "other";
10
+ })(NotificationCategoryEnum || (NotificationCategoryEnum = {}));
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnkuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ub3RpZmljYXRpb24vZW51bXMvY2F0ZWdvcnkuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSx3QkFRWDtBQVJELFdBQVksd0JBQXdCO0lBQ2hDLDZDQUFpQixDQUFBO0lBQ2pCLHlDQUFhLENBQUE7SUFDYix5Q0FBYSxDQUFBO0lBQ2IsK0NBQW1CLENBQUE7SUFDbkIsMkNBQWUsQ0FBQTtJQUNmLDZDQUFpQixDQUFBO0lBQ2pCLDJDQUFlLENBQUE7QUFDbkIsQ0FBQyxFQVJXLHdCQUF3QixLQUF4Qix3QkFBd0IsUUFRbkMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBOb3RpZmljYXRpb25DYXRlZ29yeUVudW0ge1xuICAgIElOVklURSA9ICdpbnZpdGUnLFxuICAgIExFQUQgPSAnbGVhZCcsXG4gICAgVEFTSyA9ICd0YXNrJyxcbiAgICBNRUVUSU5HID0gJ21lZXRpbmcnLFxuICAgIEFMRVJUID0gJ2FsZXJ0JyxcbiAgICBVUERBVEUgPSAndXBkYXRlJyxcbiAgICBPVEhFUiA9ICdvdGhlcidcbn0iXX0=
@@ -0,0 +1,5 @@
1
+ export { NotificationActionTypeEnum } from './action-type.enum';
2
+ export { NotificationCategoryEnum } from './category.enum';
3
+ export { NotificationPriorityEnum } from './priority.enum';
4
+ export { NotificationStatusEnum } from './status.enum';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNELE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IE5vdGlmaWNhdGlvbkFjdGlvblR5cGVFbnVtIH0gZnJvbSAnLi9hY3Rpb24tdHlwZS5lbnVtJztcbmV4cG9ydCB7IE5vdGlmaWNhdGlvbkNhdGVnb3J5RW51bSB9IGZyb20gJy4vY2F0ZWdvcnkuZW51bSc7XG5leHBvcnQgeyBOb3RpZmljYXRpb25Qcmlvcml0eUVudW0gfSBmcm9tICcuL3ByaW9yaXR5LmVudW0nO1xuZXhwb3J0IHsgTm90aWZpY2F0aW9uU3RhdHVzRW51bSB9IGZyb20gJy4vc3RhdHVzLmVudW0nO1xuIl19
@@ -0,0 +1,8 @@
1
+ export var NotificationPriorityEnum;
2
+ (function (NotificationPriorityEnum) {
3
+ NotificationPriorityEnum["LOW"] = "low";
4
+ NotificationPriorityEnum["MEDIUM"] = "medium";
5
+ NotificationPriorityEnum["HIGH"] = "high";
6
+ NotificationPriorityEnum["URGENT"] = "urgent";
7
+ })(NotificationPriorityEnum || (NotificationPriorityEnum = {}));
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpb3JpdHkuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ub3RpZmljYXRpb24vZW51bXMvcHJpb3JpdHkuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSx3QkFLWDtBQUxELFdBQVksd0JBQXdCO0lBQ2hDLHVDQUFXLENBQUE7SUFDWCw2Q0FBaUIsQ0FBQTtJQUNqQix5Q0FBYSxDQUFBO0lBQ2IsNkNBQWlCLENBQUE7QUFDckIsQ0FBQyxFQUxXLHdCQUF3QixLQUF4Qix3QkFBd0IsUUFLbkMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBOb3RpZmljYXRpb25Qcmlvcml0eUVudW0ge1xuICAgIExPVyA9ICdsb3cnLFxuICAgIE1FRElVTSA9ICdtZWRpdW0nLFxuICAgIEhJR0ggPSAnaGlnaCcsXG4gICAgVVJHRU5UID0gJ3VyZ2VudCdcbn0iXX0=
@@ -0,0 +1,7 @@
1
+ export var NotificationStatusEnum;
2
+ (function (NotificationStatusEnum) {
3
+ NotificationStatusEnum["DELIVERED"] = "delivered";
4
+ NotificationStatusEnum["READ"] = "read";
5
+ NotificationStatusEnum["FAILED"] = "failed";
6
+ })(NotificationStatusEnum || (NotificationStatusEnum = {}));
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2VudW1zL3N0YXR1cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLHNCQUlYO0FBSkQsV0FBWSxzQkFBc0I7SUFDOUIsaURBQXVCLENBQUE7SUFDdkIsdUNBQWEsQ0FBQTtJQUNiLDJDQUFpQixDQUFBO0FBQ3JCLENBQUMsRUFKVyxzQkFBc0IsS0FBdEIsc0JBQXNCLFFBSWpDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gTm90aWZpY2F0aW9uU3RhdHVzRW51bSB7XG4gICAgREVMSVZFUkVEID0gJ2RlbGl2ZXJlZCcsXG4gICAgUkVBRCA9ICdyZWFkJyxcbiAgICBGQUlMRUQgPSAnZmFpbGVkJ1xufSJdfQ==
@@ -1,3 +1,4 @@
1
1
  export * from './entities';
2
+ export * from './enums';
2
3
  export * from './interfaces';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgKiBmcm9tICcuL2VudGl0aWVzJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7XG5cbiJdfQ==
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgKiBmcm9tICcuL2VudGl0aWVzJztcbmV4cG9ydCAqIGZyb20gJy4vZW51bXMnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnRlcmZhY2VzJztcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1ub3RpZmljYXRpb24tYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL25vdGlmaWNhdGlvbi9pbnRlcmZhY2VzL2ktbm90aWZpY2F0aW9uLWFjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTm90aWZpY2F0aW9uQWN0aW9uVHlwZUVudW0gfSBmcm9tICcuLi9lbnVtcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElOb3RpZmljYXRpb25BY3Rpb24ge1xyXG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg0KVxyXG5cclxuICAgIGljb24/OiBzdHJpbmc7XHJcbiAgICBsYWJlbDogc3RyaW5nO1xyXG4gICAgdHlwZTogTm90aWZpY2F0aW9uQWN0aW9uVHlwZUVudW07XHJcbiAgICB2YWx1ZTogc3RyaW5nO1xyXG5cclxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNClcclxufVxyXG4iXX0=
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1ub3RpZmljYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2ludGVyZmFjZXMvaS1ub3RpZmljYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIlxyXG5leHBvcnQgaW50ZXJmYWNlIElOb3RpZmljYXRpb24ge1xyXG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg5KVxyXG5cclxuICAgIGNyZWF0ZWRBdDogRGF0ZTtcclxuICAgIGRlbGl2ZXJ5QXR0ZW1wdHM/OiBudW1iZXI7XHJcbiAgICBleHBpcnlEYXRlPzogRGF0ZTtcclxuICAgIGlkOiBzdHJpbmc7XHJcbiAgICBpc0RlbGl2ZXJlZDogYm9vbGVhbjtcclxuICAgIGlzUmVhZDogYm9vbGVhbjtcclxuICAgIG1ldGFkYXRhPzoge1xyXG4gICAgICAgIFtrZXk6IHN0cmluZ106IGFueTtcclxuICAgIH07XHJcbiAgICBwYXlsb2FkOiBhbnk7XHJcbiAgICB0b3BpY05hbWU6IHN0cmluZztcclxuXHJcbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDkpXHJcbn1cclxuIl19
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1ub3RpZmljYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2ludGVyZmFjZXMvaS1ub3RpZmljYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5vdGlmaWNhdGlvbkNhdGVnb3J5RW51bSwgTm90aWZpY2F0aW9uUHJpb3JpdHlFbnVtLCBOb3RpZmljYXRpb25TdGF0dXNFbnVtIH0gZnJvbSAnLi4vZW51bXMnO1xyXG5pbXBvcnQgeyBJTm90aWZpY2F0aW9uQWN0aW9uIH0gZnJvbSAnLi9pLW5vdGlmaWNhdGlvbi1hY3Rpb24nO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJTm90aWZpY2F0aW9uIHtcclxuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoOSlcclxuXHJcbiAgICBhY3Rpb246IElOb3RpZmljYXRpb25BY3Rpb247XHJcbiAgICBwcmlvcml0eTogTm90aWZpY2F0aW9uUHJpb3JpdHlFbnVtO1xyXG4gICAgY2F0ZWdvcnk6IE5vdGlmaWNhdGlvbkNhdGVnb3J5RW51bTtcclxuICAgIGNyZWF0ZWRBdDogRGF0ZTtcclxuICAgIGV4cGlyYXRpb25UaW1lOiBudW1iZXI7XHJcbiAgICBzdGF0dXM6IE5vdGlmaWNhdGlvblN0YXR1c0VudW07XHJcbiAgICBpbWFnZVVSTDogc3RyaW5nO1xyXG4gICAgc291bmQ6IGJvb2xlYW47XHJcbiAgICBpZDogc3RyaW5nO1xyXG4gICAgZGF0YTogc3RyaW5nO1xyXG4gICAgdG9waWNOYW1lOiBzdHJpbmc7XHJcbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDkpXHJcbn1cclxuIl19
@@ -1243,18 +1243,72 @@ class MemberEntity extends BaseEntity {
1243
1243
  }
1244
1244
  }
1245
1245
 
1246
+ var NotificationActionTypeEnum;
1247
+ (function (NotificationActionTypeEnum) {
1248
+ NotificationActionTypeEnum["URL"] = "url";
1249
+ NotificationActionTypeEnum["FUNCTION"] = "function";
1250
+ NotificationActionTypeEnum["CUSTOM"] = "custom";
1251
+ })(NotificationActionTypeEnum || (NotificationActionTypeEnum = {}));
1252
+
1253
+ var NotificationCategoryEnum;
1254
+ (function (NotificationCategoryEnum) {
1255
+ NotificationCategoryEnum["INVITE"] = "invite";
1256
+ NotificationCategoryEnum["LEAD"] = "lead";
1257
+ NotificationCategoryEnum["TASK"] = "task";
1258
+ NotificationCategoryEnum["MEETING"] = "meeting";
1259
+ NotificationCategoryEnum["ALERT"] = "alert";
1260
+ NotificationCategoryEnum["UPDATE"] = "update";
1261
+ NotificationCategoryEnum["OTHER"] = "other";
1262
+ })(NotificationCategoryEnum || (NotificationCategoryEnum = {}));
1263
+
1264
+ var NotificationPriorityEnum;
1265
+ (function (NotificationPriorityEnum) {
1266
+ NotificationPriorityEnum["LOW"] = "low";
1267
+ NotificationPriorityEnum["MEDIUM"] = "medium";
1268
+ NotificationPriorityEnum["HIGH"] = "high";
1269
+ NotificationPriorityEnum["URGENT"] = "urgent";
1270
+ })(NotificationPriorityEnum || (NotificationPriorityEnum = {}));
1271
+
1272
+ var NotificationStatusEnum;
1273
+ (function (NotificationStatusEnum) {
1274
+ NotificationStatusEnum["DELIVERED"] = "delivered";
1275
+ NotificationStatusEnum["READ"] = "read";
1276
+ NotificationStatusEnum["FAILED"] = "failed";
1277
+ })(NotificationStatusEnum || (NotificationStatusEnum = {}));
1278
+
1279
+ class NotificationActionEntity {
1280
+ // #region Properties (4)
1281
+ icon = '';
1282
+ label = '';
1283
+ type = NotificationActionTypeEnum.URL;
1284
+ value = '';
1285
+ // #endregion Properties (4)
1286
+ // #region Constructors (1)
1287
+ constructor(data) {
1288
+ if (data) {
1289
+ for (let key in data) {
1290
+ if (data.hasOwnProperty(key) && key in this) {
1291
+ this[key] = data[key];
1292
+ }
1293
+ }
1294
+ }
1295
+ }
1296
+ }
1297
+
1246
1298
  class NotificationEntity {
1247
- // #region Properties (9)
1299
+ // #region Properties (11)
1300
+ action = new NotificationActionEntity();
1301
+ category = NotificationCategoryEnum.ALERT;
1248
1302
  createdAt = new Date();
1249
- deliveryAttempts = 0;
1250
- expiryDate = new Date();
1303
+ data = '';
1304
+ expirationTime = 3600;
1251
1305
  id = '';
1252
- isDelivered = false;
1253
- isRead = false;
1254
- metadata = {};
1255
- payload = {};
1306
+ imageURL = '';
1307
+ priority = NotificationPriorityEnum.HIGH;
1308
+ sound = true;
1309
+ status = NotificationStatusEnum.DELIVERED;
1256
1310
  topicName = '';
1257
- // #endregion Properties (9)
1311
+ // #endregion Properties (11)
1258
1312
  // #region Constructors (1)
1259
1313
  constructor(data) {
1260
1314
  if (data) {
@@ -1831,5 +1885,5 @@ class PurchaseEntity extends OrderEntity {
1831
1885
  * Generated bundle index. Do not edit.
1832
1886
  */
1833
1887
 
1834
- export { AccountInformationsEntity, AddressEntity, AppCategoryEnum, AppEntity, AppHeaderTypeEnum, AppInfoEntity, AppModeEnum, BaseEntity, BooleanStringEnum, CarouselImageEntity, CompanyEntity, CompanyKeysEnum, CompanyMessageTypeEnum, ContainerEntity, CoordsEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, IntervalTypeEnum, InviteEntity, InviteStatusEnum, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationEntity, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentChannelEnum, PaymentMethodEntity, PaymentModeEnum, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentTypeEnum, PlanEntity, PlanFeatureEntity, PlanIdentifierEnum, PlatfomrEnum, PurchaseEntity, RatingEntity, SponsorshipValuesEntity };
1888
+ export { AccountInformationsEntity, AddressEntity, AppCategoryEnum, AppEntity, AppHeaderTypeEnum, AppInfoEntity, AppModeEnum, BaseEntity, BooleanStringEnum, CarouselImageEntity, CompanyEntity, CompanyKeysEnum, CompanyMessageTypeEnum, ContainerEntity, CoordsEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, IntervalTypeEnum, InviteEntity, InviteStatusEnum, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentChannelEnum, PaymentMethodEntity, PaymentModeEnum, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentTypeEnum, PlanEntity, PlanFeatureEntity, PlanIdentifierEnum, PlatfomrEnum, PurchaseEntity, RatingEntity, SponsorshipValuesEntity };
1835
1889
  //# sourceMappingURL=cecon-interfaces.mjs.map