@lumoauth/api-client 1.0.0 → 1.2.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/.openapi-generator/FILES +16 -0
- package/.openapi-generator-ignore +1 -1
- package/README.md +12 -2
- package/api/aauth-api.ts +5 -5
- package/api/admin-mcp-api.ts +5 -5
- package/api/admin-oauth-clients-api.ts +118 -0
- package/api/agents-api.ts +5 -5
- package/api/authorization-api.ts +5 -26
- package/api/mcp-api.ts +130 -0
- package/api/well-known-api.ts +10 -10
- package/dist/api/aauth-api.d.ts +5 -5
- package/dist/api/aauth-api.js +4 -4
- package/dist/api/admin-mcp-api.d.ts +5 -5
- package/dist/api/admin-mcp-api.js +4 -4
- package/dist/api/admin-oauth-clients-api.d.ts +65 -0
- package/dist/api/admin-oauth-clients-api.js +77 -0
- package/dist/api/agents-api.d.ts +5 -5
- package/dist/api/agents-api.js +4 -4
- package/dist/api/authorization-api.d.ts +5 -5
- package/dist/api/authorization-api.js +4 -18
- package/dist/api/mcp-api.d.ts +73 -0
- package/dist/api/mcp-api.js +82 -0
- package/dist/api/well-known-api.d.ts +10 -10
- package/dist/api/well-known-api.js +8 -8
- package/dist/esm/api/aauth-api.d.ts +5 -5
- package/dist/esm/api/aauth-api.js +4 -4
- package/dist/esm/api/admin-mcp-api.d.ts +5 -5
- package/dist/esm/api/admin-mcp-api.js +4 -4
- package/dist/esm/api/admin-oauth-clients-api.d.ts +65 -0
- package/dist/esm/api/admin-oauth-clients-api.js +78 -1
- package/dist/esm/api/agents-api.d.ts +5 -5
- package/dist/esm/api/agents-api.js +4 -4
- package/dist/esm/api/authorization-api.d.ts +5 -5
- package/dist/esm/api/authorization-api.js +4 -18
- package/dist/esm/api/mcp-api.d.ts +73 -0
- package/dist/esm/api/mcp-api.js +83 -1
- package/dist/esm/api/well-known-api.d.ts +10 -10
- package/dist/esm/api/well-known-api.js +8 -8
- package/dist/esm/models/admin-agents-generate-token-request.d.ts +7 -1
- package/dist/esm/models/admin-agents-generate-token-response-data.d.ts +12 -0
- package/dist/esm/models/admin-clients-cimd-check-request.d.ts +30 -0
- package/dist/esm/models/admin-clients-cimd-check-request.js +14 -0
- package/dist/esm/models/admin-clients-cimd-check-response.d.ts +25 -0
- package/dist/esm/models/admin-clients-cimd-check-response.js +14 -0
- package/dist/esm/models/attest-response.d.ts +2 -1
- package/dist/esm/models/attest-response.js +1 -0
- package/dist/esm/models/authentication-settings.d.ts +1 -1
- package/dist/esm/models/authorization-server-metadata.d.ts +1 -1
- package/dist/esm/models/authorize-mcp-request.d.ts +1 -1
- package/dist/esm/models/cimd-check-result-effective.d.ts +112 -0
- package/dist/esm/models/cimd-check-result-effective.js +31 -0
- package/dist/esm/models/cimd-check-result-shadow-client.d.ts +30 -0
- package/dist/esm/models/cimd-check-result-shadow-client.js +14 -0
- package/dist/esm/models/cimd-check-result.d.ts +76 -0
- package/dist/esm/models/cimd-check-result.js +14 -0
- package/dist/esm/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
- package/dist/esm/models/mcp-server-tool-authorize-request-subject.js +22 -0
- package/dist/esm/models/mcp-server-tool-authorize-request.d.ts +31 -0
- package/dist/esm/models/mcp-server-tool-authorize-request.js +14 -0
- package/dist/esm/models/mcp-server-tool-authorize-response.d.ts +36 -0
- package/dist/esm/models/mcp-server-tool-authorize-response.js +14 -0
- package/dist/esm/models/mcp-server.d.ts +18 -0
- package/dist/esm/models/open-id-configuration.d.ts +2 -2
- package/dist/esm/models/protected-resource-metadata.d.ts +1 -1
- package/dist/esm/models/push-enrollment-started.d.ts +7 -1
- package/dist/esm/models/single-server-metadata.d.ts +1 -1
- package/dist/models/admin-agents-generate-token-request.d.ts +7 -1
- package/dist/models/admin-agents-generate-token-response-data.d.ts +12 -0
- package/dist/models/admin-clients-cimd-check-request.d.ts +30 -0
- package/dist/models/admin-clients-cimd-check-request.js +15 -0
- package/dist/models/admin-clients-cimd-check-response.d.ts +25 -0
- package/dist/models/admin-clients-cimd-check-response.js +15 -0
- package/dist/models/attest-response.d.ts +2 -1
- package/dist/models/attest-response.js +1 -0
- package/dist/models/authentication-settings.d.ts +1 -1
- package/dist/models/authorization-server-metadata.d.ts +1 -1
- package/dist/models/authorize-mcp-request.d.ts +1 -1
- package/dist/models/cimd-check-result-effective.d.ts +112 -0
- package/dist/models/cimd-check-result-effective.js +34 -0
- package/dist/models/cimd-check-result-shadow-client.d.ts +30 -0
- package/dist/models/cimd-check-result-shadow-client.js +15 -0
- package/dist/models/cimd-check-result.d.ts +76 -0
- package/dist/models/cimd-check-result.js +15 -0
- package/dist/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
- package/dist/models/mcp-server-tool-authorize-request-subject.js +25 -0
- package/dist/models/mcp-server-tool-authorize-request.d.ts +31 -0
- package/dist/models/mcp-server-tool-authorize-request.js +15 -0
- package/dist/models/mcp-server-tool-authorize-response.d.ts +36 -0
- package/dist/models/mcp-server-tool-authorize-response.js +15 -0
- package/dist/models/mcp-server.d.ts +18 -0
- package/dist/models/open-id-configuration.d.ts +2 -2
- package/dist/models/protected-resource-metadata.d.ts +1 -1
- package/dist/models/push-enrollment-started.d.ts +7 -1
- package/dist/models/single-server-metadata.d.ts +1 -1
- package/docs/AAuthApi.md +1 -1
- package/docs/AdminAgentsApi.md +1 -1
- package/docs/AdminAgentsGenerateTokenRequest.md +3 -1
- package/docs/AdminAgentsGenerateTokenResponseData.md +4 -0
- package/docs/AdminClientsCimdCheckRequest.md +22 -0
- package/docs/AdminClientsCimdCheckResponse.md +20 -0
- package/docs/AdminMcpApi.md +1 -1
- package/docs/AdminOAuthClientsApi.md +57 -0
- package/docs/AgentsApi.md +4 -3
- package/docs/AuthenticationSettings.md +1 -1
- package/docs/AuthorizationApi.md +8 -8
- package/docs/AuthorizationServerMetadata.md +1 -1
- package/docs/AuthorizeMcpRequest.md +1 -1
- package/docs/CimdCheckResult.md +37 -0
- package/docs/CimdCheckResultEffective.md +45 -0
- package/docs/CimdCheckResultShadowClient.md +23 -0
- package/docs/EnrollAuthenticator201Response.md +3 -1
- package/docs/GetProtectedResourceMetadataRoot200Response.md +1 -1
- package/docs/GetProtectedResourceMetadataRootResponse1ResourcesItem.md +1 -1
- package/docs/McpApi.md +64 -0
- package/docs/McpServer.md +6 -0
- package/docs/McpServerToolAuthorizeRequest.md +22 -0
- package/docs/McpServerToolAuthorizeRequestSubject.md +22 -0
- package/docs/McpServerToolAuthorizeResponse.md +24 -0
- package/docs/OpenIdConfiguration.md +2 -2
- package/docs/ProtectedResourceMetadata.md +1 -1
- package/docs/PushEnrollmentStarted.md +3 -1
- package/docs/SingleServerMetadata.md +1 -1
- package/docs/WellKnownApi.md +4 -4
- package/models/admin-agents-generate-token-request.ts +7 -1
- package/models/admin-agents-generate-token-response-data.ts +12 -0
- package/models/admin-clients-cimd-check-request.ts +36 -0
- package/models/admin-clients-cimd-check-response.ts +33 -0
- package/models/attest-response.ts +2 -1
- package/models/authentication-settings.ts +1 -1
- package/models/authorization-server-metadata.ts +1 -1
- package/models/authorize-mcp-request.ts +1 -1
- package/models/cimd-check-result-effective.ts +120 -0
- package/models/cimd-check-result-shadow-client.ts +36 -0
- package/models/cimd-check-result.ts +84 -0
- package/models/get-protected-resource-metadata-root-response1-resources-item.ts +1 -1
- package/models/index.ts +8 -0
- package/models/mcp-server-tool-authorize-request-subject.ts +46 -0
- package/models/mcp-server-tool-authorize-request.ts +39 -0
- package/models/mcp-server-tool-authorize-response.ts +42 -0
- package/models/mcp-server.ts +18 -0
- package/models/open-id-configuration.ts +2 -2
- package/models/protected-resource-metadata.ts +1 -1
- package/models/push-enrollment-started.ts +7 -1
- package/models/single-server-metadata.ts +1 -1
- package/package.json +1 -1
|
@@ -158,7 +158,7 @@ export interface AuthenticationSettings {
|
|
|
158
158
|
*/
|
|
159
159
|
'dynamic_client_registration_enabled'?: boolean;
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* Accept Client ID Metadata Documents (an https URL as client_id). On by default on every plan; set false to opt the organization out.
|
|
162
162
|
* @type {boolean}
|
|
163
163
|
* @memberof AuthenticationSettings
|
|
164
164
|
*/
|
|
@@ -225,7 +225,7 @@ export interface AuthorizationServerMetadata {
|
|
|
225
225
|
*/
|
|
226
226
|
'entity_profiles_supported'?: Array<string>;
|
|
227
227
|
/**
|
|
228
|
-
*
|
|
228
|
+
* Present (true) unless the organization switched Client ID Metadata Documents off.
|
|
229
229
|
* @type {boolean}
|
|
230
230
|
* @memberof AuthorizationServerMetadata
|
|
231
231
|
*/
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The client LumoAuth derives from the document after organization policy.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CimdCheckResultEffective
|
|
21
|
+
*/
|
|
22
|
+
export interface CimdCheckResultEffective {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CimdCheckResultEffective
|
|
27
|
+
*/
|
|
28
|
+
'client_name'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CimdCheckResultEffective
|
|
33
|
+
*/
|
|
34
|
+
'application_type'?: CimdCheckResultEffectiveApplicationType;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CimdCheckResultEffective
|
|
39
|
+
*/
|
|
40
|
+
'token_endpoint_auth_method'?: CimdCheckResultEffectiveTokenEndpointAuthMethod;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof CimdCheckResultEffective
|
|
45
|
+
*/
|
|
46
|
+
'public_client'?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof CimdCheckResultEffective
|
|
51
|
+
*/
|
|
52
|
+
'pkce_required'?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof CimdCheckResultEffective
|
|
57
|
+
*/
|
|
58
|
+
'redirect_uris'?: Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Loopback URIs removed by the organization\'s localhost policy.
|
|
61
|
+
* @type {Array<string>}
|
|
62
|
+
* @memberof CimdCheckResultEffective
|
|
63
|
+
*/
|
|
64
|
+
'dropped_redirect_uris'?: Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof CimdCheckResultEffective
|
|
69
|
+
*/
|
|
70
|
+
'grant_types'?: Array<string>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof CimdCheckResultEffective
|
|
75
|
+
*/
|
|
76
|
+
'scopes'?: Array<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Scopes the document asked for that are neither identity scopes nor on the organization\'s cimd_allowed_scopes list.
|
|
79
|
+
* @type {Array<string>}
|
|
80
|
+
* @memberof CimdCheckResultEffective
|
|
81
|
+
*/
|
|
82
|
+
'dropped_scopes'?: Array<string>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CimdCheckResultEffective
|
|
87
|
+
*/
|
|
88
|
+
'logo_uri'?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CimdCheckResultEffective
|
|
93
|
+
*/
|
|
94
|
+
'client_uri'?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {boolean}
|
|
98
|
+
* @memberof CimdCheckResultEffective
|
|
99
|
+
*/
|
|
100
|
+
'has_loopback_redirect'?: boolean;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
* @enum {string}
|
|
106
|
+
*/
|
|
107
|
+
export enum CimdCheckResultEffectiveApplicationType {
|
|
108
|
+
WEB = 'web',
|
|
109
|
+
NATIVE = 'native'
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
* @enum {string}
|
|
114
|
+
*/
|
|
115
|
+
export enum CimdCheckResultEffectiveTokenEndpointAuthMethod {
|
|
116
|
+
NONE = 'none',
|
|
117
|
+
PRIVATE_KEY_JWT = 'private_key_jwt'
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Present when this organization has already resolved the client at least once.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CimdCheckResultShadowClient
|
|
21
|
+
*/
|
|
22
|
+
export interface CimdCheckResultShadowClient {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CimdCheckResultShadowClient
|
|
27
|
+
*/
|
|
28
|
+
'id'?: number | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CimdCheckResultShadowClient
|
|
33
|
+
*/
|
|
34
|
+
'last_fetched_at'?: string | null;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { CimdCheckResultEffective } from './cimd-check-result-effective';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { CimdCheckResultShadowClient } from './cimd-check-result-shadow-client';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Result of POST /admin/clients/cimd/check — how the authorization server sees a Client ID Metadata Document.
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CimdCheckResult
|
|
27
|
+
*/
|
|
28
|
+
export interface CimdCheckResult {
|
|
29
|
+
/**
|
|
30
|
+
* true when the document is valid and would be accepted (subject to `enabled`).
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof CimdCheckResult
|
|
33
|
+
*/
|
|
34
|
+
'ok'?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CimdCheckResult
|
|
39
|
+
*/
|
|
40
|
+
'client_id'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Whether CIMD is currently on for this organization (switch + plan).
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof CimdCheckResult
|
|
45
|
+
*/
|
|
46
|
+
'enabled'?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Stable failure code when ok is false (client_id_mismatch, invalid_redirect_uri, domain_not_allowed, http_status_404, …).
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CimdCheckResult
|
|
51
|
+
*/
|
|
52
|
+
'reason'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Developer-facing explanation of `reason`.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CimdCheckResult
|
|
57
|
+
*/
|
|
58
|
+
'message'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Array<string>}
|
|
62
|
+
* @memberof CimdCheckResult
|
|
63
|
+
*/
|
|
64
|
+
'warnings'?: Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The metadata document as fetched.
|
|
67
|
+
* @type {{ [key: string]: any; }}
|
|
68
|
+
* @memberof CimdCheckResult
|
|
69
|
+
*/
|
|
70
|
+
'document'?: { [key: string]: any; } | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {CimdCheckResultEffective}
|
|
74
|
+
* @memberof CimdCheckResult
|
|
75
|
+
*/
|
|
76
|
+
'effective'?: CimdCheckResultEffective | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {CimdCheckResultShadowClient}
|
|
80
|
+
* @memberof CimdCheckResult
|
|
81
|
+
*/
|
|
82
|
+
'shadow_client'?: CimdCheckResultShadowClient | null;
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -33,7 +33,7 @@ export interface GetProtectedResourceMetadataRootResponse1ResourcesItem {
|
|
|
33
33
|
*/
|
|
34
34
|
'resource_metadata_url': string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* The organization\'s issuer identifier (RFC 8414).
|
|
37
37
|
* @type {Array<string>}
|
|
38
38
|
* @memberof GetProtectedResourceMetadataRootResponse1ResourcesItem
|
|
39
39
|
*/
|
package/models/index.ts
CHANGED
|
@@ -54,6 +54,8 @@ export * from './admin-audit-logs-stats-response';
|
|
|
54
54
|
export * from './admin-audit-logs-stats-response-data';
|
|
55
55
|
export * from './admin-audit-logs-stats-response-data-period';
|
|
56
56
|
export * from './admin-client-tokens-revoke-all-response';
|
|
57
|
+
export * from './admin-clients-cimd-check-request';
|
|
58
|
+
export * from './admin-clients-cimd-check-response';
|
|
57
59
|
export * from './admin-email-templates-list-response';
|
|
58
60
|
export * from './admin-email-templates-preview-response';
|
|
59
61
|
export * from './admin-email-templates-variables-response';
|
|
@@ -186,6 +188,9 @@ export * from './check-permission-response';
|
|
|
186
188
|
export * from './check-permissions-bulk-response';
|
|
187
189
|
export * from './check-relation-response';
|
|
188
190
|
export * from './check-relation-scoped-response';
|
|
191
|
+
export * from './cimd-check-result';
|
|
192
|
+
export * from './cimd-check-result-effective';
|
|
193
|
+
export * from './cimd-check-result-shadow-client';
|
|
189
194
|
export * from './complete-task-response';
|
|
190
195
|
export * from './create-approval-request';
|
|
191
196
|
export * from './create-approval-response';
|
|
@@ -283,6 +288,9 @@ export * from './mark-user-verified-response';
|
|
|
283
288
|
export * from './mcp-server';
|
|
284
289
|
export * from './mcp-server-posture';
|
|
285
290
|
export * from './mcp-server-posture-checks-inner';
|
|
291
|
+
export * from './mcp-server-tool-authorize-request';
|
|
292
|
+
export * from './mcp-server-tool-authorize-request-subject';
|
|
293
|
+
export * from './mcp-server-tool-authorize-response';
|
|
286
294
|
export * from './message-response';
|
|
287
295
|
export * from './mfa-authenticator';
|
|
288
296
|
export * from './mfa-authenticator-last-used-context';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface McpServerToolAuthorizeRequestSubject
|
|
21
|
+
*/
|
|
22
|
+
export interface McpServerToolAuthorizeRequestSubject {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof McpServerToolAuthorizeRequestSubject
|
|
27
|
+
*/
|
|
28
|
+
'type': McpServerToolAuthorizeRequestSubjectType;
|
|
29
|
+
/**
|
|
30
|
+
* User UUID, or agent id (agt_…). For an MCP token, the user id is `sub`; for an agent token `sub` is `agent_<id>`.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof McpServerToolAuthorizeRequestSubject
|
|
33
|
+
*/
|
|
34
|
+
'id': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export enum McpServerToolAuthorizeRequestSubjectType {
|
|
42
|
+
USER = 'user',
|
|
43
|
+
AGENT = 'agent'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { McpServerToolAuthorizeRequestSubject } from './mcp-server-tool-authorize-request-subject';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface McpServerToolAuthorizeRequest
|
|
24
|
+
*/
|
|
25
|
+
export interface McpServerToolAuthorizeRequest {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {McpServerToolAuthorizeRequestSubject}
|
|
29
|
+
* @memberof McpServerToolAuthorizeRequest
|
|
30
|
+
*/
|
|
31
|
+
'subject': McpServerToolAuthorizeRequestSubject;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof McpServerToolAuthorizeRequest
|
|
36
|
+
*/
|
|
37
|
+
'tool': string;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface McpServerToolAuthorizeResponse
|
|
21
|
+
*/
|
|
22
|
+
export interface McpServerToolAuthorizeResponse {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof McpServerToolAuthorizeResponse
|
|
27
|
+
*/
|
|
28
|
+
'allowed'?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof McpServerToolAuthorizeResponse
|
|
33
|
+
*/
|
|
34
|
+
'subject'?: object;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof McpServerToolAuthorizeResponse
|
|
39
|
+
*/
|
|
40
|
+
'resource'?: object;
|
|
41
|
+
}
|
|
42
|
+
|
package/models/mcp-server.ts
CHANGED
|
@@ -65,6 +65,12 @@ export interface McpServer {
|
|
|
65
65
|
* @memberof McpServer
|
|
66
66
|
*/
|
|
67
67
|
'transport'?: string;
|
|
68
|
+
/**
|
|
69
|
+
* True for http_sse, deprecated in MCP 2026-07-28; migrate to http_streamable.
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof McpServer
|
|
72
|
+
*/
|
|
73
|
+
'transport_deprecated'?: boolean;
|
|
68
74
|
/**
|
|
69
75
|
*
|
|
70
76
|
* @type {string}
|
|
@@ -89,12 +95,24 @@ export interface McpServer {
|
|
|
89
95
|
* @memberof McpServer
|
|
90
96
|
*/
|
|
91
97
|
'scope_descriptions'?: { [key: string]: string; };
|
|
98
|
+
/**
|
|
99
|
+
* Subset of scopes_supported advertised in the 401 challenge and in protected resource metadata. Empty = the whole vocabulary.
|
|
100
|
+
* @type {Array<string>}
|
|
101
|
+
* @memberof McpServer
|
|
102
|
+
*/
|
|
103
|
+
'basic_scopes'?: Array<string>;
|
|
92
104
|
/**
|
|
93
105
|
*
|
|
94
106
|
* @type {Array<string>}
|
|
95
107
|
* @memberof McpServer
|
|
96
108
|
*/
|
|
97
109
|
'allowed_client_ids'?: Array<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The MCP server\'s own OAuth clients allowed to call the per-tool authorization endpoint.
|
|
112
|
+
* @type {Array<string>}
|
|
113
|
+
* @memberof McpServer
|
|
114
|
+
*/
|
|
115
|
+
'tool_authorizer_client_ids'?: Array<string>;
|
|
98
116
|
/**
|
|
99
117
|
*
|
|
100
118
|
* @type {boolean}
|
|
@@ -171,7 +171,7 @@ export interface OpenIdConfiguration {
|
|
|
171
171
|
*/
|
|
172
172
|
'ui_locales_supported'?: Array<string>;
|
|
173
173
|
/**
|
|
174
|
-
* The four MFA tier ACR values, unless overridden in organization settings.
|
|
174
|
+
* The four MFA tier ACR values plus the single-factor urn:lumoauth:acr:pwd (any signed-in session), unless overridden in organization settings.
|
|
175
175
|
* @type {Array<string>}
|
|
176
176
|
* @memberof OpenIdConfiguration
|
|
177
177
|
*/
|
|
@@ -309,7 +309,7 @@ export interface OpenIdConfiguration {
|
|
|
309
309
|
*/
|
|
310
310
|
'entity_profiles_supported'?: Array<string>;
|
|
311
311
|
/**
|
|
312
|
-
*
|
|
312
|
+
* Present (true) unless the organization switched Client ID Metadata Documents off.
|
|
313
313
|
* @type {boolean}
|
|
314
314
|
* @memberof OpenIdConfiguration
|
|
315
315
|
*/
|
|
@@ -29,7 +29,7 @@ export interface ProtectedResourceMetadata {
|
|
|
29
29
|
*/
|
|
30
30
|
'resource': string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* The organization\'s issuer identifier (RFC 8414), the same value as `issuer` in its discovery documents. Clients read the authorization server metadata from {issuer}/.well-known/openid-configuration.
|
|
33
33
|
* @type {Array<string>}
|
|
34
34
|
* @memberof ProtectedResourceMetadata
|
|
35
35
|
*/
|
|
@@ -39,11 +39,17 @@ export interface PushEnrollmentStarted {
|
|
|
39
39
|
*/
|
|
40
40
|
'qr_data_uri'?: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* https://<server>/push-auth/enroll?d=… — an Android App Link / iOS Universal Link that opens the authenticator app on a phone (falls back to a help page without it).
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof PushEnrollmentStarted
|
|
45
45
|
*/
|
|
46
46
|
'deep_link'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Same link as an intent:// URL pinned to the Android app package, for pages served from this host (Chrome keeps same-site App Links in the browser). Null when the deployment has not configured the package.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PushEnrollmentStarted
|
|
51
|
+
*/
|
|
52
|
+
'deep_link_android'?: string | null;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|