@lumoauth/api-client 1.4.0 → 1.5.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 (188) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +12 -5
  3. package/api/admin-agents-api.ts +36 -10
  4. package/api/admin-mcp-api.ts +5 -5
  5. package/api/admin-oauth-clients-api.ts +5 -5
  6. package/api/admin-sandbox-api.ts +5 -5
  7. package/api/admin-users-api.ts +27 -26
  8. package/api/admin-webhooks-api.ts +25 -25
  9. package/api/oauth-api.ts +111 -0
  10. package/dist/api/admin-agents-api.d.ts +21 -4
  11. package/dist/api/admin-agents-api.js +18 -10
  12. package/dist/api/admin-mcp-api.d.ts +5 -5
  13. package/dist/api/admin-mcp-api.js +4 -4
  14. package/dist/api/admin-oauth-clients-api.d.ts +5 -5
  15. package/dist/api/admin-oauth-clients-api.js +4 -4
  16. package/dist/api/admin-sandbox-api.d.ts +5 -5
  17. package/dist/api/admin-sandbox-api.js +4 -4
  18. package/dist/api/admin-users-api.d.ts +27 -26
  19. package/dist/api/admin-users-api.js +21 -20
  20. package/dist/api/admin-webhooks-api.d.ts +25 -25
  21. package/dist/api/admin-webhooks-api.js +20 -20
  22. package/dist/api/oauth-api.d.ts +65 -0
  23. package/dist/api/oauth-api.js +72 -0
  24. package/dist/esm/api/admin-agents-api.d.ts +21 -4
  25. package/dist/esm/api/admin-agents-api.js +18 -10
  26. package/dist/esm/api/admin-mcp-api.d.ts +5 -5
  27. package/dist/esm/api/admin-mcp-api.js +4 -4
  28. package/dist/esm/api/admin-oauth-clients-api.d.ts +5 -5
  29. package/dist/esm/api/admin-oauth-clients-api.js +4 -4
  30. package/dist/esm/api/admin-sandbox-api.d.ts +5 -5
  31. package/dist/esm/api/admin-sandbox-api.js +4 -4
  32. package/dist/esm/api/admin-users-api.d.ts +27 -26
  33. package/dist/esm/api/admin-users-api.js +21 -20
  34. package/dist/esm/api/admin-webhooks-api.d.ts +25 -25
  35. package/dist/esm/api/admin-webhooks-api.js +20 -20
  36. package/dist/esm/api/oauth-api.d.ts +65 -0
  37. package/dist/esm/api/oauth-api.js +73 -1
  38. package/dist/esm/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  39. package/dist/esm/models/admin-agents-agents-rotate-key-request.js +14 -0
  40. package/dist/esm/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  41. package/dist/esm/models/admin-agents-create-request.d.ts +8 -0
  42. package/dist/esm/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  43. package/dist/esm/models/admin-identities-link-request.d.ts +8 -1
  44. package/dist/esm/models/admin-identities-link-request.js +1 -0
  45. package/dist/esm/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  46. package/dist/esm/models/admin-identities-list-response-data-bindings-item.js +1 -0
  47. package/dist/esm/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  48. package/dist/esm/models/admin-sandbox-spawn-response-data.js +14 -0
  49. package/dist/esm/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  50. package/dist/esm/models/admin-sandbox-spawn-response-data1.js +14 -0
  51. package/dist/esm/models/admin-sandbox-spawn-response.d.ts +3 -3
  52. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  53. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.js +14 -0
  54. package/dist/esm/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  55. package/dist/esm/models/admin-webhooks-test-response.d.ts +6 -0
  56. package/dist/esm/models/attest-response-identity.d.ts +1 -1
  57. package/dist/esm/models/audit-log-entry.d.ts +1 -1
  58. package/dist/esm/models/authentication-settings-password-policy.d.ts +25 -1
  59. package/dist/esm/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  60. package/dist/esm/models/authentication-settings.d.ts +13 -15
  61. package/dist/esm/models/authentication-settings.js +11 -0
  62. package/dist/esm/models/get-approval-status-response-approved-by.d.ts +2 -2
  63. package/dist/esm/models/index.d.ts +6 -0
  64. package/dist/esm/models/index.js +6 -0
  65. package/dist/esm/models/list-permissions-response-permissions-item.d.ts +1 -1
  66. package/dist/esm/models/oauth-client-secret-issued.d.ts +1 -1
  67. package/dist/esm/models/oauth-client.d.ts +6 -0
  68. package/dist/esm/models/push-enrollment-started.d.ts +1 -1
  69. package/dist/esm/models/put-admin-agents-update-request.d.ts +8 -0
  70. package/dist/esm/models/request-magic-link-request.d.ts +42 -0
  71. package/dist/esm/models/request-magic-link-request.js +14 -0
  72. package/dist/esm/models/request-magic-link-response.d.ts +31 -0
  73. package/dist/esm/models/request-magic-link-response.js +21 -0
  74. package/dist/esm/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  75. package/dist/esm/models/scim-settings-inbound.d.ts +0 -8
  76. package/dist/esm/models/scim-settings-outbound.d.ts +2 -10
  77. package/dist/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  78. package/dist/models/admin-agents-agents-rotate-key-request.js +15 -0
  79. package/dist/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  80. package/dist/models/admin-agents-create-request.d.ts +8 -0
  81. package/dist/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  82. package/dist/models/admin-identities-link-request.d.ts +8 -1
  83. package/dist/models/admin-identities-link-request.js +1 -0
  84. package/dist/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  85. package/dist/models/admin-identities-list-response-data-bindings-item.js +1 -0
  86. package/dist/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  87. package/dist/models/admin-sandbox-spawn-response-data.js +15 -0
  88. package/dist/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  89. package/dist/models/admin-sandbox-spawn-response-data1.js +15 -0
  90. package/dist/models/admin-sandbox-spawn-response.d.ts +3 -3
  91. package/dist/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  92. package/dist/models/admin-webhooks-delivery-replay-response-data.js +15 -0
  93. package/dist/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  94. package/dist/models/admin-webhooks-test-response.d.ts +6 -0
  95. package/dist/models/attest-response-identity.d.ts +1 -1
  96. package/dist/models/audit-log-entry.d.ts +1 -1
  97. package/dist/models/authentication-settings-password-policy.d.ts +25 -1
  98. package/dist/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  99. package/dist/models/authentication-settings.d.ts +13 -15
  100. package/dist/models/authentication-settings.js +12 -1
  101. package/dist/models/get-approval-status-response-approved-by.d.ts +2 -2
  102. package/dist/models/index.d.ts +6 -0
  103. package/dist/models/index.js +6 -0
  104. package/dist/models/list-permissions-response-permissions-item.d.ts +1 -1
  105. package/dist/models/oauth-client-secret-issued.d.ts +1 -1
  106. package/dist/models/oauth-client.d.ts +6 -0
  107. package/dist/models/push-enrollment-started.d.ts +1 -1
  108. package/dist/models/put-admin-agents-update-request.d.ts +8 -0
  109. package/dist/models/request-magic-link-request.d.ts +42 -0
  110. package/dist/models/request-magic-link-request.js +15 -0
  111. package/dist/models/request-magic-link-response.d.ts +31 -0
  112. package/dist/models/request-magic-link-response.js +24 -0
  113. package/dist/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  114. package/dist/models/scim-settings-inbound.d.ts +0 -8
  115. package/dist/models/scim-settings-outbound.d.ts +2 -10
  116. package/docs/AAuthApi.md +1 -1
  117. package/docs/AdminAbacApi.md +1 -1
  118. package/docs/AdminAgentsAgentsRotateKeyRequest.md +22 -0
  119. package/docs/AdminAgentsAgentsRotateKeyResponse.md +2 -0
  120. package/docs/AdminAgentsApi.md +20 -8
  121. package/docs/AdminAgentsCreateRequest.md +2 -0
  122. package/docs/AdminAuditLogsRetentionResponseData.md +9 -3
  123. package/docs/AdminIdentitiesLinkRequest.md +3 -1
  124. package/docs/AdminIdentitiesListResponseDataBindingsItem.md +2 -0
  125. package/docs/AdminMcpApi.md +2 -1
  126. package/docs/AdminOAuthClientsApi.md +2 -2
  127. package/docs/AdminSandboxApi.md +3 -1
  128. package/docs/AdminSandboxSpawnResponse.md +1 -1
  129. package/docs/AdminSandboxSpawnResponseData.md +32 -0
  130. package/docs/AdminSandboxSpawnResponseData1.md +20 -0
  131. package/docs/AdminUsersApi.md +8 -8
  132. package/docs/AdminWebhooksApi.md +7 -5
  133. package/docs/AdminWebhooksDeliveryReplayResponse.md +1 -1
  134. package/docs/AdminWebhooksDeliveryReplayResponseData.md +28 -0
  135. package/docs/AdminWebhooksTestResponse.md +2 -0
  136. package/docs/AgentsApi.md +6 -3
  137. package/docs/AttestResponseIdentity.md +1 -1
  138. package/docs/AuditLogEntry.md +1 -1
  139. package/docs/AuthenticationSettings.md +2 -6
  140. package/docs/AuthenticationSettingsPasswordPolicy.md +9 -0
  141. package/docs/AuthenticationSettingsPasswordRotationPolicy.md +1 -4
  142. package/docs/AuthorizationApi.md +1 -1
  143. package/docs/CreateClientResponseData.md +3 -1
  144. package/docs/EnrollAuthenticator201Response.md +1 -1
  145. package/docs/GetApprovalStatusResponseApprovedBy.md +1 -1
  146. package/docs/JitApi.md +3 -3
  147. package/docs/ListPermissionsResponsePermissionsItem.md +1 -1
  148. package/docs/OAuthApi.md +63 -2
  149. package/docs/OAuthClient.md +2 -0
  150. package/docs/OAuthClientSecretIssued.md +1 -1
  151. package/docs/PushEnrollmentStarted.md +1 -1
  152. package/docs/PutAdminAgentsUpdateRequest.md +2 -0
  153. package/docs/RequestMagicLinkRequest.md +26 -0
  154. package/docs/RequestMagicLinkResponse.md +20 -0
  155. package/docs/ScimSettingsInbound.md +0 -2
  156. package/docs/ScimSettingsInboundProtectedAttributes.md +3 -5
  157. package/docs/ScimSettingsOutbound.md +2 -4
  158. package/docs/TokenVaultApi.md +2 -2
  159. package/models/admin-agents-agents-rotate-key-request.ts +36 -0
  160. package/models/admin-agents-agents-rotate-key-response.ts +6 -0
  161. package/models/admin-agents-create-request.ts +6 -0
  162. package/models/admin-audit-logs-retention-response-data.ts +21 -3
  163. package/models/admin-identities-link-request.ts +8 -1
  164. package/models/admin-identities-list-response-data-bindings-item.ts +7 -0
  165. package/models/admin-sandbox-spawn-response-data.ts +29 -0
  166. package/models/admin-sandbox-spawn-response-data1.ts +30 -0
  167. package/models/admin-sandbox-spawn-response.ts +3 -3
  168. package/models/admin-webhooks-delivery-replay-response-data.ts +54 -0
  169. package/models/admin-webhooks-delivery-replay-response.ts +3 -3
  170. package/models/admin-webhooks-test-response.ts +6 -0
  171. package/models/attest-response-identity.ts +1 -1
  172. package/models/audit-log-entry.ts +1 -1
  173. package/models/authentication-settings-password-policy.ts +25 -1
  174. package/models/authentication-settings-password-rotation-policy.ts +1 -13
  175. package/models/authentication-settings.ts +13 -15
  176. package/models/get-approval-status-response-approved-by.ts +2 -2
  177. package/models/index.ts +6 -0
  178. package/models/list-permissions-response-permissions-item.ts +1 -1
  179. package/models/oauth-client-secret-issued.ts +1 -1
  180. package/models/oauth-client.ts +6 -0
  181. package/models/push-enrollment-started.ts +1 -1
  182. package/models/put-admin-agents-update-request.ts +6 -0
  183. package/models/request-magic-link-request.ts +48 -0
  184. package/models/request-magic-link-response.ts +39 -0
  185. package/models/scim-settings-inbound-protected-attributes.ts +2 -10
  186. package/models/scim-settings-inbound.ts +0 -6
  187. package/models/scim-settings-outbound.ts +2 -8
  188. package/package.json +1 -1
