@abyss-project/main 43.14.0 → 44.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) 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-billing.api.d.ts +3 -0
  20. package/dist/api/organization-billing.api.js +5 -1
  21. package/dist/api/organization-billing.api.js.map +1 -1
  22. package/dist/api/organization-member.admin.api.d.ts +2 -1
  23. package/dist/api/organization-member.admin.api.js +5 -1
  24. package/dist/api/organization-member.admin.api.js.map +1 -1
  25. package/dist/api/project-access.admin.api.d.ts +2 -1
  26. package/dist/api/project-access.admin.api.js +5 -1
  27. package/dist/api/project-access.admin.api.js.map +1 -1
  28. package/dist/api/project.admin.api.d.ts +2 -1
  29. package/dist/api/project.admin.api.js +5 -1
  30. package/dist/api/project.admin.api.js.map +1 -1
  31. package/dist/api/tests/sdk-compute-applications.spec.js +31 -0
  32. package/dist/api/tests/sdk-compute-applications.spec.js.map +1 -0
  33. package/dist/api/tests/sdk-organization-member-admin.spec.d.ts +1 -0
  34. package/dist/api/tests/sdk-organization-member-admin.spec.js +15 -0
  35. package/dist/api/tests/sdk-organization-member-admin.spec.js.map +1 -0
  36. package/dist/api/user-billing.api.d.ts +3 -0
  37. package/dist/api/user-billing.api.js +6 -2
  38. package/dist/api/user-billing.api.js.map +1 -1
  39. package/dist/billing-metric-label/billing-metric-label.labels.d.ts +0 -4
  40. package/dist/billing-metric-label/billing-metric-label.labels.js +0 -4
  41. package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
  42. package/dist/constants/billing-catalog.constants.js +0 -7
  43. package/dist/constants/billing-catalog.constants.js.map +1 -1
  44. package/dist/constants/catalog-plan-quotas.constants.js +0 -6
  45. package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
  46. package/dist/constants/enforcement-registry.constants.js +0 -12
  47. package/dist/constants/enforcement-registry.constants.js.map +1 -1
  48. package/dist/constants/index.d.ts +3 -0
  49. package/dist/constants/index.js +3 -0
  50. package/dist/constants/index.js.map +1 -1
  51. package/dist/constants/metric-price-scale.constants.js +0 -10
  52. package/dist/constants/metric-price-scale.constants.js.map +1 -1
  53. package/dist/constants/module-catalog.constants.d.ts +0 -2
  54. package/dist/constants/module-catalog.constants.js +2 -17
  55. package/dist/constants/module-catalog.constants.js.map +1 -1
  56. package/dist/constants/oauth-app.constants.d.ts +28 -0
  57. package/dist/constants/oauth-app.constants.js +48 -0
  58. package/dist/constants/oauth-app.constants.js.map +1 -0
  59. package/dist/constants/oauth-scope-catalogue.d.ts +238 -0
  60. package/dist/constants/oauth-scope-catalogue.js +3504 -0
  61. package/dist/constants/oauth-scope-catalogue.js.map +1 -0
  62. package/dist/constants/overage-base-rates.constants.js +0 -2
  63. package/dist/constants/overage-base-rates.constants.js.map +1 -1
  64. package/dist/constants/platform-cap.constants.d.ts +0 -2
  65. package/dist/constants/platform-cap.constants.js +1 -6
  66. package/dist/constants/platform-cap.constants.js.map +1 -1
  67. package/dist/constants/public-plans.constants.js +0 -78
  68. package/dist/constants/public-plans.constants.js.map +1 -1
  69. package/dist/constants/quota-metric-kind.constants.js +0 -4
  70. package/dist/constants/quota-metric-kind.constants.js.map +1 -1
  71. package/dist/constants/service-storage-grace.constants.d.ts +3 -0
  72. package/dist/constants/service-storage-grace.constants.js +11 -0
  73. package/dist/constants/service-storage-grace.constants.js.map +1 -0
  74. package/dist/constants/tests/module-catalog.constants.spec.js +1 -17
  75. package/dist/constants/tests/module-catalog.constants.spec.js.map +1 -1
  76. package/dist/constants/tests/oauth-app.constants.spec.d.ts +1 -0
  77. package/dist/constants/tests/oauth-app.constants.spec.js +90 -0
  78. package/dist/constants/tests/oauth-app.constants.spec.js.map +1 -0
  79. package/dist/constants/tests/oauth-scope-catalogue.spec.d.ts +1 -0
  80. package/dist/constants/tests/oauth-scope-catalogue.spec.js +278 -0
  81. package/dist/constants/tests/oauth-scope-catalogue.spec.js.map +1 -0
  82. package/dist/constants/tests/oauth-scope-positions.snapshot.d.ts +39 -0
  83. package/dist/constants/tests/oauth-scope-positions.snapshot.js +243 -0
  84. package/dist/constants/tests/oauth-scope-positions.snapshot.js.map +1 -0
  85. package/dist/index.d.ts +31 -0
  86. package/dist/index.js +31 -0
  87. package/dist/index.js.map +1 -1
  88. package/dist/permissions/ability.d.ts +1 -1
  89. package/dist/permissions/ability.js +2 -0
  90. package/dist/permissions/ability.js.map +1 -1
  91. package/dist/permissions/tests/ability.spec.js +17 -0
  92. package/dist/permissions/tests/ability.spec.js.map +1 -1
  93. package/dist/server/api-cors.util.d.ts +8 -0
  94. package/dist/server/api-cors.util.js +83 -1
  95. package/dist/server/api-cors.util.js.map +1 -1
  96. package/dist/server/archive-rows/row-archive.service.d.ts +1 -0
  97. package/dist/server/archive-rows/row-archive.service.js +14 -3
  98. package/dist/server/archive-rows/row-archive.service.js.map +1 -1
  99. package/dist/server/archive-rows/row-archive.types.d.ts +3 -1
  100. package/dist/server/archive-rows/tests/row-archive.service.spec.js +76 -2
  101. package/dist/server/archive-rows/tests/row-archive.service.spec.js.map +1 -1
  102. package/dist/server/index.d.ts +6 -0
  103. package/dist/server/index.js +6 -0
  104. package/dist/server/index.js.map +1 -1
  105. package/dist/server/oauth-access-token.util.d.ts +30 -0
  106. package/dist/server/oauth-access-token.util.js +116 -0
  107. package/dist/server/oauth-access-token.util.js.map +1 -0
  108. package/dist/server/oauth-claim-format.error.d.ts +4 -0
  109. package/dist/server/oauth-claim-format.error.js +19 -0
  110. package/dist/server/oauth-claim-format.error.js.map +1 -0
  111. package/dist/server/oauth-perimeter-claim.util.d.ts +15 -0
  112. package/dist/server/oauth-perimeter-claim.util.js +145 -0
  113. package/dist/server/oauth-perimeter-claim.util.js.map +1 -0
  114. package/dist/server/oauth-perimeter.util.d.ts +36 -0
  115. package/dist/server/oauth-perimeter.util.js +115 -0
  116. package/dist/server/oauth-perimeter.util.js.map +1 -0
  117. package/dist/server/oauth-route-access.util.d.ts +58 -0
  118. package/dist/server/oauth-route-access.util.js +68 -0
  119. package/dist/server/oauth-route-access.util.js.map +1 -0
  120. package/dist/server/oauth-scope-bits.util.d.ts +9 -0
  121. package/dist/server/oauth-scope-bits.util.js +82 -0
  122. package/dist/server/oauth-scope-bits.util.js.map +1 -0
  123. package/dist/server/tests/api-cors-dynamic.util.spec.d.ts +1 -0
  124. package/dist/server/tests/api-cors-dynamic.util.spec.js +220 -0
  125. package/dist/server/tests/api-cors-dynamic.util.spec.js.map +1 -0
  126. package/dist/server/tests/oauth-access-token.util.spec.d.ts +1 -0
  127. package/dist/server/tests/oauth-access-token.util.spec.js +166 -0
  128. package/dist/server/tests/oauth-access-token.util.spec.js.map +1 -0
  129. package/dist/server/tests/oauth-perimeter-claim.util.spec.d.ts +1 -0
  130. package/dist/server/tests/oauth-perimeter-claim.util.spec.js +244 -0
  131. package/dist/server/tests/oauth-perimeter-claim.util.spec.js.map +1 -0
  132. package/dist/server/tests/oauth-perimeter.util.spec.d.ts +1 -0
  133. package/dist/server/tests/oauth-perimeter.util.spec.js +410 -0
  134. package/dist/server/tests/oauth-perimeter.util.spec.js.map +1 -0
  135. package/dist/server/tests/oauth-route-access.util.spec.d.ts +1 -0
  136. package/dist/server/tests/oauth-route-access.util.spec.js +149 -0
  137. package/dist/server/tests/oauth-route-access.util.spec.js.map +1 -0
  138. package/dist/server/tests/oauth-scope-bits.util.spec.d.ts +1 -0
  139. package/dist/server/tests/oauth-scope-bits.util.spec.js +72 -0
  140. package/dist/server/tests/oauth-scope-bits.util.spec.js.map +1 -0
  141. package/dist/translate/en.translate.d.ts +3 -3
  142. package/dist/translate/en.translate.js +5 -5
  143. package/dist/translate/en.translate.js.map +1 -1
  144. package/dist/translate/fr.translate.d.ts +3 -3
  145. package/dist/translate/fr.translate.js +5 -5
  146. package/dist/translate/fr.translate.js.map +1 -1
  147. package/dist/translate/tests/service-storage-grace-notification.spec.d.ts +1 -0
  148. package/dist/translate/tests/service-storage-grace-notification.spec.js +29 -0
  149. package/dist/translate/tests/service-storage-grace-notification.spec.js.map +1 -0
  150. package/dist/types/enum/abyss-application-event.enum.d.ts +5 -1
  151. package/dist/types/enum/abyss-application-event.enum.js +5 -1
  152. package/dist/types/enum/abyss-application-event.enum.js.map +1 -1
  153. package/dist/types/enum/api-error.enum.d.ts +5 -0
  154. package/dist/types/enum/api-error.enum.js +5 -0
  155. package/dist/types/enum/api-error.enum.js.map +1 -1
  156. package/dist/types/enum/email-type.enum.d.ts +1 -1
  157. package/dist/types/enum/email-type.enum.js +1 -1
  158. package/dist/types/enum/email-type.enum.js.map +1 -1
  159. package/dist/types/enum/index.d.ts +3 -0
  160. package/dist/types/enum/index.js +3 -0
  161. package/dist/types/enum/index.js.map +1 -1
  162. package/dist/types/enum/oauth-app.enum.d.ts +39 -0
  163. package/dist/types/enum/oauth-app.enum.js +48 -0
  164. package/dist/types/enum/oauth-app.enum.js.map +1 -0
  165. package/dist/types/enum/oauth-scope.enum.d.ts +89 -0
  166. package/dist/types/enum/oauth-scope.enum.js +103 -0
  167. package/dist/types/enum/oauth-scope.enum.js.map +1 -0
  168. package/dist/types/enum/organization-billing.enum.d.ts +1 -8
  169. package/dist/types/enum/organization-billing.enum.js +1 -9
  170. package/dist/types/enum/organization-billing.enum.js.map +1 -1
  171. package/dist/types/enum/project-access-permission.enum.d.ts +2 -1
  172. package/dist/types/enum/project-access-permission.enum.js +1 -0
  173. package/dist/types/enum/project-access-permission.enum.js.map +1 -1
  174. package/dist/types/enum/service-storage-grace.enum.d.ts +13 -0
  175. package/dist/types/enum/service-storage-grace.enum.js +20 -0
  176. package/dist/types/enum/service-storage-grace.enum.js.map +1 -0
  177. package/dist/types/enum/storage-element.enum.d.ts +3 -1
  178. package/dist/types/enum/storage-element.enum.js +2 -0
  179. package/dist/types/enum/storage-element.enum.js.map +1 -1
  180. package/dist/types/enum/user-notification-category.enum.js +1 -1
  181. package/dist/types/enum/user-notification-category.enum.js.map +1 -1
  182. package/dist/types/enum/user-notification-content-type.enum.d.ts +11 -11
  183. package/dist/types/enum/user-notification-content-type.enum.js +2 -2
  184. package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
  185. package/dist/types/interface/api/index.d.ts +9 -0
  186. package/dist/types/interface/api/index.js +9 -0
  187. package/dist/types/interface/api/index.js.map +1 -1
  188. package/dist/types/interface/api/requests/billing-account.admin.request.d.ts +0 -1
  189. package/dist/types/interface/api/requests/content-share.request.d.ts +10 -0
  190. package/dist/types/interface/api/requests/index.d.ts +3 -0
  191. package/dist/types/interface/api/requests/index.js +3 -0
  192. package/dist/types/interface/api/requests/index.js.map +1 -1
  193. package/dist/types/interface/api/requests/oauth-application.request.d.ts +41 -0
  194. package/dist/types/interface/api/requests/oauth-application.request.js +3 -0
  195. package/dist/types/interface/api/requests/oauth-application.request.js.map +1 -0
  196. package/dist/types/interface/api/requests/oauth-authorization-request.request.d.ts +7 -0
  197. package/dist/types/interface/api/requests/oauth-grant.request.d.ts +14 -0
  198. package/dist/types/interface/api/requests/oauth-grant.request.js +3 -0
  199. package/dist/types/interface/api/requests/oauth-grant.request.js.map +1 -0
  200. package/dist/types/interface/api/requests/oauth-perimeter.request.d.ts +33 -0
  201. package/dist/types/interface/api/requests/oauth-perimeter.request.js +5 -0
  202. package/dist/types/interface/api/requests/oauth-perimeter.request.js.map +1 -0
  203. package/dist/types/interface/api/requests/organization-member.request.d.ts +3 -0
  204. package/dist/types/interface/api/requests/project-access.admin.request.d.ts +8 -0
  205. package/dist/types/interface/api/requests/project-access.admin.request.js +2 -0
  206. package/dist/types/interface/api/requests/project-access.admin.request.js.map +1 -1
  207. package/dist/types/interface/api/requests/project.admin.request.d.ts +3 -0
  208. package/dist/types/interface/api/requests/service-storage-grace.request.d.ts +9 -0
  209. package/dist/types/interface/api/requests/service-storage-grace.request.js +3 -0
  210. package/dist/types/interface/api/requests/service-storage-grace.request.js.map +1 -0
  211. package/dist/types/interface/api/responses/billing-account.admin.response.d.ts +0 -3
  212. package/dist/types/interface/api/responses/content-share.response.d.ts +4 -0
  213. package/dist/types/interface/api/responses/index.d.ts +4 -0
  214. package/dist/types/interface/api/responses/index.js +4 -0
  215. package/dist/types/interface/api/responses/index.js.map +1 -1
  216. package/dist/types/interface/api/responses/oauth-application.response.d.ts +56 -0
  217. package/dist/types/interface/api/responses/oauth-application.response.js +3 -0
  218. package/dist/types/interface/api/responses/oauth-application.response.js.map +1 -0
  219. package/dist/types/interface/api/responses/oauth-authorization-request.response.d.ts +28 -2
  220. package/dist/types/interface/api/responses/oauth-grant.response.d.ts +44 -0
  221. package/dist/types/interface/api/responses/oauth-grant.response.js +3 -0
  222. package/dist/types/interface/api/responses/oauth-grant.response.js.map +1 -0
  223. package/dist/types/interface/api/responses/oauth-perimeter.response.d.ts +50 -0
  224. package/dist/types/interface/api/responses/oauth-perimeter.response.js +3 -0
  225. package/dist/types/interface/api/responses/oauth-perimeter.response.js.map +1 -0
  226. package/dist/types/interface/api/responses/oauth-userinfo.response.d.ts +8 -0
  227. package/dist/types/interface/api/responses/oauth-userinfo.response.js +3 -0
  228. package/dist/types/interface/api/responses/oauth-userinfo.response.js.map +1 -0
  229. package/dist/types/interface/api/responses/organization-billing.response.d.ts +1 -2
  230. package/dist/types/interface/api/responses/organization-member.response.d.ts +8 -0
  231. package/dist/types/interface/api/responses/project-access.admin.response.d.ts +9 -0
  232. package/dist/types/interface/api/responses/project.admin.response.d.ts +5 -0
  233. package/dist/types/interface/api/responses/service-storage-grace.response.d.ts +9 -0
  234. package/dist/types/interface/api/responses/service-storage-grace.response.js +3 -0
  235. package/dist/types/interface/api/responses/service-storage-grace.response.js.map +1 -0
  236. package/dist/types/interface/mcp/mcp-oauth.d.ts +2 -0
  237. package/dist/types/interface/models/organization-service-quota.model.d.ts +0 -1
  238. package/dist/utils/abyss.utils.d.ts +1 -1
  239. package/package.json +17 -10
  240. package/dist/constants/tests/monitor-ingestion-catalog.spec.js +0 -108
  241. package/dist/constants/tests/monitor-ingestion-catalog.spec.js.map +0 -1
  242. /package/dist/{constants/tests/monitor-ingestion-catalog.spec.d.ts → api/tests/sdk-compute-applications.spec.d.ts} +0 -0
