@abyss-project/monitor 6.1.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.
Files changed (156) hide show
  1. package/README.md +1 -1
  2. package/dist/api/alert-rule.api.d.ts +6 -0
  3. package/dist/api/alert-rule.api.js +25 -0
  4. package/dist/api/alert-rule.api.js.map +1 -0
  5. package/dist/api/application-event.api.d.ts +2 -1
  6. package/dist/api/application-event.api.js +5 -1
  7. package/dist/api/application-event.api.js.map +1 -1
  8. package/dist/api/incident.api.d.ts +11 -0
  9. package/dist/api/incident.api.js +49 -0
  10. package/dist/api/incident.api.js.map +1 -0
  11. package/dist/api/index.d.ts +6 -0
  12. package/dist/api/index.js +6 -0
  13. package/dist/api/index.js.map +1 -1
  14. package/dist/api/monitor-warning.api.d.ts +2 -0
  15. package/dist/api/monitor-warning.api.js +9 -0
  16. package/dist/api/monitor-warning.api.js.map +1 -0
  17. package/dist/api/notification-channel.api.d.ts +8 -0
  18. package/dist/api/notification-channel.api.js +33 -0
  19. package/dist/api/notification-channel.api.js.map +1 -0
  20. package/dist/api/notification-delivery.api.d.ts +4 -0
  21. package/dist/api/notification-delivery.api.js +17 -0
  22. package/dist/api/notification-delivery.api.js.map +1 -0
  23. package/dist/api/notification-usage.api.d.ts +2 -0
  24. package/dist/api/notification-usage.api.js +9 -0
  25. package/dist/api/notification-usage.api.js.map +1 -0
  26. package/dist/index.d.ts +46 -0
  27. package/dist/index.js +46 -0
  28. package/dist/index.js.map +1 -1
  29. package/dist/models/logger.model.d.ts +1 -0
  30. package/dist/models/logger.model.js.map +1 -1
  31. package/dist/types/enum/alert-message-severity.enum.d.ts +7 -0
  32. package/dist/types/enum/alert-message-severity.enum.js +12 -0
  33. package/dist/types/enum/alert-message-severity.enum.js.map +1 -0
  34. package/dist/types/enum/alert-rule-group-by.enum.d.ts +6 -0
  35. package/dist/types/enum/alert-rule-group-by.enum.js +11 -0
  36. package/dist/types/enum/alert-rule-group-by.enum.js.map +1 -0
  37. package/dist/types/enum/alert-rule-mode.enum.d.ts +4 -0
  38. package/dist/types/enum/alert-rule-mode.enum.js +9 -0
  39. package/dist/types/enum/alert-rule-mode.enum.js.map +1 -0
  40. package/dist/types/enum/api-error.enum.d.ts +12 -1
  41. package/dist/types/enum/api-error.enum.js +11 -0
  42. package/dist/types/enum/api-error.enum.js.map +1 -1
  43. package/dist/types/enum/incident-clear-reason.enum.d.ts +6 -0
  44. package/dist/types/enum/incident-clear-reason.enum.js +11 -0
  45. package/dist/types/enum/incident-clear-reason.enum.js.map +1 -0
  46. package/dist/types/enum/incident-event-type.enum.d.ts +13 -0
  47. package/dist/types/enum/incident-event-type.enum.js +18 -0
  48. package/dist/types/enum/incident-event-type.enum.js.map +1 -0
  49. package/dist/types/enum/incident-occurrence-kind.enum.d.ts +5 -0
  50. package/dist/types/enum/incident-occurrence-kind.enum.js +10 -0
  51. package/dist/types/enum/incident-occurrence-kind.enum.js.map +1 -0
  52. package/dist/types/enum/incident-severity.enum.d.ts +5 -0
  53. package/dist/types/enum/incident-severity.enum.js +10 -0
  54. package/dist/types/enum/incident-severity.enum.js.map +1 -0
  55. package/dist/types/enum/incident-source.enum.d.ts +9 -0
  56. package/dist/types/enum/incident-source.enum.js +14 -0
  57. package/dist/types/enum/incident-source.enum.js.map +1 -0
  58. package/dist/types/enum/incident-status.enum.d.ts +5 -0
  59. package/dist/types/enum/incident-status.enum.js +10 -0
  60. package/dist/types/enum/incident-status.enum.js.map +1 -0
  61. package/dist/types/enum/incident-suppressed-reason.enum.d.ts +3 -0
  62. package/dist/types/enum/incident-suppressed-reason.enum.js +8 -0
  63. package/dist/types/enum/incident-suppressed-reason.enum.js.map +1 -0
  64. package/dist/types/enum/index.d.ts +18 -0
  65. package/dist/types/enum/index.js +18 -0
  66. package/dist/types/enum/index.js.map +1 -1
  67. package/dist/types/enum/monitor-warning-code.enum.d.ts +5 -0
  68. package/dist/types/enum/monitor-warning-code.enum.js +10 -0
  69. package/dist/types/enum/monitor-warning-code.enum.js.map +1 -0
  70. package/dist/types/enum/monitor-warning-level.enum.d.ts +4 -0
  71. package/dist/types/enum/monitor-warning-level.enum.js +9 -0
  72. package/dist/types/enum/monitor-warning-level.enum.js.map +1 -0
  73. package/dist/types/enum/monitor-warning-scope.enum.d.ts +5 -0
  74. package/dist/types/enum/monitor-warning-scope.enum.js +10 -0
  75. package/dist/types/enum/monitor-warning-scope.enum.js.map +1 -0
  76. package/dist/types/enum/notification-delivery-cancel-reason.enum.d.ts +5 -0
  77. package/dist/types/enum/notification-delivery-cancel-reason.enum.js +10 -0
  78. package/dist/types/enum/notification-delivery-cancel-reason.enum.js.map +1 -0
  79. package/dist/types/enum/notification-delivery-kind.enum.d.ts +7 -0
  80. package/dist/types/enum/notification-delivery-kind.enum.js +12 -0
  81. package/dist/types/enum/notification-delivery-kind.enum.js.map +1 -0
  82. package/dist/types/enum/notification-delivery-status.enum.d.ts +10 -0
  83. package/dist/types/enum/notification-delivery-status.enum.js +15 -0
  84. package/dist/types/enum/notification-delivery-status.enum.js.map +1 -0
  85. package/dist/types/enum/notification-failure-class.enum.d.ts +6 -0
  86. package/dist/types/enum/notification-failure-class.enum.js +11 -0
  87. package/dist/types/enum/notification-failure-class.enum.js.map +1 -0
  88. package/dist/types/enum/notification-provider.enum.d.ts +7 -0
  89. package/dist/types/enum/notification-provider.enum.js +12 -0
  90. package/dist/types/enum/notification-provider.enum.js.map +1 -0
  91. package/dist/types/interface/api/index.d.ts +12 -0
  92. package/dist/types/interface/api/index.js +12 -0
  93. package/dist/types/interface/api/index.js.map +1 -1
  94. package/dist/types/interface/api/requests/alert-rule.request.d.ts +15 -0
  95. package/dist/types/interface/api/requests/alert-rule.request.js +3 -0
  96. package/dist/types/interface/api/requests/alert-rule.request.js.map +1 -0
  97. package/dist/types/interface/api/requests/application-event.request.d.ts +10 -0
  98. package/dist/types/interface/api/requests/application-log.request.d.ts +1 -0
  99. package/dist/types/interface/api/requests/incident.request.d.ts +38 -0
  100. package/dist/types/interface/api/requests/incident.request.js +3 -0
  101. package/dist/types/interface/api/requests/incident.request.js.map +1 -0
  102. package/dist/types/interface/api/requests/monitor-warning.request.d.ts +3 -0
  103. package/dist/types/interface/api/requests/monitor-warning.request.js +3 -0
  104. package/dist/types/interface/api/requests/monitor-warning.request.js.map +1 -0
  105. package/dist/types/interface/api/requests/notification-channel.request.d.ts +36 -0
  106. package/dist/types/interface/api/requests/notification-channel.request.js +3 -0
  107. package/dist/types/interface/api/requests/notification-channel.request.js.map +1 -0
  108. package/dist/types/interface/api/requests/notification-delivery.request.d.ts +19 -0
  109. package/dist/types/interface/api/requests/notification-delivery.request.js +3 -0
  110. package/dist/types/interface/api/requests/notification-delivery.request.js.map +1 -0
  111. package/dist/types/interface/api/requests/notification-usage.request.d.ts +6 -0
  112. package/dist/types/interface/api/requests/notification-usage.request.js +3 -0
  113. package/dist/types/interface/api/requests/notification-usage.request.js.map +1 -0
  114. package/dist/types/interface/api/responses/alert-rule.response.d.ts +12 -0
  115. package/dist/types/interface/api/responses/alert-rule.response.js +3 -0
  116. package/dist/types/interface/api/responses/alert-rule.response.js.map +1 -0
  117. package/dist/types/interface/api/responses/application-event.response.d.ts +10 -0
  118. package/dist/types/interface/api/responses/incident.response.d.ts +45 -0
  119. package/dist/types/interface/api/responses/incident.response.js +3 -0
  120. package/dist/types/interface/api/responses/incident.response.js.map +1 -0
  121. package/dist/types/interface/api/responses/metrics.response.d.ts +2 -6
  122. package/dist/types/interface/api/responses/monitor-warning.response.d.ts +6 -0
  123. package/dist/types/interface/api/responses/monitor-warning.response.js +3 -0
  124. package/dist/types/interface/api/responses/monitor-warning.response.js.map +1 -0
  125. package/dist/types/interface/api/responses/notification-channel.response.d.ts +29 -0
  126. package/dist/types/interface/api/responses/notification-channel.response.js +3 -0
  127. package/dist/types/interface/api/responses/notification-channel.response.js.map +1 -0
  128. package/dist/types/interface/api/responses/notification-delivery.response.d.ts +11 -0
  129. package/dist/types/interface/api/responses/notification-delivery.response.js +3 -0
  130. package/dist/types/interface/api/responses/notification-delivery.response.js.map +1 -0
  131. package/dist/types/interface/api/responses/notification-usage.response.d.ts +7 -0
  132. package/dist/types/interface/api/responses/notification-usage.response.js +3 -0
  133. package/dist/types/interface/api/responses/notification-usage.response.js.map +1 -0
  134. package/dist/types/interface/index.d.ts +6 -0
  135. package/dist/types/interface/index.js +6 -0
  136. package/dist/types/interface/index.js.map +1 -1
  137. package/dist/types/interface/models/alert-message.model.d.ts +24 -0
  138. package/dist/types/interface/models/alert-message.model.js +3 -0
  139. package/dist/types/interface/models/alert-message.model.js.map +1 -0
  140. package/dist/types/interface/models/application-sentinel.model.d.ts +0 -3
  141. package/dist/types/interface/models/monitor-alert-rule.model.d.ts +26 -0
  142. package/dist/types/interface/models/monitor-alert-rule.model.js +3 -0
  143. package/dist/types/interface/models/monitor-alert-rule.model.js.map +1 -0
  144. package/dist/types/interface/models/monitor-incident.model.d.ts +42 -0
  145. package/dist/types/interface/models/monitor-incident.model.js +3 -0
  146. package/dist/types/interface/models/monitor-incident.model.js.map +1 -0
  147. package/dist/types/interface/models/monitor-notification-channel.model.d.ts +23 -0
  148. package/dist/types/interface/models/monitor-notification-channel.model.js +3 -0
  149. package/dist/types/interface/models/monitor-notification-channel.model.js.map +1 -0
  150. package/dist/types/interface/models/monitor-notification-delivery.model.d.ts +40 -0
  151. package/dist/types/interface/models/monitor-notification-delivery.model.js +3 -0
  152. package/dist/types/interface/models/monitor-notification-delivery.model.js.map +1 -0
  153. package/dist/types/interface/models/monitor-warning.model.d.ts +15 -0
  154. package/dist/types/interface/models/monitor-warning.model.js +3 -0
  155. package/dist/types/interface/models/monitor-warning.model.js.map +1 -0
  156. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AlertRuleMode = void 0;
