@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.
Files changed (151) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/.openapi-generator-ignore +1 -1
  3. package/README.md +12 -2
  4. package/api/aauth-api.ts +5 -5
  5. package/api/admin-mcp-api.ts +5 -5
  6. package/api/admin-oauth-clients-api.ts +118 -0
  7. package/api/agents-api.ts +5 -5
  8. package/api/authorization-api.ts +5 -26
  9. package/api/mcp-api.ts +130 -0
  10. package/api/well-known-api.ts +10 -10
  11. package/dist/api/aauth-api.d.ts +5 -5
  12. package/dist/api/aauth-api.js +4 -4
  13. package/dist/api/admin-mcp-api.d.ts +5 -5
  14. package/dist/api/admin-mcp-api.js +4 -4
  15. package/dist/api/admin-oauth-clients-api.d.ts +65 -0
  16. package/dist/api/admin-oauth-clients-api.js +77 -0
  17. package/dist/api/agents-api.d.ts +5 -5
  18. package/dist/api/agents-api.js +4 -4
  19. package/dist/api/authorization-api.d.ts +5 -5
  20. package/dist/api/authorization-api.js +4 -18
  21. package/dist/api/mcp-api.d.ts +73 -0
  22. package/dist/api/mcp-api.js +82 -0
  23. package/dist/api/well-known-api.d.ts +10 -10
  24. package/dist/api/well-known-api.js +8 -8
  25. package/dist/esm/api/aauth-api.d.ts +5 -5
  26. package/dist/esm/api/aauth-api.js +4 -4
  27. package/dist/esm/api/admin-mcp-api.d.ts +5 -5
  28. package/dist/esm/api/admin-mcp-api.js +4 -4
  29. package/dist/esm/api/admin-oauth-clients-api.d.ts +65 -0
  30. package/dist/esm/api/admin-oauth-clients-api.js +78 -1
  31. package/dist/esm/api/agents-api.d.ts +5 -5
  32. package/dist/esm/api/agents-api.js +4 -4
  33. package/dist/esm/api/authorization-api.d.ts +5 -5
  34. package/dist/esm/api/authorization-api.js +4 -18
  35. package/dist/esm/api/mcp-api.d.ts +73 -0
  36. package/dist/esm/api/mcp-api.js +83 -1
  37. package/dist/esm/api/well-known-api.d.ts +10 -10
  38. package/dist/esm/api/well-known-api.js +8 -8
  39. package/dist/esm/models/admin-agents-generate-token-request.d.ts +7 -1
  40. package/dist/esm/models/admin-agents-generate-token-response-data.d.ts +12 -0
  41. package/dist/esm/models/admin-clients-cimd-check-request.d.ts +30 -0
  42. package/dist/esm/models/admin-clients-cimd-check-request.js +14 -0
  43. package/dist/esm/models/admin-clients-cimd-check-response.d.ts +25 -0
  44. package/dist/esm/models/admin-clients-cimd-check-response.js +14 -0
  45. package/dist/esm/models/attest-response.d.ts +2 -1
  46. package/dist/esm/models/attest-response.js +1 -0
  47. package/dist/esm/models/authentication-settings.d.ts +1 -1
  48. package/dist/esm/models/authorization-server-metadata.d.ts +1 -1
  49. package/dist/esm/models/authorize-mcp-request.d.ts +1 -1
  50. package/dist/esm/models/cimd-check-result-effective.d.ts +112 -0
  51. package/dist/esm/models/cimd-check-result-effective.js +31 -0
  52. package/dist/esm/models/cimd-check-result-shadow-client.d.ts +30 -0
  53. package/dist/esm/models/cimd-check-result-shadow-client.js +14 -0
  54. package/dist/esm/models/cimd-check-result.d.ts +76 -0
  55. package/dist/esm/models/cimd-check-result.js +14 -0
  56. package/dist/esm/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
  57. package/dist/esm/models/index.d.ts +8 -0
  58. package/dist/esm/models/index.js +8 -0
  59. package/dist/esm/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
  60. package/dist/esm/models/mcp-server-tool-authorize-request-subject.js +22 -0
  61. package/dist/esm/models/mcp-server-tool-authorize-request.d.ts +31 -0
  62. package/dist/esm/models/mcp-server-tool-authorize-request.js +14 -0
  63. package/dist/esm/models/mcp-server-tool-authorize-response.d.ts +36 -0
  64. package/dist/esm/models/mcp-server-tool-authorize-response.js +14 -0
  65. package/dist/esm/models/mcp-server.d.ts +18 -0
  66. package/dist/esm/models/open-id-configuration.d.ts +2 -2
  67. package/dist/esm/models/protected-resource-metadata.d.ts +1 -1
  68. package/dist/esm/models/push-enrollment-started.d.ts +7 -1
  69. package/dist/esm/models/single-server-metadata.d.ts +1 -1
  70. package/dist/models/admin-agents-generate-token-request.d.ts +7 -1
  71. package/dist/models/admin-agents-generate-token-response-data.d.ts +12 -0
  72. package/dist/models/admin-clients-cimd-check-request.d.ts +30 -0
  73. package/dist/models/admin-clients-cimd-check-request.js +15 -0
  74. package/dist/models/admin-clients-cimd-check-response.d.ts +25 -0
  75. package/dist/models/admin-clients-cimd-check-response.js +15 -0
  76. package/dist/models/attest-response.d.ts +2 -1
  77. package/dist/models/attest-response.js +1 -0
  78. package/dist/models/authentication-settings.d.ts +1 -1
  79. package/dist/models/authorization-server-metadata.d.ts +1 -1
  80. package/dist/models/authorize-mcp-request.d.ts +1 -1
  81. package/dist/models/cimd-check-result-effective.d.ts +112 -0
  82. package/dist/models/cimd-check-result-effective.js +34 -0
  83. package/dist/models/cimd-check-result-shadow-client.d.ts +30 -0
  84. package/dist/models/cimd-check-result-shadow-client.js +15 -0
  85. package/dist/models/cimd-check-result.d.ts +76 -0
  86. package/dist/models/cimd-check-result.js +15 -0
  87. package/dist/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
  88. package/dist/models/index.d.ts +8 -0
  89. package/dist/models/index.js +8 -0
  90. package/dist/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
  91. package/dist/models/mcp-server-tool-authorize-request-subject.js +25 -0
  92. package/dist/models/mcp-server-tool-authorize-request.d.ts +31 -0
  93. package/dist/models/mcp-server-tool-authorize-request.js +15 -0
  94. package/dist/models/mcp-server-tool-authorize-response.d.ts +36 -0
  95. package/dist/models/mcp-server-tool-authorize-response.js +15 -0
  96. package/dist/models/mcp-server.d.ts +18 -0
  97. package/dist/models/open-id-configuration.d.ts +2 -2
  98. package/dist/models/protected-resource-metadata.d.ts +1 -1
  99. package/dist/models/push-enrollment-started.d.ts +7 -1
  100. package/dist/models/single-server-metadata.d.ts +1 -1
  101. package/docs/AAuthApi.md +1 -1
  102. package/docs/AdminAgentsApi.md +1 -1
  103. package/docs/AdminAgentsGenerateTokenRequest.md +3 -1
  104. package/docs/AdminAgentsGenerateTokenResponseData.md +4 -0
  105. package/docs/AdminClientsCimdCheckRequest.md +22 -0
  106. package/docs/AdminClientsCimdCheckResponse.md +20 -0
  107. package/docs/AdminMcpApi.md +1 -1
  108. package/docs/AdminOAuthClientsApi.md +57 -0
  109. package/docs/AgentsApi.md +4 -3
  110. package/docs/AuthenticationSettings.md +1 -1
  111. package/docs/AuthorizationApi.md +8 -8
  112. package/docs/AuthorizationServerMetadata.md +1 -1
  113. package/docs/AuthorizeMcpRequest.md +1 -1
  114. package/docs/CimdCheckResult.md +37 -0
  115. package/docs/CimdCheckResultEffective.md +45 -0
  116. package/docs/CimdCheckResultShadowClient.md +23 -0
  117. package/docs/EnrollAuthenticator201Response.md +3 -1
  118. package/docs/GetProtectedResourceMetadataRoot200Response.md +1 -1
  119. package/docs/GetProtectedResourceMetadataRootResponse1ResourcesItem.md +1 -1
  120. package/docs/McpApi.md +64 -0
  121. package/docs/McpServer.md +6 -0
  122. package/docs/McpServerToolAuthorizeRequest.md +22 -0
  123. package/docs/McpServerToolAuthorizeRequestSubject.md +22 -0
  124. package/docs/McpServerToolAuthorizeResponse.md +24 -0
  125. package/docs/OpenIdConfiguration.md +2 -2
  126. package/docs/ProtectedResourceMetadata.md +1 -1
  127. package/docs/PushEnrollmentStarted.md +3 -1
  128. package/docs/SingleServerMetadata.md +1 -1
  129. package/docs/WellKnownApi.md +4 -4
  130. package/models/admin-agents-generate-token-request.ts +7 -1
  131. package/models/admin-agents-generate-token-response-data.ts +12 -0
  132. package/models/admin-clients-cimd-check-request.ts +36 -0
  133. package/models/admin-clients-cimd-check-response.ts +33 -0
  134. package/models/attest-response.ts +2 -1
  135. package/models/authentication-settings.ts +1 -1
  136. package/models/authorization-server-metadata.ts +1 -1
  137. package/models/authorize-mcp-request.ts +1 -1
  138. package/models/cimd-check-result-effective.ts +120 -0
  139. package/models/cimd-check-result-shadow-client.ts +36 -0
  140. package/models/cimd-check-result.ts +84 -0
  141. package/models/get-protected-resource-metadata-root-response1-resources-item.ts +1 -1
  142. package/models/index.ts +8 -0
  143. package/models/mcp-server-tool-authorize-request-subject.ts +46 -0
  144. package/models/mcp-server-tool-authorize-request.ts +39 -0
  145. package/models/mcp-server-tool-authorize-response.ts +42 -0
  146. package/models/mcp-server.ts +18 -0
  147. package/models/open-id-configuration.ts +2 -2
  148. package/models/protected-resource-metadata.ts +1 -1
  149. package/models/push-enrollment-started.ts +7 -1
  150. package/models/single-server-metadata.ts +1 -1
  151. package/package.json +1 -1
