@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
|
@@ -1,32 +1,31 @@
|
|
|
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
|
-
} & QueryPaginate;
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { ApplicationStatsType } from '../../../enum';
|
|
3
|
+
export interface IGetApplicationStatsParams {
|
|
4
|
+
applicationId: string;
|
|
5
|
+
applicationStatsId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ICreateApplicationStatsParams {
|
|
8
|
+
applicationId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ICreateApplicationStatsQuery {
|
|
11
|
+
token: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ICreateApplicationStatsBody {
|
|
14
|
+
stats: {
|
|
15
|
+
type: ApplicationStatsType;
|
|
16
|
+
dateValue: Date;
|
|
17
|
+
processId: string;
|
|
18
|
+
value: number;
|
|
19
|
+
percentValue: number;
|
|
20
|
+
}[];
|
|
21
|
+
}
|
|
22
|
+
export interface IPaginateApplicationStatsParams {
|
|
23
|
+
applicationId: string;
|
|
24
|
+
}
|
|
25
|
+
export type IPaginateApplicationStatsQuery = {
|
|
26
|
+
type?: ApplicationStatsType[];
|
|
27
|
+
dateValueBefore?: Date;
|
|
28
|
+
dateValueAfter?: Date;
|
|
29
|
+
processId?: string[];
|
|
30
|
+
orderByDateAsc?: boolean;
|
|
31
|
+
} & 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 });
|
|
@@ -1,35 +1,34 @@
|
|
|
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
|
-
}
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IGetEntryApplicationStoreAdminParams {
|
|
3
|
+
applicationStoreEntryId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ICreateEntryApplicationStoreAdminParams {
|
|
6
|
+
applicationId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ICreateEntryApplicationStoreAdminBody {
|
|
9
|
+
name: string;
|
|
10
|
+
slug: string;
|
|
11
|
+
value: string;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
expireAt?: Date | null;
|
|
14
|
+
}
|
|
15
|
+
export type IPaginateEntryApplicationStoreAdminQuery = {
|
|
16
|
+
name?: string;
|
|
17
|
+
slug?: string;
|
|
18
|
+
isActive?: boolean;
|
|
19
|
+
applicationId?: string[];
|
|
20
|
+
id?: string;
|
|
21
|
+
} & QueryPaginate;
|
|
22
|
+
export interface IUpdateEntryApplicationStoreAdminParams {
|
|
23
|
+
applicationStoreEntryId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface IUpdateEntryApplicationStoreAdminBody {
|
|
26
|
+
name?: string;
|
|
27
|
+
slug?: string;
|
|
28
|
+
value?: string;
|
|
29
|
+
isActive?: boolean;
|
|
30
|
+
expireAt?: Date | null;
|
|
31
|
+
}
|
|
32
|
+
export interface IDeleteEntryApplicationStoreAdminParams {
|
|
33
|
+
applicationStoreEntryId: string;
|
|
34
|
+
}
|
|
@@ -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,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
export interface IGetEntryBySlugApplicationStorePublicParams {
|
|
2
|
+
applicationId: string;
|
|
3
|
+
slug: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IGetEntryByIdApplicationStorePublicParams {
|
|
6
|
+
applicationId: string;
|
|
7
|
+
applicationStoreEntryId: string;
|
|
8
|
+
}
|
|
@@ -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,40 +1,39 @@
|
|
|
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
|
-
}
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IGetEntryApplicationStoreParams {
|
|
3
|
+
applicationId: string;
|
|
4
|
+
applicationStoreEntryId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ICreateEntryApplicationStoreParams {
|
|
7
|
+
applicationId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ICreateEntryApplicationStoreBody {
|
|
10
|
+
name: string;
|
|
11
|
+
slug: string;
|
|
12
|
+
value: string;
|
|
13
|
+
isActive: boolean;
|
|
14
|
+
expireAt?: Date | null;
|
|
15
|
+
}
|
|
16
|
+
export interface IPaginateEntryApplicationStoreParams {
|
|
17
|
+
applicationId: string;
|
|
18
|
+
}
|
|
19
|
+
export type IPaginateEntryApplicationStoreQuery = {
|
|
20
|
+
name?: string;
|
|
21
|
+
slug?: string;
|
|
22
|
+
isActive?: boolean;
|
|
23
|
+
id?: string;
|
|
24
|
+
} & QueryPaginate;
|
|
25
|
+
export interface IUpdateEntryApplicationStoreParams {
|
|
26
|
+
applicationId: string;
|
|
27
|
+
applicationStoreEntryId: string;
|
|
28
|
+
}
|
|
29
|
+
export interface IUpdateEntryApplicationStoreBody {
|
|
30
|
+
name?: string;
|
|
31
|
+
slug?: string;
|
|
32
|
+
value?: string;
|
|
33
|
+
isActive?: boolean;
|
|
34
|
+
expireAt?: Date | null;
|
|
35
|
+
}
|
|
36
|
+
export interface IDeleteEntryApplicationStoreParams {
|
|
37
|
+
applicationId: string;
|
|
38
|
+
applicationStoreEntryId: string;
|
|
39
|
+
}
|
|
@@ -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,19 +1,18 @@
|
|
|
1
|
-
import { QueryPaginate } from '..';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IGetApplicationAdminParams {
|
|
3
|
+
applicationId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IResetSecretPublishTokenApplicationAdminParams {
|
|
6
|
+
applicationId: string;
|
|
7
|
+
}
|
|
8
|
+
export type IPaginateApplicationAdminQuery = QueryPaginate;
|
|
9
|
+
export type ICreateApplicationAdminBody = {
|
|
10
|
+
projectId: string;
|
|
11
|
+
externalApplicationId: string;
|
|
12
|
+
};
|
|
13
|
+
export interface IDeleteApplicationAdminParams {
|
|
14
|
+
applicationId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IGetMetricsApplicationAdminBody {
|
|
17
|
+
applicationId: string[];
|
|
18
|
+
}
|
|
@@ -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,33 +1,35 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
1
|
+
export interface IGetApplicationParams {
|
|
2
|
+
applicationId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface IResetSecretPublishTokenApplicationParams {
|
|
5
|
+
applicationId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IGetLogAnalyticsApplicationParams {
|
|
8
|
+
applicationId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IGetAnalyticsApplicationParams {
|
|
11
|
+
applicationId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IGetStatsAnalyticsApplicationParams {
|
|
14
|
+
applicationId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IGetStatsAnalyticsApplicationQuery {
|
|
17
|
+
dateValueBefore?: Date;
|
|
18
|
+
dateValueAfter?: Date;
|
|
19
|
+
}
|
|
20
|
+
export interface IGetEndpointAnalyticsApplicationParams {
|
|
21
|
+
applicationId: string;
|
|
22
|
+
}
|
|
23
|
+
export interface IGetEndpointOnPeriodAnalyticsApplicationParams {
|
|
24
|
+
applicationId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IGetEndpointOnPeriodAnalyticsApplicationQuery {
|
|
27
|
+
dateValueBefore?: Date;
|
|
28
|
+
dateValueAfter?: Date;
|
|
29
|
+
}
|
|
30
|
+
export interface IGetSlowerEndpointAnalyticsApplicationParams {
|
|
31
|
+
applicationId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ICallPerControllerAnalyticsApplicationParams {
|
|
34
|
+
applicationId: string;
|
|
35
|
+
}
|
|
@@ -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,30 +1,30 @@
|
|
|
1
|
-
import { IResponse, IApplicationCronTask, IApplicationCronTaskHistory, BasePaginate } from '../..';
|
|
2
|
-
export interface IGetApplicationCronTaskAdminData {
|
|
3
|
-
applicationCronTask: IApplicationCronTask;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export interface IUpdateApplicationCronTaskAdminData {
|
|
7
|
-
applicationCronTask: IApplicationCronTask;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export interface ICreateApplicationCronTaskAdminData {
|
|
13
|
-
applicationCronTask: IApplicationCronTask;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
export interface IGetHistoryApplicationCronTaskAdminData {
|
|
17
|
-
applicationCronTaskHistory: IApplicationCronTaskHistory;
|
|
18
|
-
}
|
|
19
|
-
export
|
|
20
|
-
export interface IDeleteApplicationCronTaskAdminData {
|
|
21
|
-
}
|
|
22
|
-
export
|
|
23
|
-
export interface IRegenerateSecretApplicationCronTaskAdminData {
|
|
24
|
-
applicationCronTask: IApplicationCronTask;
|
|
25
|
-
}
|
|
26
|
-
export
|
|
27
|
-
export interface ITriggerApplicationCronTaskAdminData {
|
|
28
|
-
applicationCronTaskHistory: IApplicationCronTaskHistory;
|
|
29
|
-
}
|
|
30
|
-
export
|
|
1
|
+
import { IResponse, IApplicationCronTask, IApplicationCronTaskHistory, BasePaginate } from '../..';
|
|
2
|
+
export interface IGetApplicationCronTaskAdminData {
|
|
3
|
+
applicationCronTask: IApplicationCronTask;
|
|
4
|
+
}
|
|
5
|
+
export type IGetApplicationCronTaskAdminResponse = IResponse<IGetApplicationCronTaskAdminData>;
|
|
6
|
+
export interface IUpdateApplicationCronTaskAdminData {
|
|
7
|
+
applicationCronTask: IApplicationCronTask;
|
|
8
|
+
}
|
|
9
|
+
export type IUpdateApplicationCronTaskAdminResponse = IResponse<IUpdateApplicationCronTaskAdminData>;
|
|
10
|
+
export type IPaginateApplicationCronTaskAdminResponse = IResponse<BasePaginate<IApplicationCronTask>>;
|
|
11
|
+
export type IPaginateHistoryApplicationCronTaskAdminResponse = IResponse<BasePaginate<IApplicationCronTaskHistory>>;
|
|
12
|
+
export interface ICreateApplicationCronTaskAdminData {
|
|
13
|
+
applicationCronTask: IApplicationCronTask;
|
|
14
|
+
}
|
|
15
|
+
export type ICreateApplicationCronTaskAdminResponse = IResponse<ICreateApplicationCronTaskAdminData>;
|
|
16
|
+
export interface IGetHistoryApplicationCronTaskAdminData {
|
|
17
|
+
applicationCronTaskHistory: IApplicationCronTaskHistory;
|
|
18
|
+
}
|
|
19
|
+
export type IGetHistoryApplicationCronTaskAdminResponse = IResponse<IGetHistoryApplicationCronTaskAdminData>;
|
|
20
|
+
export interface IDeleteApplicationCronTaskAdminData {
|
|
21
|
+
}
|
|
22
|
+
export type IDeleteApplicationCronTaskAdminResponse = IResponse<IDeleteApplicationCronTaskAdminData>;
|
|
23
|
+
export interface IRegenerateSecretApplicationCronTaskAdminData {
|
|
24
|
+
applicationCronTask: IApplicationCronTask;
|
|
25
|
+
}
|
|
26
|
+
export type IRegenerateSecretApplicationCronTaskAdminResponse = IResponse<IRegenerateSecretApplicationCronTaskAdminData>;
|
|
27
|
+
export interface ITriggerApplicationCronTaskAdminData {
|
|
28
|
+
applicationCronTaskHistory: IApplicationCronTaskHistory;
|
|
29
|
+
}
|
|
30
|
+
export type ITriggerApplicationCronTaskAdminResponse = IResponse<ITriggerApplicationCronTaskAdminData>;
|
|
@@ -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,30 +1,30 @@
|
|
|
1
|
-
import { IResponse, IApplicationCronTask, IApplicationCronTaskHistory, BasePaginate } from '../..';
|
|
2
|
-
export interface IGetApplicationCronTaskData {
|
|
3
|
-
applicationCronTask: IApplicationCronTask;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export interface IGetHistoryApplicationCronTaskData {
|
|
7
|
-
applicationCronTaskHistory: IApplicationCronTaskHistory;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export interface ICreateApplicationCronTaskData {
|
|
13
|
-
applicationCronTask: IApplicationCronTask;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
export interface IUpdateApplicationCronTaskData {
|
|
17
|
-
applicationCronTask: IApplicationCronTask;
|
|
18
|
-
}
|
|
19
|
-
export
|
|
20
|
-
export interface IDeleteApplicationCronTaskData {
|
|
21
|
-
}
|
|
22
|
-
export
|
|
23
|
-
export interface IRegenerateSecretApplicationCronTaskData {
|
|
24
|
-
applicationCronTask: IApplicationCronTask;
|
|
25
|
-
}
|
|
26
|
-
export
|
|
27
|
-
export interface ITriggerApplicationCronTaskData {
|
|
28
|
-
applicationCronTaskHistory: IApplicationCronTaskHistory;
|
|
29
|
-
}
|
|
30
|
-
export
|
|
1
|
+
import { IResponse, IApplicationCronTask, IApplicationCronTaskHistory, BasePaginate } from '../..';
|
|
2
|
+
export interface IGetApplicationCronTaskData {
|
|
3
|
+
applicationCronTask: IApplicationCronTask;
|
|
4
|
+
}
|
|
5
|
+
export type IGetApplicationCronTaskResponse = IResponse<IGetApplicationCronTaskData>;
|
|
6
|
+
export interface IGetHistoryApplicationCronTaskData {
|
|
7
|
+
applicationCronTaskHistory: IApplicationCronTaskHistory;
|
|
8
|
+
}
|
|
9
|
+
export type IGetHistoryApplicationCronTaskResponse = IResponse<IGetHistoryApplicationCronTaskData>;
|
|
10
|
+
export type IPaginateHistoryApplicationCronTaskResponse = IResponse<BasePaginate<IApplicationCronTaskHistory>>;
|
|
11
|
+
export type IPaginateApplicationCronTaskResponse = IResponse<BasePaginate<IApplicationCronTask>>;
|
|
12
|
+
export interface ICreateApplicationCronTaskData {
|
|
13
|
+
applicationCronTask: IApplicationCronTask;
|
|
14
|
+
}
|
|
15
|
+
export type ICreateApplicationCronTaskResponse = IResponse<ICreateApplicationCronTaskData>;
|
|
16
|
+
export interface IUpdateApplicationCronTaskData {
|
|
17
|
+
applicationCronTask: IApplicationCronTask;
|
|
18
|
+
}
|
|
19
|
+
export type IUpdateApplicationCronTaskResponse = IResponse<IUpdateApplicationCronTaskData>;
|
|
20
|
+
export interface IDeleteApplicationCronTaskData {
|
|
21
|
+
}
|
|
22
|
+
export type IDeleteApplicationCronTaskResponse = IResponse<IDeleteApplicationCronTaskData>;
|
|
23
|
+
export interface IRegenerateSecretApplicationCronTaskData {
|
|
24
|
+
applicationCronTask: IApplicationCronTask;
|
|
25
|
+
}
|
|
26
|
+
export type IRegenerateSecretApplicationCronTaskResponse = IResponse<IRegenerateSecretApplicationCronTaskData>;
|
|
27
|
+
export interface ITriggerApplicationCronTaskData {
|
|
28
|
+
applicationCronTaskHistory: IApplicationCronTaskHistory;
|
|
29
|
+
}
|
|
30
|
+
export type ITriggerApplicationCronTaskResponse = IResponse<ITriggerApplicationCronTaskData>;
|
|
@@ -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,10 +1,10 @@
|
|
|
1
|
-
import { IResponse, IApplicationLog, BasePaginate } from '../..';
|
|
2
|
-
export
|
|
3
|
-
export interface IGetApplicationLogAdminData {
|
|
4
|
-
applicationLog: IApplicationLog;
|
|
5
|
-
}
|
|
6
|
-
export
|
|
7
|
-
export interface ICreateApplicationLogAdminData {
|
|
8
|
-
applicationLog: IApplicationLog;
|
|
9
|
-
}
|
|
10
|
-
export
|
|
1
|
+
import { IResponse, IApplicationLog, BasePaginate } from '../..';
|
|
2
|
+
export type IPaginateApplicationLogAdminResponse = IResponse<BasePaginate<IApplicationLog>>;
|
|
3
|
+
export interface IGetApplicationLogAdminData {
|
|
4
|
+
applicationLog: IApplicationLog;
|
|
5
|
+
}
|
|
6
|
+
export type IGetApplicationLogAdminResponse = IResponse<IGetApplicationLogAdminData>;
|
|
7
|
+
export interface ICreateApplicationLogAdminData {
|
|
8
|
+
applicationLog: IApplicationLog;
|
|
9
|
+
}
|
|
10
|
+
export type ICreateApplicationLogAdminResponse = IResponse<ICreateApplicationLogAdminData>;
|
|
@@ -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,10 +1,10 @@
|
|
|
1
|
-
import { IResponse, IApplicationLog, BasePaginate } from '../..';
|
|
2
|
-
export
|
|
3
|
-
export interface IGetApplicationLogData {
|
|
4
|
-
applicationLog: IApplicationLog;
|
|
5
|
-
}
|
|
6
|
-
export
|
|
7
|
-
export interface ICreateApplicationLogData {
|
|
8
|
-
applicationLog: IApplicationLog;
|
|
9
|
-
}
|
|
10
|
-
export
|
|
1
|
+
import { IResponse, IApplicationLog, BasePaginate } from '../..';
|
|
2
|
+
export type IPaginateApplicationLogResponse = IResponse<BasePaginate<IApplicationLog>>;
|
|
3
|
+
export interface IGetApplicationLogData {
|
|
4
|
+
applicationLog: IApplicationLog;
|
|
5
|
+
}
|
|
6
|
+
export type IGetApplicationLogResponse = IResponse<IGetApplicationLogData>;
|
|
7
|
+
export interface ICreateApplicationLogData {
|
|
8
|
+
applicationLog: IApplicationLog;
|
|
9
|
+
}
|
|
10
|
+
export type ICreateApplicationLogResponse = IResponse<ICreateApplicationLogData>;
|
|
@@ -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,6 +1,6 @@
|
|
|
1
|
-
import { IResponse, IApplicationStats, BasePaginate } from '../..';
|
|
2
|
-
export interface IGetApplicationStatsAdminData {
|
|
3
|
-
applicationStats: IApplicationStats;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export
|
|
1
|
+
import { IResponse, IApplicationStats, BasePaginate } from '../..';
|
|
2
|
+
export interface IGetApplicationStatsAdminData {
|
|
3
|
+
applicationStats: IApplicationStats;
|
|
4
|
+
}
|
|
5
|
+
export type IGetApplicationStatsAdminResponse = IResponse<IGetApplicationStatsAdminData>;
|
|
6
|
+
export type IPaginateApplicationStatsAdminResponse = IResponse<BasePaginate<IApplicationStats>>;
|
|
@@ -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,10 +1,10 @@
|
|
|
1
|
-
import { IResponse, IApplicationStats, BasePaginate } from '../..';
|
|
2
|
-
export interface IGetApplicationStatsData {
|
|
3
|
-
applicationStats: IApplicationStats;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export interface ICreateApplicationStatsData {
|
|
8
|
-
applicationStats: IApplicationStats[];
|
|
9
|
-
}
|
|
10
|
-
export
|
|
1
|
+
import { IResponse, IApplicationStats, BasePaginate } from '../..';
|
|
2
|
+
export interface IGetApplicationStatsData {
|
|
3
|
+
applicationStats: IApplicationStats;
|
|
4
|
+
}
|
|
5
|
+
export type IGetApplicationStatsResponse = IResponse<IGetApplicationStatsData>;
|
|
6
|
+
export type IPaginateApplicationStatsResponse = IResponse<BasePaginate<IApplicationStats>>;
|
|
7
|
+
export interface ICreateApplicationStatsData {
|
|
8
|
+
applicationStats: IApplicationStats[];
|
|
9
|
+
}
|
|
10
|
+
export type ICreateApplicationStatsResponse = IResponse<ICreateApplicationStatsData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|