@abyss-project/monitor 1.0.2 → 1.0.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.
- package/dist/api/application-cron-task.admin.api.d.ts +10 -10
- package/dist/api/application-cron-task.admin.api.js +40 -40
- package/dist/api/application-cron-task.api.d.ts +10 -10
- package/dist/api/application-cron-task.api.js +40 -40
- package/dist/api/application-log.admin.api.d.ts +3 -3
- package/dist/api/application-log.admin.api.js +12 -12
- package/dist/api/application-log.api.d.ts +4 -4
- package/dist/api/application-log.api.js +16 -16
- package/dist/api/application-stats.admin.api.d.ts +3 -3
- package/dist/api/application-stats.admin.api.js +12 -12
- package/dist/api/application-stats.api.d.ts +4 -4
- package/dist/api/application-stats.api.js +16 -16
- package/dist/api/application-store.admin.api.d.ts +6 -6
- package/dist/api/application-store.admin.api.js +24 -24
- package/dist/api/application-store.api.d.ts +6 -6
- package/dist/api/application-store.api.js +24 -24
- package/dist/api/application-store.public.api.d.ts +3 -3
- package/dist/api/application-store.public.api.js +12 -12
- package/dist/api/application.admin.api.d.ts +7 -7
- package/dist/api/application.admin.api.js +28 -28
- package/dist/api/application.api.d.ts +10 -9
- package/dist/api/application.api.js +40 -36
- package/dist/api/index.d.ts +12 -12
- package/dist/api/index.js +28 -24
- package/dist/api/monitor.api.d.ts +2 -2
- package/dist/api/monitor.api.js +8 -8
- package/dist/frameworks/express/decorators.d.ts +52 -52
- package/dist/frameworks/express/decorators.js +163 -163
- package/dist/frameworks/express/index.d.ts +16 -16
- package/dist/frameworks/express/index.js +170 -166
- package/dist/frameworks/express/metadata.d.ts +9 -9
- package/dist/frameworks/express/metadata.js +12 -12
- package/dist/frameworks/index.d.ts +1 -1
- package/dist/frameworks/index.js +17 -13
- package/dist/index.d.ts +46 -46
- package/dist/index.js +105 -101
- package/dist/middlewares/context.middleware.d.ts +12 -12
- package/dist/middlewares/context.middleware.js +39 -39
- package/dist/middlewares/index.d.ts +3 -3
- package/dist/middlewares/index.js +19 -15
- package/dist/middlewares/logger-endpoint.middleware.d.ts +5 -5
- package/dist/middlewares/logger-endpoint.middleware.js +75 -75
- package/dist/middlewares/logger-setup.middleware.d.ts +5 -5
- package/dist/middlewares/logger-setup.middleware.js +16 -16
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +17 -13
- package/dist/models/logger.model.d.ts +55 -55
- package/dist/models/logger.model.js +201 -201
- package/dist/models/stats-publisher.model.d.ts +20 -20
- package/dist/models/stats-publisher.model.js +113 -113
- package/dist/types/enum/api-error.enum.d.ts +20 -20
- package/dist/types/enum/api-error.enum.js +25 -25
- package/dist/types/enum/api-method.enum.d.ts +7 -7
- package/dist/types/enum/api-method.enum.js +11 -11
- package/dist/types/enum/application-alert-type.enum.d.ts +5 -5
- package/dist/types/enum/application-alert-type.enum.js +9 -9
- package/dist/types/enum/application-stats-type.enum.d.ts +5 -5
- package/dist/types/enum/application-stats-type.enum.js +9 -9
- package/dist/types/enum/index.d.ts +7 -7
- package/dist/types/enum/index.js +23 -19
- package/dist/types/enum/log-level.enum.d.ts +6 -6
- package/dist/types/enum/log-level.enum.js +10 -10
- package/dist/types/enum/log-scenario.enum.d.ts +5 -5
- package/dist/types/enum/log-scenario.enum.js +9 -9
- package/dist/types/enum/webhook-type.enum.d.ts +3 -3
- package/dist/types/enum/webhook-type.enum.js +7 -7
- package/dist/types/index.d.ts +18 -18
- package/dist/types/index.js +18 -14
- package/dist/types/interface/api/index.d.ts +27 -27
- package/dist/types/interface/api/index.js +43 -39
- package/dist/types/interface/api/requests/application-cron-task.admin.request.d.ts +50 -51
- package/dist/types/interface/api/requests/application-cron-task.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application-cron-task.request.d.ts +61 -62
- package/dist/types/interface/api/requests/application-cron-task.request.js +2 -2
- package/dist/types/interface/api/requests/application-log.admin.request.d.ts +19 -20
- package/dist/types/interface/api/requests/application-log.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application-log.request.d.ts +53 -54
- package/dist/types/interface/api/requests/application-log.request.js +2 -2
- package/dist/types/interface/api/requests/application-stats.admin.request.d.ts +13 -14
- package/dist/types/interface/api/requests/application-stats.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application-stats.request.d.ts +31 -32
- package/dist/types/interface/api/requests/application-stats.request.js +2 -2
- package/dist/types/interface/api/requests/application-store.admin.request.d.ts +34 -35
- package/dist/types/interface/api/requests/application-store.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application-store.public.request.d.ts +8 -9
- package/dist/types/interface/api/requests/application-store.public.request.js +2 -2
- package/dist/types/interface/api/requests/application-store.request.d.ts +39 -40
- package/dist/types/interface/api/requests/application-store.request.js +2 -2
- package/dist/types/interface/api/requests/application.admin.request.d.ts +18 -19
- package/dist/types/interface/api/requests/application.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application.request.d.ts +35 -33
- package/dist/types/interface/api/requests/application.request.js +2 -2
- package/dist/types/interface/api/responses/application-cron-task.admin.response.d.ts +30 -30
- package/dist/types/interface/api/responses/application-cron-task.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application-cron-task.response.d.ts +30 -30
- package/dist/types/interface/api/responses/application-cron-task.response.js +2 -2
- package/dist/types/interface/api/responses/application-log.admin.response.d.ts +10 -10
- package/dist/types/interface/api/responses/application-log.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application-log.response.d.ts +10 -10
- package/dist/types/interface/api/responses/application-log.response.js +2 -2
- package/dist/types/interface/api/responses/application-stats.admin.response.d.ts +6 -6
- package/dist/types/interface/api/responses/application-stats.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application-stats.response.d.ts +10 -10
- package/dist/types/interface/api/responses/application-stats.response.js +2 -2
- package/dist/types/interface/api/responses/application-store.admin.response.d.ts +17 -17
- package/dist/types/interface/api/responses/application-store.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application-store.public.response.d.ts +21 -21
- package/dist/types/interface/api/responses/application-store.public.response.js +2 -2
- package/dist/types/interface/api/responses/application-store.response.d.ts +17 -17
- package/dist/types/interface/api/responses/application-store.response.js +2 -2
- package/dist/types/interface/api/responses/application.admin.response.d.ts +33 -33
- package/dist/types/interface/api/responses/application.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application.response.d.ts +129 -121
- package/dist/types/interface/api/responses/application.response.js +2 -2
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
- package/dist/types/interface/api/responses/monitor.response.js +2 -2
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
- package/dist/types/interface/api/type-message/api-error.js +2 -2
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
- package/dist/types/interface/api/type-message/base-order.js +2 -2
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
- package/dist/types/interface/api/type-message/base-paginate.js +2 -2
- package/dist/types/interface/api/type-message/response.d.ts +5 -5
- package/dist/types/interface/api/type-message/response.js +2 -2
- package/dist/types/interface/index.d.ts +9 -8
- package/dist/types/interface/index.js +25 -20
- package/dist/types/interface/models/application-cron-task-history.model.d.ts +11 -11
- package/dist/types/interface/models/application-cron-task-history.model.js +2 -2
- package/dist/types/interface/models/application-cron-task.model.d.ts +14 -14
- package/dist/types/interface/models/application-cron-task.model.js +2 -2
- package/dist/types/interface/models/application-event.model.d.ts +18 -0
- package/dist/types/interface/{api/requests/abyss.admin.request.js → models/application-event.model.js} +2 -2
- package/dist/types/interface/models/application-log-endpoint.model.d.ts +20 -20
- package/dist/types/interface/models/application-log-endpoint.model.js +2 -2
- package/dist/types/interface/models/application-log.model.d.ts +23 -21
- package/dist/types/interface/models/application-log.model.js +2 -2
- package/dist/types/interface/models/application-stats.model.d.ts +14 -14
- package/dist/types/interface/models/application-stats.model.js +2 -2
- package/dist/types/interface/models/application-store-entry.model.d.ts +14 -14
- package/dist/types/interface/models/application-store-entry.model.js +2 -2
- package/dist/types/interface/models/application.model.d.ts +17 -15
- package/dist/types/interface/models/application.model.js +2 -2
- package/dist/utils/alert.utils.d.ts +35 -35
- package/dist/utils/alert.utils.js +138 -134
- package/dist/utils/discord-webhook-log-formatter.utils.d.ts +42 -42
- package/dist/utils/discord-webhook-log-formatter.utils.js +319 -319
- package/dist/utils/error.utils.d.ts +15 -15
- package/dist/utils/error.utils.js +24 -24
- package/dist/utils/import.utils.d.ts +1 -1
- package/dist/utils/import.utils.js +7 -7
- package/dist/utils/index.d.ts +5 -5
- package/dist/utils/index.js +21 -17
- package/dist/utils/json.utils.d.ts +1 -1
- package/dist/utils/json.utils.js +13 -13
- package/dist/utils/non-blocking-promise.utils.d.ts +2 -2
- package/dist/utils/non-blocking-promise.utils.js +11 -11
- package/package.json +5 -5
- package/dist/api/abyss.admin.api.d.ts +0 -2
- package/dist/api/abyss.admin.api.js +0 -8
- package/dist/api/application-store-entry.admin.api.d.ts +0 -6
- package/dist/api/application-store-entry.admin.api.js +0 -24
- package/dist/api/application-store-entry.api.d.ts +0 -6
- package/dist/api/application-store-entry.api.js +0 -24
- package/dist/api/application-store-entry.public.api.d.ts +0 -3
- package/dist/api/application-store-entry.public.api.js +0 -12
- package/dist/api/logger.admin.api.d.ts +0 -3
- package/dist/api/logger.admin.api.js +0 -14
- package/dist/api/user-application-alert.admin.api.d.ts +0 -7
- package/dist/api/user-application-alert.admin.api.js +0 -28
- package/dist/api/user-application-alert.api.d.ts +0 -7
- package/dist/api/user-application-alert.api.js +0 -28
- package/dist/api/user-application-cron-task.admin.api.d.ts +0 -9
- package/dist/api/user-application-cron-task.admin.api.js +0 -36
- package/dist/api/user-application-cron-task.api.d.ts +0 -9
- package/dist/api/user-application-cron-task.api.js +0 -36
- package/dist/api/user-application-log.admin.api.d.ts +0 -3
- package/dist/api/user-application-log.admin.api.js +0 -12
- package/dist/api/user-application-log.api.d.ts +0 -4
- package/dist/api/user-application-log.api.js +0 -16
- package/dist/api/user-application-stats.admin.api.d.ts +0 -3
- package/dist/api/user-application-stats.admin.api.js +0 -12
- package/dist/api/user-application-stats.api.d.ts +0 -4
- package/dist/api/user-application-stats.api.js +0 -16
- package/dist/api/user-application.admin.api.d.ts +0 -6
- package/dist/api/user-application.admin.api.js +0 -24
- package/dist/api/user-application.api.d.ts +0 -10
- package/dist/api/user-application.api.js +0 -40
- package/dist/api/user.admin.api.d.ts +0 -5
- package/dist/api/user.admin.api.js +0 -23
- package/dist/api/user.api.d.ts +0 -4
- package/dist/api/user.api.js +0 -17
- package/dist/consts.d.ts +0 -2
- package/dist/consts.js +0 -5
- package/dist/types/enum/log-type.enum.d.ts +0 -6
- package/dist/types/enum/log-type.enum.js +0 -10
- package/dist/types/enum/user-application-alert-type.enum.d.ts +0 -5
- package/dist/types/enum/user-application-alert-type.enum.js +0 -9
- package/dist/types/enum/user-application-stats-type.enum.d.ts +0 -5
- package/dist/types/enum/user-application-stats-type.enum.js +0 -9
- package/dist/types/interface/api/requests/abyss.admin.request.d.ts +0 -4
- package/dist/types/interface/api/requests/logger.admin.request.d.ts +0 -8
- package/dist/types/interface/api/requests/logger.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-alert.admin.request.d.ts +0 -44
- package/dist/types/interface/api/requests/user-application-alert.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-alert.request.d.ts +0 -50
- package/dist/types/interface/api/requests/user-application-alert.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-cron-task.admin.request.d.ts +0 -48
- package/dist/types/interface/api/requests/user-application-cron-task.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-cron-task.request.d.ts +0 -58
- package/dist/types/interface/api/requests/user-application-cron-task.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-log.admin.request.d.ts +0 -20
- package/dist/types/interface/api/requests/user-application-log.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-log.request.d.ts +0 -51
- package/dist/types/interface/api/requests/user-application-log.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-stats.admin.request.d.ts +0 -14
- package/dist/types/interface/api/requests/user-application-stats.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-stats.request.d.ts +0 -29
- package/dist/types/interface/api/requests/user-application-stats.request.js +0 -2
- package/dist/types/interface/api/requests/user-application.admin.request.d.ts +0 -15
- package/dist/types/interface/api/requests/user-application.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application.request.d.ts +0 -35
- package/dist/types/interface/api/requests/user-application.request.js +0 -2
- package/dist/types/interface/api/requests/user.admin.request.d.ts +0 -18
- package/dist/types/interface/api/requests/user.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user.request.d.ts +0 -3
- package/dist/types/interface/api/requests/user.request.js +0 -2
- package/dist/types/interface/api/responses/abyss.admin.response.d.ts +0 -6
- package/dist/types/interface/api/responses/abyss.admin.response.js +0 -2
- package/dist/types/interface/api/responses/logger.admin.response.d.ts +0 -7
- package/dist/types/interface/api/responses/logger.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-alert.admin.response.d.ts +0 -22
- package/dist/types/interface/api/responses/user-application-alert.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-alert.response.d.ts +0 -22
- package/dist/types/interface/api/responses/user-application-alert.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-cron-task.admin.response.d.ts +0 -27
- package/dist/types/interface/api/responses/user-application-cron-task.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-cron-task.response.d.ts +0 -27
- package/dist/types/interface/api/responses/user-application-cron-task.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-log.admin.response.d.ts +0 -11
- package/dist/types/interface/api/responses/user-application-log.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-log.response.d.ts +0 -11
- package/dist/types/interface/api/responses/user-application-log.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-stats.admin.response.d.ts +0 -7
- package/dist/types/interface/api/responses/user-application-stats.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-stats.response.d.ts +0 -11
- package/dist/types/interface/api/responses/user-application-stats.response.js +0 -2
- package/dist/types/interface/api/responses/user-application.admin.response.d.ts +0 -17
- package/dist/types/interface/api/responses/user-application.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application.response.d.ts +0 -120
- package/dist/types/interface/api/responses/user-application.response.js +0 -2
- package/dist/types/interface/api/responses/user.admin.response.d.ts +0 -15
- package/dist/types/interface/api/responses/user.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user.response.d.ts +0 -13
- package/dist/types/interface/api/responses/user.response.js +0 -2
- package/dist/types/interface/models/cron-task-history.model.d.ts +0 -12
- package/dist/types/interface/models/cron-task-history.model.js +0 -2
- package/dist/types/interface/models/cron-task.model.d.ts +0 -13
- package/dist/types/interface/models/cron-task.model.js +0 -2
- package/dist/types/interface/models/log-console.model.d.ts +0 -17
- package/dist/types/interface/models/log-console.model.js +0 -2
- package/dist/types/interface/models/log-endpoint.model.d.ts +0 -22
- package/dist/types/interface/models/log-endpoint.model.js +0 -2
- package/dist/types/interface/models/user-application-alert.model.d.ts +0 -44
- package/dist/types/interface/models/user-application-alert.model.js +0 -2
- package/dist/types/interface/models/user-application-cron-task-history.model.d.ts +0 -11
- package/dist/types/interface/models/user-application-cron-task-history.model.js +0 -2
- package/dist/types/interface/models/user-application-cron-task.model.d.ts +0 -14
- package/dist/types/interface/models/user-application-cron-task.model.js +0 -2
- package/dist/types/interface/models/user-application-log-endpoint.model.d.ts +0 -20
- package/dist/types/interface/models/user-application-log-endpoint.model.js +0 -2
- package/dist/types/interface/models/user-application-log.model.d.ts +0 -21
- package/dist/types/interface/models/user-application-log.model.js +0 -2
- package/dist/types/interface/models/user-application-stats.model.d.ts +0 -14
- package/dist/types/interface/models/user-application-stats.model.js +0 -2
- package/dist/types/interface/models/user-application.model.d.ts +0 -15
- package/dist/types/interface/models/user-application.model.js +0 -2
- package/dist/types/interface/models/user.model.d.ts +0 -8
- package/dist/types/interface/models/user.model.js +0 -2
package/dist/types/index.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
__exportStar(
|
|
14
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./interface"), exports);
|
|
18
|
+
__exportStar(require("./enum"), exports);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export * from './type-message/api-error';
|
|
2
|
-
export * from './type-message/response';
|
|
3
|
-
export * from './type-message/base-order';
|
|
4
|
-
export * from './type-message/base-paginate';
|
|
5
|
-
export * from './requests/application.request';
|
|
6
|
-
export * from './requests/application.admin.request';
|
|
7
|
-
export * from './requests/application-stats.admin.request';
|
|
8
|
-
export * from './requests/application-stats.request';
|
|
9
|
-
export * from './requests/application-cron-task.admin.request';
|
|
10
|
-
export * from './requests/application-cron-task.request';
|
|
11
|
-
export * from './requests/application-log.admin.request';
|
|
12
|
-
export * from './requests/application-log.request';
|
|
13
|
-
export * from './requests/application-store.admin.request';
|
|
14
|
-
export * from './requests/application-store.public.request';
|
|
15
|
-
export * from './requests/application-store.request';
|
|
16
|
-
export * from './responses/application.response';
|
|
17
|
-
export * from './responses/application.admin.response';
|
|
18
|
-
export * from './responses/application-stats.admin.response';
|
|
19
|
-
export * from './responses/application-stats.response';
|
|
20
|
-
export * from './responses/application-cron-task.admin.response';
|
|
21
|
-
export * from './responses/application-cron-task.response';
|
|
22
|
-
export * from './responses/application-log.admin.response';
|
|
23
|
-
export * from './responses/application-log.response';
|
|
24
|
-
export * from './responses/monitor.response';
|
|
25
|
-
export * from './responses/application-store.admin.response';
|
|
26
|
-
export * from './responses/application-store.public.response';
|
|
27
|
-
export * from './responses/application-store.response';
|
|
1
|
+
export * from './type-message/api-error';
|
|
2
|
+
export * from './type-message/response';
|
|
3
|
+
export * from './type-message/base-order';
|
|
4
|
+
export * from './type-message/base-paginate';
|
|
5
|
+
export * from './requests/application.request';
|
|
6
|
+
export * from './requests/application.admin.request';
|
|
7
|
+
export * from './requests/application-stats.admin.request';
|
|
8
|
+
export * from './requests/application-stats.request';
|
|
9
|
+
export * from './requests/application-cron-task.admin.request';
|
|
10
|
+
export * from './requests/application-cron-task.request';
|
|
11
|
+
export * from './requests/application-log.admin.request';
|
|
12
|
+
export * from './requests/application-log.request';
|
|
13
|
+
export * from './requests/application-store.admin.request';
|
|
14
|
+
export * from './requests/application-store.public.request';
|
|
15
|
+
export * from './requests/application-store.request';
|
|
16
|
+
export * from './responses/application.response';
|
|
17
|
+
export * from './responses/application.admin.response';
|
|
18
|
+
export * from './responses/application-stats.admin.response';
|
|
19
|
+
export * from './responses/application-stats.response';
|
|
20
|
+
export * from './responses/application-cron-task.admin.response';
|
|
21
|
+
export * from './responses/application-cron-task.response';
|
|
22
|
+
export * from './responses/application-log.admin.response';
|
|
23
|
+
export * from './responses/application-log.response';
|
|
24
|
+
export * from './responses/monitor.response';
|
|
25
|
+
export * from './responses/application-store.admin.response';
|
|
26
|
+
export * from './responses/application-store.public.response';
|
|
27
|
+
export * from './responses/application-store.response';
|
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
__exportStar(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./requests/application
|
|
22
|
-
__exportStar(require("./requests/application
|
|
23
|
-
__exportStar(require("./requests/application-
|
|
24
|
-
__exportStar(require("./requests/application-
|
|
25
|
-
__exportStar(require("./requests/application-
|
|
26
|
-
__exportStar(require("./requests/application-
|
|
27
|
-
__exportStar(require("./requests/application-
|
|
28
|
-
__exportStar(require("./
|
|
29
|
-
__exportStar(require("./
|
|
30
|
-
__exportStar(require("./
|
|
31
|
-
__exportStar(require("./
|
|
32
|
-
__exportStar(require("./responses/application
|
|
33
|
-
__exportStar(require("./responses/application
|
|
34
|
-
__exportStar(require("./responses/application-
|
|
35
|
-
__exportStar(require("./responses/application-
|
|
36
|
-
__exportStar(require("./responses/
|
|
37
|
-
__exportStar(require("./responses/application-
|
|
38
|
-
__exportStar(require("./responses/application-
|
|
39
|
-
__exportStar(require("./responses/application-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./type-message/api-error"), exports);
|
|
18
|
+
__exportStar(require("./type-message/response"), exports);
|
|
19
|
+
__exportStar(require("./type-message/base-order"), exports);
|
|
20
|
+
__exportStar(require("./type-message/base-paginate"), exports);
|
|
21
|
+
__exportStar(require("./requests/application.request"), exports);
|
|
22
|
+
__exportStar(require("./requests/application.admin.request"), exports);
|
|
23
|
+
__exportStar(require("./requests/application-stats.admin.request"), exports);
|
|
24
|
+
__exportStar(require("./requests/application-stats.request"), exports);
|
|
25
|
+
__exportStar(require("./requests/application-cron-task.admin.request"), exports);
|
|
26
|
+
__exportStar(require("./requests/application-cron-task.request"), exports);
|
|
27
|
+
__exportStar(require("./requests/application-log.admin.request"), exports);
|
|
28
|
+
__exportStar(require("./requests/application-log.request"), exports);
|
|
29
|
+
__exportStar(require("./requests/application-store.admin.request"), exports);
|
|
30
|
+
__exportStar(require("./requests/application-store.public.request"), exports);
|
|
31
|
+
__exportStar(require("./requests/application-store.request"), exports);
|
|
32
|
+
__exportStar(require("./responses/application.response"), exports);
|
|
33
|
+
__exportStar(require("./responses/application.admin.response"), exports);
|
|
34
|
+
__exportStar(require("./responses/application-stats.admin.response"), exports);
|
|
35
|
+
__exportStar(require("./responses/application-stats.response"), exports);
|
|
36
|
+
__exportStar(require("./responses/application-cron-task.admin.response"), exports);
|
|
37
|
+
__exportStar(require("./responses/application-cron-task.response"), exports);
|
|
38
|
+
__exportStar(require("./responses/application-log.admin.response"), exports);
|
|
39
|
+
__exportStar(require("./responses/application-log.response"), exports);
|
|
40
|
+
__exportStar(require("./responses/monitor.response"), exports);
|
|
41
|
+
__exportStar(require("./responses/application-store.admin.response"), exports);
|
|
42
|
+
__exportStar(require("./responses/application-store.public.response"), exports);
|
|
43
|
+
__exportStar(require("./responses/application-store.response"), exports);
|
|
@@ -1,51 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IGetApplicationCronTaskAdminParams {
|
|
3
|
+
applicationCronTaskId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IGetHistoryApplicationCronTaskAdminParams {
|
|
6
|
+
applicationCronTaskHistoryId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ICreateApplicationCronTaskAdminParams {
|
|
9
|
+
applicationId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ICreateApplicationCronTaskAdminBody {
|
|
12
|
+
name: string;
|
|
13
|
+
webhookUrl: string;
|
|
14
|
+
scheduleConfiguration: string;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
isActivated?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export type IPaginateApplicationCronTaskAdminQuery = {
|
|
19
|
+
name?: string[];
|
|
20
|
+
description?: string[];
|
|
21
|
+
webhookUrl?: string[];
|
|
22
|
+
isActivated?: boolean;
|
|
23
|
+
applicationId?: string[];
|
|
24
|
+
} & QueryPaginate;
|
|
25
|
+
export interface IUpdateApplicationCronTaskAdminParams {
|
|
26
|
+
applicationCronTaskId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface IUpdateApplicationCronTaskAdminBody {
|
|
29
|
+
name?: string;
|
|
30
|
+
webhookUrl?: string;
|
|
31
|
+
scheduleConfiguration?: string;
|
|
32
|
+
description?: string | null;
|
|
33
|
+
isActivated?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export type IPaginateHistoryApplicationCronTaskAdminQuery = {
|
|
36
|
+
startDateMin?: Date;
|
|
37
|
+
startDateMax?: Date;
|
|
38
|
+
requestId?: string[];
|
|
39
|
+
applicationId?: string[];
|
|
40
|
+
applicationCronTaskId?: string[];
|
|
41
|
+
} & QueryPaginate;
|
|
42
|
+
export interface IDeleteApplicationCronTaskAdminParams {
|
|
43
|
+
applicationCronTaskId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IRegenerateSecretApplicationCronTaskAdminParams {
|
|
46
|
+
applicationCronTaskId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface ITriggerApplicationCronTaskAdminParams {
|
|
49
|
+
applicationCronTaskId: string;
|
|
50
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,62 +1,61 @@
|
|
|
1
|
-
import { QueryPaginate } from '..';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IGetApplicationCronTaskParams {
|
|
3
|
+
applicationId: string;
|
|
4
|
+
applicationCronTaskId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IGetHistoryApplicationCronTaskParams {
|
|
7
|
+
applicationId: string;
|
|
8
|
+
applicationCronTaskId: string;
|
|
9
|
+
applicationCronTaskHistoryId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ICreateApplicationCronTaskParams {
|
|
12
|
+
applicationId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ICreateApplicationCronTaskBody {
|
|
15
|
+
name: string;
|
|
16
|
+
webhookUrl: string;
|
|
17
|
+
scheduleConfiguration: string;
|
|
18
|
+
description?: string | null;
|
|
19
|
+
isActivated?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface IPaginateApplicationCronTaskParams {
|
|
22
|
+
applicationId: string;
|
|
23
|
+
}
|
|
24
|
+
export type IPaginateApplicationCronTaskQuery = {
|
|
25
|
+
name?: string[];
|
|
26
|
+
description?: string[];
|
|
27
|
+
webhookUrl?: string[];
|
|
28
|
+
isActivated?: boolean;
|
|
29
|
+
} & QueryPaginate;
|
|
30
|
+
export interface IUpdateApplicationCronTaskParams {
|
|
31
|
+
applicationId: string;
|
|
32
|
+
applicationCronTaskId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IUpdateApplicationCronTaskBody {
|
|
35
|
+
name?: string;
|
|
36
|
+
webhookUrl?: string;
|
|
37
|
+
scheduleConfiguration?: string;
|
|
38
|
+
description?: string | null;
|
|
39
|
+
isActivated?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface IPaginateHistoryApplicationCronTaskParams {
|
|
42
|
+
applicationId: string;
|
|
43
|
+
applicationCronTaskId: string;
|
|
44
|
+
}
|
|
45
|
+
export type IPaginateHistoryApplicationCronTaskQuery = {
|
|
46
|
+
startDateMin?: Date;
|
|
47
|
+
startDateMax?: Date;
|
|
48
|
+
requestId?: string[];
|
|
49
|
+
} & QueryPaginate;
|
|
50
|
+
export interface IDeleteApplicationCronTaskParams {
|
|
51
|
+
applicationId: string;
|
|
52
|
+
applicationCronTaskId: string;
|
|
53
|
+
}
|
|
54
|
+
export interface IRegenerateSecretApplicationCronTaskParams {
|
|
55
|
+
applicationId: string;
|
|
56
|
+
applicationCronTaskId: string;
|
|
57
|
+
}
|
|
58
|
+
export interface ITriggerApplicationCronTaskParams {
|
|
59
|
+
applicationId: string;
|
|
60
|
+
applicationCronTaskId: string;
|
|
61
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { QueryPaginate } from '..';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { LogLevel } from '../../../enum';
|
|
3
|
+
export interface IGetApplicationLogAdminParams {
|
|
4
|
+
applicationLogId: string;
|
|
5
|
+
}
|
|
6
|
+
export type IPaginateApplicationLogAdminQuery = QueryPaginate & {
|
|
7
|
+
title?: string;
|
|
8
|
+
message?: string;
|
|
9
|
+
level?: LogLevel[];
|
|
10
|
+
context?: string;
|
|
11
|
+
scenario?: string;
|
|
12
|
+
requestId?: string;
|
|
13
|
+
processId?: string;
|
|
14
|
+
dateValueBefore?: Date;
|
|
15
|
+
dateValueAfter?: Date;
|
|
16
|
+
applicationId?: string[];
|
|
17
|
+
orderByDateAsc?: boolean;
|
|
18
|
+
shouldGetOnlyLogEndpoint?: boolean;
|
|
19
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,54 +1,53 @@
|
|
|
1
|
-
import { QueryPaginate } from '..';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { APIMethod, LogLevel } from '../../../enum';
|
|
3
|
+
export interface IGetApplicationLogParams {
|
|
4
|
+
applicationId: string;
|
|
5
|
+
applicationLogId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IPaginateApplicationLogParams {
|
|
8
|
+
applicationId: string;
|
|
9
|
+
}
|
|
10
|
+
export type IPaginateApplicationLogQuery = QueryPaginate & {
|
|
11
|
+
title?: string;
|
|
12
|
+
message?: string;
|
|
13
|
+
level?: LogLevel[];
|
|
14
|
+
context?: string;
|
|
15
|
+
scenario?: string;
|
|
16
|
+
requestId?: string;
|
|
17
|
+
processId?: string;
|
|
18
|
+
dateValueBefore?: Date;
|
|
19
|
+
dateValueAfter?: Date;
|
|
20
|
+
orderByDateAsc?: boolean;
|
|
21
|
+
shouldGetOnlyLogEndpoint?: boolean;
|
|
22
|
+
};
|
|
23
|
+
export interface ICreateApplicationLogParams {
|
|
24
|
+
applicationId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ICreateApplicationLogQuery {
|
|
27
|
+
token: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ICreateApplicationLogBody {
|
|
30
|
+
title?: string | null;
|
|
31
|
+
message: string;
|
|
32
|
+
level: LogLevel;
|
|
33
|
+
context?: string | null;
|
|
34
|
+
processId: string;
|
|
35
|
+
requestId?: string | null;
|
|
36
|
+
scenario?: string | null;
|
|
37
|
+
dateValue: Date;
|
|
38
|
+
data?: Record<string, unknown> | null;
|
|
39
|
+
stack?: string | null;
|
|
40
|
+
applicationLogEndpoint?: {
|
|
41
|
+
authentication?: string | null;
|
|
42
|
+
controller: string;
|
|
43
|
+
endpoint: string;
|
|
44
|
+
ip: string[];
|
|
45
|
+
method: APIMethod;
|
|
46
|
+
responseTime: number;
|
|
47
|
+
responseHttpCode: number;
|
|
48
|
+
requestParams?: Record<string, string> | null;
|
|
49
|
+
requestQuery?: Record<string, string | string[]> | null;
|
|
50
|
+
requestBody?: Record<string, unknown> | string | null;
|
|
51
|
+
responseBody?: Record<string, unknown> | string | null;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { QueryPaginate } from '..';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} & QueryPaginate;
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { ApplicationStatsType } from '../../../enum';
|
|
3
|
+
export interface IGetApplicationStatsAdminParams {
|
|
4
|
+
applicationStatsId: string;
|
|
5
|
+
}
|
|
6
|
+
export type IPaginateApplicationStatsAdminQuery = {
|
|
7
|
+
type?: ApplicationStatsType[];
|
|
8
|
+
dateValueBefore?: Date;
|
|
9
|
+
dateValueAfter?: Date;
|
|
10
|
+
processId?: string[];
|
|
11
|
+
orderByDateAsc?: boolean;
|
|
12
|
+
applicationId?: string[];
|
|
13
|
+
} & QueryPaginate;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|