@abyss-project/main 42.5.0 → 42.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/index.d.ts +0 -3
- package/dist/api/index.js +0 -3
- package/dist/api/index.js.map +1 -1
- package/dist/api/oauth-authorization-request.api.d.ts +2 -3
- package/dist/api/oauth-authorization-request.api.js +1 -5
- package/dist/api/oauth-authorization-request.api.js.map +1 -1
- package/dist/billing-metric-label/billing-metric-label.labels.d.ts +4 -0
- package/dist/billing-metric-label/billing-metric-label.labels.js +4 -0
- package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
- package/dist/constants/billing-catalog.constants.js +7 -0
- package/dist/constants/billing-catalog.constants.js.map +1 -1
- package/dist/constants/catalog-plan-quotas.constants.js +6 -0
- package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
- package/dist/constants/enforcement-registry.constants.js +12 -0
- package/dist/constants/enforcement-registry.constants.js.map +1 -1
- package/dist/constants/index.d.ts +0 -1
- package/dist/constants/index.js +0 -1
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/metric-price-scale.constants.js +10 -0
- package/dist/constants/metric-price-scale.constants.js.map +1 -1
- package/dist/constants/module-catalog.constants.d.ts +2 -0
- package/dist/constants/module-catalog.constants.js +17 -2
- package/dist/constants/module-catalog.constants.js.map +1 -1
- package/dist/constants/overage-base-rates.constants.js +2 -0
- package/dist/constants/overage-base-rates.constants.js.map +1 -1
- package/dist/constants/platform-cap.constants.d.ts +2 -0
- package/dist/constants/platform-cap.constants.js +6 -1
- package/dist/constants/platform-cap.constants.js.map +1 -1
- package/dist/constants/public-plans.constants.js +78 -0
- package/dist/constants/public-plans.constants.js.map +1 -1
- package/dist/constants/quota-metric-kind.constants.js +4 -0
- package/dist/constants/quota-metric-kind.constants.js.map +1 -1
- package/dist/constants/tests/module-catalog.constants.spec.js +17 -1
- package/dist/constants/tests/module-catalog.constants.spec.js.map +1 -1
- package/dist/constants/tests/monitor-ingestion-catalog.spec.js +108 -0
- package/dist/constants/tests/monitor-ingestion-catalog.spec.js.map +1 -0
- package/dist/index.d.ts +0 -19
- package/dist/index.js +0 -19
- package/dist/index.js.map +1 -1
- package/dist/permissions/ability.d.ts +1 -1
- package/dist/permissions/ability.js +0 -2
- package/dist/permissions/ability.js.map +1 -1
- package/dist/permissions/tests/ability.spec.js +0 -17
- package/dist/permissions/tests/ability.spec.js.map +1 -1
- package/dist/server/api-cors.util.d.ts +0 -8
- package/dist/server/api-cors.util.js +1 -83
- package/dist/server/api-cors.util.js.map +1 -1
- package/dist/server/index.d.ts +0 -2
- package/dist/server/index.js +0 -2
- package/dist/server/index.js.map +1 -1
- package/dist/translate/en.translate.d.ts +4 -0
- package/dist/translate/en.translate.js +5 -1
- package/dist/translate/en.translate.js.map +1 -1
- package/dist/translate/fr.translate.d.ts +4 -0
- package/dist/translate/fr.translate.js +5 -1
- package/dist/translate/fr.translate.js.map +1 -1
- package/dist/types/enum/abyss-application-event.enum.d.ts +1 -0
- package/dist/types/enum/abyss-application-event.enum.js +1 -0
- package/dist/types/enum/abyss-application-event.enum.js.map +1 -1
- package/dist/types/enum/api-error.enum.d.ts +0 -1
- package/dist/types/enum/api-error.enum.js +0 -1
- package/dist/types/enum/api-error.enum.js.map +1 -1
- package/dist/types/enum/email-type.enum.d.ts +1 -0
- package/dist/types/enum/email-type.enum.js +1 -0
- package/dist/types/enum/email-type.enum.js.map +1 -1
- package/dist/types/enum/index.d.ts +0 -1
- package/dist/types/enum/index.js +0 -1
- package/dist/types/enum/index.js.map +1 -1
- package/dist/types/enum/organization-billing.enum.d.ts +8 -1
- package/dist/types/enum/organization-billing.enum.js +9 -1
- package/dist/types/enum/organization-billing.enum.js.map +1 -1
- package/dist/types/enum/project-access-permission.enum.d.ts +1 -2
- package/dist/types/enum/project-access-permission.enum.js +0 -1
- package/dist/types/enum/project-access-permission.enum.js.map +1 -1
- package/dist/types/enum/user-notification-category.enum.js +1 -0
- package/dist/types/enum/user-notification-category.enum.js.map +1 -1
- package/dist/types/enum/user-notification-content-type.enum.d.ts +11 -0
- package/dist/types/enum/user-notification-content-type.enum.js +2 -1
- package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
- package/dist/types/interface/api/index.d.ts +0 -5
- package/dist/types/interface/api/index.js +0 -5
- package/dist/types/interface/api/index.js.map +1 -1
- package/dist/types/interface/api/requests/billing-account.admin.request.d.ts +1 -0
- package/dist/types/interface/api/requests/index.d.ts +0 -2
- package/dist/types/interface/api/requests/index.js +0 -2
- package/dist/types/interface/api/requests/index.js.map +1 -1
- package/dist/types/interface/api/requests/oauth-authorization-request.request.d.ts +0 -3
- package/dist/types/interface/api/responses/billing-account.admin.response.d.ts +3 -0
- package/dist/types/interface/api/responses/index.d.ts +0 -3
- package/dist/types/interface/api/responses/index.js +0 -3
- package/dist/types/interface/api/responses/index.js.map +1 -1
- package/dist/types/interface/api/responses/oauth-authorization-request.response.d.ts +2 -24
- package/dist/types/interface/api/responses/organization-billing.response.d.ts +2 -1
- package/dist/types/interface/mcp/mcp-oauth.d.ts +0 -2
- package/dist/types/interface/models/organization-service-quota.model.d.ts +1 -0
- package/package.json +1 -3
- package/dist/api/oauth-application.admin.api.d.ts +0 -2
- package/dist/api/oauth-application.admin.api.js +0 -9
- package/dist/api/oauth-application.admin.api.js.map +0 -1
- package/dist/api/oauth-application.api.d.ts +0 -8
- package/dist/api/oauth-application.api.js +0 -30
- package/dist/api/oauth-application.api.js.map +0 -1
- package/dist/api/oauth-grant.api.d.ts +0 -4
- package/dist/api/oauth-grant.api.js +0 -15
- package/dist/api/oauth-grant.api.js.map +0 -1
- package/dist/constants/oauth-app.constants.d.ts +0 -22
- package/dist/constants/oauth-app.constants.js +0 -66
- package/dist/constants/oauth-app.constants.js.map +0 -1
- package/dist/constants/tests/oauth-app.constants.spec.js +0 -90
- package/dist/constants/tests/oauth-app.constants.spec.js.map +0 -1
- package/dist/server/oauth-access-token.util.d.ts +0 -27
- package/dist/server/oauth-access-token.util.js +0 -99
- package/dist/server/oauth-access-token.util.js.map +0 -1
- package/dist/server/oauth-request-guard.util.d.ts +0 -39
- package/dist/server/oauth-request-guard.util.js +0 -78
- package/dist/server/oauth-request-guard.util.js.map +0 -1
- package/dist/server/tests/api-cors-dynamic.util.spec.d.ts +0 -1
- package/dist/server/tests/api-cors-dynamic.util.spec.js +0 -220
- package/dist/server/tests/api-cors-dynamic.util.spec.js.map +0 -1
- package/dist/server/tests/oauth-access-token.util.spec.d.ts +0 -1
- package/dist/server/tests/oauth-access-token.util.spec.js +0 -142
- package/dist/server/tests/oauth-access-token.util.spec.js.map +0 -1
- package/dist/server/tests/oauth-request-guard.util.spec.d.ts +0 -1
- package/dist/server/tests/oauth-request-guard.util.spec.js +0 -155
- package/dist/server/tests/oauth-request-guard.util.spec.js.map +0 -1
- package/dist/types/enum/oauth-app.enum.d.ts +0 -59
- package/dist/types/enum/oauth-app.enum.js +0 -70
- package/dist/types/enum/oauth-app.enum.js.map +0 -1
- package/dist/types/interface/api/requests/oauth-application.request.d.ts +0 -34
- package/dist/types/interface/api/requests/oauth-application.request.js +0 -3
- package/dist/types/interface/api/requests/oauth-application.request.js.map +0 -1
- package/dist/types/interface/api/requests/oauth-grant.request.d.ts +0 -3
- package/dist/types/interface/api/requests/oauth-grant.request.js +0 -3
- package/dist/types/interface/api/requests/oauth-grant.request.js.map +0 -1
- package/dist/types/interface/api/responses/oauth-application.response.d.ts +0 -43
- package/dist/types/interface/api/responses/oauth-application.response.js +0 -3
- package/dist/types/interface/api/responses/oauth-application.response.js.map +0 -1
- package/dist/types/interface/api/responses/oauth-grant.response.d.ts +0 -19
- package/dist/types/interface/api/responses/oauth-grant.response.js +0 -3
- package/dist/types/interface/api/responses/oauth-grant.response.js.map +0 -1
- package/dist/types/interface/api/responses/oauth-userinfo.response.d.ts +0 -8
- package/dist/types/interface/api/responses/oauth-userinfo.response.js +0 -3
- package/dist/types/interface/api/responses/oauth-userinfo.response.js.map +0 -1
- /package/dist/constants/tests/{oauth-app.constants.spec.d.ts → monitor-ingestion-catalog.spec.d.ts} +0 -0
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const oauth_app_enum_1 = require("../../types/enum/oauth-app.enum");
|
|
4
|
-
const oauth_request_guard_util_1 = require("../oauth-request-guard.util");
|
|
5
|
-
const REFUSED = {
|
|
6
|
-
allowed: false,
|
|
7
|
-
status: 403,
|
|
8
|
-
code: oauth_request_guard_util_1.OAuthGuardRefusalCode.OAUTH_TOKEN_NOT_ALLOWED,
|
|
9
|
-
};
|
|
10
|
-
describe('oauth-request-guard.util', () => {
|
|
11
|
-
describe('requiredOAuthAccessFor', () => {
|
|
12
|
-
it.each([
|
|
13
|
-
['GET', oauth_app_enum_1.OAuthAppAccess.READ],
|
|
14
|
-
['HEAD', oauth_app_enum_1.OAuthAppAccess.READ],
|
|
15
|
-
['get', oauth_app_enum_1.OAuthAppAccess.READ],
|
|
16
|
-
['POST', oauth_app_enum_1.OAuthAppAccess.WRITE],
|
|
17
|
-
['PUT', oauth_app_enum_1.OAuthAppAccess.WRITE],
|
|
18
|
-
['PATCH', oauth_app_enum_1.OAuthAppAccess.WRITE],
|
|
19
|
-
['DELETE', oauth_app_enum_1.OAuthAppAccess.WRITE],
|
|
20
|
-
['OPTIONS', oauth_app_enum_1.OAuthAppAccess.WRITE],
|
|
21
|
-
])('%s needs %s', (method, access) => {
|
|
22
|
-
expect((0, oauth_request_guard_util_1.requiredOAuthAccessFor)(method)).toBe(access);
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
describe('createOAuthRequestGuard', () => {
|
|
26
|
-
const guard = (0, oauth_request_guard_util_1.createOAuthRequestGuard)({
|
|
27
|
-
product: oauth_app_enum_1.OAuthAppProduct.CLOUD,
|
|
28
|
-
credentialRoutes: [{ methods: oauth_request_guard_util_1.OAuthCredentialMethods.ANY, path: /^\/personal-api-key$/ }],
|
|
29
|
-
});
|
|
30
|
-
it.each(['GET', 'HEAD'])('lets %s through with cloud:read', (method) => {
|
|
31
|
-
expect(guard({ method, path: '/space' }, { scopes: ['cloud:read'] })).toEqual({
|
|
32
|
-
allowed: true,
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
it.each(['GET', 'HEAD'])('refuses %s with cloud:write alone: write is not read', (method) => {
|
|
36
|
-
expect(guard({ method, path: '/space' }, { scopes: ['cloud:write'] })).toEqual({
|
|
37
|
-
allowed: false,
|
|
38
|
-
status: 403,
|
|
39
|
-
code: oauth_request_guard_util_1.OAuthGuardRefusalCode.INSUFFICIENT_SCOPE,
|
|
40
|
-
requiredScope: 'cloud:read',
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
it.each(['POST', 'PUT', 'PATCH', 'DELETE'])('refuses %s with cloud:read, lets it through with cloud:write', (method) => {
|
|
44
|
-
expect(guard({ method, path: '/space' }, { scopes: ['cloud:read'] })).toEqual({
|
|
45
|
-
allowed: false,
|
|
46
|
-
status: 403,
|
|
47
|
-
code: oauth_request_guard_util_1.OAuthGuardRefusalCode.INSUFFICIENT_SCOPE,
|
|
48
|
-
requiredScope: 'cloud:write',
|
|
49
|
-
});
|
|
50
|
-
expect(guard({ method, path: '/space' }, { scopes: ['cloud:write'] })).toEqual({
|
|
51
|
-
allowed: true,
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
it('refuses the scope of another product', () => {
|
|
55
|
-
expect(guard({ method: 'GET', path: '/space' }, { scopes: ['form:read'] })).toMatchObject({
|
|
56
|
-
allowed: false,
|
|
57
|
-
code: oauth_request_guard_util_1.OAuthGuardRefusalCode.INSUFFICIENT_SCOPE,
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
it('refuses a credential route whatever the scopes', () => {
|
|
61
|
-
expect(guard({ method: 'GET', path: '/personal-api-key' }, { scopes: ['cloud:read', 'cloud:write'] })).toEqual(REFUSED);
|
|
62
|
-
});
|
|
63
|
-
it.each([
|
|
64
|
-
'/personal-api-key/',
|
|
65
|
-
'/PERSONAL-API-KEY',
|
|
66
|
-
'/api/personal-api-key',
|
|
67
|
-
'/API/Personal-Api-Key/',
|
|
68
|
-
'/api//personal-api-key',
|
|
69
|
-
'//api///personal-api-key//',
|
|
70
|
-
'/api/personal-api-key?x=1#frag',
|
|
71
|
-
'http://host:3000/API//personal-api-key',
|
|
72
|
-
])('refuses the variant %s of a credential route', (url) => {
|
|
73
|
-
expect(guard({ method: 'GET', path: '/x', originalUrl: url }, { scopes: ['cloud:read'] })).toEqual(REFUSED);
|
|
74
|
-
});
|
|
75
|
-
it('reads the path when there is no original URL', () => {
|
|
76
|
-
expect(guard({ method: 'GET', path: '/PERSONAL-API-KEY' }, { scopes: ['cloud:read'] })).toEqual(REFUSED);
|
|
77
|
-
});
|
|
78
|
-
it('has no credential route when none is declared', () => {
|
|
79
|
-
const bare = (0, oauth_request_guard_util_1.createOAuthRequestGuard)({ product: oauth_app_enum_1.OAuthAppProduct.CLOUD });
|
|
80
|
-
expect(bare({ method: 'GET', path: '/personal-api-key' }, { scopes: ['cloud:read'] })).toEqual({ allowed: true });
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
describe('credential route methods', () => {
|
|
84
|
-
const scopes = { scopes: ['cloud:read', 'cloud:write'] };
|
|
85
|
-
const url = '/api/secret/a/value';
|
|
86
|
-
const guardOf = (methods) => (0, oauth_request_guard_util_1.createOAuthRequestGuard)({
|
|
87
|
-
product: oauth_app_enum_1.OAuthAppProduct.CLOUD,
|
|
88
|
-
credentialRoutes: [{ methods, path: /^\/secret\/[^/]+\/value$/ }],
|
|
89
|
-
});
|
|
90
|
-
it.each(['GET', 'HEAD', 'POST', 'put', 'DELETE'])('ANY refuses %s', (method) => {
|
|
91
|
-
expect(guardOf(oauth_request_guard_util_1.OAuthCredentialMethods.ANY)({ method, originalUrl: url }, scopes)).toEqual(REFUSED);
|
|
92
|
-
});
|
|
93
|
-
it.each(['POST', 'PUT', 'PATCH', 'DELETE', 'put'])('ANY_WRITE refuses %s', (method) => {
|
|
94
|
-
expect(guardOf(oauth_request_guard_util_1.OAuthCredentialMethods.ANY_WRITE)({ method, originalUrl: url }, scopes)).toEqual(REFUSED);
|
|
95
|
-
});
|
|
96
|
-
it.each(['GET', 'HEAD'])('ANY_WRITE lets %s through', (method) => {
|
|
97
|
-
expect(guardOf(oauth_request_guard_util_1.OAuthCredentialMethods.ANY_WRITE)({ method, originalUrl: url }, scopes)).toEqual({ allowed: true });
|
|
98
|
-
});
|
|
99
|
-
it.each(['GET', 'get', 'HEAD'])('an explicit [get] list refuses %s (GET covers HEAD)', (m) => {
|
|
100
|
-
expect(guardOf(['get'])({ method: m, originalUrl: url }, scopes)).toEqual(REFUSED);
|
|
101
|
-
});
|
|
102
|
-
it('an explicit list lets another method through', () => {
|
|
103
|
-
expect(guardOf(['GET'])({ method: 'POST', originalUrl: url }, scopes)).toEqual({
|
|
104
|
-
allowed: true,
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
it.each(['/api/secret/a/value/b', '/api/secret/a', '/api/secret//value'])('does not refuse the other path %s', (other) => {
|
|
108
|
-
expect(guardOf(oauth_request_guard_util_1.OAuthCredentialMethods.ANY)({ method: 'GET', originalUrl: other }, scopes)).toEqual({ allowed: true });
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
describe('credential route patterns are checked at construction', () => {
|
|
112
|
-
const build = (path) => () => (0, oauth_request_guard_util_1.createOAuthRequestGuard)({
|
|
113
|
-
product: oauth_app_enum_1.OAuthAppProduct.CLOUD,
|
|
114
|
-
credentialRoutes: [{ methods: oauth_request_guard_util_1.OAuthCredentialMethods.ANY, path }],
|
|
115
|
-
});
|
|
116
|
-
it.each([
|
|
117
|
-
['the i flag', /^\/secret$/i],
|
|
118
|
-
['the g flag', /^\/secret$/g],
|
|
119
|
-
['the y flag', /^\/secret$/y],
|
|
120
|
-
['an upper-case literal', /^\/Secret$/],
|
|
121
|
-
['an upper-case literal in a class', /^\/[A-Z]+$/],
|
|
122
|
-
['no start anchor', /\/secret$/],
|
|
123
|
-
['no end anchor', /^\/secret/],
|
|
124
|
-
['the /api prefix', /^\/api\/secret$/],
|
|
125
|
-
['the optional /api prefix', /^(?:\/api)?\/secret$/],
|
|
126
|
-
])('refuses a pattern with %s', (_name, path) => {
|
|
127
|
-
expect(build(path)).toThrow(/OAuth credential route/);
|
|
128
|
-
});
|
|
129
|
-
it('accepts escapes such as \\S and \\d, which are not literal capitals', () => {
|
|
130
|
-
expect(build(/^\/secret\/\S+\/\d+$/)).not.toThrow();
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
describe('canonicalOAuthRoutePath', () => {
|
|
134
|
-
it.each([
|
|
135
|
-
['/api/secret/p/s/value', '/secret/p/s/value'],
|
|
136
|
-
['/API/Secret/P/S/VALUE', '/secret/p/s/value'],
|
|
137
|
-
['/api//secret///p/s/value', '/secret/p/s/value'],
|
|
138
|
-
['//api/secret/p/s/value/', '/secret/p/s/value'],
|
|
139
|
-
['/api/secret/p/s/value?a=b/c', '/secret/p/s/value'],
|
|
140
|
-
['/api/secret/p/s/value#frag/x', '/secret/p/s/value'],
|
|
141
|
-
['/api/secret/p/s/value?a=1#f', '/secret/p/s/value'],
|
|
142
|
-
['https://host:10112/api/secret/p', '/secret/p'],
|
|
143
|
-
['/api', '/'],
|
|
144
|
-
['/', '/'],
|
|
145
|
-
['', '/'],
|
|
146
|
-
['/apix/secret', '/apix/secret'],
|
|
147
|
-
['/api/api/secret', '/api/secret'],
|
|
148
|
-
['/secret/%76alue', '/secret/%76alue'],
|
|
149
|
-
['/secret/a%2Fb', '/secret/a%2fb'],
|
|
150
|
-
])('%s -> %s', (url, canonical) => {
|
|
151
|
-
expect((0, oauth_request_guard_util_1.canonicalOAuthRoutePath)(url)).toBe(canonical);
|
|
152
|
-
});
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
//# sourceMappingURL=oauth-request-guard.util.spec.js.map
|
|
@@ -1 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ABYSS_MAIN = "abyss-main",
|
|
3
|
-
ABYSS_WORKSPACE = "abyss-workspace",
|
|
4
|
-
ABYSS_BEAM = "abyss-beam",
|
|
5
|
-
ABYSS_EXTRACT = "abyss-extract",
|
|
6
|
-
ABYSS_PROBE = "abyss-probe",
|
|
7
|
-
ABYSS_CLOUD = "abyss-cloud",
|
|
8
|
-
ABYSS_CRYPT = "abyss-crypt",
|
|
9
|
-
ABYSS_FORM = "abyss-form",
|
|
10
|
-
ABYSS_MEMORIES = "abyss-memories",
|
|
11
|
-
ABYSS_SPOTLIGHT = "abyss-spotlight",
|
|
12
|
-
ABYSS_BANKING = "abyss-banking",
|
|
13
|
-
ABYSS_TRAINING = "abyss-training",
|
|
14
|
-
ABYSS_STORAGE = "abyss-storage",
|
|
15
|
-
ABYSS_MONITOR = "abyss-monitor",
|
|
16
|
-
ABYSS_CONSOLE = "abyss-console",
|
|
17
|
-
ABYSS_REFLEX = "abyss-reflex"
|
|
18
|
-
}
|
|
19
|
-
export declare enum OAuthAppProduct {
|
|
20
|
-
WORKSPACE = "workspace",
|
|
21
|
-
BEAM = "beam",
|
|
22
|
-
EXTRACT = "extract",
|
|
23
|
-
PROBE = "probe",
|
|
24
|
-
CLOUD = "cloud",
|
|
25
|
-
CRYPT = "crypt",
|
|
26
|
-
FORM = "form",
|
|
27
|
-
MEMORIES = "memories",
|
|
28
|
-
SPOTLIGHT = "spotlight",
|
|
29
|
-
BANKING = "banking",
|
|
30
|
-
TRAINING = "training",
|
|
31
|
-
STORAGE = "storage",
|
|
32
|
-
MONITOR = "monitor",
|
|
33
|
-
CONSOLE = "console",
|
|
34
|
-
REFLEX = "reflex"
|
|
35
|
-
}
|
|
36
|
-
export declare enum OAuthAppAccess {
|
|
37
|
-
READ = "read",
|
|
38
|
-
WRITE = "write"
|
|
39
|
-
}
|
|
40
|
-
export declare enum OAuthClientType {
|
|
41
|
-
PUBLIC = "PUBLIC",
|
|
42
|
-
CONFIDENTIAL = "CONFIDENTIAL"
|
|
43
|
-
}
|
|
44
|
-
export declare enum OAuthGrantRevokedReason {
|
|
45
|
-
USER = "USER",
|
|
46
|
-
CLIENT_REVOKED = "CLIENT_REVOKED",
|
|
47
|
-
APPLICATION_DELETED = "APPLICATION_DELETED",
|
|
48
|
-
CODE_REUSE = "CODE_REUSE",
|
|
49
|
-
REFRESH_REUSE = "REFRESH_REUSE",
|
|
50
|
-
EXPIRED = "EXPIRED"
|
|
51
|
-
}
|
|
52
|
-
export declare enum OAuthAuthorizationRequestKind {
|
|
53
|
-
MCP = "MCP",
|
|
54
|
-
APP = "APP"
|
|
55
|
-
}
|
|
56
|
-
export declare enum OAuthAuthorizationPrompt {
|
|
57
|
-
NONE = "none",
|
|
58
|
-
CONSENT = "consent"
|
|
59
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OAuthAuthorizationPrompt = exports.OAuthAuthorizationRequestKind = exports.OAuthGrantRevokedReason = exports.OAuthClientType = exports.OAuthAppAccess = exports.OAuthAppProduct = exports.OAuthAudience = void 0;
|
|
4
|
-
var OAuthAudience;
|
|
5
|
-
(function (OAuthAudience) {
|
|
6
|
-
OAuthAudience["ABYSS_MAIN"] = "abyss-main";
|
|
7
|
-
OAuthAudience["ABYSS_WORKSPACE"] = "abyss-workspace";
|
|
8
|
-
OAuthAudience["ABYSS_BEAM"] = "abyss-beam";
|
|
9
|
-
OAuthAudience["ABYSS_EXTRACT"] = "abyss-extract";
|
|
10
|
-
OAuthAudience["ABYSS_PROBE"] = "abyss-probe";
|
|
11
|
-
OAuthAudience["ABYSS_CLOUD"] = "abyss-cloud";
|
|
12
|
-
OAuthAudience["ABYSS_CRYPT"] = "abyss-crypt";
|
|
13
|
-
OAuthAudience["ABYSS_FORM"] = "abyss-form";
|
|
14
|
-
OAuthAudience["ABYSS_MEMORIES"] = "abyss-memories";
|
|
15
|
-
OAuthAudience["ABYSS_SPOTLIGHT"] = "abyss-spotlight";
|
|
16
|
-
OAuthAudience["ABYSS_BANKING"] = "abyss-banking";
|
|
17
|
-
OAuthAudience["ABYSS_TRAINING"] = "abyss-training";
|
|
18
|
-
OAuthAudience["ABYSS_STORAGE"] = "abyss-storage";
|
|
19
|
-
OAuthAudience["ABYSS_MONITOR"] = "abyss-monitor";
|
|
20
|
-
OAuthAudience["ABYSS_CONSOLE"] = "abyss-console";
|
|
21
|
-
OAuthAudience["ABYSS_REFLEX"] = "abyss-reflex";
|
|
22
|
-
})(OAuthAudience || (exports.OAuthAudience = OAuthAudience = {}));
|
|
23
|
-
var OAuthAppProduct;
|
|
24
|
-
(function (OAuthAppProduct) {
|
|
25
|
-
OAuthAppProduct["WORKSPACE"] = "workspace";
|
|
26
|
-
OAuthAppProduct["BEAM"] = "beam";
|
|
27
|
-
OAuthAppProduct["EXTRACT"] = "extract";
|
|
28
|
-
OAuthAppProduct["PROBE"] = "probe";
|
|
29
|
-
OAuthAppProduct["CLOUD"] = "cloud";
|
|
30
|
-
OAuthAppProduct["CRYPT"] = "crypt";
|
|
31
|
-
OAuthAppProduct["FORM"] = "form";
|
|
32
|
-
OAuthAppProduct["MEMORIES"] = "memories";
|
|
33
|
-
OAuthAppProduct["SPOTLIGHT"] = "spotlight";
|
|
34
|
-
OAuthAppProduct["BANKING"] = "banking";
|
|
35
|
-
OAuthAppProduct["TRAINING"] = "training";
|
|
36
|
-
OAuthAppProduct["STORAGE"] = "storage";
|
|
37
|
-
OAuthAppProduct["MONITOR"] = "monitor";
|
|
38
|
-
OAuthAppProduct["CONSOLE"] = "console";
|
|
39
|
-
OAuthAppProduct["REFLEX"] = "reflex";
|
|
40
|
-
})(OAuthAppProduct || (exports.OAuthAppProduct = OAuthAppProduct = {}));
|
|
41
|
-
var OAuthAppAccess;
|
|
42
|
-
(function (OAuthAppAccess) {
|
|
43
|
-
OAuthAppAccess["READ"] = "read";
|
|
44
|
-
OAuthAppAccess["WRITE"] = "write";
|
|
45
|
-
})(OAuthAppAccess || (exports.OAuthAppAccess = OAuthAppAccess = {}));
|
|
46
|
-
var OAuthClientType;
|
|
47
|
-
(function (OAuthClientType) {
|
|
48
|
-
OAuthClientType["PUBLIC"] = "PUBLIC";
|
|
49
|
-
OAuthClientType["CONFIDENTIAL"] = "CONFIDENTIAL";
|
|
50
|
-
})(OAuthClientType || (exports.OAuthClientType = OAuthClientType = {}));
|
|
51
|
-
var OAuthGrantRevokedReason;
|
|
52
|
-
(function (OAuthGrantRevokedReason) {
|
|
53
|
-
OAuthGrantRevokedReason["USER"] = "USER";
|
|
54
|
-
OAuthGrantRevokedReason["CLIENT_REVOKED"] = "CLIENT_REVOKED";
|
|
55
|
-
OAuthGrantRevokedReason["APPLICATION_DELETED"] = "APPLICATION_DELETED";
|
|
56
|
-
OAuthGrantRevokedReason["CODE_REUSE"] = "CODE_REUSE";
|
|
57
|
-
OAuthGrantRevokedReason["REFRESH_REUSE"] = "REFRESH_REUSE";
|
|
58
|
-
OAuthGrantRevokedReason["EXPIRED"] = "EXPIRED";
|
|
59
|
-
})(OAuthGrantRevokedReason || (exports.OAuthGrantRevokedReason = OAuthGrantRevokedReason = {}));
|
|
60
|
-
var OAuthAuthorizationRequestKind;
|
|
61
|
-
(function (OAuthAuthorizationRequestKind) {
|
|
62
|
-
OAuthAuthorizationRequestKind["MCP"] = "MCP";
|
|
63
|
-
OAuthAuthorizationRequestKind["APP"] = "APP";
|
|
64
|
-
})(OAuthAuthorizationRequestKind || (exports.OAuthAuthorizationRequestKind = OAuthAuthorizationRequestKind = {}));
|
|
65
|
-
var OAuthAuthorizationPrompt;
|
|
66
|
-
(function (OAuthAuthorizationPrompt) {
|
|
67
|
-
OAuthAuthorizationPrompt["NONE"] = "none";
|
|
68
|
-
OAuthAuthorizationPrompt["CONSENT"] = "consent";
|
|
69
|
-
})(OAuthAuthorizationPrompt || (exports.OAuthAuthorizationPrompt = OAuthAuthorizationPrompt = {}));
|
|
70
|
-
//# sourceMappingURL=oauth-app.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-app.enum.js","sourceRoot":"","sources":["../../../src/types/enum/oauth-app.enum.ts"],"names":[],"mappings":";;;AAIA,IAAY,aAkBX;AAlBD,WAAY,aAAa;IAEvB,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;IACzB,gDAA+B,CAAA;IAC/B,4CAA2B,CAAA;IAC3B,4CAA2B,CAAA;IAC3B,4CAA2B,CAAA;IAC3B,0CAAyB,CAAA;IACzB,kDAAiC,CAAA;IACjC,oDAAmC,CAAA;IACnC,gDAA+B,CAAA;IAC/B,kDAAiC,CAAA;IACjC,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,8CAA6B,CAAA;AAC/B,CAAC,EAlBW,aAAa,6BAAb,aAAa,QAkBxB;AAGD,IAAY,eAgBX;AAhBD,WAAY,eAAe;IACzB,0CAAuB,CAAA;IACvB,gCAAa,CAAA;IACb,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,kCAAe,CAAA;IACf,kCAAe,CAAA;IACf,gCAAa,CAAA;IACb,wCAAqB,CAAA;IACrB,0CAAuB,CAAA;IACvB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;AACnB,CAAC,EAhBW,eAAe,+BAAf,eAAe,QAgB1B;AAMD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,iCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAGD,IAAY,eAKX;AALD,WAAY,eAAe;IAEzB,oCAAiB,CAAA;IAEjB,gDAA6B,CAAA;AAC/B,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AAGD,IAAY,uBAaX;AAbD,WAAY,uBAAuB;IAEjC,wCAAa,CAAA;IAEb,4DAAiC,CAAA;IAEjC,sEAA2C,CAAA;IAE3C,oDAAyB,CAAA;IAEzB,0DAA+B,CAAA;IAE/B,8CAAmB,CAAA;AACrB,CAAC,EAbW,uBAAuB,uCAAvB,uBAAuB,QAalC;AAGD,IAAY,6BAKX;AALD,WAAY,6BAA6B;IAEvC,4CAAW,CAAA;IAEX,4CAAW,CAAA;AACb,CAAC,EALW,6BAA6B,6CAA7B,6BAA6B,QAKxC;AAMD,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAElC,yCAAa,CAAA;IAEb,+CAAmB,CAAA;AACrB,CAAC,EALW,wBAAwB,wCAAxB,wBAAwB,QAKnC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { OAuthClientType } from '../../../enum/oauth-app.enum';
|
|
2
|
-
export interface IListOAuthApplicationProjectParams {
|
|
3
|
-
projectId: string;
|
|
4
|
-
}
|
|
5
|
-
export interface ICreateOAuthApplicationProjectParams {
|
|
6
|
-
projectId: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ICreateOAuthApplicationBody {
|
|
9
|
-
name: string;
|
|
10
|
-
description?: string | null;
|
|
11
|
-
homepageUrl?: string | null;
|
|
12
|
-
clientType: OAuthClientType;
|
|
13
|
-
redirectUris: string[];
|
|
14
|
-
allowedOrigins?: string[];
|
|
15
|
-
}
|
|
16
|
-
export interface IGetOAuthApplicationParams {
|
|
17
|
-
applicationId: string;
|
|
18
|
-
}
|
|
19
|
-
export interface IUpdateOAuthApplicationParams {
|
|
20
|
-
applicationId: string;
|
|
21
|
-
}
|
|
22
|
-
export interface IUpdateOAuthApplicationBody {
|
|
23
|
-
name?: string;
|
|
24
|
-
description?: string | null;
|
|
25
|
-
homepageUrl?: string | null;
|
|
26
|
-
redirectUris?: string[];
|
|
27
|
-
allowedOrigins?: string[];
|
|
28
|
-
}
|
|
29
|
-
export interface IDeleteOAuthApplicationParams {
|
|
30
|
-
applicationId: string;
|
|
31
|
-
}
|
|
32
|
-
export interface IRegenerateSecretOAuthApplicationParams {
|
|
33
|
-
applicationId: string;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-application.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/oauth-application.request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-grant.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/oauth-grant.request.ts"],"names":[],"mappings":""}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { OAuthClientType } from '../../../enum/oauth-app.enum';
|
|
2
|
-
import type { IResponse } from '../type-message/response';
|
|
3
|
-
export interface IOAuthApplicationSummary {
|
|
4
|
-
id: string;
|
|
5
|
-
clientId: string;
|
|
6
|
-
name: string;
|
|
7
|
-
description: string | null;
|
|
8
|
-
homepageUrl: string | null;
|
|
9
|
-
clientType: OAuthClientType;
|
|
10
|
-
redirectUris: string[];
|
|
11
|
-
allowedOrigins: string[];
|
|
12
|
-
projectId: string;
|
|
13
|
-
connectedUserCount: number;
|
|
14
|
-
createdAt: Date;
|
|
15
|
-
updatedAt: Date;
|
|
16
|
-
}
|
|
17
|
-
export interface ICreateOAuthApplicationData {
|
|
18
|
-
application: IOAuthApplicationSummary;
|
|
19
|
-
clientSecret: string | null;
|
|
20
|
-
}
|
|
21
|
-
export interface IListOAuthApplicationProjectData {
|
|
22
|
-
applications: IOAuthApplicationSummary[];
|
|
23
|
-
}
|
|
24
|
-
export type IListOAuthApplicationProjectResponse = IResponse<IListOAuthApplicationProjectData>;
|
|
25
|
-
export type ICreateOAuthApplicationProjectResponse = IResponse<ICreateOAuthApplicationData>;
|
|
26
|
-
export interface IGetOAuthApplicationData {
|
|
27
|
-
application: IOAuthApplicationSummary;
|
|
28
|
-
}
|
|
29
|
-
export type IGetOAuthApplicationResponse = IResponse<IGetOAuthApplicationData>;
|
|
30
|
-
export interface IUpdateOAuthApplicationData {
|
|
31
|
-
application: IOAuthApplicationSummary;
|
|
32
|
-
}
|
|
33
|
-
export type IUpdateOAuthApplicationResponse = IResponse<IUpdateOAuthApplicationData>;
|
|
34
|
-
export type IDeleteOAuthApplicationResponse = void;
|
|
35
|
-
export interface IRegenerateSecretOAuthApplicationData {
|
|
36
|
-
application: IOAuthApplicationSummary;
|
|
37
|
-
clientSecret: string;
|
|
38
|
-
}
|
|
39
|
-
export type IRegenerateSecretOAuthApplicationResponse = IResponse<IRegenerateSecretOAuthApplicationData>;
|
|
40
|
-
export interface IListAllowedOriginsOAuthApplicationAdminData {
|
|
41
|
-
origins: string[];
|
|
42
|
-
}
|
|
43
|
-
export type IListAllowedOriginsOAuthApplicationAdminResponse = IResponse<IListAllowedOriginsOAuthApplicationAdminData>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-application.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-application.response.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { IResponse } from '../type-message/response';
|
|
2
|
-
export interface IOAuthGrantSummary {
|
|
3
|
-
id: string;
|
|
4
|
-
application: {
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
ownerName: string;
|
|
8
|
-
organizationName: string;
|
|
9
|
-
homepageUrl: string | null;
|
|
10
|
-
};
|
|
11
|
-
scopes: string[];
|
|
12
|
-
createdAt: Date;
|
|
13
|
-
lastUsedAt: Date | null;
|
|
14
|
-
}
|
|
15
|
-
export interface IListOAuthGrantUserData {
|
|
16
|
-
grants: IOAuthGrantSummary[];
|
|
17
|
-
}
|
|
18
|
-
export type IListOAuthGrantUserResponse = IResponse<IListOAuthGrantUserData>;
|
|
19
|
-
export type IRevokeOAuthGrantResponse = void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-grant.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-grant.response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-userinfo.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-userinfo.response.ts"],"names":[],"mappings":""}
|
/package/dist/constants/tests/{oauth-app.constants.spec.d.ts → monitor-ingestion-catalog.spec.d.ts}
RENAMED
|
File without changes
|