@abyss-project/monitor 1.0.29 → 1.0.31
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/index.d.ts +0 -3
- package/dist/api/index.js +0 -3
- package/dist/types/enum/api-error.enum.d.ts +0 -2
- package/dist/types/enum/api-error.enum.js +0 -2
- package/dist/types/interface/api/index.d.ts +0 -6
- package/dist/types/interface/api/index.js +0 -6
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.d.ts +1 -2
- package/dist/types/interface/api/requests/application-webhook-history.request.d.ts +2 -3
- package/dist/types/interface/api/requests/application-webhook.admin.request.d.ts +5 -6
- package/dist/types/interface/api/requests/application-webhook.request.d.ts +6 -7
- package/dist/types/interface/index.d.ts +0 -1
- package/dist/types/interface/index.js +0 -1
- package/dist/types/interface/models/application-sentinel.model.d.ts +1 -0
- package/dist/types/interface/models/application.model.d.ts +0 -2
- package/package.json +1 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -6,9 +6,6 @@ export * from './application-log.admin.api';
|
|
|
6
6
|
export * from './application-log.api';
|
|
7
7
|
export * from './application-cron-task.admin.api';
|
|
8
8
|
export * from './application-cron-task.api';
|
|
9
|
-
export * from './application-store.admin.api';
|
|
10
|
-
export * from './application-store.public.api';
|
|
11
|
-
export * from './application-store.api';
|
|
12
9
|
export * from './monitor.api';
|
|
13
10
|
export * from './application-event.admin.api';
|
|
14
11
|
export * from './application-event.api';
|
package/dist/api/index.js
CHANGED
|
@@ -22,9 +22,6 @@ __exportStar(require("./application-log.admin.api"), exports);
|
|
|
22
22
|
__exportStar(require("./application-log.api"), exports);
|
|
23
23
|
__exportStar(require("./application-cron-task.admin.api"), exports);
|
|
24
24
|
__exportStar(require("./application-cron-task.api"), exports);
|
|
25
|
-
__exportStar(require("./application-store.admin.api"), exports);
|
|
26
|
-
__exportStar(require("./application-store.public.api"), exports);
|
|
27
|
-
__exportStar(require("./application-store.api"), exports);
|
|
28
25
|
__exportStar(require("./monitor.api"), exports);
|
|
29
26
|
__exportStar(require("./application-event.admin.api"), exports);
|
|
30
27
|
__exportStar(require("./application-event.api"), exports);
|
|
@@ -15,8 +15,6 @@ export declare enum Code {
|
|
|
15
15
|
invalidData = "invalid_data",
|
|
16
16
|
notImplemented = "not_implemented",
|
|
17
17
|
maxCronTaskNumber = "max_cron_task_number",
|
|
18
|
-
maxStoreEntryNumber = "max_store_entry_number",
|
|
19
|
-
slugAlreadyExist = "slug_already_exist",
|
|
20
18
|
maxEventPublishPerDay = "max_event_publish_per_day",
|
|
21
19
|
maxSentinelNumber = "max_sentinel_number"
|
|
22
20
|
}
|
|
@@ -20,8 +20,6 @@ var Code;
|
|
|
20
20
|
Code["invalidData"] = "invalid_data";
|
|
21
21
|
Code["notImplemented"] = "not_implemented";
|
|
22
22
|
Code["maxCronTaskNumber"] = "max_cron_task_number";
|
|
23
|
-
Code["maxStoreEntryNumber"] = "max_store_entry_number";
|
|
24
|
-
Code["slugAlreadyExist"] = "slug_already_exist";
|
|
25
23
|
Code["maxEventPublishPerDay"] = "max_event_publish_per_day";
|
|
26
24
|
Code["maxSentinelNumber"] = "max_sentinel_number";
|
|
27
25
|
})(Code || (exports.Code = Code = {}));
|
|
@@ -10,9 +10,6 @@ export * from './requests/application-cron-task.admin.request';
|
|
|
10
10
|
export * from './requests/application-cron-task.request';
|
|
11
11
|
export * from './requests/application-log.admin.request';
|
|
12
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
13
|
export * from './requests/application-event.request';
|
|
17
14
|
export * from './requests/application-event.admin.request';
|
|
18
15
|
export * from './requests/application-webhook.request';
|
|
@@ -31,9 +28,6 @@ export * from './responses/application-cron-task.response';
|
|
|
31
28
|
export * from './responses/application-log.admin.response';
|
|
32
29
|
export * from './responses/application-log.response';
|
|
33
30
|
export * from './responses/monitor.response';
|
|
34
|
-
export * from './responses/application-store.admin.response';
|
|
35
|
-
export * from './responses/application-store.public.response';
|
|
36
|
-
export * from './responses/application-store.response';
|
|
37
31
|
export * from './responses/application-event.response';
|
|
38
32
|
export * from './responses/application-event.admin.response';
|
|
39
33
|
export * from './responses/application-webhook.response';
|
|
@@ -26,9 +26,6 @@ __exportStar(require("./requests/application-cron-task.admin.request"), exports)
|
|
|
26
26
|
__exportStar(require("./requests/application-cron-task.request"), exports);
|
|
27
27
|
__exportStar(require("./requests/application-log.admin.request"), exports);
|
|
28
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
29
|
__exportStar(require("./requests/application-event.request"), exports);
|
|
33
30
|
__exportStar(require("./requests/application-event.admin.request"), exports);
|
|
34
31
|
__exportStar(require("./requests/application-webhook.request"), exports);
|
|
@@ -47,9 +44,6 @@ __exportStar(require("./responses/application-cron-task.response"), exports);
|
|
|
47
44
|
__exportStar(require("./responses/application-log.admin.response"), exports);
|
|
48
45
|
__exportStar(require("./responses/application-log.response"), exports);
|
|
49
46
|
__exportStar(require("./responses/monitor.response"), exports);
|
|
50
|
-
__exportStar(require("./responses/application-store.admin.response"), exports);
|
|
51
|
-
__exportStar(require("./responses/application-store.public.response"), exports);
|
|
52
|
-
__exportStar(require("./responses/application-store.response"), exports);
|
|
53
47
|
__exportStar(require("./responses/application-event.response"), exports);
|
|
54
48
|
__exportStar(require("./responses/application-event.admin.response"), exports);
|
|
55
49
|
__exportStar(require("./responses/application-webhook.response"), exports);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { ApplicationWebhookScope } from '../../../enum';
|
|
3
2
|
import { QueryPaginate } from '..';
|
|
4
|
-
export interface IGetApplicationWebhookHistoryAdminParams
|
|
3
|
+
export interface IGetApplicationWebhookHistoryAdminParams {
|
|
5
4
|
applicationWebhookHistoryId: string;
|
|
6
5
|
}
|
|
7
6
|
export type IPaginateApplicationWebhookHistoryAdminQuery = {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { QueryPaginate } from '..';
|
|
3
2
|
import { ApplicationWebhookScope } from '../../../enum';
|
|
4
|
-
export interface IGetApplicationWebhookHistoryParams
|
|
3
|
+
export interface IGetApplicationWebhookHistoryParams {
|
|
5
4
|
applicationId: string;
|
|
6
5
|
applicationWebhookHistoryId: string;
|
|
7
6
|
}
|
|
8
|
-
export interface IPaginateApplicationWebhookHistoryParams
|
|
7
|
+
export interface IPaginateApplicationWebhookHistoryParams {
|
|
9
8
|
applicationId: string;
|
|
10
9
|
}
|
|
11
10
|
export type IPaginateApplicationWebhookHistoryQuery = {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { QueryPaginate } from '..';
|
|
3
2
|
import { ApplicationWebhookScope } from '../../../enum';
|
|
4
3
|
import { ApplicationWebhookFilters } from '../../models/application-webhook.model';
|
|
5
|
-
export interface IGetApplicationWebhookAdminParams
|
|
4
|
+
export interface IGetApplicationWebhookAdminParams {
|
|
6
5
|
applicationWebhookId: string;
|
|
7
6
|
}
|
|
8
|
-
export interface IDeleteApplicationWebhookAdminParams
|
|
7
|
+
export interface IDeleteApplicationWebhookAdminParams {
|
|
9
8
|
applicationWebhookId: string;
|
|
10
9
|
}
|
|
11
|
-
export interface IUpdateApplicationWebhookAdminParams
|
|
10
|
+
export interface IUpdateApplicationWebhookAdminParams {
|
|
12
11
|
applicationWebhookId: string;
|
|
13
12
|
}
|
|
14
13
|
export interface IUpdateApplicationWebhookAdminBody {
|
|
@@ -19,7 +18,7 @@ export interface IUpdateApplicationWebhookAdminBody {
|
|
|
19
18
|
scopes?: ApplicationWebhookScope[];
|
|
20
19
|
filters?: ApplicationWebhookFilters | null;
|
|
21
20
|
}
|
|
22
|
-
export interface ICreateApplicationWebhookAdminParams
|
|
21
|
+
export interface ICreateApplicationWebhookAdminParams {
|
|
23
22
|
applicationId: string;
|
|
24
23
|
}
|
|
25
24
|
export interface ICreateApplicationWebhookAdminBody {
|
|
@@ -30,7 +29,7 @@ export interface ICreateApplicationWebhookAdminBody {
|
|
|
30
29
|
scopes: ApplicationWebhookScope[];
|
|
31
30
|
filters: ApplicationWebhookFilters | null;
|
|
32
31
|
}
|
|
33
|
-
export interface IResetSecretApplicationWebhookAdminParams
|
|
32
|
+
export interface IResetSecretApplicationWebhookAdminParams {
|
|
34
33
|
applicationWebhookId: string;
|
|
35
34
|
}
|
|
36
35
|
export type IPaginateApplicationWebhookAdminQuery = {
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { QueryPaginate } from '..';
|
|
3
2
|
import { ApplicationWebhookScope } from '../../../enum';
|
|
4
3
|
import { ApplicationWebhookFilters } from '../../models/application-webhook.model';
|
|
5
|
-
export interface IGetApplicationWebhookParams
|
|
4
|
+
export interface IGetApplicationWebhookParams {
|
|
6
5
|
applicationId: string;
|
|
7
6
|
applicationWebhookId: string;
|
|
8
7
|
}
|
|
9
|
-
export interface IDeleteApplicationWebhookParams
|
|
8
|
+
export interface IDeleteApplicationWebhookParams {
|
|
10
9
|
applicationId: string;
|
|
11
10
|
applicationWebhookId: string;
|
|
12
11
|
}
|
|
13
|
-
export interface IUpdateApplicationWebhookParams
|
|
12
|
+
export interface IUpdateApplicationWebhookParams {
|
|
14
13
|
applicationId: string;
|
|
15
14
|
applicationWebhookId: string;
|
|
16
15
|
}
|
|
@@ -22,7 +21,7 @@ export interface IUpdateApplicationWebhookBody {
|
|
|
22
21
|
scopes?: ApplicationWebhookScope[];
|
|
23
22
|
filters?: ApplicationWebhookFilters | null;
|
|
24
23
|
}
|
|
25
|
-
export interface ICreateApplicationWebhookParams
|
|
24
|
+
export interface ICreateApplicationWebhookParams {
|
|
26
25
|
applicationId: string;
|
|
27
26
|
}
|
|
28
27
|
export interface ICreateApplicationWebhookBody {
|
|
@@ -33,11 +32,11 @@ export interface ICreateApplicationWebhookBody {
|
|
|
33
32
|
scopes: ApplicationWebhookScope[];
|
|
34
33
|
filters: ApplicationWebhookFilters | null;
|
|
35
34
|
}
|
|
36
|
-
export interface IResetSecretApplicationWebhookParams
|
|
35
|
+
export interface IResetSecretApplicationWebhookParams {
|
|
37
36
|
applicationId: string;
|
|
38
37
|
applicationWebhookId: string;
|
|
39
38
|
}
|
|
40
|
-
export interface IPaginateApplicationWebhookParams
|
|
39
|
+
export interface IPaginateApplicationWebhookParams {
|
|
41
40
|
applicationId: string;
|
|
42
41
|
}
|
|
43
42
|
export type IPaginateApplicationWebhookQuery = {
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./models/application.model"), exports);
|
|
18
|
-
__exportStar(require("./models/application-store-entry.model"), exports);
|
|
19
18
|
__exportStar(require("./models/application-stats.model"), exports);
|
|
20
19
|
__exportStar(require("./models/application-log.model"), exports);
|
|
21
20
|
__exportStar(require("./models/application-log-endpoint.model"), exports);
|
|
@@ -12,6 +12,7 @@ export interface IApplicationSentinel {
|
|
|
12
12
|
scheduleConfiguration: string;
|
|
13
13
|
configuration: ApplicationSentinelConfigurationDto;
|
|
14
14
|
lastDownNotificationDate?: Date | null;
|
|
15
|
+
lastUpNotificationDate?: Date | null;
|
|
15
16
|
updatedAt?: Date;
|
|
16
17
|
createdAt?: Date;
|
|
17
18
|
application?: IApplication;
|
|
@@ -3,7 +3,6 @@ import { IApplicationEvent } from './application-event.model';
|
|
|
3
3
|
import { IApplicationLog } from './application-log.model';
|
|
4
4
|
import { IApplicationSentinel } from './application-sentinel.model';
|
|
5
5
|
import { IApplicationStats } from './application-stats.model';
|
|
6
|
-
import { IApplicationStoreEntry } from './application-store-entry.model';
|
|
7
6
|
import { IApplicationWebhook } from './application-webhook.model';
|
|
8
7
|
export interface IApplication {
|
|
9
8
|
id?: string;
|
|
@@ -14,7 +13,6 @@ export interface IApplication {
|
|
|
14
13
|
applicationStats?: IApplicationStats[];
|
|
15
14
|
applicationLog?: IApplicationLog[];
|
|
16
15
|
applicationCronTask?: IApplicationCronTask[];
|
|
17
|
-
applicationStoreEntry?: IApplicationStoreEntry[];
|
|
18
16
|
applicationEvent?: IApplicationEvent[];
|
|
19
17
|
applicationWebhook?: IApplicationWebhook[];
|
|
20
18
|
applicationSentinel?: IApplicationSentinel[];
|