@abyss-project/monitor 9.5.0 → 10.1.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 (165) hide show
  1. package/dist/api/application-environment-rum.api.d.ts +5 -0
  2. package/dist/api/application-environment-rum.api.js +21 -0
  3. package/dist/api/application-environment-rum.api.js.map +1 -0
  4. package/dist/api/index.d.ts +1 -0
  5. package/dist/api/index.js +1 -0
  6. package/dist/api/index.js.map +1 -1
  7. package/dist/frameworks/express/index.d.ts +2 -0
  8. package/dist/frameworks/express/index.js +2 -0
  9. package/dist/frameworks/express/index.js.map +1 -1
  10. package/dist/frameworks/express/rum-proxy.d.ts +16 -0
  11. package/dist/frameworks/express/rum-proxy.js +186 -0
  12. package/dist/frameworks/express/rum-proxy.js.map +1 -0
  13. package/dist/frameworks/express/upgrade-context.d.ts +2 -0
  14. package/dist/frameworks/express/upgrade-context.js +13 -0
  15. package/dist/frameworks/express/upgrade-context.js.map +1 -0
  16. package/dist/index.d.ts +12 -0
  17. package/dist/index.js +16 -0
  18. package/dist/index.js.map +1 -1
  19. package/dist/middlewares/context.middleware.d.ts +7 -4
  20. package/dist/middlewares/context.middleware.js +32 -4
  21. package/dist/middlewares/context.middleware.js.map +1 -1
  22. package/dist/middlewares/logger-endpoint.middleware.js +2 -1
  23. package/dist/middlewares/logger-endpoint.middleware.js.map +1 -1
  24. package/dist/models/logger.model.d.ts +1 -0
  25. package/dist/models/logger.model.js +6 -0
  26. package/dist/models/logger.model.js.map +1 -1
  27. package/dist/rum/correlation-headers.d.ts +6 -0
  28. package/dist/rum/correlation-headers.js +10 -0
  29. package/dist/rum/correlation-headers.js.map +1 -0
  30. package/dist/rum/index.d.ts +5 -0
  31. package/dist/rum/index.js +22 -0
  32. package/dist/rum/index.js.map +1 -0
  33. package/dist/rum/mask-url.d.ts +7 -0
  34. package/dist/rum/mask-url.js +41 -0
  35. package/dist/rum/mask-url.js.map +1 -0
  36. package/dist/rum/rum-batch.types.d.ts +192 -0
  37. package/dist/rum/rum-batch.types.js +3 -0
  38. package/dist/rum/rum-batch.types.js.map +1 -0
  39. package/dist/rum/rum.enums.d.ts +70 -0
  40. package/dist/rum/rum.enums.js +86 -0
  41. package/dist/rum/rum.enums.js.map +1 -0
  42. package/dist/rum/uuid.d.ts +2 -0
  43. package/dist/rum/uuid.js +7 -0
  44. package/dist/rum/uuid.js.map +1 -0
  45. package/dist/types/enum/api-error.enum.d.ts +3 -0
  46. package/dist/types/enum/api-error.enum.js +3 -0
  47. package/dist/types/enum/api-error.enum.js.map +1 -1
  48. package/dist/types/enum/incident-observation-outcome.enum.d.ts +4 -0
  49. package/dist/types/enum/incident-observation-outcome.enum.js +9 -0
  50. package/dist/types/enum/incident-observation-outcome.enum.js.map +1 -0
  51. package/dist/types/enum/incident-occurrence-kind.enum.d.ts +1 -0
  52. package/dist/types/enum/incident-occurrence-kind.enum.js +1 -0
  53. package/dist/types/enum/incident-occurrence-kind.enum.js.map +1 -1
  54. package/dist/types/enum/incident-source.enum.d.ts +1 -5
  55. package/dist/types/enum/incident-source.enum.js +0 -4
  56. package/dist/types/enum/incident-source.enum.js.map +1 -1
  57. package/dist/types/enum/index.d.ts +8 -0
  58. package/dist/types/enum/index.js +8 -0
  59. package/dist/types/enum/index.js.map +1 -1
  60. package/dist/types/enum/log-emitter.enum.d.ts +4 -0
  61. package/dist/types/enum/log-emitter.enum.js +9 -0
  62. package/dist/types/enum/log-emitter.enum.js.map +1 -0
  63. package/dist/types/enum/monitor-audit-action.enum.d.ts +7 -0
  64. package/dist/types/enum/monitor-audit-action.enum.js +12 -0
  65. package/dist/types/enum/monitor-audit-action.enum.js.map +1 -0
  66. package/dist/types/enum/notification-delivery-kind.enum.d.ts +1 -0
  67. package/dist/types/enum/notification-delivery-kind.enum.js +1 -0
  68. package/dist/types/enum/notification-delivery-kind.enum.js.map +1 -1
  69. package/dist/types/enum/rum-auto-pin-reason-type.enum.d.ts +5 -0
  70. package/dist/types/enum/rum-auto-pin-reason-type.enum.js +10 -0
  71. package/dist/types/enum/rum-auto-pin-reason-type.enum.js.map +1 -0
  72. package/dist/types/enum/rum-erasure-scope.enum.d.ts +3 -0
  73. package/dist/types/enum/rum-erasure-scope.enum.js +8 -0
  74. package/dist/types/enum/rum-erasure-scope.enum.js.map +1 -0
  75. package/dist/types/enum/rum-feedback-status.enum.d.ts +5 -0
  76. package/dist/types/enum/rum-feedback-status.enum.js +10 -0
  77. package/dist/types/enum/rum-feedback-status.enum.js.map +1 -0
  78. package/dist/types/enum/rum-replay-privacy.enum.d.ts +4 -0
  79. package/dist/types/enum/rum-replay-privacy.enum.js +9 -0
  80. package/dist/types/enum/rum-replay-privacy.enum.js.map +1 -0
  81. package/dist/types/enum/rum-stored-budget-policy.enum.d.ts +4 -0
  82. package/dist/types/enum/rum-stored-budget-policy.enum.js +9 -0
  83. package/dist/types/enum/rum-stored-budget-policy.enum.js.map +1 -0
  84. package/dist/types/interface/api/index.d.ts +4 -0
  85. package/dist/types/interface/api/index.js +4 -0
  86. package/dist/types/interface/api/index.js.map +1 -1
  87. package/dist/types/interface/api/requests/alert-rule.request.d.ts +3 -2
  88. package/dist/types/interface/api/requests/application-cron-task.admin.request.d.ts +7 -0
  89. package/dist/types/interface/api/requests/application-cron-task.request.d.ts +7 -0
  90. package/dist/types/interface/api/requests/application-environment-rum.request.d.ts +34 -0
  91. package/dist/types/interface/api/requests/application-environment-rum.request.js +3 -0
  92. package/dist/types/interface/api/requests/application-environment-rum.request.js.map +1 -0
  93. package/dist/types/interface/api/requests/application-log.request.d.ts +3 -1
  94. package/dist/types/interface/api/requests/application-sentinel.admin.request.d.ts +3 -2
  95. package/dist/types/interface/api/requests/application-sentinel.request.d.ts +3 -3
  96. package/dist/types/interface/api/requests/notification-channel.request.d.ts +4 -0
  97. package/dist/types/interface/api/requests/rum-erasure.request.d.ts +16 -0
  98. package/dist/types/interface/api/requests/rum-erasure.request.js +3 -0
  99. package/dist/types/interface/api/requests/rum-erasure.request.js.map +1 -0
  100. package/dist/types/interface/api/responses/application-environment-rum.response.d.ts +20 -0
  101. package/dist/types/interface/api/responses/application-environment-rum.response.js +3 -0
  102. package/dist/types/interface/api/responses/application-environment-rum.response.js.map +1 -0
  103. package/dist/types/interface/api/responses/rum-erasure.response.d.ts +9 -0
  104. package/dist/types/interface/api/responses/rum-erasure.response.js +3 -0
  105. package/dist/types/interface/api/responses/rum-erasure.response.js.map +1 -0
  106. package/dist/types/interface/dto/application-sentinel-configuration.dto.d.ts +15 -0
  107. package/dist/types/interface/dto/application-sentinel-configuration.dto.js +12 -1
  108. package/dist/types/interface/dto/application-sentinel-configuration.dto.js.map +1 -1
  109. package/dist/types/interface/dto/incident-policy.dto.d.ts +48 -0
  110. package/dist/types/interface/dto/incident-policy.dto.js +67 -0
  111. package/dist/types/interface/dto/incident-policy.dto.js.map +1 -0
  112. package/dist/types/interface/dto/index.d.ts +1 -0
  113. package/dist/types/interface/dto/index.js +1 -0
  114. package/dist/types/interface/dto/index.js.map +1 -1
  115. package/dist/types/interface/index.d.ts +13 -0
  116. package/dist/types/interface/index.js +13 -0
  117. package/dist/types/interface/index.js.map +1 -1
  118. package/dist/types/interface/models/alert-message.model.d.ts +6 -1
  119. package/dist/types/interface/models/application-cron-task.model.d.ts +6 -0
  120. package/dist/types/interface/models/application-environment-rum-settings.model.d.ts +25 -0
  121. package/dist/types/interface/models/application-environment-rum-settings.model.js +5 -0
  122. package/dist/types/interface/models/application-environment-rum-settings.model.js.map +1 -0
  123. package/dist/types/interface/models/application-log.model.d.ts +3 -1
  124. package/dist/types/interface/models/application-sentinel-target.model.d.ts +8 -1
  125. package/dist/types/interface/models/application-sentinel.model.d.ts +2 -1
  126. package/dist/types/interface/models/monitor-alert-rule.model.d.ts +2 -0
  127. package/dist/types/interface/models/monitor-audit-event.model.d.ts +9 -0
  128. package/dist/types/interface/models/monitor-audit-event.model.js +3 -0
  129. package/dist/types/interface/models/monitor-audit-event.model.js.map +1 -0
  130. package/dist/types/interface/models/monitor-incident.model.d.ts +3 -0
  131. package/dist/types/interface/models/monitor-notification-channel.model.d.ts +2 -0
  132. package/dist/types/interface/models/rum-action.model.d.ts +13 -0
  133. package/dist/types/interface/models/rum-action.model.js +3 -0
  134. package/dist/types/interface/models/rum-action.model.js.map +1 -0
  135. package/dist/types/interface/models/rum-console-event.model.d.ts +13 -0
  136. package/dist/types/interface/models/rum-console-event.model.js +3 -0
  137. package/dist/types/interface/models/rum-console-event.model.js.map +1 -0
  138. package/dist/types/interface/models/rum-csp-violation.model.d.ts +16 -0
  139. package/dist/types/interface/models/rum-csp-violation.model.js +3 -0
  140. package/dist/types/interface/models/rum-csp-violation.model.js.map +1 -0
  141. package/dist/types/interface/models/rum-custom-timing.model.d.ts +16 -0
  142. package/dist/types/interface/models/rum-custom-timing.model.js +3 -0
  143. package/dist/types/interface/models/rum-custom-timing.model.js.map +1 -0
  144. package/dist/types/interface/models/rum-feedback.model.d.ts +15 -0
  145. package/dist/types/interface/models/rum-feedback.model.js +3 -0
  146. package/dist/types/interface/models/rum-feedback.model.js.map +1 -0
  147. package/dist/types/interface/models/rum-page-view.model.d.ts +31 -0
  148. package/dist/types/interface/models/rum-page-view.model.js +3 -0
  149. package/dist/types/interface/models/rum-page-view.model.js.map +1 -0
  150. package/dist/types/interface/models/rum-request.model.d.ts +36 -0
  151. package/dist/types/interface/models/rum-request.model.js +3 -0
  152. package/dist/types/interface/models/rum-request.model.js.map +1 -0
  153. package/dist/types/interface/models/rum-saved-view.model.d.ts +10 -0
  154. package/dist/types/interface/models/rum-saved-view.model.js +3 -0
  155. package/dist/types/interface/models/rum-saved-view.model.js.map +1 -0
  156. package/dist/types/interface/models/rum-session.model.d.ts +41 -0
  157. package/dist/types/interface/models/rum-session.model.js +3 -0
  158. package/dist/types/interface/models/rum-session.model.js.map +1 -0
  159. package/dist/types/interface/models/rum-socket-message.model.d.ts +19 -0
  160. package/dist/types/interface/models/rum-socket-message.model.js +3 -0
  161. package/dist/types/interface/models/rum-socket-message.model.js.map +1 -0
  162. package/dist/types/interface/models/source-map-artifact.model.d.ts +10 -0
  163. package/dist/types/interface/models/source-map-artifact.model.js +3 -0
  164. package/dist/types/interface/models/source-map-artifact.model.js.map +1 -0
  165. package/package.json +23 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rum-erasure.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/rum-erasure.response.ts"],"names":[],"mappings":""}
