@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.
Files changed (185) hide show
  1. package/dist/api/content-share.admin.api.d.ts +4 -2
  2. package/dist/api/content-share.admin.api.js +6 -1
  3. package/dist/api/content-share.admin.api.js.map +1 -1
  4. package/dist/api/index.d.ts +3 -0
  5. package/dist/api/index.js +3 -0
  6. package/dist/api/index.js.map +1 -1
  7. package/dist/api/oauth-application.admin.api.d.ts +4 -0
  8. package/dist/api/oauth-application.admin.api.js +13 -0
  9. package/dist/api/oauth-application.admin.api.js.map +1 -0
  10. package/dist/api/oauth-application.api.d.ts +9 -0
  11. package/dist/api/oauth-application.api.js +36 -0
  12. package/dist/api/oauth-application.api.js.map +1 -0
  13. package/dist/api/oauth-authorization-request.api.d.ts +6 -2
  14. package/dist/api/oauth-authorization-request.api.js +9 -1
  15. package/dist/api/oauth-authorization-request.api.js.map +1 -1
  16. package/dist/api/oauth-grant.api.d.ts +7 -0
  17. package/dist/api/oauth-grant.api.js +27 -0
  18. package/dist/api/oauth-grant.api.js.map +1 -0
  19. package/dist/api/organization-member.admin.api.d.ts +2 -1
  20. package/dist/api/organization-member.admin.api.js +5 -1
  21. package/dist/api/organization-member.admin.api.js.map +1 -1
  22. package/dist/api/project-access.admin.api.d.ts +2 -1
  23. package/dist/api/project-access.admin.api.js +5 -1
  24. package/dist/api/project-access.admin.api.js.map +1 -1
  25. package/dist/api/project.admin.api.d.ts +2 -1
  26. package/dist/api/project.admin.api.js +5 -1
  27. package/dist/api/project.admin.api.js.map +1 -1
  28. package/dist/api/tests/sdk-compute-applications.spec.js +31 -0
  29. package/dist/api/tests/sdk-compute-applications.spec.js.map +1 -0
  30. package/dist/api/tests/sdk-organization-member-admin.spec.d.ts +1 -0
  31. package/dist/api/tests/sdk-organization-member-admin.spec.js +15 -0
  32. package/dist/api/tests/sdk-organization-member-admin.spec.js.map +1 -0
  33. package/dist/billing-metric-label/billing-metric-label.labels.d.ts +0 -2
  34. package/dist/billing-metric-label/billing-metric-label.labels.js +0 -2
  35. package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
  36. package/dist/constants/billing-catalog.constants.js +0 -4
  37. package/dist/constants/billing-catalog.constants.js.map +1 -1
  38. package/dist/constants/catalog-plan-quotas.constants.js +10 -16
  39. package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
  40. package/dist/constants/enforcement-registry.constants.js +0 -5
  41. package/dist/constants/enforcement-registry.constants.js.map +1 -1
  42. package/dist/constants/index.d.ts +2 -0
  43. package/dist/constants/index.js +2 -0
  44. package/dist/constants/index.js.map +1 -1
  45. package/dist/constants/oauth-app.constants.d.ts +28 -0
  46. package/dist/constants/oauth-app.constants.js +48 -0
  47. package/dist/constants/oauth-app.constants.js.map +1 -0
  48. package/dist/constants/oauth-scope-catalogue.d.ts +238 -0
  49. package/dist/constants/oauth-scope-catalogue.js +3504 -0
  50. package/dist/constants/oauth-scope-catalogue.js.map +1 -0
  51. package/dist/constants/public-plans.constants.js +6 -62
  52. package/dist/constants/public-plans.constants.js.map +1 -1
  53. package/dist/constants/quota-metric-kind.constants.js +0 -1
  54. package/dist/constants/quota-metric-kind.constants.js.map +1 -1
  55. package/dist/constants/tests/oauth-app.constants.spec.d.ts +1 -0
  56. package/dist/constants/tests/oauth-app.constants.spec.js +90 -0
  57. package/dist/constants/tests/oauth-app.constants.spec.js.map +1 -0
  58. package/dist/constants/tests/oauth-scope-catalogue.spec.d.ts +1 -0
  59. package/dist/constants/tests/oauth-scope-catalogue.spec.js +278 -0
  60. package/dist/constants/tests/oauth-scope-catalogue.spec.js.map +1 -0
  61. package/dist/constants/tests/oauth-scope-positions.snapshot.d.ts +39 -0
  62. package/dist/constants/tests/oauth-scope-positions.snapshot.js +243 -0
  63. package/dist/constants/tests/oauth-scope-positions.snapshot.js.map +1 -0
  64. package/dist/index.d.ts +29 -0
  65. package/dist/index.js +29 -0
  66. package/dist/index.js.map +1 -1
  67. package/dist/permissions/ability.d.ts +1 -1
  68. package/dist/permissions/ability.js +2 -0
  69. package/dist/permissions/ability.js.map +1 -1
  70. package/dist/permissions/tests/ability.spec.js +17 -0
  71. package/dist/permissions/tests/ability.spec.js.map +1 -1
  72. package/dist/server/api-cors.util.d.ts +8 -0
  73. package/dist/server/api-cors.util.js +83 -1
  74. package/dist/server/api-cors.util.js.map +1 -1
  75. package/dist/server/index.d.ts +6 -0
  76. package/dist/server/index.js +6 -0
  77. package/dist/server/index.js.map +1 -1
  78. package/dist/server/oauth-access-token.util.d.ts +30 -0
  79. package/dist/server/oauth-access-token.util.js +116 -0
  80. package/dist/server/oauth-access-token.util.js.map +1 -0
  81. package/dist/server/oauth-claim-format.error.d.ts +4 -0
  82. package/dist/server/oauth-claim-format.error.js +19 -0
  83. package/dist/server/oauth-claim-format.error.js.map +1 -0
  84. package/dist/server/oauth-perimeter-claim.util.d.ts +15 -0
  85. package/dist/server/oauth-perimeter-claim.util.js +145 -0
  86. package/dist/server/oauth-perimeter-claim.util.js.map +1 -0
  87. package/dist/server/oauth-perimeter.util.d.ts +36 -0
  88. package/dist/server/oauth-perimeter.util.js +115 -0
  89. package/dist/server/oauth-perimeter.util.js.map +1 -0
  90. package/dist/server/oauth-route-access.util.d.ts +58 -0
  91. package/dist/server/oauth-route-access.util.js +68 -0
  92. package/dist/server/oauth-route-access.util.js.map +1 -0
  93. package/dist/server/oauth-scope-bits.util.d.ts +9 -0
  94. package/dist/server/oauth-scope-bits.util.js +82 -0
  95. package/dist/server/oauth-scope-bits.util.js.map +1 -0
  96. package/dist/server/tests/api-cors-dynamic.util.spec.d.ts +1 -0
  97. package/dist/server/tests/api-cors-dynamic.util.spec.js +220 -0
  98. package/dist/server/tests/api-cors-dynamic.util.spec.js.map +1 -0
  99. package/dist/server/tests/oauth-access-token.util.spec.d.ts +1 -0
  100. package/dist/server/tests/oauth-access-token.util.spec.js +166 -0
  101. package/dist/server/tests/oauth-access-token.util.spec.js.map +1 -0
  102. package/dist/server/tests/oauth-perimeter-claim.util.spec.d.ts +1 -0
  103. package/dist/server/tests/oauth-perimeter-claim.util.spec.js +244 -0
  104. package/dist/server/tests/oauth-perimeter-claim.util.spec.js.map +1 -0
  105. package/dist/server/tests/oauth-perimeter.util.spec.d.ts +1 -0
  106. package/dist/server/tests/oauth-perimeter.util.spec.js +410 -0
  107. package/dist/server/tests/oauth-perimeter.util.spec.js.map +1 -0
  108. package/dist/server/tests/oauth-route-access.util.spec.d.ts +1 -0
  109. package/dist/server/tests/oauth-route-access.util.spec.js +149 -0
  110. package/dist/server/tests/oauth-route-access.util.spec.js.map +1 -0
  111. package/dist/server/tests/oauth-scope-bits.util.spec.d.ts +1 -0
  112. package/dist/server/tests/oauth-scope-bits.util.spec.js +72 -0
  113. package/dist/server/tests/oauth-scope-bits.util.spec.js.map +1 -0
  114. package/dist/types/enum/api-error.enum.d.ts +5 -0
  115. package/dist/types/enum/api-error.enum.js +5 -0
  116. package/dist/types/enum/api-error.enum.js.map +1 -1
  117. package/dist/types/enum/email-type.enum.d.ts +0 -2
  118. package/dist/types/enum/email-type.enum.js +0 -2
  119. package/dist/types/enum/email-type.enum.js.map +1 -1
  120. package/dist/types/enum/index.d.ts +2 -1
  121. package/dist/types/enum/index.js +2 -1
  122. package/dist/types/enum/index.js.map +1 -1
  123. package/dist/types/enum/oauth-app.enum.d.ts +39 -0
  124. package/dist/types/enum/oauth-app.enum.js +48 -0
  125. package/dist/types/enum/oauth-app.enum.js.map +1 -0
  126. package/dist/types/enum/oauth-scope.enum.d.ts +89 -0
  127. package/dist/types/enum/oauth-scope.enum.js +103 -0
  128. package/dist/types/enum/oauth-scope.enum.js.map +1 -0
  129. package/dist/types/enum/organization-billing.enum.d.ts +0 -1
  130. package/dist/types/enum/organization-billing.enum.js +0 -1
  131. package/dist/types/enum/organization-billing.enum.js.map +1 -1
  132. package/dist/types/enum/project-access-permission.enum.d.ts +2 -1
  133. package/dist/types/enum/project-access-permission.enum.js +1 -0
  134. package/dist/types/enum/project-access-permission.enum.js.map +1 -1
  135. package/dist/types/interface/api/index.d.ts +7 -0
  136. package/dist/types/interface/api/index.js +7 -0
  137. package/dist/types/interface/api/index.js.map +1 -1
  138. package/dist/types/interface/api/requests/content-share.request.d.ts +10 -0
  139. package/dist/types/interface/api/requests/index.d.ts +3 -0
  140. package/dist/types/interface/api/requests/index.js +3 -0
  141. package/dist/types/interface/api/requests/index.js.map +1 -1
  142. package/dist/types/interface/api/requests/oauth-application.request.d.ts +41 -0
  143. package/dist/types/interface/api/requests/oauth-application.request.js +3 -0
  144. package/dist/types/interface/api/requests/oauth-application.request.js.map +1 -0
  145. package/dist/types/interface/api/requests/oauth-authorization-request.request.d.ts +7 -0
  146. package/dist/types/interface/api/requests/oauth-grant.request.d.ts +14 -0
  147. package/dist/types/interface/api/requests/oauth-grant.request.js +3 -0
  148. package/dist/types/interface/api/requests/oauth-grant.request.js.map +1 -0
  149. package/dist/types/interface/api/requests/oauth-perimeter.request.d.ts +33 -0
  150. package/dist/types/interface/api/requests/oauth-perimeter.request.js +5 -0
  151. package/dist/types/interface/api/requests/oauth-perimeter.request.js.map +1 -0
  152. package/dist/types/interface/api/requests/organization-member.request.d.ts +3 -0
  153. package/dist/types/interface/api/requests/project-access.admin.request.d.ts +8 -0
  154. package/dist/types/interface/api/requests/project-access.admin.request.js +2 -0
  155. package/dist/types/interface/api/requests/project-access.admin.request.js.map +1 -1
  156. package/dist/types/interface/api/requests/project.admin.request.d.ts +3 -0
  157. package/dist/types/interface/api/responses/content-share.response.d.ts +4 -0
  158. package/dist/types/interface/api/responses/index.d.ts +4 -0
  159. package/dist/types/interface/api/responses/index.js +4 -0
  160. package/dist/types/interface/api/responses/index.js.map +1 -1
  161. package/dist/types/interface/api/responses/oauth-application.response.d.ts +56 -0
  162. package/dist/types/interface/api/responses/oauth-application.response.js +3 -0
  163. package/dist/types/interface/api/responses/oauth-application.response.js.map +1 -0
  164. package/dist/types/interface/api/responses/oauth-authorization-request.response.d.ts +28 -2
  165. package/dist/types/interface/api/responses/oauth-grant.response.d.ts +44 -0
  166. package/dist/types/interface/api/responses/oauth-grant.response.js +3 -0
  167. package/dist/types/interface/api/responses/oauth-grant.response.js.map +1 -0
  168. package/dist/types/interface/api/responses/oauth-perimeter.response.d.ts +50 -0
  169. package/dist/types/interface/api/responses/oauth-perimeter.response.js +3 -0
  170. package/dist/types/interface/api/responses/oauth-perimeter.response.js.map +1 -0
  171. package/dist/types/interface/api/responses/oauth-userinfo.response.d.ts +8 -0
  172. package/dist/types/interface/api/responses/oauth-userinfo.response.js +3 -0
  173. package/dist/types/interface/api/responses/oauth-userinfo.response.js.map +1 -0
  174. package/dist/types/interface/api/responses/organization-member.response.d.ts +8 -0
  175. package/dist/types/interface/api/responses/project-access.admin.response.d.ts +9 -0
  176. package/dist/types/interface/api/responses/project.admin.response.d.ts +5 -0
  177. package/dist/types/interface/mcp/mcp-oauth.d.ts +2 -0
  178. package/dist/utils/abyss.utils.d.ts +1 -1
  179. package/package.json +17 -10
  180. package/dist/constants/tests/beam-offer-figures.spec.js +0 -64
  181. package/dist/constants/tests/beam-offer-figures.spec.js.map +0 -1
  182. package/dist/types/enum/beam-transfer-alert.enum.d.ts +0 -5
  183. package/dist/types/enum/beam-transfer-alert.enum.js +0 -10
  184. package/dist/types/enum/beam-transfer-alert.enum.js.map +0 -1
  185. /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.5.0",
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,GAA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AK,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,5 +0,0 @@
1
- export declare enum BeamTransferAlertKind {
2
- FIRST_DOWNLOAD = "first_download",
3
- EACH_DOWNLOAD = "each_download",
4
- EXPIRY_EVE = "expiry_eve"
5
- }
@@ -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"}