cecon-interfaces 1.0.58 → 1.0.60
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/notification/entities/index.mjs +2 -1
- package/dist/esm2022/notification/entities/notification-action.entity.mjs +20 -0
- package/dist/esm2022/notification/entities/notification.entity.mjs +13 -9
- package/dist/esm2022/notification/enums/action-type.enum.mjs +7 -0
- package/dist/esm2022/notification/enums/category.enum.mjs +12 -0
- package/dist/esm2022/notification/enums/index.mjs +5 -0
- package/dist/esm2022/notification/enums/priority.enum.mjs +8 -0
- package/dist/esm2022/notification/enums/status.enum.mjs +7 -0
- package/dist/esm2022/notification/index.mjs +2 -1
- package/dist/esm2022/notification/interfaces/i-notification-action.mjs +2 -0
- package/dist/esm2022/notification/interfaces/i-notification.mjs +1 -1
- package/dist/esm2022/notification/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +64 -9
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/notification/entities/index.d.ts +1 -0
- package/dist/notification/entities/index.js +3 -1
- package/dist/notification/entities/notification-action.entity.d.ts +9 -0
- package/dist/notification/entities/notification-action.entity.js +24 -0
- package/dist/notification/entities/notification.entity.d.ts +10 -8
- package/dist/notification/entities/notification.entity.js +12 -8
- package/dist/notification/enums/action-type.enum.d.ts +5 -0
- package/dist/notification/enums/action-type.enum.js +9 -0
- package/dist/notification/enums/category.enum.d.ts +10 -0
- package/dist/notification/enums/category.enum.js +14 -0
- package/dist/notification/enums/index.d.ts +4 -0
- package/dist/notification/enums/index.js +11 -0
- package/dist/notification/enums/priority.enum.d.ts +6 -0
- package/dist/notification/enums/priority.enum.js +10 -0
- package/dist/notification/enums/status.enum.d.ts +5 -0
- package/dist/notification/enums/status.enum.js +9 -0
- package/dist/notification/index.d.ts +1 -0
- package/dist/notification/index.js +1 -0
- package/dist/notification/interfaces/i-notification-action.d.ts +7 -0
- package/dist/notification/interfaces/i-notification-action.js +2 -0
- package/dist/notification/interfaces/i-notification.d.ts +10 -8
- package/dist/notification/interfaces/index.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,2 +1,3 @@
|
|
1
|
+
export { NotificationActionEntity } from './notification-action.entity';
|
1
2
|
export { NotificationEntity } from './notification.entity';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgeyBOb3RpZmljYXRpb25BY3Rpb25FbnRpdHkgfSBmcm9tICcuL25vdGlmaWNhdGlvbi1hY3Rpb24uZW50aXR5JztcbmV4cG9ydCB7IE5vdGlmaWNhdGlvbkVudGl0eSB9IGZyb20gJy4vbm90aWZpY2F0aW9uLmVudGl0eSc7XG4iXX0=
|
@@ -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: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m90aWZpY2F0aW9uQWN0aW9uRW50aXR5IGltcGxlbWVudHMgSU5vdGlmaWNhdGlvbkFjdGlvbiB7XHJcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDQpXHJcblxyXG4gICAgaWNvbj86IHN0cmluZyA9ICcnO1xyXG4gICAgcHVibGljIGxhYmVsOiBzdHJpbmcgPSAnJztcclxuICAgIHB1YmxpYyB0eXBlOiBOb3RpZmljYXRpb25BY3Rpb25UeXBlRW51bSA9IE5vdGlmaWNhdGlvbkFjdGlvblR5cGVFbnVtLlVSTDtcclxuICAgIHB1YmxpYyB2YWx1ZTogc3RyaW5nID0gJyc7XHJcblxyXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg0KVxyXG5cclxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG5cclxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE5vdGlmaWNhdGlvbkFjdGlvbkVudGl0eT4pIHtcclxuICAgICAgICBpZiAoZGF0YSkge1xyXG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -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 (
|
4
|
+
// #region Properties (11)
|
5
|
+
action = new NotificationActionEntity();
|
6
|
+
category = NotificationCategoryEnum.ALERT;
|
3
7
|
createdAt = new Date();
|
4
|
-
|
5
|
-
|
8
|
+
data = '';
|
9
|
+
expirationTime = 3600;
|
6
10
|
id = '';
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
+
imageURL = '';
|
12
|
+
priority = NotificationPriorityEnum.HIGH;
|
13
|
+
sound = true;
|
14
|
+
status = NotificationStatusEnum.DELIVERED;
|
11
15
|
topicName = '';
|
12
|
-
// #endregion Properties (
|
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,
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ub3RpZmljYXRpb24vZW50aXRpZXMvbm90aWZpY2F0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsd0JBQXdCLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFFdEcsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFFeEUsTUFBTSxPQUFPLGtCQUFrQjtJQUMzQiwwQkFBMEI7SUFFbkIsTUFBTSxHQUE2QixJQUFJLHdCQUF3QixFQUFFLENBQUM7SUFDbEUsUUFBUSxHQUE2Qix3QkFBd0IsQ0FBQyxLQUFLLENBQUM7SUFDcEUsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUF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Skge1xyXG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -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,12 @@
|
|
1
|
+
export var NotificationCategoryEnum;
|
2
|
+
(function (NotificationCategoryEnum) {
|
3
|
+
NotificationCategoryEnum["INVITE"] = "invite";
|
4
|
+
NotificationCategoryEnum["DEVICE"] = "device";
|
5
|
+
NotificationCategoryEnum["LEAD"] = "lead";
|
6
|
+
NotificationCategoryEnum["TASK"] = "task";
|
7
|
+
NotificationCategoryEnum["MEETING"] = "meeting";
|
8
|
+
NotificationCategoryEnum["ALERT"] = "alert";
|
9
|
+
NotificationCategoryEnum["UPDATE"] = "update";
|
10
|
+
NotificationCategoryEnum["OTHER"] = "other";
|
11
|
+
})(NotificationCategoryEnum || (NotificationCategoryEnum = {}));
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnkuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ub3RpZmljYXRpb24vZW51bXMvY2F0ZWdvcnkuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSx3QkFTWDtBQVRELFdBQVksd0JBQXdCO0lBQ2hDLDZDQUFpQixDQUFBO0lBQ2pCLDZDQUFpQixDQUFBO0lBQ2pCLHlDQUFhLENBQUE7SUFDYix5Q0FBYSxDQUFBO0lBQ2IsK0NBQW1CLENBQUE7SUFDbkIsMkNBQWUsQ0FBQTtJQUNmLDZDQUFpQixDQUFBO0lBQ2pCLDJDQUFlLENBQUE7QUFDbkIsQ0FBQyxFQVRXLHdCQUF3QixLQUF4Qix3QkFBd0IsUUFTbkMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBOb3RpZmljYXRpb25DYXRlZ29yeUVudW0ge1xuICAgIElOVklURSA9ICdpbnZpdGUnLFxuICAgIERFVklDRSA9ICdkZXZpY2UnLFxuICAgIExFQUQgPSAnbGVhZCcsXG4gICAgVEFTSyA9ICd0YXNrJyxcbiAgICBNRUVUSU5HID0gJ21lZXRpbmcnLFxuICAgIEFMRVJUID0gJ2FsZXJ0JyxcbiAgICBVUERBVEUgPSAndXBkYXRlJyxcbiAgICBPVEhFUiA9ICdvdGhlcidcbn0iXX0=
|
@@ -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,
|
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,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1ub3RpZmljYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2ludGVyZmFjZXMvaS1ub3RpZmljYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5vdGlmaWNhdGlvbkNhdGVnb3J5RW51bSwgTm90aWZpY2F0aW9uUHJpb3JpdHlFbnVtLCBOb3RpZmljYXRpb25TdGF0dXNFbnVtIH0gZnJvbSAnLi4vZW51bXMnO1xyXG5pbXBvcnQgeyBJTm90aWZpY2F0aW9uQWN0aW9uIH0gZnJvbSAnLi9pLW5vdGlmaWNhdGlvbi1hY3Rpb24nO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJTm90aWZpY2F0aW9uIHtcclxuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoOSlcclxuXHJcbiAgICBhY3Rpb246IElOb3RpZmljYXRpb25BY3Rpb247XHJcbiAgICBwcmlvcml0eTogTm90aWZpY2F0aW9uUHJpb3JpdHlFbnVtO1xyXG4gICAgY2F0ZWdvcnk6IE5vdGlmaWNhdGlvbkNhdGVnb3J5RW51bTtcclxuICAgIGNyZWF0ZWRBdDogRGF0ZTtcclxuICAgIGV4cGlyYXRpb25UaW1lOiBudW1iZXI7XHJcbiAgICBzdGF0dXM6IE5vdGlmaWNhdGlvblN0YXR1c0VudW07XHJcbiAgICBpbWFnZVVSTDogc3RyaW5nO1xyXG4gICAgc291bmQ6IGJvb2xlYW47XHJcbiAgICBpZDogc3RyaW5nO1xyXG4gICAgZGF0YTogc3RyaW5nO1xyXG4gICAgdG9waWNOYW1lOiBzdHJpbmc7XHJcbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDkpXHJcbn1cclxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbm90aWZpY2F0aW9uL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IHsgSU5vdGlmaWNhdGlvbiB9IGZyb20gJy4vaS1ub3RpZmljYXRpb24nO1xuZXhwb3J0IHsgSU5vdGlmaWNhdGlvbkFjdGlvbiB9IGZyb20gJy4vaS1ub3RpZmljYXRpb24tYWN0aW9uJztcblxuIl19
|
@@ -1243,18 +1243,73 @@ 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["DEVICE"] = "device";
|
1257
|
+
NotificationCategoryEnum["LEAD"] = "lead";
|
1258
|
+
NotificationCategoryEnum["TASK"] = "task";
|
1259
|
+
NotificationCategoryEnum["MEETING"] = "meeting";
|
1260
|
+
NotificationCategoryEnum["ALERT"] = "alert";
|
1261
|
+
NotificationCategoryEnum["UPDATE"] = "update";
|
1262
|
+
NotificationCategoryEnum["OTHER"] = "other";
|
1263
|
+
})(NotificationCategoryEnum || (NotificationCategoryEnum = {}));
|
1264
|
+
|
1265
|
+
var NotificationPriorityEnum;
|
1266
|
+
(function (NotificationPriorityEnum) {
|
1267
|
+
NotificationPriorityEnum["LOW"] = "low";
|
1268
|
+
NotificationPriorityEnum["MEDIUM"] = "medium";
|
1269
|
+
NotificationPriorityEnum["HIGH"] = "high";
|
1270
|
+
NotificationPriorityEnum["URGENT"] = "urgent";
|
1271
|
+
})(NotificationPriorityEnum || (NotificationPriorityEnum = {}));
|
1272
|
+
|
1273
|
+
var NotificationStatusEnum;
|
1274
|
+
(function (NotificationStatusEnum) {
|
1275
|
+
NotificationStatusEnum["DELIVERED"] = "delivered";
|
1276
|
+
NotificationStatusEnum["READ"] = "read";
|
1277
|
+
NotificationStatusEnum["FAILED"] = "failed";
|
1278
|
+
})(NotificationStatusEnum || (NotificationStatusEnum = {}));
|
1279
|
+
|
1280
|
+
class NotificationActionEntity {
|
1281
|
+
// #region Properties (4)
|
1282
|
+
icon = '';
|
1283
|
+
label = '';
|
1284
|
+
type = NotificationActionTypeEnum.URL;
|
1285
|
+
value = '';
|
1286
|
+
// #endregion Properties (4)
|
1287
|
+
// #region Constructors (1)
|
1288
|
+
constructor(data) {
|
1289
|
+
if (data) {
|
1290
|
+
for (let key in data) {
|
1291
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1292
|
+
this[key] = data[key];
|
1293
|
+
}
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
}
|
1297
|
+
}
|
1298
|
+
|
1246
1299
|
class NotificationEntity {
|
1247
|
-
// #region Properties (
|
1300
|
+
// #region Properties (11)
|
1301
|
+
action = new NotificationActionEntity();
|
1302
|
+
category = NotificationCategoryEnum.ALERT;
|
1248
1303
|
createdAt = new Date();
|
1249
|
-
|
1250
|
-
|
1304
|
+
data = '';
|
1305
|
+
expirationTime = 3600;
|
1251
1306
|
id = '';
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1307
|
+
imageURL = '';
|
1308
|
+
priority = NotificationPriorityEnum.HIGH;
|
1309
|
+
sound = true;
|
1310
|
+
status = NotificationStatusEnum.DELIVERED;
|
1256
1311
|
topicName = '';
|
1257
|
-
// #endregion Properties (
|
1312
|
+
// #endregion Properties (11)
|
1258
1313
|
// #region Constructors (1)
|
1259
1314
|
constructor(data) {
|
1260
1315
|
if (data) {
|
@@ -1831,5 +1886,5 @@ class PurchaseEntity extends OrderEntity {
|
|
1831
1886
|
* Generated bundle index. Do not edit.
|
1832
1887
|
*/
|
1833
1888
|
|
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 };
|
1889
|
+
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, NotificationActionEntity, 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
1890
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|