awing-library 2.1.3 → 2.1.4

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 (66) hide show
  1. package/lib/ACM-AXN/Campaign/index.js +2 -1
  2. package/lib/ACM-AXN/DomainPreview/PreviewButton.js +50 -27
  3. package/lib/ACM-AXN/Notifications/Constant.d.ts +144 -0
  4. package/lib/ACM-AXN/Notifications/Constant.js +134 -0
  5. package/lib/ACM-AXN/Notifications/Context.d.ts +8 -0
  6. package/lib/ACM-AXN/Notifications/Context.js +10 -0
  7. package/lib/ACM-AXN/Notifications/Hooks.d.ts +7 -0
  8. package/lib/ACM-AXN/Notifications/Hooks.js +17 -0
  9. package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/ButtonTabs.js +26 -20
  10. package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/MenuNotification.d.ts +1 -1
  11. package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/MenuNotification.js +30 -39
  12. package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/index.d.ts +2 -5
  13. package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/index.js +18 -15
  14. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationEmpty.d.ts +1 -1
  15. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationEmpty.js +15 -15
  16. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationEmpty.test.d.ts +0 -6
  17. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationEmpty.test.js +29 -28
  18. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/Message.d.ts +10 -0
  19. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/Message.js +380 -0
  20. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationAvatar.d.ts +1 -1
  21. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationAvatar.js +3 -3
  22. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationAvatar.test.d.ts +0 -6
  23. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationAvatar.test.js +38 -48
  24. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.d.ts +2 -2
  25. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.js +32 -32
  26. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.test.d.ts +0 -6
  27. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.test.js +65 -73
  28. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.d.ts +4 -11
  29. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.js +46 -36
  30. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.test.d.ts +0 -6
  31. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.test.js +56 -50
  32. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationLoading.js +30 -30
  33. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/index.d.ts +3 -15
  34. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/index.js +35 -4
  35. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/index.test.d.ts +0 -6
  36. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/index.test.js +88 -83
  37. package/lib/ACM-AXN/Notifications/NotificationDetail/index.d.ts +1 -1
  38. package/lib/ACM-AXN/Notifications/NotificationDetail/index.js +101 -100
  39. package/lib/ACM-AXN/Notifications/{NotificationPopover.d.ts → NotificationPopover/Container.d.ts} +2 -2
  40. package/lib/ACM-AXN/Notifications/NotificationPopover/Container.js +149 -0
  41. package/lib/ACM-AXN/Notifications/{NotificationPopover.test.d.ts → NotificationPopover/Container.test.d.ts} +1 -1
  42. package/lib/ACM-AXN/Notifications/{NotificationPopover.test.js → NotificationPopover/Container.test.js} +5 -5
  43. package/lib/ACM-AXN/Notifications/NotificationPopover/index.d.ts +8 -0
  44. package/lib/ACM-AXN/Notifications/NotificationPopover/index.js +13 -0
  45. package/lib/ACM-AXN/Notifications/NotificationScreen.d.ts +1 -1
  46. package/lib/ACM-AXN/Notifications/NotificationScreen.js +4 -4
  47. package/lib/ACM-AXN/Notifications/Types.d.ts +241 -0
  48. package/lib/ACM-AXN/Notifications/Types.js +290 -0
  49. package/lib/ACM-AXN/Notifications/index.d.ts +2 -2
  50. package/lib/ACM-AXN/Notifications/index.js +5 -5
  51. package/lib/ACM-AXN/Page/Container.js +2 -2
  52. package/lib/ACM-AXN/Page/index.js +2 -1
  53. package/lib/ACM-AXN/PlaceGroup/Context.d.ts +1 -1
  54. package/lib/ACM-AXN/ViewTemplate/TemplateField/Fields/BasicField/index.js +1 -1
  55. package/lib/AWING/Directory/CreateDirectory.d.ts +3 -0
  56. package/lib/AWING/Directory/CreateDirectory.js +27 -10
  57. package/lib/Commons/Components/ClassicBaseDrawer.d.ts +1 -0
  58. package/lib/Commons/Components/ClassicBaseDrawer.js +7 -3
  59. package/lib/translate/en/translation.json +53 -0
  60. package/lib/translate/vi/translation.json +53 -0
  61. package/package.json +2 -1
  62. package/lib/ACM-AXN/Notifications/NotificationDetail/Common.d.ts +0 -39
  63. package/lib/ACM-AXN/Notifications/NotificationDetail/Common.js +0 -304
  64. package/lib/ACM-AXN/Notifications/NotificationPopover.js +0 -69
  65. package/lib/ACM-AXN/Page/ViewDomain/index.d.ts +0 -9
  66. package/lib/ACM-AXN/Page/ViewDomain/index.js +0 -148
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __generator = (this && this.__generator) || function (thisArg, body) {
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
+ function verb(n) { return function (v) { return step([n, v]); }; }
15
+ function step(op) {
16
+ if (f) throw new TypeError("Generator is already executing.");
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
+ if (y = 0, t) op = [op[0] & 2, t.value];
20
+ switch (op[0]) {
21
+ case 0: case 1: t = op; break;
22
+ case 4: _.label++; return { value: op[1], done: false };
23
+ case 5: _.label++; y = op[1]; op = [0]; continue;
24
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
+ default:
26
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
+ if (t[2]) _.ops.pop();
31
+ _.trys.pop(); continue;
32
+ }
33
+ op = body.call(thisArg, _);
34
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
+ }
37
+ };
38
+ var __importDefault = (this && this.__importDefault) || function (mod) {
39
+ return (mod && mod.__esModule) ? mod : { "default": mod };
40
+ };
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ var jsx_runtime_1 = require("react/jsx-runtime");
43
+ /**
44
+ *
45
+ * @author dauquan1108@gmail.com on 12/1/2023.
46
+ *
47
+ **/
48
+ var react_1 = require("react");
49
+ var material_1 = require("@mui/material");
50
+ var Notifications_1 = __importDefault(require("@mui/icons-material/Notifications"));
51
+ var signalr_1 = require("@microsoft/signalr");
52
+ var Constant_1 = require("../Constant");
53
+ var Hooks_1 = __importDefault(require("../Hooks"));
54
+ var NotificationDetail_1 = __importDefault(require("../NotificationDetail"));
55
+ var Container = function () {
56
+ var service = (0, Hooks_1.default)().service;
57
+ var _a = (0, react_1.useState)(null), anchorEl = _a[0], setAnchorEl = _a[1];
58
+ var _b = (0, react_1.useState)(0), totalNotification = _b[0], setTotalNotification = _b[1];
59
+ var _c = (0, react_1.useState)(null), signalRConnection = _c[0], setSignalRConnection = _c[1];
60
+ (0, react_1.useEffect)(function () {
61
+ service.notificationsCountUnreadMessages().then(setTotalNotification);
62
+ setUpSignalRConnection().then(function (connection) { return __awaiter(void 0, void 0, void 0, function () {
63
+ return __generator(this, function (_a) {
64
+ setSignalRConnection(connection);
65
+ return [2 /*return*/];
66
+ });
67
+ }); });
68
+ return function () {
69
+ if (signalRConnection)
70
+ signalRConnection.stop();
71
+ };
72
+ // eslint-disable-next-line react-hooks/exhaustive-deps
73
+ }, []);
74
+ var setUpSignalRConnection = function () { return __awaiter(void 0, void 0, void 0, function () {
75
+ var connection, err_1;
76
+ return __generator(this, function (_a) {
77
+ switch (_a.label) {
78
+ case 0:
79
+ connection = new signalr_1.HubConnectionBuilder()
80
+ .withUrl("".concat(Constant_1.Constants.API_ENDPOINT, "/api/hubs/notification"))
81
+ .configureLogging(signalr_1.LogLevel.None)
82
+ .withAutomaticReconnect([0, 5000, 10000, 15000])
83
+ .build();
84
+ connection.on('ReceiveMessage', function (message) {
85
+ setTotalNotification(function (prev) { return prev + 1; });
86
+ });
87
+ _a.label = 1;
88
+ case 1:
89
+ _a.trys.push([1, 3, , 4]);
90
+ return [4 /*yield*/, connection.start()];
91
+ case 2:
92
+ _a.sent();
93
+ return [3 /*break*/, 4];
94
+ case 3:
95
+ err_1 = _a.sent();
96
+ console.log(err_1);
97
+ return [3 /*break*/, 4];
98
+ case 4: return [2 /*return*/, connection];
99
+ }
100
+ });
101
+ }); };
102
+ var handleClick = function (event) {
103
+ var href = window.location.href;
104
+ // nếu đang ở notifications thì click vào quả chuông sẽ không mở popover nữa.
105
+ if (!href.includes(Constant_1.Constants.NOTIFICATIONS_PATH)) {
106
+ setTotalNotification(0);
107
+ setAnchorEl(event.currentTarget);
108
+ }
109
+ };
110
+ var handleClose = function () {
111
+ setAnchorEl(null);
112
+ };
113
+ var open = Boolean(anchorEl);
114
+ var id = open ? 'simple-popover' : undefined;
115
+ return ((0, jsx_runtime_1.jsxs)(material_1.Box, { component: "div", children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, { "aria-describedby": id, onClick: handleClick, sx: { backgroundColor: open ? '#F98D9C' : 'inherit' }, children: (0, jsx_runtime_1.jsx)(material_1.Badge, { badgeContent: totalNotification, color: "error", children: (0, jsx_runtime_1.jsx)(Notifications_1.default, { "data-testid": "notification-icon", sx: { color: open ? '#DD040C' : 'inherit' } }) }) }), (0, jsx_runtime_1.jsx)(material_1.Popover, { id: id, open: open, anchorEl: anchorEl, onClose: handleClose, sx: { zIndex: 1100 }, anchorOrigin: {
116
+ vertical: 'bottom',
117
+ horizontal: 'center',
118
+ }, transformOrigin: {
119
+ vertical: 'top',
120
+ horizontal: 'center',
121
+ }, PaperProps: {
122
+ style: {
123
+ borderRadius: '8px',
124
+ },
125
+ }, children: (0, jsx_runtime_1.jsx)(material_1.Box, { "data-testid": "popover", component: "div", sx: [
126
+ {
127
+ width: '400px',
128
+ overflowY: 'auto',
129
+ maxHeight: 'calc(90vh - 8px)',
130
+ },
131
+ {
132
+ '&::-webkit-scrollbar': {
133
+ width: '10px',
134
+ },
135
+ },
136
+ {
137
+ '&::-webkit-scrollbar-track': {
138
+ backgroundColor: '#f1f1f1',
139
+ },
140
+ },
141
+ {
142
+ '&::-webkit-scrollbar-thumb': {
143
+ borderRadius: '4px',
144
+ backgroundColor: '#c1c1c1',
145
+ },
146
+ },
147
+ ], children: (0, jsx_runtime_1.jsx)(NotificationDetail_1.default, {}) }) })] }));
148
+ };
149
+ exports.default = Container;
@@ -3,4 +3,4 @@
3
3
  * @author dauquan1108@gmail.com on 12/7/2023.
