@abyss-project/main 1.5.0 → 1.7.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/README.md +31 -31
- package/dist/api/billing-trial.admin.api.d.ts +5 -0
- package/dist/api/billing-trial.admin.api.js +17 -0
- package/dist/api/billing-trial.admin.api.js.map +1 -0
- package/dist/api/billing.api.d.ts +3 -1
- package/dist/api/billing.api.js +10 -1
- package/dist/api/billing.api.js.map +1 -1
- package/dist/api/daily-digest.admin.api.d.ts +2 -1
- package/dist/api/daily-digest.admin.api.js +5 -1
- package/dist/api/daily-digest.admin.api.js.map +1 -1
- package/dist/api/daily-digest.api.d.ts +2 -2
- package/dist/api/daily-digest.api.js +1 -1
- package/dist/api/daily-digest.api.js.map +1 -1
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/organization-billing.api.d.ts +7 -2
- package/dist/api/organization-billing.api.js +13 -1
- package/dist/api/organization-billing.api.js.map +1 -1
- package/dist/api/report-notification-audience.api.d.ts +3 -0
- package/dist/api/report-notification-audience.api.js +13 -0
- package/dist/api/report-notification-audience.api.js.map +1 -0
- package/dist/api/report-notification-subscription.api.d.ts +3 -0
- package/dist/api/report-notification-subscription.api.js +13 -0
- package/dist/api/report-notification-subscription.api.js.map +1 -0
- package/dist/api/user-billing.api.d.ts +3 -2
- package/dist/api/user-billing.api.js +7 -1
- package/dist/api/user-billing.api.js.map +1 -1
- package/dist/api/wrapped-report.admin.api.d.ts +1 -2
- package/dist/api/wrapped-report.admin.api.js +1 -5
- package/dist/api/wrapped-report.admin.api.js.map +1 -1
- package/dist/constants/billing-catalog.constants.js +9 -0
- package/dist/constants/billing-catalog.constants.js.map +1 -1
- package/dist/constants/enforcement-registry.constants.js +4 -0
- package/dist/constants/enforcement-registry.constants.js.map +1 -1
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.js +2 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/profile-picture.constants.d.ts +1 -0
- package/dist/constants/profile-picture.constants.js +5 -0
- package/dist/constants/profile-picture.constants.js.map +1 -0
- package/dist/constants/public-plans.constants.js +6 -0
- package/dist/constants/public-plans.constants.js.map +1 -1
- package/dist/constants/quota-metric-kind.constants.js +1 -0
- package/dist/constants/quota-metric-kind.constants.js.map +1 -1
- package/dist/constants/support-ticket.constants.d.ts +1 -0
- package/dist/constants/support-ticket.constants.js +5 -0
- package/dist/constants/support-ticket.constants.js.map +1 -0
- package/dist/index.d.ts +27 -1
- package/dist/index.js +27 -1
- package/dist/index.js.map +1 -1
- package/dist/types/enum/abyss-application-event.enum.d.ts +5 -0
- package/dist/types/enum/abyss-application-event.enum.js +5 -0
- package/dist/types/enum/abyss-application-event.enum.js.map +1 -1
- package/dist/types/enum/digest-period.enum.d.ts +4 -0
- package/dist/types/enum/digest-period.enum.js +9 -0
- package/dist/types/enum/digest-period.enum.js.map +1 -0
- package/dist/types/enum/email-type.enum.d.ts +4 -1
- package/dist/types/enum/email-type.enum.js +3 -0
- package/dist/types/enum/email-type.enum.js.map +1 -1
- package/dist/types/enum/index.d.ts +5 -0
- package/dist/types/enum/index.js +5 -0
- package/dist/types/enum/index.js.map +1 -1
- package/dist/types/enum/organization-billing.enum.d.ts +3 -1
- package/dist/types/enum/organization-billing.enum.js +2 -0
- package/dist/types/enum/organization-billing.enum.js.map +1 -1
- package/dist/types/enum/report-notification-audience-mode.enum.d.ts +4 -0
- package/dist/types/enum/report-notification-audience-mode.enum.js +9 -0
- package/dist/types/enum/report-notification-audience-mode.enum.js.map +1 -0
- package/dist/types/enum/report-notification-type.enum.d.ts +5 -0
- package/dist/types/enum/report-notification-type.enum.js +10 -0
- package/dist/types/enum/report-notification-type.enum.js.map +1 -0
- package/dist/types/enum/support-ticket.enum.d.ts +1 -0
- package/dist/types/enum/support-ticket.enum.js +2 -0
- package/dist/types/enum/support-ticket.enum.js.map +1 -1
- package/dist/types/enum/trial-grant-source.enum.d.ts +4 -0
- package/dist/types/enum/trial-grant-source.enum.js +9 -0
- package/dist/types/enum/trial-grant-source.enum.js.map +1 -0
- package/dist/types/enum/trial-request-kind.enum.d.ts +4 -0
- package/dist/types/enum/trial-request-kind.enum.js +9 -0
- package/dist/types/enum/trial-request-kind.enum.js.map +1 -0
- package/dist/types/enum/user-notification-category.enum.js +2 -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 +3 -1
- package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
- package/dist/types/interface/api/index.d.ts +8 -0
- package/dist/types/interface/api/index.js +8 -0
- package/dist/types/interface/api/index.js.map +1 -1
- package/dist/types/interface/api/requests/billing-trial.admin.request.d.ts +14 -0
- package/dist/types/interface/api/requests/billing-trial.admin.request.js +3 -0
- package/dist/types/interface/api/requests/billing-trial.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/billing-trial.request.d.ts +6 -0
- package/dist/types/{enum/file-scan-status.enum.js → interface/api/requests/billing-trial.request.js} +1 -1
- package/dist/types/interface/api/requests/billing-trial.request.js.map +1 -0
- package/dist/types/interface/api/requests/daily-digest.request.d.ts +11 -0
- package/dist/types/interface/api/requests/index.d.ts +2 -0
- package/dist/types/interface/api/requests/index.js +2 -0
- package/dist/types/interface/api/requests/index.js.map +1 -1
- package/dist/types/interface/api/requests/organization-billing.request.d.ts +12 -0
- package/dist/types/interface/api/requests/report-notification-audience.request.d.ts +14 -0
- package/dist/types/interface/api/requests/report-notification-audience.request.js +3 -0
- package/dist/types/interface/api/requests/report-notification-audience.request.js.map +1 -0
- package/dist/types/interface/api/requests/report-notification-subscription.request.d.ts +12 -0
- package/dist/types/interface/api/requests/report-notification-subscription.request.js +3 -0
- package/dist/types/interface/api/requests/report-notification-subscription.request.js.map +1 -0
- package/dist/types/interface/api/requests/support-ticket-admin.request.d.ts +1 -0
- package/dist/types/interface/api/requests/user-billing.request.d.ts +3 -0
- package/dist/types/interface/api/requests/wrapped-report.request.d.ts +0 -10
- package/dist/types/interface/api/responses/billing-trial.admin.response.d.ts +14 -0
- package/dist/types/interface/api/responses/billing-trial.admin.response.js +3 -0
- package/dist/types/interface/api/responses/billing-trial.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/billing-trial.response.d.ts +27 -0
- package/dist/types/interface/api/responses/billing-trial.response.js +3 -0
- package/dist/types/interface/api/responses/billing-trial.response.js.map +1 -0
- package/dist/types/interface/api/responses/index.d.ts +2 -0
- package/dist/types/interface/api/responses/index.js +2 -0
- package/dist/types/interface/api/responses/index.js.map +1 -1
- package/dist/types/interface/api/responses/organization-billing.response.d.ts +7 -0
- package/dist/types/interface/api/responses/report-notification-audience.response.d.ts +10 -0
- package/dist/types/interface/api/responses/report-notification-audience.response.js +3 -0
- package/dist/types/interface/api/responses/report-notification-audience.response.js.map +1 -0
- package/dist/types/interface/api/responses/report-notification-subscription.response.d.ts +10 -0
- package/dist/types/interface/api/responses/report-notification-subscription.response.js +3 -0
- package/dist/types/interface/api/responses/report-notification-subscription.response.js.map +1 -0
- package/dist/types/interface/api/responses/user-billing.response.d.ts +17 -1
- package/dist/types/interface/index.d.ts +4 -0
- package/dist/types/interface/index.js +4 -0
- package/dist/types/interface/index.js.map +1 -1
- package/dist/types/interface/models/billing-trial-grant.model.d.ts +13 -0
- package/dist/types/interface/models/billing-trial-grant.model.js +3 -0
- package/dist/types/interface/models/billing-trial-grant.model.js.map +1 -0
- package/dist/types/interface/models/daily-digest.model.d.ts +4 -0
- package/dist/types/interface/models/index.d.ts +1 -0
- package/dist/types/interface/models/index.js +1 -0
- package/dist/types/interface/models/index.js.map +1 -1
- package/dist/types/interface/models/report-notification-audience.model.d.ts +13 -0
- package/dist/types/interface/models/report-notification-audience.model.js +3 -0
- package/dist/types/interface/models/report-notification-audience.model.js.map +1 -0
- package/dist/types/interface/models/report-notification-subscription.model.d.ts +12 -0
- package/dist/types/interface/models/report-notification-subscription.model.js +3 -0
- package/dist/types/interface/models/report-notification-subscription.model.js.map +1 -0
- package/dist/types/interface/models/support-ticket.model.d.ts +1 -0
- package/dist/types/interface/models/wrapped-report.model.d.ts +1 -2
- package/dist/types/interface/models/wrapped-report.model.js +0 -1
- package/dist/types/interface/models/wrapped-report.model.js.map +1 -1
- package/dist/utils/resolve-user.utils.js +7 -11
- package/dist/utils/resolve-user.utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/enum/file-scan-status.enum.d.ts +0 -1
- package/dist/types/enum/file-scan-status.enum.js.map +0 -1
- package/dist/utils/encrypt-secret.util.d.ts +0 -3
- package/dist/utils/encrypt-secret.util.js +0 -43
- package/dist/utils/encrypt-secret.util.js.map +0 -1
|
@@ -24,6 +24,8 @@ export * from './requests/asset.request';
|
|
|
24
24
|
export * from './requests/wrapped-report.request';
|
|
25
25
|
export * from './requests/daily-digest.request';
|
|
26
26
|
export * from './requests/analytics-snapshot.request';
|
|
27
|
+
export * from './requests/report-notification-audience.request';
|
|
28
|
+
export * from './requests/report-notification-subscription.request';
|
|
27
29
|
export * from './responses/auth.response';
|
|
28
30
|
export * from './responses/user.response';
|
|
29
31
|
export * from './responses/user.admin.response';
|
|
@@ -48,6 +50,8 @@ export * from './responses/asset.response';
|
|
|
48
50
|
export * from './responses/wrapped-report.response';
|
|
49
51
|
export * from './responses/daily-digest.response';
|
|
50
52
|
export * from './responses/analytics-snapshot.response';
|
|
53
|
+
export * from './responses/report-notification-audience.response';
|
|
54
|
+
export * from './responses/report-notification-subscription.response';
|
|
51
55
|
export * from './requests/organization.admin.request';
|
|
52
56
|
export * from './responses/organization.admin.response';
|
|
53
57
|
export * from './requests/organization.request';
|
|
@@ -61,6 +65,10 @@ export * from './requests/billing-plan.request';
|
|
|
61
65
|
export * from './responses/billing-plan.response';
|
|
62
66
|
export * from './requests/billing-account.admin.request';
|
|
63
67
|
export * from './responses/billing-account.admin.response';
|
|
68
|
+
export * from './requests/billing-trial.admin.request';
|
|
69
|
+
export * from './responses/billing-trial.admin.response';
|
|
70
|
+
export * from './requests/billing-trial.request';
|
|
71
|
+
export * from './responses/billing-trial.response';
|
|
64
72
|
export * from './requests/billing-addon-template.request';
|
|
65
73
|
export * from './responses/billing-addon-template.response';
|
|
66
74
|
export * from './requests/team.request';
|
|
@@ -40,6 +40,8 @@ __exportStar(require("./requests/asset.request"), exports);
|
|
|
40
40
|
__exportStar(require("./requests/wrapped-report.request"), exports);
|
|
41
41
|
__exportStar(require("./requests/daily-digest.request"), exports);
|
|
42
42
|
__exportStar(require("./requests/analytics-snapshot.request"), exports);
|
|
43
|
+
__exportStar(require("./requests/report-notification-audience.request"), exports);
|
|
44
|
+
__exportStar(require("./requests/report-notification-subscription.request"), exports);
|
|
43
45
|
__exportStar(require("./responses/auth.response"), exports);
|
|
44
46
|
__exportStar(require("./responses/user.response"), exports);
|
|
45
47
|
__exportStar(require("./responses/user.admin.response"), exports);
|
|
@@ -64,6 +66,8 @@ __exportStar(require("./responses/asset.response"), exports);
|
|
|
64
66
|
__exportStar(require("./responses/wrapped-report.response"), exports);
|
|
65
67
|
__exportStar(require("./responses/daily-digest.response"), exports);
|
|
66
68
|
__exportStar(require("./responses/analytics-snapshot.response"), exports);
|
|
69
|
+
__exportStar(require("./responses/report-notification-audience.response"), exports);
|
|
70
|
+
__exportStar(require("./responses/report-notification-subscription.response"), exports);
|
|
67
71
|
__exportStar(require("./requests/organization.admin.request"), exports);
|
|
68
72
|
__exportStar(require("./responses/organization.admin.response"), exports);
|
|
69
73
|
__exportStar(require("./requests/organization.request"), exports);
|
|
@@ -77,6 +81,10 @@ __exportStar(require("./requests/billing-plan.request"), exports);
|
|
|
77
81
|
__exportStar(require("./responses/billing-plan.response"), exports);
|
|
78
82
|
__exportStar(require("./requests/billing-account.admin.request"), exports);
|
|
79
83
|
__exportStar(require("./responses/billing-account.admin.response"), exports);
|
|
84
|
+
__exportStar(require("./requests/billing-trial.admin.request"), exports);
|
|
85
|
+
__exportStar(require("./responses/billing-trial.admin.response"), exports);
|
|
86
|
+
__exportStar(require("./requests/billing-trial.request"), exports);
|
|
87
|
+
__exportStar(require("./responses/billing-trial.response"), exports);
|
|
80
88
|
__exportStar(require("./requests/billing-addon-template.request"), exports);
|
|
81
89
|
__exportStar(require("./responses/billing-addon-template.response"), exports);
|
|
82
90
|
__exportStar(require("./requests/team.request"), 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;AAE7C,0DAAwC;AACxC,0DAAwC;AACxC,gEAA8C;AAC9C,uEAAqD;AACrD,6EAA2D;AAC3D,6EAA2D;AAC3D,+DAA6C;AAC7C,qEAAmD;AACnD,iEAA+C;AAC/C,uEAAqD;AACrD,mEAAiD;AACjD,6DAA2C;AAC3C,0EAAwD;AACxD,oEAAkD;AAClD,6DAA2C;AAC3C,sEAAoD;AACpD,mEAAiD;AACjD,yEAAuD;AACvD,2DAAyC;AACzC,oEAAkD;AAClD,kEAAgD;AAChD,wEAAsD;
|
|
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,mEAAiD;AACjD,6DAA2C;AAC3C,0EAAwD;AACxD,oEAAkD;AAClD,6DAA2C;AAC3C,sEAAoD;AACpD,mEAAiD;AACjD,yEAAuD;AACvD,2DAAyC;AACzC,oEAAkD;AAClD,kEAAgD;AAChD,wEAAsD;AACtD,kFAAgE;AAChE,sFAAoE;AAEpE,4DAA0C;AAC1C,4DAA0C;AAC1C,kEAAgD;AAChD,yEAAuD;AACvD,+EAA6D;AAC7D,+EAA6D;AAC7D,iEAA+C;AAC/C,uEAAqD;AACrD,qEAAmD;AACnD,+DAA6C;AAC7C,mEAAiD;AACjD,yEAAuD;AACvD,qEAAmD;AACnD,+DAA6C;AAC7C,4EAA0D;AAC1D,sEAAoD;AACpD,+DAA6C;AAC7C,wEAAsD;AACtD,qEAAmD;AACnD,2EAAyD;AACzD,6DAA2C;AAC3C,sEAAoD;AACpD,oEAAkD;AAClD,0EAAwD;AACxD,oFAAkE;AAClE,wFAAsE;AAEtE,wEAAsD;AACtD,0EAAwD;AACxD,kEAAgD;AAChD,oEAAkD;AAClD,sFAAoE;AACpE,yEAAuD;AACvD,2EAAyD;AACzD,0EAAwD;AACxD,4EAA0D;AAC1D,kEAAgD;AAChD,oEAAkD;AAClD,2EAAyD;AACzD,6EAA2D;AAC3D,yEAAuD;AACvD,2EAAyD;AACzD,mEAAiD;AACjD,qEAAmD;AACnD,4EAA0D;AAC1D,8EAA4D;AAC5D,0DAAwC;AACxC,4DAA0C;AAC1C,qEAAmD;AACnD,uEAAqD;AAGrD,sEAAoD;AACpD,wEAAsD;AAEtD,kEAAgD;AAChD,oEAAkD;AAElD,oEAAkD;AAElD,mEAAiD;AACjD,qEAAmD;AAEnD,yEAAuD;AACvD,2EAAyD;AAEzD,oEAAkD;AAClD,wEAAsD;AACtD,0EAAwD;AACxD,sEAAoD;AAEpD,gEAA8C;AAC9C,kEAAgD;AAEhD,sEAAoD;AACpD,wEAAsD;AAEtD,yEAAuD;AACvD,2EAAyD;AAEzD,2EAAyD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IGrantTrialAdminBillingParams {
|
|
2
|
+
billingAccountId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface IGrantTrialAdminBillingBody {
|
|
5
|
+
days: number;
|
|
6
|
+
supportTicketId?: string;
|
|
7
|
+
idempotencyKey?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IRejectTrialRequestAdminBillingParams {
|
|
10
|
+
supportTicketId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IRejectTrialRequestAdminBillingBody {
|
|
13
|
+
reason: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-trial.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/billing-trial.admin.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-trial.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/billing-trial.request.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DigestPeriod } from '../../../enum';
|
|
1
2
|
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
3
|
export interface IDigestIdParams {
|
|
3
4
|
digestId: string;
|
|
@@ -9,13 +10,18 @@ export interface IDigestProjectIdDateParams {
|
|
|
9
10
|
projectId: string;
|
|
10
11
|
date: string;
|
|
11
12
|
}
|
|
13
|
+
export interface IDigestByDateQuery {
|
|
14
|
+
period?: DigestPeriod;
|
|
15
|
+
}
|
|
12
16
|
export interface IPaginateProjectDigestQuery extends QueryPaginate {
|
|
17
|
+
period?: DigestPeriod;
|
|
13
18
|
dateFrom?: string;
|
|
14
19
|
dateTo?: string;
|
|
15
20
|
}
|
|
16
21
|
export interface IPaginateDigestAdminQuery extends QueryPaginate {
|
|
17
22
|
projectId?: string;
|
|
18
23
|
organizationId?: string;
|
|
24
|
+
period?: DigestPeriod;
|
|
19
25
|
dateFrom?: string;
|
|
20
26
|
dateTo?: string;
|
|
21
27
|
}
|
|
@@ -24,3 +30,8 @@ export interface IGenerateDailyDigestAdminBody {
|
|
|
24
30
|
projectIds?: string[];
|
|
25
31
|
skipProjectIds?: string[];
|
|
26
32
|
}
|
|
33
|
+
export interface IGenerateMonthlyDigestAdminBody {
|
|
34
|
+
month?: string;
|
|
35
|
+
projectIds?: string[];
|
|
36
|
+
skipProjectIds?: string[];
|
|
37
|
+
}
|
|
@@ -5,6 +5,8 @@ export * from './auth.request';
|
|
|
5
5
|
export * from './billing-account.admin.request';
|
|
6
6
|
export * from './billing-addon-template.request';
|
|
7
7
|
export * from './billing-plan.request';
|
|
8
|
+
export * from './billing-trial.admin.request';
|
|
9
|
+
export * from './billing-trial.request';
|
|
8
10
|
export * from './billing.request';
|
|
9
11
|
export * from './content-share.request';
|
|
10
12
|
export * from './crash-report.public.request';
|
|
@@ -21,6 +21,8 @@ __exportStar(require("./auth.request"), exports);
|
|
|
21
21
|
__exportStar(require("./billing-account.admin.request"), exports);
|
|
22
22
|
__exportStar(require("./billing-addon-template.request"), exports);
|
|
23
23
|
__exportStar(require("./billing-plan.request"), exports);
|
|
24
|
+
__exportStar(require("./billing-trial.admin.request"), exports);
|
|
25
|
+
__exportStar(require("./billing-trial.request"), exports);
|
|
24
26
|
__exportStar(require("./billing.request"), exports);
|
|
25
27
|
__exportStar(require("./content-share.request"), exports);
|
|
26
28
|
__exportStar(require("./crash-report.public.request"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,wDAAsC;AACtC,kDAAgC;AAChC,iDAA+B;AAC/B,kEAAgD;AAChD,mEAAiD;AACjD,yDAAuC;AACvC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,uDAAqC;AACrC,0DAAwC;AACxC,6DAA2C;AAC3C,iEAA+C;AAC/C,6EAA2D;AAC3D,gEAA8C;AAC9C,+DAA6C;AAC7C,yDAAuC;AACvC,iEAA+C;AAC/C,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,0DAAwC;AACxC,oDAAkC;AAClC,iEAA+C;AAC/C,+DAA6C;AAC7C,2DAAyC;AACzC,iDAA+B;AAC/B,gEAA8C;AAC9C,yDAAuC;AACvC,oEAAkD;AAClD,8DAA4C;AAC5C,uDAAqC;AACrC,iDAA+B;AAC/B,6DAA2C;AAC3C,gEAA8C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,wDAAsC;AACtC,kDAAgC;AAChC,iDAA+B;AAC/B,kEAAgD;AAChD,mEAAiD;AACjD,yDAAuC;AACvC,gEAA8C;AAC9C,0DAAwC;AACxC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,uDAAqC;AACrC,0DAAwC;AACxC,6DAA2C;AAC3C,iEAA+C;AAC/C,6EAA2D;AAC3D,gEAA8C;AAC9C,+DAA6C;AAC7C,yDAAuC;AACvC,iEAA+C;AAC/C,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,0DAAwC;AACxC,oDAAkC;AAClC,iEAA+C;AAC/C,+DAA6C;AAC7C,2DAAyC;AACzC,iDAA+B;AAC/B,gEAA8C;AAC9C,yDAAuC;AACvC,oEAAkD;AAClD,8DAA4C;AAC5C,uDAAqC;AACrC,iDAA+B;AAC/B,6DAA2C;AAC3C,gEAA8C"}
|
|
@@ -20,9 +20,21 @@ export interface IUpdateBillingInfoOrganizationBody {
|
|
|
20
20
|
export interface ISubscribePlanOrganizationParams {
|
|
21
21
|
organizationId: string;
|
|
22
22
|
}
|
|
23
|
+
export interface IPreviewPlanChangeOrganizationParams {
|
|
24
|
+
organizationId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IPreviewPlanChangeOrganizationQuery {
|
|
27
|
+
planTemplateId: string;
|
|
28
|
+
}
|
|
23
29
|
export interface ICreatePlanRequestOrganizationParams {
|
|
24
30
|
organizationId: string;
|
|
25
31
|
}
|
|
32
|
+
export interface IRequestTrialOrganizationParams {
|
|
33
|
+
organizationId: string;
|
|
34
|
+
}
|
|
35
|
+
export interface IGetTrialRequestStateOrganizationParams {
|
|
36
|
+
organizationId: string;
|
|
37
|
+
}
|
|
26
38
|
export interface ICancelScheduledDowngradeOrganizationParams {
|
|
27
39
|
organizationId: string;
|
|
28
40
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReportAudienceMode } from '../../../enum/report-notification-audience-mode.enum';
|
|
2
|
+
import { ReportNotificationType } from '../../../enum/report-notification-type.enum';
|
|
3
|
+
import { ReportScope } from '../../models/wrapped-report.model';
|
|
4
|
+
export interface IListReportNotificationAudienceQuery {
|
|
5
|
+
scope: ReportScope;
|
|
6
|
+
scopeId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IUpsertReportNotificationAudienceBody {
|
|
9
|
+
scope: ReportScope;
|
|
10
|
+
scopeId: string;
|
|
11
|
+
reportType: ReportNotificationType;
|
|
12
|
+
mode: ReportAudienceMode;
|
|
13
|
+
memberUserIds: string[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-notification-audience.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/report-notification-audience.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReportNotificationType } from '../../../enum/report-notification-type.enum';
|
|
2
|
+
import { ReportScope } from '../../models/wrapped-report.model';
|
|
3
|
+
export interface IListReportNotificationSubscriptionQuery {
|
|
4
|
+
scope: ReportScope;
|
|
5
|
+
scopeId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ISetReportNotificationSubscriptionBody {
|
|
8
|
+
scope: ReportScope;
|
|
9
|
+
scopeId: string;
|
|
10
|
+
reportType: ReportNotificationType;
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-notification-subscription.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/report-notification-subscription.request.ts"],"names":[],"mappings":""}
|
|
@@ -62,6 +62,7 @@ export interface ICreateSupportTicketAdminBody {
|
|
|
62
62
|
service?: AbyssService | null;
|
|
63
63
|
contextType?: string | null;
|
|
64
64
|
contextId?: string | null;
|
|
65
|
+
contextData?: Record<string, unknown> | null;
|
|
65
66
|
}
|
|
66
67
|
export interface ICreateSupportTicketAttachmentAdminParams {
|
|
67
68
|
supportTicketId: string;
|
|
@@ -27,6 +27,9 @@ export interface ISubscribeUserPlanBody {
|
|
|
27
27
|
creditAmount?: number;
|
|
28
28
|
eurAmount?: number;
|
|
29
29
|
}
|
|
30
|
+
export interface IPreviewUserPlanChangeQuery {
|
|
31
|
+
planTemplateId: string;
|
|
32
|
+
}
|
|
30
33
|
export interface ICheckUserQuotaBody {
|
|
31
34
|
service: BillingService;
|
|
32
35
|
metric: BillingMetric;
|
|
@@ -29,13 +29,3 @@ export interface IGenerateYearlyWrappedAdminBody {
|
|
|
29
29
|
skipProjectIds?: string[];
|
|
30
30
|
skipOrganizationIds?: string[];
|
|
31
31
|
}
|
|
32
|
-
export interface IGenerateMonthlyWrappedAdminBody {
|
|
33
|
-
year: number;
|
|
34
|
-
month: number;
|
|
35
|
-
userIds?: string[];
|
|
36
|
-
projectIds?: string[];
|
|
37
|
-
organizationIds?: string[];
|
|
38
|
-
skipUserIds?: string[];
|
|
39
|
-
skipProjectIds?: string[];
|
|
40
|
-
skipOrganizationIds?: string[];
|
|
41
|
-
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
import { IBillingAccount } from '../../models/billing-account.model';
|
|
3
|
+
import { IBillingTrialGrant } from '../../models/billing-trial-grant.model';
|
|
4
|
+
export interface IBackfillTrialAdminBillingData {
|
|
5
|
+
inserted: number;
|
|
6
|
+
skipped: number;
|
|
7
|
+
}
|
|
8
|
+
export type IBackfillTrialAdminBillingResponse = IResponse<IBackfillTrialAdminBillingData>;
|
|
9
|
+
export interface IGrantTrialAdminBillingData {
|
|
10
|
+
billingAccount: IBillingAccount;
|
|
11
|
+
grant: IBillingTrialGrant;
|
|
12
|
+
}
|
|
13
|
+
export type IGrantTrialAdminBillingResponse = IResponse<IGrantTrialAdminBillingData>;
|
|
14
|
+
export type IRejectTrialRequestAdminBillingResponse = IResponse<Record<string, never>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-trial.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/billing-trial.admin.response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
import { TrialRequestKind } from '../../../enum';
|
|
3
|
+
export interface IRequestTrialBillingData {
|
|
4
|
+
supportTicketId: string;
|
|
5
|
+
}
|
|
6
|
+
export type IRequestTrialBillingResponse = IResponse<IRequestTrialBillingData>;
|
|
7
|
+
export interface IPendingTrialRequestDetails {
|
|
8
|
+
requestedDays: number;
|
|
9
|
+
kind: TrialRequestKind;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ITrialStatus {
|
|
13
|
+
active: boolean;
|
|
14
|
+
endsAt: string;
|
|
15
|
+
daysRemaining: number | null;
|
|
16
|
+
planName: string | null;
|
|
17
|
+
endingSoon: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface IGetTrialRequestStateBillingData {
|
|
20
|
+
pending: boolean;
|
|
21
|
+
supportTicketId: string | null;
|
|
22
|
+
canRequestExtension: boolean;
|
|
23
|
+
canRequestNewTrial: boolean;
|
|
24
|
+
pendingRequest: IPendingTrialRequestDetails | null;
|
|
25
|
+
trial: ITrialStatus | null;
|
|
26
|
+
}
|
|
27
|
+
export type IGetTrialRequestStateBillingResponse = IResponse<IGetTrialRequestStateBillingData>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-trial.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/billing-trial.response.ts"],"names":[],"mappings":""}
|
|
@@ -5,6 +5,8 @@ export * from './auth.response';
|
|
|
5
5
|
export * from './billing-account.admin.response';
|
|
6
6
|
export * from './billing-addon-template.response';
|
|
7
7
|
export * from './billing-plan.response';
|
|
8
|
+
export * from './billing-trial.admin.response';
|
|
9
|
+
export * from './billing-trial.response';
|
|
8
10
|
export * from './billing.response';
|
|
9
11
|
export * from './config.admin.response';
|
|
10
12
|
export * from './content-share.response';
|
|
@@ -21,6 +21,8 @@ __exportStar(require("./auth.response"), exports);
|
|
|
21
21
|
__exportStar(require("./billing-account.admin.response"), exports);
|
|
22
22
|
__exportStar(require("./billing-addon-template.response"), exports);
|
|
23
23
|
__exportStar(require("./billing-plan.response"), exports);
|
|
24
|
+
__exportStar(require("./billing-trial.admin.response"), exports);
|
|
25
|
+
__exportStar(require("./billing-trial.response"), exports);
|
|
24
26
|
__exportStar(require("./billing.response"), exports);
|
|
25
27
|
__exportStar(require("./config.admin.response"), exports);
|
|
26
28
|
__exportStar(require("./content-share.response"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,yDAAuC;AACvC,mDAAiC;AACjC,kDAAgC;AAChC,mEAAiD;AACjD,oEAAkD;AAClD,0DAAwC;AACxC,qDAAmC;AACnC,0DAAwC;AACxC,2DAAyC;AACzC,iEAA+C;AAC/C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,8DAA4C;AAC5C,kEAAgD;AAChD,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,kEAAgD;AAChD,4DAA0C;AAC1C,6DAA2C;AAC3C,8DAA4C;AAC5C,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,iEAA+C;AAC/C,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,yDAAuC;AACvC,mDAAiC;AACjC,kDAAgC;AAChC,mEAAiD;AACjD,oEAAkD;AAClD,0DAAwC;AACxC,iEAA+C;AAC/C,2DAAyC;AACzC,qDAAmC;AACnC,0DAAwC;AACxC,2DAAyC;AACzC,iEAA+C;AAC/C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,8DAA4C;AAC5C,kEAAgD;AAChD,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,kEAAgD;AAChD,4DAA0C;AAC1C,6DAA2C;AAC3C,8DAA4C;AAC5C,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,iEAA+C;AAC/C,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IBillingAccount } from '../../models/billing-account.model';
|
|
2
|
+
import { IPlanChangeOverMetric } from './user-billing.response';
|
|
2
3
|
import { IBillingQuotaCap } from '../../models/billing-quota-cap.model';
|
|
3
4
|
import { ICreditTransaction } from '../../models/credit-transaction.model';
|
|
4
5
|
import { IInvoice } from '../../models/invoice.model';
|
|
@@ -31,6 +32,12 @@ export interface ISubscribePlanOrganizationData {
|
|
|
31
32
|
checkoutUrl?: string | null;
|
|
32
33
|
}
|
|
33
34
|
export type ISubscribePlanOrganizationResponse = IResponse<ISubscribePlanOrganizationData>;
|
|
35
|
+
export interface IPreviewOrganizationPlanChangeData {
|
|
36
|
+
hasCard: boolean;
|
|
37
|
+
effectiveDate: string;
|
|
38
|
+
overMetrics: IPlanChangeOverMetric[];
|
|
39
|
+
}
|
|
40
|
+
export type IPreviewOrganizationPlanChangeResponse = IResponse<IPreviewOrganizationPlanChangeData>;
|
|
34
41
|
export interface IListInvoicesOrganizationData {
|
|
35
42
|
invoices: IInvoice[];
|
|
36
43
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IReportNotificationAudience } from '../../models/report-notification-audience.model';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
export interface IListReportNotificationAudienceData {
|
|
4
|
+
audiences: IReportNotificationAudience[];
|
|
5
|
+
}
|
|
6
|
+
export type IListReportNotificationAudienceResponse = IResponse<IListReportNotificationAudienceData>;
|
|
7
|
+
export interface IUpsertReportNotificationAudienceData {
|
|
8
|
+
audience: IReportNotificationAudience;
|
|
9
|
+
}
|
|
10
|
+
export type IUpsertReportNotificationAudienceResponse = IResponse<IUpsertReportNotificationAudienceData>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-notification-audience.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/report-notification-audience.response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IReportNotificationSubscription } from '../../models/report-notification-subscription.model';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
export interface IListReportNotificationSubscriptionData {
|
|
4
|
+
subscriptions: IReportNotificationSubscription[];
|
|
5
|
+
}
|
|
6
|
+
export type IListReportNotificationSubscriptionResponse = IResponse<IListReportNotificationSubscriptionData>;
|
|
7
|
+
export interface ISetReportNotificationSubscriptionData {
|
|
8
|
+
subscription: IReportNotificationSubscription;
|
|
9
|
+
}
|
|
10
|
+
export type ISetReportNotificationSubscriptionResponse = IResponse<ISetReportNotificationSubscriptionData>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-notification-subscription.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/report-notification-subscription.response.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BillingMetric } from '../../../enum';
|
|
1
|
+
import { BillingMetric, BillingService } from '../../../enum';
|
|
2
2
|
import { IBillingAccount } from '../../models/billing-account.model';
|
|
3
3
|
import { IBillingQuotaCap } from '../../models/billing-quota-cap.model';
|
|
4
4
|
import { IStorageBreakdown } from '../../models/storage-subtotal.model';
|
|
@@ -28,6 +28,22 @@ export interface ISubscribeUserPlanData {
|
|
|
28
28
|
checkoutUrl?: string | null;
|
|
29
29
|
}
|
|
30
30
|
export type ISubscribeUserPlanResponse = IResponse<ISubscribeUserPlanData>;
|
|
31
|
+
export interface IPlanChangeOverMetric {
|
|
32
|
+
service: BillingService;
|
|
33
|
+
metric: BillingMetric;
|
|
34
|
+
unit: string;
|
|
35
|
+
current: number;
|
|
36
|
+
limit: number;
|
|
37
|
+
overage: number;
|
|
38
|
+
pricePerUnitEur: number;
|
|
39
|
+
estimateEur: number;
|
|
40
|
+
}
|
|
41
|
+
export interface IPreviewUserPlanChangeData {
|
|
42
|
+
hasCard: boolean;
|
|
43
|
+
effectiveDate: string;
|
|
44
|
+
overMetrics: IPlanChangeOverMetric[];
|
|
45
|
+
}
|
|
46
|
+
export type IPreviewUserPlanChangeResponse = IResponse<IPreviewUserPlanChangeData>;
|
|
31
47
|
export interface IListUserInvoicesData {
|
|
32
48
|
invoices: IInvoice[];
|
|
33
49
|
}
|
|
@@ -18,6 +18,8 @@ export * from './models/report.model';
|
|
|
18
18
|
export * from './models/wrapped-report.model';
|
|
19
19
|
export * from './models/daily-digest.model';
|
|
20
20
|
export * from './models/analytics-snapshot.model';
|
|
21
|
+
export * from './models/report-notification-audience.model';
|
|
22
|
+
export * from './models/report-notification-subscription.model';
|
|
21
23
|
export * from './models/organization.model';
|
|
22
24
|
export * from './models/organization-integration.model';
|
|
23
25
|
export * from './models/organization-member.model';
|
|
@@ -36,6 +38,7 @@ export * from './models/billing-plan-request.model';
|
|
|
36
38
|
export * from './models/billing-quota-cap.model';
|
|
37
39
|
export * from './models/quota-reservation.model';
|
|
38
40
|
export * from './models/storage-subtotal.model';
|
|
41
|
+
export * from './models/billing-trial-grant.model';
|
|
39
42
|
export * from './models/billing-daily-snapshot.model';
|
|
40
43
|
export * from './models/webhook-event.model';
|
|
41
44
|
export * from './models/ledger-entry.model';
|
|
@@ -49,6 +52,7 @@ export * from './models/project-api-key-application-access.model';
|
|
|
49
52
|
export * from './models/personal-api-key.model';
|
|
50
53
|
export * from './models/content-ownership.model';
|
|
51
54
|
export * from './models/content-share.model';
|
|
55
|
+
export * from './models/file-scan-status.dto';
|
|
52
56
|
export * from './models/support-ticket.model';
|
|
53
57
|
export * from './models/support-ticket-message.model';
|
|
54
58
|
export * from './models/support-ticket-attachment.model';
|
|
@@ -34,6 +34,8 @@ __exportStar(require("./models/report.model"), exports);
|
|
|
34
34
|
__exportStar(require("./models/wrapped-report.model"), exports);
|
|
35
35
|
__exportStar(require("./models/daily-digest.model"), exports);
|
|
36
36
|
__exportStar(require("./models/analytics-snapshot.model"), exports);
|
|
37
|
+
__exportStar(require("./models/report-notification-audience.model"), exports);
|
|
38
|
+
__exportStar(require("./models/report-notification-subscription.model"), exports);
|
|
37
39
|
__exportStar(require("./models/organization.model"), exports);
|
|
38
40
|
__exportStar(require("./models/organization-integration.model"), exports);
|
|
39
41
|
__exportStar(require("./models/organization-member.model"), exports);
|
|
@@ -52,6 +54,7 @@ __exportStar(require("./models/billing-plan-request.model"), exports);
|
|
|
52
54
|
__exportStar(require("./models/billing-quota-cap.model"), exports);
|
|
53
55
|
__exportStar(require("./models/quota-reservation.model"), exports);
|
|
54
56
|
__exportStar(require("./models/storage-subtotal.model"), exports);
|
|
57
|
+
__exportStar(require("./models/billing-trial-grant.model"), exports);
|
|
55
58
|
__exportStar(require("./models/billing-daily-snapshot.model"), exports);
|
|
56
59
|
__exportStar(require("./models/webhook-event.model"), exports);
|
|
57
60
|
__exportStar(require("./models/ledger-entry.model"), exports);
|
|
@@ -65,6 +68,7 @@ __exportStar(require("./models/project-api-key-application-access.model"), expor
|
|
|
65
68
|
__exportStar(require("./models/personal-api-key.model"), exports);
|
|
66
69
|
__exportStar(require("./models/content-ownership.model"), exports);
|
|
67
70
|
__exportStar(require("./models/content-share.model"), exports);
|
|
71
|
+
__exportStar(require("./models/file-scan-status.dto"), exports);
|
|
68
72
|
__exportStar(require("./models/support-ticket.model"), exports);
|
|
69
73
|
__exportStar(require("./models/support-ticket-message.model"), exports);
|
|
70
74
|
__exportStar(require("./models/support-ticket-attachment.model"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,yDAAuC;AACvC,gEAA8C;AAC9C,4EAA0D;AAC1D,6DAA2C;AAC3C,mEAAiD;AACjD,yEAAuD;AACvD,+DAA6C;AAC7C,+DAA6C;AAC7C,8DAA4C;AAC5C,mEAAiD;AACjD,oEAAkD;AAGlD,2DAAyC;AACzC,sEAAoD;AAGpD,wCAAsB;AAGtB,uDAAqC;AAGrC,wDAAsC;AACtC,gEAA8C;AAC9C,8DAA4C;AAC5C,oEAAkD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,yDAAuC;AACvC,gEAA8C;AAC9C,4EAA0D;AAC1D,6DAA2C;AAC3C,mEAAiD;AACjD,yEAAuD;AACvD,+DAA6C;AAC7C,+DAA6C;AAC7C,8DAA4C;AAC5C,mEAAiD;AACjD,oEAAkD;AAGlD,2DAAyC;AACzC,sEAAoD;AAGpD,wCAAsB;AAGtB,uDAAqC;AAGrC,wDAAsC;AACtC,gEAA8C;AAC9C,8DAA4C;AAC5C,oEAAkD;AAClD,8EAA4D;AAC5D,kFAAgE;AAGhE,8DAA4C;AAC5C,0EAAwD;AACxD,qEAAmD;AAGnD,+DAA6C;AAC7C,iEAA+C;AAC/C,4EAA0D;AAC1D,4EAA0D;AAC1D,8DAA4C;AAC5C,yDAAuC;AACvC,oEAAkD;AAClD,iEAA+C;AAC/C,0EAAwD;AACxD,6DAA2C;AAC3C,wEAAsD;AACtD,sEAAoD;AACpD,mEAAiD;AACjD,mEAAiD;AACjD,kEAAgD;AAChD,qEAAmD;AACnD,wEAAsD;AACtD,+DAA6C;AAC7C,8DAA4C;AAC5C,qEAAmD;AACnD,sDAAoC;AACpC,6DAA2C;AAC3C,qEAAmD;AACnD,iFAA+D;AAC/D,iEAA+C;AAC/C,oFAAkE;AAGlE,kEAAgD;AAGhD,mEAAiD;AAGjD,+DAA6C;AAO7C,gEAA8C;AAG9C,gEAA8C;AAC9C,wEAAsD;AACtD,2EAAyD;AACzD,oEAAkD;AAClD,yEAAuD;AAGvD,4DAA0C;AAG1C,4DAA0C;AAG1C,qEAAmD;AAGnD,qEAAmD;AAGnD,kEAAgD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TrialGrantSource } from '../../enum';
|
|
2
|
+
export interface IBillingTrialGrant {
|
|
3
|
+
id: string;
|
|
4
|
+
billingAccountId: string;
|
|
5
|
+
days: number;
|
|
6
|
+
startedAt: Date;
|
|
7
|
+
endsAt: Date;
|
|
8
|
+
source: TrialGrantSource;
|
|
9
|
+
grantedByAdminId: string | null;
|
|
10
|
+
supportTicketId: string | null;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-trial-grant.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/billing-trial-grant.model.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { DigestPeriod } from '../../enum';
|
|
1
2
|
import { IReportDataV1 } from './wrapped-report.model';
|
|
2
3
|
export interface IDailyDigest {
|
|
3
4
|
id: string;
|
|
4
5
|
projectId: string;
|
|
5
6
|
organizationId: string;
|
|
7
|
+
period: DigestPeriod;
|
|
8
|
+
periodStart: Date;
|
|
9
|
+
periodEnd: Date;
|
|
6
10
|
date: Date;
|
|
7
11
|
data: IReportDataV1;
|
|
8
12
|
dataVersion: number;
|
|
@@ -31,6 +31,7 @@ export * from './billing-plan-request.model';
|
|
|
31
31
|
export * from './billing-quota-cap.model';
|
|
32
32
|
export * from './quota-reservation.model';
|
|
33
33
|
export * from './storage-subtotal.model';
|
|
34
|
+
export * from './billing-trial-grant.model';
|
|
34
35
|
export * from './billing-daily-snapshot.model';
|
|
35
36
|
export * from './webhook-event.model';
|
|
36
37
|
export * from './ledger-entry.model';
|
|
@@ -47,6 +47,7 @@ __exportStar(require("./billing-plan-request.model"), exports);
|
|
|
47
47
|
__exportStar(require("./billing-quota-cap.model"), exports);
|
|
48
48
|
__exportStar(require("./quota-reservation.model"), exports);
|
|
49
49
|
__exportStar(require("./storage-subtotal.model"), exports);
|
|
50
|
+
__exportStar(require("./billing-trial-grant.model"), exports);
|
|
50
51
|
__exportStar(require("./billing-daily-snapshot.model"), exports);
|
|
51
52
|
__exportStar(require("./webhook-event.model"), exports);
|
|
52
53
|
__exportStar(require("./ledger-entry.model"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,yDAAuC;AACvC,qEAAmD;AACnD,sDAAoC;AACpC,4DAA0C;AAC1C,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAG3C,oDAAkC;AAClC,+DAA6C;AAG7C,gDAA8B;AAG9B,iDAA+B;AAG/B,uDAAqC;AACrC,mEAAiD;AACjD,8DAA4C;AAG5C,wDAAsC;AACtC,0DAAwC;AACxC,qEAAmD;AACnD,qEAAmD;AACnD,uDAAqC;AACrC,kDAAgC;AAChC,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,iEAA+C;AAC/C,+DAA6C;AAC7C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,iEAA+C;AAC/C,wDAAsC;AACtC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,sDAAoC;AACpC,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6EAA2D;AAG3D,2DAAyC;AAGzC,4DAA0C;AAG1C,wDAAsC;AAGtC,yDAAuC;AACvC,iEAA+C;AAC/C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAGhD,qDAAmC;AAGnC,qDAAmC;AAGnC,8DAA4C;AAG5C,8DAA4C;AAG5C,2DAAyC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,yDAAuC;AACvC,qEAAmD;AACnD,sDAAoC;AACpC,4DAA0C;AAC1C,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAG3C,oDAAkC;AAClC,+DAA6C;AAG7C,gDAA8B;AAG9B,iDAA+B;AAG/B,uDAAqC;AACrC,mEAAiD;AACjD,8DAA4C;AAG5C,wDAAsC;AACtC,0DAAwC;AACxC,qEAAmD;AACnD,qEAAmD;AACnD,uDAAqC;AACrC,kDAAgC;AAChC,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,iEAA+C;AAC/C,+DAA6C;AAC7C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,8DAA4C;AAC5C,iEAA+C;AAC/C,wDAAsC;AACtC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,sDAAoC;AACpC,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6EAA2D;AAG3D,2DAAyC;AAGzC,4DAA0C;AAG1C,wDAAsC;AAGtC,yDAAuC;AACvC,iEAA+C;AAC/C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAGhD,qDAAmC;AAGnC,qDAAmC;AAGnC,8DAA4C;AAG5C,8DAA4C;AAG5C,2DAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReportAudienceMode } from '../../enum/report-notification-audience-mode.enum';
|
|
2
|
+
import { ReportNotificationType } from '../../enum/report-notification-type.enum';
|
|
3
|
+
import { ReportScope } from './wrapped-report.model';
|
|
4
|
+
export interface IReportNotificationAudience {
|
|
5
|
+
id: string;
|
|
6
|
+
scope: ReportScope;
|
|
7
|
+
scopeId: string;
|
|
8
|
+
reportType: ReportNotificationType;
|
|
9
|
+
mode: ReportAudienceMode;
|
|
10
|
+
memberUserIds: string[];
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-notification-audience.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/report-notification-audience.model.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReportNotificationType } from '../../enum/report-notification-type.enum';
|
|
2
|
+
import { ReportScope } from './wrapped-report.model';
|
|
3
|
+
export interface IReportNotificationSubscription {
|
|
4
|
+
id: string;
|
|
5
|
+
userId: string;
|
|
6
|
+
scope: ReportScope;
|
|
7
|
+
scopeId: string;
|
|
8
|
+
reportType: ReportNotificationType;
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
updatedAt?: Date;
|
|
12
|
+
}
|