@abyss-project/main 36.18.0 → 37.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.
- package/dist/api/mailing.admin.api.d.ts +1 -2
- package/dist/api/mailing.admin.api.js +1 -3
- package/dist/api/mailing.admin.api.js.map +1 -1
- package/dist/api/organization-billing.api.d.ts +3 -2
- package/dist/api/organization-billing.api.js +5 -1
- package/dist/api/organization-billing.api.js.map +1 -1
- package/dist/api/tests/sdk-resource-alert.spec.d.ts +1 -0
- package/dist/api/tests/sdk-resource-alert.spec.js +27 -0
- package/dist/api/tests/sdk-resource-alert.spec.js.map +1 -0
- package/dist/billing-metric-label/billing-metric-label.labels.d.ts +6 -0
- package/dist/billing-metric-label/billing-metric-label.labels.js +6 -0
- package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
- package/dist/constants/billing-catalog.constants.js +28 -0
- package/dist/constants/billing-catalog.constants.js.map +1 -1
- package/dist/constants/catalog-plan-quotas.constants.js +9 -0
- package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
- package/dist/constants/enforcement-registry.constants.js +18 -0
- package/dist/constants/enforcement-registry.constants.js.map +1 -1
- package/dist/constants/metric-price-scale.constants.js +8 -0
- package/dist/constants/metric-price-scale.constants.js.map +1 -1
- package/dist/constants/module-catalog.constants.d.ts +2 -0
- package/dist/constants/module-catalog.constants.js +24 -0
- package/dist/constants/module-catalog.constants.js.map +1 -1
- package/dist/constants/overage-base-rates.constants.js +1 -0
- package/dist/constants/overage-base-rates.constants.js.map +1 -1
- package/dist/constants/public-plans.constants.js +81 -0
- package/dist/constants/public-plans.constants.js.map +1 -1
- package/dist/constants/quota-metric-kind.constants.js +3 -0
- package/dist/constants/quota-metric-kind.constants.js.map +1 -1
- package/dist/constants/tests/billing-catalog.constants.spec.js +114 -1
- package/dist/constants/tests/billing-catalog.constants.spec.js.map +1 -1
- package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js +16 -0
- package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js.map +1 -1
- package/dist/constants/tests/metric-price-scale.constants.spec.js +5 -1
- package/dist/constants/tests/metric-price-scale.constants.spec.js.map +1 -1
- package/dist/constants/tests/module-calibration.constants.spec.js +1 -0
- package/dist/constants/tests/module-calibration.constants.spec.js.map +1 -1
- package/dist/constants/tests/module-catalog.constants.spec.js +58 -2
- package/dist/constants/tests/module-catalog.constants.spec.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/enum/abyss-application-event.enum.d.ts +1 -0
- package/dist/types/enum/abyss-application-event.enum.js +1 -0
- package/dist/types/enum/abyss-application-event.enum.js.map +1 -1
- package/dist/types/enum/email-send.enum.d.ts +0 -3
- package/dist/types/enum/email-send.enum.js +0 -3
- package/dist/types/enum/email-send.enum.js.map +1 -1
- package/dist/types/enum/email-type.enum.d.ts +1 -2
- package/dist/types/enum/email-type.enum.js +1 -2
- package/dist/types/enum/email-type.enum.js.map +1 -1
- package/dist/types/enum/index.d.ts +0 -1
- package/dist/types/enum/index.js +0 -1
- package/dist/types/enum/index.js.map +1 -1
- package/dist/types/enum/organization-billing.enum.d.ts +3 -0
- package/dist/types/enum/organization-billing.enum.js +3 -0
- package/dist/types/enum/organization-billing.enum.js.map +1 -1
- package/dist/types/enum/user-notification-category.enum.js +1 -0
- package/dist/types/enum/user-notification-category.enum.js.map +1 -1
- package/dist/types/enum/user-notification-content-type.enum.d.ts +9 -0
- package/dist/types/enum/user-notification-content-type.enum.js +2 -1
- package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
- package/dist/types/interface/api/index.d.ts +0 -2
- package/dist/types/interface/api/index.js +0 -2
- package/dist/types/interface/api/index.js.map +1 -1
- package/dist/types/interface/api/requests/organization-billing.request.d.ts +11 -0
- package/dist/types/interface/api/responses/organization-billing.response.d.ts +4 -0
- package/dist/types/interface/models/wrapped-report.model.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/enum/monitor-channel-mail.enum.d.ts +0 -12
- package/dist/types/enum/monitor-channel-mail.enum.js +0 -18
- package/dist/types/enum/monitor-channel-mail.enum.js.map +0 -1
- package/dist/types/interface/api/requests/mailing-monitor-channel.request.d.ts +0 -30
- package/dist/types/interface/api/requests/mailing-monitor-channel.request.js +0 -3
- package/dist/types/interface/api/requests/mailing-monitor-channel.request.js.map +0 -1
- package/dist/types/interface/api/responses/mailing-monitor-channel.response.d.ts +0 -12
- package/dist/types/interface/api/responses/mailing-monitor-channel.response.js +0 -3
- package/dist/types/interface/api/responses/mailing-monitor-channel.response.js.map +0 -1
|
@@ -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;AAE7C,0DAAwC;AACxC,0DAAwC;AACxC,gEAA8C;AAC9C,uEAAqD;AACrD,6EAA2D;AAC3D,6EAA2D;AAC3D,+DAA6C;AAC7C,qEAAmD;AACnD,iEAA+C;AAC/C,uEAAqD;AACrD,6EAA2D;AAC3D,yEAAuD;AACvD,+EAA6D;AAC7D,mEAAiD;AACjD,6DAA2C;AAC3C,0EAAwD;AACxD,oEAAkD;AAClD,6DAA2C;AAC3C,sEAAoD;AACpD,mEAAiD;AACjD,yEAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAE7C,0DAAwC;AACxC,0DAAwC;AACxC,gEAA8C;AAC9C,uEAAqD;AACrD,6EAA2D;AAC3D,6EAA2D;AAC3D,+DAA6C;AAC7C,qEAAmD;AACnD,iEAA+C;AAC/C,uEAAqD;AACrD,6EAA2D;AAC3D,yEAAuD;AACvD,+EAA6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;
|
|
246
246
|
}
|
|
247
|
+
export interface IReportResourceAlertOrganizationParams {
|
|
248
|
+
organizationId: string;
|
|
249
|
+
}
|
|
250
|
+
export interface IReportResourceAlertOrganizationBody {
|
|
251
|
+
metric: BillingMetric;
|
|
252
|
+
resourceId: string;
|
|
253
|
+
resourceLabel: string;
|
|
254
|
+
threshold: number;
|
|
255
|
+
period: string;
|
|
256
|
+
actionUrl: string;
|
|
257
|
+
}
|
|
@@ -115,6 +115,10 @@ export interface IImportQuotaOrganizationData {
|
|
|
115
115
|
swept: number;
|
|
116
116
|
}
|
|
117
117
|
export type IImportQuotaOrganizationResponse = IResponse<IImportQuotaOrganizationData>;
|
|
118
|
+
export interface IReportResourceAlertOrganizationData {
|
|
119
|
+
sent: boolean;
|
|
120
|
+
}
|
|
121
|
+
export type IReportResourceAlertOrganizationResponse = IResponse<IReportResourceAlertOrganizationData>;
|
|
118
122
|
export interface ISetStorageSubtotalOrganizationData {
|
|
119
123
|
poolBytes: number;
|
|
120
124
|
limitBytes: number;
|
|
@@ -15,9 +15,9 @@ export interface IReportDataV1 {
|
|
|
15
15
|
durationMs: number;
|
|
16
16
|
scope: ReportScope;
|
|
17
17
|
services: AbyssService[];
|
|
18
|
+
failedServices?: AbyssService[];
|
|
18
19
|
};
|
|
19
20
|
services: Partial<Record<AbyssService, unknown>>;
|
|
20
|
-
lifetime: Partial<Record<AbyssService, unknown>>;
|
|
21
21
|
context: {
|
|
22
22
|
user?: {
|
|
23
23
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare enum MonitorChannelMailOutcome {
|
|
2
|
-
QUEUED = "QUEUED",
|
|
3
|
-
DUPLICATE = "DUPLICATE",
|
|
4
|
-
REFUSED = "REFUSED",
|
|
5
|
-
UNAVAILABLE = "UNAVAILABLE"
|
|
6
|
-
}
|
|
7
|
-
export declare enum MonitorChannelMailEvent {
|
|
8
|
-
OPENED = "OPENED",
|
|
9
|
-
ESCALATED = "ESCALATED",
|
|
10
|
-
REMINDER = "REMINDER",
|
|
11
|
-
RESOLVED = "RESOLVED"
|
|
12
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MonitorChannelMailEvent = exports.MonitorChannelMailOutcome = void 0;
|
|
4
|
-
var MonitorChannelMailOutcome;
|
|
5
|
-
(function (MonitorChannelMailOutcome) {
|
|
6
|
-
MonitorChannelMailOutcome["QUEUED"] = "QUEUED";
|
|
7
|
-
MonitorChannelMailOutcome["DUPLICATE"] = "DUPLICATE";
|
|
8
|
-
MonitorChannelMailOutcome["REFUSED"] = "REFUSED";
|
|
9
|
-
MonitorChannelMailOutcome["UNAVAILABLE"] = "UNAVAILABLE";
|
|
10
|
-
})(MonitorChannelMailOutcome || (exports.MonitorChannelMailOutcome = MonitorChannelMailOutcome = {}));
|
|
11
|
-
var MonitorChannelMailEvent;
|
|
12
|
-
(function (MonitorChannelMailEvent) {
|
|
13
|
-
MonitorChannelMailEvent["OPENED"] = "OPENED";
|
|
14
|
-
MonitorChannelMailEvent["ESCALATED"] = "ESCALATED";
|
|
15
|
-
MonitorChannelMailEvent["REMINDER"] = "REMINDER";
|
|
16
|
-
MonitorChannelMailEvent["RESOLVED"] = "RESOLVED";
|
|
17
|
-
})(MonitorChannelMailEvent || (exports.MonitorChannelMailEvent = MonitorChannelMailEvent = {}));
|
|
18
|
-
//# sourceMappingURL=monitor-channel-mail.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"monitor-channel-mail.enum.js","sourceRoot":"","sources":["../../../src/types/enum/monitor-channel-mail.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,yBASX;AATD,WAAY,yBAAyB;IAEnC,8CAAiB,CAAA;IAEjB,oDAAuB,CAAA;IAEvB,gDAAmB,CAAA;IAEnB,wDAA2B,CAAA;AAC7B,CAAC,EATW,yBAAyB,yCAAzB,yBAAyB,QASpC;AAGD,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,gDAAqB,CAAA;IACrB,gDAAqB,CAAA;AACvB,CAAC,EALW,uBAAuB,uCAAvB,uBAAuB,QAKlC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { EmailType, MonitorChannelMailEvent, UserLanguage } from '../../../enum';
|
|
2
|
-
export type MonitorChannelMailType = EmailType.MONITOR_CHANNEL_EMAIL_CONFIRM | EmailType.MONITOR_CHANNEL_EMAIL_ALERT;
|
|
3
|
-
export interface IMonitorChannelMailPayload {
|
|
4
|
-
channelName: string;
|
|
5
|
-
confirmUrl?: string;
|
|
6
|
-
expiresAt?: string;
|
|
7
|
-
event?: MonitorChannelMailEvent;
|
|
8
|
-
incidentTitle?: string;
|
|
9
|
-
severity?: string;
|
|
10
|
-
applicationName?: string;
|
|
11
|
-
environmentName?: string;
|
|
12
|
-
incidentStatus?: string;
|
|
13
|
-
durationSeconds?: number;
|
|
14
|
-
incidentUrl?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface IMonitorChannelMailRecipient {
|
|
17
|
-
email: string;
|
|
18
|
-
locale: UserLanguage;
|
|
19
|
-
idempotencyKey: string;
|
|
20
|
-
unsubscribeUrl: string;
|
|
21
|
-
oneClickUnsubscribeUrl: string;
|
|
22
|
-
}
|
|
23
|
-
export interface ISendMonitorChannelMailAdminBody {
|
|
24
|
-
type: MonitorChannelMailType;
|
|
25
|
-
organizationId: string;
|
|
26
|
-
projectId: string;
|
|
27
|
-
actorIp?: string;
|
|
28
|
-
payload: IMonitorChannelMailPayload;
|
|
29
|
-
recipient: IMonitorChannelMailRecipient;
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mailing-monitor-channel.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/mailing-monitor-channel.request.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MonitorChannelMailOutcome } from '../../../enum';
|
|
2
|
-
import { IResponse } from '../type-message/response';
|
|
3
|
-
export interface IMonitorChannelMailResult {
|
|
4
|
-
idempotencyKey: string;
|
|
5
|
-
outcome: MonitorChannelMailOutcome;
|
|
6
|
-
retryAfterSeconds?: number;
|
|
7
|
-
}
|
|
8
|
-
export interface ISendMonitorChannelMailAdminData {
|
|
9
|
-
available: boolean;
|
|
10
|
-
result: IMonitorChannelMailResult;
|
|
11
|
-
}
|
|
12
|
-
export type ISendMonitorChannelMailAdminResponse = IResponse<ISendMonitorChannelMailAdminData>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mailing-monitor-channel.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/mailing-monitor-channel.response.ts"],"names":[],"mappings":""}
|