@abyss-project/main 45.5.0 → 45.6.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/content-share.admin.api.d.ts +4 -2
- package/dist/api/content-share.admin.api.js +6 -1
- package/dist/api/content-share.admin.api.js.map +1 -1
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +3 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/oauth-application.admin.api.d.ts +4 -0
- package/dist/api/oauth-application.admin.api.js +13 -0
- package/dist/api/oauth-application.admin.api.js.map +1 -0
- package/dist/api/oauth-application.api.d.ts +9 -0
- package/dist/api/oauth-application.api.js +36 -0
- package/dist/api/oauth-application.api.js.map +1 -0
- package/dist/api/oauth-authorization-request.api.d.ts +6 -2
- package/dist/api/oauth-authorization-request.api.js +9 -1
- package/dist/api/oauth-authorization-request.api.js.map +1 -1
- package/dist/api/oauth-grant.api.d.ts +7 -0
- package/dist/api/oauth-grant.api.js +27 -0
- package/dist/api/oauth-grant.api.js.map +1 -0
- package/dist/api/organization-member.admin.api.d.ts +2 -1
- package/dist/api/organization-member.admin.api.js +5 -1
- package/dist/api/organization-member.admin.api.js.map +1 -1
- package/dist/api/project-access.admin.api.d.ts +2 -1
- package/dist/api/project-access.admin.api.js +5 -1
- package/dist/api/project-access.admin.api.js.map +1 -1
- package/dist/api/project.admin.api.d.ts +2 -1
- package/dist/api/project.admin.api.js +5 -1
- package/dist/api/project.admin.api.js.map +1 -1
- package/dist/api/tests/sdk-compute-applications.spec.js +31 -0
- package/dist/api/tests/sdk-compute-applications.spec.js.map +1 -0
- package/dist/api/tests/sdk-organization-member-admin.spec.d.ts +1 -0
- package/dist/api/tests/sdk-organization-member-admin.spec.js +15 -0
- package/dist/api/tests/sdk-organization-member-admin.spec.js.map +1 -0
- package/dist/billing-metric-label/billing-metric-label.labels.d.ts +0 -2
- package/dist/billing-metric-label/billing-metric-label.labels.js +0 -2
- package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
- package/dist/constants/billing-catalog.constants.js +0 -4
- package/dist/constants/billing-catalog.constants.js.map +1 -1
- package/dist/constants/catalog-plan-quotas.constants.js +10 -16
- package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
- package/dist/constants/enforcement-registry.constants.js +0 -5
- 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/oauth-app.constants.d.ts +28 -0
- package/dist/constants/oauth-app.constants.js +48 -0
- package/dist/constants/oauth-app.constants.js.map +1 -0
- package/dist/constants/oauth-scope-catalogue.d.ts +238 -0
- package/dist/constants/oauth-scope-catalogue.js +3504 -0
- package/dist/constants/oauth-scope-catalogue.js.map +1 -0
- package/dist/constants/public-plans.constants.js +6 -62
- package/dist/constants/public-plans.constants.js.map +1 -1
- package/dist/constants/quota-metric-kind.constants.js +0 -1
- package/dist/constants/quota-metric-kind.constants.js.map +1 -1
- package/dist/constants/tests/oauth-app.constants.spec.d.ts +1 -0
- package/dist/constants/tests/oauth-app.constants.spec.js +90 -0
- package/dist/constants/tests/oauth-app.constants.spec.js.map +1 -0
- package/dist/constants/tests/oauth-scope-catalogue.spec.d.ts +1 -0
- package/dist/constants/tests/oauth-scope-catalogue.spec.js +278 -0
- package/dist/constants/tests/oauth-scope-catalogue.spec.js.map +1 -0
- package/dist/constants/tests/oauth-scope-positions.snapshot.d.ts +39 -0
- package/dist/constants/tests/oauth-scope-positions.snapshot.js +243 -0
- package/dist/constants/tests/oauth-scope-positions.snapshot.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -1
- package/dist/permissions/ability.d.ts +1 -1
- package/dist/permissions/ability.js +2 -0
- package/dist/permissions/ability.js.map +1 -1
- package/dist/permissions/tests/ability.spec.js +17 -0
- package/dist/permissions/tests/ability.spec.js.map +1 -1
- package/dist/server/api-cors.util.d.ts +8 -0
- package/dist/server/api-cors.util.js +83 -1
- package/dist/server/api-cors.util.js.map +1 -1
- package/dist/server/index.d.ts +6 -0
- package/dist/server/index.js +6 -0
- package/dist/server/index.js.map +1 -1
- package/dist/server/oauth-access-token.util.d.ts +30 -0
- package/dist/server/oauth-access-token.util.js +116 -0
- package/dist/server/oauth-access-token.util.js.map +1 -0
- package/dist/server/oauth-claim-format.error.d.ts +4 -0
- package/dist/server/oauth-claim-format.error.js +19 -0
- package/dist/server/oauth-claim-format.error.js.map +1 -0
- package/dist/server/oauth-perimeter-claim.util.d.ts +15 -0
- package/dist/server/oauth-perimeter-claim.util.js +145 -0
- package/dist/server/oauth-perimeter-claim.util.js.map +1 -0
- package/dist/server/oauth-perimeter.util.d.ts +36 -0
- package/dist/server/oauth-perimeter.util.js +115 -0
- package/dist/server/oauth-perimeter.util.js.map +1 -0
- package/dist/server/oauth-route-access.util.d.ts +58 -0
- package/dist/server/oauth-route-access.util.js +68 -0
- package/dist/server/oauth-route-access.util.js.map +1 -0
- package/dist/server/oauth-scope-bits.util.d.ts +9 -0
- package/dist/server/oauth-scope-bits.util.js +82 -0
- package/dist/server/oauth-scope-bits.util.js.map +1 -0
- package/dist/server/tests/api-cors-dynamic.util.spec.d.ts +1 -0
- package/dist/server/tests/api-cors-dynamic.util.spec.js +220 -0
- package/dist/server/tests/api-cors-dynamic.util.spec.js.map +1 -0
- package/dist/server/tests/oauth-access-token.util.spec.d.ts +1 -0
- package/dist/server/tests/oauth-access-token.util.spec.js +166 -0
- package/dist/server/tests/oauth-access-token.util.spec.js.map +1 -0
- package/dist/server/tests/oauth-perimeter-claim.util.spec.d.ts +1 -0
- package/dist/server/tests/oauth-perimeter-claim.util.spec.js +244 -0
- package/dist/server/tests/oauth-perimeter-claim.util.spec.js.map +1 -0
- package/dist/server/tests/oauth-perimeter.util.spec.d.ts +1 -0
- package/dist/server/tests/oauth-perimeter.util.spec.js +410 -0
- package/dist/server/tests/oauth-perimeter.util.spec.js.map +1 -0
- package/dist/server/tests/oauth-route-access.util.spec.d.ts +1 -0
- package/dist/server/tests/oauth-route-access.util.spec.js +149 -0
- package/dist/server/tests/oauth-route-access.util.spec.js.map +1 -0
- package/dist/server/tests/oauth-scope-bits.util.spec.d.ts +1 -0
- package/dist/server/tests/oauth-scope-bits.util.spec.js +72 -0
- package/dist/server/tests/oauth-scope-bits.util.spec.js.map +1 -0
- package/dist/types/enum/api-error.enum.d.ts +5 -0
- package/dist/types/enum/api-error.enum.js +5 -0
- package/dist/types/enum/api-error.enum.js.map +1 -1
- package/dist/types/enum/email-type.enum.d.ts +0 -2
- package/dist/types/enum/email-type.enum.js +0 -2
- package/dist/types/enum/email-type.enum.js.map +1 -1
- 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/oauth-app.enum.d.ts +39 -0
- package/dist/types/enum/oauth-app.enum.js +48 -0
- package/dist/types/enum/oauth-app.enum.js.map +1 -0
- package/dist/types/enum/oauth-scope.enum.d.ts +89 -0
- package/dist/types/enum/oauth-scope.enum.js +103 -0
- package/dist/types/enum/oauth-scope.enum.js.map +1 -0
- package/dist/types/enum/organization-billing.enum.d.ts +0 -1
- package/dist/types/enum/organization-billing.enum.js +0 -1
- package/dist/types/enum/organization-billing.enum.js.map +1 -1
- package/dist/types/enum/project-access-permission.enum.d.ts +2 -1
- package/dist/types/enum/project-access-permission.enum.js +1 -0
- package/dist/types/enum/project-access-permission.enum.js.map +1 -1
- package/dist/types/interface/api/index.d.ts +7 -0
- package/dist/types/interface/api/index.js +7 -0
- package/dist/types/interface/api/index.js.map +1 -1
- package/dist/types/interface/api/requests/content-share.request.d.ts +10 -0
- package/dist/types/interface/api/requests/index.d.ts +3 -0
- package/dist/types/interface/api/requests/index.js +3 -0
- package/dist/types/interface/api/requests/index.js.map +1 -1
- package/dist/types/interface/api/requests/oauth-application.request.d.ts +41 -0
- package/dist/types/interface/api/requests/oauth-application.request.js +3 -0
- package/dist/types/interface/api/requests/oauth-application.request.js.map +1 -0
- package/dist/types/interface/api/requests/oauth-authorization-request.request.d.ts +7 -0
- package/dist/types/interface/api/requests/oauth-grant.request.d.ts +14 -0
- package/dist/types/interface/api/requests/oauth-grant.request.js +3 -0
- package/dist/types/interface/api/requests/oauth-grant.request.js.map +1 -0
- package/dist/types/interface/api/requests/oauth-perimeter.request.d.ts +33 -0
- package/dist/types/interface/api/requests/oauth-perimeter.request.js +5 -0
- package/dist/types/interface/api/requests/oauth-perimeter.request.js.map +1 -0
- package/dist/types/interface/api/requests/organization-member.request.d.ts +3 -0
- package/dist/types/interface/api/requests/project-access.admin.request.d.ts +8 -0
- package/dist/types/interface/api/requests/project-access.admin.request.js +2 -0
- package/dist/types/interface/api/requests/project-access.admin.request.js.map +1 -1
- package/dist/types/interface/api/requests/project.admin.request.d.ts +3 -0
- package/dist/types/interface/api/responses/content-share.response.d.ts +4 -0
- package/dist/types/interface/api/responses/index.d.ts +4 -0
- package/dist/types/interface/api/responses/index.js +4 -0
- package/dist/types/interface/api/responses/index.js.map +1 -1
- package/dist/types/interface/api/responses/oauth-application.response.d.ts +56 -0
- package/dist/types/interface/api/responses/oauth-application.response.js +3 -0
- package/dist/types/interface/api/responses/oauth-application.response.js.map +1 -0
- package/dist/types/interface/api/responses/oauth-authorization-request.response.d.ts +28 -2
- package/dist/types/interface/api/responses/oauth-grant.response.d.ts +44 -0
- package/dist/types/interface/api/responses/oauth-grant.response.js +3 -0
- package/dist/types/interface/api/responses/oauth-grant.response.js.map +1 -0
- package/dist/types/interface/api/responses/oauth-perimeter.response.d.ts +50 -0
- package/dist/types/interface/api/responses/oauth-perimeter.response.js +3 -0
- package/dist/types/interface/api/responses/oauth-perimeter.response.js.map +1 -0
- package/dist/types/interface/api/responses/oauth-userinfo.response.d.ts +8 -0
- package/dist/types/interface/api/responses/oauth-userinfo.response.js +3 -0
- package/dist/types/interface/api/responses/oauth-userinfo.response.js.map +1 -0
- package/dist/types/interface/api/responses/organization-member.response.d.ts +8 -0
- package/dist/types/interface/api/responses/project-access.admin.response.d.ts +9 -0
- package/dist/types/interface/api/responses/project.admin.response.d.ts +5 -0
- package/dist/types/interface/mcp/mcp-oauth.d.ts +2 -0
- package/dist/utils/abyss.utils.d.ts +1 -1
- package/package.json +17 -10
- package/dist/constants/tests/beam-offer-figures.spec.js +0 -64
- package/dist/constants/tests/beam-offer-figures.spec.js.map +0 -1
- package/dist/types/enum/beam-transfer-alert.enum.d.ts +0 -5
- package/dist/types/enum/beam-transfer-alert.enum.js +0 -10
- package/dist/types/enum/beam-transfer-alert.enum.js.map +0 -1
- /package/dist/{constants/tests/beam-offer-figures.spec.d.ts → api/tests/sdk-compute-applications.spec.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/main",
|
|
3
|
-
"version": "45.
|
|
3
|
+
"version": "45.6.0",
|
|
4
4
|
"description": "Core package to interact with Abyss-Project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,6 +42,19 @@
|
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"main": "dist/index.js",
|
|
47
|
+
"types": "dist/index.d.ts"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
51
|
+
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
52
|
+
"tsc": "tsc",
|
|
53
|
+
"build": "tsc -p tsconfig.build.json",
|
|
54
|
+
"dev": "tsc --watch",
|
|
55
|
+
"test": "jest",
|
|
56
|
+
"prepublishOnly": "tsc && node ../../scripts/check-sdk-surface.cjs"
|
|
57
|
+
},
|
|
45
58
|
"repository": {
|
|
46
59
|
"type": "git",
|
|
47
60
|
"url": "https://gitlab.com/abyss-group"
|
|
@@ -61,6 +74,7 @@
|
|
|
61
74
|
"byte-size": "^8.1.0",
|
|
62
75
|
"date-fns": "^2.29.3",
|
|
63
76
|
"dayjs": "^1.10.7",
|
|
77
|
+
"jsonwebtoken": "^9.0.0",
|
|
64
78
|
"lodash": "^4.17.21",
|
|
65
79
|
"lz-string": "^1.5.0",
|
|
66
80
|
"reflect-metadata": "^0.1.13",
|
|
@@ -72,6 +86,7 @@
|
|
|
72
86
|
"@types/express": "^4.17.21",
|
|
73
87
|
"@types/express-serve-static-core": "^4.17.28",
|
|
74
88
|
"@types/jest": "^29.5.5",
|
|
89
|
+
"@types/jsonwebtoken": "^9.0.1",
|
|
75
90
|
"@types/lodash": "^4.14.177",
|
|
76
91
|
"@types/node": "^20.11.0",
|
|
77
92
|
"@types/uuid": "^9.0.0",
|
|
@@ -90,13 +105,5 @@
|
|
|
90
105
|
"sequelize-cli": "^6.2.0",
|
|
91
106
|
"ts-jest": "^29.1.1",
|
|
92
107
|
"typescript": "5.9.3"
|
|
93
|
-
},
|
|
94
|
-
"scripts": {
|
|
95
|
-
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
96
|
-
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
97
|
-
"tsc": "tsc",
|
|
98
|
-
"build": "tsc -p tsconfig.build.json",
|
|
99
|
-
"dev": "tsc --watch",
|
|
100
|
-
"test": "jest"
|
|
101
108
|
}
|
|
102
|
-
}
|
|
109
|
+
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const organization_billing_enum_1 = require("../../types/enum/organization-billing.enum");
|
|
4
|
-
const plan_template_key_enum_1 = require("../../types/enum/plan-template-key.enum");
|
|
5
|
-
const billing_metric_label_labels_1 = require("../../billing-metric-label/billing-metric-label.labels");
|
|
6
|
-
const billing_catalog_constants_1 = require("../billing-catalog.constants");
|
|
7
|
-
const catalog_plan_quotas_constants_1 = require("../catalog-plan-quotas.constants");
|
|
8
|
-
const enforcement_registry_constants_1 = require("../enforcement-registry.constants");
|
|
9
|
-
const quota_metric_kind_constants_1 = require("../quota-metric-kind.constants");
|
|
10
|
-
const limitOf = (accountType, key, metric) => catalog_plan_quotas_constants_1.CATALOG_PLAN_QUOTAS[accountType][key]?.find((entry) => entry.service === organization_billing_enum_1.BillingService.ABYSS_BEAM && entry.metric === metric)?.limit;
|
|
11
|
-
const FREE_PLANS = [
|
|
12
|
-
[organization_billing_enum_1.PlanAccountType.USER, plan_template_key_enum_1.PlanTemplateKey.FREEMIUM],
|
|
13
|
-
[organization_billing_enum_1.PlanAccountType.ORGANIZATION, plan_template_key_enum_1.PlanTemplateKey.FREEMIUM],
|
|
14
|
-
[organization_billing_enum_1.PlanAccountType.FAMILY, plan_template_key_enum_1.PlanTemplateKey.FAMILY_FREE],
|
|
15
|
-
];
|
|
16
|
-
const PAID_PLANS = [
|
|
17
|
-
[organization_billing_enum_1.PlanAccountType.USER, plan_template_key_enum_1.PlanTemplateKey.STARTER, 100],
|
|
18
|
-
[organization_billing_enum_1.PlanAccountType.USER, plan_template_key_enum_1.PlanTemplateKey.PRO, 2000],
|
|
19
|
-
[organization_billing_enum_1.PlanAccountType.ORGANIZATION, plan_template_key_enum_1.PlanTemplateKey.STARTER, 500],
|
|
20
|
-
[organization_billing_enum_1.PlanAccountType.ORGANIZATION, plan_template_key_enum_1.PlanTemplateKey.PRO, 5000],
|
|
21
|
-
[organization_billing_enum_1.PlanAccountType.FAMILY, plan_template_key_enum_1.PlanTemplateKey.FAMILY_PAID, 100],
|
|
22
|
-
];
|
|
23
|
-
describe('the Beam offer figures in the catalog (card #924)', () => {
|
|
24
|
-
it('declares BEAM_TRANSFER_MAX_GB as a GB config limit of ABYSS_BEAM, enforced inline by abyss-beam', () => {
|
|
25
|
-
expect(billing_catalog_constants_1.BILLABLE_SERVICE_METRICS[organization_billing_enum_1.BillingService.ABYSS_BEAM]).toContain(organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB);
|
|
26
|
-
expect(billing_catalog_constants_1.METRIC_UNIT[organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB]).toBe('GB');
|
|
27
|
-
expect(billing_catalog_constants_1.METRIC_IS_CONFIG.has(organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB)).toBe(true);
|
|
28
|
-
expect(quota_metric_kind_constants_1.QUOTA_METRIC_KIND[organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB]).toBe('CONFIG');
|
|
29
|
-
expect(enforcement_registry_constants_1.ENFORCEMENT_REGISTRY[organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB]).toMatchObject({
|
|
30
|
-
mode: 'INLINE_CONFIG',
|
|
31
|
-
repo: 'abyss-beam',
|
|
32
|
-
});
|
|
33
|
-
expect(billing_metric_label_labels_1.BILLING_METRIC_LABELS.fr.BEAM_TRANSFER_MAX_GB).toBeTruthy();
|
|
34
|
-
expect(billing_metric_label_labels_1.BILLING_METRIC_LABELS.en.BEAM_TRANSFER_MAX_GB).toBeTruthy();
|
|
35
|
-
});
|
|
36
|
-
it('never allows BEAM_TRANSFER_MAX_GB to be unlimited, and allows BEAM_COUNT to be', () => {
|
|
37
|
-
expect(billing_catalog_constants_1.METRIC_SLIDER_CONFIG[organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB]?.unlimitedAllowed).toBe(false);
|
|
38
|
-
expect(billing_catalog_constants_1.METRIC_SLIDER_CONFIG[organization_billing_enum_1.BillingMetric.BEAM_COUNT]?.unlimitedAllowed).toBe(true);
|
|
39
|
-
});
|
|
40
|
-
it.each(FREE_PLANS)('gives the free plan %s/%s 25 GB per transfer, unlimited transfers, 30 days, 100 GB served', (accountType, key) => {
|
|
41
|
-
expect(limitOf(accountType, key, organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB)).toBe(25);
|
|
42
|
-
expect(limitOf(accountType, key, organization_billing_enum_1.BillingMetric.BEAM_COUNT)).toBe(-1);
|
|
43
|
-
expect(limitOf(accountType, key, organization_billing_enum_1.BillingMetric.BEAM_EXPIRY_MAX_DAYS)).toBe(30);
|
|
44
|
-
expect(limitOf(accountType, key, organization_billing_enum_1.BillingMetric.BEAM_BANDWIDTH_MONTH)).toBe(100);
|
|
45
|
-
});
|
|
46
|
-
it.each(PAID_PLANS)('caps a transfer of %s/%s at the storage quota of the plan', (accountType, key, storageGb) => {
|
|
47
|
-
const storage = catalog_plan_quotas_constants_1.CATALOG_PLAN_QUOTAS[accountType][key]?.find((entry) => entry.metric === organization_billing_enum_1.BillingMetric.ACCOUNT_STORAGE_GB)?.limit;
|
|
48
|
-
expect(storage).toBe(storageGb);
|
|
49
|
-
expect(limitOf(accountType, key, organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB)).toBe(storageGb);
|
|
50
|
-
expect(limitOf(accountType, key, organization_billing_enum_1.BillingMetric.BEAM_EXPIRY_MAX_DAYS)).toBe(-1);
|
|
51
|
-
});
|
|
52
|
-
it('carries a finite BEAM_TRANSFER_MAX_GB on every plan of the catalog, demo and internal included', () => {
|
|
53
|
-
for (const accountType of Object.values(organization_billing_enum_1.PlanAccountType)) {
|
|
54
|
-
for (const [key, quotas] of Object.entries(catalog_plan_quotas_constants_1.CATALOG_PLAN_QUOTAS[accountType])) {
|
|
55
|
-
const limit = quotas?.find((entry) => entry.metric === organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB)?.limit;
|
|
56
|
-
expect([accountType, key, limit && limit > 0]).toEqual([accountType, key, true]);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
it('caps a demo transfer at the demo storage envelope', () => {
|
|
61
|
-
expect(catalog_plan_quotas_constants_1.DEMO_ENVELOPE_LIMITS[organization_billing_enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB]).toBe(catalog_plan_quotas_constants_1.DEMO_ENVELOPE_LIMITS[organization_billing_enum_1.BillingMetric.ACCOUNT_STORAGE_GB]);
|
|
62
|
-
});
|
|
63
|
-
});
|
|
64
|
-
//# sourceMappingURL=beam-offer-figures.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"beam-offer-figures.spec.js","sourceRoot":"","sources":["../../../src/constants/tests/beam-offer-figures.spec.ts"],"names":[],"mappings":";;AAAA,0FAIoD;AACpD,oFAA0E;AAC1E,wGAA+F;AAC/F,4EAKsC;AACtC,oFAA6F;AAC7F,sFAAyE;AACzE,gFAAmE;AAEnE,MAAM,OAAO,GAAG,CACd,WAA4B,EAC5B,GAAoB,EACpB,MAAqB,EACD,EAAE,CACtB,mDAAmB,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CACzC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,KAAK,0CAAc,CAAC,UAAU,IAAI,KAAK,CAAC,MAAM,KAAK,MAAM,CAClF,EAAE,KAAK,CAAC;AAEX,MAAM,UAAU,GAA8C;IAC5D,CAAC,2CAAe,CAAC,IAAI,EAAE,wCAAe,CAAC,QAAQ,CAAC;IAChD,CAAC,2CAAe,CAAC,YAAY,EAAE,wCAAe,CAAC,QAAQ,CAAC;IACxD,CAAC,2CAAe,CAAC,MAAM,EAAE,wCAAe,CAAC,WAAW,CAAC;CACtD,CAAC;AAGF,MAAM,UAAU,GAAsD;IACpE,CAAC,2CAAe,CAAC,IAAI,EAAE,wCAAe,CAAC,OAAO,EAAE,GAAG,CAAC;IACpD,CAAC,2CAAe,CAAC,IAAI,EAAE,wCAAe,CAAC,GAAG,EAAE,IAAI,CAAC;IACjD,CAAC,2CAAe,CAAC,YAAY,EAAE,wCAAe,CAAC,OAAO,EAAE,GAAG,CAAC;IAC5D,CAAC,2CAAe,CAAC,YAAY,EAAE,wCAAe,CAAC,GAAG,EAAE,IAAI,CAAC;IACzD,CAAC,2CAAe,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AC,CAAC,CAAC;IACjF,CAAC,CACF,CAAC;IAEF,EAAE,CAAC,gGAAgG,EAAE,GAAG,EAAE;QACxG,KAAK,MAAM,WAAW,IAAI,MAAM,CAAC,MAAM,CAAC,2CAAe,CAAC,EAAE,CAAC;YACzD,KAAK,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,mDAAmB,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;gBAC7E,MAAM,KAAK,GAAG,MAAM,EAAE,IAAI,CACxB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,yCAAa,CAAC,oBAAoB,CAC/D,EAAE,KAAK,CAAC;gBACT,MAAM,CAAC,CAAC,WAAW,EAAE,GAAG,EAAE,KAAK,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC;YACnF,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE;QAC3D,MAAM,CAAC,oDAAoB,CAAC,yCAAa,CAAC,oBAAoB,CAAC,CAAC,CAAC,IAAI,CACnE,oDAAoB,CAAC,yCAAa,CAAC,kBAAkB,CAAC,CACvD,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BeamTransferAlertKind = void 0;
|
|
4
|
-
var BeamTransferAlertKind;
|
|
5
|
-
(function (BeamTransferAlertKind) {
|
|
6
|
-
BeamTransferAlertKind["FIRST_DOWNLOAD"] = "first_download";
|
|
7
|
-
BeamTransferAlertKind["EACH_DOWNLOAD"] = "each_download";
|
|
8
|
-
BeamTransferAlertKind["EXPIRY_EVE"] = "expiry_eve";
|
|
9
|
-
})(BeamTransferAlertKind || (exports.BeamTransferAlertKind = BeamTransferAlertKind = {}));
|
|
10
|
-
//# sourceMappingURL=beam-transfer-alert.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"beam-transfer-alert.enum.js","sourceRoot":"","sources":["../../../src/types/enum/beam-transfer-alert.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAE/B,0DAAiC,CAAA;IAEjC,wDAA+B,CAAA;IAE/B,kDAAyB,CAAA;AAC3B,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC"}
|
|
File without changes
|