4
4
  *
5
5
  **/
6
- import "@testing-library/jest-dom";
6
+ import '@testing-library/jest-dom';
@@ -7,11 +7,11 @@ var jsx_runtime_1 = require("react/jsx-runtime");
7
7
  require("@testing-library/jest-dom");
8
8
  var react_1 = require("@testing-library/react");
9
9
  // Component
10
- var NotificationPopover_1 = __importDefault(require("./NotificationPopover"));
11
- describe("NotificationPopover", function () {
12
- it("renders the component", function () {
13
- var getByTestId = (0, react_1.render)((0, jsx_runtime_1.jsx)(NotificationPopover_1.default, {})).getByTestId;
14
- var notificationsIcon = getByTestId("notification-icon");
10
+ var Container_1 = __importDefault(require("./Container"));
11
+ describe('NotificationPopover', function () {
12
+ it('renders the component', function () {
13
+ var getByTestId = (0, react_1.render)((0, jsx_runtime_1.jsx)(Container_1.default, {})).getByTestId;
14
+ var notificationsIcon = getByTestId('notification-icon');
15
15
  expect(notificationsIcon).toBeInTheDocument();
16
16
  });
17
17
  // it("Mở dao diện 'NotificationPopover' khi click vào quả chuông.", async () => {
@@ -0,0 +1,8 @@
1
+ /**
2
+ *
3
+ * @author dauquan1108@gmail.com on 12/1/2023.
4
+ *
5
+ **/
6
+ import React from 'react';
7
+ import { NotificationPropsContext } from '../Types';
8
+ export declare const NotificationPopover: React.FC<NotificationPropsContext>;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.NotificationPopover = void 0;
7
+ var jsx_runtime_1 = require("react/jsx-runtime");
8
+ var Container_1 = __importDefault(require("./Container"));
9
+ var Context_1 = require("../Context");
10
+ var NotificationPopover = function (props) {
11
+ return ((0, jsx_runtime_1.jsx)(Context_1.NotificationContext.Provider, { value: props, children: (0, jsx_runtime_1.jsx)(Container_1.default, {}) }));
12
+ };
13
+ exports.NotificationPopover = NotificationPopover;
@@ -3,6 +3,6 @@
3
3
  * @author dauquan1108@gmail.com on 11/27/2023.
4
4
  *
5
5
  **/
6
- import React from "react";
6
+ import React from 'react';
7
7
  declare const NotificationScreen: React.FC;
8
8
  export default NotificationScreen;
@@ -8,11 +8,11 @@ var Box_1 = __importDefault(require("@mui/material/Box"));
8
8
  var NotificationDetail_1 = __importDefault(require("./NotificationDetail"));
9
9
  var NotificationScreen = function () {
10
10
  return ((0, jsx_runtime_1.jsx)(Box_1.default, { component: "div", sx: {
11
- borderRadius: "8px",
12
- border: "0.1px solid #0000001a",
13
- boxShadow: "0 4px 8px rgba(0, 0, 0, 0.1)",
11
+ borderRadius: '8px',
12
+ border: '0.1px solid #0000001a',
13
+ boxShadow: '0 4px 8px rgba(0, 0, 0, 0.1)',
14
14
  }, "data-testid": "notificationScreen",
15
15
  // width={{xs, sm, md, lg, xl}}
16
- width: { xs: "100%", sm: "600px", lg: "680px" }, children: (0, jsx_runtime_1.jsx)(NotificationDetail_1.default, {}) }));
16
+ width: { xs: '100%', sm: '600px', lg: '680px' }, children: (0, jsx_runtime_1.jsx)(NotificationDetail_1.default, {}) }));
17
17
  };
18
18
  exports.default = NotificationScreen;
@@ -0,0 +1,241 @@
1
+ /**
2
+ *
3
+ * @author dauquan1108@gmail.com on 04/15/2024.
4
+ *
5
+ **/
6
+ import { AlertColor } from '@mui/material';
7
+ export interface IValueFilterState {
8
+ textSearch: string;
9
+ tabs: string;
10
+ }
11
+ export interface IValueItem {
12
+ id: number;
13
+ status: NotificationMessageStatus;
14
+ }
15
+ export interface INotificationItem {
16
+ id: string | number;
17
+ content: string;
18
+ url: string;
19
+ status: boolean;
20
+ userName: string;
21
+ avatarUrl: string;
22
+ time: number | string;
23
+ }
24
+ export interface Cancel {
25
+ message: string | undefined;
26
+ }
27
+ export interface CancelToken {
28
+ promise: Promise<Cancel>;
29
+ reason?: Cancel;
30
+ throwIfRequested(): void;
31
+ }
32
+ export interface AppHelper {
33
+ alert: (message: string, title?: string) => void;
34
+ snackbar: (severity?: AlertColor, message?: string, autoHideDuration?: number) => void;
35
+ confirm: (okFunction?: () => void, cancelFunction?: () => void, message?: string, title?: string) => void;
36
+ }
37
+ export interface NotificationPropsContext {
38
+ service: NotificationService;
39
+ appHelper: AppHelper;
40
+ }
41
+ export interface NotificationService {
42
+ /**
43
+ * notificationsPaging: API hiện thị Danh sách Notification.
44
+ **/
45
+ notificationsPaging: (pageIndex: number | undefined, pageSize: number | undefined, searchString: string | undefined, body: SagaTransactionType[] | undefined, cancelToken?: CancelToken) => Promise<PagedList_1OfNotificationMessage>;
46
+ /**
47
+ * notificationsReadAll: API Chuyển trang Notifications thành đã đọc.
48
+ **/
49
+ notificationsReadAll: (cancelToken?: CancelToken) => Promise<void>;
50
+ /**
51
+ * notificationsRead: API Chuyển trang NotificationItem sang đã đọc.
52
+ **/
53
+ notificationsRead: (body: number[] | undefined, cancelToken?: CancelToken) => Promise<void>;
54
+ /**
55
+ * notificationsUnread: API Chuyển trang NotificationItem sang chưa đọc.
56
+ **/
57
+ notificationsUnread: (body: number[] | undefined, cancelToken?: CancelToken) => Promise<void>;
58
+ /**
59
+ * notificationsCountUnreadMessages: API Hiển thị số lượng thông báo chưa đọc.
60
+ **/
61
+ notificationsCountUnreadMessages: (cancelToken?: CancelToken) => Promise<number>;
62
+ }
63
+ export interface ITimestamp {
64
+ seconds?: string;
65
+ nanos?: number;
66
+ }
67
+ export declare class Timestamp implements ITimestamp {
68
+ seconds?: string;
69
+ nanos?: number;
70
+ constructor(data?: ITimestamp);
71
+ init(_data?: any): void;
72
+ static fromJS(data: any): Timestamp;
73
+ toJSON(data?: any): any;
74
+ }
75
+ export declare enum NotificationMessageStatus {
76
+ Unread = 0,
77
+ Read = 1
78
+ }
79
+ export interface INotificationMessage {
80
+ id?: number;
81
+ userId?: string;
82
+ sagaTransactionType?: SagaTransactionType;
83
+ fields?: NotificationMessageField[] | undefined;
84
+ status?: NotificationMessageStatus;
85
+ createdDate?: Timestamp;
86
+ }
87
+ export declare class NotificationMessage implements INotificationMessage {
88
+ id?: number;
89
+ userId?: string;
90
+ sagaTransactionType?: SagaTransactionType;
91
+ readonly fields?: NotificationMessageField[] | undefined;
92
+ status?: NotificationMessageStatus;
93
+ createdDate?: Timestamp;
94
+ constructor(data?: INotificationMessage);
95
+ init(_data?: any): void;
96
+ static fromJS(data: any): NotificationMessage;
97
+ toJSON(data?: any): any;
98
+ }
99
+ export interface INotificationMessageField {
100
+ name?: string | undefined;
101
+ value?: string | undefined;
102
+ text?: string | undefined;
103
+ }
104
+ export declare class NotificationMessageField implements INotificationMessageField {
105
+ name?: string | undefined;
106
+ value?: string | undefined;
107
+ text?: string | undefined;
108
+ constructor(data?: INotificationMessageField);
109
+ init(_data?: any): void;
110
+ static fromJS(data: any): NotificationMessageField;
111
+ toJSON(data?: any): any;
112
+ }
113
+ export interface IPagedList_1OfNotificationMessage {
114
+ items?: NotificationMessage[] | undefined;
115
+ pageCount?: number;
116
+ totalItemCount?: number;
117
+ pageNumber?: number;
118
+ pageSize?: number;
119
+ hasPreviousPage?: boolean;
120
+ hasNextPage?: boolean;
121
+ }
122
+ export declare class PagedList_1OfNotificationMessage implements IPagedList_1OfNotificationMessage {
123
+ items?: NotificationMessage[] | undefined;
124
+ pageCount?: number;
125
+ totalItemCount?: number;
126
+ pageNumber?: number;
127
+ pageSize?: number;
128
+ readonly hasPreviousPage?: boolean;
129
+ readonly hasNextPage?: boolean;
130
+ constructor(data?: IPagedList_1OfNotificationMessage);
131
+ init(_data?: any): void;
132
+ static fromJS(data: any): PagedList_1OfNotificationMessage;
133
+ toJSON(data?: any): any;
134
+ }
135
+ export declare enum SagaTransactionType {
136
+ None = 0,
137
+ StartDay = 1,
138
+ CampaignCreate = 1000,
139
+ CampaignUpdate = 1001,
140
+ CampaignDelete = 1002,
141
+ CampaignBlocked = 1003,
142
+ PlaceCreate = 1100,
143
+ PlaceUpdate = 1101,
144
+ PlaceDelete = 1102,
145
+ PlaceJoinRequest = 1103,
146
+ PlaceJoinApprove = 1104,
147
+ PlaceJoinReject = 1105,
148
+ PlaceJoinDelete = 1106,
149
+ PlaceUnjoinRequest = 1107,
150
+ PlaceUnjoinApprove = 1108,
151
+ PlaceUnjoinReject = 1109,
152
+ PlaceUnjoinDelete = 1110,
153
+ PlaceCustomerInfoUpdate = 1111,
154
+ PlaceStatsNeedCalculate = 1112,
155
+ PlaceStatsUpdate = 1113,
156
+ PlaceClearCache = 1114,
157
+ PlaceCustomerInfoCreate = 1115,
158
+ PlaceCustomerInfoDelete = 1116,
159
+ PlaceGroupCreate = 1117,
160
+ PlaceGroupUpdate = 1118,
161
+ PlaceGroupDelete = 1119,
162
+ PlaceStatusUpdate = 1120,
163
+ DomainCreate = 1200,
164
+ DomainUpdate = 1201,
165
+ DomainDelete = 1202,
166
+ DomainJoinRequest = 1203,
167
+ DomainJoinApprove = 1204,
168
+ DomainJoinReject = 1205,
169
+ DomainJoinDelete = 1206,
170
+ DomainJoinUpdate = 1207,
171
+ DomainUnjoinRequest = 1208,
172
+ DomainUnjoinApprove = 1209,
173
+ DomainUnjoinReject = 1210,
174
+ DomainUnjoinDelete = 1211,
175
+ DomainClearCache = 1212,
176
+ PageCreate = 1300,
177
+ PageUpdate = 1301,
178
+ PageDelete = 1302,
179
+ PageArchive = 1303,
180
+ DirectoryCreate = 1400,
181
+ DirectoryUpdate = 1401,
182
+ DirectoryDelete = 1402,
183
+ DirectoryPermissionUpdate = 1501,
184
+ DirectoryPermissionDelete = 1502,
185
+ SystemDirectoryPermissionUpdate = 1551,
186
+ SystemDirectoryPermissionDelete = 1552,
187
+ StaticFileUpload = 1601,
188
+ StaticFileDelete = 1602,
189
+ StaticFileDownload = 1603,
190
+ FolderFileCreate = 1700,
191
+ ScheduleNeedCalculate = 1803,
192
+ ScheduleAllCalculate = 1804,
193
+ ScheduleCampaignCalculate = 1805,
194
+ ApCreate = 1900,
195
+ ApUpdate = 1901,
196
+ ApDelete = 1902,
197
+ ApControllerClearCache = 1903,
198
+ AuthenticationProfileCreate = 2000,
199
+ AuthenticationProfileUpdate = 2001,
200
+ AuthenticationProfileDelete = 2002,
201
+ CaptiveClearCache = 2100,
202
+ GroupCreate = 2200,
203
+ GroupUpdate = 2201,
204
+ GroupDelete = 2202,
205
+ UserCreate = 2300,
206
+ UserUpdate = 2301,
207
+ UserDelete = 2302,
208
+ UserChangePassword = 2303,
209
+ UserAddToDomain = 2304,
210
+ UserRemoveFromDomain = 2305,
211
+ TemplateCreate = 2400,
212
+ TemplateUpdate = 2401,
213
+ TemplateDelete = 2402,
214
+ RemarketingListCreate = 2500,
215
+ RemarketingListUpdate = 2501,
216
+ RemarketingListDelete = 2502,
217
+ UserLogin = 2600,
218
+ UserLogout = 2601,
219
+ WizardCreate = 2700,
220
+ WizardUpdate = 2701,
221
+ WizardDelete = 2702,
222
+ HolidayCreate = 2800,
223
+ HolidayUpdate = 2801,
224
+ HolidayDelete = 2802,
225
+ AttributeCreate = 2900,
226
+ AttributeUpdate = 2901,
227
+ AttributeDelete = 2902,
228
+ InventoryCreate = 3000,
229
+ InventoryUpdate = 3001,
230
+ InventoryDelete = 3002,
231
+ MenuPermissionCreate = 3100,
232
+ MenuPermissionUpdate = 3101,
233
+ MenuPermissionDelete = 3102,
234
+ AudienceSumupCalculate = 3200,
235
+ AttributeTypeCreate = 3300,
236
+ AttributeTypeUpdate = 3301,
237
+ AttributeTypeDelete = 3302,
238
+ TaskSchedulerCreate = 3400,
239
+ TaskSchedulerUpdate = 3401,
240
+ TaskSchedulerDelete = 3402
241
+ }