@@ -0,0 +1,22 @@
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
+ * @export
16
+ * @enum {string}
17
+ */
18
+ export var McpServerToolAuthorizeRequestSubjectType;
19
+ (function (McpServerToolAuthorizeRequestSubjectType) {
20
+ McpServerToolAuthorizeRequestSubjectType["USER"] = "user";
21
+ McpServerToolAuthorizeRequestSubjectType["AGENT"] = "agent";
22
+ })(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,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,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,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 {};
@@ -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,7 @@ export interface OpenIdConfiguration {
166
166
  */
167
167
  'ui_locales_supported'?: Array<string>;
168
168
  /**
169
- * The four MFA tier ACR values, unless overridden in organization settings.
169
+ * The four MFA tier ACR values plus the single-factor urn:lumoauth:acr:pwd (any signed-in session), unless overridden in organization settings.
170
170
  * @type {Array<string>}
171
171
  * @memberof OpenIdConfiguration
172
172
  */
@@ -304,7 +304,7 @@ export interface OpenIdConfiguration {
304
304
  */
305
305
  'entity_profiles_supported'?: Array<string>;
306
306
  /**
307
- * Only when CIMD is enabled for the organization.
307
+ * Present (true) unless the organization switched Client ID Metadata Documents off.
308
308
  * @type {boolean}
309
309
  * @memberof OpenIdConfiguration
310
310
  */
@@ -23,7 +23,7 @@ export interface ProtectedResourceMetadata {
23
23
  */
24
24
  'resource': string;
25
25
  /**
26
- * This organization\'s authorization server metadata URL.
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
  */
@@ -34,11 +34,17 @@ export interface PushEnrollmentStarted {
34
34
  */
35
35
  'qr_data_uri'?: string;
36
36
  /**
37
- *
37
+ * 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).
38
38
  * @type {string}
39
39
  * @memberof PushEnrollmentStarted
40
40
  */
41
41
  'deep_link'?: string;
42
+ /**
43
+ * 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.
44
+ * @type {string}
45
+ * @memberof PushEnrollmentStarted
46
+ */
47
+ 'deep_link_android'?: string | null;
42
48
  /**
43
49
  *
44
50
  * @type {string}
@@ -23,7 +23,7 @@ export interface SingleServerMetadata {
23
23
  */
24
24
  'resource': string;
25
25
  /**
26
- *
26
+ * The organization\'s issuer identifier (RFC 8414).
27
27
  * @type {Array<string>}
28
28
  * @memberof SingleServerMetadata
29
29
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface AdminAgentsGenerateTokenRequest {
18
18
  /**
19
- * Token lifetime in seconds. Default 3600, at most 2592000 (30 days).
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,30 @@
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 AdminClientsCimdCheckRequest
16
+ */
17
+ export interface AdminClientsCimdCheckRequest {
18
+ /**
19
+ * The Client Identifier URL (https, with a path).
20
+ * @type {string}
21
+ * @memberof AdminClientsCimdCheckRequest
22
+ */
23
+ 'client_id': string;
24
+ /**
25
+ * Ignore the cached document and fetch it again.
26
+ * @type {boolean}
27
+ * @memberof AdminClientsCimdCheckRequest
28
+ */
29
+ 'refresh'?: boolean;
30
+ }
@@ -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 { CimdCheckResult } from './cimd-check-result';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AdminClientsCimdCheckResponse
17
+ */
18
+ export interface AdminClientsCimdCheckResponse {
19
+ /**
20
+ *
21
+ * @type {CimdCheckResult}
22
+ * @memberof AdminClientsCimdCheckResponse
23
+ */
24
+ 'data'?: CimdCheckResult;
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 });
@@ -52,5 +52,6 @@ export interface AttestResponse {
52
52
  * @enum {string}
53
53
  */
54
54
  export declare enum AttestResponseTokenType {
55
- BEARER = "Bearer"
55
+ BEARER = "Bearer",
56
+ DPO_P = "DPoP"
56
57
  }
@@ -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 = {}));
@@ -146,7 +146,7 @@ export interface AuthenticationSettings {
146
146
  */
147
147
  'dynamic_client_registration_enabled'?: boolean;
148
148
  /**
149
- *
149
+ * Accept Client ID Metadata Documents (an https URL as client_id). On by default on every plan; set false to opt the organization out.
150
150
  * @type {boolean}
151
151
  * @memberof AuthenticationSettings
152
152
  */
@@ -220,7 +220,7 @@ export interface AuthorizationServerMetadata {
220
220
  */
221
221
  'entity_profiles_supported'?: Array<string>;
222
222
  /**
223
- * Only when CIMD is enabled for the organization.
223
+ * Present (true) unless the organization switched Client ID Metadata Documents off.
224
224
  * @type {boolean}
225
225
  * @memberof AuthorizationServerMetadata
226
226
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface AuthorizeMcpRequest {
18
18
  /**
19
- *
19
+ * Id of an active MCP server registered in this organization.
20
20
  * @type {string}
21
21
  * @memberof AuthorizeMcpRequest
22
22
  */
@@ -0,0 +1,112 @@
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
+ * The client LumoAuth derives from the document after organization policy.
14
+ * @export
15
+ * @interface CimdCheckResultEffective
16
+ */
17
+ export interface CimdCheckResultEffective {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CimdCheckResultEffective
22
+ */
23
+ 'client_name'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CimdCheckResultEffective
28
+ */
29
+ 'application_type'?: CimdCheckResultEffectiveApplicationType;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CimdCheckResultEffective
34
+ */
35
+ 'token_endpoint_auth_method'?: CimdCheckResultEffectiveTokenEndpointAuthMethod;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof CimdCheckResultEffective
40
+ */
41
+ 'public_client'?: boolean;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof CimdCheckResultEffective
46
+ */
47
+ 'pkce_required'?: boolean;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof CimdCheckResultEffective
52
+ */
53
+ 'redirect_uris'?: Array<string>;
54
+ /**
55
+ * Loopback URIs removed by the organization\'s localhost policy.
56
+ * @type {Array<string>}
57
+ * @memberof CimdCheckResultEffective
58
+ */
59
+ 'dropped_redirect_uris'?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof CimdCheckResultEffective
64
+ */
65
+ 'grant_types'?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {Array<string>}
69
+ * @memberof CimdCheckResultEffective
70
+ */
71
+ 'scopes'?: Array<string>;
72
+ /**
73
+ * Scopes the document asked for that are neither identity scopes nor on the organization\'s cimd_allowed_scopes list.
74
+ * @type {Array<string>}
75
+ * @memberof CimdCheckResultEffective
76
+ */
77
+ 'dropped_scopes'?: Array<string>;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof CimdCheckResultEffective
82
+ */
83
+ 'logo_uri'?: string | null;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof CimdCheckResultEffective
88
+ */
89
+ 'client_uri'?: string | null;
90
+ /**
91
+ *
92
+ * @type {boolean}
93
+ * @memberof CimdCheckResultEffective
94
+ */
95
+ 'has_loopback_redirect'?: boolean;
96
+ }
97
+ /**
98
+ * @export
99
+ * @enum {string}
100
+ */
101
+ export declare enum CimdCheckResultEffectiveApplicationType {
102
+ WEB = "web",
103
+ NATIVE = "native"
104
+ }
105
+ /**
106
+ * @export
107
+ * @enum {string}
108
+ */
109
+ export declare enum CimdCheckResultEffectiveTokenEndpointAuthMethod {
110
+ NONE = "none",
111
+ PRIVATE_KEY_JWT = "private_key_jwt"
112
+ }
@@ -0,0 +1,34 @@
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.CimdCheckResultEffectiveTokenEndpointAuthMethod = exports.CimdCheckResultEffectiveApplicationType = void 0;
17
+ /**
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ var CimdCheckResultEffectiveApplicationType;
22
+ (function (CimdCheckResultEffectiveApplicationType) {
23
+ CimdCheckResultEffectiveApplicationType["WEB"] = "web";
24
+ CimdCheckResultEffectiveApplicationType["NATIVE"] = "native";
25
+ })(CimdCheckResultEffectiveApplicationType || (exports.CimdCheckResultEffectiveApplicationType = CimdCheckResultEffectiveApplicationType = {}));
26
+ /**
27
+ * @export
28
+ * @enum {string}
29
+ */
30
+ var CimdCheckResultEffectiveTokenEndpointAuthMethod;
31
+ (function (CimdCheckResultEffectiveTokenEndpointAuthMethod) {
32
+ CimdCheckResultEffectiveTokenEndpointAuthMethod["NONE"] = "none";
33
+ CimdCheckResultEffectiveTokenEndpointAuthMethod["PRIVATE_KEY_JWT"] = "private_key_jwt";
34
+ })(CimdCheckResultEffectiveTokenEndpointAuthMethod || (exports.CimdCheckResultEffectiveTokenEndpointAuthMethod = CimdCheckResultEffectiveTokenEndpointAuthMethod = {}));
@@ -0,0 +1,30 @@
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
+ * Present when this organization has already resolved the client at least once.
14
+ * @export
15
+ * @interface CimdCheckResultShadowClient
16
+ */
17
+ export interface CimdCheckResultShadowClient {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof CimdCheckResultShadowClient
22
+ */
23
+ 'id'?: number | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CimdCheckResultShadowClient
28
+ */
29
+ 'last_fetched_at'?: string | null;
30
+ }
@@ -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 });