@abyss-project/main 43.2.0 → 43.4.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/oauth-application.admin.api.d.ts +3 -1
- package/dist/api/oauth-application.admin.api.js +5 -1
- package/dist/api/oauth-application.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/constants/oauth-scope-catalogue.d.ts +21 -2
- package/dist/constants/oauth-scope-catalogue.js +342 -14
- package/dist/constants/oauth-scope-catalogue.js.map +1 -1
- package/dist/constants/tests/oauth-app.constants.spec.js +2 -1
- package/dist/constants/tests/oauth-app.constants.spec.js.map +1 -1
- package/dist/constants/tests/oauth-scope-catalogue.spec.js +72 -4
- package/dist/constants/tests/oauth-scope-catalogue.spec.js.map +1 -1
- package/dist/constants/tests/oauth-scope-positions.snapshot.d.ts +10 -10
- package/dist/constants/tests/oauth-scope-positions.snapshot.js +19 -1
- package/dist/constants/tests/oauth-scope-positions.snapshot.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/server/oauth-route-access.util.d.ts +1 -0
- package/dist/server/oauth-route-access.util.js +3 -1
- package/dist/server/oauth-route-access.util.js.map +1 -1
- package/dist/server/tests/oauth-route-access.util.spec.js +10 -0
- package/dist/server/tests/oauth-route-access.util.spec.js.map +1 -1
- package/dist/types/enum/api-error.enum.d.ts +1 -0
- package/dist/types/enum/api-error.enum.js +1 -0
- package/dist/types/enum/api-error.enum.js.map +1 -1
- package/dist/types/enum/oauth-scope.enum.d.ts +16 -2
- package/dist/types/enum/oauth-scope.enum.js +17 -1
- package/dist/types/enum/oauth-scope.enum.js.map +1 -1
- package/dist/types/interface/api/requests/oauth-application.request.d.ts +1 -0
- package/dist/types/interface/api/requests/oauth-perimeter.request.d.ts +1 -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/oauth-application.response.d.ts +2 -0
- package/dist/types/interface/api/responses/oauth-grant.response.d.ts +4 -1
- package/dist/types/interface/api/responses/oauth-perimeter.response.d.ts +27 -1
- 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/package.json +1 -1
|
@@ -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
|
}
|
|
@@ -48,6 +48,8 @@ export interface IListNamesOAuthApplicationData {
|
|
|
48
48
|
applications: IOAuthApplicationName[];
|
|
49
49
|
}
|
|
50
50
|
export type IListNamesOAuthApplicationResponse = IResponse<IListNamesOAuthApplicationData>;
|
|
51
|
+
export type IListNamesOAuthApplicationAdminData = IListNamesOAuthApplicationData;
|
|
52
|
+
export type IListNamesOAuthApplicationAdminResponse = IResponse<IListNamesOAuthApplicationAdminData>;
|
|
51
53
|
export interface IListAllowedOriginsOAuthApplicationAdminData {
|
|
52
54
|
origins: string[];
|
|
53
55
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { OAuthScopeName } from '../../../../constants/oauth-scope-catalogue';
|
|
2
|
-
import type { OAuthPerimeterUnit, OAuthService } from '../../../enum/oauth-scope.enum';
|
|
2
|
+
import type { OAuthPerimeterArchiveKind, OAuthPerimeterUnit, OAuthService } from '../../../enum/oauth-scope.enum';
|
|
3
3
|
import type { IResponse } from '../type-message/response';
|
|
4
|
+
import type { IOAuthPerimeterSpace } from './oauth-perimeter.response';
|
|
4
5
|
export interface IOAuthGrantResource {
|
|
5
6
|
id: string;
|
|
6
7
|
service: OAuthService;
|
|
@@ -8,6 +9,8 @@ export interface IOAuthGrantResource {
|
|
|
8
9
|
resourceId: string | null;
|
|
9
10
|
environmentIds: string[] | null;
|
|
10
11
|
label: string;
|
|
12
|
+
space?: IOAuthPerimeterSpace;
|
|
13
|
+
archiveKind?: OAuthPerimeterArchiveKind;
|
|
11
14
|
}
|
|
12
15
|
export interface IOAuthGrantSummary {
|
|
13
16
|
id: string;
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import type { IOAuthPerimeterResourceInput, OAuthPerimeterCandidateUnit } from '../requests/oauth-perimeter.request';
|
|
2
|
+
import type { OAuthPerimeterArchiveKind, OAuthPerimeterSpaceType } from '../../../enum/oauth-scope.enum';
|
|
2
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
|
+
}
|
|
3
16
|
export interface IOAuthPerimeterCandidate {
|
|
4
17
|
id: string | null;
|
|
5
18
|
name: string;
|
|
@@ -7,15 +20,28 @@ export interface IOAuthPerimeterCandidate {
|
|
|
7
20
|
parentId: string | null;
|
|
8
21
|
kind?: string;
|
|
9
22
|
isProduction?: boolean;
|
|
23
|
+
space?: IOAuthPerimeterSpace;
|
|
24
|
+
isArchived?: boolean;
|
|
25
|
+
archiveKind?: OAuthPerimeterArchiveKind;
|
|
26
|
+
}
|
|
27
|
+
export interface IOAuthPerimeterAdminCandidate extends Omit<IOAuthPerimeterCandidate, 'space'> {
|
|
28
|
+
space?: IOAuthPerimeterSpaceOwner;
|
|
10
29
|
}
|
|
11
30
|
export interface IListOAuthPerimeterCandidatesData {
|
|
12
31
|
candidates: IOAuthPerimeterCandidate[];
|
|
13
32
|
nextCursor: string | null;
|
|
14
33
|
}
|
|
15
34
|
export type IListPerimeterCandidatesOAuthAuthorizationRequestResponse = IResponse<IListOAuthPerimeterCandidatesData>;
|
|
16
|
-
export
|
|
35
|
+
export interface IListOAuthPerimeterCandidatesAdminData {
|
|
36
|
+
candidates: IOAuthPerimeterAdminCandidate[];
|
|
37
|
+
nextCursor: string | null;
|
|
38
|
+
}
|
|
39
|
+
export type IListOAuthPerimeterCandidatesAdminResponse = IResponse<IListOAuthPerimeterCandidatesAdminData>;
|
|
17
40
|
export interface IOAuthPerimeterResolvedEntry extends IOAuthPerimeterResourceInput {
|
|
18
41
|
label: string;
|
|
42
|
+
space?: IOAuthPerimeterSpaceOwner;
|
|
43
|
+
isArchived?: boolean;
|
|
44
|
+
archiveKind?: OAuthPerimeterArchiveKind;
|
|
19
45
|
}
|
|
20
46
|
export interface IResolveOAuthPerimeterAdminData {
|
|
21
47
|
entries: IOAuthPerimeterResolvedEntry[];
|
|
@@ -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
|
}
|