@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.
Files changed (147) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +14 -4
  3. package/api/aauth-api.ts +5 -5
  4. package/api/admin-email-api.ts +67 -15
  5. package/api/admin-mcp-api.ts +5 -5
  6. package/api/admin-oauth-clients-api.ts +370 -0
  7. package/api/agents-api.ts +5 -5
  8. package/api/mcp-api.ts +130 -0
  9. package/api/oauth-api.ts +0 -186
  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-email-api.d.ts +41 -9
  14. package/dist/api/admin-email-api.js +34 -14
  15. package/dist/api/admin-mcp-api.d.ts +5 -5
  16. package/dist/api/admin-mcp-api.js +4 -4
  17. package/dist/api/admin-oauth-clients-api.d.ts +210 -0
  18. package/dist/api/admin-oauth-clients-api.js +236 -0
  19. package/dist/api/agents-api.d.ts +5 -5
  20. package/dist/api/agents-api.js +4 -4
  21. package/dist/api/mcp-api.d.ts +73 -0
  22. package/dist/api/mcp-api.js +82 -0
  23. package/dist/api/oauth-api.d.ts +0 -110
  24. package/dist/api/oauth-api.js +0 -132
  25. package/dist/api/well-known-api.d.ts +10 -10
  26. package/dist/api/well-known-api.js +8 -8
  27. package/dist/esm/api/aauth-api.d.ts +5 -5
  28. package/dist/esm/api/aauth-api.js +4 -4
  29. package/dist/esm/api/admin-email-api.d.ts +41 -9
  30. package/dist/esm/api/admin-email-api.js +34 -14
  31. package/dist/esm/api/admin-mcp-api.d.ts +5 -5
  32. package/dist/esm/api/admin-mcp-api.js +4 -4
  33. package/dist/esm/api/admin-oauth-clients-api.d.ts +210 -0
  34. package/dist/esm/api/admin-oauth-clients-api.js +236 -0
  35. package/dist/esm/api/agents-api.d.ts +5 -5
  36. package/dist/esm/api/agents-api.js +4 -4
  37. package/dist/esm/api/mcp-api.d.ts +73 -0
  38. package/dist/esm/api/mcp-api.js +83 -1
  39. package/dist/esm/api/oauth-api.d.ts +0 -110
  40. package/dist/esm/api/oauth-api.js +0 -132
  41. package/dist/esm/api/well-known-api.d.ts +10 -10
  42. package/dist/esm/api/well-known-api.js +8 -8
  43. package/dist/esm/models/admin-agents-generate-token-request.d.ts +7 -1
  44. package/dist/esm/models/admin-agents-generate-token-response-data.d.ts +12 -0
  45. package/dist/esm/models/admin-clients-get-branding-response-data.d.ts +34 -0
  46. package/dist/esm/models/admin-clients-get-branding-response-data.js +14 -0
  47. package/dist/esm/models/admin-clients-get-branding-response.d.ts +25 -0
  48. package/dist/esm/models/admin-clients-get-branding-response.js +14 -0
  49. package/dist/esm/models/attest-response.d.ts +2 -1
  50. package/dist/esm/models/attest-response.js +1 -0
  51. package/dist/esm/models/authorization-server-metadata.d.ts +0 -6
  52. package/dist/esm/models/authorize-mcp-request.d.ts +1 -1
  53. package/dist/esm/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
  54. package/dist/esm/models/index.d.ts +8 -0
  55. package/dist/esm/models/index.js +8 -0
  56. package/dist/esm/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
  57. package/dist/esm/models/mcp-server-tool-authorize-request-subject.js +22 -0
  58. package/dist/esm/models/mcp-server-tool-authorize-request.d.ts +31 -0
  59. package/dist/esm/models/mcp-server-tool-authorize-request.js +14 -0
  60. package/dist/esm/models/mcp-server-tool-authorize-response.d.ts +36 -0
  61. package/dist/esm/models/mcp-server-tool-authorize-response.js +14 -0
  62. package/dist/esm/models/mcp-server.d.ts +18 -0
  63. package/dist/esm/models/open-id-configuration.d.ts +7 -7
  64. package/dist/esm/models/patch-admin-clients-update-branding-response.d.ts +32 -0
  65. package/dist/esm/models/patch-admin-clients-update-branding-response.js +14 -0
  66. package/dist/esm/models/protected-resource-metadata.d.ts +1 -1
  67. package/dist/esm/models/put-admin-clients-update-branding-request.d.ts +34 -0
  68. package/dist/esm/models/put-admin-clients-update-branding-request.js +14 -0
  69. package/dist/esm/models/put-admin-clients-update-branding-response.d.ts +32 -0
  70. package/dist/esm/models/put-admin-clients-update-branding-response.js +14 -0
  71. package/dist/esm/models/single-server-metadata.d.ts +1 -1
  72. package/dist/models/admin-agents-generate-token-request.d.ts +7 -1
  73. package/dist/models/admin-agents-generate-token-response-data.d.ts +12 -0
  74. package/dist/models/admin-clients-get-branding-response-data.d.ts +34 -0
  75. package/dist/models/admin-clients-get-branding-response-data.js +15 -0
  76. package/dist/models/admin-clients-get-branding-response.d.ts +25 -0
  77. package/dist/models/admin-clients-get-branding-response.js +15 -0
  78. package/dist/models/attest-response.d.ts +2 -1
  79. package/dist/models/attest-response.js +1 -0
  80. package/dist/models/authorization-server-metadata.d.ts +0 -6
  81. package/dist/models/authorize-mcp-request.d.ts +1 -1
  82. package/dist/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
  83. package/dist/models/index.d.ts +8 -0
  84. package/dist/models/index.js +8 -0
  85. package/dist/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
  86. package/dist/models/mcp-server-tool-authorize-request-subject.js +25 -0
  87. package/dist/models/mcp-server-tool-authorize-request.d.ts +31 -0
  88. package/dist/models/mcp-server-tool-authorize-request.js +15 -0
  89. package/dist/models/mcp-server-tool-authorize-response.d.ts +36 -0
  90. package/dist/models/mcp-server-tool-authorize-response.js +15 -0
  91. package/dist/models/mcp-server.d.ts +18 -0
  92. package/dist/models/open-id-configuration.d.ts +7 -7
  93. package/dist/models/patch-admin-clients-update-branding-response.d.ts +32 -0
  94. package/dist/models/patch-admin-clients-update-branding-response.js +15 -0
  95. package/dist/models/protected-resource-metadata.d.ts +1 -1
  96. package/dist/models/put-admin-clients-update-branding-request.d.ts +34 -0
  97. package/dist/models/put-admin-clients-update-branding-request.js +15 -0
  98. package/dist/models/put-admin-clients-update-branding-response.d.ts +32 -0
  99. package/dist/models/put-admin-clients-update-branding-response.js +15 -0
  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/AdminClientsGetBrandingResponse.md +20 -0
  106. package/docs/AdminClientsGetBrandingResponseData.md +22 -0
  107. package/docs/AdminEmailApi.md +15 -2
  108. package/docs/AdminMcpApi.md +1 -1
  109. package/docs/AdminOAuthClientsApi.md +174 -0
  110. package/docs/AgentsApi.md +4 -3
  111. package/docs/AuthorizationServerMetadata.md +0 -2
  112. package/docs/AuthorizeMcpRequest.md +1 -1
  113. package/docs/GetProtectedResourceMetadataRoot200Response.md +1 -1
  114. package/docs/GetProtectedResourceMetadataRootResponse1ResourcesItem.md +1 -1
  115. package/docs/McpApi.md +64 -0
  116. package/docs/McpServer.md +6 -0
  117. package/docs/McpServerToolAuthorizeRequest.md +22 -0
  118. package/docs/McpServerToolAuthorizeRequestSubject.md +22 -0
  119. package/docs/McpServerToolAuthorizeResponse.md +24 -0
  120. package/docs/OAuthApi.md +0 -105
  121. package/docs/OpenIdConfiguration.md +3 -3
  122. package/docs/PatchAdminClientsUpdateBrandingResponse.md +22 -0
  123. package/docs/ProtectedResourceMetadata.md +1 -1
  124. package/docs/PutAdminClientsUpdateBrandingRequest.md +22 -0
  125. package/docs/PutAdminClientsUpdateBrandingResponse.md +22 -0
  126. package/docs/SingleServerMetadata.md +1 -1
  127. package/docs/WellKnownApi.md +2 -2
  128. package/models/admin-agents-generate-token-request.ts +7 -1
  129. package/models/admin-agents-generate-token-response-data.ts +12 -0
  130. package/models/admin-clients-get-branding-response-data.ts +36 -0
  131. package/models/admin-clients-get-branding-response.ts +33 -0
  132. package/models/attest-response.ts +2 -1
  133. package/models/authorization-server-metadata.ts +0 -6
  134. package/models/authorize-mcp-request.ts +1 -1
  135. package/models/get-protected-resource-metadata-root-response1-resources-item.ts +1 -1
  136. package/models/index.ts +8 -0
  137. package/models/mcp-server-tool-authorize-request-subject.ts +46 -0
  138. package/models/mcp-server-tool-authorize-request.ts +39 -0
  139. package/models/mcp-server-tool-authorize-response.ts +42 -0
  140. package/models/mcp-server.ts +18 -0
  141. package/models/open-id-configuration.ts +7 -7
  142. package/models/patch-admin-clients-update-branding-response.ts +36 -0
  143. package/models/protected-resource-metadata.ts +1 -1
  144. package/models/put-admin-clients-update-branding-request.ts +36 -0
  145. package/models/put-admin-clients-update-branding-response.ts +36 -0
  146. package/models/single-server-metadata.ts +1 -1
  147. package/package.json +1 -1
