@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,35 +0,0 @@
|
|
|
1
|
-
import { QueryPaginate } from 'abyss_core';
|
|
2
|
-
import * as core from 'express-serve-static-core';
|
|
3
|
-
export interface IGetUserApplicationParams extends core.ParamsDictionary {
|
|
4
|
-
userApplicationId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IResetApiKeyUserApplicationParams extends core.ParamsDictionary {
|
|
7
|
-
userApplicationId: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type IPaginateUserApplicationQuery = QueryPaginate;
|
|
10
|
-
export interface IGetLogAnalyticsUserApplicationParams extends core.ParamsDictionary {
|
|
11
|
-
userApplicationId: string;
|
|
12
|
-
}
|
|
13
|
-
export interface IGetAnalyticsUserApplicationParams extends core.ParamsDictionary {
|
|
14
|
-
userApplicationId: string;
|
|
15
|
-
}
|
|
16
|
-
export interface IGetStatsAnalyticsUserApplicationParams extends core.ParamsDictionary {
|
|
17
|
-
userApplicationId: string;
|
|
18
|
-
}
|
|
19
|
-
export interface IGetStatsAnalyticsUserApplicationQuery {
|
|
20
|
-
dateValueBefore?: Date;
|
|
21
|
-
dateValueAfter?: Date;
|
|
22
|
-
}
|
|
23
|
-
export interface IGetEndpointAnalyticsUserApplicationParams extends core.ParamsDictionary {
|
|
24
|
-
userApplicationId: string;
|
|
25
|
-
}
|
|
26
|
-
export interface IGetEndpointOnPeriodAnalyticsUserApplicationParams extends core.ParamsDictionary {
|
|
27
|
-
userApplicationId: string;
|
|
28
|
-
}
|
|
29
|
-
export interface IGetEndpointOnPeriodAnalyticsUserApplicationQuery {
|
|
30
|
-
dateValueBefore?: Date;
|
|
31
|
-
dateValueAfter?: Date;
|
|
32
|
-
}
|
|
33
|
-
export interface IGetSlowerEndpointAnalyticsUserApplicationParams extends core.ParamsDictionary {
|
|
34
|
-
userApplicationId: string;
|
|
35
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { QueryPaginate } from 'abyss_core';
|
|
2
|
-
import * as core from 'express-serve-static-core';
|
|
3
|
-
export interface IGetUserAdminParams extends core.ParamsDictionary {
|
|
4
|
-
userId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IResetApiKeyUserAdminParams extends core.ParamsDictionary {
|
|
7
|
-
userId: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type IPaginateUserAdminQuery = {
|
|
10
|
-
alias?: string;
|
|
11
|
-
} & QueryPaginate;
|
|
12
|
-
export interface IUpdateUserAdminParams extends core.ParamsDictionary {
|
|
13
|
-
userId: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IUpdateUserAdminBody {
|
|
16
|
-
alias?: string;
|
|
17
|
-
isAdmin?: boolean;
|
|
18
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IUser } from '../../models/user.model';
|
|
2
|
-
import { IResponse } from '../type-message/response';
|
|
3
|
-
export interface IActivateUserServiceAbyssAdminData {
|
|
4
|
-
user: IUser;
|
|
5
|
-
}
|
|
6
|
-
export declare type IActivateUserServiceAbyssAdminResponse = IResponse<IActivateUserServiceAbyssAdminData>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse } from '../..';
|
|
3
|
-
export declare type IPaginateLoggerAdminResponse = IResponse<BasePaginate<null>>;
|
|
4
|
-
export interface IGetLogConsoleAdminData {
|
|
5
|
-
logConsole: null;
|
|
6
|
-
}
|
|
7
|
-
export declare type IGetLogConsoleAdminResponse = IResponse<IGetLogConsoleAdminData>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplicationAlert } from '../..';
|
|
3
|
-
export interface IGetUserApplicationAlertAdminData {
|
|
4
|
-
userApplicationAlert: IUserApplicationAlert;
|
|
5
|
-
}
|
|
6
|
-
export declare type IGetUserApplicationAlertAdminResponse = IResponse<IGetUserApplicationAlertAdminData>;
|
|
7
|
-
export declare type IPaginateUserApplicationAlertAdminResponse = IResponse<BasePaginate<IUserApplicationAlert>>;
|
|
8
|
-
export interface ICreateUserApplicationAlertAdminData {
|
|
9
|
-
userApplicationAlert: IUserApplicationAlert;
|
|
10
|
-
}
|
|
11
|
-
export declare type ICreateUserApplicationAlertAdminResponse = IResponse<ICreateUserApplicationAlertAdminData>;
|
|
12
|
-
export interface IUpdateUserApplicationAlertAdminData {
|
|
13
|
-
userApplicationAlert: IUserApplicationAlert;
|
|
14
|
-
}
|
|
15
|
-
export declare type IUpdateUserApplicationAlertAdminResponse = IResponse<IUpdateUserApplicationAlertAdminData>;
|
|
16
|
-
export interface IDeleteUserApplicationAlertAdminData {
|
|
17
|
-
}
|
|
18
|
-
export declare type IDeleteUserApplicationAlertAdminResponse = IResponse<IDeleteUserApplicationAlertAdminData>;
|
|
19
|
-
export interface IClearWarnUserApplicationAlertAdminData {
|
|
20
|
-
userApplicationAlert: IUserApplicationAlert;
|
|
21
|
-
}
|
|
22
|
-
export declare type IClearWarnUserApplicationAlertAdminResponse = IResponse<IClearWarnUserApplicationAlertAdminData>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplicationAlert } from '../..';
|
|
3
|
-
export interface IGetUserApplicationAlertData {
|
|
4
|
-
userApplicationAlert: IUserApplicationAlert;
|
|
5
|
-
}
|
|
6
|
-
export declare type IGetUserApplicationAlertResponse = IResponse<IGetUserApplicationAlertData>;
|
|
7
|
-
export declare type IPaginateUserApplicationAlertResponse = IResponse<BasePaginate<IUserApplicationAlert>>;
|
|
8
|
-
export interface ICreateUserApplicationAlertData {
|
|
9
|
-
userApplicationAlert: IUserApplicationAlert;
|
|
10
|
-
}
|
|
11
|
-
export declare type ICreateUserApplicationAlertResponse = IResponse<ICreateUserApplicationAlertData>;
|
|
12
|
-
export interface IUpdateUserApplicationAlertData {
|
|
13
|
-
userApplicationAlert: IUserApplicationAlert;
|
|
14
|
-
}
|
|
15
|
-
export declare type IUpdateUserApplicationAlertResponse = IResponse<IUpdateUserApplicationAlertData>;
|
|
16
|
-
export interface IDeleteUserApplicationAlertData {
|
|
17
|
-
}
|
|
18
|
-
export declare type IDeleteUserApplicationAlertResponse = IResponse<IDeleteUserApplicationAlertData>;
|
|
19
|
-
export interface IClearWarnUserApplicationAlertData {
|
|
20
|
-
userApplicationAlert: IUserApplicationAlert;
|
|
21
|
-
}
|
|
22
|
-
export declare type IClearWarnUserApplicationAlertResponse = IResponse<IClearWarnUserApplicationAlertData>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplicationCronTask, IUserApplicationCronTaskHistory } from '../..';
|
|
3
|
-
export interface IGetUserApplicationCronTaskAdminData {
|
|
4
|
-
userApplicationCronTask: IUserApplicationCronTask;
|
|
5
|
-
}
|
|
6
|
-
export declare type IGetUserApplicationCronTaskAdminResponse = IResponse<IGetUserApplicationCronTaskAdminData>;
|
|
7
|
-
export interface IUpdateUserApplicationCronTaskAdminData {
|
|
8
|
-
userApplicationCronTask: IUserApplicationCronTask;
|
|
9
|
-
}
|
|
10
|
-
export declare type IUpdateUserApplicationCronTaskAdminResponse = IResponse<IUpdateUserApplicationCronTaskAdminData>;
|
|
11
|
-
export declare type IPaginateUserApplicationCronTaskAdminResponse = IResponse<BasePaginate<IUserApplicationCronTask>>;
|
|
12
|
-
export declare type IPaginateHistoryUserApplicationCronTaskAdminResponse = IResponse<BasePaginate<IUserApplicationCronTaskHistory>>;
|
|
13
|
-
export interface ICreateUserApplicationCronTaskAdminData {
|
|
14
|
-
userApplicationCronTask: IUserApplicationCronTask;
|
|
15
|
-
}
|
|
16
|
-
export declare type ICreateUserApplicationCronTaskAdminResponse = IResponse<ICreateUserApplicationCronTaskAdminData>;
|
|
17
|
-
export interface IGetHistoryUserApplicationCronTaskAdminData {
|
|
18
|
-
userApplicationCronTaskHistory: IUserApplicationCronTaskHistory;
|
|
19
|
-
}
|
|
20
|
-
export declare type IGetHistoryUserApplicationCronTaskAdminResponse = IResponse<IGetHistoryUserApplicationCronTaskAdminData>;
|
|
21
|
-
export interface IDeleteUserApplicationCronTaskAdminData {
|
|
22
|
-
}
|
|
23
|
-
export declare type IDeleteUserApplicationCronTaskAdminResponse = IResponse<IDeleteUserApplicationCronTaskAdminData>;
|
|
24
|
-
export interface IRegenerateSecretUserApplicationCronTaskAdminData {
|
|
25
|
-
userApplicationCronTask: IUserApplicationCronTask;
|
|
26
|
-
}
|
|
27
|
-
export declare type IRegenerateSecretUserApplicationCronTaskAdminResponse = IResponse<IRegenerateSecretUserApplicationCronTaskAdminData>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplicationCronTask, IUserApplicationCronTaskHistory } from '../..';
|
|
3
|
-
export interface IGetUserApplicationCronTaskData {
|
|
4
|
-
userApplicationCronTask: IUserApplicationCronTask;
|
|
5
|
-
}
|
|
6
|
-
export declare type IGetUserApplicationCronTaskResponse = IResponse<IGetUserApplicationCronTaskData>;
|
|
7
|
-
export interface IGetHistoryUserApplicationCronTaskData {
|
|
8
|
-
userApplicationCronTaskHistory: IUserApplicationCronTaskHistory;
|
|
9
|
-
}
|
|
10
|
-
export declare type IGetHistoryUserApplicationCronTaskResponse = IResponse<IGetHistoryUserApplicationCronTaskData>;
|
|
11
|
-
export declare type IPaginateHistoryUserApplicationCronTaskResponse = IResponse<BasePaginate<IUserApplicationCronTaskHistory>>;
|
|
12
|
-
export declare type IPaginateUserApplicationCronTaskResponse = IResponse<BasePaginate<IUserApplicationCronTask>>;
|
|
13
|
-
export interface ICreateUserApplicationCronTaskData {
|
|
14
|
-
userApplicationCronTask: IUserApplicationCronTask;
|
|
15
|
-
}
|
|
16
|
-
export declare type ICreateUserApplicationCronTaskResponse = IResponse<ICreateUserApplicationCronTaskData>;
|
|
17
|
-
export interface IUpdateUserApplicationCronTaskData {
|
|
18
|
-
userApplicationCronTask: IUserApplicationCronTask;
|
|
19
|
-
}
|
|
20
|
-
export declare type IUpdateUserApplicationCronTaskResponse = IResponse<IUpdateUserApplicationCronTaskData>;
|
|
21
|
-
export interface IDeleteUserApplicationCronTaskData {
|
|
22
|
-
}
|
|
23
|
-
export declare type IDeleteUserApplicationCronTaskResponse = IResponse<IDeleteUserApplicationCronTaskData>;
|
|
24
|
-
export interface IRegenerateSecretUserApplicationCronTaskData {
|
|
25
|
-
userApplicationCronTask: IUserApplicationCronTask;
|
|
26
|
-
}
|
|
27
|
-
export declare type IRegenerateSecretUserApplicationCronTaskResponse = IResponse<IRegenerateSecretUserApplicationCronTaskData>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplicationLog } from '../..';
|
|
3
|
-
export declare type IPaginateUserApplicationLogAdminResponse = IResponse<BasePaginate<IUserApplicationLog>>;
|
|
4
|
-
export interface IGetUserApplicationLogAdminData {
|
|
5
|
-
userApplicationLog: IUserApplicationLog;
|
|
6
|
-
}
|
|
7
|
-
export declare type IGetUserApplicationLogAdminResponse = IResponse<IGetUserApplicationLogAdminData>;
|
|
8
|
-
export interface ICreateUserApplicationLogAdminData {
|
|
9
|
-
userApplicationLog: IUserApplicationLog;
|
|
10
|
-
}
|
|
11
|
-
export declare type ICreateUserApplicationLogAdminResponse = IResponse<ICreateUserApplicationLogAdminData>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplicationLog } from '../..';
|
|
3
|
-
export declare type IPaginateUserApplicationLogResponse = IResponse<BasePaginate<IUserApplicationLog>>;
|
|
4
|
-
export interface IGetUserApplicationLogData {
|
|
5
|
-
userApplicationLog: IUserApplicationLog;
|
|
6
|
-
}
|
|
7
|
-
export declare type IGetUserApplicationLogResponse = IResponse<IGetUserApplicationLogData>;
|
|
8
|
-
export interface ICreateUserApplicationLogData {
|
|
9
|
-
userApplicationLog: IUserApplicationLog;
|
|
10
|
-
}
|
|
11
|
-
export declare type ICreateUserApplicationLogResponse = IResponse<ICreateUserApplicationLogData>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplicationStats } from '../..';
|
|
3
|
-
export interface IGetUserApplicationStatsAdminData {
|
|
4
|
-
userApplicationStats: IUserApplicationStats;
|
|
5
|
-
}
|
|
6
|
-
export declare type IGetUserApplicationStatsAdminResponse = IResponse<IGetUserApplicationStatsAdminData>;
|
|
7
|
-
export declare type IPaginateUserApplicationStatsAdminResponse = IResponse<BasePaginate<IUserApplicationStats>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplicationStats } from '../..';
|
|
3
|
-
export interface IGetUserApplicationStatsData {
|
|
4
|
-
userApplicationStats: IUserApplicationStats;
|
|
5
|
-
}
|
|
6
|
-
export declare type IGetUserApplicationStatsResponse = IResponse<IGetUserApplicationStatsData>;
|
|
7
|
-
export declare type IPaginateUserApplicationStatsResponse = IResponse<BasePaginate<IUserApplicationStats>>;
|
|
8
|
-
export interface ICreateUserApplicationStatsData {
|
|
9
|
-
userApplicationStats: IUserApplicationStats[];
|
|
10
|
-
}
|
|
11
|
-
export declare type ICreateUserApplicationStatsResponse = IResponse<ICreateUserApplicationStatsData>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplication } from '../..';
|
|
3
|
-
export interface IGetUserApplicationAdminData {
|
|
4
|
-
userApplication: IUserApplication;
|
|
5
|
-
}
|
|
6
|
-
export declare type IGetUserApplicationAdminResponse = IResponse<IGetUserApplicationAdminData>;
|
|
7
|
-
export declare type IPaginateUserApplicationAdminResponse = IResponse<BasePaginate<IUserApplication>>;
|
|
8
|
-
export interface IResetApiKeyUserApplicationAdminData {
|
|
9
|
-
userApplication: IUserApplication;
|
|
10
|
-
}
|
|
11
|
-
export declare type IResetApiKeyUserApplicationAdminResponse = IResponse<IResetApiKeyUserApplicationAdminData>;
|
|
12
|
-
export interface ICreateUserApplicationAdminData {
|
|
13
|
-
userApplication: IUserApplication;
|
|
14
|
-
}
|
|
15
|
-
export declare type ICreateUserApplicationAdminResponse = IResponse<ICreateUserApplicationAdminData>;
|
|
16
|
-
export declare type IDeleteUserApplicationAdminData = Record<string, never>;
|
|
17
|
-
export declare type IDeleteUserApplicationAdminResponse = IResponse<IDeleteUserApplicationAdminData>;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUserApplication } from '../..';
|
|
3
|
-
import { APIMethod } from '../../../enum';
|
|
4
|
-
export interface IGetUserApplicationData {
|
|
5
|
-
userApplication: IUserApplication;
|
|
6
|
-
}
|
|
7
|
-
export declare type IGetUserApplicationResponse = IResponse<IGetUserApplicationData>;
|
|
8
|
-
export declare type IPaginateUserApplicationResponse = IResponse<BasePaginate<IUserApplication>>;
|
|
9
|
-
export interface IResetApiKeyUserApplicationData {
|
|
10
|
-
userApplication: IUserApplication;
|
|
11
|
-
}
|
|
12
|
-
export declare type IResetApiKeyUserApplicationResponse = IResponse<IResetApiKeyUserApplicationData>;
|
|
13
|
-
export interface IGetLogAnalyticsUserApplicationData {
|
|
14
|
-
firstLogDate: Date | null;
|
|
15
|
-
logs: {
|
|
16
|
-
log: number;
|
|
17
|
-
warn: number;
|
|
18
|
-
info: number;
|
|
19
|
-
error: number;
|
|
20
|
-
};
|
|
21
|
-
totalLast24Hour: {
|
|
22
|
-
log: number;
|
|
23
|
-
warn: number;
|
|
24
|
-
info: number;
|
|
25
|
-
error: number;
|
|
26
|
-
};
|
|
27
|
-
logsPerDate: {
|
|
28
|
-
log: number;
|
|
29
|
-
warn: number;
|
|
30
|
-
info: number;
|
|
31
|
-
error: number;
|
|
32
|
-
date: Date;
|
|
33
|
-
}[];
|
|
34
|
-
}
|
|
35
|
-
export declare type IGetLogAnalyticsUserApplicationResponse = IResponse<IGetLogAnalyticsUserApplicationData>;
|
|
36
|
-
export interface IGetAnalyticsUserApplicationData {
|
|
37
|
-
statsLast24Hour: {
|
|
38
|
-
cpu: number;
|
|
39
|
-
ram: number;
|
|
40
|
-
disk: number;
|
|
41
|
-
};
|
|
42
|
-
stats: {
|
|
43
|
-
cpu: number;
|
|
44
|
-
ram: number;
|
|
45
|
-
disk: number;
|
|
46
|
-
};
|
|
47
|
-
cronTaskHistoryLast24Hour: number;
|
|
48
|
-
cronTask: number;
|
|
49
|
-
}
|
|
50
|
-
export declare type IGetAnalyticsUserApplicationResponse = IResponse<IGetAnalyticsUserApplicationData>;
|
|
51
|
-
export interface IGetStatsAnalyticsUserApplicationData {
|
|
52
|
-
statsPerPeriod: {
|
|
53
|
-
cpu: number | null;
|
|
54
|
-
cpuPercent: number | null;
|
|
55
|
-
ram: number | null;
|
|
56
|
-
ramPercent: number | null;
|
|
57
|
-
disk: number | null;
|
|
58
|
-
diskPercent: number | null;
|
|
59
|
-
date: Date;
|
|
60
|
-
}[];
|
|
61
|
-
firstDate: Date | null;
|
|
62
|
-
}
|
|
63
|
-
export declare type IGetStatsAnalyticsUserApplicationResponse = IResponse<IGetStatsAnalyticsUserApplicationData>;
|
|
64
|
-
export interface IGetEndpointOnPeriodAnalyticsUserApplicationData {
|
|
65
|
-
endpointPerPeriod: {
|
|
66
|
-
informational: number;
|
|
67
|
-
successful: number;
|
|
68
|
-
redirection: number;
|
|
69
|
-
clientError: number;
|
|
70
|
-
serverError: number;
|
|
71
|
-
averageResponseTime: number;
|
|
72
|
-
upload: number;
|
|
73
|
-
download: number;
|
|
74
|
-
date: Date;
|
|
75
|
-
}[];
|
|
76
|
-
}
|
|
77
|
-
export declare type IGetEndpointOnPeriodAnalyticsUserApplicationResponse = IResponse<IGetEndpointOnPeriodAnalyticsUserApplicationData>;
|
|
78
|
-
export interface IGetEndpointAnalyticsUserApplicationData {
|
|
79
|
-
ever: {
|
|
80
|
-
total: number;
|
|
81
|
-
informational: number;
|
|
82
|
-
successful: number;
|
|
83
|
-
redirection: number;
|
|
84
|
-
clientError: number;
|
|
85
|
-
serverError: number;
|
|
86
|
-
averageResponseTime: number;
|
|
87
|
-
upload: number;
|
|
88
|
-
download: number;
|
|
89
|
-
};
|
|
90
|
-
endpointLast24Hour: {
|
|
91
|
-
total: number;
|
|
92
|
-
informational: number;
|
|
93
|
-
successful: number;
|
|
94
|
-
redirection: number;
|
|
95
|
-
clientError: number;
|
|
96
|
-
serverError: number;
|
|
97
|
-
averageResponseTime: number;
|
|
98
|
-
upload: number;
|
|
99
|
-
download: number;
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
export declare type IGetEndpointAnalyticsUserApplicationResponse = IResponse<IGetEndpointAnalyticsUserApplicationData>;
|
|
103
|
-
export interface IGetSlowerEndpointAnalyticsUserApplicationData {
|
|
104
|
-
slowerEndpoint: {
|
|
105
|
-
minResponseTime: number;
|
|
106
|
-
maxResponseTime: number;
|
|
107
|
-
averageResponseTime: number;
|
|
108
|
-
endpoint: string;
|
|
109
|
-
controller: string;
|
|
110
|
-
method: APIMethod;
|
|
111
|
-
count: number;
|
|
112
|
-
}[];
|
|
113
|
-
slowerEndpointLast24Hour: {
|
|
114
|
-
minResponseTime: number;
|
|
115
|
-
maxResponseTime: number;
|
|
116
|
-
averageResponseTime: number;
|
|
117
|
-
count: number;
|
|
118
|
-
}[];
|
|
119
|
-
}
|
|
120
|
-
export declare type IGetSlowerEndpointAnalyticsUserApplicationResponse = IResponse<IGetSlowerEndpointAnalyticsUserApplicationData>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BasePaginate } from 'abyss_core';
|
|
2
|
-
import { IResponse, IUser } from '../..';
|
|
3
|
-
export interface IGetUserAdminData {
|
|
4
|
-
user: IUser;
|
|
5
|
-
}
|
|
6
|
-
export declare type IGetUserAdminResponse = IResponse<IGetUserAdminData>;
|
|
7
|
-
export declare type IPaginateUserAdminResponse = IResponse<BasePaginate<IUser>>;
|
|
8
|
-
export interface IUpdateUserAdminData {
|
|
9
|
-
user: IUser;
|
|
10
|
-
}
|
|
11
|
-
export declare type IUpdateUserAdminResponse = IResponse<IUpdateUserAdminData>;
|
|
12
|
-
export interface IResetApiKeyUserAdminData {
|
|
13
|
-
user: IUser;
|
|
14
|
-
}
|
|
15
|
-
export declare type IResetApiKeyUserAdminResponse = IResponse<IResetApiKeyUserAdminData>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IResponse, IUser } from '../..';
|
|
2
|
-
export interface IMeUserData {
|
|
3
|
-
user: IUser;
|
|
4
|
-
}
|
|
5
|
-
export declare type IMeUserResponse = IResponse<IMeUserData>;
|
|
6
|
-
export interface IResetApiKeyUserData {
|
|
7
|
-
user: IUser;
|
|
8
|
-
}
|
|
9
|
-
export declare type IResetApiKeyUserResponse = IResponse<IResetApiKeyUserData>;
|
|
10
|
-
export interface IUpdateUserData {
|
|
11
|
-
user: IUser;
|
|
12
|
-
}
|
|
13
|
-
export declare type IUpdateUserResponse = IResponse<IUpdateUserData>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ICronTask } from './cron-task.model';
|
|
2
|
-
export interface ICronTaskHistory {
|
|
3
|
-
id?: string;
|
|
4
|
-
cronTaskId: string;
|
|
5
|
-
startDate: Date;
|
|
6
|
-
responseDate: Date;
|
|
7
|
-
requestId: string | null;
|
|
8
|
-
isAcknowledged: boolean;
|
|
9
|
-
updatedAt?: Date;
|
|
10
|
-
createdAt?: Date;
|
|
11
|
-
cronTask?: ICronTask;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IUserApplication } from './user-application.model';
|
|
2
|
-
export interface ICronTask {
|
|
3
|
-
id?: string;
|
|
4
|
-
userApplicationId: string;
|
|
5
|
-
name: string;
|
|
6
|
-
description: string | null;
|
|
7
|
-
scheduleConfiguration: string;
|
|
8
|
-
webhookUrl: string;
|
|
9
|
-
isActivated: boolean;
|
|
10
|
-
updatedAt?: Date;
|
|
11
|
-
createdAt?: Date;
|
|
12
|
-
userApplication?: IUserApplication;
|
|
13
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { LogType } from '../..';
|
|
2
|
-
import { ILogEndpoint } from './log-endpoint.model';
|
|
3
|
-
import { LogLevel } from 'abyss_core';
|
|
4
|
-
export interface ILogConsole {
|
|
5
|
-
id?: string;
|
|
6
|
-
processId: number;
|
|
7
|
-
context: string | null;
|
|
8
|
-
requestId: string | null;
|
|
9
|
-
level: LogLevel;
|
|
10
|
-
message: string;
|
|
11
|
-
stack: string | null;
|
|
12
|
-
type: LogType;
|
|
13
|
-
dateValue: Date;
|
|
14
|
-
updatedAt?: Date;
|
|
15
|
-
createdAt?: Date;
|
|
16
|
-
logEndpoint?: ILogEndpoint;
|
|
17
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ILogConsole } from '..';
|
|
2
|
-
import { APIMethod } from 'abyss_core';
|
|
3
|
-
export interface ILogEndpoint {
|
|
4
|
-
id?: string;
|
|
5
|
-
requestId: string;
|
|
6
|
-
processId: number;
|
|
7
|
-
controller: string | null;
|
|
8
|
-
endpoint: string;
|
|
9
|
-
requestParams: Record<string, unknown>;
|
|
10
|
-
requestQuery: Record<string, unknown>;
|
|
11
|
-
requestBody: Record<string, unknown>;
|
|
12
|
-
responseBody: Record<string, unknown>;
|
|
13
|
-
httpResultCode: number;
|
|
14
|
-
ips: string[];
|
|
15
|
-
durationInMs: number;
|
|
16
|
-
method: APIMethod;
|
|
17
|
-
dateValue: Date;
|
|
18
|
-
logConsoleId?: string;
|
|
19
|
-
updatedAt?: Date;
|
|
20
|
-
createdAt?: Date;
|
|
21
|
-
logConsole?: ILogConsole;
|
|
22
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { LogLevel, UserApplicationAlertType, UserApplicationStatsType, WebhookType } from '../../enum';
|
|
2
|
-
import { IUserApplication } from './user-application.model';
|
|
3
|
-
export declare type UserApplicationAlertConfiguration = {
|
|
4
|
-
stats: {
|
|
5
|
-
cpuUsageMax?: number;
|
|
6
|
-
cpuPercentUsageMax?: number;
|
|
7
|
-
ramUsageMax?: number;
|
|
8
|
-
ramPercentUsageMax?: number;
|
|
9
|
-
diskUsageMax?: number;
|
|
10
|
-
diskPercentUsageMax?: number;
|
|
11
|
-
}[];
|
|
12
|
-
} | {
|
|
13
|
-
log: {
|
|
14
|
-
messageContains?: string;
|
|
15
|
-
messageNotContains?: string;
|
|
16
|
-
responseHttpCodeMin?: number;
|
|
17
|
-
responseHttpCodeMax?: number;
|
|
18
|
-
contextContains?: string;
|
|
19
|
-
contextNotContains?: string;
|
|
20
|
-
scenarioContains?: string;
|
|
21
|
-
scenarioNotContains?: string;
|
|
22
|
-
level?: LogLevel[];
|
|
23
|
-
}[];
|
|
24
|
-
} | {
|
|
25
|
-
cronTask: {
|
|
26
|
-
onSuccess?: boolean;
|
|
27
|
-
onFailure?: boolean;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export interface IUserApplicationAlert {
|
|
31
|
-
id?: string;
|
|
32
|
-
name: string;
|
|
33
|
-
description: string | null;
|
|
34
|
-
userApplicationId: string;
|
|
35
|
-
type: UserApplicationAlertType;
|
|
36
|
-
configuration: UserApplicationAlertConfiguration;
|
|
37
|
-
isEnabled: boolean;
|
|
38
|
-
webhookType: WebhookType;
|
|
39
|
-
webhookUrl: string;
|
|
40
|
-
activeWarn: UserApplicationStatsType[];
|
|
41
|
-
updatedAt?: Date;
|
|
42
|
-
createdAt?: Date;
|
|
43
|
-
userApplication?: IUserApplication;
|
|
44
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IUserApplicationCronTask } from './user-application-cron-task.model';
|
|
2
|
-
export interface IUserApplicationCronTaskHistory {
|
|
3
|
-
id?: string;
|
|
4
|
-
userApplicationCronTaskId: string;
|
|
5
|
-
startDate: Date;
|
|
6
|
-
requestId: string | null;
|
|
7
|
-
hasFailed: boolean | null;
|
|
8
|
-
updatedAt?: Date;
|
|
9
|
-
createdAt?: Date;
|
|
10
|
-
userApplicationCronTask?: IUserApplicationCronTask;
|
|
11
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IUserApplication } from './user-application.model';
|
|
2
|
-
export interface IUserApplicationCronTask {
|
|
3
|
-
id?: string;
|
|
4
|
-
userApplicationId: string;
|
|
5
|
-
name: string;
|
|
6
|
-
description: string | null;
|
|
7
|
-
scheduleConfiguration: string;
|
|
8
|
-
webhookUrl: string;
|
|
9
|
-
webhookSecret: string;
|
|
10
|
-
isActivated: boolean;
|
|
11
|
-
updatedAt?: Date;
|
|
12
|
-
createdAt?: Date;
|
|
13
|
-
userApplication?: IUserApplication;
|
|
14
|
-
}
|