@lumoauth/api-client 1.1.0 → 1.3.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/README.md +14 -4
- package/api/aauth-api.ts +5 -5
- package/api/admin-email-api.ts +67 -15
- package/api/admin-mcp-api.ts +5 -5
- package/api/admin-oauth-clients-api.ts +370 -0
- package/api/agents-api.ts +5 -5
- package/api/mcp-api.ts +130 -0
- package/api/oauth-api.ts +0 -186
- 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-email-api.d.ts +41 -9
- package/dist/api/admin-email-api.js +34 -14
- 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 +210 -0
- package/dist/api/admin-oauth-clients-api.js +236 -0
- package/dist/api/agents-api.d.ts +5 -5
- package/dist/api/agents-api.js +4 -4
- package/dist/api/mcp-api.d.ts +73 -0
- package/dist/api/mcp-api.js +82 -0
- package/dist/api/oauth-api.d.ts +0 -110
- package/dist/api/oauth-api.js +0 -132
- 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-email-api.d.ts +41 -9
- package/dist/esm/api/admin-email-api.js +34 -14
- 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 +210 -0
- package/dist/esm/api/admin-oauth-clients-api.js +236 -0
- package/dist/esm/api/agents-api.d.ts +5 -5
- package/dist/esm/api/agents-api.js +4 -4
- package/dist/esm/api/mcp-api.d.ts +73 -0
- package/dist/esm/api/mcp-api.js +83 -1
- package/dist/esm/api/oauth-api.d.ts +0 -110
- package/dist/esm/api/oauth-api.js +0 -132
- 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-get-branding-response-data.d.ts +34 -0
- package/dist/esm/models/admin-clients-get-branding-response-data.js +14 -0
- package/dist/esm/models/admin-clients-get-branding-response.d.ts +25 -0
- package/dist/esm/models/admin-clients-get-branding-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/authorization-server-metadata.d.ts +0 -6
- package/dist/esm/models/authorize-mcp-request.d.ts +1 -1
- 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 +7 -7
- package/dist/esm/models/patch-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/esm/models/patch-admin-clients-update-branding-response.js +14 -0
- package/dist/esm/models/protected-resource-metadata.d.ts +1 -1
- package/dist/esm/models/put-admin-clients-update-branding-request.d.ts +34 -0
- package/dist/esm/models/put-admin-clients-update-branding-request.js +14 -0
- package/dist/esm/models/put-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/esm/models/put-admin-clients-update-branding-response.js +14 -0
- 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-get-branding-response-data.d.ts +34 -0
- package/dist/models/admin-clients-get-branding-response-data.js +15 -0
- package/dist/models/admin-clients-get-branding-response.d.ts +25 -0
- package/dist/models/admin-clients-get-branding-response.js +15 -0
- package/dist/models/attest-response.d.ts +2 -1
- package/dist/models/attest-response.js +1 -0
- package/dist/models/authorization-server-metadata.d.ts +0 -6
- package/dist/models/authorize-mcp-request.d.ts +1 -1
- 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 +7 -7
- package/dist/models/patch-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/models/patch-admin-clients-update-branding-response.js +15 -0
- package/dist/models/protected-resource-metadata.d.ts +1 -1
- package/dist/models/put-admin-clients-update-branding-request.d.ts +34 -0
- package/dist/models/put-admin-clients-update-branding-request.js +15 -0
- package/dist/models/put-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/models/put-admin-clients-update-branding-response.js +15 -0
- 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/AdminClientsGetBrandingResponse.md +20 -0
- package/docs/AdminClientsGetBrandingResponseData.md +22 -0
- package/docs/AdminEmailApi.md +15 -2
- package/docs/AdminMcpApi.md +1 -1
- package/docs/AdminOAuthClientsApi.md +174 -0
- package/docs/AgentsApi.md +4 -3
- package/docs/AuthorizationServerMetadata.md +0 -2
- package/docs/AuthorizeMcpRequest.md +1 -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/OAuthApi.md +0 -105
- package/docs/OpenIdConfiguration.md +3 -3
- package/docs/PatchAdminClientsUpdateBrandingResponse.md +22 -0
- package/docs/ProtectedResourceMetadata.md +1 -1
- package/docs/PutAdminClientsUpdateBrandingRequest.md +22 -0
- package/docs/PutAdminClientsUpdateBrandingResponse.md +22 -0
- package/docs/SingleServerMetadata.md +1 -1
- package/docs/WellKnownApi.md +2 -2
- 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-get-branding-response-data.ts +36 -0
- package/models/admin-clients-get-branding-response.ts +33 -0
- package/models/attest-response.ts +2 -1
- package/models/authorization-server-metadata.ts +0 -6
- package/models/authorize-mcp-request.ts +1 -1
- 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 +7 -7
- package/models/patch-admin-clients-update-branding-response.ts +36 -0
- package/models/protected-resource-metadata.ts +1 -1
- package/models/put-admin-clients-update-branding-request.ts +36 -0
- package/models/put-admin-clients-update-branding-response.ts +36 -0
- package/models/single-server-metadata.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PutAdminClientsUpdateBrandingResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PutAdminClientsUpdateBrandingResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: any; }}
|
|
21
|
+
* @memberof PutAdminClientsUpdateBrandingResponse
|
|
22
|
+
*/
|
|
23
|
+
'data'?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Keys whose value was refused by validation and not saved
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof PutAdminClientsUpdateBrandingResponse
|
|
30
|
+
*/
|
|
31
|
+
'rejected'?: Array<string>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface AdminAgentsGenerateTokenRequest {
|
|
18
18
|
/**
|
|
19
|
-
* Token lifetime in seconds. Default 3600, at most
|
|
19
|
+
* Token lifetime in seconds. Default 3600, minimum 60, at most 86400 (24 hours). Above 3600 only together with `resource`: a long-lived token is always bound to one MCP server, never to the organization API.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof AdminAgentsGenerateTokenRequest
|
|
22
22
|
*/
|
|
@@ -27,4 +27,10 @@ export interface AdminAgentsGenerateTokenRequest {
|
|
|
27
27
|
* @memberof AdminAgentsGenerateTokenRequest
|
|
28
28
|
*/
|
|
29
29
|
'scopes'?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Optional resource URI of an active MCP server of this organization. The token is then audience-bound to that server (and no longer works on the LumoAuth API) and lives at most the server\'s token lifetime. Servers that require DPoP are refused with 400.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AdminAgentsGenerateTokenRequest
|
|
34
|
+
*/
|
|
35
|
+
'resource'?: string;
|
|
30
36
|
}
|
|
@@ -33,10 +33,22 @@ export interface AdminAgentsGenerateTokenResponseData {
|
|
|
33
33
|
* @memberof AdminAgentsGenerateTokenResponseData
|
|
34
34
|
*/
|
|
35
35
|
'expiresIn'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The token id. Written to the agent.token_issued audit event; the kill switch and a capability reduction deny-list it.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AdminAgentsGenerateTokenResponseData
|
|
40
|
+
*/
|
|
41
|
+
'jti'?: string;
|
|
36
42
|
/**
|
|
37
43
|
*
|
|
38
44
|
* @type {Array<string>}
|
|
39
45
|
* @memberof AdminAgentsGenerateTokenResponseData
|
|
40
46
|
*/
|
|
41
47
|
'scopes'?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The MCP server the token is bound to, when `resource` was sent.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AdminAgentsGenerateTokenResponseData
|
|
52
|
+
*/
|
|
53
|
+
'resource'?: string | null;
|
|
42
54
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminClientsGetBrandingResponseData
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminClientsGetBrandingResponseData {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: any; }}
|
|
21
|
+
* @memberof AdminClientsGetBrandingResponseData
|
|
22
|
+
*/
|
|
23
|
+
'login'?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: any; }}
|
|
29
|
+
* @memberof AdminClientsGetBrandingResponseData
|
|
30
|
+
*/
|
|
31
|
+
'consent'?: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LumoAuth API
|
|
6
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: sdk@lumoauth.dev
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AdminClientsGetBrandingResponseData } from './admin-clients-get-branding-response-data';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AdminClientsGetBrandingResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface AdminClientsGetBrandingResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AdminClientsGetBrandingResponseData}
|
|
22
|
+
* @memberof AdminClientsGetBrandingResponse
|
|
23
|
+
*/
|
|
24
|
+
'data'?: AdminClientsGetBrandingResponseData;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LumoAuth API
|
|
6
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: sdk@lumoauth.dev
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -21,4 +21,5 @@ exports.AttestResponseTokenType = void 0;
|
|
|
21
21
|
var AttestResponseTokenType;
|
|
22
22
|
(function (AttestResponseTokenType) {
|
|
23
23
|
AttestResponseTokenType["BEARER"] = "Bearer";
|
|
24
|
+
AttestResponseTokenType["DPO_P"] = "DPoP";
|
|
24
25
|
})(AttestResponseTokenType || (exports.AttestResponseTokenType = AttestResponseTokenType = {}));
|
|
@@ -189,12 +189,6 @@ export interface AuthorizationServerMetadata {
|
|
|
189
189
|
* @memberof AuthorizationServerMetadata
|
|
190
190
|
*/
|
|
191
191
|
'dpop_signing_alg_values_supported'?: Array<string>;
|
|
192
|
-
/**
|
|
193
|
-
*
|
|
194
|
-
* @type {boolean}
|
|
195
|
-
* @memberof AuthorizationServerMetadata
|
|
196
|
-
*/
|
|
197
|
-
'tls_client_certificate_bound_access_tokens'?: boolean;
|
|
198
192
|
/**
|
|
199
193
|
*
|
|
200
194
|
* @type {string}
|
|
@@ -28,7 +28,7 @@ export interface GetProtectedResourceMetadataRootResponse1ResourcesItem {
|
|
|
28
28
|
*/
|
|
29
29
|
'resource_metadata_url': string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The organization\'s issuer identifier (RFC 8414).
|
|
32
32
|
* @type {Array<string>}
|
|
33
33
|
* @memberof GetProtectedResourceMetadataRootResponse1ResourcesItem
|
|
34
34
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -56,6 +56,8 @@ export * from './admin-audit-logs-stats-response-data-period';
|
|
|
56
56
|
export * from './admin-client-tokens-revoke-all-response';
|
|
57
57
|
export * from './admin-clients-cimd-check-request';
|
|
58
58
|
export * from './admin-clients-cimd-check-response';
|
|
59
|
+
export * from './admin-clients-get-branding-response';
|
|
60
|
+
export * from './admin-clients-get-branding-response-data';
|
|
59
61
|
export * from './admin-email-templates-list-response';
|
|
60
62
|
export * from './admin-email-templates-preview-response';
|
|
61
63
|
export * from './admin-email-templates-variables-response';
|
|
@@ -288,6 +290,9 @@ export * from './mark-user-verified-response';
|
|
|
288
290
|
export * from './mcp-server';
|
|
289
291
|
export * from './mcp-server-posture';
|
|
290
292
|
export * from './mcp-server-posture-checks-inner';
|
|
293
|
+
export * from './mcp-server-tool-authorize-request';
|
|
294
|
+
export * from './mcp-server-tool-authorize-request-subject';
|
|
295
|
+
export * from './mcp-server-tool-authorize-response';
|
|
291
296
|
export * from './message-response';
|
|
292
297
|
export * from './mfa-authenticator';
|
|
293
298
|
export * from './mfa-authenticator-last-used-context';
|
|
@@ -310,6 +315,7 @@ export * from './organization-role';
|
|
|
310
315
|
export * from './pagination-meta';
|
|
311
316
|
export * from './par-response';
|
|
312
317
|
export * from './passkey-enrollment-started';
|
|
318
|
+
export * from './patch-admin-clients-update-branding-response';
|
|
313
319
|
export * from './permission';
|
|
314
320
|
export * from './protected-resource-list';
|
|
315
321
|
export * from './protected-resource-metadata';
|
|
@@ -318,6 +324,8 @@ export * from './put-abac-attributes-update-response';
|
|
|
318
324
|
export * from './put-abac-policies-update-response';
|
|
319
325
|
export * from './put-admin-agents-update-request';
|
|
320
326
|
export * from './put-admin-agents-update-response';
|
|
327
|
+
export * from './put-admin-clients-update-branding-request';
|
|
328
|
+
export * from './put-admin-clients-update-branding-response';
|
|
321
329
|
export * from './put-admin-org-members-update-response';
|
|
322
330
|
export * from './put-admin-settings-authentication-update-response';
|
|
323
331
|
export * from './put-admin-settings-branding-update-response';
|
package/dist/models/index.js
CHANGED
|
@@ -72,6 +72,8 @@ __exportStar(require("./admin-audit-logs-stats-response-data-period"), exports);
|
|
|
72
72
|
__exportStar(require("./admin-client-tokens-revoke-all-response"), exports);
|
|
73
73
|
__exportStar(require("./admin-clients-cimd-check-request"), exports);
|
|
74
74
|
__exportStar(require("./admin-clients-cimd-check-response"), exports);
|
|
75
|
+
__exportStar(require("./admin-clients-get-branding-response"), exports);
|
|
76
|
+
__exportStar(require("./admin-clients-get-branding-response-data"), exports);
|
|
75
77
|
__exportStar(require("./admin-email-templates-list-response"), exports);
|
|
76
78
|
__exportStar(require("./admin-email-templates-preview-response"), exports);
|
|
77
79
|
__exportStar(require("./admin-email-templates-variables-response"), exports);
|
|
@@ -304,6 +306,9 @@ __exportStar(require("./mark-user-verified-response"), exports);
|
|
|
304
306
|
__exportStar(require("./mcp-server"), exports);
|
|
305
307
|
__exportStar(require("./mcp-server-posture"), exports);
|
|
306
308
|
__exportStar(require("./mcp-server-posture-checks-inner"), exports);
|
|
309
|
+
__exportStar(require("./mcp-server-tool-authorize-request"), exports);
|
|
310
|
+
__exportStar(require("./mcp-server-tool-authorize-request-subject"), exports);
|
|
311
|
+
__exportStar(require("./mcp-server-tool-authorize-response"), exports);
|
|
307
312
|
__exportStar(require("./message-response"), exports);
|
|
308
313
|
__exportStar(require("./mfa-authenticator"), exports);
|
|
309
314
|
__exportStar(require("./mfa-authenticator-last-used-context"), exports);
|
|
@@ -326,6 +331,7 @@ __exportStar(require("./organization-role"), exports);
|
|
|
326
331
|
__exportStar(require("./pagination-meta"), exports);
|
|
327
332
|
__exportStar(require("./par-response"), exports);
|
|
328
333
|
__exportStar(require("./passkey-enrollment-started"), exports);
|
|
334
|
+
__exportStar(require("./patch-admin-clients-update-branding-response"), exports);
|
|
329
335
|
__exportStar(require("./permission"), exports);
|
|
330
336
|
__exportStar(require("./protected-resource-list"), exports);
|
|
331
337
|
__exportStar(require("./protected-resource-metadata"), exports);
|
|
@@ -334,6 +340,8 @@ __exportStar(require("./put-abac-attributes-update-response"), exports);
|
|
|
334
340
|
__exportStar(require("./put-abac-policies-update-response"), exports);
|
|
335
341
|
__exportStar(require("./put-admin-agents-update-request"), exports);
|
|
336
342
|
__exportStar(require("./put-admin-agents-update-response"), exports);
|
|
343
|
+
__exportStar(require("./put-admin-clients-update-branding-request"), exports);
|
|
344
|
+
__exportStar(require("./put-admin-clients-update-branding-response"), exports);
|
|
337
345
|
__exportStar(require("./put-admin-org-members-update-response"), exports);
|
|
338
346
|
__exportStar(require("./put-admin-settings-authentication-update-response"), exports);
|
|
339
347
|
__exportStar(require("./put-admin-settings-branding-update-response"), exports);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface McpServerToolAuthorizeRequestSubject
|
|
16
|
+
*/
|
|
17
|
+
export interface McpServerToolAuthorizeRequestSubject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof McpServerToolAuthorizeRequestSubject
|
|
22
|
+
*/
|
|
23
|
+
'type': McpServerToolAuthorizeRequestSubjectType;
|
|
24
|
+
/**
|
|
25
|
+
* User UUID, or agent id (agt_…). For an MCP token, the user id is `sub`; for an agent token `sub` is `agent_<id>`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof McpServerToolAuthorizeRequestSubject
|
|
28
|
+
*/
|
|
29
|
+
'id': string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
export declare enum McpServerToolAuthorizeRequestSubjectType {
|
|
36
|
+
USER = "user",
|
|
37
|
+
AGENT = "agent"
|
|
38
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LumoAuth API
|
|
6
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: sdk@lumoauth.dev
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.McpServerToolAuthorizeRequestSubjectType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var McpServerToolAuthorizeRequestSubjectType;
|
|
22
|
+
(function (McpServerToolAuthorizeRequestSubjectType) {
|
|
23
|
+
McpServerToolAuthorizeRequestSubjectType["USER"] = "user";
|
|
24
|
+
McpServerToolAuthorizeRequestSubjectType["AGENT"] = "agent";
|
|
25
|
+
})(McpServerToolAuthorizeRequestSubjectType || (exports.McpServerToolAuthorizeRequestSubjectType = McpServerToolAuthorizeRequestSubjectType = {}));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { McpServerToolAuthorizeRequestSubject } from './mcp-server-tool-authorize-request-subject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface McpServerToolAuthorizeRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface McpServerToolAuthorizeRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {McpServerToolAuthorizeRequestSubject}
|
|
22
|
+
* @memberof McpServerToolAuthorizeRequest
|
|
23
|
+
*/
|
|
24
|
+
'subject': McpServerToolAuthorizeRequestSubject;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof McpServerToolAuthorizeRequest
|
|
29
|
+
*/
|
|
30
|
+
'tool': string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LumoAuth API
|
|
6
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: sdk@lumoauth.dev
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface McpServerToolAuthorizeResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface McpServerToolAuthorizeResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof McpServerToolAuthorizeResponse
|
|
22
|
+
*/
|
|
23
|
+
'allowed'?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof McpServerToolAuthorizeResponse
|
|
28
|
+
*/
|
|
29
|
+
'subject'?: object;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof McpServerToolAuthorizeResponse
|
|
34
|
+
*/
|
|
35
|
+
'resource'?: object;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LumoAuth API
|
|
6
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: sdk@lumoauth.dev
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -58,6 +58,12 @@ export interface McpServer {
|
|
|
58
58
|
* @memberof McpServer
|
|
59
59
|
*/
|
|
60
60
|
'transport'?: string;
|
|
61
|
+
/**
|
|
62
|
+
* True for http_sse, deprecated in MCP 2026-07-28; migrate to http_streamable.
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof McpServer
|
|
65
|
+
*/
|
|
66
|
+
'transport_deprecated'?: boolean;
|
|
61
67
|
/**
|
|
62
68
|
*
|
|
63
69
|
* @type {string}
|
|
@@ -84,12 +90,24 @@ export interface McpServer {
|
|
|
84
90
|
'scope_descriptions'?: {
|
|
85
91
|
[key: string]: string;
|
|
86
92
|
};
|
|
93
|
+
/**
|
|
94
|
+
* Subset of scopes_supported advertised in the 401 challenge and in protected resource metadata. Empty = the whole vocabulary.
|
|
95
|
+
* @type {Array<string>}
|
|
96
|
+
* @memberof McpServer
|
|
97
|
+
*/
|
|
98
|
+
'basic_scopes'?: Array<string>;
|
|
87
99
|
/**
|
|
88
100
|
*
|
|
89
101
|
* @type {Array<string>}
|
|
90
102
|
* @memberof McpServer
|
|
91
103
|
*/
|
|
92
104
|
'allowed_client_ids'?: Array<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The MCP server\'s own OAuth clients allowed to call the per-tool authorization endpoint.
|
|
107
|
+
* @type {Array<string>}
|
|
108
|
+
* @memberof McpServer
|
|
109
|
+
*/
|
|
110
|
+
'tool_authorizer_client_ids'?: Array<string>;
|
|
93
111
|
/**
|
|
94
112
|
*
|
|
95
113
|
* @type {boolean}
|
|
@@ -166,7 +166,13 @@ export interface OpenIdConfiguration {
|
|
|
166
166
|
*/
|
|
167
167
|
'ui_locales_supported'?: Array<string>;
|
|
168
168
|
/**
|
|
169
|
-
*
|
|
169
|
+
*
|
|
170
|
+
* @type {Array<string>}
|
|
171
|
+
* @memberof OpenIdConfiguration
|
|
172
|
+
*/
|
|
173
|
+
'prompt_values_supported'?: Array<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The four MFA tier ACR values plus the single-factor urn:lumoauth:acr:pwd (any signed-in session), unless overridden in organization settings.
|
|
170
176
|
* @type {Array<string>}
|
|
171
177
|
* @memberof OpenIdConfiguration
|
|
172
178
|
*/
|
|
@@ -201,12 +207,6 @@ export interface OpenIdConfiguration {
|
|
|
201
207
|
* @memberof OpenIdConfiguration
|
|
202
208
|
*/
|
|
203
209
|
'dpop_signing_alg_values_supported'?: Array<string>;
|
|
204
|
-
/**
|
|
205
|
-
*
|
|
206
|
-
* @type {boolean}
|
|
207
|
-
* @memberof OpenIdConfiguration
|
|
208
|
-
*/
|
|
209
|
-
'tls_client_certificate_bound_access_tokens'?: boolean;
|
|
210
210
|
/**
|
|
211
211
|
*
|
|
212
212
|
* @type {string}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchAdminClientsUpdateBrandingResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchAdminClientsUpdateBrandingResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: any; }}
|
|
21
|
+
* @memberof PatchAdminClientsUpdateBrandingResponse
|
|
22
|
+
*/
|
|
23
|
+
'data'?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof PatchAdminClientsUpdateBrandingResponse
|
|
30
|
+
*/
|
|
31
|
+
'rejected'?: Array<string>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LumoAuth API
|
|
6
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: sdk@lumoauth.dev
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -23,7 +23,7 @@ export interface ProtectedResourceMetadata {
|
|
|
23
23
|
*/
|
|
24
24
|
'resource': string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* 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.
|
|
27
27
|
* @type {Array<string>}
|
|
28
28
|
* @memberof ProtectedResourceMetadata
|
|
29
29
|
*/
|