4
+ var AlertRuleMode;
5
+ (function (AlertRuleMode) {
6
+ AlertRuleMode["PRESENCE"] = "PRESENCE";
7
+ AlertRuleMode["ABSENCE"] = "ABSENCE";
8
+ })(AlertRuleMode || (exports.AlertRuleMode = AlertRuleMode = {}));
9
+ //# sourceMappingURL=alert-rule-mode.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-rule-mode.enum.js","sourceRoot":"","sources":["../../../src/types/enum/alert-rule-mode.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,aAKX;AALD,WAAY,aAAa;IAEvB,sCAAqB,CAAA;IAErB,oCAAmB,CAAA;AACrB,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB"}
@@ -14,7 +14,18 @@ export declare enum Code {
14
14
  serviceUnavailable = "service_unavailable",
15
15
  invalidData = "invalid_data",
16
16
  notImplemented = "not_implemented",
17
+ incidentAssigneeWithoutAccess = "incident_assignee_without_access",
18
+ incidentResolved = "incident_resolved",
19
+ muteTokenInvalid = "mute_token_invalid",
20
+ muteTokenExpired = "mute_token_expired",
21
+ muteTokenAlreadyUsed = "mute_token_already_used",
22
+ notificationChannelUrlRejected = "notification_channel_url_rejected",
23
+ notificationChannelAbyssMembersImmutable = "notification_channel_abyss_members_immutable",
24
+ notificationChannelDisabled = "notification_channel_disabled",
25
+ notificationChannelSuspended = "notification_channel_suspended",
26
+ notificationBudgetExhausted = "notification_budget_exhausted",
17
27
  maxCronTaskNumber = "max_cron_task_number",
18
28
  maxEventPublishPerDay = "max_event_publish_per_day",
19
- maxSentinelNumber = "max_sentinel_number"
29
+ maxSentinelNumber = "max_sentinel_number",
30
+ maxAlertRuleNumber = "max_alert_rule_number"
20
31
  }