@@ -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
+
@@ -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,13 @@ 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
+ *
175
+ * @type {Array<string>}
176
+ * @memberof OpenIdConfiguration
177
+ */
178
+ 'prompt_values_supported'?: Array<string>;
179
+ /**
180
+ * The four MFA tier ACR values plus the single-factor urn:lumoauth:acr:pwd (any signed-in session), unless overridden in organization settings.
175
181
  * @type {Array<string>}
176
182
  * @memberof OpenIdConfiguration
177
183
  */
@@ -206,12 +212,6 @@ export interface OpenIdConfiguration {
206
212
  * @memberof OpenIdConfiguration
207
213
  */
208
214
  'dpop_signing_alg_values_supported'?: Array<string>;
209
- /**
210
- *
211
- * @type {boolean}
212
- * @memberof OpenIdConfiguration
213
- */
214
- 'tls_client_certificate_bound_access_tokens'?: boolean;
215
215
  /**
216
216
  *
217
217
  * @type {string}
@@ -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
+ *
19
+ * @export
20
+ * @interface PatchAdminClientsUpdateBrandingResponse
21
+ */
22
+ export interface PatchAdminClientsUpdateBrandingResponse {
23
+ /**
24
+ *
25
+ * @type {{ [key: string]: any; }}
26
+ * @memberof PatchAdminClientsUpdateBrandingResponse
27
+ */
28
+ 'data'?: { [key: string]: any; };
29
+ /**
30
+ *
31
+ * @type {Array<string>}
32
+ * @memberof PatchAdminClientsUpdateBrandingResponse
33
+ */
34
+ 'rejected'?: Array<string>;
35
+ }
36
+
@@ -29,7 +29,7 @@ export interface ProtectedResourceMetadata {
29
29
  */
30
30
  'resource': string;
31
31
  /**
32
- * This organization\'s authorization server metadata URL.
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
  */
@@ -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
+ *
19
+ * @export
20
+ * @interface PutAdminClientsUpdateBrandingRequest
21
+ */
22
+ export interface PutAdminClientsUpdateBrandingRequest {
23
+ /**
24
+ *
25
+ * @type {{ [key: string]: any; }}
26
+ * @memberof PutAdminClientsUpdateBrandingRequest
27
+ */
28
+ 'login'?: { [key: string]: any; };
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: any; }}
32
+ * @memberof PutAdminClientsUpdateBrandingRequest
33
+ */
34
+ 'consent'?: { [key: string]: any; };
35
+ }
36
+
@@ -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
+ *
19
+ * @export
20
+ * @interface PutAdminClientsUpdateBrandingResponse
21
+ */
22
+ export interface PutAdminClientsUpdateBrandingResponse {
23
+ /**
24
+ *
25
+ * @type {{ [key: string]: any; }}
26
+ * @memberof PutAdminClientsUpdateBrandingResponse
27
+ */
28
+ 'data'?: { [key: string]: any; };
29
+ /**
30
+ * Keys whose value was refused by validation and not saved
31
+ * @type {Array<string>}
32
+ * @memberof PutAdminClientsUpdateBrandingResponse
33
+ */
34
+ 'rejected'?: Array<string>;
35
+ }
36
+
@@ -29,7 +29,7 @@ export interface SingleServerMetadata {
29
29
  */
30
30
  'resource': string;
31
31
  /**
32
- *
32
+ * The organization\'s issuer identifier (RFC 8414).
33
33
  * @type {Array<string>}
34
34
  * @memberof SingleServerMetadata
35
35
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumoauth/api-client",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "OpenAPI client for @lumoauth/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {