@abyss-project/monitor 6.2.0 → 6.3.0
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/alert-rule.api.d.ts +6 -0
- package/dist/api/alert-rule.api.js +25 -0
- package/dist/api/alert-rule.api.js.map +1 -0
- package/dist/api/incident.api.d.ts +11 -0
- package/dist/api/incident.api.js +49 -0
- package/dist/api/incident.api.js.map +1 -0
- package/dist/api/index.d.ts +6 -0
- package/dist/api/index.js +6 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/monitor-warning.api.d.ts +2 -0
- package/dist/api/monitor-warning.api.js +9 -0
- package/dist/api/monitor-warning.api.js.map +1 -0
- package/dist/api/notification-channel.api.d.ts +8 -0
- package/dist/api/notification-channel.api.js +33 -0
- package/dist/api/notification-channel.api.js.map +1 -0
- package/dist/api/notification-delivery.api.d.ts +4 -0
- package/dist/api/notification-delivery.api.js +17 -0
- package/dist/api/notification-delivery.api.js.map +1 -0
- package/dist/api/notification-usage.api.d.ts +2 -0
- package/dist/api/notification-usage.api.js +9 -0
- package/dist/api/notification-usage.api.js.map +1 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +45 -0
- package/dist/index.js.map +1 -1
- package/dist/types/enum/alert-message-severity.enum.d.ts +7 -0
- package/dist/types/enum/alert-message-severity.enum.js +12 -0
- package/dist/types/enum/alert-message-severity.enum.js.map +1 -0
- package/dist/types/enum/alert-rule-group-by.enum.d.ts +6 -0
- package/dist/types/enum/alert-rule-group-by.enum.js +11 -0
- package/dist/types/enum/alert-rule-group-by.enum.js.map +1 -0
- package/dist/types/enum/alert-rule-mode.enum.d.ts +4 -0
- package/dist/types/enum/alert-rule-mode.enum.js +9 -0
- package/dist/types/enum/alert-rule-mode.enum.js.map +1 -0
- package/dist/types/enum/api-error.enum.d.ts +12 -1
- package/dist/types/enum/api-error.enum.js +11 -0
- package/dist/types/enum/api-error.enum.js.map +1 -1
- package/dist/types/enum/incident-clear-reason.enum.d.ts +6 -0
- package/dist/types/enum/incident-clear-reason.enum.js +11 -0
- package/dist/types/enum/incident-clear-reason.enum.js.map +1 -0
- package/dist/types/enum/incident-event-type.enum.d.ts +13 -0
- package/dist/types/enum/incident-event-type.enum.js +18 -0
- package/dist/types/enum/incident-event-type.enum.js.map +1 -0
- package/dist/types/enum/incident-occurrence-kind.enum.d.ts +5 -0
- package/dist/types/enum/incident-occurrence-kind.enum.js +10 -0
- package/dist/types/enum/incident-occurrence-kind.enum.js.map +1 -0
- package/dist/types/enum/incident-severity.enum.d.ts +5 -0
- package/dist/types/enum/incident-severity.enum.js +10 -0
- package/dist/types/enum/incident-severity.enum.js.map +1 -0
- package/dist/types/enum/incident-source.enum.d.ts +9 -0
- package/dist/types/enum/incident-source.enum.js +14 -0
- package/dist/types/enum/incident-source.enum.js.map +1 -0
- package/dist/types/enum/incident-status.enum.d.ts +5 -0
- package/dist/types/enum/incident-status.enum.js +10 -0
- package/dist/types/enum/incident-status.enum.js.map +1 -0
- package/dist/types/enum/incident-suppressed-reason.enum.d.ts +3 -0
- package/dist/types/enum/incident-suppressed-reason.enum.js +8 -0
- package/dist/types/enum/incident-suppressed-reason.enum.js.map +1 -0
- package/dist/types/enum/index.d.ts +18 -0
- package/dist/types/enum/index.js +18 -0
- package/dist/types/enum/index.js.map +1 -1
- package/dist/types/enum/monitor-warning-code.enum.d.ts +5 -0
- package/dist/types/enum/monitor-warning-code.enum.js +10 -0
- package/dist/types/enum/monitor-warning-code.enum.js.map +1 -0
- package/dist/types/enum/monitor-warning-level.enum.d.ts +4 -0
- package/dist/types/enum/monitor-warning-level.enum.js +9 -0
- package/dist/types/enum/monitor-warning-level.enum.js.map +1 -0
- package/dist/types/enum/monitor-warning-scope.enum.d.ts +5 -0
- package/dist/types/enum/monitor-warning-scope.enum.js +10 -0
- package/dist/types/enum/monitor-warning-scope.enum.js.map +1 -0
- package/dist/types/enum/notification-delivery-cancel-reason.enum.d.ts +5 -0
- package/dist/types/enum/notification-delivery-cancel-reason.enum.js +10 -0
- package/dist/types/enum/notification-delivery-cancel-reason.enum.js.map +1 -0
- package/dist/types/enum/notification-delivery-kind.enum.d.ts +7 -0
- package/dist/types/enum/notification-delivery-kind.enum.js +12 -0
- package/dist/types/enum/notification-delivery-kind.enum.js.map +1 -0
- package/dist/types/enum/notification-delivery-status.enum.d.ts +10 -0
- package/dist/types/enum/notification-delivery-status.enum.js +15 -0
- package/dist/types/enum/notification-delivery-status.enum.js.map +1 -0
- package/dist/types/enum/notification-failure-class.enum.d.ts +6 -0
- package/dist/types/enum/notification-failure-class.enum.js +11 -0
- package/dist/types/enum/notification-failure-class.enum.js.map +1 -0
- package/dist/types/enum/notification-provider.enum.d.ts +7 -0
- package/dist/types/enum/notification-provider.enum.js +12 -0
- package/dist/types/enum/notification-provider.enum.js.map +1 -0
- package/dist/types/interface/api/index.d.ts +12 -0
- package/dist/types/interface/api/index.js +12 -0
- package/dist/types/interface/api/index.js.map +1 -1
- package/dist/types/interface/api/requests/alert-rule.request.d.ts +15 -0
- package/dist/types/interface/api/requests/alert-rule.request.js +3 -0
- package/dist/types/interface/api/requests/alert-rule.request.js.map +1 -0
- package/dist/types/interface/api/requests/incident.request.d.ts +38 -0
- package/dist/types/interface/api/requests/incident.request.js +3 -0
- package/dist/types/interface/api/requests/incident.request.js.map +1 -0
- package/dist/types/interface/api/requests/monitor-warning.request.d.ts +3 -0
- package/dist/types/interface/api/requests/monitor-warning.request.js +3 -0
- package/dist/types/interface/api/requests/monitor-warning.request.js.map +1 -0
- package/dist/types/interface/api/requests/notification-channel.request.d.ts +36 -0
- package/dist/types/interface/api/requests/notification-channel.request.js +3 -0
- package/dist/types/interface/api/requests/notification-channel.request.js.map +1 -0
- package/dist/types/interface/api/requests/notification-delivery.request.d.ts +19 -0
- package/dist/types/interface/api/requests/notification-delivery.request.js +3 -0
- package/dist/types/interface/api/requests/notification-delivery.request.js.map +1 -0
- package/dist/types/interface/api/requests/notification-usage.request.d.ts +6 -0
- package/dist/types/interface/api/requests/notification-usage.request.js +3 -0
- package/dist/types/interface/api/requests/notification-usage.request.js.map +1 -0
- package/dist/types/interface/api/responses/alert-rule.response.d.ts +12 -0
- package/dist/types/interface/api/responses/alert-rule.response.js +3 -0
- package/dist/types/interface/api/responses/alert-rule.response.js.map +1 -0
- package/dist/types/interface/api/responses/incident.response.d.ts +45 -0
- package/dist/types/interface/api/responses/incident.response.js +3 -0
- package/dist/types/interface/api/responses/incident.response.js.map +1 -0
- package/dist/types/interface/api/responses/metrics.response.d.ts +2 -6
- package/dist/types/interface/api/responses/monitor-warning.response.d.ts +6 -0
- package/dist/types/interface/api/responses/monitor-warning.response.js +3 -0
- package/dist/types/interface/api/responses/monitor-warning.response.js.map +1 -0
- package/dist/types/interface/api/responses/notification-channel.response.d.ts +29 -0
- package/dist/types/interface/api/responses/notification-channel.response.js +3 -0
- package/dist/types/interface/api/responses/notification-channel.response.js.map +1 -0
- package/dist/types/interface/api/responses/notification-delivery.response.d.ts +11 -0
- package/dist/types/interface/api/responses/notification-delivery.response.js +3 -0
- package/dist/types/interface/api/responses/notification-delivery.response.js.map +1 -0
- package/dist/types/interface/api/responses/notification-usage.response.d.ts +7 -0
- package/dist/types/interface/api/responses/notification-usage.response.js +3 -0
- package/dist/types/interface/api/responses/notification-usage.response.js.map +1 -0
- package/dist/types/interface/index.d.ts +6 -0
- package/dist/types/interface/index.js +6 -0
- package/dist/types/interface/index.js.map +1 -1
- package/dist/types/interface/models/alert-message.model.d.ts +24 -0
- package/dist/types/interface/models/alert-message.model.js +3 -0
- package/dist/types/interface/models/alert-message.model.js.map +1 -0
- package/dist/types/interface/models/application-sentinel.model.d.ts +0 -3
- package/dist/types/interface/models/monitor-alert-rule.model.d.ts +26 -0
- package/dist/types/interface/models/monitor-alert-rule.model.js +3 -0
- package/dist/types/interface/models/monitor-alert-rule.model.js.map +1 -0
- package/dist/types/interface/models/monitor-incident.model.d.ts +42 -0
- package/dist/types/interface/models/monitor-incident.model.js +3 -0
- package/dist/types/interface/models/monitor-incident.model.js.map +1 -0
- package/dist/types/interface/models/monitor-notification-channel.model.d.ts +23 -0
- package/dist/types/interface/models/monitor-notification-channel.model.js +3 -0
- package/dist/types/interface/models/monitor-notification-channel.model.js.map +1 -0
- package/dist/types/interface/models/monitor-notification-delivery.model.d.ts +40 -0
- package/dist/types/interface/models/monitor-notification-delivery.model.js +3 -0
- package/dist/types/interface/models/monitor-notification-delivery.model.js.map +1 -0
- package/dist/types/interface/models/monitor-warning.model.d.ts +15 -0
- package/dist/types/interface/models/monitor-warning.model.js +3 -0
- package/dist/types/interface/models/monitor-warning.model.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IncidentOccurrenceKind = void 0;
|
|
4
|
+
var IncidentOccurrenceKind;
|
|
5
|
+
(function (IncidentOccurrenceKind) {
|
|
6
|
+
IncidentOccurrenceKind["OPENED"] = "OPENED";
|
|
7
|
+
IncidentOccurrenceKind["OCCURRENCE"] = "OCCURRENCE";
|
|
8
|
+
IncidentOccurrenceKind["RESOLVED"] = "RESOLVED";
|
|
9
|
+
})(IncidentOccurrenceKind || (exports.IncidentOccurrenceKind = IncidentOccurrenceKind = {}));
|
|
10
|
+
//# sourceMappingURL=incident-occurrence-kind.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-occurrence-kind.enum.js","sourceRoot":"","sources":["../../../src/types/enum/incident-occurrence-kind.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAEhC,2CAAiB,CAAA;IAEjB,mDAAyB,CAAA;IACzB,+CAAqB,CAAA;AACvB,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IncidentSeverity = void 0;
|
|
4
|
+
var IncidentSeverity;
|
|
5
|
+
(function (IncidentSeverity) {
|
|
6
|
+
IncidentSeverity["INFO"] = "INFO";
|
|
7
|
+
IncidentSeverity["WARNING"] = "WARNING";
|
|
8
|
+
IncidentSeverity["CRITICAL"] = "CRITICAL";
|
|
9
|
+
})(IncidentSeverity || (exports.IncidentSeverity = IncidentSeverity = {}));
|
|
10
|
+
//# sourceMappingURL=incident-severity.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-severity.enum.js","sourceRoot":"","sources":["../../../src/types/enum/incident-severity.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;AACvB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IncidentSource = void 0;
|
|
4
|
+
var IncidentSource;
|
|
5
|
+
(function (IncidentSource) {
|
|
6
|
+
IncidentSource["SENTINEL"] = "SENTINEL";
|
|
7
|
+
IncidentSource["CRON"] = "CRON";
|
|
8
|
+
IncidentSource["LOG_RULE"] = "LOG_RULE";
|
|
9
|
+
IncidentSource["HEARTBEAT"] = "HEARTBEAT";
|
|
10
|
+
IncidentSource["JOB"] = "JOB";
|
|
11
|
+
IncidentSource["METRIC"] = "METRIC";
|
|
12
|
+
IncidentSource["QUOTA"] = "QUOTA";
|
|
13
|
+
})(IncidentSource || (exports.IncidentSource = IncidentSource = {}));
|
|
14
|
+
//# sourceMappingURL=incident-source.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-source.enum.js","sourceRoot":"","sources":["../../../src/types/enum/incident-source.enum.ts"],"names":[],"mappings":";;;AAMA,IAAY,cAQX;AARD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,+BAAa,CAAA;IACb,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,6BAAW,CAAA;IACX,mCAAiB,CAAA;IACjB,iCAAe,CAAA;AACjB,CAAC,EARW,cAAc,8BAAd,cAAc,QAQzB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IncidentStatus = void 0;
|
|
4
|
+
var IncidentStatus;
|
|
5
|
+
(function (IncidentStatus) {
|
|
6
|
+
IncidentStatus["OPEN"] = "OPEN";
|
|
7
|
+
IncidentStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
|
|
8
|
+
IncidentStatus["RESOLVED"] = "RESOLVED";
|
|
9
|
+
})(IncidentStatus || (exports.IncidentStatus = IncidentStatus = {}));
|
|
10
|
+
//# sourceMappingURL=incident-status.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-status.enum.js","sourceRoot":"","sources":["../../../src/types/enum/incident-status.enum.ts"],"names":[],"mappings":";;;AAIA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,+CAA6B,CAAA;IAC7B,uCAAqB,CAAA;AACvB,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IncidentSuppressedReason = void 0;
|
|
4
|
+
var IncidentSuppressedReason;
|
|
5
|
+
(function (IncidentSuppressedReason) {
|
|
6
|
+
IncidentSuppressedReason["ABYSS_OUTAGE"] = "ABYSS_OUTAGE";
|
|
7
|
+
})(IncidentSuppressedReason || (exports.IncidentSuppressedReason = IncidentSuppressedReason = {}));
|
|
8
|
+
//# sourceMappingURL=incident-suppressed-reason.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-suppressed-reason.enum.js","sourceRoot":"","sources":["../../../src/types/enum/incident-suppressed-reason.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAElC,yDAA6B,CAAA;AAC/B,CAAC,EAHW,wBAAwB,wCAAxB,wBAAwB,QAGnC"}
|
|
@@ -14,3 +14,21 @@ export * from './rehydration-skip-reason.enum';
|
|
|
14
14
|
export * from './rehydration-stop-reason.enum';
|
|
15
15
|
export * from './rehydration-failure-reason.enum';
|
|
16
16
|
export * from './rehydration-refusal-reason.enum';
|
|
17
|
+
export * from './incident-source.enum';
|
|
18
|
+
export * from './incident-severity.enum';
|
|
19
|
+
export * from './incident-status.enum';
|
|
20
|
+
export * from './incident-event-type.enum';
|
|
21
|
+
export * from './incident-occurrence-kind.enum';
|
|
22
|
+
export * from './incident-suppressed-reason.enum';
|
|
23
|
+
export * from './incident-clear-reason.enum';
|
|
24
|
+
export * from './alert-rule-mode.enum';
|
|
25
|
+
export * from './alert-rule-group-by.enum';
|
|
26
|
+
export * from './notification-provider.enum';
|
|
27
|
+
export * from './notification-delivery-status.enum';
|
|
28
|
+
export * from './notification-delivery-kind.enum';
|
|
29
|
+
export * from './notification-delivery-cancel-reason.enum';
|
|
30
|
+
export * from './notification-failure-class.enum';
|
|
31
|
+
export * from './alert-message-severity.enum';
|
|
32
|
+
export * from './monitor-warning-code.enum';
|
|
33
|
+
export * from './monitor-warning-scope.enum';
|
|
34
|
+
export * from './monitor-warning-level.enum';
|
package/dist/types/enum/index.js
CHANGED
|
@@ -30,4 +30,22 @@ __exportStar(require("./rehydration-skip-reason.enum"), exports);
|
|
|
30
30
|
__exportStar(require("./rehydration-stop-reason.enum"), exports);
|
|
31
31
|
__exportStar(require("./rehydration-failure-reason.enum"), exports);
|
|
32
32
|
__exportStar(require("./rehydration-refusal-reason.enum"), exports);
|
|
33
|
+
__exportStar(require("./incident-source.enum"), exports);
|
|
34
|
+
__exportStar(require("./incident-severity.enum"), exports);
|
|
35
|
+
__exportStar(require("./incident-status.enum"), exports);
|
|
36
|
+
__exportStar(require("./incident-event-type.enum"), exports);
|
|
37
|
+
__exportStar(require("./incident-occurrence-kind.enum"), exports);
|
|
38
|
+
__exportStar(require("./incident-suppressed-reason.enum"), exports);
|
|
39
|
+
__exportStar(require("./incident-clear-reason.enum"), exports);
|
|
40
|
+
__exportStar(require("./alert-rule-mode.enum"), exports);
|
|
41
|
+
__exportStar(require("./alert-rule-group-by.enum"), exports);
|
|
42
|
+
__exportStar(require("./notification-provider.enum"), exports);
|
|
43
|
+
__exportStar(require("./notification-delivery-status.enum"), exports);
|
|
44
|
+
__exportStar(require("./notification-delivery-kind.enum"), exports);
|
|
45
|
+
__exportStar(require("./notification-delivery-cancel-reason.enum"), exports);
|
|
46
|
+
__exportStar(require("./notification-failure-class.enum"), exports);
|
|
47
|
+
__exportStar(require("./alert-message-severity.enum"), exports);
|
|
48
|
+
__exportStar(require("./monitor-warning-code.enum"), exports);
|
|
49
|
+
__exportStar(require("./monitor-warning-scope.enum"), exports);
|
|
50
|
+
__exportStar(require("./monitor-warning-level.enum"), exports);
|
|
33
51
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,oDAAkC;AAClC,gEAA8C;AAC9C,gEAA8C;AAC9C,mDAAiC;AACjC,sDAAoC;AACpC,mEAAiD;AACjD,mEAAiD;AACjD,2EAAyD;AACzD,wDAAsC;AACtC,gEAA8C;AAC9C,+DAA6C;AAC7C,iEAA+C;AAC/C,iEAA+C;AAC/C,oEAAkD;AAClD,oEAAkD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,oDAAkC;AAClC,gEAA8C;AAC9C,gEAA8C;AAC9C,mDAAiC;AACjC,sDAAoC;AACpC,mEAAiD;AACjD,mEAAiD;AACjD,2EAAyD;AACzD,wDAAsC;AACtC,gEAA8C;AAC9C,+DAA6C;AAC7C,iEAA+C;AAC/C,iEAA+C;AAC/C,oEAAkD;AAClD,oEAAkD;AAClD,yDAAuC;AACvC,2DAAyC;AACzC,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAChD,oEAAkD;AAClD,+DAA6C;AAC7C,yDAAuC;AACvC,6DAA2C;AAC3C,+DAA6C;AAC7C,sEAAoD;AACpD,oEAAkD;AAClD,6EAA2D;AAC3D,oEAAkD;AAClD,gEAA8C;AAC9C,8DAA4C;AAC5C,+DAA6C;AAC7C,+DAA6C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MonitorWarningCode = void 0;
|
|
4
|
+
var MonitorWarningCode;
|
|
5
|
+
(function (MonitorWarningCode) {
|
|
6
|
+
MonitorWarningCode["ABYSS_OUTAGE"] = "ABYSS_OUTAGE";
|
|
7
|
+
MonitorWarningCode["CHANNEL_DISABLED"] = "CHANNEL_DISABLED";
|
|
8
|
+
MonitorWarningCode["MESSAGE_TRUNCATED"] = "MESSAGE_TRUNCATED";
|
|
9
|
+
})(MonitorWarningCode || (exports.MonitorWarningCode = MonitorWarningCode = {}));
|
|
10
|
+
//# sourceMappingURL=monitor-warning-code.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitor-warning-code.enum.js","sourceRoot":"","sources":["../../../src/types/enum/monitor-warning-code.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAE5B,mDAA6B,CAAA;IAE7B,2DAAqC,CAAA;IAErC,6DAAuC,CAAA;AACzC,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MonitorWarningLevel = void 0;
|
|
4
|
+
var MonitorWarningLevel;
|
|
5
|
+
(function (MonitorWarningLevel) {
|
|
6
|
+
MonitorWarningLevel["INFO"] = "INFO";
|
|
7
|
+
MonitorWarningLevel["WARNING"] = "WARNING";
|
|
8
|
+
})(MonitorWarningLevel || (exports.MonitorWarningLevel = MonitorWarningLevel = {}));
|
|
9
|
+
//# sourceMappingURL=monitor-warning-level.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitor-warning-level.enum.js","sourceRoot":"","sources":["../../../src/types/enum/monitor-warning-level.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,0CAAmB,CAAA;AACrB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MonitorWarningScope = void 0;
|
|
4
|
+
var MonitorWarningScope;
|
|
5
|
+
(function (MonitorWarningScope) {
|
|
6
|
+
MonitorWarningScope["APPLICATION"] = "APPLICATION";
|
|
7
|
+
MonitorWarningScope["PROJECT"] = "PROJECT";
|
|
8
|
+
MonitorWarningScope["ORGANIZATION"] = "ORGANIZATION";
|
|
9
|
+
})(MonitorWarningScope || (exports.MonitorWarningScope = MonitorWarningScope = {}));
|
|
10
|
+
//# sourceMappingURL=monitor-warning-scope.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitor-warning-scope.enum.js","sourceRoot":"","sources":["../../../src/types/enum/monitor-warning-scope.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,kDAA2B,CAAA;IAC3B,0CAAmB,CAAA;IACnB,oDAA6B,CAAA;AAC/B,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationDeliveryCancelReason = void 0;
|
|
4
|
+
var NotificationDeliveryCancelReason;
|
|
5
|
+
(function (NotificationDeliveryCancelReason) {
|
|
6
|
+
NotificationDeliveryCancelReason["NO_RECIPIENTS"] = "NO_RECIPIENTS";
|
|
7
|
+
NotificationDeliveryCancelReason["CHANNEL_DISABLED"] = "CHANNEL_DISABLED";
|
|
8
|
+
NotificationDeliveryCancelReason["CHANNEL_DELETED"] = "CHANNEL_DELETED";
|
|
9
|
+
})(NotificationDeliveryCancelReason || (exports.NotificationDeliveryCancelReason = NotificationDeliveryCancelReason = {}));
|
|
10
|
+
//# sourceMappingURL=notification-delivery-cancel-reason.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-delivery-cancel-reason.enum.js","sourceRoot":"","sources":["../../../src/types/enum/notification-delivery-cancel-reason.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,gCAOX;AAPD,WAAY,gCAAgC;IAE1C,mEAA+B,CAAA;IAE/B,yEAAqC,CAAA;IAErC,uEAAmC,CAAA;AACrC,CAAC,EAPW,gCAAgC,gDAAhC,gCAAgC,QAO3C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationDeliveryKind = void 0;
|
|
4
|
+
var NotificationDeliveryKind;
|
|
5
|
+
(function (NotificationDeliveryKind) {
|
|
6
|
+
NotificationDeliveryKind["ALERT"] = "ALERT";
|
|
7
|
+
NotificationDeliveryKind["SUMMARY"] = "SUMMARY";
|
|
8
|
+
NotificationDeliveryKind["RECOVERY"] = "RECOVERY";
|
|
9
|
+
NotificationDeliveryKind["TEST"] = "TEST";
|
|
10
|
+
NotificationDeliveryKind["REPLAY"] = "REPLAY";
|
|
11
|
+
})(NotificationDeliveryKind || (exports.NotificationDeliveryKind = NotificationDeliveryKind = {}));
|
|
12
|
+
//# sourceMappingURL=notification-delivery-kind.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-delivery-kind.enum.js","sourceRoot":"","sources":["../../../src/types/enum/notification-delivery-kind.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAClC,2CAAe,CAAA;IACf,+CAAmB,CAAA;IACnB,iDAAqB,CAAA;IACrB,yCAAa,CAAA;IAEb,6CAAiB,CAAA;AACnB,CAAC,EAPW,wBAAwB,wCAAxB,wBAAwB,QAOnC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationDeliveryStatus = void 0;
|
|
4
|
+
var NotificationDeliveryStatus;
|
|
5
|
+
(function (NotificationDeliveryStatus) {
|
|
6
|
+
NotificationDeliveryStatus["PENDING"] = "PENDING";
|
|
7
|
+
NotificationDeliveryStatus["SENDING"] = "SENDING";
|
|
8
|
+
NotificationDeliveryStatus["SENT"] = "SENT";
|
|
9
|
+
NotificationDeliveryStatus["FAILED"] = "FAILED";
|
|
10
|
+
NotificationDeliveryStatus["THROTTLED"] = "THROTTLED";
|
|
11
|
+
NotificationDeliveryStatus["DROPPED_THROTTLED"] = "DROPPED_THROTTLED";
|
|
12
|
+
NotificationDeliveryStatus["EXPIRED"] = "EXPIRED";
|
|
13
|
+
NotificationDeliveryStatus["CANCELLED"] = "CANCELLED";
|
|
14
|
+
})(NotificationDeliveryStatus || (exports.NotificationDeliveryStatus = NotificationDeliveryStatus = {}));
|
|
15
|
+
//# sourceMappingURL=notification-delivery-status.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-delivery-status.enum.js","sourceRoot":"","sources":["../../../src/types/enum/notification-delivery-status.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,0BAkBX;AAlBD,WAAY,0BAA0B;IAEpC,iDAAmB,CAAA;IAKnB,iDAAmB,CAAA;IACnB,2CAAa,CAAA;IACb,+CAAiB,CAAA;IAEjB,qDAAuB,CAAA;IAEvB,qEAAuC,CAAA;IAEvC,iDAAmB,CAAA;IAEnB,qDAAuB,CAAA;AACzB,CAAC,EAlBW,0BAA0B,0CAA1B,0BAA0B,QAkBrC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationFailureClass = void 0;
|
|
4
|
+
var NotificationFailureClass;
|
|
5
|
+
(function (NotificationFailureClass) {
|
|
6
|
+
NotificationFailureClass["RATE_LIMITED"] = "RATE_LIMITED";
|
|
7
|
+
NotificationFailureClass["BROKEN"] = "BROKEN";
|
|
8
|
+
NotificationFailureClass["MALFORMED"] = "MALFORMED";
|
|
9
|
+
NotificationFailureClass["OTHER"] = "OTHER";
|
|
10
|
+
})(NotificationFailureClass || (exports.NotificationFailureClass = NotificationFailureClass = {}));
|
|
11
|
+
//# sourceMappingURL=notification-failure-class.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-failure-class.enum.js","sourceRoot":"","sources":["../../../src/types/enum/notification-failure-class.enum.ts"],"names":[],"mappings":";;;AAIA,IAAY,wBASX;AATD,WAAY,wBAAwB;IAElC,yDAA6B,CAAA;IAE7B,6CAAiB,CAAA;IAEjB,mDAAuB,CAAA;IAEvB,2CAAe,CAAA;AACjB,CAAC,EATW,wBAAwB,wCAAxB,wBAAwB,QASnC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationProvider = void 0;
|
|
4
|
+
var NotificationProvider;
|
|
5
|
+
(function (NotificationProvider) {
|
|
6
|
+
NotificationProvider["ABYSS_MEMBERS"] = "ABYSS_MEMBERS";
|
|
7
|
+
NotificationProvider["DISCORD"] = "DISCORD";
|
|
8
|
+
NotificationProvider["SLACK"] = "SLACK";
|
|
9
|
+
NotificationProvider["TEAMS"] = "TEAMS";
|
|
10
|
+
NotificationProvider["WEBHOOK_GENERIC"] = "WEBHOOK_GENERIC";
|
|
11
|
+
})(NotificationProvider || (exports.NotificationProvider = NotificationProvider = {}));
|
|
12
|
+
//# sourceMappingURL=notification-provider.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-provider.enum.js","sourceRoot":"","sources":["../../../src/types/enum/notification-provider.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAE9B,uDAA+B,CAAA;IAC/B,2CAAmB,CAAA;IACnB,uCAAe,CAAA;IACf,uCAAe,CAAA;IACf,2DAAmC,CAAA;AACrC,CAAC,EAPW,oBAAoB,oCAApB,oBAAoB,QAO/B"}
|
|
@@ -20,6 +20,12 @@ export * from './requests/application-webhook-history.request';
|
|
|
20
20
|
export * from './requests/application-sentinel.admin.request';
|
|
21
21
|
export * from './requests/application-sentinel.request';
|
|
22
22
|
export * from './requests/metrics.request';
|
|
23
|
+
export * from './requests/incident.request';
|
|
24
|
+
export * from './requests/notification-channel.request';
|
|
25
|
+
export * from './requests/notification-delivery.request';
|
|
26
|
+
export * from './requests/monitor-warning.request';
|
|
27
|
+
export * from './requests/notification-usage.request';
|
|
28
|
+
export * from './requests/alert-rule.request';
|
|
23
29
|
export * from './requests/metrics.admin.request';
|
|
24
30
|
export * from './requests/hourly-metrics.request';
|
|
25
31
|
export * from './requests/report.admin.request';
|
|
@@ -42,6 +48,12 @@ export * from './responses/application-webhook-history.response';
|
|
|
42
48
|
export * from './responses/application-sentinel.admin.response';
|
|
43
49
|
export * from './responses/application-sentinel.response';
|
|
44
50
|
export * from './responses/metrics.response';
|
|
51
|
+
export * from './responses/incident.response';
|
|
52
|
+
export * from './responses/notification-channel.response';
|
|
53
|
+
export * from './responses/notification-delivery.response';
|
|
54
|
+
export * from './responses/monitor-warning.response';
|
|
55
|
+
export * from './responses/notification-usage.response';
|
|
56
|
+
export * from './responses/alert-rule.response';
|
|
45
57
|
export * from './responses/metrics.admin.response';
|
|
46
58
|
export * from './responses/hourly-metrics.response';
|
|
47
59
|
export * from './responses/report.admin.response';
|
|
@@ -36,6 +36,12 @@ __exportStar(require("./requests/application-webhook-history.request"), exports)
|
|
|
36
36
|
__exportStar(require("./requests/application-sentinel.admin.request"), exports);
|
|
37
37
|
__exportStar(require("./requests/application-sentinel.request"), exports);
|
|
38
38
|
__exportStar(require("./requests/metrics.request"), exports);
|
|
39
|
+
__exportStar(require("./requests/incident.request"), exports);
|
|
40
|
+
__exportStar(require("./requests/notification-channel.request"), exports);
|
|
41
|
+
__exportStar(require("./requests/notification-delivery.request"), exports);
|
|
42
|
+
__exportStar(require("./requests/monitor-warning.request"), exports);
|
|
43
|
+
__exportStar(require("./requests/notification-usage.request"), exports);
|
|
44
|
+
__exportStar(require("./requests/alert-rule.request"), exports);
|
|
39
45
|
__exportStar(require("./requests/metrics.admin.request"), exports);
|
|
40
46
|
__exportStar(require("./requests/hourly-metrics.request"), exports);
|
|
41
47
|
__exportStar(require("./requests/report.admin.request"), exports);
|
|
@@ -58,6 +64,12 @@ __exportStar(require("./responses/application-webhook-history.response"), export
|
|
|
58
64
|
__exportStar(require("./responses/application-sentinel.admin.response"), exports);
|
|
59
65
|
__exportStar(require("./responses/application-sentinel.response"), exports);
|
|
60
66
|
__exportStar(require("./responses/metrics.response"), exports);
|
|
67
|
+
__exportStar(require("./responses/incident.response"), exports);
|
|
68
|
+
__exportStar(require("./responses/notification-channel.response"), exports);
|
|
69
|
+
__exportStar(require("./responses/notification-delivery.response"), exports);
|
|
70
|
+
__exportStar(require("./responses/monitor-warning.response"), exports);
|
|
71
|
+
__exportStar(require("./responses/notification-usage.response"), exports);
|
|
72
|
+
__exportStar(require("./responses/alert-rule.response"), exports);
|
|
61
73
|
__exportStar(require("./responses/metrics.admin.response"), exports);
|
|
62
74
|
__exportStar(require("./responses/hourly-metrics.response"), exports);
|
|
63
75
|
__exportStar(require("./responses/report.admin.response"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAC7C,iEAA+C;AAE/C,iEAA+C;AAC/C,uEAAqD;AACrD,6EAA2D;AAC3D,uEAAqD;AACrD,iFAA+D;AAC/D,2EAAyD;AACzD,2EAAyD;AACzD,qEAAmD;AACnD,uEAAqD;AACrD,6EAA2D;AAC3D,yEAAuD;AACvD,+EAA6D;AAC7D,uFAAqE;AACrE,iFAA+D;AAC/D,gFAA8D;AAC9D,0EAAwD;AACxD,6DAA2C;AAC3C,mEAAiD;AACjD,oEAAkD;AAClD,kEAAgD;AAChD,0EAAwD;AAExD,mEAAiD;AACjD,yEAAuD;AACvD,+EAA6D;AAC7D,yEAAuD;AACvD,mFAAiE;AACjE,6EAA2D;AAC3D,6EAA2D;AAC3D,uEAAqD;AACrD,+DAA6C;AAC7C,yEAAuD;AACvD,+EAA6D;AAC7D,2EAAyD;AACzD,iFAA+D;AAC/D,yFAAuE;AACvE,mFAAiE;AACjE,kFAAgE;AAChE,4EAA0D;AAC1D,+DAA6C;AAC7C,qEAAmD;AACnD,sEAAoD;AACpD,oEAAkD;AAClD,4EAA0D"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAC7C,iEAA+C;AAE/C,iEAA+C;AAC/C,uEAAqD;AACrD,6EAA2D;AAC3D,uEAAqD;AACrD,iFAA+D;AAC/D,2EAAyD;AACzD,2EAAyD;AACzD,qEAAmD;AACnD,uEAAqD;AACrD,6EAA2D;AAC3D,yEAAuD;AACvD,+EAA6D;AAC7D,uFAAqE;AACrE,iFAA+D;AAC/D,gFAA8D;AAC9D,0EAAwD;AACxD,6DAA2C;AAC3C,8DAA4C;AAC5C,0EAAwD;AACxD,2EAAyD;AACzD,qEAAmD;AACnD,wEAAsD;AACtD,gEAA8C;AAC9C,mEAAiD;AACjD,oEAAkD;AAClD,kEAAgD;AAChD,0EAAwD;AAExD,mEAAiD;AACjD,yEAAuD;AACvD,+EAA6D;AAC7D,yEAAuD;AACvD,mFAAiE;AACjE,6EAA2D;AAC3D,6EAA2D;AAC3D,uEAAqD;AACrD,+DAA6C;AAC7C,yEAAuD;AACvD,+EAA6D;AAC7D,2EAAyD;AACzD,iFAA+D;AAC/D,yFAAuE;AACvE,mFAAiE;AACjE,kFAAgE;AAChE,4EAA0D;AAC1D,+DAA6C;AAC7C,gEAA8C;AAC9C,4EAA0D;AAC1D,6EAA2D;AAC3D,uEAAqD;AACrD,0EAAwD;AACxD,kEAAgD;AAChD,qEAAmD;AACnD,sEAAoD;AACpD,oEAAkD;AAClD,4EAA0D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AlertRuleGroupBy } from '../../../enum';
|
|
2
|
+
import { IMonitorAlertRule } from '../../models/monitor-alert-rule.model';
|
|
3
|
+
export interface IAlertRuleProjectParams {
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IAlertRuleParams extends IAlertRuleProjectParams {
|
|
7
|
+
ruleId: string;
|
|
8
|
+
}
|
|
9
|
+
type AlertRuleDefinitionMembers = Pick<IMonitorAlertRule, 'name' | 'slug' | 'isEnabled' | 'applicationIds' | 'mode' | 'filter' | 'windowMinutes' | 'threshold' | 'groupBy' | 'severity'>;
|
|
10
|
+
export type ICreateAlertRuleBody = Omit<AlertRuleDefinitionMembers, 'isEnabled' | 'groupBy'> & {
|
|
11
|
+
isEnabled?: boolean;
|
|
12
|
+
groupBy?: AlertRuleGroupBy[];
|
|
13
|
+
};
|
|
14
|
+
export type IUpdateAlertRuleBody = Partial<AlertRuleDefinitionMembers>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-rule.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/alert-rule.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { IncidentSeverity, IncidentSource, IncidentStatus } from '../../../enum';
|
|
3
|
+
export interface IIncidentRouteParams {
|
|
4
|
+
projectId: string;
|
|
5
|
+
number: number;
|
|
6
|
+
}
|
|
7
|
+
export interface IPaginateIncidentParams {
|
|
8
|
+
projectId: string;
|
|
9
|
+
}
|
|
10
|
+
export type IPaginateIncidentQuery = {
|
|
11
|
+
status?: IncidentStatus[];
|
|
12
|
+
severity?: IncidentSeverity[];
|
|
13
|
+
source?: IncidentSource[];
|
|
14
|
+
applicationIds?: string[];
|
|
15
|
+
} & QueryPaginate;
|
|
16
|
+
export type IGetIncidentParams = IIncidentRouteParams;
|
|
17
|
+
export type IListTimelineIncidentParams = IIncidentRouteParams;
|
|
18
|
+
export type IAcknowledgeIncidentParams = IIncidentRouteParams;
|
|
19
|
+
export type IAssignIncidentParams = IIncidentRouteParams;
|
|
20
|
+
export interface IAssignIncidentBody {
|
|
21
|
+
assignedToUserId: string | null;
|
|
22
|
+
}
|
|
23
|
+
export type ICommentIncidentParams = IIncidentRouteParams;
|
|
24
|
+
export interface ICommentIncidentBody {
|
|
25
|
+
comment: string;
|
|
26
|
+
}
|
|
27
|
+
export type IMuteIncidentParams = IIncidentRouteParams;
|
|
28
|
+
export interface IMuteIncidentBody {
|
|
29
|
+
durationMinutes?: number;
|
|
30
|
+
}
|
|
31
|
+
export type IUnmuteIncidentParams = IIncidentRouteParams;
|
|
32
|
+
export interface IGetMuteByTokenIncidentQuery {
|
|
33
|
+
token: string;
|
|
34
|
+
}
|
|
35
|
+
export interface IMuteByTokenIncidentBody {
|
|
36
|
+
token: string;
|
|
37
|
+
durationMinutes?: number;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/incident.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitor-warning.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/monitor-warning.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { NotificationProvider } from '../../../enum';
|
|
2
|
+
import { IMonitorNotificationChannelFilters } from '../../models/monitor-notification-channel.model';
|
|
3
|
+
export interface IListNotificationChannelParams {
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface INotificationChannelRouteParams {
|
|
7
|
+
projectId: string;
|
|
8
|
+
channelId: string;
|
|
9
|
+
}
|
|
10
|
+
export type IGetNotificationChannelParams = INotificationChannelRouteParams;
|
|
11
|
+
export interface ICreateNotificationChannelParams {
|
|
12
|
+
projectId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ICreateNotificationChannelBody {
|
|
15
|
+
name: string;
|
|
16
|
+
description?: string | null;
|
|
17
|
+
provider: Exclude<NotificationProvider, NotificationProvider.ABYSS_MEMBERS>;
|
|
18
|
+
url: string;
|
|
19
|
+
isEnabled?: boolean;
|
|
20
|
+
filters?: IMonitorNotificationChannelFilters;
|
|
21
|
+
budgetPerHour?: number;
|
|
22
|
+
windowSteps?: number[];
|
|
23
|
+
}
|
|
24
|
+
export type IUpdateNotificationChannelParams = INotificationChannelRouteParams;
|
|
25
|
+
export interface IUpdateNotificationChannelBody {
|
|
26
|
+
name?: string;
|
|
27
|
+
description?: string | null;
|
|
28
|
+
url?: string;
|
|
29
|
+
isEnabled?: boolean;
|
|
30
|
+
filters?: IMonitorNotificationChannelFilters;
|
|
31
|
+
budgetPerHour?: number;
|
|
32
|
+
windowSteps?: number[];
|
|
33
|
+
}
|
|
34
|
+
export type IDeleteNotificationChannelParams = INotificationChannelRouteParams;
|
|
35
|
+
export type ITestNotificationChannelParams = INotificationChannelRouteParams;
|
|
36
|
+
export type IEnableNotificationChannelParams = INotificationChannelRouteParams;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-channel.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/notification-channel.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { NotificationDeliveryKind, NotificationDeliveryStatus } from '../../../enum';
|
|
3
|
+
export interface IPaginateNotificationDeliveryParams {
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export type IPaginateNotificationDeliveryQuery = {
|
|
7
|
+
status?: NotificationDeliveryStatus[];
|
|
8
|
+
kind?: NotificationDeliveryKind[];
|
|
9
|
+
channelId?: string;
|
|
10
|
+
incidentId?: string;
|
|
11
|
+
} & QueryPaginate;
|
|
12
|
+
export interface IListByPublicRefNotificationDeliveryParams {
|
|
13
|
+
projectId: string;
|
|
14
|
+
publicRef: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IReplayNotificationDeliveryParams {
|
|
17
|
+
projectId: string;
|
|
18
|
+
deliveryId: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-delivery.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/notification-delivery.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-usage.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/notification-usage.request.ts"],"names":[],"mappings":""}
|