@@ -0,0 +1,44 @@
1
+ import type { OAuthScopeName } from '../../../../constants/oauth-scope-catalogue';
2
+ import type { OAuthPerimeterArchiveKind, OAuthPerimeterUnit, OAuthService } from '../../../enum/oauth-scope.enum';
3
+ import type { IResponse } from '../type-message/response';
4
+ import type { IOAuthPerimeterSpace } from './oauth-perimeter.response';
5
+ export interface IOAuthGrantResource {
6
+ id: string;
7
+ service: OAuthService;
8
+ unit: OAuthPerimeterUnit;
9
+ resourceId: string | null;
10
+ environmentIds: string[] | null;
11
+ includeProduction: boolean;
12
+ label: string;
13
+ space?: IOAuthPerimeterSpace;
14
+ archiveKind?: OAuthPerimeterArchiveKind;
15
+ }
16
+ export interface IOAuthGrantSummary {
17
+ id: string;
18
+ application: {
19
+ id: string;
20
+ name: string;
21
+ ownerName: string;
22
+ organizationName: string;
23
+ homepageUrl: string | null;
24
+ };
25
+ scopes: OAuthScopeName[];
26
+ createdAt: Date;
27
+ lastUsedAt: Date | null;
28
+ }
29
+ export interface IOAuthGrantDetail extends IOAuthGrantSummary {
30
+ resources: IOAuthGrantResource[];
31
+ }
32
+ export interface IListOAuthGrantUserData {
33
+ grants: IOAuthGrantSummary[];
34
+ }
35
+ export type IListOAuthGrantUserResponse = IResponse<IListOAuthGrantUserData>;
36
+ export interface IGetOAuthGrantData {
37
+ grant: IOAuthGrantDetail;
38
+ removedResources: IOAuthGrantResource[];
39
+ unreachableServices: OAuthService[];
40
+ }
41
+ export type IGetOAuthGrantResponse = IResponse<IGetOAuthGrantData>;
42
+ export type IRevokeOAuthGrantResponse = void;
43
+ export type IRemoveScopeOAuthGrantResponse = void;
44
+ export type IRemoveResourceOAuthGrantResponse = void;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=oauth-grant.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth-grant.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-grant.response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,50 @@
1
+ import type { IOAuthPerimeterResourceInput, OAuthPerimeterCandidateUnit } from '../requests/oauth-perimeter.request';
2
+ import type { OAuthPerimeterArchiveKind, OAuthPerimeterSpaceType } from '../../../enum/oauth-scope.enum';
3
+ import type { IResponse } from '../type-message/response';
4
+ export interface IOAuthPerimeterSpaceOwner {
5
+ type: OAuthPerimeterSpaceType;
6
+ organizationId: string | null;
7
+ projectId: string | null;
8
+ ownerUserId: string | null;
9
+ }
10
+ export interface IOAuthPerimeterSpace extends IOAuthPerimeterSpaceOwner {
11
+ organizationName: string | null;
12
+ projectName: string | null;
13
+ ownerName: string | null;
14
+ isOwnSpace: boolean;
15
+ }
16
+ export interface IOAuthPerimeterCandidate {
17
+ id: string | null;
18
+ name: string;
19
+ unit: OAuthPerimeterCandidateUnit;
20
+ parentId: string | null;
21
+ parentName?: string;
22
+ kind?: string;
23
+ isProduction?: boolean;
24
+ space?: IOAuthPerimeterSpace;
25
+ isArchived?: boolean;
26
+ archiveKind?: OAuthPerimeterArchiveKind;
27
+ }
28
+ export interface IOAuthPerimeterAdminCandidate extends Omit<IOAuthPerimeterCandidate, 'space'> {
29
+ space?: IOAuthPerimeterSpaceOwner;
30
+ }
31
+ export interface IListOAuthPerimeterCandidatesData {
32
+ candidates: IOAuthPerimeterCandidate[];
33
+ nextCursor: string | null;
34
+ }
35
+ export type IListPerimeterCandidatesOAuthAuthorizationRequestResponse = IResponse<IListOAuthPerimeterCandidatesData>;
36
+ export interface IListOAuthPerimeterCandidatesAdminData {
37
+ candidates: IOAuthPerimeterAdminCandidate[];
38
+ nextCursor: string | null;
39
+ }
40
+ export type IListOAuthPerimeterCandidatesAdminResponse = IResponse<IListOAuthPerimeterCandidatesAdminData>;
41
+ export interface IOAuthPerimeterResolvedEntry extends IOAuthPerimeterResourceInput {
42
+ label: string;
43
+ space?: IOAuthPerimeterSpaceOwner;
44
+ isArchived?: boolean;
45
+ archiveKind?: OAuthPerimeterArchiveKind;
46
+ }
47
+ export interface IResolveOAuthPerimeterAdminData {
48
+ entries: IOAuthPerimeterResolvedEntry[];
49
+ }
50
+ export type IResolveOAuthPerimeterAdminResponse = IResponse<IResolveOAuthPerimeterAdminData>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=oauth-perimeter.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth-perimeter.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-perimeter.response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface IOAuthUserInfoResponse {
2
+ sub: string;
3
+ name?: string;
4
+ preferred_username?: string;
5
+ picture?: string;
6
+ email?: string;
7
+ email_verified?: boolean;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=oauth-userinfo.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth-userinfo.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-userinfo.response.ts"],"names":[],"mappings":""}
@@ -15,7 +15,7 @@ import { IQuotaGrant } from '../../models/quota-grant.model';
15
15
  import { IStorageBreakdown } from '../../models/storage-subtotal.model';
16
16
  import { IBillingDailySnapshot } from '../../models/billing-daily-snapshot.model';
17
17
  import { IResponse } from '../type-message/response';
18
- import { PlatformCapScope, QuotaDenialReason } from '../../../enum/organization-billing.enum';
18
+ import { QuotaDenialReason } from '../../../enum/organization-billing.enum';
19
19
  export interface IGetBillingOrganizationData {
20
20
  billingAccount: IBillingAccount;
21
21
  }
@@ -70,7 +70,6 @@ export interface IListCreditOrganizationData {
70
70
  }
71
71
  export type IListCreditOrganizationResponse = IResponse<IListCreditOrganizationData>;
72
72
  export interface IPlatformCapState {
73
- scope: PlatformCapScope;
74
73
  usage: number;
75
74
  cap: number;
76
75
  resetsAt: string;
@@ -51,3 +51,11 @@ export interface IListMembersOrganizationMemberAdminData {
51
51
  members: IOrganizationMemberAdminSummary[];
52
52
  }
53
53
  export type IListMembersOrganizationMemberAdminResponse = IResponse<IListMembersOrganizationMemberAdminData>;
54
+ export interface IOrganizationMemberAdminOrganization {
55
+ id: string;
56
+ name: string;
57
+ }
58
+ export interface IListUserOrganizationsOrganizationMemberAdminData {
59
+ organizations: IOrganizationMemberAdminOrganization[];
60
+ }
61
+ export type IListUserOrganizationsOrganizationMemberAdminResponse = IResponse<IListUserOrganizationsOrganizationMemberAdminData>;
@@ -34,6 +34,15 @@ export interface IComputeApplicationProjectAccessAdminData {
34
34
  isDemo: boolean;
35
35
  }
36
36
  export type IComputeApplicationProjectAccessAdminResponse = IResponse<IComputeApplicationProjectAccessAdminData>;
37
+ export interface IComputedApplicationAccess {
38
+ applicationId: string;
39
+ permission: ProjectApplicationAccessPermission[];
40
+ }
41
+ export interface IComputeApplicationsProjectAccessAdminData {
42
+ applications: IComputedApplicationAccess[];
43
+ isDemo: boolean;
44
+ }
45
+ export type IComputeApplicationsProjectAccessAdminResponse = IResponse<IComputeApplicationsProjectAccessAdminData>;
37
46
  export interface IComputeNotificationAccessProjectAccessAdminData {
38
47
  user: IUser[];
39
48
  }
@@ -11,6 +11,11 @@ export interface IListProjectAdminData {
11
11
  sharedProjects: ProjectWithoutApplication[];
12
12
  }
13
13
  export type IListProjectAdminResponse = IResponse<IListProjectAdminData>;
14
+ export type OpenableProjectAdmin = Pick<IProject, 'id' | 'name' | 'organizationId'>;
15
+ export interface IListOpenableProjectAdminData {
16
+ projects: OpenableProjectAdmin[];
17
+ }
18
+ export type IListOpenableProjectAdminResponse = IResponse<IListOpenableProjectAdminData>;
14
19
  export type IPaginateProjectAdminResponse = IResponse<BasePaginate<IProject>>;
15
20
  export interface IDeleteProjectAdminData {
16
21
  }
@@ -0,0 +1,9 @@
1
+ import { ServiceStorageGraceReason } from '../../../enum';
2
+ import { IResponse } from '../type-message/response';
3
+ export interface IGetServiceStorageGraceData {
4
+ cut: boolean;
5
+ reason: ServiceStorageGraceReason | null;
6
+ cutAt: Date | null;
7
+ graceEndsAt: Date | null;
8
+ }
9
+ export type IGetServiceStorageGraceResponse = IResponse<IGetServiceStorageGraceData>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=service-storage-grace.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-storage-grace.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/service-storage-grace.response.ts"],"names":[],"mappings":""}
@@ -1,11 +1,13 @@
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';
3
4
  export type McpOAuthAuthorizationRequestStatus = 'OPEN' | 'EXPIRED' | 'CONSUMED';
4
5
  export interface IMcpOAuthApprovedScope {
5
6
  scopeType: McpScopeType;
6
7
  scopeId: string | null;
7
8
  }
8
9
  export interface IMcpOAuthAuthorizationRequestView {
10
+ kind: OAuthAuthorizationRequestKind.MCP;
9
11
  id: string;
10
12
  client: {
11
13
  name: string;
@@ -11,7 +11,6 @@ export interface IServiceQuota {
11
11
  ceilingValue: number | null;
12
12
  overageNanocentsPerUnit?: number | null;
13
13
  platformCapMonthly?: number | null;
14
- platformCapDaily?: number | null;
15
14
  updatedAt?: Date;
16
15
  createdAt?: Date;
17
16
  billingAccount?: IBillingAccount;
@@ -1,2 +1,2 @@
1
1
  import { ActivatableService } from '../types';
2
- export declare const getServiceName: (service: ActivatableService) => "Abyss" | "Cloud" | "Crypt" | "Storage" | "Monitor" | "Memories" | "Banking" | "Odyssey" | "Spotlight" | "Form" | "Training" | "Console" | "Workspace" | "Extract" | "Beam" | "Link" | "Flow" | "Reflex" | undefined;
2
+ export declare const getServiceName: (service: ActivatableService) => "Form" | "Abyss" | "Cloud" | "Crypt" | "Storage" | "Monitor" | "Memories" | "Banking" | "Odyssey" | "Spotlight" | "Training" | "Console" | "Workspace" | "Extract" | "Beam" | "Link" | "Flow" | "Reflex" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/main",
3
- "version": "43.14.0",
3
+ "version": "44.1.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,108 +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 metric_price_scale_constants_1 = require("../metric-price-scale.constants");
10
- const overage_base_rates_constants_1 = require("../overage-base-rates.constants");
11
- const platform_cap_constants_1 = require("../platform-cap.constants");
12
- const quota_metric_kind_constants_1 = require("../quota-metric-kind.constants");
13
- const limitOf = (key, service, metric) => catalog_plan_quotas_constants_1.CATALOG_PLAN_QUOTAS[organization_billing_enum_1.PlanAccountType.ORGANIZATION][key]?.find((entry) => entry.service === service && entry.metric === metric)?.limit;
14
- describe('MONITOR_INGESTED_GB in the catalog (ADR-0339)', () => {
15
- const metric = organization_billing_enum_1.BillingMetric.MONITOR_INGESTED_GB;
16
- it('is a FLOW metric of AbyssMonitor, in GB, billed past the allowance', () => {
17
- expect(billing_catalog_constants_1.BILLABLE_SERVICE_METRICS[organization_billing_enum_1.BillingService.ABYSS_MONITOR]).toContain(metric);
18
- expect(quota_metric_kind_constants_1.QUOTA_METRIC_KIND[metric]).toBe('FLOW');
19
- expect(billing_catalog_constants_1.METRIC_UNIT[metric]).toBe('GB');
20
- expect(billing_catalog_constants_1.METRIC_IS_OVERAGE_ELIGIBLE.has(metric)).toBe(true);
21
- expect(billing_catalog_constants_1.METRIC_SLIDER_CONFIG[metric]).toEqual({
22
- min: 1,
23
- max: 4000,
24
- step: 1,
25
- unlimitedAllowed: false,
26
- });
27
- expect(enforcement_registry_constants_1.ENFORCEMENT_REGISTRY[metric]).toMatchObject({
28
- mode: 'METER_BILL_DEGRADE',
29
- repo: 'abyss-monitor',
30
- });
31
- });
32
- it('is labelled in French and English', () => {
33
- expect(billing_metric_label_labels_1.BILLING_METRIC_LABELS.fr.MONITOR_INGESTED_GB).toBe('Go ingérés (Monitor)');
34
- expect(billing_metric_label_labels_1.BILLING_METRIC_LABELS.en.MONITOR_INGESTED_GB).toBe('Ingested GB (Monitor)');
35
- });
36
- it('is priced 36 / 25 / 17.5 cents per GB, overage 72 cents', () => {
37
- expect(metric_price_scale_constants_1.METRIC_PRICE_SCALE[metric]).toEqual([
38
- { upToQuantity: 40, nanocentsPerUnit: 36_000_000_000 },
39
- { upToQuantity: 400, nanocentsPerUnit: 25_000_000_000 },
40
- { upToQuantity: null, nanocentsPerUnit: 17_500_000_000 },
41
- ]);
42
- expect(overage_base_rates_constants_1.DEFAULT_OVERAGE_BASE_RATES[metric]).toEqual({ rate: 72, unit: 'GB' });
43
- });
44
- it('grants 1 / 12 / 120 GB to the organisation plans and nothing to personal plans', () => {
45
- const monitor = organization_billing_enum_1.BillingService.ABYSS_MONITOR;
46
- expect(limitOf(plan_template_key_enum_1.PlanTemplateKey.FREEMIUM, monitor, metric)).toBe(1);
47
- expect(limitOf(plan_template_key_enum_1.PlanTemplateKey.STARTER, monitor, metric)).toBe(12);
48
- expect(limitOf(plan_template_key_enum_1.PlanTemplateKey.PRO, monitor, metric)).toBe(120);
49
- expect(limitOf(plan_template_key_enum_1.PlanTemplateKey.DEMO, monitor, metric)).toBe(120);
50
- for (const type of [organization_billing_enum_1.PlanAccountType.USER, organization_billing_enum_1.PlanAccountType.FAMILY]) {
51
- for (const quotas of Object.values(catalog_plan_quotas_constants_1.CATALOG_PLAN_QUOTAS[type])) {
52
- expect(quotas?.some((entry) => entry.metric === metric)).toBe(false);
53
- }
54
- }
55
- });
56
- });
57
- describe('HISTORY_RETENTION_GB_DAYS in the catalog (ADR-0339)', () => {
58
- const metric = organization_billing_enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS;
59
- it('is an account-level FLOW metric of ABYSS_PLATFORM, in GB-days, billed past the allowance', () => {
60
- expect(billing_catalog_constants_1.BILLABLE_SERVICE_METRICS[organization_billing_enum_1.BillingService.ABYSS_PLATFORM]).toContain(metric);
61
- expect(quota_metric_kind_constants_1.QUOTA_METRIC_KIND[metric]).toBe('FLOW');
62
- expect(billing_catalog_constants_1.METRIC_UNIT[metric]).toBe('GB-days');
63
- expect(billing_catalog_constants_1.METRIC_IS_OVERAGE_ELIGIBLE.has(metric)).toBe(true);
64
- expect(enforcement_registry_constants_1.ENFORCEMENT_REGISTRY[metric]).toMatchObject({ mode: 'METER_BILL_DEGRADE' });
65
- });
66
- it('is labelled in French and English', () => {
67
- expect(billing_metric_label_labels_1.BILLING_METRIC_LABELS.fr.HISTORY_RETENTION_GB_DAYS).toBe('Conservation des historiques (Go-jour)');
68
- expect(billing_metric_label_labels_1.BILLING_METRIC_LABELS.en.HISTORY_RETENTION_GB_DAYS).toBe('History retention (GB-days)');
69
- });
70
- it('is priced 0.50 / 0.45 / 0.40 cent per GB-day, overage 1 cent', () => {
71
- expect(metric_price_scale_constants_1.METRIC_PRICE_SCALE[metric]).toEqual([
72
- { upToQuantity: 3_000, nanocentsPerUnit: 500_000_000 },
73
- { upToQuantity: 30_000, nanocentsPerUnit: 450_000_000 },
74
- { upToQuantity: null, nanocentsPerUnit: 400_000_000 },
75
- ]);
76
- expect(overage_base_rates_constants_1.DEFAULT_OVERAGE_BASE_RATES[metric]).toEqual({ rate: 1, unit: 'GB-days' });
77
- });
78
- it('grants 10 / 400 / 12 000 GB-days to the organisation plans only', () => {
79
- const platform = organization_billing_enum_1.BillingService.ABYSS_PLATFORM;
80
- expect(limitOf(plan_template_key_enum_1.PlanTemplateKey.FREEMIUM, platform, metric)).toBe(10);
81
- expect(limitOf(plan_template_key_enum_1.PlanTemplateKey.STARTER, platform, metric)).toBe(400);
82
- expect(limitOf(plan_template_key_enum_1.PlanTemplateKey.PRO, platform, metric)).toBe(12000);
83
- expect(limitOf(plan_template_key_enum_1.PlanTemplateKey.DEMO, platform, metric)).toBe(12000);
84
- expect(billing_catalog_constants_1.USER_RELEVANT_METRICS[platform]).not.toContain(metric);
85
- expect(billing_catalog_constants_1.FAMILY_RELEVANT_METRICS[platform]).not.toContain(metric);
86
- for (const type of [organization_billing_enum_1.PlanAccountType.USER, organization_billing_enum_1.PlanAccountType.FAMILY]) {
87
- for (const quotas of Object.values(catalog_plan_quotas_constants_1.CATALOG_PLAN_QUOTAS[type])) {
88
- expect(quotas?.some((entry) => entry.metric === metric)).toBe(false);
89
- }
90
- }
91
- });
92
- });
93
- describe('the platform cap of the two metrics (ADR-0312 decision 8, ADR-0339)', () => {
94
- it('covers the two metrics with the service that meters them', () => {
95
- expect(platform_cap_constants_1.PLATFORM_CAPPED_METRIC_SERVICE.get(organization_billing_enum_1.BillingMetric.MONITOR_INGESTED_GB)).toBe(organization_billing_enum_1.BillingService.ABYSS_MONITOR);
96
- expect(platform_cap_constants_1.PLATFORM_CAPPED_METRIC_SERVICE.get(organization_billing_enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS)).toBe(organization_billing_enum_1.BillingService.ABYSS_PLATFORM);
97
- expect(platform_cap_constants_1.PLATFORM_CAPPED_METRIC_SERVICE.get(organization_billing_enum_1.BillingMetric.LOG_EVENTS)).toBe(organization_billing_enum_1.BillingService.ABYSS_MONITOR);
98
- });
99
- it('bounds one UTC day at 20 % of the included limit', () => {
100
- expect(platform_cap_constants_1.PLATFORM_CAP_DAILY_FRACTION).toBe(0.2);
101
- expect((0, platform_cap_constants_1.platformCapDailyBound)(100)).toBe(20);
102
- });
103
- it('names the daily denial and the two scopes', () => {
104
- expect(organization_billing_enum_1.QuotaDenialReason.PLATFORM_CAP_DAY).toBe('PLATFORM_CAP_DAY');
105
- expect(Object.values(organization_billing_enum_1.PlatformCapScope)).toEqual(['MONTH', 'DAY']);
106
- });
107
- });
108
- //# sourceMappingURL=monitor-ingestion-catalog.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitor-ingestion-catalog.spec.js","sourceRoot":"","sources":["../../../src/constants/tests/monitor-ingestion-catalog.spec.ts"],"names":[],"mappings":";;AAAA,0FAMoD;AACpD,oFAA0E;AAC1E,wGAA+F;AAC/F,4EAOsC;AACtC,oFAAuE;AACvE,sFAAyE;AACzE,kFAAqE;AACrE,kFAA6E;AAC7E,sEAImC;AACnC,gFAAmE;AAEnE,MAAM,OAAO,GAAG,CACd,GAAoB,EACpB,OAAuB,EACvB,MAAqB,EACD,EAAE,CACtB,mDAAmB,CAAC,2CAAe,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAC1D,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,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