@@ -19,8 +19,19 @@ var Code;
19
19
  Code["serviceUnavailable"] = "service_unavailable";
20
20
  Code["invalidData"] = "invalid_data";
21
21
  Code["notImplemented"] = "not_implemented";
22
+ Code["incidentAssigneeWithoutAccess"] = "incident_assignee_without_access";
23
+ Code["incidentResolved"] = "incident_resolved";
24
+ Code["muteTokenInvalid"] = "mute_token_invalid";
25
+ Code["muteTokenExpired"] = "mute_token_expired";
26
+ Code["muteTokenAlreadyUsed"] = "mute_token_already_used";
27
+ Code["notificationChannelUrlRejected"] = "notification_channel_url_rejected";
28
+ Code["notificationChannelAbyssMembersImmutable"] = "notification_channel_abyss_members_immutable";
29
+ Code["notificationChannelDisabled"] = "notification_channel_disabled";
30
+ Code["notificationChannelSuspended"] = "notification_channel_suspended";
31
+ Code["notificationBudgetExhausted"] = "notification_budget_exhausted";
22
32
  Code["maxCronTaskNumber"] = "max_cron_task_number";
23
33
  Code["maxEventPublishPerDay"] = "max_event_publish_per_day";
24
34
  Code["maxSentinelNumber"] = "max_sentinel_number";
