@abyss-project/main 42.7.0 → 42.8.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/index.d.ts +0 -3
- package/dist/api/index.js +0 -3
- package/dist/api/index.js.map +1 -1
- package/dist/api/oauth-authorization-request.api.d.ts +2 -3
- package/dist/api/oauth-authorization-request.api.js +1 -5
- package/dist/api/oauth-authorization-request.api.js.map +1 -1
- package/dist/api/organization-billing.api.d.ts +8 -1
- package/dist/api/organization-billing.api.js +23 -3
- package/dist/api/organization-billing.api.js.map +1 -1
- package/dist/api/tests/sdk-resource-alert.spec.js +2 -1
- package/dist/api/tests/sdk-resource-alert.spec.js.map +1 -1
- package/dist/api/user-billing.api.d.ts +8 -1
- package/dist/api/user-billing.api.js +28 -4
- package/dist/api/user-billing.api.js.map +1 -1
- package/dist/constants/index.d.ts +0 -1
- package/dist/constants/index.js +0 -1
- package/dist/constants/index.js.map +1 -1
- package/dist/index.d.ts +10 -19
- package/dist/index.js +10 -19
- package/dist/index.js.map +1 -1
- package/dist/permissions/ability.d.ts +1 -1
- package/dist/permissions/ability.js +0 -2
- package/dist/permissions/ability.js.map +1 -1
- package/dist/permissions/tests/ability.spec.js +0 -17
- package/dist/permissions/tests/ability.spec.js.map +1 -1
- package/dist/server/api-cors.util.d.ts +0 -8
- package/dist/server/api-cors.util.js +1 -83
- package/dist/server/api-cors.util.js.map +1 -1
- package/dist/server/index.d.ts +0 -3
- package/dist/server/index.js +0 -3
- package/dist/server/index.js.map +1 -1
- package/dist/translate/en.translate.d.ts +12 -0
- package/dist/translate/en.translate.js +12 -0
- package/dist/translate/en.translate.js.map +1 -1
- package/dist/translate/fr.translate.d.ts +12 -0
- package/dist/translate/fr.translate.js +12 -0
- package/dist/translate/fr.translate.js.map +1 -1
- package/dist/types/enum/abyss-application-event.enum.d.ts +3 -0
- package/dist/types/enum/abyss-application-event.enum.js +3 -0
- package/dist/types/enum/abyss-application-event.enum.js.map +1 -1
- package/dist/types/enum/api-error.enum.d.ts +0 -1
- package/dist/types/enum/api-error.enum.js +0 -1
- package/dist/types/enum/api-error.enum.js.map +1 -1
- package/dist/types/enum/email-type.enum.d.ts +3 -0
- 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/form-file-upload-refusal-reason.enum.d.ts +4 -0
- package/dist/types/enum/form-file-upload-refusal-reason.enum.js +9 -0
- package/dist/types/enum/form-file-upload-refusal-reason.enum.js.map +1 -0
- package/dist/types/enum/index.d.ts +2 -1
- package/dist/types/enum/index.js +2 -1
- package/dist/types/enum/index.js.map +1 -1
- package/dist/types/enum/project-access-permission.enum.d.ts +1 -2
- package/dist/types/enum/project-access-permission.enum.js +0 -1
- package/dist/types/enum/project-access-permission.enum.js.map +1 -1
- package/dist/types/enum/resource-alert-kind.enum.d.ts +2 -1
- package/dist/types/enum/resource-alert-kind.enum.js +1 -0
- package/dist/types/enum/resource-alert-kind.enum.js.map +1 -1
- package/dist/types/enum/storage-element.enum.d.ts +31 -0
- package/dist/types/enum/storage-element.enum.js +40 -0
- package/dist/types/enum/storage-element.enum.js.map +1 -0
- package/dist/types/enum/user-notification-category.enum.js +3 -0
- package/dist/types/enum/user-notification-category.enum.js.map +1 -1
- package/dist/types/enum/user-notification-content-type.enum.d.ts +36 -0
- package/dist/types/enum/user-notification-content-type.enum.js +4 -1
- package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
- package/dist/types/interface/api/index.d.ts +2 -5
- package/dist/types/interface/api/index.js +2 -5
- package/dist/types/interface/api/index.js.map +1 -1
- package/dist/types/interface/api/requests/billing-module.request.d.ts +2 -0
- package/dist/types/interface/api/requests/index.d.ts +0 -2
- package/dist/types/interface/api/requests/index.js +0 -2
- package/dist/types/interface/api/requests/index.js.map +1 -1
- package/dist/types/interface/api/requests/oauth-authorization-request.request.d.ts +0 -3
- package/dist/types/interface/api/requests/organization-billing.request.d.ts +2 -1
- package/dist/types/interface/api/requests/storage-element.request.d.ts +38 -0
- package/dist/types/interface/api/{responses/oauth-userinfo.response.js → requests/storage-element.request.js} +1 -1
- package/dist/types/interface/api/requests/storage-element.request.js.map +1 -0
- package/dist/types/interface/api/requests/user-billing.request.d.ts +2 -1
- package/dist/types/interface/api/responses/index.d.ts +0 -3
- package/dist/types/interface/api/responses/index.js +0 -3
- package/dist/types/interface/api/responses/index.js.map +1 -1
- package/dist/types/interface/api/responses/oauth-authorization-request.response.d.ts +2 -24
- package/dist/types/interface/api/responses/organization-billing.response.d.ts +2 -0
- package/dist/types/interface/api/responses/storage-element.response.d.ts +17 -0
- package/dist/types/interface/api/{requests/oauth-application.request.js → responses/storage-element.response.js} +1 -1
- package/dist/types/interface/api/responses/storage-element.response.js.map +1 -0
- package/dist/types/interface/api/responses/user-billing.response.d.ts +2 -1
- package/dist/types/interface/index.d.ts +2 -0
- package/dist/types/interface/index.js +2 -0
- package/dist/types/interface/index.js.map +1 -1
- package/dist/types/interface/mcp/mcp-oauth.d.ts +0 -2
- package/dist/types/interface/models/billing-account-addon.model.d.ts +2 -1
- package/dist/types/interface/models/billing-account.model.d.ts +2 -1
- package/dist/types/interface/models/index.d.ts +2 -0
- package/dist/types/interface/models/index.js +2 -0
- package/dist/types/interface/models/index.js.map +1 -1
- package/dist/types/interface/models/storage-element.model.d.ts +32 -0
- package/dist/types/interface/{api/requests/oauth-grant.request.js → models/storage-element.model.js} +1 -1
- package/dist/types/interface/models/storage-element.model.js.map +1 -0
- package/dist/types/interface/models/storage-subtotal.model.d.ts +1 -0
- package/dist/types/interface/models/storage-threshold.model.d.ts +20 -0
- package/dist/types/interface/{api/responses/oauth-grant.response.js → models/storage-threshold.model.js} +1 -1
- package/dist/types/interface/models/storage-threshold.model.js.map +1 -0
- package/package.json +1 -3
- package/dist/api/oauth-application.admin.api.d.ts +0 -2
- package/dist/api/oauth-application.admin.api.js +0 -9
- package/dist/api/oauth-application.admin.api.js.map +0 -1
- package/dist/api/oauth-application.api.d.ts +0 -8
- package/dist/api/oauth-application.api.js +0 -30
- package/dist/api/oauth-application.api.js.map +0 -1
- package/dist/api/oauth-grant.api.d.ts +0 -4
- package/dist/api/oauth-grant.api.js +0 -15
- package/dist/api/oauth-grant.api.js.map +0 -1
- package/dist/constants/oauth-app.constants.d.ts +0 -25
- package/dist/constants/oauth-app.constants.js +0 -75
- package/dist/constants/oauth-app.constants.js.map +0 -1
- package/dist/constants/tests/oauth-app.constants.spec.d.ts +0 -1
- package/dist/constants/tests/oauth-app.constants.spec.js +0 -112
- package/dist/constants/tests/oauth-app.constants.spec.js.map +0 -1
- package/dist/server/oauth-access-token.util.d.ts +0 -27
- package/dist/server/oauth-access-token.util.js +0 -99
- package/dist/server/oauth-access-token.util.js.map +0 -1
- package/dist/server/oauth-no-app-token.util.d.ts +0 -7
- package/dist/server/oauth-no-app-token.util.js +0 -14
- package/dist/server/oauth-no-app-token.util.js.map +0 -1
- package/dist/server/oauth-request-guard.util.d.ts +0 -27
- package/dist/server/oauth-request-guard.util.js +0 -34
- package/dist/server/oauth-request-guard.util.js.map +0 -1
- package/dist/server/tests/api-cors-dynamic.util.spec.d.ts +0 -1
- package/dist/server/tests/api-cors-dynamic.util.spec.js +0 -220
- package/dist/server/tests/api-cors-dynamic.util.spec.js.map +0 -1
- package/dist/server/tests/oauth-access-token.util.spec.d.ts +0 -1
- package/dist/server/tests/oauth-access-token.util.spec.js +0 -142
- package/dist/server/tests/oauth-access-token.util.spec.js.map +0 -1
- package/dist/server/tests/oauth-no-app-token.util.spec.d.ts +0 -1
- package/dist/server/tests/oauth-no-app-token.util.spec.js +0 -40
- package/dist/server/tests/oauth-no-app-token.util.spec.js.map +0 -1
- package/dist/server/tests/oauth-request-guard.util.spec.d.ts +0 -1
- package/dist/server/tests/oauth-request-guard.util.spec.js +0 -80
- package/dist/server/tests/oauth-request-guard.util.spec.js.map +0 -1
- package/dist/types/enum/oauth-app.enum.d.ts +0 -59
- package/dist/types/enum/oauth-app.enum.js +0 -70
- package/dist/types/enum/oauth-app.enum.js.map +0 -1
- package/dist/types/interface/api/requests/oauth-application.request.d.ts +0 -34
- package/dist/types/interface/api/requests/oauth-application.request.js.map +0 -1
- package/dist/types/interface/api/requests/oauth-grant.request.d.ts +0 -3
- package/dist/types/interface/api/requests/oauth-grant.request.js.map +0 -1
- package/dist/types/interface/api/responses/oauth-application.response.d.ts +0 -43
- package/dist/types/interface/api/responses/oauth-application.response.js +0 -3
- package/dist/types/interface/api/responses/oauth-application.response.js.map +0 -1
- package/dist/types/interface/api/responses/oauth-grant.response.d.ts +0 -19
- package/dist/types/interface/api/responses/oauth-grant.response.js.map +0 -1
- package/dist/types/interface/api/responses/oauth-userinfo.response.d.ts +0 -8
- package/dist/types/interface/api/responses/oauth-userinfo.response.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-notification-content-type.enum.js","sourceRoot":"","sources":["../../../src/types/enum/user-notification-content-type.enum.ts"],"names":[],"mappings":";;;AAcA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,gCAAa,CAAA;AACf,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"user-notification-content-type.enum.js","sourceRoot":"","sources":["../../../src/types/enum/user-notification-content-type.enum.ts"],"names":[],"mappings":";;;AAcA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,gCAAa,CAAA;AACf,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAY,2BAgUX;AAhUD,WAAY,2BAA2B;IAErC,8FAA+D,CAAA;IAG/D,sGAAuE,CAAA;IAEvE,kFAAmD,CAAA;IAGnD,4EAA6C,CAAA;IAC7C,4EAA6C,CAAA;IAC7C,0FAA2D,CAAA;IAC3D,gFAAiD,CAAA;IACjD,sFAAuD,CAAA;IACvD,sFAAuD,CAAA;IACvD,oFAAqD,CAAA;IAErD,wFAAy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A2B,CAAC,aAAa"}
|
|
@@ -110,6 +110,8 @@ export * from './requests/personal-api-key.request';
|
|
|
110
110
|
export * from './responses/personal-api-key.response';
|
|
111
111
|
export * from './requests/user-billing.request';
|
|
112
112
|
export * from './responses/user-billing.response';
|
|
113
|
+
export * from './requests/storage-element.request';
|
|
114
|
+
export * from './responses/storage-element.response';
|
|
113
115
|
export * from './requests/subscription-retention.request';
|
|
114
116
|
export * from './responses/subscription-retention.response';
|
|
115
117
|
export * from './requests/content-share.request';
|
|
@@ -148,11 +150,6 @@ export * from './requests/mcp-connection.request';
|
|
|
148
150
|
export * from './requests/oauth-authorization-request.request';
|
|
149
151
|
export * from './responses/mcp-connection.response';
|
|
150
152
|
export * from './responses/oauth-authorization-request.response';
|
|
151
|
-
export * from './requests/oauth-application.request';
|
|
152
|
-
export * from './requests/oauth-grant.request';
|
|
153
|
-
export * from './responses/oauth-application.response';
|
|
154
|
-
export * from './responses/oauth-grant.response';
|
|
155
|
-
export * from './responses/oauth-userinfo.response';
|
|
156
153
|
export * from './requests/activity.admin.request';
|
|
157
154
|
export * from './responses/activity.admin.response';
|
|
158
155
|
export * from './requests/referred-traffic.admin.request';
|
|
@@ -126,6 +126,8 @@ __exportStar(require("./requests/personal-api-key.request"), exports);
|
|
|
126
126
|
__exportStar(require("./responses/personal-api-key.response"), exports);
|
|
127
127
|
__exportStar(require("./requests/user-billing.request"), exports);
|
|
128
128
|
__exportStar(require("./responses/user-billing.response"), exports);
|
|
129
|
+
__exportStar(require("./requests/storage-element.request"), exports);
|
|
130
|
+
__exportStar(require("./responses/storage-element.response"), exports);
|
|
129
131
|
__exportStar(require("./requests/subscription-retention.request"), exports);
|
|
130
132
|
__exportStar(require("./responses/subscription-retention.response"), exports);
|
|
131
133
|
__exportStar(require("./requests/content-share.request"), exports);
|
|
@@ -164,11 +166,6 @@ __exportStar(require("./requests/mcp-connection.request"), exports);
|
|
|
164
166
|
__exportStar(require("./requests/oauth-authorization-request.request"), exports);
|
|
165
167
|
__exportStar(require("./responses/mcp-connection.response"), exports);
|
|
166
168
|
__exportStar(require("./responses/oauth-authorization-request.response"), exports);
|
|
167
|
-
__exportStar(require("./requests/oauth-application.request"), exports);
|
|
168
|
-
__exportStar(require("./requests/oauth-grant.request"), exports);
|
|
169
|
-
__exportStar(require("./responses/oauth-application.response"), exports);
|
|
170
|
-
__exportStar(require("./responses/oauth-grant.response"), exports);
|
|
171
|
-
__exportStar(require("./responses/oauth-userinfo.response"), exports);
|
|
172
169
|
__exportStar(require("./requests/activity.admin.request"), exports);
|
|
173
170
|
__exportStar(require("./responses/activity.admin.response"), exports);
|
|
174
171
|
__exportStar(require("./requests/referred-traffic.admin.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,6EAA2D;AAC3D,yEAAuD;AACvD,+EAA6D;AAC7D,mEAAiD;AACjD,6DAA2C;AAC3C,0EAAwD;AACxD,oEAAkD;AAClD,6DAA2C;AAC3C,sEAAoD;AACpD,mEAAiD;AACjD,yEAAuD;AACvD,6EAA2D;AAC3D,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,+EAA6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uD;AACvD,2EAAyD;AAGzD,2EAAyD;AACzD,6EAA2D;AAG3D,6DAA2C;AAC3C,+DAA6C;AAG7C,oEAAkD;AAClD,sEAAoD;AAGpD,qEAAmD;AACnD,uEAAqD;AAGrD,6DAA2C;AAC3C,+DAA6C;AAG7C,yDAAuC;AACvC,2DAAyC;AAGzC,8DAA4C;AAC5C,gEAA8C;AAG9C,2EAAyD;AACzD,6EAA2D;AAG3D,oEAAkD;AAClD,iFAA+D;AAC/D,sEAAoD;AACpD,mFAAiE;AAGjE,
|
|
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,6EAA2D;AAC3D,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,+EAA6D;AAC7D,2EAAyD;AACzD,iFAA+D;AAC/D,qEAAmD;AACnD,+DAA6C;AAC7C,4EAA0D;AAC1D,sEAAoD;AACpD,+DAA6C;AAC7C,wE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AAkD;AAClD,sEAAoD;AAGpD,qEAAmD;AACnD,uEAAqD;AAGrD,6DAA2C;AAC3C,+DAA6C;AAG7C,yDAAuC;AACvC,2DAAyC;AAGzC,8DAA4C;AAC5C,gEAA8C;AAG9C,2EAAyD;AACzD,6EAA2D;AAG3D,oEAAkD;AAClD,iFAA+D;AAC/D,sEAAoD;AACpD,mFAAiE;AAGjE,oEAAkD;AAClD,sEAAoD;AACpD,4EAA0D;AAC1D,8EAA4D;AAC5D,iFAA+D;AAC/D,mFAAiE;AAGjE,uEAAqD;AACrD,yEAAuD;AAGvD,wEAAsD;AACtD,0EAAwD;AAGxD,mEAAiD;AACjD,yEAAuD;AACvD,qEAAmD;AACnD,2EAAyD;AAGzD,6DAA2C;AAC3C,mEAAiD;AACjD,+DAA6C;AAC7C,qEAAmD;AAGnD,wEAAsD;AACtD,yFAAuE;AACvE,2EAAyD;AACzD,0EAAwD;AACxD,2FAAyE;AACzE,6EAA2D;AAC3D,gEAA8C;AAC9C,qEAAmD;AACnD,kEAAgD;AAChD,4DAA0C;AAG1C,sEAAoD;AACpD,wEAAsD;AACtD,2EAAyD;AACzD,6EAA2D"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BillingModuleId } from '../../../../constants/module-catalog.constants';
|
|
2
|
+
import { StorageThresholdAdjustment } from '../../../enum';
|
|
2
3
|
export interface ISetBillingModuleQuantityBody {
|
|
3
4
|
quantity: number;
|
|
5
|
+
storageThresholdAdjustment?: StorageThresholdAdjustment;
|
|
4
6
|
}
|
|
5
7
|
export interface ISetUserBillingModuleQuantityParams {
|
|
6
8
|
moduleId: BillingModuleId;
|
|
@@ -53,8 +53,6 @@ export * from './session.request';
|
|
|
53
53
|
export * from './trusted-device.request';
|
|
54
54
|
export * from './mcp-connection.request';
|
|
55
55
|
export * from './oauth-authorization-request.request';
|
|
56
|
-
export * from './oauth-application.request';
|
|
57
|
-
export * from './oauth-grant.request';
|
|
58
56
|
export * from './activity.admin.request';
|
|
59
57
|
export * from './referred-traffic.admin.request';
|
|
60
58
|
export * from './short-link-protection.admin.request';
|
|
@@ -69,8 +69,6 @@ __exportStar(require("./session.request"), exports);
|
|
|
69
69
|
__exportStar(require("./trusted-device.request"), exports);
|
|
70
70
|
__exportStar(require("./mcp-connection.request"), exports);
|
|
71
71
|
__exportStar(require("./oauth-authorization-request.request"), exports);
|
|
72
|
-
__exportStar(require("./oauth-application.request"), exports);
|
|
73
|
-
__exportStar(require("./oauth-grant.request"), exports);
|
|
74
72
|
__exportStar(require("./activity.admin.request"), exports);
|
|
75
73
|
__exportStar(require("./referred-traffic.admin.request"), exports);
|
|
76
74
|
__exportStar(require("./short-link-protection.admin.request"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,8DAA4C;AAC5C,wDAAsC;AACtC,oEAAkD;AAClD,gEAA8C;AAC9C,sEAAoD;AACpD,kDAAgC;AAChC,iDAA+B;AAC/B,4DAA0C;AAC1C,kEAAgD;AAChD,yDAAuC;AACvC,uEAAqD;AACrD,gEAA8C;AAC9C,0DAAwC;AACxC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,8DAA4C;AAC5C,4DAA0C;AAC1C,sDAAoC;AACpC,uDAAqC;AACrC,0DAAwC;AACxC,gDAA8B;AAC9B,6DAA2C;AAC3C,oDAAkC;AAClC,iEAA+C;AAC/C,6EAA2D;AAC3D,iFAA+D;AAC/D,gEAA8C;AAC9C,+DAA6C;AAC7C,yDAAuC;AACvC,kEAAgD;AAChD,qDAAmC;AACnC,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;AAC9C,oDAAkC;AAClC,2DAAyC;AACzC,2DAAyC;AACzC,wEAAsD;AACtD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,8DAA4C;AAC5C,wDAAsC;AACtC,oEAAkD;AAClD,gEAA8C;AAC9C,sEAAoD;AACpD,kDAAgC;AAChC,iDAA+B;AAC/B,4DAA0C;AAC1C,kEAAgD;AAChD,yDAAuC;AACvC,uEAAqD;AACrD,gEAA8C;AAC9C,0DAAwC;AACxC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,8DAA4C;AAC5C,4DAA0C;AAC1C,sDAAoC;AACpC,uDAAqC;AACrC,0DAAwC;AACxC,gDAA8B;AAC9B,6DAA2C;AAC3C,oDAAkC;AAClC,iEAA+C;AAC/C,6EAA2D;AAC3D,iFAA+D;AAC/D,gEAA8C;AAC9C,+DAA6C;AAC7C,yDAAuC;AACvC,kEAAgD;AAChD,qDAAmC;AACnC,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;AAC9C,oDAAkC;AAClC,2DAAyC;AACzC,2DAAyC;AACzC,wEAAsD;AACtD,2DAAyC;AACzC,mEAAiD;AACjD,wEAAsD;AACtD,8DAA4C;AAC5C,0DAAwC;AACxC,gEAA8C;AAC9C,oDAAkC;AAClC,0DAAwC"}
|
|
@@ -3,9 +3,6 @@ import type { McpOAuthDecision } from '../../../enum/mcp-oauth.enum';
|
|
|
3
3
|
export interface IGetOAuthAuthorizationRequestParams {
|
|
4
4
|
requestId: string;
|
|
5
5
|
}
|
|
6
|
-
export interface ILoginRequiredOAuthAuthorizationRequestParams {
|
|
7
|
-
requestId: string;
|
|
8
|
-
}
|
|
9
6
|
export interface IDecideMcpOAuthAuthorizationRequestParams {
|
|
10
7
|
requestId: string;
|
|
11
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BillingInterval, BillingMetric, BillingQuotaCapAction, BillingQuotaCapMode, BillingService, QuotaCeilingMode, QuotaGrantScope, ResourceAlertKind, StorageClass, StorageSubtotalSource, UsageResourceType } from '../../../enum';
|
|
1
|
+
import { BillingInterval, BillingMetric, BillingQuotaCapAction, BillingQuotaCapMode, BillingService, QuotaCeilingMode, QuotaGrantScope, ResourceAlertKind, StorageClass, StorageSubtotalSource, StorageThresholdAdjustment, UsageResourceType } from '../../../enum';
|
|
2
2
|
import { IBillingAddress } from '../../models/billing-account.model';
|
|
3
3
|
import { BillingModuleId } from '../../../../constants/module-catalog.constants';
|
|
4
4
|
import type { ICancellationFlowContext } from './subscription-retention.request';
|
|
@@ -54,6 +54,7 @@ export interface ISubscribePlanOrganizationBody {
|
|
|
54
54
|
planTemplateId: string;
|
|
55
55
|
interval?: BillingInterval;
|
|
56
56
|
cancellationFlow?: ICancellationFlowContext;
|
|
57
|
+
storageThresholdAdjustment?: StorageThresholdAdjustment;
|
|
57
58
|
}
|
|
58
59
|
export interface IListInvoicesOrganizationParams {
|
|
59
60
|
organizationId: string;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { StorageClass, StorageSubtotalSource, StorageThresholdAction, StorageThresholdMode } from '../../../enum';
|
|
2
|
+
import { IStorageElementReport } from '../../models/storage-element.model';
|
|
3
|
+
export interface ISetStorageElementsUserParams {
|
|
4
|
+
userId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ISetStorageElementsOrganizationParams {
|
|
7
|
+
organizationId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ISetStorageElementsBody {
|
|
10
|
+
source: StorageSubtotalSource;
|
|
11
|
+
storageClass: StorageClass;
|
|
12
|
+
elements: IStorageElementReport[];
|
|
13
|
+
}
|
|
14
|
+
export interface IGetStorageBreakdownQuery {
|
|
15
|
+
storageClass?: StorageClass;
|
|
16
|
+
}
|
|
17
|
+
export interface IListStorageElementsQuery {
|
|
18
|
+
source: StorageSubtotalSource;
|
|
19
|
+
storageClass: StorageClass;
|
|
20
|
+
}
|
|
21
|
+
export interface IListStorageElementsOrganizationParams {
|
|
22
|
+
organizationId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IListStorageThresholdsOrganizationParams {
|
|
25
|
+
organizationId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IStorageThresholdUserParams {
|
|
28
|
+
source: StorageSubtotalSource;
|
|
29
|
+
storageClass: StorageClass;
|
|
30
|
+
}
|
|
31
|
+
export interface IStorageThresholdOrganizationParams extends IStorageThresholdUserParams {
|
|
32
|
+
organizationId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IPutStorageThresholdBody {
|
|
35
|
+
mode: StorageThresholdMode;
|
|
36
|
+
value: number;
|
|
37
|
+
action: StorageThresholdAction;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-element.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/storage-element.request.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BillingMetric, BillingQuotaCapAction, BillingQuotaCapMode, BillingService, BillingInterval, QuotaCeilingMode, StorageClass, StorageSubtotalSource, UsageResourceType } from '../../../enum';
|
|
1
|
+
import { BillingMetric, BillingQuotaCapAction, BillingQuotaCapMode, BillingService, BillingInterval, QuotaCeilingMode, StorageClass, StorageSubtotalSource, StorageThresholdAdjustment, UsageResourceType } from '../../../enum';
|
|
2
2
|
import { BillingModuleId } from '../../../../constants/module-catalog.constants';
|
|
3
3
|
import type { ICancellationFlowContext } from './subscription-retention.request';
|
|
4
4
|
import { IBillingAddress } from '../../models/billing-account.model';
|
|
@@ -47,6 +47,7 @@ export interface ISubscribeUserPlanBody {
|
|
|
47
47
|
eurAmount?: number;
|
|
48
48
|
interval?: BillingInterval;
|
|
49
49
|
cancellationFlow?: ICancellationFlowContext;
|
|
50
|
+
storageThresholdAdjustment?: StorageThresholdAdjustment;
|
|
50
51
|
}
|
|
51
52
|
export interface IPreviewUserPlanChangeQuery {
|
|
52
53
|
planTemplateId: string;
|
|
@@ -55,9 +55,6 @@ export * from './session.response';
|
|
|
55
55
|
export * from './trusted-device.response';
|
|
56
56
|
export * from './mcp-connection.response';
|
|
57
57
|
export * from './oauth-authorization-request.response';
|
|
58
|
-
export * from './oauth-application.response';
|
|
59
|
-
export * from './oauth-grant.response';
|
|
60
|
-
export * from './oauth-userinfo.response';
|
|
61
58
|
export * from './activity.admin.response';
|
|
62
59
|
export * from './referred-traffic.admin.response';
|
|
63
60
|
export * from './short-link-protection.admin.response';
|
|
@@ -71,9 +71,6 @@ __exportStar(require("./session.response"), exports);
|
|
|
71
71
|
__exportStar(require("./trusted-device.response"), exports);
|
|
72
72
|
__exportStar(require("./mcp-connection.response"), exports);
|
|
73
73
|
__exportStar(require("./oauth-authorization-request.response"), exports);
|
|
74
|
-
__exportStar(require("./oauth-application.response"), exports);
|
|
75
|
-
__exportStar(require("./oauth-grant.response"), exports);
|
|
76
|
-
__exportStar(require("./oauth-userinfo.response"), exports);
|
|
77
74
|
__exportStar(require("./activity.admin.response"), exports);
|
|
78
75
|
__exportStar(require("./referred-traffic.admin.response"), exports);
|
|
79
76
|
__exportStar(require("./short-link-protection.admin.response"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,+DAA6C;AAC7C,yDAAuC;AACvC,qEAAmD;AACnD,iEAA+C;AAC/C,uEAAqD;AACrD,mDAAiC;AACjC,kDAAgC;AAChC,6DAA2C;AAC3C,mEAAiD;AACjD,6DAA2C;AAC3C,0DAAwC;AACxC,wEAAsD;AACtD,iEAA+C;AAC/C,2DAAyC;AACzC,qDAAmC;AACnC,2DAAyC;AACzC,iEAA+C;AAC/C,+DAA6C;AAC7C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,2DAAyC;AACzC,iDAA+B;AAC/B,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,kEAAgD;AAChD,kFAAgE;AAChE,4EAA0D;AAC1D,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,kEAAgD;AAChD,mEAAiD;AACjD,sDAAoC;AACpC,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,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C;AAC5C,qDAAmC;AACnC,4DAA0C;AAC1C,4DAA0C;AAC1C,yEAAuD;AACvD
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,+DAA6C;AAC7C,yDAAuC;AACvC,qEAAmD;AACnD,iEAA+C;AAC/C,uEAAqD;AACrD,mDAAiC;AACjC,kDAAgC;AAChC,6DAA2C;AAC3C,mEAAiD;AACjD,6DAA2C;AAC3C,0DAAwC;AACxC,wEAAsD;AACtD,iEAA+C;AAC/C,2DAAyC;AACzC,qDAAmC;AACnC,2DAAyC;AACzC,iEAA+C;AAC/C,+DAA6C;AAC7C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,2DAAyC;AACzC,iDAA+B;AAC/B,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,kEAAgD;AAChD,kFAAgE;AAChE,4EAA0D;AAC1D,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,kEAAgD;AAChD,mEAAiD;AACjD,sDAAoC;AACpC,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,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C;AAC5C,qDAAmC;AACnC,4DAA0C;AAC1C,4DAA0C;AAC1C,yEAAuD;AACvD,4DAA0C;AAC1C,oEAAkD;AAClD,yEAAuD;AACvD,+DAA6C;AAC7C,2DAAyC;AACzC,iEAA+C;AAC/C,qDAAmC;AACnC,2DAAyC"}
|
|
@@ -1,32 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { IMcpOAuthAuthorizationRequestView, McpOAuthAuthorizationRequestStatus } from '../../mcp/mcp-oauth';
|
|
1
|
+
import type { IMcpOAuthAuthorizationRequestView } from '../../mcp/mcp-oauth';
|
|
3
2
|
import type { IResponse } from '../type-message/response';
|
|
4
|
-
export interface IOAuthAppAuthorizationRequestView {
|
|
5
|
-
kind: OAuthAuthorizationRequestKind.APP;
|
|
6
|
-
id: string;
|
|
7
|
-
status: McpOAuthAuthorizationRequestStatus;
|
|
8
|
-
application: {
|
|
9
|
-
name: string;
|
|
10
|
-
ownerName: string;
|
|
11
|
-
organizationName: string;
|
|
12
|
-
homepageUrl: string | null;
|
|
13
|
-
clientType: OAuthClientType;
|
|
14
|
-
};
|
|
15
|
-
redirectHost: string;
|
|
16
|
-
redirectWarning: boolean;
|
|
17
|
-
scopes: string[];
|
|
18
|
-
missingScopes: string[];
|
|
19
|
-
prompt: OAuthAuthorizationPrompt | null;
|
|
20
|
-
}
|
|
21
3
|
export interface IGetOAuthAuthorizationRequestData {
|
|
22
|
-
request: IMcpOAuthAuthorizationRequestView
|
|
4
|
+
request: IMcpOAuthAuthorizationRequestView;
|
|
23
5
|
}
|
|
24
6
|
export type IGetOAuthAuthorizationRequestResponse = IResponse<IGetOAuthAuthorizationRequestData>;
|
|
25
7
|
export interface IDecideMcpOAuthAuthorizationRequestData {
|
|
26
8
|
redirectTo: string;
|
|
27
9
|
}
|
|
28
10
|
export type IDecideMcpOAuthAuthorizationRequestResponse = IResponse<IDecideMcpOAuthAuthorizationRequestData>;
|
|
29
|
-
export interface ILoginRequiredOAuthAuthorizationRequestData {
|
|
30
|
-
redirectTo: string;
|
|
31
|
-
}
|
|
32
|
-
export type ILoginRequiredOAuthAuthorizationRequestResponse = IResponse<ILoginRequiredOAuthAuthorizationRequestData>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { StorageReserveRefusalReason } from '../../../enum';
|
|
1
2
|
import { IBillingAccount } from '../../models/billing-account.model';
|
|
2
3
|
import { IPlanChangeGraceMetric, IPlanChangeOverMetric, IPlanChangePricing, ISetBillingIntervalData } from './user-billing.response';
|
|
3
4
|
import { IBillingQuotaCap } from '../../models/billing-quota-cap.model';
|
|
@@ -138,6 +139,7 @@ export interface IReserveStorageBytesOrganizationData {
|
|
|
138
139
|
allowed: boolean;
|
|
139
140
|
poolBytes: number;
|
|
140
141
|
limitBytes: number;
|
|
142
|
+
reason?: StorageReserveRefusalReason;
|
|
141
143
|
}
|
|
142
144
|
export type IReserveStorageBytesOrganizationResponse = IResponse<IReserveStorageBytesOrganizationData>;
|
|
143
145
|
export type IReleaseStorageBytesOrganizationResponse = IResponse<void>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IStorageElementsListing } from '../../models/storage-element.model';
|
|
2
|
+
import { IStorageThresholdState } from '../../models/storage-threshold.model';
|
|
3
|
+
import { IResponse } from '../type-message/response';
|
|
4
|
+
export interface ISetStorageElementsData {
|
|
5
|
+
count: number;
|
|
6
|
+
}
|
|
7
|
+
export type ISetStorageElementsResponse = IResponse<ISetStorageElementsData>;
|
|
8
|
+
export type IListStorageElementsData = IStorageElementsListing;
|
|
9
|
+
export type IListStorageElementsResponse = IResponse<IListStorageElementsData>;
|
|
10
|
+
export interface IListStorageThresholdsData {
|
|
11
|
+
thresholds: IStorageThresholdState[];
|
|
12
|
+
}
|
|
13
|
+
export type IListStorageThresholdsResponse = IResponse<IListStorageThresholdsData>;
|
|
14
|
+
export interface IPutStorageThresholdData {
|
|
15
|
+
threshold: IStorageThresholdState;
|
|
16
|
+
}
|
|
17
|
+
export type IPutStorageThresholdResponse = IResponse<IPutStorageThresholdData>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-element.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/storage-element.response.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BillingInterval, BillingMetric, BillingService, PlanChangeTiming } from '../../../enum';
|
|
1
|
+
import { BillingInterval, BillingMetric, BillingService, PlanChangeTiming, StorageReserveRefusalReason } 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';
|
|
@@ -85,6 +85,7 @@ export interface IReserveStorageBytesUserData {
|
|
|
85
85
|
allowed: boolean;
|
|
86
86
|
poolBytes: number;
|
|
87
87
|
limitBytes: number;
|
|
88
|
+
reason?: StorageReserveRefusalReason;
|
|
88
89
|
}
|
|
89
90
|
export type IReserveStorageBytesUserResponse = IResponse<IReserveStorageBytesUserData>;
|
|
90
91
|
export type IReleaseStorageBytesUserResponse = IResponse<void>;
|
|
@@ -50,6 +50,8 @@ export * from './models/billing-plan-request.model';
|
|
|
50
50
|
export * from './models/billing-quota-cap.model';
|
|
51
51
|
export * from './models/quota-reservation.model';
|
|
52
52
|
export * from './models/storage-subtotal.model';
|
|
53
|
+
export * from './models/storage-element.model';
|
|
54
|
+
export * from './models/storage-threshold.model';
|
|
53
55
|
export * from './storage-surplus.interface';
|
|
54
56
|
export * from './models/billing-trial-grant.model';
|
|
55
57
|
export * from './models/billing-daily-snapshot.model';
|
|
@@ -66,6 +66,8 @@ __exportStar(require("./models/billing-plan-request.model"), exports);
|
|
|
66
66
|
__exportStar(require("./models/billing-quota-cap.model"), exports);
|
|
67
67
|
__exportStar(require("./models/quota-reservation.model"), exports);
|
|
68
68
|
__exportStar(require("./models/storage-subtotal.model"), exports);
|
|
69
|
+
__exportStar(require("./models/storage-element.model"), exports);
|
|
70
|
+
__exportStar(require("./models/storage-threshold.model"), exports);
|
|
69
71
|
__exportStar(require("./storage-surplus.interface"), exports);
|
|
70
72
|
__exportStar(require("./models/billing-trial-grant.model"), exports);
|
|
71
73
|
__exportStar(require("./models/billing-daily-snapshot.model"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,sEAAoD;AACpD,4DAA0C;AAC1C,8DAA4C;AAC5C,yDAAuC;AACvC,gEAA8C;AAC9C,4EAA0D;AAC1D,6DAA2C;AAC3C,yEAAuD;AACvD,qEAAmD;AACnD,mEAAiD;AACjD,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,oEAAkD;AAClD,8EAA4D;AAC5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AGtB,0DAAwC;AAGxC,+DAA6C;AAG7C,0EAAwD;AACxD,2EAAyD;AAGzD,yDAAuC;AAGvC,4EAA0D;AAC1D,8DAA4C;AAG5C,4DAA0C"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type { McpFunctionalScope, McpScopeType } from '../../enum/mcp.enum';
|
|
2
2
|
import type { McpOAuthClientSource } from '../../enum/mcp-oauth.enum';
|
|
3
|
-
import type { OAuthAuthorizationRequestKind } from '../../enum/oauth-app.enum';
|
|
4
3
|
export type McpOAuthAuthorizationRequestStatus = 'OPEN' | 'EXPIRED' | 'CONSUMED';
|
|
5
4
|
export interface IMcpOAuthApprovedScope {
|
|
6
5
|
scopeType: McpScopeType;
|
|
7
6
|
scopeId: string | null;
|
|
8
7
|
}
|
|
9
8
|
export interface IMcpOAuthAuthorizationRequestView {
|
|
10
|
-
kind: OAuthAuthorizationRequestKind.MCP;
|
|
11
9
|
id: string;
|
|
12
10
|
client: {
|
|
13
11
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BillingAddonStatus, StorageOverLimitCause } from '../../enum';
|
|
1
|
+
import { BillingAddonStatus, StorageOverLimitCause, StorageThresholdAdjustment } from '../../enum';
|
|
2
2
|
import { BillingModuleId } from '../../../constants/module-catalog.constants';
|
|
3
3
|
import { IBillingAccount } from './billing-account.model';
|
|
4
4
|
export interface IBillingAccountAddon {
|
|
@@ -11,6 +11,7 @@ export interface IBillingAccountAddon {
|
|
|
11
11
|
pendingEffectiveAt: Date | null;
|
|
12
12
|
pendingQuantity: number | null;
|
|
13
13
|
pendingQuantityCause: StorageOverLimitCause | null;
|
|
14
|
+
pendingStorageThresholdAdjustment: StorageThresholdAdjustment | null;
|
|
14
15
|
updatedAt?: Date;
|
|
15
16
|
createdAt?: Date;
|
|
16
17
|
billingAccount?: IBillingAccount;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BillingAccountStatus, BillingAddonStatus, BillingInterval, StorageOverLimitCause } from '../../enum';
|
|
1
|
+
import { BillingAccountStatus, BillingAddonStatus, BillingInterval, StorageOverLimitCause, StorageThresholdAdjustment } from '../../enum';
|
|
2
2
|
import { BillingModuleId } from '../../../constants/module-catalog.constants';
|
|
3
3
|
import { IOrganization } from './organization.model';
|
|
4
4
|
import { IUser } from './user.model';
|
|
@@ -35,6 +35,7 @@ export interface IBillingAccount {
|
|
|
35
35
|
planTemplateId: string;
|
|
36
36
|
pendingPlanTemplateId: string | null;
|
|
37
37
|
pendingPlanCause: StorageOverLimitCause | null;
|
|
38
|
+
pendingStorageThresholdAdjustment: StorageThresholdAdjustment | null;
|
|
38
39
|
status: BillingAccountStatus;
|
|
39
40
|
creditBalance: number;
|
|
40
41
|
eurBalance: number;
|
|
@@ -38,6 +38,8 @@ export * from './billing-plan-request.model';
|
|
|
38
38
|
export * from './billing-quota-cap.model';
|
|
39
39
|
export * from './quota-reservation.model';
|
|
40
40
|
export * from './storage-subtotal.model';
|
|
41
|
+
export * from './storage-element.model';
|
|
42
|
+
export * from './storage-threshold.model';
|
|
41
43
|
export * from './billing-trial-grant.model';
|
|
42
44
|
export * from './billing-subscription-event.model';
|
|
43
45
|
export * from './loyalty-rule.model';
|
|
@@ -54,6 +54,8 @@ __exportStar(require("./billing-plan-request.model"), exports);
|
|
|
54
54
|
__exportStar(require("./billing-quota-cap.model"), exports);
|
|
55
55
|
__exportStar(require("./quota-reservation.model"), exports);
|
|
56
56
|
__exportStar(require("./storage-subtotal.model"), exports);
|
|
57
|
+
__exportStar(require("./storage-element.model"), exports);
|
|
58
|
+
__exportStar(require("./storage-threshold.model"), exports);
|
|
57
59
|
__exportStar(require("./billing-trial-grant.model"), exports);
|
|
58
60
|
__exportStar(require("./billing-subscription-event.model"), exports);
|
|
59
61
|
__exportStar(require("./loyalty-rule.model"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+DAA6C;AAC7C,kDAAgC;AAChC,yDAAuC;AACvC,qEAAmD;AACnD,sDAAoC;AACpC,kEAAgD;AAChD,8DAA4C;AAC5C,4DAA0C;AAC1C,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,gEAA8C;AAC9C,qEAAmD;AACnD,qEAAmD;AACnD,uDAAqC;AACrC,kDAAgC;AAChC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,+DAA6C;AAC7C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,8DAA4C;AAC5C,qEAAmD;AACnD,uDAAqC;AACrC,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;AAK5C,2DAAyC;AAGzC,0DAAwC;AAGxC,kDAAgC;AAChC,kDAAgC;AAChC,yDAAuC;AAGvC,yDAAuC;AACvC,8DAA4C;AAG5C,mDAAiC;AAGjC,wDAAsC;AAGtC,kDAAgC;AAEhC,6DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":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
|
1
|
+
import { StorageClass, StorageElementKind, StorageSubtotalSource } from '../../enum';
|
|
2
|
+
import { IBillingAccount } from './billing-account.model';
|
|
3
|
+
export interface IStorageElement {
|
|
4
|
+
id?: string;
|
|
5
|
+
billingAccountId: string;
|
|
6
|
+
source: StorageSubtotalSource;
|
|
7
|
+
storageClass: StorageClass;
|
|
8
|
+
elementId: string;
|
|
9
|
+
kind: StorageElementKind;
|
|
10
|
+
label: string;
|
|
11
|
+
path: string | null;
|
|
12
|
+
bytes: number;
|
|
13
|
+
measuredAt: Date;
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
createdAt?: Date;
|
|
16
|
+
billingAccount?: IBillingAccount;
|
|
17
|
+
}
|
|
18
|
+
export interface IStorageElementReport {
|
|
19
|
+
elementId: string;
|
|
20
|
+
kind: StorageElementKind;
|
|
21
|
+
label: string;
|
|
22
|
+
path: string | null;
|
|
23
|
+
bytes: number;
|
|
24
|
+
}
|
|
25
|
+
export interface IStorageElementsListing {
|
|
26
|
+
source: StorageSubtotalSource;
|
|
27
|
+
storageClass: StorageClass;
|
|
28
|
+
subtotalBytes: number;
|
|
29
|
+
otherBytes: number;
|
|
30
|
+
measuredAt: Date | null;
|
|
31
|
+
elements: IStorageElementReport[];
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-element.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/storage-element.model.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StorageClass, StorageSubtotalSource, StorageThresholdAction, StorageThresholdMode } from '../../enum';
|
|
2
|
+
import { IBillingAccount } from './billing-account.model';
|
|
3
|
+
export interface IStorageThreshold {
|
|
4
|
+
id?: string;
|
|
5
|
+
billingAccountId: string;
|
|
6
|
+
source: StorageSubtotalSource;
|
|
7
|
+
storageClass: StorageClass;
|
|
8
|
+
mode: StorageThresholdMode;
|
|
9
|
+
value: number;
|
|
10
|
+
action: StorageThresholdAction;
|
|
11
|
+
updatedAt?: Date;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
billingAccount?: IBillingAccount;
|
|
14
|
+
}
|
|
15
|
+
export interface IStorageThresholdState {
|
|
16
|
+
threshold: IStorageThreshold;
|
|
17
|
+
effectiveBytes: number;
|
|
18
|
+
usedBytes: number;
|
|
19
|
+
cappedToPlan: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-threshold.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/storage-threshold.model.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/main",
|
|
3
|
-
"version": "42.
|
|
3
|
+
"version": "42.8.0",
|
|
4
4
|
"description": "Core package to interact with Abyss-Project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"byte-size": "^8.1.0",
|
|
62
62
|
"date-fns": "^2.29.3",
|
|
63
63
|
"dayjs": "^1.10.7",
|
|
64
|
-
"jsonwebtoken": "^9.0.0",
|
|
65
64
|
"lodash": "^4.17.21",
|
|
66
65
|
"lz-string": "^1.5.0",
|
|
67
66
|
"reflect-metadata": "^0.1.13",
|
|
@@ -73,7 +72,6 @@
|
|
|
73
72
|
"@types/express": "^4.17.21",
|
|
74
73
|
"@types/express-serve-static-core": "^4.17.28",
|
|
75
74
|
"@types/jest": "^29.5.5",
|
|
76
|
-
"@types/jsonwebtoken": "^9.0.1",
|
|
77
75
|
"@types/lodash": "^4.14.177",
|
|
78
76
|
"@types/node": "^20.11.0",
|
|
79
77
|
"@types/uuid": "^9.0.0",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listAllowedOriginsOAuthApplicationAdmin = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const listAllowedOriginsOAuthApplicationAdmin = async () => {
|
|
6
|
-
return (await __1.AbyssCore.axios.get('oauth-application/admin/allowed-origins')).data;
|
|
7
|
-
};
|
|
8
|
-
exports.listAllowedOriginsOAuthApplicationAdmin = listAllowedOriginsOAuthApplicationAdmin;
|
|
9
|
-
//# sourceMappingURL=oauth-application.admin.api.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-application.admin.api.js","sourceRoot":"","sources":["../../src/api/oauth-application.admin.api.ts"],"names":[],"mappings":";;;AAAA,0BAA+B;AAIxB,MAAM,uCAAuC,GAClD,KAAK,IAA+D,EAAE;IACpE,OAAO,CACL,MAAM,aAAS,CAAC,KAAK,CAAC,GAAG,CACvB,yCAAyC,CAC1C,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAPS,QAAA,uCAAuC,2CAOhD"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ICreateOAuthApplicationBody, ICreateOAuthApplicationProjectParams, IDeleteOAuthApplicationParams, IGetOAuthApplicationParams, IListOAuthApplicationProjectParams, IRegenerateSecretOAuthApplicationParams, IUpdateOAuthApplicationBody, IUpdateOAuthApplicationParams } from '../types/interface/api/requests/oauth-application.request';
|
|
2
|
-
import type { ICreateOAuthApplicationProjectResponse, IDeleteOAuthApplicationResponse, IGetOAuthApplicationResponse, IListOAuthApplicationProjectResponse, IRegenerateSecretOAuthApplicationResponse, IUpdateOAuthApplicationResponse } from '../types/interface/api/responses/oauth-application.response';
|
|
3
|
-
export declare const listOAuthApplicationProject: (params: IListOAuthApplicationProjectParams) => Promise<IListOAuthApplicationProjectResponse>;
|
|
4
|
-
export declare const createOAuthApplicationProject: (params: ICreateOAuthApplicationProjectParams, body: ICreateOAuthApplicationBody) => Promise<ICreateOAuthApplicationProjectResponse>;
|
|
5
|
-
export declare const getOAuthApplication: (params: IGetOAuthApplicationParams) => Promise<IGetOAuthApplicationResponse>;
|
|
6
|
-
export declare const updateOAuthApplication: (params: IUpdateOAuthApplicationParams, body: IUpdateOAuthApplicationBody) => Promise<IUpdateOAuthApplicationResponse>;
|
|
7
|
-
export declare const deleteOAuthApplication: (params: IDeleteOAuthApplicationParams) => Promise<IDeleteOAuthApplicationResponse>;
|
|
8
|
-
export declare const regenerateSecretOAuthApplication: (params: IRegenerateSecretOAuthApplicationParams) => Promise<IRegenerateSecretOAuthApplicationResponse>;
|