@abyss-project/main 45.4.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.d.ts +1 -0
- 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 -6
- package/dist/billing-metric-label/billing-metric-label.labels.js +0 -6
- package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
- package/dist/constants/billing-catalog.constants.js +0 -27
- package/dist/constants/billing-catalog.constants.js.map +1 -1
- package/dist/constants/catalog-plan-quotas.constants.js +11 -20
- package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
- package/dist/constants/enforcement-registry.constants.js +0 -18
- 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/metric-price-scale.constants.js +0 -8
- package/dist/constants/metric-price-scale.constants.js.map +1 -1
- package/dist/constants/module-catalog.constants.d.ts +0 -3
- package/dist/constants/module-catalog.constants.js +0 -34
- package/dist/constants/module-catalog.constants.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/overage-base-rates.constants.js +0 -1
- package/dist/constants/overage-base-rates.constants.js.map +1 -1
- package/dist/constants/pack-catalog.constants.js +1 -5
- package/dist/constants/pack-catalog.constants.js.map +1 -1
- package/dist/constants/public-plans.constants.js +11 -122
- package/dist/constants/public-plans.constants.js.map +1 -1
- package/dist/constants/quota-metric-kind.constants.js +0 -3
- package/dist/constants/quota-metric-kind.constants.js.map +1 -1
- package/dist/constants/tests/billing-catalog.constants.spec.js +7 -1
- package/dist/constants/tests/billing-catalog.constants.spec.js.map +1 -1
- package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js +0 -17
- package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js.map +1 -1
- package/dist/constants/tests/metric-price-scale.constants.spec.js +0 -1
- package/dist/constants/tests/metric-price-scale.constants.spec.js.map +1 -1
- package/dist/constants/tests/module-catalog.constants.spec.js +14 -27
- package/dist/constants/tests/module-catalog.constants.spec.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/constants/tests/pack-catalog.constants.spec.js +1 -1
- package/dist/constants/tests/pack-catalog.constants.spec.js.map +1 -1
- 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/index.d.ts +2 -0
- package/dist/types/enum/index.js +2 -0
- 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 -3
- package/dist/types/enum/organization-billing.enum.js +0 -3
- 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
|
@@ -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,2DAAyC;AACzC,mEAAiD;AACjD,wEAAsD;AACtD,8DAA4C;AAC5C,0DAAwC;AACxC,gEAA8C;AAC9C,oDAAkC;AAClC,0DAAwC"}
|
|
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,8DAA4C;AAC5C,wDAAsC;AACtC,4DAA0C;AAC1C,2DAAyC;AACzC,mEAAiD;AACjD,wEAAsD;AACtD,8DAA4C;AAC5C,0DAAwC;AACxC,gEAA8C;AAC9C,oDAAkC;AAClC,0DAAwC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { OAuthScopeName } from '../../../../constants/oauth-scope-catalogue';
|
|
2
|
+
import type { OAuthClientType } from '../../../enum/oauth-app.enum';
|
|
3
|
+
export interface IListOAuthApplicationProjectParams {
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ICreateOAuthApplicationProjectParams {
|
|
7
|
+
projectId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ICreateOAuthApplicationBody {
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
homepageUrl?: string | null;
|
|
13
|
+
clientType: OAuthClientType;
|
|
14
|
+
redirectUris: string[];
|
|
15
|
+
allowedOrigins?: string[];
|
|
16
|
+
scopes: OAuthScopeName[];
|
|
17
|
+
}
|
|
18
|
+
export interface IGetOAuthApplicationParams {
|
|
19
|
+
applicationId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface IUpdateOAuthApplicationParams {
|
|
22
|
+
applicationId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IUpdateOAuthApplicationBody {
|
|
25
|
+
name?: string;
|
|
26
|
+
description?: string | null;
|
|
27
|
+
homepageUrl?: string | null;
|
|
28
|
+
redirectUris?: string[];
|
|
29
|
+
allowedOrigins?: string[];
|
|
30
|
+
scopes?: OAuthScopeName[];
|
|
31
|
+
}
|
|
32
|
+
export interface IDeleteOAuthApplicationParams {
|
|
33
|
+
applicationId: string;
|
|
34
|
+
}
|
|
35
|
+
export interface IListNamesOAuthApplicationQuery {
|
|
36
|
+
clientIds: string[];
|
|
37
|
+
}
|
|
38
|
+
export type IListNamesOAuthApplicationAdminQuery = IListNamesOAuthApplicationQuery;
|
|
39
|
+
export interface IRegenerateSecretOAuthApplicationParams {
|
|
40
|
+
applicationId: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-application.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/oauth-application.request.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import type { McpScopeType } from '../../../enum/mcp.enum';
|
|
2
2
|
import type { McpOAuthDecision } from '../../../enum/mcp-oauth.enum';
|
|
3
|
+
import type { OAuthScopeName } from '../../../../constants/oauth-scope-catalogue';
|
|
4
|
+
import type { IOAuthPerimeterEntryInput } from './oauth-perimeter.request';
|
|
3
5
|
export interface IGetOAuthAuthorizationRequestParams {
|
|
4
6
|
requestId: string;
|
|
5
7
|
}
|
|
8
|
+
export interface ILoginRequiredOAuthAuthorizationRequestParams {
|
|
9
|
+
requestId: string;
|
|
10
|
+
}
|
|
6
11
|
export interface IDecideMcpOAuthAuthorizationRequestParams {
|
|
7
12
|
requestId: string;
|
|
8
13
|
}
|
|
@@ -11,4 +16,6 @@ export interface IDecideMcpOAuthAuthorizationRequestBody {
|
|
|
11
16
|
scopeType?: McpScopeType;
|
|
12
17
|
scopeId?: string | null;
|
|
13
18
|
name?: string;
|
|
19
|
+
scopes?: OAuthScopeName[];
|
|
20
|
+
perimeter?: IOAuthPerimeterEntryInput[];
|
|
14
21
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IGetOAuthGrantParams {
|
|
2
|
+
grantId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface IRevokeOAuthGrantParams {
|
|
5
|
+
grantId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IRemoveScopeOAuthGrantParams {
|
|
8
|
+
grantId: string;
|
|
9
|
+
scope: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IRemoveResourceOAuthGrantParams {
|
|
12
|
+
grantId: string;
|
|
13
|
+
resourceId: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-grant.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/oauth-grant.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { OAuthPerimeterUnit, OAuthService } from '../../../enum/oauth-scope.enum';
|
|
2
|
+
export declare const OAUTH_PERIMETER_ENVIRONMENT = "ENVIRONMENT";
|
|
3
|
+
export type OAuthPerimeterCandidateUnit = OAuthPerimeterUnit | typeof OAUTH_PERIMETER_ENVIRONMENT;
|
|
4
|
+
export interface IOAuthPerimeterEntryInput {
|
|
5
|
+
service: OAuthService;
|
|
6
|
+
unit: OAuthPerimeterUnit;
|
|
7
|
+
id: string | null;
|
|
8
|
+
environmentIds?: string[];
|
|
9
|
+
includeProduction?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export type IOAuthPerimeterResourceInput = Omit<IOAuthPerimeterEntryInput, 'service'>;
|
|
12
|
+
export interface IListPerimeterCandidatesOAuthAuthorizationRequestParams {
|
|
13
|
+
requestId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IListPerimeterCandidatesOAuthAuthorizationRequestQuery {
|
|
16
|
+
service: OAuthService;
|
|
17
|
+
unit: OAuthPerimeterCandidateUnit;
|
|
18
|
+
parent?: string;
|
|
19
|
+
search?: string;
|
|
20
|
+
cursor?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IListOAuthPerimeterCandidatesAdminQuery {
|
|
23
|
+
userId: string;
|
|
24
|
+
unit: OAuthPerimeterCandidateUnit;
|
|
25
|
+
parent?: string;
|
|
26
|
+
search?: string;
|
|
27
|
+
cursor?: string;
|
|
28
|
+
includeArchived?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface IResolveOAuthPerimeterAdminBody {
|
|
31
|
+
userId: string;
|
|
32
|
+
entries: IOAuthPerimeterResourceInput[];
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-perimeter.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/oauth-perimeter.request.ts"],"names":[],"mappings":";;;AAGa,QAAA,2BAA2B,GAAG,aAAa,CAAC"}
|
|
@@ -42,6 +42,9 @@ export interface IResolvePermissionsOrganizationMemberAdminBody {
|
|
|
42
42
|
export type IResolveOrgPermissionsAdminParams = {
|
|
43
43
|
organizationMemberId: string;
|
|
44
44
|
};
|
|
45
|
+
export interface IListUserOrganizationsOrganizationMemberAdminParams {
|
|
46
|
+
userId: string;
|
|
47
|
+
}
|
|
45
48
|
export interface IListUserIdsByPermissionOrganizationMemberAdminParams {
|
|
46
49
|
organizationId: string;
|
|
47
50
|
}
|
|
@@ -70,6 +70,14 @@ export type IComputeUsersWithPermissionsProjectAccessAdminBody = {
|
|
|
70
70
|
})[];
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
|
+
export declare const COMPUTE_APPLICATIONS_MAX_IDS = 500;
|
|
74
|
+
export interface IComputeApplicationsProjectAccessAdminParams {
|
|
75
|
+
projectId: string;
|
|
76
|
+
}
|
|
77
|
+
export interface IComputeApplicationsProjectAccessAdminBody {
|
|
78
|
+
userId: string;
|
|
79
|
+
applicationIds?: string[];
|
|
80
|
+
}
|
|
73
81
|
export interface IComputeProjectAccessAdminParams {
|
|
74
82
|
projectId: string;
|
|
75
83
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-access.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/project-access.admin.request.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"project-access.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/project-access.admin.request.ts"],"names":[],"mappings":";;;AA8Fa,QAAA,4BAA4B,GAAG,GAAG,CAAC"}
|
|
@@ -9,6 +9,9 @@ export interface IActivateServiceProjectAdminQuery {
|
|
|
9
9
|
export interface IGetProjectAdminParams {
|
|
10
10
|
projectId: string;
|
|
11
11
|
}
|
|
12
|
+
export interface IListOpenableProjectAdminParams {
|
|
13
|
+
userId: string;
|
|
14
|
+
}
|
|
12
15
|
export interface IListProjectAdminParams {
|
|
13
16
|
userId: string;
|
|
14
17
|
}
|
|
@@ -8,6 +8,10 @@ export interface IResolveAccessAdminData {
|
|
|
8
8
|
excluded: boolean;
|
|
9
9
|
}
|
|
10
10
|
export type IResolveAccessAdminResponse = IResponse<IResolveAccessAdminData>;
|
|
11
|
+
export interface IResolveAccessBatchAdminData {
|
|
12
|
+
access: Record<string, IResolveAccessAdminData>;
|
|
13
|
+
}
|
|
14
|
+
export type IResolveAccessBatchAdminResponse = IResponse<IResolveAccessBatchAdminData>;
|
|
11
15
|
export interface IResolvePublicAccessAdminData {
|
|
12
16
|
permission: SharePermission | null;
|
|
13
17
|
contentType: ShareableContentType;
|
|
@@ -55,6 +55,10 @@ 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-perimeter.response';
|
|
61
|
+
export * from './oauth-userinfo.response';
|
|
58
62
|
export * from './activity.admin.response';
|
|
59
63
|
export * from './referred-traffic.admin.response';
|
|
60
64
|
export * from './short-link-protection.admin.response';
|
|
@@ -71,6 +71,10 @@ __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-perimeter.response"), exports);
|
|
77
|
+
__exportStar(require("./oauth-userinfo.response"), exports);
|
|
74
78
|
__exportStar(require("./activity.admin.response"), exports);
|
|
75
79
|
__exportStar(require("./referred-traffic.admin.response"), exports);
|
|
76
80
|
__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,4DAA0C;AAC1C,oEAAkD;AAClD,yEAAuD;AACvD,+DAA6C;AAC7C,2DAAyC;AACzC,iEAA+C;AAC/C,qDAAmC;AACnC,2DAAyC"}
|
|
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,+DAA6C;AAC7C,yDAAuC;AACvC,6DAA2C;AAC3C,4DAA0C;AAC1C,4DAA0C;AAC1C,oEAAkD;AAClD,yEAAuD;AACvD,+DAA6C;AAC7C,2DAAyC;AACzC,iEAA+C;AAC/C,qDAAmC;AACnC,2DAAyC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { OAuthScopeName } from '../../../../constants/oauth-scope-catalogue';
|
|
2
|
+
import type { OAuthClientType } from '../../../enum/oauth-app.enum';
|
|
3
|
+
import type { IResponse } from '../type-message/response';
|
|
4
|
+
export interface IOAuthApplicationSummary {
|
|
5
|
+
id: string;
|
|
6
|
+
clientId: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string | null;
|
|
9
|
+
homepageUrl: string | null;
|
|
10
|
+
clientType: OAuthClientType;
|
|
11
|
+
redirectUris: string[];
|
|
12
|
+
allowedOrigins: string[];
|
|
13
|
+
projectId: string;
|
|
14
|
+
connectedUserCount: number;
|
|
15
|
+
scopes: OAuthScopeName[];
|
|
16
|
+
connectedUserCountByScope: Partial<Record<OAuthScopeName, number>>;
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
updatedAt: Date;
|
|
19
|
+
}
|
|
20
|
+
export interface ICreateOAuthApplicationData {
|
|
21
|
+
application: IOAuthApplicationSummary;
|
|
22
|
+
clientSecret: string | null;
|
|
23
|
+
}
|
|
24
|
+
export interface IListOAuthApplicationProjectData {
|
|
25
|
+
applications: IOAuthApplicationSummary[];
|
|
26
|
+
}
|
|
27
|
+
export type IListOAuthApplicationProjectResponse = IResponse<IListOAuthApplicationProjectData>;
|
|
28
|
+
export type ICreateOAuthApplicationProjectResponse = IResponse<ICreateOAuthApplicationData>;
|
|
29
|
+
export interface IGetOAuthApplicationData {
|
|
30
|
+
application: IOAuthApplicationSummary;
|
|
31
|
+
}
|
|
32
|
+
export type IGetOAuthApplicationResponse = IResponse<IGetOAuthApplicationData>;
|
|
33
|
+
export interface IUpdateOAuthApplicationData {
|
|
34
|
+
application: IOAuthApplicationSummary;
|
|
35
|
+
}
|
|
36
|
+
export type IUpdateOAuthApplicationResponse = IResponse<IUpdateOAuthApplicationData>;
|
|
37
|
+
export type IDeleteOAuthApplicationResponse = void;
|
|
38
|
+
export interface IRegenerateSecretOAuthApplicationData {
|
|
39
|
+
application: IOAuthApplicationSummary;
|
|
40
|
+
clientSecret: string;
|
|
41
|
+
}
|
|
42
|
+
export type IRegenerateSecretOAuthApplicationResponse = IResponse<IRegenerateSecretOAuthApplicationData>;
|
|
43
|
+
export interface IOAuthApplicationName {
|
|
44
|
+
clientId: string;
|
|
45
|
+
name: string;
|
|
46
|
+
}
|
|
47
|
+
export interface IListNamesOAuthApplicationData {
|
|
48
|
+
applications: IOAuthApplicationName[];
|
|
49
|
+
}
|
|
50
|
+
export type IListNamesOAuthApplicationResponse = IResponse<IListNamesOAuthApplicationData>;
|
|
51
|
+
export type IListNamesOAuthApplicationAdminData = IListNamesOAuthApplicationData;
|
|
52
|
+
export type IListNamesOAuthApplicationAdminResponse = IResponse<IListNamesOAuthApplicationAdminData>;
|
|
53
|
+
export interface IListAllowedOriginsOAuthApplicationAdminData {
|
|
54
|
+
origins: string[];
|
|
55
|
+
}
|
|
56
|
+
export type IListAllowedOriginsOAuthApplicationAdminResponse = IResponse<IListAllowedOriginsOAuthApplicationAdminData>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-application.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-application.response.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,36 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OAuthAuthorizationPrompt, OAuthAuthorizationRequestKind, OAuthClientType } from '../../../enum/oauth-app.enum';
|
|
2
|
+
import type { IMcpOAuthAuthorizationRequestView, McpOAuthAuthorizationRequestStatus } from '../../mcp/mcp-oauth';
|
|
3
|
+
import type { OAuthScopeName } from '../../../../constants/oauth-scope-catalogue';
|
|
4
|
+
import type { IOAuthGrantResource } from './oauth-grant.response';
|
|
2
5
|
import type { IResponse } from '../type-message/response';
|
|
6
|
+
export interface IOAuthAppAuthorizationRequestView {
|
|
7
|
+
kind: OAuthAuthorizationRequestKind.APP;
|
|
8
|
+
id: string;
|
|
9
|
+
status: McpOAuthAuthorizationRequestStatus;
|
|
10
|
+
application: {
|
|
11
|
+
name: string;
|
|
12
|
+
ownerName: string;
|
|
13
|
+
organizationName: string;
|
|
14
|
+
homepageUrl: string | null;
|
|
15
|
+
clientType: OAuthClientType;
|
|
16
|
+
};
|
|
17
|
+
redirectHost: string;
|
|
18
|
+
redirectWarning: boolean;
|
|
19
|
+
scopes: string[];
|
|
20
|
+
missingScopes: string[];
|
|
21
|
+
grantedScopes: OAuthScopeName[];
|
|
22
|
+
perimeter: IOAuthGrantResource[];
|
|
23
|
+
prompt: OAuthAuthorizationPrompt | null;
|
|
24
|
+
}
|
|
3
25
|
export interface IGetOAuthAuthorizationRequestData {
|
|
4
|
-
request: IMcpOAuthAuthorizationRequestView;
|
|
26
|
+
request: IMcpOAuthAuthorizationRequestView | IOAuthAppAuthorizationRequestView;
|
|
5
27
|
}
|
|
6
28
|
export type IGetOAuthAuthorizationRequestResponse = IResponse<IGetOAuthAuthorizationRequestData>;
|
|
7
29
|
export interface IDecideMcpOAuthAuthorizationRequestData {
|
|
8
30
|
redirectTo: string;
|
|
9
31
|
}
|
|
10
32
|
export type IDecideMcpOAuthAuthorizationRequestResponse = IResponse<IDecideMcpOAuthAuthorizationRequestData>;
|
|
33
|
+
export interface ILoginRequiredOAuthAuthorizationRequestData {
|
|
34
|
+
redirectTo: string;
|
|
35
|
+
}
|
|
36
|
+
export type ILoginRequiredOAuthAuthorizationRequestResponse = IResponse<ILoginRequiredOAuthAuthorizationRequestData>;
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-perimeter.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-perimeter.response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-userinfo.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-userinfo.response.ts"],"names":[],"mappings":""}
|
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -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" | "
|
|
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": "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
|
+
}
|