@@ -1,6 +1,16 @@
1
1
  import { ApplicationSentinelType } from '../../enum/application-sentinel-type.enum';
2
2
  import { APIMethod } from '../../enum';
3
3
  export declare const MAX_APPLICATION_SENTINEL_RETRY_COUNT = 5;
4
+ export declare const APPLICATION_SENTINEL_TIMEOUT_MS_MIN = 1000;
5
+ export declare const APPLICATION_SENTINEL_TIMEOUT_MS_MAX = 30000;
6
+ export declare const APPLICATION_SENTINEL_SSL_WARNING_DAYS_MAX = 90;
7
+ export declare const APPLICATION_SENTINEL_SSL_WARNING_DAYS_DEFAULT = 30;
8
+ export declare const APPLICATION_SENTINEL_SSL_CRITICAL_DAYS_DEFAULT = 7;
9
+ export declare const APPLICATION_SENTINEL_PROBE_DEFAULTS: Readonly<Record<ApplicationSentinelType, ApplicationSentinelProbePolicy>>;
10
+ export type ApplicationSentinelProbePolicy = {
11
+ timeoutMs: number;
12
+ retryCount: number;
13
+ };
4
14
  export declare const APPLICATION_SENTINEL_HEADER_MASK = "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022";
5
15
  export type ApplicationSentinelLatencyPolicy = {
6
16
  max: number;
@@ -9,6 +19,7 @@ export type ApplicationSentinelLatencyPolicy = {
9
19
  export type ApplicationSentinelConfigurationDto = ApplicationSentinelConfigurationPing | ApplicationSentinelConfigurationHttp | ApplicationSentinelConfigurationTcp;
10
20
  export type ApplicationSentinelConfigurationPing = {
11
21
  type: ApplicationSentinelType.PING;
22
+ probe: ApplicationSentinelProbePolicy;
12
23
  successPolicy: {
13
24
  latency: ApplicationSentinelLatencyPolicy;
14
25
  };
@@ -16,9 +27,12 @@ export type ApplicationSentinelConfigurationPing = {
16
27
  export type ApplicationSentinelConfigurationHttp = {
17
28
  type: ApplicationSentinelType.HTTP;
18
29
  method: APIMethod;
30
+ probe: ApplicationSentinelProbePolicy;
19
31
  sslVerification: {
20
32
  enabled: boolean;
21
33
  allowSelfSigned: boolean;
34
+ warningDays: number;
35
+ criticalDays: number;
22
36
  };
23
37
  successPolicy: {
24
38
  latency: ApplicationSentinelLatencyPolicy;
@@ -32,6 +46,7 @@ export type ApplicationSentinelConfigurationHttp = {
32
46
  };
33
47
  export type ApplicationSentinelConfigurationTcp = {
34
48
  type: ApplicationSentinelType.TCP;
49
+ probe: ApplicationSentinelProbePolicy;
35
50
  successPolicy: {
36
51
  latency: ApplicationSentinelLatencyPolicy;
37
52
  };
@@ -1,6 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.APPLICATION_SENTINEL_HEADER_MASK = exports.MAX_APPLICATION_SENTINEL_RETRY_COUNT = void 0;
3
+ exports.APPLICATION_SENTINEL_HEADER_MASK = exports.APPLICATION_SENTINEL_PROBE_DEFAULTS = exports.APPLICATION_SENTINEL_SSL_CRITICAL_DAYS_DEFAULT = exports.APPLICATION_SENTINEL_SSL_WARNING_DAYS_DEFAULT = exports.APPLICATION_SENTINEL_SSL_WARNING_DAYS_MAX = exports.APPLICATION_SENTINEL_TIMEOUT_MS_MAX = exports.APPLICATION_SENTINEL_TIMEOUT_MS_MIN = exports.MAX_APPLICATION_SENTINEL_RETRY_COUNT = void 0;
4
+ const application_sentinel_type_enum_1 = require("../../enum/application-sentinel-type.enum");
4
5
  exports.MAX_APPLICATION_SENTINEL_RETRY_COUNT = 5;
6
+ exports.APPLICATION_SENTINEL_TIMEOUT_MS_MIN = 1_000;
7
+ exports.APPLICATION_SENTINEL_TIMEOUT_MS_MAX = 30_000;
8
+ exports.APPLICATION_SENTINEL_SSL_WARNING_DAYS_MAX = 90;
9
+ exports.APPLICATION_SENTINEL_SSL_WARNING_DAYS_DEFAULT = 30;
10
+ exports.APPLICATION_SENTINEL_SSL_CRITICAL_DAYS_DEFAULT = 7;
11
+ exports.APPLICATION_SENTINEL_PROBE_DEFAULTS = Object.freeze({
12
+ [application_sentinel_type_enum_1.ApplicationSentinelType.HTTP]: { timeoutMs: 30_000, retryCount: 3 },
13
+ [application_sentinel_type_enum_1.ApplicationSentinelType.PING]: { timeoutMs: 10_000, retryCount: 4 },
14
+ [application_sentinel_type_enum_1.ApplicationSentinelType.TCP]: { timeoutMs: 10_000, retryCount: 4 },
15
+ });
5
16
  exports.APPLICATION_SENTINEL_HEADER_MASK = '••••••••';
6
17
  //# sourceMappingURL=application-sentinel-configuration.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"application-sentinel-configuration.dto.js","sourceRoot":"","sources":["../../../../src/types/interface/dto/application-sentinel-configuration.dto.ts"],"names":[],"mappings":";;;AAGa,QAAA,oCAAoC,GAAG,CAAC,CAAC;AAczC,QAAA,gCAAgC,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"application-sentinel-configuration.dto.js","sourceRoot":"","sources":["../../../../src/types/interface/dto/application-sentinel-configuration.dto.ts"],"names":[],"mappings":";;;AAAA,8FAAoF;AAGvE,QAAA,oCAAoC,GAAG,CAAC,CAAC;AACzC,QAAA,mCAAmC,GAAG,KAAK,CAAC;AAC5C,QAAA,mCAAmC,GAAG,MAAM,CAAC;AAC7C,QAAA,yCAAyC,GAAG,EAAE,CAAC;AAC/C,QAAA,6CAA6C,GAAG,EAAE,CAAC;AACnD,QAAA,8CAA8C,GAAG,CAAC,CAAC;AAGnD,QAAA,mCAAmC,GAE5C,MAAM,CAAC,MAAM,CAAC;IAChB,CAAC,wDAAuB,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE;IACpE,CAAC,wDAAuB,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE;IACpE,CAAC,wDAAuB,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE;CACpE,CAAC,CAAC;AAsBU,QAAA,gCAAgC,GAAG,UAAU,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { IncidentSeverity } from '../../enum/incident-severity.enum';
2
+ export type IncidentStreakPolicy = {
3
+ openAfter: number | null;
4
+ escalateAfter: number | null;
5
+ resolveAfter: number;
6
+ };
7
+ export type IncidentPolicy = IncidentStreakPolicy & {
8
+ severity: IncidentSeverity;
9
+ };
10
+ export type CronTaskIncidentPolicy = IncidentPolicy & {
11
+ disableAfter: number | null;
12
+ };
13
+ export declare const INCIDENT_POLICY_STREAK_MIN = 1;
14
+ export declare const INCIDENT_POLICY_STREAK_MAX = 100;
15
+ export declare const DEFAULT_INCIDENT_STREAK_POLICY: Readonly<IncidentStreakPolicy>;
16
+ export declare const DEFAULT_INCIDENT_POLICY: Readonly<IncidentPolicy>;
17
+ export declare const DEFAULT_CRON_TASK_INCIDENT_POLICY: Readonly<CronTaskIncidentPolicy>;
18
+ export declare enum IncidentPolicyViolation {
19
+ OPEN_AFTER_OUT_OF_RANGE = "OPEN_AFTER_OUT_OF_RANGE",
20
+ ESCALATE_AFTER_OUT_OF_RANGE = "ESCALATE_AFTER_OUT_OF_RANGE",
21
+ ESCALATE_AFTER_BEFORE_OPEN_AFTER = "ESCALATE_AFTER_BEFORE_OPEN_AFTER",
22
+ ESCALATE_FROM_CRITICAL = "ESCALATE_FROM_CRITICAL",
23
+ RESOLVE_AFTER_OUT_OF_RANGE = "RESOLVE_AFTER_OUT_OF_RANGE",
24
+ DISABLE_AFTER_OUT_OF_RANGE = "DISABLE_AFTER_OUT_OF_RANGE"
25
+ }
26
+ export declare const incidentPolicyViolations: (policy: IncidentStreakPolicy | CronTaskIncidentPolicy, severity: IncidentSeverity) => IncidentPolicyViolation[];
27
+ export interface IIncidentStreak {
28
+ consecutiveFailures: number;
29
+ consecutiveSuccesses: number;
30
+ }
31
+ export interface IOpenIncidentSummary {
32
+ id: string;
33
+ number: number;
34
+ severity: IncidentSeverity;
35
+ startedAt: Date;
36
+ lastSeenAt: Date;
37
+ lastDetail: string | null;
38
+ }
39
+ export declare const CRON_TASK_TIMEOUT_MS_MIN = 1000;
40
+ export declare const CRON_TASK_TIMEOUT_MS_MAX = 60000;
41
+ export declare const CRON_TASK_TIMEOUT_MS_DEFAULT = 8000;
42
+ export declare const CRON_TASK_RETRY_COUNT_MAX = 5;
43
+ export declare const CRON_TASK_RETRY_COUNT_DEFAULT = 5;
44
+ export declare const CHANNEL_REMINDER_BASE_MINUTES_MIN = 15;
45
+ export declare const CHANNEL_REMINDER_BASE_MINUTES_MAX = 1440;
46
+ export declare const CHANNEL_REMINDER_BASE_MINUTES_DEFAULT = 60;
47
+ export declare const CHANNEL_REMINDER_MAX_MINUTES_MAX = 10080;
48
+ export declare const CHANNEL_REMINDER_MAX_MINUTES_DEFAULT = 1440;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CHANNEL_REMINDER_MAX_MINUTES_DEFAULT = exports.CHANNEL_REMINDER_MAX_MINUTES_MAX = exports.CHANNEL_REMINDER_BASE_MINUTES_DEFAULT = exports.CHANNEL_REMINDER_BASE_MINUTES_MAX = exports.CHANNEL_REMINDER_BASE_MINUTES_MIN = exports.CRON_TASK_RETRY_COUNT_DEFAULT = exports.CRON_TASK_RETRY_COUNT_MAX = exports.CRON_TASK_TIMEOUT_MS_DEFAULT = exports.CRON_TASK_TIMEOUT_MS_MAX = exports.CRON_TASK_TIMEOUT_MS_MIN = exports.incidentPolicyViolations = exports.IncidentPolicyViolation = exports.DEFAULT_CRON_TASK_INCIDENT_POLICY = exports.DEFAULT_INCIDENT_POLICY = exports.DEFAULT_INCIDENT_STREAK_POLICY = exports.INCIDENT_POLICY_STREAK_MAX = exports.INCIDENT_POLICY_STREAK_MIN = void 0;
4
+ const incident_severity_enum_1 = require("../../enum/incident-severity.enum");
5
+ exports.INCIDENT_POLICY_STREAK_MIN = 1;
6
+ exports.INCIDENT_POLICY_STREAK_MAX = 100;
7
+ exports.DEFAULT_INCIDENT_STREAK_POLICY = Object.freeze({
8
+ openAfter: 1,
9
+ escalateAfter: 5,
10
+ resolveAfter: 1,
11
+ });
12
+ exports.DEFAULT_INCIDENT_POLICY = Object.freeze({
13
+ ...exports.DEFAULT_INCIDENT_STREAK_POLICY,
14
+ severity: incident_severity_enum_1.IncidentSeverity.WARNING,
15
+ });
16
+ exports.DEFAULT_CRON_TASK_INCIDENT_POLICY = Object.freeze({
17
+ ...exports.DEFAULT_INCIDENT_POLICY,
18
+ disableAfter: null,
19
+ });
20
+ var IncidentPolicyViolation;
21
+ (function (IncidentPolicyViolation) {
22
+ IncidentPolicyViolation["OPEN_AFTER_OUT_OF_RANGE"] = "OPEN_AFTER_OUT_OF_RANGE";
23
+ IncidentPolicyViolation["ESCALATE_AFTER_OUT_OF_RANGE"] = "ESCALATE_AFTER_OUT_OF_RANGE";
24
+ IncidentPolicyViolation["ESCALATE_AFTER_BEFORE_OPEN_AFTER"] = "ESCALATE_AFTER_BEFORE_OPEN_AFTER";
25
+ IncidentPolicyViolation["ESCALATE_FROM_CRITICAL"] = "ESCALATE_FROM_CRITICAL";
26
+ IncidentPolicyViolation["RESOLVE_AFTER_OUT_OF_RANGE"] = "RESOLVE_AFTER_OUT_OF_RANGE";
27
+ IncidentPolicyViolation["DISABLE_AFTER_OUT_OF_RANGE"] = "DISABLE_AFTER_OUT_OF_RANGE";
28
+ })(IncidentPolicyViolation || (exports.IncidentPolicyViolation = IncidentPolicyViolation = {}));
29
+ const isStreak = (value) => Number.isInteger(value) &&
30
+ value >= exports.INCIDENT_POLICY_STREAK_MIN &&
31
+ value <= exports.INCIDENT_POLICY_STREAK_MAX;
32
+ const incidentPolicyViolations = (policy, severity) => {
33
+ const violations = [];
34
+ if (policy.openAfter !== null && !isStreak(policy.openAfter)) {
35
+ violations.push(IncidentPolicyViolation.OPEN_AFTER_OUT_OF_RANGE);
36
+ }
37
+ if (policy.escalateAfter !== null) {
38
+ if (!isStreak(policy.escalateAfter)) {
39
+ violations.push(IncidentPolicyViolation.ESCALATE_AFTER_OUT_OF_RANGE);
40
+ }
41
+ else if (policy.openAfter !== null && policy.escalateAfter < policy.openAfter) {
42
+ violations.push(IncidentPolicyViolation.ESCALATE_AFTER_BEFORE_OPEN_AFTER);
43
+ }
44
+ if (severity === incident_severity_enum_1.IncidentSeverity.CRITICAL) {
45
+ violations.push(IncidentPolicyViolation.ESCALATE_FROM_CRITICAL);
46
+ }
47
+ }
48
+ if (!isStreak(policy.resolveAfter)) {
49
+ violations.push(IncidentPolicyViolation.RESOLVE_AFTER_OUT_OF_RANGE);
50
+ }
51
+ if ('disableAfter' in policy && policy.disableAfter !== null && !isStreak(policy.disableAfter)) {
52
+ violations.push(IncidentPolicyViolation.DISABLE_AFTER_OUT_OF_RANGE);
53
+ }
54
+ return violations;
55
+ };
56
+ exports.incidentPolicyViolations = incidentPolicyViolations;
57
+ exports.CRON_TASK_TIMEOUT_MS_MIN = 1_000;
58
+ exports.CRON_TASK_TIMEOUT_MS_MAX = 60_000;
59
+ exports.CRON_TASK_TIMEOUT_MS_DEFAULT = 8_000;
60
+ exports.CRON_TASK_RETRY_COUNT_MAX = 5;
61
+ exports.CRON_TASK_RETRY_COUNT_DEFAULT = 5;
62
+ exports.CHANNEL_REMINDER_BASE_MINUTES_MIN = 15;
63
+ exports.CHANNEL_REMINDER_BASE_MINUTES_MAX = 1_440;
64
+ exports.CHANNEL_REMINDER_BASE_MINUTES_DEFAULT = 60;
65
+ exports.CHANNEL_REMINDER_MAX_MINUTES_MAX = 10_080;
66
+ exports.CHANNEL_REMINDER_MAX_MINUTES_DEFAULT = 1_440;
67
+ //# sourceMappingURL=incident-policy.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-policy.dto.js","sourceRoot":"","sources":["../../../../src/types/interface/dto/incident-policy.dto.ts"],"names":[],"mappings":";;;AAAA,8EAAqE;AA8BxD,QAAA,0BAA0B,GAAG,CAAC,CAAC;AAC/B,QAAA,0BAA0B,GAAG,GAAG,CAAC;AAEjC,QAAA,8BAA8B,GAAmC,MAAM,CAAC,MAAM,CAAC;IAC1F,SAAS,EAAE,CAAC;IACZ,aAAa,EAAE,CAAC;IAChB,YAAY,EAAE,CAAC;CAChB,CAAC,CAAC;AAEU,QAAA,uBAAuB,GAA6B,MAAM,CAAC,MAAM,CAAC;IAC7E,GAAG,sCAA8B;IACjC,QAAQ,EAAE,yCAAgB,CAAC,OAAO;CACnC,CAAC,CAAC;AAEU,QAAA,iCAAiC,GAAqC,MAAM,CAAC,MAAM,CAAC;IAC/F,GAAG,+BAAuB;IAC1B,YAAY,EAAE,IAAI;CACnB,CAAC,CAAC;AAEH,IAAY,uBAOX;AAPD,WAAY,uBAAuB;IACjC,8EAAmD,CAAA;IACnD,sFAA2D,CAAA;IAC3D,gGAAqE,CAAA;IACrE,4EAAiD,CAAA;IACjD,oFAAyD,CAAA;IACzD,oFAAyD,CAAA;AAC3D,CAAC,EAPW,uBAAuB,uCAAvB,uBAAuB,QAOlC;AAED,MAAM,QAAQ,GAAG,CAAC,KAAc,EAAW,EAAE,CAC3C,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC;IACtB,KAAgB,IAAI,kCAA0B;IAC9C,KAAgB,IAAI,kCAA0B,CAAC;AAO3C,MAAM,wBAAwB,GAAG,CACtC,MAAqD,EACrD,QAA0B,EACC,EAAE;IAC7B,MAAM,UAAU,GAA8B,EAAE,CAAC;IACjD,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;QAC7D,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,uBAAuB,CAAC,CAAC;IACnE,CAAC;IACD,IAAI,MAAM,CAAC,aAAa,KAAK,IAAI,EAAE,CAAC;QAClC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;YACpC,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;QACvE,CAAC;aAAM,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,IAAI,MAAM,CAAC,aAAa,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;YAChF,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,gCAAgC,CAAC,CAAC;QAC5E,CAAC;QACD,IAAI,QAAQ,KAAK,yCAAgB,CAAC,QAAQ,EAAE,CAAC;YAC3C,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,CAAC;QAClE,CAAC;IACH,CAAC;IACD,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC;QACnC,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC;IACtE,CAAC;IACD,IAAI,cAAc,IAAI,MAAM,IAAI,MAAM,CAAC,YAAY,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/F,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC;IACtE,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAzBW,QAAA,wBAAwB,4BAyBnC;AAmBW,QAAA,wBAAwB,GAAG,KAAK,CAAC;AACjC,QAAA,wBAAwB,GAAG,MAAM,CAAC;AAClC,QAAA,4BAA4B,GAAG,KAAK,CAAC;AACrC,QAAA,yBAAyB,GAAG,CAAC,CAAC;AAC9B,QAAA,6BAA6B,GAAG,CAAC,CAAC;AAGlC,QAAA,iCAAiC,GAAG,EAAE,CAAC;AACvC,QAAA,iCAAiC,GAAG,KAAK,CAAC;AAC1C,QAAA,qCAAqC,GAAG,EAAE,CAAC;AAC3C,QAAA,gCAAgC,GAAG,MAAM,CAAC;AAC1C,QAAA,oCAAoC,GAAG,KAAK,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from './webhook.dto';
2
2
  export * from './application-sentinel-configuration.dto';
3
+ export * from './incident-policy.dto';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./webhook.dto"), exports);
18
18
  __exportStar(require("./application-sentinel-configuration.dto"), exports);
19
+ __exportStar(require("./incident-policy.dto"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,2EAAyD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,2EAAyD;AACzD,wDAAsC"}
@@ -25,6 +25,19 @@ export * from './models/monitor-warning.model';
25
25
  export * from './models/monitor-error-group.model';
26
26
  export * from './models/monitor-error-report-export.model';
27
27
  export * from './models/alert-message.model';
28
+ export * from './models/application-environment-rum-settings.model';
29
+ export * from './models/rum-session.model';
30
+ export * from './models/rum-page-view.model';
31
+ export * from './models/rum-request.model';
32
+ export * from './models/rum-console-event.model';
33
+ export * from './models/rum-action.model';
34
+ export * from './models/rum-custom-timing.model';
35
+ export * from './models/rum-csp-violation.model';
36
+ export * from './models/rum-socket-message.model';
37
+ export * from './models/rum-feedback.model';
38
+ export * from './models/rum-saved-view.model';
39
+ export * from './models/source-map-artifact.model';
40
+ export * from './models/monitor-audit-event.model';
28
41
  export * from './api';
29
42
  export * from './dto';
30
43
  export * from './rate-limit';
@@ -41,6 +41,19 @@ __exportStar(require("./models/monitor-warning.model"), exports);
41
41
  __exportStar(require("./models/monitor-error-group.model"), exports);
42
42
  __exportStar(require("./models/monitor-error-report-export.model"), exports);
43
43
  __exportStar(require("./models/alert-message.model"), exports);
44
+ __exportStar(require("./models/application-environment-rum-settings.model"), exports);
45
+ __exportStar(require("./models/rum-session.model"), exports);
46
+ __exportStar(require("./models/rum-page-view.model"), exports);
47
+ __exportStar(require("./models/rum-request.model"), exports);
48
+ __exportStar(require("./models/rum-console-event.model"), exports);
49
+ __exportStar(require("./models/rum-action.model"), exports);
50
+ __exportStar(require("./models/rum-custom-timing.model"), exports);
51
+ __exportStar(require("./models/rum-csp-violation.model"), exports);
52
+ __exportStar(require("./models/rum-socket-message.model"), exports);
53
+ __exportStar(require("./models/rum-feedback.model"), exports);
54
+ __exportStar(require("./models/rum-saved-view.model"), exports);
55
+ __exportStar(require("./models/source-map-artifact.model"), exports);
56
+ __exportStar(require("./models/monitor-audit-event.model"), exports);
44
57
  __exportStar(require("./api"), exports);
45
58
  __exportStar(require("./dto"), exports);
46
59
  __exportStar(require("./rate-limit"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,yEAAuD;AACvD,sDAAoC;AACpC,mEAAiD;AACjD,iEAA+C;AAC/C,0EAAwD;AACxD,uEAAqD;AACrD,+EAA6D;AAC7D,mEAAiD;AACjD,qEAAmD;AACnD,6EAA2D;AAC3D,sEAAoD;AACpD,6EAA2D;AAC3D,8EAA4D;AAC5D,gFAA8D;AAC9D,8EAA4D;AAC5D,4EAA0D;AAC1D,mEAAiD;AACjD,iEAA+C;AAC/C,kEAAgD;AAChD,oEAAkD;AAClD,8EAA4D;AAC5D,+EAA6D;AAC7D,iEAA+C;AAC/C,qEAAmD;AACnD,6EAA2D;AAC3D,+DAA6C;AAG7C,wCAAsB;AACtB,wCAAsB;AACtB,+CAA6B;AAC7B,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,yEAAuD;AACvD,sDAAoC;AACpC,mEAAiD;AACjD,iEAA+C;AAC/C,0EAAwD;AACxD,uEAAqD;AACrD,+EAA6D;AAC7D,mEAAiD;AACjD,qEAAmD;AACnD,6EAA2D;AAC3D,sEAAoD;AACpD,6EAA2D;AAC3D,8EAA4D;AAC5D,gFAA8D;AAC9D,8EAA4D;AAC5D,4EAA0D;AAC1D,mEAAiD;AACjD,iEAA+C;AAC/C,kEAAgD;AAChD,oEAAkD;AAClD,8EAA4D;AAC5D,+EAA6D;AAC7D,iEAA+C;AAC/C,qEAAmD;AACnD,6EAA2D;AAC3D,+DAA6C;AAC7C,sFAAoE;AACpE,6DAA2C;AAC3C,+DAA6C;AAC7C,6DAA2C;AAC3C,mEAAiD;AACjD,4DAA0C;AAC1C,mEAAiD;AACjD,mEAAiD;AACjD,oEAAkD;AAClD,8DAA4C;AAC5C,gEAA8C;AAC9C,qEAAmD;AACnD,qEAAmD;AAGnD,wCAAsB;AACtB,wCAAsB;AACtB,+CAA6B;AAC7B,mDAAiC"}
@@ -1,4 +1,4 @@
1
- import { AlertMessageSeverity } from '../../enum';
1
+ import { AlertMessageSeverity, IncidentSeverity } from '../../enum';
2
2
  export interface IAlertMessageFact {
3
3
  label: string;
4
4
  value: string;
@@ -12,6 +12,10 @@ export interface IAlertMessageTruncation {
12
12
  originalLength: number;
13
13
  truncatedLength: number;
14
14
  }
15
+ export interface IAlertMessageEscalation {
16
+ from: IncidentSeverity;
17
+ to: IncidentSeverity;
18
+ }
15
19
  export interface IAlertMessage {
16
20
  severity: AlertMessageSeverity;
17
21
  title: string;
@@ -21,4 +25,5 @@ export interface IAlertMessage {
21
25
  fallbackText: string;
22
26
  truncations: IAlertMessageTruncation[];
23
27
  ref: string;
28
+ escalation?: IAlertMessageEscalation;
24
29
  }
@@ -1,3 +1,4 @@
1
+ import { CronTaskIncidentPolicy, IIncidentStreak, IOpenIncidentSummary } from '../dto/incident-policy.dto';
1
2
  import { IApplication } from './application.model';
2
3
  export interface IApplicationCronTask {
3
4
  id?: string;
@@ -8,6 +9,11 @@ export interface IApplicationCronTask {
8
9
  webhookUrl: string;
9
10
  webhookSecret: string;
10
11
  isActivated: boolean;
12
+ incidentPolicy: CronTaskIncidentPolicy;
13
+ timeoutMs: number;
14
+ retryCount: number;
15
+ incidentStreak?: IIncidentStreak;
16
+ openIncident?: IOpenIncidentSummary | null;
11
17
  enqueueFailures?: number;
12
18
  lastExecutedAt: Date | null;
13
19
  updatedAt?: Date;
@@ -0,0 +1,25 @@
1
+ import { RumReplayPrivacy, RumStoredBudgetPolicy } from '../../enum';
2
+ import { IApplicationEnvironment } from './application-environment.model';
3
+ export declare const RUM_SESSION_MAX_STORED_BYTES_DEFAULT: number;
4
+ export interface IApplicationEnvironmentRumSettings {
5
+ applicationEnvironmentId: string;
6
+ enabled: boolean;
7
+ publicRumToken: string;
8
+ allowedOrigins: string[];
9
+ sessionSampleRate: number;
10
+ replayEnabled: boolean;
11
+ replaySampleRate: number;
12
+ replayUnmaskSelectors: string[];
13
+ replayDefaultPrivacy: RumReplayPrivacy;
14
+ feedbackEnabled: boolean;
15
+ socketMessagesEnabled: boolean;
16
+ sessionMaxStoredBytes: number;
17
+ storedBudgetBytes: number | null;
18
+ storedBudgetPolicy: RumStoredBudgetPolicy;
19
+ autoPinOnOpenIncident: boolean;
20
+ autoPinOnUnresolvedErrorGroup: boolean;
21
+ autoPinOnFeedback: boolean;
22
+ createdAt?: Date;
23
+ updatedAt?: Date;
24
+ applicationEnvironment?: IApplicationEnvironment;
25
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RUM_SESSION_MAX_STORED_BYTES_DEFAULT = void 0;
4
+ exports.RUM_SESSION_MAX_STORED_BYTES_DEFAULT = 20 * 1024 * 1024;
5
+ //# sourceMappingURL=application-environment-rum-settings.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-environment-rum-settings.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/application-environment-rum-settings.model.ts"],"names":[],"mappings":";;;AAIa,QAAA,oCAAoC,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ApplicationLogOrigin, LogLevel } from '../../enum';
1
+ import { ApplicationLogOrigin, LogEmitter, LogLevel } from '../../enum';
2
2
  import { IApplicationEvent } from './application-event.model';
3
3
  import { IApplicationLogEndpoint } from './application-log-endpoint.model';
4
4
  import { IApplication } from './application.model';
@@ -20,6 +20,8 @@ export interface IApplicationLog {
20
20
  release?: string | null;
21
21
  actorKey?: string | null;
22
22
  fingerprint?: string | null;
23
+ emitter?: LogEmitter;
24
+ sessionId?: string | null;
23
25
  expiresAt?: Date | null;
24
26
  updatedAt?: Date;
25
27
  createdAt?: Date;
@@ -1,3 +1,4 @@
1
+ import { IIncidentStreak, IOpenIncidentSummary } from '../dto/incident-policy.dto';
1
2
  import { IApplicationSentinel } from './application-sentinel.model';
2
3
  export interface IApplicationSentinelTarget {
3
4
  id: string;
@@ -8,7 +9,13 @@ export interface IApplicationSentinelTarget {
8
9
  port?: number | null;
9
10
  headers?: Record<string, string> | null;
10
11
  isActivated: boolean;
11
- consecutiveFailures: number;
12
+ incidentStreak?: IIncidentStreak;
13
+ openIncident?: IOpenIncidentSummary | null;
14
+ certificate?: {
15
+ expiresAt: Date | null;
16
+ isSelfSigned: boolean;
17
+ checkedAt: Date;
18
+ } | null;
12
19
  enqueueFailures?: number;
13
20
  lastCheckedAt: Date | null;
14
21
  createdAt?: Date;
@@ -1,4 +1,5 @@
1
1
  import { ApplicationSentinelConfigurationDto } from '../dto/application-sentinel-configuration.dto';
2
+ import { IncidentPolicy } from '../dto/incident-policy.dto';
2
3
  import { IApplicationSentinelHistory } from './application-sentinel-history.model';
3
4
  import { IApplicationSentinelTarget } from './application-sentinel-target.model';
4
5
  import { IApplication } from './application.model';
@@ -8,7 +9,7 @@ export interface IApplicationSentinel {
8
9
  description: string | null;
9
10
  isActivated: boolean;
10
11
  applicationId: string;
11
- alertOnFailure: boolean;
12
+ incidentPolicy: IncidentPolicy;
12
13
  webhookMetadata: Record<string, string>;
13
14
  scheduleConfiguration: string;
14
15
  configuration: ApplicationSentinelConfigurationDto;
@@ -1,3 +1,4 @@
1
+ import type { IncidentStreakPolicy } from '../dto/incident-policy.dto';
1
2
  import type { IAlertRuleCondition } from '../../../rules/condition.types';
2
3
  import { AlertRuleEvaluation, AlertRuleGroupBy, AlertRuleMode, ErrorGroupEvent, IncidentSeverity, LogLevel } from '../../enum';
3
4
  export interface IMonitorAlertRuleFilter {
@@ -25,6 +26,7 @@ export interface IMonitorAlertRule {
25
26
  groupBy: AlertRuleGroupBy[];
26
27
  severity: IncidentSeverity;
27
28
  channelIds: string[] | null;
29
+ incidentPolicy: IncidentStreakPolicy | null;
28
30
  eventBudgetPerMinute: number | null;
29
31
  lastEvaluatedAt: Date | null;
30
32
  createdAt?: Date;
@@ -0,0 +1,9 @@
1
+ import { MonitorAuditAction } from '../../enum';
2
+ export interface IMonitorAuditEvent {
3
+ id: string;
4
+ applicationId: string;
5
+ action: MonitorAuditAction;
6
+ subjectId: string;
7
+ actorUserId: string | null;
8
+ createdAt?: Date;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=monitor-audit-event.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitor-audit-event.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/monitor-audit-event.model.ts"],"names":[],"mappings":""}
@@ -17,6 +17,9 @@ export interface IMonitorIncident {
17
17
  endedAt: Date | null;
18
18
  durationMs: number | null;
19
19
  occurrenceCount: number;
20
+ relapseCount: number;
21
+ lastDetail: string | null;
22
+ recoveryNotifiedAt: Date | null;
20
23
  assignedToUserId: string | null;
21
24
  acknowledgedAt: Date | null;
22
25
  acknowledgedByUserId: string | null;
@@ -17,6 +17,8 @@ export interface IMonitorNotificationChannel {
17
17
  filters: IMonitorNotificationChannelFilters;
18
18
  budgetPerHour: number;
19
19
  windowSteps: number[];
20
+ reminderBaseMinutes: number | null;
21
+ reminderMaxMinutes: number | null;
20
22
  disabledReason: NotificationFailureClass | null;
21
23
  disabledAt: Date | null;
22
24
  createdAt?: Date;
@@ -0,0 +1,13 @@
1
+ import { RumAttributeValues } from '../../../rum/rum-batch.types';
2
+ export interface IRumAction {
3
+ id: string;
4
+ dateValue: Date;
5
+ applicationId: string;
6
+ environment: string;
7
+ sessionId: string;
8
+ pageViewId: string | null;
9
+ name: string;
10
+ attributes: RumAttributeValues;
11
+ occurredAt: Date;
12
+ createdAt?: Date;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rum-action.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rum-action.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/rum-action.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { RumConsoleLevel } from '../../../rum/rum.enums';
2
+ export interface IRumConsoleEventRecord {
3
+ id: string;
4
+ dateValue: Date;
5
+ applicationId: string;
6
+ environment: string;
7
+ sessionId: string;
8
+ pageViewId: string | null;
9
+ occurredAt: Date;
10
+ level: RumConsoleLevel;
11
+ message: string;
12
+ createdAt?: Date;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rum-console-event.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rum-console-event.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/rum-console-event.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { RumCspDisposition } from '../../../rum/rum.enums';
2
+ export interface IRumCspViolation {
3
+ id: string;
4
+ dateValue: Date;
5
+ applicationId: string;
6
+ environment: string;
7
+ sessionId: string;
8
+ pageViewId: string | null;
9
+ occurredAt: Date;
10
+ effectiveDirective: string;
11
+ blockedUri: string | null;
12
+ sourceFile: string | null;
13
+ lineNumber: number | null;
14
+ disposition: RumCspDisposition;
15
+ createdAt?: Date;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rum-csp-violation.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rum-csp-violation.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/rum-csp-violation.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { RumAttributeValues } from '../../../rum/rum-batch.types';
2
+ import { RumTimingKind } from '../../../rum/rum.enums';
3
+ export interface IRumCustomTiming {
4
+ id: string;
5
+ dateValue: Date;
6
+ applicationId: string;
7
+ environment: string;
8
+ sessionId: string;
9
+ pageViewId: string;
10
+ name: string;
11
+ kind: RumTimingKind;
12
+ valueMs: number;
13
+ attributes: RumAttributeValues;
14
+ occurredAt: Date;
15
+ createdAt?: Date;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rum-custom-timing.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rum-custom-timing.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/rum-custom-timing.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import { RumFeedbackStatus } from '../../enum';
2
+ export interface IRumFeedback {
3
+ id: string;
4
+ dateValue: Date;
5
+ applicationId: string;
6
+ environment: string;
7
+ sessionId: string;
8
+ offsetMs: number;
9
+ message: string;
10
+ email: string | null;
11
+ route: string;
12
+ status: RumFeedbackStatus;
13
+ createdAt?: Date;
14
+ updatedAt?: Date;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rum-feedback.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rum-feedback.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/rum-feedback.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ import { RumAttributeValues } from '../../../rum/rum-batch.types';
2
+ import { RumNavigationType } from '../../../rum/rum.enums';
3
+ export interface IRumPageView {
4
+ id: string;
5
+ dateValue: Date;
6
+ applicationId: string;
7
+ environment: string;
8
+ sessionId: string;
9
+ route: string;
10
+ referrerRoute: string | null;
11
+ startedAt: Date;
12
+ durationMs: number | null;
13
+ navigationType: RumNavigationType;
14
+ lcpMs: number | null;
15
+ inpMs: number | null;
16
+ cls: number | null;
17
+ fcpMs: number | null;
18
+ ttfbMs: number | null;
19
+ dnsMs: number | null;
20
+ tcpMs: number | null;
21
+ tlsMs: number | null;
22
+ requestMs: number | null;
23
+ responseMs: number | null;
24
+ domProcessingMs: number | null;
25
+ loadMs: number | null;
26
+ longTaskCount: number;
27
+ longTaskTotalMs: number;
28
+ featureFlags: RumAttributeValues;
29
+ createdAt?: Date;
30
+ updatedAt?: Date;
31
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rum-page-view.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rum-page-view.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/rum-page-view.model.ts"],"names":[],"mappings":""}