35
+ Code["maxAlertRuleNumber"] = "max_alert_rule_number";
25
36
  })(Code || (exports.Code = Code = {}));
26
37
  //# sourceMappingURL=api-error.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-error.enum.js","sourceRoot":"","sources":["../../../src/types/enum/api-error.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,6CAAgC,CAAA;AAClC,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED,IAAY,IAqBX;AArBD,WAAY,IAAI;IAEd,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,+CAAuC,CAAA;IACvC,8BAAsB,CAAA;IACtB,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,kDAA0C,CAAA;IAC1C,oCAA4B,CAAA;IAC5B,0CAAkC,CAAA;IAGlC,kDAA0C,CAAA;IAG1C,2DAAmD,CAAA;IAGnD,iDAAyC,CAAA;AAC3C,CAAC,EArBW,IAAI,oBAAJ,IAAI,QAqBf"}
1
+ {"version":3,"file":"api-error.enum.js","sourceRoot":"","sources":["../../../src/types/enum/api-error.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,6CAAgC,CAAA;AAClC,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED,IAAY,IA+CX;AA/CD,WAAY,IAAI;IAEd,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,+CAAuC,CAAA;IACvC,8BAAsB,CAAA;IACtB,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,kDAA0C,CAAA;IAC1C,oCAA4B,CAAA;IAC5B,0CAAkC,CAAA;IAIlC,0EAAkE,CAAA;IAElE,8CAAsC,CAAA;IAEtC,+CAAuC,CAAA;IAEvC,+CAAuC,CAAA;IAEvC,wDAAgD,CAAA;IAEhD,4EAAoE,CAAA;IAEpE,iGAAyF,CAAA;IAEzF,qEAA6D,CAAA;IAE7D,uEAA+D,CAAA;IAE/D,qEAA6D,CAAA;IAG7D,kDAA0C,CAAA;IAG1C,2DAAmD,CAAA;IAGnD,iDAAyC,CAAA;IAIzC,oDAA4C,CAAA;AAC9C,CAAC,EA/CW,IAAI,oBAAJ,IAAI,QA+Cf"}
@@ -0,0 +1,6 @@
1
+ export declare enum IncidentClearReason {
2
+ SOURCE_RECOVERED = "SOURCE_RECOVERED",
3
+ RULE_CHANGED = "RULE_CHANGED",
4
+ RULE_DISABLED = "RULE_DISABLED",
5
+ SOURCE_DELETED = "SOURCE_DELETED"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IncidentClearReason = void 0;
4
+ var IncidentClearReason;
5
+ (function (IncidentClearReason) {
6
+ IncidentClearReason["SOURCE_RECOVERED"] = "SOURCE_RECOVERED";
7
+ IncidentClearReason["RULE_CHANGED"] = "RULE_CHANGED";
8
+ IncidentClearReason["RULE_DISABLED"] = "RULE_DISABLED";
9
+ IncidentClearReason["SOURCE_DELETED"] = "SOURCE_DELETED";
10
+ })(IncidentClearReason || (exports.IncidentClearReason = IncidentClearReason = {}));
11
+ //# sourceMappingURL=incident-clear-reason.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-clear-reason.enum.js","sourceRoot":"","sources":["../../../src/types/enum/incident-clear-reason.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAE7B,4DAAqC,CAAA;IAErC,oDAA6B,CAAA;IAC7B,sDAA+B,CAAA;IAE/B,wDAAiC,CAAA;AACnC,CAAC,EARW,mBAAmB,mCAAnB,mBAAmB,QAQ9B"}
@@ -0,0 +1,13 @@
1
+ export declare enum IncidentEventType {
2
+ OPENED = "OPENED",
3
+ OCCURRENCE_AGGREGATED = "OCCURRENCE_AGGREGATED",
4
+ SEVERITY_RAISED = "SEVERITY_RAISED",
5
+ NOTIFIED = "NOTIFIED",
6
+ ACKNOWLEDGED = "ACKNOWLEDGED",
7
+ ASSIGNED = "ASSIGNED",
8
+ COMMENTED = "COMMENTED",
9
+ MUTED = "MUTED",
10
+ UNMUTED = "UNMUTED",
11
+ RESOLVED = "RESOLVED",
12
+ REOPENED = "REOPENED"
13
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IncidentEventType = void 0;
4
+ var IncidentEventType;
5
+ (function (IncidentEventType) {
6
+ IncidentEventType["OPENED"] = "OPENED";
7
+ IncidentEventType["OCCURRENCE_AGGREGATED"] = "OCCURRENCE_AGGREGATED";
8
+ IncidentEventType["SEVERITY_RAISED"] = "SEVERITY_RAISED";
9
+ IncidentEventType["NOTIFIED"] = "NOTIFIED";
10
+ IncidentEventType["ACKNOWLEDGED"] = "ACKNOWLEDGED";
11
+ IncidentEventType["ASSIGNED"] = "ASSIGNED";
12
+ IncidentEventType["COMMENTED"] = "COMMENTED";
13
+ IncidentEventType["MUTED"] = "MUTED";
14
+ IncidentEventType["UNMUTED"] = "UNMUTED";
15
+ IncidentEventType["RESOLVED"] = "RESOLVED";
16
+ IncidentEventType["REOPENED"] = "REOPENED";
17
+ })(IncidentEventType || (exports.IncidentEventType = IncidentEventType = {}));
18
+ //# sourceMappingURL=incident-event-type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-event-type.enum.js","sourceRoot":"","sources":["../../../src/types/enum/incident-event-type.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,iBAaX;AAbD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,oEAA+C,CAAA;IAC/C,wDAAmC,CAAA;IAEnC,0CAAqB,CAAA;IACrB,kDAA6B,CAAA;IAC7B,0CAAqB,CAAA;IACrB,4CAAuB,CAAA;IACvB,oCAAe,CAAA;IACf,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,0CAAqB,CAAA;AACvB,CAAC,EAbW,iBAAiB,iCAAjB,iBAAiB,QAa5B"}
@@ -0,0 +1,5 @@
1
+ export declare enum IncidentOccurrenceKind {
2
+ OPENED = "OPENED",
3
+ OCCURRENCE = "OCCURRENCE",
4
+ RESOLVED = "RESOLVED"
5
+ }
@@ -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,5 @@
1
+ export declare enum IncidentSeverity {
2
+ INFO = "INFO",
3
+ WARNING = "WARNING",
4
+ CRITICAL = "CRITICAL"
5
+ }
@@ -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,9 @@
1
+ export declare enum IncidentSource {
2
+ SENTINEL = "SENTINEL",
3
+ CRON = "CRON",
4
+ LOG_RULE = "LOG_RULE",
5
+ HEARTBEAT = "HEARTBEAT",
6
+ JOB = "JOB",
7
+ METRIC = "METRIC",
8
+ QUOTA = "QUOTA"
9
+ }
@@ -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,5 @@
1
+ export declare enum IncidentStatus {
2
+ OPEN = "OPEN",
3
+ ACKNOWLEDGED = "ACKNOWLEDGED",
4
+ RESOLVED = "RESOLVED"
5
+ }
@@ -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,3 @@
1
+ export declare enum IncidentSuppressedReason {
2
+ ABYSS_OUTAGE = "ABYSS_OUTAGE"
3
+ }
@@ -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';
@@ -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,5 @@
1
+ export declare enum MonitorWarningCode {
2
+ ABYSS_OUTAGE = "ABYSS_OUTAGE",
3
+ CHANNEL_DISABLED = "CHANNEL_DISABLED",
4
+ MESSAGE_TRUNCATED = "MESSAGE_TRUNCATED"
5
+ }
@@ -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,4 @@
1
+ export declare enum MonitorWarningLevel {
2
+ INFO = "INFO",
3
+ WARNING = "WARNING"
4
+ }
@@ -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,5 @@
1
+ export declare enum MonitorWarningScope {
2
+ APPLICATION = "APPLICATION",
3
+ PROJECT = "PROJECT",
4
+ ORGANIZATION = "ORGANIZATION"
5
+ }
@@ -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,5 @@
1
+ export declare enum NotificationDeliveryCancelReason {
2
+ NO_RECIPIENTS = "NO_RECIPIENTS",
3
+ CHANNEL_DISABLED = "CHANNEL_DISABLED",
4
+ CHANNEL_DELETED = "CHANNEL_DELETED"
5
+ }
@@ -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,7 @@
1
+ export declare enum NotificationDeliveryKind {
2
+ ALERT = "ALERT",
3
+ SUMMARY = "SUMMARY",
4
+ RECOVERY = "RECOVERY",
5
+ TEST = "TEST",
6
+ REPLAY = "REPLAY"
7
+ }
@@ -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,10 @@
1
+ export declare enum NotificationDeliveryStatus {
2
+ PENDING = "PENDING",
3
+ SENDING = "SENDING",
4
+ SENT = "SENT",
5
+ FAILED = "FAILED",
6
+ THROTTLED = "THROTTLED",
7
+ DROPPED_THROTTLED = "DROPPED_THROTTLED",
8
+ EXPIRED = "EXPIRED",
9
+ CANCELLED = "CANCELLED"
10
+ }
@@ -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,6 @@
1
+ export declare enum NotificationFailureClass {
2
+ RATE_LIMITED = "RATE_LIMITED",
3
+ BROKEN = "BROKEN",
4
+ MALFORMED = "MALFORMED",
5
+ OTHER = "OTHER"
6
+ }
@@ -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,7 @@
1
+ export declare enum NotificationProvider {
2
+ ABYSS_MEMBERS = "ABYSS_MEMBERS",
3
+ DISCORD = "DISCORD",
4
+ SLACK = "SLACK",
5
+ TEAMS = "TEAMS",
6
+ WEBHOOK_GENERIC = "WEBHOOK_GENERIC"
7
+ }
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=alert-rule.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-rule.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/alert-rule.request.ts"],"names":[],"mappings":""}
@@ -12,6 +12,7 @@ export interface ICreateApplicationEventBody {
12
12
  level: LogLevel;
13
13
  data?: Record<string, unknown> | null;
14
14
  message?: string | null;
15
+ actor?: string;
15
16
  }
16
17
  export interface IPaginateApplicationEventParams {
17
18
  applicationId: string;
@@ -48,3 +49,12 @@ export interface IGetMetricsApplicationEventQuery {
48
49
  dateValueBefore?: Date;
49
50
  dateValueAfter?: Date;
50
51
  }
52
+ export interface IGetTunnelApplicationEventParams {
53
+ applicationId: string;
54
+ }
55
+ export interface IGetTunnelApplicationEventQuery {
56
+ steps: string[];
57
+ dateValueAfter: Date;
58
+ dateValueBefore: Date;
59
+ conversionWindowHours: number;
60
+ }