@@ -15,6 +15,7 @@ import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { AdminAgentsActivateResponse } from '../models';
16
16
  import type { AdminAgentsAgentsDisableResponse } from '../models';
17
17
  import type { AdminAgentsAgentsEnableResponse } from '../models';
18
+ import type { AdminAgentsAgentsRotateKeyRequest } from '../models';
18
19
  import type { AdminAgentsAgentsRotateKeyResponse } from '../models';
19
20
  import type { AdminAgentsCreateRequest } from '../models';
20
21
  import type { AdminAgentsCreateResponse } from '../models';
@@ -70,10 +71,11 @@ export declare const AdminAgentsApiAxiosParamCreator: (configuration?: Configura
70
71
  * @summary Rotate agent API key
71
72
  * @param {string} orgId
72
73
  * @param {string} agentId
74
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
73
75
  * @param {*} [options] Override http request option.
74
76
  * @throws {RequiredError}
75
77
  */
76
- adminAgentsAgentsRotateKey: (orgId: string, agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
+ adminAgentsAgentsRotateKey: (orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
77
79
  /**
78
80
  *
79
81
  * @summary Create a new agent
@@ -161,10 +163,11 @@ export declare const AdminAgentsApiAxiosParamCreator: (configuration?: Configura
161
163
  * @summary Rotate agent credentials
162
164
  * @param {string} orgId
163
165
  * @param {string} agentId
166
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
164
167
  * @param {*} [options] Override http request option.
165
168
  * @throws {RequiredError}
166
169
  */
167
- adminAgentsRotateCredentials: (orgId: string, agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
170
+ adminAgentsRotateCredentials: (orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
168
171
  /**
169
172
  *
170
173
  * @summary Update agent scopes/capabilities
@@ -233,10 +236,11 @@ export declare const AdminAgentsApiFp: (configuration?: Configuration) => {
233
236
  * @summary Rotate agent API key
234
237
  * @param {string} orgId
235
238
  * @param {string} agentId
239
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
236
240
  * @param {*} [options] Override http request option.
237
241
  * @throws {RequiredError}
238
242
  */
239
- adminAgentsAgentsRotateKey(orgId: string, agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsAgentsRotateKeyResponse>>;
243
+ adminAgentsAgentsRotateKey(orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsAgentsRotateKeyResponse>>;
240
244
  /**
241
245
  *
242
246
  * @summary Create a new agent
@@ -324,10 +328,11 @@ export declare const AdminAgentsApiFp: (configuration?: Configuration) => {
324
328
  * @summary Rotate agent credentials
325
329
  * @param {string} orgId
326
330
  * @param {string} agentId
331
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
327
332
  * @param {*} [options] Override http request option.
328
333
  * @throws {RequiredError}
329
334
  */
330
- adminAgentsRotateCredentials(orgId: string, agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsRotateCredentialsResponse>>;
335
+ adminAgentsRotateCredentials(orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsRotateCredentialsResponse>>;
331
336
  /**
332
337
  *
333
338
  * @summary Update agent scopes/capabilities
@@ -736,6 +741,12 @@ export interface AdminAgentsApiAdminAgentsAgentsRotateKeyRequest {
736
741
  * @memberof AdminAgentsApiAdminAgentsAgentsRotateKey
737
742
  */
738
743
  readonly agentId: string;
744
+ /**
745
+ * Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
746
+ * @type {AdminAgentsAgentsRotateKeyRequest}
747
+ * @memberof AdminAgentsApiAdminAgentsAgentsRotateKey
748
+ */
749
+ readonly adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest;
739
750
  }
740
751
  /**
741
752
  * Request parameters for adminAgentsCreate operation in AdminAgentsApi.
@@ -932,6 +943,12 @@ export interface AdminAgentsApiAdminAgentsRotateCredentialsRequest {
932
943
  * @memberof AdminAgentsApiAdminAgentsRotateCredentials
933
944
  */
934
945
  readonly agentId: string;
946
+ /**
947
+ * For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
948
+ * @type {AdminAgentsAgentsRotateKeyRequest}
949
+ * @memberof AdminAgentsApiAdminAgentsRotateCredentials
950
+ */
951
+ readonly adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest;
935
952
  }
936
953
  /**
937
954
  * Request parameters for adminAgentsSetScopes operation in AdminAgentsApi.
@@ -154,10 +154,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
154
154
  * @summary Rotate agent API key
155
155
  * @param {string} orgId
156
156
  * @param {string} agentId
157
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
157
158
  * @param {*} [options] Override http request option.
158
159
  * @throws {RequiredError}
159
160
  */
160
- adminAgentsAgentsRotateKey: (orgId_1, agentId_1, ...args_1) => __awaiter(this, [orgId_1, agentId_1, ...args_1], void 0, function* (orgId, agentId, options = {}) {
161
+ adminAgentsAgentsRotateKey: (orgId_1, agentId_1, adminAgentsAgentsRotateKeyRequest_1, ...args_1) => __awaiter(this, [orgId_1, agentId_1, adminAgentsAgentsRotateKeyRequest_1, ...args_1], void 0, function* (orgId, agentId, adminAgentsAgentsRotateKeyRequest, options = {}) {
161
162
  // verify required parameter 'orgId' is not null or undefined
162
163
  (0, common_1.assertParamExists)('adminAgentsAgentsRotateKey', 'orgId', orgId);
163
164
  // verify required parameter 'agentId' is not null or undefined
@@ -179,9 +180,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
179
180
  // authentication BearerAuth required
180
181
  // http bearer authentication required
181
182
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
183
+ localVarHeaderParameter['Content-Type'] = 'application/json';
182
184
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
183
185
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
186
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
187
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminAgentsAgentsRotateKeyRequest, localVarRequestOptions, configuration);
185
188
  return {
186
189
  url: (0, common_1.toPathString)(localVarUrlObj),
187
190
  options: localVarRequestOptions,
@@ -539,10 +542,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
539
542
  * @summary Rotate agent credentials
540
543
  * @param {string} orgId
541
544
  * @param {string} agentId
545
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
542
546
  * @param {*} [options] Override http request option.
543
547
  * @throws {RequiredError}
544
548
  */
545
- adminAgentsRotateCredentials: (orgId_1, agentId_1, ...args_1) => __awaiter(this, [orgId_1, agentId_1, ...args_1], void 0, function* (orgId, agentId, options = {}) {
549
+ adminAgentsRotateCredentials: (orgId_1, agentId_1, adminAgentsAgentsRotateKeyRequest_1, ...args_1) => __awaiter(this, [orgId_1, agentId_1, adminAgentsAgentsRotateKeyRequest_1, ...args_1], void 0, function* (orgId, agentId, adminAgentsAgentsRotateKeyRequest, options = {}) {
546
550
  // verify required parameter 'orgId' is not null or undefined
547
551
  (0, common_1.assertParamExists)('adminAgentsRotateCredentials', 'orgId', orgId);
548
552
  // verify required parameter 'agentId' is not null or undefined
@@ -564,9 +568,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
564
568
  // authentication BearerAuth required
565
569
  // http bearer authentication required
566
570
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
571
+ localVarHeaderParameter['Content-Type'] = 'application/json';
567
572
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
568
573
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
569
574
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
575
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminAgentsAgentsRotateKeyRequest, localVarRequestOptions, configuration);
570
576
  return {
571
577
  url: (0, common_1.toPathString)(localVarUrlObj),
572
578
  options: localVarRequestOptions,
@@ -767,13 +773,14 @@ const AdminAgentsApiFp = function (configuration) {
767
773
  * @summary Rotate agent API key
768
774
  * @param {string} orgId
769
775
  * @param {string} agentId
776
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
770
777
  * @param {*} [options] Override http request option.
771
778
  * @throws {RequiredError}
772
779
  */
773
- adminAgentsAgentsRotateKey(orgId, agentId, options) {
780
+ adminAgentsAgentsRotateKey(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options) {
774
781
  return __awaiter(this, void 0, void 0, function* () {
775
782
  var _a, _b, _c;
776
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, options);
783
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
777
784
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
778
785
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAgentsApi.adminAgentsAgentsRotateKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
779
786
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -938,13 +945,14 @@ const AdminAgentsApiFp = function (configuration) {
938
945
  * @summary Rotate agent credentials
939
946
  * @param {string} orgId
940
947
  * @param {string} agentId
948
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
941
949
  * @param {*} [options] Override http request option.
942
950
  * @throws {RequiredError}
943
951
  */
944
- adminAgentsRotateCredentials(orgId, agentId, options) {
952
+ adminAgentsRotateCredentials(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options) {
945
953
  return __awaiter(this, void 0, void 0, function* () {
946
954
  var _a, _b, _c;
947
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, options);
955
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
948
956
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
949
957
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAgentsApi.adminAgentsRotateCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
950
958
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1052,7 +1060,7 @@ const AdminAgentsApiFactory = function (configuration, basePath, axios) {
1052
1060
  * @throws {RequiredError}
1053
1061
  */
1054
1062
  adminAgentsAgentsRotateKey(requestParameters, options) {
1055
- return localVarFp.adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(axios, basePath));
1063
+ return localVarFp.adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(axios, basePath));
1056
1064
  },
1057
1065
  /**
1058
1066
  *
@@ -1152,7 +1160,7 @@ const AdminAgentsApiFactory = function (configuration, basePath, axios) {
1152
1160
  * @throws {RequiredError}
1153
1161
  */
1154
1162
  adminAgentsRotateCredentials(requestParameters, options) {
1155
- return localVarFp.adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(axios, basePath));
1163
+ return localVarFp.adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(axios, basePath));
1156
1164
  },
1157
1165
  /**
1158
1166
  *
@@ -1236,7 +1244,7 @@ class AdminAgentsApi extends base_1.BaseAPI {
1236
1244
  * @memberof AdminAgentsApi
1237
1245
  */
1238
1246
  adminAgentsAgentsRotateKey(requestParameters, options) {
1239
- return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(this.axios, this.basePath));
1247
+ return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(this.axios, this.basePath));
1240
1248
  }
1241
1249
  /**
1242
1250
  *
@@ -1346,7 +1354,7 @@ class AdminAgentsApi extends base_1.BaseAPI {
1346
1354
  * @memberof AdminAgentsApi
1347
1355
  */
1348
1356
  adminAgentsRotateCredentials(requestParameters, options) {
1349
- return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(this.axios, this.basePath));
1357
+ return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(this.axios, this.basePath));
1350
1358
  }
1351
1359
  /**
1352
1360
  *
@@ -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: 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
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 scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
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: 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
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 scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
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: 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
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 scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
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: 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
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 scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
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: 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
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 scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
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: 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
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 scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
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: 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
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 scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
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: 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
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 scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
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: 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
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 scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
320
320
  * @summary Register an MCP server
321
321
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
322
322
  * @param {*} [options] Override http request option.
@@ -160,7 +160,7 @@ export declare const AdminOAuthClientsApiAxiosParamCreator: (configuration?: Con
160
160
  setClientScopes: (orgId: string, clientId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
161
161
  /**
162
162
  *
163
- * @summary Replace an OAuth client
163
+ * @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
164
164
  * @param {string} orgId
165
165
  * @param {string} clientId
166
166
  * @param {*} [options] Override http request option.
@@ -301,7 +301,7 @@ export declare const AdminOAuthClientsApiFp: (configuration?: Configuration) =>
301
301
  setClientScopes(orgId: string, clientId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetClientScopesResponse>>;
302
302
  /**
303
303
  *
304
- * @summary Replace an OAuth client
304
+ * @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
305
305
  * @param {string} orgId
306
306
  * @param {string} clientId
307
307
  * @param {*} [options] Override http request option.
@@ -428,7 +428,7 @@ export declare const AdminOAuthClientsApiFactory: (configuration?: Configuration
428
428
  setClientScopes(requestParameters: AdminOAuthClientsApiSetClientScopesRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetClientScopesResponse>;
429
429
  /**
430
430
  *
431
- * @summary Replace an OAuth client
431
+ * @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
432
432
  * @param {AdminOAuthClientsApiUpdateClientRequest} requestParameters Request parameters.
433
433
  * @param {*} [options] Override http request option.
434
434
  * @throws {RequiredError}
@@ -569,7 +569,7 @@ export interface AdminOAuthClientsApiInterface {
569
569
  setClientScopes(requestParameters: AdminOAuthClientsApiSetClientScopesRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetClientScopesResponse>;
570
570
  /**
571
571
  *
572
- * @summary Replace an OAuth client
572
+ * @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
573
573
  * @param {AdminOAuthClientsApiUpdateClientRequest} requestParameters Request parameters.
574
574
  * @param {*} [options] Override http request option.
575
575
  * @throws {RequiredError}
@@ -997,7 +997,7 @@ export declare class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthC
997
997
  setClientScopes(requestParameters: AdminOAuthClientsApiSetClientScopesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetClientScopesResponse, any, {}>>;
998
998
  /**
999
999
  *
1000
- * @summary Replace an OAuth client
1000
+ * @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
1001
1001
  * @param {AdminOAuthClientsApiUpdateClientRequest} requestParameters Request parameters.
1002
1002
  * @param {*} [options] Override http request option.
1003
1003
  * @throws {RequiredError}
@@ -568,7 +568,7 @@ const AdminOAuthClientsApiAxiosParamCreator = function (configuration) {
568
568
  }),
569
569
  /**
570
570
  *
571
- * @summary Replace an OAuth client
571
+ * @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
572
572
  * @param {string} orgId
573
573
  * @param {string} clientId
574
574
  * @param {*} [options] Override http request option.
@@ -854,7 +854,7 @@ const AdminOAuthClientsApiFp = function (configuration) {
854
854
  },
855
855
  /**
856
856
  *
857
- * @summary Replace an OAuth client
857
+ * @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
858
858
  * @param {string} orgId
859
859
  * @param {string} clientId
860
860
  * @param {*} [options] Override http request option.
@@ -1021,7 +1021,7 @@ const AdminOAuthClientsApiFactory = function (configuration, basePath, axios) {
1021
1021
  },
1022
1022
  /**
1023
1023
  *
1024
- * @summary Replace an OAuth client
1024
+ * @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
1025
1025
  * @param {AdminOAuthClientsApiUpdateClientRequest} requestParameters Request parameters.
1026
1026
  * @param {*} [options] Override http request option.
1027
1027
  * @throws {RequiredError}
@@ -1195,7 +1195,7 @@ class AdminOAuthClientsApi extends base_1.BaseAPI {
1195
1195
  }
1196
1196
  /**
1197
1197
  *
1198
- * @summary Replace an OAuth client
1198
+ * @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
1199
1199
  * @param {AdminOAuthClientsApiUpdateClientRequest} requestParameters Request parameters.
1200
1200
  * @param {*} [options] Override http request option.
1201
1201
  * @throws {RequiredError}
@@ -39,7 +39,7 @@ export declare const AdminSandboxApiAxiosParamCreator: (configuration?: Configur
39
39
  */
40
40
  adminSandboxList: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
41
  /**
42
- *
42
+ * Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
43
43
  * @summary Spawn a sandbox tenant
44
44
  * @param {string} orgId
45
45
  * @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
@@ -71,7 +71,7 @@ export declare const AdminSandboxApiFp: (configuration?: Configuration) => {
71
71
  */
72
72
  adminSandboxList(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminSandboxListResponse>>;
73
73
  /**
74
- *
74
+ * Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
75
75
  * @summary Spawn a sandbox tenant
76
76
  * @param {string} orgId
77
77
  * @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
@@ -102,7 +102,7 @@ export declare const AdminSandboxApiFactory: (configuration?: Configuration, bas
102
102
  */
103
103
  adminSandboxList(requestParameters: AdminSandboxApiAdminSandboxListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminSandboxListResponse>;
104
104
  /**
105
- *
105
+ * Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
106
106
  * @summary Spawn a sandbox tenant
107
107
  * @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
108
108
  * @param {*} [options] Override http request option.
@@ -135,7 +135,7 @@ export interface AdminSandboxApiInterface {
135
135
  */
136
136
  adminSandboxList(requestParameters: AdminSandboxApiAdminSandboxListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminSandboxListResponse>;
137
137
  /**
138
- *
138
+ * Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
139
139
  * @summary Spawn a sandbox tenant
140
140
  * @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
141
141
  * @param {*} [options] Override http request option.
@@ -221,7 +221,7 @@ export declare class AdminSandboxApi extends BaseAPI implements AdminSandboxApiI
221
221
  */
222
222
  adminSandboxList(requestParameters: AdminSandboxApiAdminSandboxListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminSandboxListResponse, any, {}>>;
223
223
  /**
224
- *
224
+ * Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
225
225
  * @summary Spawn a sandbox tenant
226
226
  * @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
227
227
  * @param {*} [options] Override http request option.
@@ -108,7 +108,7 @@ const AdminSandboxApiAxiosParamCreator = function (configuration) {
108
108
  };
109
109
  }),
110
110
  /**
111
- *
111
+ * Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
112
112
  * @summary Spawn a sandbox tenant
113
113
  * @param {string} orgId
114
114
  * @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
@@ -188,7 +188,7 @@ const AdminSandboxApiFp = function (configuration) {
188
188
  });
189
189
  },
190
190
  /**
191
- *
191
+ * Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
192
192
  * @summary Spawn a sandbox tenant
193
193
  * @param {string} orgId
194
194
  * @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
@@ -235,7 +235,7 @@ const AdminSandboxApiFactory = function (configuration, basePath, axios) {
235
235
  return localVarFp.adminSandboxList(requestParameters.orgId, options).then((request) => request(axios, basePath));
236
236
  },
237
237
  /**
238
- *
238
+ * Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
239
239
  * @summary Spawn a sandbox tenant
240
240
  * @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
241
241
  * @param {*} [options] Override http request option.
@@ -277,7 +277,7 @@ class AdminSandboxApi extends base_1.BaseAPI {
277
277
  return (0, exports.AdminSandboxApiFp)(this.configuration).adminSandboxList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
278
278
  }
279
279
  /**
280
- *
280
+ * Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
281
281
  * @summary Spawn a sandbox tenant
282
282
  * @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
283
283
  * @param {*} [options] Override http request option.