@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
package/api/mcp-api.ts CHANGED
@@ -30,6 +30,10 @@ import type { GetServerResponse } from '../models';
30
30
  // @ts-ignore
31
31
  import type { ListServersResponse } from '../models';
32
32
  // @ts-ignore
33
+ import type { McpServerToolAuthorizeRequest } from '../models';
34
+ // @ts-ignore
35
+ import type { McpServerToolAuthorizeResponse } from '../models';
36
+ // @ts-ignore
33
37
  import type { ProtectedResourceMetadata } from '../models';
34
38
  /**
35
39
  * McpApi - axios parameter creator
@@ -237,6 +241,57 @@ export const McpApiAxiosParamCreator = function (configuration?: Configuration)
237
241
  options: localVarRequestOptions,
238
242
  };
239
243
  },
244
+ /**
245
+ * Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
246
+ * @summary Per-tool authorization for an MCP server (server credential)
247
+ * @param {string} orgId
248
+ * @param {string} serverId
249
+ * @param {McpServerToolAuthorizeRequest} mcpServerToolAuthorizeRequest
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ mcpServerToolAuthorize: async (orgId: string, serverId: string, mcpServerToolAuthorizeRequest: McpServerToolAuthorizeRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
254
+ // verify required parameter 'orgId' is not null or undefined
255
+ assertParamExists('mcpServerToolAuthorize', 'orgId', orgId)
256
+ // verify required parameter 'serverId' is not null or undefined
257
+ assertParamExists('mcpServerToolAuthorize', 'serverId', serverId)
258
+ // verify required parameter 'mcpServerToolAuthorizeRequest' is not null or undefined
259
+ assertParamExists('mcpServerToolAuthorize', 'mcpServerToolAuthorizeRequest', mcpServerToolAuthorizeRequest)
260
+ const localVarPath = `/orgs/{orgId}/api/v1/mcp/servers/{serverId}/tools/authorize`
261
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
262
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
263
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
264
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
265
+ let baseOptions;
266
+ if (configuration) {
267
+ baseOptions = configuration.baseOptions;
268
+ }
269
+
270
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
271
+ const localVarHeaderParameter = {} as any;
272
+ const localVarQueryParameter = {} as any;
273
+
274
+ // authentication ApiKeyAuth required
275
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration)
276
+
277
+ // authentication BearerAuth required
278
+ // http bearer authentication required
279
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
280
+
281
+
282
+
283
+ localVarHeaderParameter['Content-Type'] = 'application/json';
284
+
285
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
286
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
287
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
288
+ localVarRequestOptions.data = serializeDataIfNeeded(mcpServerToolAuthorizeRequest, localVarRequestOptions, configuration)
289
+
290
+ return {
291
+ url: toPathString(localVarUrlObj),
292
+ options: localVarRequestOptions,
293
+ };
294
+ },
240
295
  /**
241
296
  * Identical to GET; the HTTP method is only recorded in the audit trail.
242
297
  * @summary Simulated MCP server authorization challenge (POST)
@@ -357,6 +412,21 @@ export const McpApiFp = function(configuration?: Configuration) {
357
412
  const localVarOperationServerBasePath = operationServerMap['McpApi.listServers']?.[localVarOperationServerIndex]?.url;
358
413
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
359
414
  },
415
+ /**
416
+ * Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
417
+ * @summary Per-tool authorization for an MCP server (server credential)
418
+ * @param {string} orgId
419
+ * @param {string} serverId
420
+ * @param {McpServerToolAuthorizeRequest} mcpServerToolAuthorizeRequest
421
+ * @param {*} [options] Override http request option.
422
+ * @throws {RequiredError}
423
+ */
424
+ async mcpServerToolAuthorize(orgId: string, serverId: string, mcpServerToolAuthorizeRequest: McpServerToolAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerToolAuthorizeResponse>> {
425
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mcpServerToolAuthorize(orgId, serverId, mcpServerToolAuthorizeRequest, options);
426
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
427
+ const localVarOperationServerBasePath = operationServerMap['McpApi.mcpServerToolAuthorize']?.[localVarOperationServerIndex]?.url;
428
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
429
+ },
360
430
  /**
361
431
  * Identical to GET; the HTTP method is only recorded in the audit trail.
362
432
  * @summary Simulated MCP server authorization challenge (POST)
@@ -431,6 +501,16 @@ export const McpApiFactory = function (configuration?: Configuration, basePath?:
431
501
  listServers(requestParameters: McpApiListServersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListServersResponse> {
432
502
  return localVarFp.listServers(requestParameters.orgId, options).then((request) => request(axios, basePath));
433
503
  },
504
+ /**
505
+ * Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
506
+ * @summary Per-tool authorization for an MCP server (server credential)
507
+ * @param {McpApiMcpServerToolAuthorizeRequest} requestParameters Request parameters.
508
+ * @param {*} [options] Override http request option.
509
+ * @throws {RequiredError}
510
+ */
511
+ mcpServerToolAuthorize(requestParameters: McpApiMcpServerToolAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerToolAuthorizeResponse> {
512
+ return localVarFp.mcpServerToolAuthorize(requestParameters.orgId, requestParameters.serverId, requestParameters.mcpServerToolAuthorizeRequest, options).then((request) => request(axios, basePath));
513
+ },
434
514
  /**
435
515
  * Identical to GET; the HTTP method is only recorded in the audit trail.
436
516
  * @summary Simulated MCP server authorization challenge (POST)
@@ -500,6 +580,16 @@ export interface McpApiInterface {
500
580
  */
501
581
  listServers(requestParameters: McpApiListServersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListServersResponse>;
502
582
 
583
+ /**
584
+ * Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
585
+ * @summary Per-tool authorization for an MCP server (server credential)
586
+ * @param {McpApiMcpServerToolAuthorizeRequest} requestParameters Request parameters.
587
+ * @param {*} [options] Override http request option.
588
+ * @throws {RequiredError}
589
+ * @memberof McpApiInterface
590
+ */
591
+ mcpServerToolAuthorize(requestParameters: McpApiMcpServerToolAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerToolAuthorizeResponse>;
592
+
503
593
  /**
504
594
  * Identical to GET; the HTTP method is only recorded in the audit trail.
505
595
  * @summary Simulated MCP server authorization challenge (POST)
@@ -603,6 +693,34 @@ export interface McpApiListServersRequest {
603
693
  readonly orgId: string
604
694
  }
605
695
 
696
+ /**
697
+ * Request parameters for mcpServerToolAuthorize operation in McpApi.
698
+ * @export
699
+ * @interface McpApiMcpServerToolAuthorizeRequest
700
+ */
701
+ export interface McpApiMcpServerToolAuthorizeRequest {
702
+ /**
703
+ *
704
+ * @type {string}
705
+ * @memberof McpApiMcpServerToolAuthorize
706
+ */
707
+ readonly orgId: string
708
+
709
+ /**
710
+ *
711
+ * @type {string}
712
+ * @memberof McpApiMcpServerToolAuthorize
713
+ */
714
+ readonly serverId: string
715
+
716
+ /**
717
+ *
718
+ * @type {McpServerToolAuthorizeRequest}
719
+ * @memberof McpApiMcpServerToolAuthorize
720
+ */
721
+ readonly mcpServerToolAuthorizeRequest: McpServerToolAuthorizeRequest
722
+ }
723
+
606
724
  /**
607
725
  * Request parameters for postServerChallenge operation in McpApi.
608
726
  * @export
@@ -691,6 +809,18 @@ export class McpApi extends BaseAPI implements McpApiInterface {
691
809
  return McpApiFp(this.configuration).listServers(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
692
810
  }
693
811
 
812
+ /**
813
+ * Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
814
+ * @summary Per-tool authorization for an MCP server (server credential)
815
+ * @param {McpApiMcpServerToolAuthorizeRequest} requestParameters Request parameters.
816
+ * @param {*} [options] Override http request option.
817
+ * @throws {RequiredError}
818
+ * @memberof McpApi
819
+ */
820
+ public mcpServerToolAuthorize(requestParameters: McpApiMcpServerToolAuthorizeRequest, options?: RawAxiosRequestConfig) {
821
+ return McpApiFp(this.configuration).mcpServerToolAuthorize(requestParameters.orgId, requestParameters.serverId, requestParameters.mcpServerToolAuthorizeRequest, options).then((request) => request(this.axios, this.basePath));
822
+ }
823
+
694
824
  /**
695
825
  * Identical to GET; the HTTP method is only recorded in the audit trail.
696
826
  * @summary Simulated MCP server authorization challenge (POST)
@@ -36,7 +36,7 @@ import type { OpenIdConfiguration } from '../models';
36
36
  export const WellKnownApiAxiosParamCreator = function (configuration?: Configuration) {
37
37
  return {
38
38
  /**
39
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
39
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
40
40
  * @summary OAuth 2.0 authorization server metadata (RFC 8414)
41
41
  * @param {string} orgId
42
42
  * @param {*} [options] Override http request option.
@@ -104,7 +104,7 @@ export const WellKnownApiAxiosParamCreator = function (configuration?: Configura
104
104
  };
105
105
  },
106
106
  /**
107
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
107
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
108
108
  * @summary OpenID Provider configuration (OIDC Discovery 1.0)
109
109
  * @param {string} orgId
110
110
  * @param {*} [options] Override http request option.
@@ -182,7 +182,7 @@ export const WellKnownApiFp = function(configuration?: Configuration) {
182
182
  const localVarAxiosParamCreator = WellKnownApiAxiosParamCreator(configuration)
183
183
  return {
184
184
  /**
185
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
185
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
186
186
  * @summary OAuth 2.0 authorization server metadata (RFC 8414)
187
187
  * @param {string} orgId
188
188
  * @param {*} [options] Override http request option.
@@ -208,7 +208,7 @@ export const WellKnownApiFp = function(configuration?: Configuration) {
208
208
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
209
209
  },
210
210
  /**
211
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
211
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
212
212
  * @summary OpenID Provider configuration (OIDC Discovery 1.0)
213
213
  * @param {string} orgId
214
214
  * @param {*} [options] Override http request option.
@@ -244,7 +244,7 @@ export const WellKnownApiFactory = function (configuration?: Configuration, base
244
244
  const localVarFp = WellKnownApiFp(configuration)
245
245
  return {
246
246
  /**
247
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
247
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
248
248
  * @summary OAuth 2.0 authorization server metadata (RFC 8414)
249
249
  * @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
250
250
  * @param {*} [options] Override http request option.
@@ -264,7 +264,7 @@ export const WellKnownApiFactory = function (configuration?: Configuration, base
264
264
  return localVarFp.getJwks(requestParameters.orgId, options).then((request) => request(axios, basePath));
265
265
  },
266
266
  /**
267
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
267
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
268
268
  * @summary OpenID Provider configuration (OIDC Discovery 1.0)
269
269
  * @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
270
270
  * @param {*} [options] Override http request option.
@@ -293,7 +293,7 @@ export const WellKnownApiFactory = function (configuration?: Configuration, base
293
293
  */
294
294
  export interface WellKnownApiInterface {
295
295
  /**
296
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
296
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
297
297
  * @summary OAuth 2.0 authorization server metadata (RFC 8414)
298
298
  * @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
299
299
  * @param {*} [options] Override http request option.
@@ -313,7 +313,7 @@ export interface WellKnownApiInterface {
313
313
  getJwks(requestParameters: WellKnownApiGetJwksRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonWebKeySet>;
314
314
 
315
315
  /**
316
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
316
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
317
317
  * @summary OpenID Provider configuration (OIDC Discovery 1.0)
318
318
  * @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
319
319
  * @param {*} [options] Override http request option.
@@ -398,7 +398,7 @@ export interface WellKnownApiGetSsfConfigurationRequest {
398
398
  */
399
399
  export class WellKnownApi extends BaseAPI implements WellKnownApiInterface {
400
400
  /**
401
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
401
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
402
402
  * @summary OAuth 2.0 authorization server metadata (RFC 8414)
403
403
  * @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
404
404
  * @param {*} [options] Override http request option.
@@ -422,7 +422,7 @@ export class WellKnownApi extends BaseAPI implements WellKnownApiInterface {
422
422
  }
423
423
 
424
424
  /**
425
- * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
425
+ * Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
426
426
  * @summary OpenID Provider configuration (OIDC Discovery 1.0)
427
427
  * @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
428
428
  * @param {*} [options] Override http request option.
@@ -110,7 +110,7 @@ export declare const AAuthApiAxiosParamCreator: (configuration?: Configuration)
110
110
  */
111
111
  getResourceMetadataById: (orgId: string, resourceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
112
112
  /**
113
- * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @target-uri, content-type, content-digest, authorization
113
+ * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
114
114
  * @summary Agent Token Endpoint
115
115
  * @param {string} orgId
116
116
  * @param {IssueAgentTokenRequest} issueAgentTokenRequest
@@ -254,7 +254,7 @@ export declare const AAuthApiFp: (configuration?: Configuration) => {
254
254
  */
255
255
  getResourceMetadataById(orgId: string, resourceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
256
256
  /**
257
- * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @target-uri, content-type, content-digest, authorization
257
+ * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
258
258
  * @summary Agent Token Endpoint
259
259
  * @param {string} orgId
260
260
  * @param {IssueAgentTokenRequest} issueAgentTokenRequest
@@ -394,7 +394,7 @@ export declare const AAuthApiFactory: (configuration?: Configuration, basePath?:
394
394
  */
395
395
  getResourceMetadataById(requestParameters: AAuthApiGetResourceMetadataByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
396
396
  /**
397
- * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @target-uri, content-type, content-digest, authorization
397
+ * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
398
398
  * @summary Agent Token Endpoint
399
399
  * @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
400
400
  * @param {*} [options] Override http request option.
@@ -537,7 +537,7 @@ export interface AAuthApiInterface {
537
537
  */
538
538
  getResourceMetadataById(requestParameters: AAuthApiGetResourceMetadataByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
539
539
  /**
540
- * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @target-uri, content-type, content-digest, authorization
540
+ * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
541
541
  * @summary Agent Token Endpoint
542
542
  * @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
543
543
  * @param {*} [options] Override http request option.
@@ -962,7 +962,7 @@ export declare class AAuthApi extends BaseAPI implements AAuthApiInterface {
962
962
  */
963
963
  getResourceMetadataById(requestParameters: AAuthApiGetResourceMetadataByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
964
964
  /**
965
- * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @target-uri, content-type, content-digest, authorization
965
+ * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
966
966
  * @summary Agent Token Endpoint
967
967
  * @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
968
968
  * @param {*} [options] Override http request option.
@@ -316,7 +316,7 @@ const AAuthApiAxiosParamCreator = function (configuration) {
316
316
  };
317
317
  }),
318
318
  /**
319
- * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @target-uri, content-type, content-digest, authorization
319
+ * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
320
320
  * @summary Agent Token Endpoint
321
321
  * @param {string} orgId
322
322
  * @param {IssueAgentTokenRequest} issueAgentTokenRequest
@@ -732,7 +732,7 @@ const AAuthApiFp = function (configuration) {
732
732
  });
733
733
  },
734
734
  /**
735
- * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @target-uri, content-type, content-digest, authorization
735
+ * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
736
736
  * @summary Agent Token Endpoint
737
737
  * @param {string} orgId
738
738
  * @param {IssueAgentTokenRequest} issueAgentTokenRequest
@@ -950,7 +950,7 @@ const AAuthApiFactory = function (configuration, basePath, axios) {
950
950
  return localVarFp.getResourceMetadataById(requestParameters.orgId, requestParameters.resourceId, options).then((request) => request(axios, basePath));
951
951
  },
952
952
  /**
953
- * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @target-uri, content-type, content-digest, authorization
953
+ * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
954
954
  * @summary Agent Token Endpoint
955
955
  * @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
956
956
  * @param {*} [options] Override http request option.
@@ -1128,7 +1128,7 @@ class AAuthApi extends base_1.BaseAPI {
1128
1128
  return (0, exports.AAuthApiFp)(this.configuration).getResourceMetadataById(requestParameters.orgId, requestParameters.resourceId, options).then((request) => request(this.axios, this.basePath));
1129
1129
  }
1130
1130
  /**
1131
- * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @target-uri, content-type, content-digest, authorization
1131
+ * Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
1132
1132
  * @summary Agent Token Endpoint
1133
1133
  * @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
1134
1134
  * @param {*} [options] Override http request option.
@@ -22,7 +22,7 @@ import type { MessageResponse } from '../models';
22
22
  */
23
23
  export declare const AdminMcpApiAxiosParamCreator: (configuration?: Configuration) => {
24
24
  /**
25
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
25
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
26
26
  * @summary Register an MCP server
27
27
  * @param {string} orgId
28
28
  * @param {*} [options] Override http request option.
@@ -62,7 +62,7 @@ export declare const AdminMcpApiAxiosParamCreator: (configuration?: Configuratio
62
62
  */
63
63
  export declare const AdminMcpApiFp: (configuration?: Configuration) => {
64
64
  /**
65
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
65
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
66
66
  * @summary Register an MCP server
67
67
  * @param {string} orgId
68
68
  * @param {*} [options] Override http request option.
@@ -102,7 +102,7 @@ export declare const AdminMcpApiFp: (configuration?: Configuration) => {
102
102
  */
103
103
  export declare const AdminMcpApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
104
104
  /**
105
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
105
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
106
106
  * @summary Register an MCP server
107
107
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
108
108
  * @param {*} [options] Override http request option.
@@ -141,7 +141,7 @@ export declare const AdminMcpApiFactory: (configuration?: Configuration, basePat
141
141
  */
142
142
  export interface AdminMcpApiInterface {
143
143
  /**
144
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
144
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
145
145
  * @summary Register an MCP server
146
146
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
147
147
  * @param {*} [options] Override http request option.
@@ -249,7 +249,7 @@ export interface AdminMcpApiAdminMcpServersListRequest {
249
249
  */
250
250
  export declare class AdminMcpApi extends BaseAPI implements AdminMcpApiInterface {
251
251
  /**
252
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
252
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
253
253
  * @summary Register an MCP server
254
254
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
255
255
  * @param {*} [options] Override http request option.
@@ -36,7 +36,7 @@ const base_1 = require("../base");
36
36
  const AdminMcpApiAxiosParamCreator = function (configuration) {
37
37
  return {
38
38
  /**
39
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
39
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
40
40
  * @summary Register an MCP server
41
41
  * @param {string} orgId
42
42
  * @param {*} [options] Override http request option.
@@ -190,7 +190,7 @@ const AdminMcpApiFp = function (configuration) {
190
190
  const localVarAxiosParamCreator = (0, exports.AdminMcpApiAxiosParamCreator)(configuration);
191
191
  return {
192
192
  /**
193
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
193
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
194
194
  * @summary Register an MCP server
195
195
  * @param {string} orgId
196
196
  * @param {*} [options] Override http request option.
@@ -266,7 +266,7 @@ const AdminMcpApiFactory = function (configuration, basePath, axios) {
266
266
  const localVarFp = (0, exports.AdminMcpApiFp)(configuration);
267
267
  return {
268
268
  /**
269
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
269
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
270
270
  * @summary Register an MCP server
271
271
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
272
272
  * @param {*} [options] Override http request option.
@@ -316,7 +316,7 @@ exports.AdminMcpApiFactory = AdminMcpApiFactory;
316
316
  */
317
317
  class AdminMcpApi extends base_1.BaseAPI {
318
318
  /**
319
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
319
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
320
320
  * @summary Register an MCP server
321
321
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
322
322
  * @param {*} [options] Override http request option.
@@ -12,6 +12,8 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AdminClientsCimdCheckRequest } from '../models';
16
+ import type { AdminClientsCimdCheckResponse } from '../models';
15
17
  import type { CreateClientResponse } from '../models';
16
18
  import type { GetClientResponse } from '../models';
17
19
  import type { ListClientScopesResponse } from '../models';
@@ -25,6 +27,15 @@ import type { UpdateClientResponse } from '../models';
25
27
  * @export
26
28
  */
27
29
  export declare const AdminOAuthClientsApiAxiosParamCreator: (configuration?: Configuration) => {
30
+ /**
31
+ * Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
32
+ * @summary Check a Client ID Metadata Document
33
+ * @param {string} orgId
34
+ * @param {AdminClientsCimdCheckRequest} adminClientsCimdCheckRequest
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ adminClientsCimdCheck: (orgId: string, adminClientsCimdCheckRequest: AdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
39
  /**
29
40
  *
30
41
  * @summary Create an OAuth client
@@ -128,6 +139,15 @@ export declare const AdminOAuthClientsApiAxiosParamCreator: (configuration?: Con
128
139
  * @export
129
140
  */
130
141
  export declare const AdminOAuthClientsApiFp: (configuration?: Configuration) => {
142
+ /**
143
+ * Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
144
+ * @summary Check a Client ID Metadata Document
145
+ * @param {string} orgId
146
+ * @param {AdminClientsCimdCheckRequest} adminClientsCimdCheckRequest
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ adminClientsCimdCheck(orgId: string, adminClientsCimdCheckRequest: AdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminClientsCimdCheckResponse>>;
131
151
  /**
132
152
  *
133
153
  * @summary Create an OAuth client
@@ -231,6 +251,14 @@ export declare const AdminOAuthClientsApiFp: (configuration?: Configuration) =>
231
251
  * @export
232
252
  */
233
253
  export declare const AdminOAuthClientsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
254
+ /**
255
+ * Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
256
+ * @summary Check a Client ID Metadata Document
257
+ * @param {AdminOAuthClientsApiAdminClientsCimdCheckRequest} requestParameters Request parameters.
258
+ * @param {*} [options] Override http request option.
259
+ * @throws {RequiredError}
260
+ */
261
+ adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminClientsCimdCheckResponse>;
234
262
  /**
235
263
  *
236
264
  * @summary Create an OAuth client
@@ -326,6 +354,15 @@ export declare const AdminOAuthClientsApiFactory: (configuration?: Configuration
326
354
  * @interface AdminOAuthClientsApi
327
355
  */
328
356
  export interface AdminOAuthClientsApiInterface {
357
+ /**
358
+ * Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
359
+ * @summary Check a Client ID Metadata Document
360
+ * @param {AdminOAuthClientsApiAdminClientsCimdCheckRequest} requestParameters Request parameters.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ * @memberof AdminOAuthClientsApiInterface
364
+ */
365
+ adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminClientsCimdCheckResponse>;
329
366
  /**
330
367
  *
331
368
  * @summary Create an OAuth client
@@ -426,6 +463,25 @@ export interface AdminOAuthClientsApiInterface {
426
463
  */
427
464
  updateClient(requestParameters: AdminOAuthClientsApiUpdateClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateClientResponse>;
428
465
  }
466
+ /**
467
+ * Request parameters for adminClientsCimdCheck operation in AdminOAuthClientsApi.
468
+ * @export
469
+ * @interface AdminOAuthClientsApiAdminClientsCimdCheckRequest
470
+ */
471
+ export interface AdminOAuthClientsApiAdminClientsCimdCheckRequest {
472
+ /**
473
+ *
474
+ * @type {string}
475
+ * @memberof AdminOAuthClientsApiAdminClientsCimdCheck
476
+ */
477
+ readonly orgId: string;
478
+ /**
479
+ *
480
+ * @type {AdminClientsCimdCheckRequest}
481
+ * @memberof AdminOAuthClientsApiAdminClientsCimdCheck
482
+ */
483
+ readonly adminClientsCimdCheckRequest: AdminClientsCimdCheckRequest;
484
+ }
429
485
  /**
430
486
  * Request parameters for createClient operation in AdminOAuthClientsApi.
431
487
  * @export
@@ -630,6 +686,15 @@ export interface AdminOAuthClientsApiUpdateClientRequest {
630
686
  * @extends {BaseAPI}
631
687
  */
632
688
  export declare class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthClientsApiInterface {
689
+ /**
690
+ * Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
691
+ * @summary Check a Client ID Metadata Document
692
+ * @param {AdminOAuthClientsApiAdminClientsCimdCheckRequest} requestParameters Request parameters.
693
+ * @param {*} [options] Override http request option.
694
+ * @throws {RequiredError}
695
+ * @memberof AdminOAuthClientsApi
696
+ */
697
+ adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminClientsCimdCheckResponse, any, {}>>;
633
698
  /**
634
699
  *
635
700
  * @summary Create an OAuth client