@lumoauth/api-client 1.3.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.
- package/.openapi-generator/FILES +22 -0
- package/README.md +19 -5
- package/api/admin-agents-api.ts +166 -10
- package/api/admin-mcp-api.ts +5 -5
- package/api/admin-oauth-clients-api.ts +5 -5
- package/api/admin-sandbox-api.ts +5 -5
- package/api/admin-users-api.ts +27 -26
- package/api/admin-webhooks-api.ts +25 -25
- package/api/agents-api.ts +118 -0
- package/api/oauth-api.ts +111 -0
- package/dist/api/admin-agents-api.d.ts +94 -4
- package/dist/api/admin-agents-api.js +100 -10
- package/dist/api/admin-mcp-api.d.ts +5 -5
- package/dist/api/admin-mcp-api.js +4 -4
- package/dist/api/admin-oauth-clients-api.d.ts +5 -5
- package/dist/api/admin-oauth-clients-api.js +4 -4
- package/dist/api/admin-sandbox-api.d.ts +5 -5
- package/dist/api/admin-sandbox-api.js +4 -4
- package/dist/api/admin-users-api.d.ts +27 -26
- package/dist/api/admin-users-api.js +21 -20
- package/dist/api/admin-webhooks-api.d.ts +25 -25
- package/dist/api/admin-webhooks-api.js +20 -20
- package/dist/api/agents-api.d.ts +65 -0
- package/dist/api/agents-api.js +77 -0
- package/dist/api/oauth-api.d.ts +65 -0
- package/dist/api/oauth-api.js +72 -0
- package/dist/esm/api/admin-agents-api.d.ts +94 -4
- package/dist/esm/api/admin-agents-api.js +100 -10
- package/dist/esm/api/admin-mcp-api.d.ts +5 -5
- package/dist/esm/api/admin-mcp-api.js +4 -4
- package/dist/esm/api/admin-oauth-clients-api.d.ts +5 -5
- package/dist/esm/api/admin-oauth-clients-api.js +4 -4
- package/dist/esm/api/admin-sandbox-api.d.ts +5 -5
- package/dist/esm/api/admin-sandbox-api.js +4 -4
- package/dist/esm/api/admin-users-api.d.ts +27 -26
- package/dist/esm/api/admin-users-api.js +21 -20
- package/dist/esm/api/admin-webhooks-api.d.ts +25 -25
- package/dist/esm/api/admin-webhooks-api.js +20 -20
- package/dist/esm/api/agents-api.d.ts +65 -0
- package/dist/esm/api/agents-api.js +77 -0
- package/dist/esm/api/oauth-api.d.ts +65 -0
- package/dist/esm/api/oauth-api.js +73 -1
- package/dist/esm/models/abac-attribute-definition.d.ts +1 -1
- package/dist/esm/models/abac-resource-attribute.d.ts +1 -1
- package/dist/esm/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
- package/dist/esm/models/admin-agents-agents-rotate-key-request.js +14 -0
- package/dist/esm/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
- package/dist/esm/models/admin-agents-create-request.d.ts +8 -0
- package/dist/esm/models/admin-agents-report-usage-request.d.ts +30 -0
- package/dist/esm/models/admin-agents-report-usage-request.js +14 -0
- package/dist/esm/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
- package/dist/esm/models/admin-agents-report-usage-response-data-recorded.js +14 -0
- package/dist/esm/models/admin-agents-report-usage-response-data.d.ts +33 -0
- package/dist/esm/models/admin-agents-report-usage-response-data.js +14 -0
- package/dist/esm/models/admin-agents-report-usage-response.d.ts +25 -0
- package/dist/esm/models/admin-agents-report-usage-response.js +14 -0
- package/dist/esm/models/admin-audit-logs-retention-response-data.d.ts +21 -3
- package/dist/esm/models/admin-identities-link-request.d.ts +8 -1
- package/dist/esm/models/admin-identities-link-request.js +1 -0
- package/dist/esm/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
- package/dist/esm/models/admin-identities-list-response-data-bindings-item.js +1 -0
- package/dist/esm/models/admin-sandbox-spawn-response-data.d.ts +18 -0
- package/dist/esm/models/admin-sandbox-spawn-response-data.js +14 -0
- package/dist/esm/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
- package/dist/esm/models/admin-sandbox-spawn-response-data1.js +14 -0
- package/dist/esm/models/admin-sandbox-spawn-response.d.ts +3 -3
- package/dist/esm/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
- package/dist/esm/models/admin-webhooks-delivery-replay-response-data.js +14 -0
- package/dist/esm/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
- package/dist/esm/models/admin-webhooks-test-response.d.ts +6 -0
- package/dist/esm/models/attest-response-identity.d.ts +1 -1
- package/dist/esm/models/audit-log-entry.d.ts +1 -1
- package/dist/esm/models/authentication-settings-password-policy.d.ts +25 -1
- package/dist/esm/models/authentication-settings-password-rotation-policy.d.ts +1 -13
- package/dist/esm/models/authentication-settings.d.ts +13 -15
- package/dist/esm/models/authentication-settings.js +11 -0
- package/dist/esm/models/get-approval-status-response-approved-by.d.ts +2 -2
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/models/list-permissions-response-permissions-item.d.ts +1 -1
- package/dist/esm/models/oauth-client-secret-issued.d.ts +1 -1
- package/dist/esm/models/oauth-client.d.ts +6 -0
- package/dist/esm/models/push-enrollment-started.d.ts +1 -1
- package/dist/esm/models/put-admin-agents-update-request.d.ts +8 -0
- package/dist/esm/models/report-agent-usage-response.d.ts +33 -0
- package/dist/esm/models/report-agent-usage-response.js +14 -0
- package/dist/esm/models/request-magic-link-request.d.ts +42 -0
- package/dist/esm/models/request-magic-link-request.js +14 -0
- package/dist/esm/models/request-magic-link-response.d.ts +31 -0
- package/dist/esm/models/request-magic-link-response.js +21 -0
- package/dist/esm/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
- package/dist/esm/models/scim-settings-inbound.d.ts +0 -8
- package/dist/esm/models/scim-settings-outbound.d.ts +2 -10
- package/dist/esm/models/set-user-attribute-response-data.d.ts +1 -1
- package/dist/esm/models/userinfo-response.d.ts +8 -0
- package/dist/models/abac-attribute-definition.d.ts +1 -1
- package/dist/models/abac-resource-attribute.d.ts +1 -1
- package/dist/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
- package/dist/models/admin-agents-agents-rotate-key-request.js +15 -0
- package/dist/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
- package/dist/models/admin-agents-create-request.d.ts +8 -0
- package/dist/models/admin-agents-report-usage-request.d.ts +30 -0
- package/dist/models/admin-agents-report-usage-request.js +15 -0
- package/dist/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
- package/dist/models/admin-agents-report-usage-response-data-recorded.js +15 -0
- package/dist/models/admin-agents-report-usage-response-data.d.ts +33 -0
- package/dist/models/admin-agents-report-usage-response-data.js +15 -0
- package/dist/models/admin-agents-report-usage-response.d.ts +25 -0
- package/dist/models/admin-agents-report-usage-response.js +15 -0
- package/dist/models/admin-audit-logs-retention-response-data.d.ts +21 -3
- package/dist/models/admin-identities-link-request.d.ts +8 -1
- package/dist/models/admin-identities-link-request.js +1 -0
- package/dist/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
- package/dist/models/admin-identities-list-response-data-bindings-item.js +1 -0
- package/dist/models/admin-sandbox-spawn-response-data.d.ts +18 -0
- package/dist/models/admin-sandbox-spawn-response-data.js +15 -0
- package/dist/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
- package/dist/models/admin-sandbox-spawn-response-data1.js +15 -0
- package/dist/models/admin-sandbox-spawn-response.d.ts +3 -3
- package/dist/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
- package/dist/models/admin-webhooks-delivery-replay-response-data.js +15 -0
- package/dist/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
- package/dist/models/admin-webhooks-test-response.d.ts +6 -0
- package/dist/models/attest-response-identity.d.ts +1 -1
- package/dist/models/audit-log-entry.d.ts +1 -1
- package/dist/models/authentication-settings-password-policy.d.ts +25 -1
- package/dist/models/authentication-settings-password-rotation-policy.d.ts +1 -13
- package/dist/models/authentication-settings.d.ts +13 -15
- package/dist/models/authentication-settings.js +12 -1
- package/dist/models/get-approval-status-response-approved-by.d.ts +2 -2
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/models/list-permissions-response-permissions-item.d.ts +1 -1
- package/dist/models/oauth-client-secret-issued.d.ts +1 -1
- package/dist/models/oauth-client.d.ts +6 -0
- package/dist/models/push-enrollment-started.d.ts +1 -1
- package/dist/models/put-admin-agents-update-request.d.ts +8 -0
- package/dist/models/report-agent-usage-response.d.ts +33 -0
- package/dist/models/report-agent-usage-response.js +15 -0
- package/dist/models/request-magic-link-request.d.ts +42 -0
- package/dist/models/request-magic-link-request.js +15 -0
- package/dist/models/request-magic-link-response.d.ts +31 -0
- package/dist/models/request-magic-link-response.js +24 -0
- package/dist/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
- package/dist/models/scim-settings-inbound.d.ts +0 -8
- package/dist/models/scim-settings-outbound.d.ts +2 -10
- package/dist/models/set-user-attribute-response-data.d.ts +1 -1
- package/dist/models/userinfo-response.d.ts +8 -0
- package/docs/AAuthApi.md +1 -1
- package/docs/AdminAbacApi.md +1 -1
- package/docs/AdminAgentsAgentsRotateKeyRequest.md +22 -0
- package/docs/AdminAgentsAgentsRotateKeyResponse.md +2 -0
- package/docs/AdminAgentsApi.md +83 -8
- package/docs/AdminAgentsCreateRequest.md +2 -0
- package/docs/AdminAgentsReportUsageRequest.md +22 -0
- package/docs/AdminAgentsReportUsageResponse.md +20 -0
- package/docs/AdminAgentsReportUsageResponseData.md +22 -0
- package/docs/AdminAgentsReportUsageResponseDataRecorded.md +22 -0
- package/docs/AdminAuditLogsRetentionResponseData.md +9 -3
- package/docs/AdminIdentitiesLinkRequest.md +3 -1
- package/docs/AdminIdentitiesListResponseDataBindingsItem.md +2 -0
- package/docs/AdminMcpApi.md +2 -1
- package/docs/AdminOAuthClientsApi.md +2 -2
- package/docs/AdminSandboxApi.md +3 -1
- package/docs/AdminSandboxSpawnResponse.md +1 -1
- package/docs/AdminSandboxSpawnResponseData.md +32 -0
- package/docs/AdminSandboxSpawnResponseData1.md +20 -0
- package/docs/AdminUsersApi.md +8 -8
- package/docs/AdminWebhooksApi.md +7 -5
- package/docs/AdminWebhooksDeliveryReplayResponse.md +1 -1
- package/docs/AdminWebhooksDeliveryReplayResponseData.md +28 -0
- package/docs/AdminWebhooksTestResponse.md +2 -0
- package/docs/AgentsApi.md +64 -2
- package/docs/AttestResponseIdentity.md +1 -1
- package/docs/AuditLogEntry.md +1 -1
- package/docs/AuthenticationSettings.md +2 -6
- package/docs/AuthenticationSettingsPasswordPolicy.md +9 -0
- package/docs/AuthenticationSettingsPasswordRotationPolicy.md +1 -4
- package/docs/AuthorizationApi.md +1 -1
- package/docs/CreateClientResponseData.md +3 -1
- package/docs/EnrollAuthenticator201Response.md +1 -1
- package/docs/GetApprovalStatusResponseApprovedBy.md +1 -1
- package/docs/JitApi.md +3 -3
- package/docs/ListPermissionsResponsePermissionsItem.md +1 -1
- package/docs/OAuthApi.md +63 -2
- package/docs/OAuthClient.md +2 -0
- package/docs/OAuthClientSecretIssued.md +1 -1
- package/docs/OIDCApi.md +2 -2
- package/docs/PushEnrollmentStarted.md +1 -1
- package/docs/PutAdminAgentsUpdateRequest.md +2 -0
- package/docs/ReportAgentUsageResponse.md +22 -0
- package/docs/RequestMagicLinkRequest.md +26 -0
- package/docs/RequestMagicLinkResponse.md +20 -0
- package/docs/ScimSettingsInbound.md +0 -2
- package/docs/ScimSettingsInboundProtectedAttributes.md +3 -5
- package/docs/ScimSettingsOutbound.md +2 -4
- package/docs/TokenVaultApi.md +2 -2
- package/docs/UserinfoResponse.md +2 -0
- package/models/abac-attribute-definition.ts +1 -1
- package/models/abac-resource-attribute.ts +1 -1
- package/models/admin-agents-agents-rotate-key-request.ts +36 -0
- package/models/admin-agents-agents-rotate-key-response.ts +6 -0
- package/models/admin-agents-create-request.ts +6 -0
- package/models/admin-agents-report-usage-request.ts +36 -0
- package/models/admin-agents-report-usage-response-data-recorded.ts +36 -0
- package/models/admin-agents-report-usage-response-data.ts +39 -0
- package/models/admin-agents-report-usage-response.ts +33 -0
- package/models/admin-audit-logs-retention-response-data.ts +21 -3
- package/models/admin-identities-link-request.ts +8 -1
- package/models/admin-identities-list-response-data-bindings-item.ts +7 -0
- package/models/admin-sandbox-spawn-response-data.ts +29 -0
- package/models/admin-sandbox-spawn-response-data1.ts +30 -0
- package/models/admin-sandbox-spawn-response.ts +3 -3
- package/models/admin-webhooks-delivery-replay-response-data.ts +54 -0
- package/models/admin-webhooks-delivery-replay-response.ts +3 -3
- package/models/admin-webhooks-test-response.ts +6 -0
- package/models/attest-response-identity.ts +1 -1
- package/models/audit-log-entry.ts +1 -1
- package/models/authentication-settings-password-policy.ts +25 -1
- package/models/authentication-settings-password-rotation-policy.ts +1 -13
- package/models/authentication-settings.ts +13 -15
- package/models/get-approval-status-response-approved-by.ts +2 -2
- package/models/index.ts +11 -0
- package/models/list-permissions-response-permissions-item.ts +1 -1
- package/models/oauth-client-secret-issued.ts +1 -1
- package/models/oauth-client.ts +6 -0
- package/models/push-enrollment-started.ts +1 -1
- package/models/put-admin-agents-update-request.ts +6 -0
- package/models/report-agent-usage-response.ts +39 -0
- package/models/request-magic-link-request.ts +48 -0
- package/models/request-magic-link-response.ts +39 -0
- package/models/scim-settings-inbound-protected-attributes.ts +2 -10
- package/models/scim-settings-inbound.ts +0 -6
- package/models/scim-settings-outbound.ts +2 -8
- package/models/set-user-attribute-response-data.ts +1 -1
- package/models/userinfo-response.ts +6 -0
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -453,6 +456,49 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
453
456
|
options: localVarRequestOptions,
|
|
454
457
|
};
|
|
455
458
|
}),
|
|
459
|
+
/**
|
|
460
|
+
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
461
|
+
* @summary Report model tokens and cost for an agent
|
|
462
|
+
* @param {string} orgId
|
|
463
|
+
* @param {string} agentId
|
|
464
|
+
* @param {AdminAgentsReportUsageRequest} adminAgentsReportUsageRequest
|
|
465
|
+
* @param {*} [options] Override http request option.
|
|
466
|
+
* @throws {RequiredError}
|
|
467
|
+
*/
|
|
468
|
+
adminAgentsReportUsage: (orgId_1, agentId_1, adminAgentsReportUsageRequest_1, ...args_1) => __awaiter(this, [orgId_1, agentId_1, adminAgentsReportUsageRequest_1, ...args_1], void 0, function* (orgId, agentId, adminAgentsReportUsageRequest, options = {}) {
|
|
469
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
470
|
+
(0, common_1.assertParamExists)('adminAgentsReportUsage', 'orgId', orgId);
|
|
471
|
+
// verify required parameter 'agentId' is not null or undefined
|
|
472
|
+
(0, common_1.assertParamExists)('adminAgentsReportUsage', 'agentId', agentId);
|
|
473
|
+
// verify required parameter 'adminAgentsReportUsageRequest' is not null or undefined
|
|
474
|
+
(0, common_1.assertParamExists)('adminAgentsReportUsage', 'adminAgentsReportUsageRequest', adminAgentsReportUsageRequest);
|
|
475
|
+
const localVarPath = `/orgs/{orgId}/api/v1/admin/agents/{agentId}/usage`
|
|
476
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
477
|
+
.replace(`{${"agentId"}}`, encodeURIComponent(String(agentId)));
|
|
478
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
479
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
480
|
+
let baseOptions;
|
|
481
|
+
if (configuration) {
|
|
482
|
+
baseOptions = configuration.baseOptions;
|
|
483
|
+
}
|
|
484
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
485
|
+
const localVarHeaderParameter = {};
|
|
486
|
+
const localVarQueryParameter = {};
|
|
487
|
+
// authentication ApiKeyAuth required
|
|
488
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-Key", configuration);
|
|
489
|
+
// authentication BearerAuth required
|
|
490
|
+
// http bearer authentication required
|
|
491
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
492
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
493
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
494
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
495
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
496
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminAgentsReportUsageRequest, localVarRequestOptions, configuration);
|
|
497
|
+
return {
|
|
498
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
499
|
+
options: localVarRequestOptions,
|
|
500
|
+
};
|
|
501
|
+
}),
|
|
456
502
|
/**
|
|
457
503
|
*
|
|
458
504
|
* @summary Revoke agent API key (nullify it so it can no longer authenticate)
|
|
@@ -496,10 +542,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
496
542
|
* @summary Rotate agent credentials
|
|
497
543
|
* @param {string} orgId
|
|
498
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).
|
|
499
546
|
* @param {*} [options] Override http request option.
|
|
500
547
|
* @throws {RequiredError}
|
|
501
548
|
*/
|
|
502
|
-
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 = {}) {
|
|
503
550
|
// verify required parameter 'orgId' is not null or undefined
|
|
504
551
|
(0, common_1.assertParamExists)('adminAgentsRotateCredentials', 'orgId', orgId);
|
|
505
552
|
// verify required parameter 'agentId' is not null or undefined
|
|
@@ -521,9 +568,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
521
568
|
// authentication BearerAuth required
|
|
522
569
|
// http bearer authentication required
|
|
523
570
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
571
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
524
572
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
525
573
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
526
574
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
575
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminAgentsAgentsRotateKeyRequest, localVarRequestOptions, configuration);
|
|
527
576
|
return {
|
|
528
577
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
529
578
|
options: localVarRequestOptions,
|
|
@@ -724,13 +773,14 @@ const AdminAgentsApiFp = function (configuration) {
|
|
|
724
773
|
* @summary Rotate agent API key
|
|
725
774
|
* @param {string} orgId
|
|
726
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).
|
|
727
777
|
* @param {*} [options] Override http request option.
|
|
728
778
|
* @throws {RequiredError}
|
|
729
779
|
*/
|
|
730
|
-
adminAgentsAgentsRotateKey(orgId, agentId, options) {
|
|
780
|
+
adminAgentsAgentsRotateKey(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options) {
|
|
731
781
|
return __awaiter(this, void 0, void 0, function* () {
|
|
732
782
|
var _a, _b, _c;
|
|
733
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, options);
|
|
783
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
|
|
734
784
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
735
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;
|
|
736
786
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -855,6 +905,24 @@ const AdminAgentsApiFp = function (configuration) {
|
|
|
855
905
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
856
906
|
});
|
|
857
907
|
},
|
|
908
|
+
/**
|
|
909
|
+
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
910
|
+
* @summary Report model tokens and cost for an agent
|
|
911
|
+
* @param {string} orgId
|
|
912
|
+
* @param {string} agentId
|
|
913
|
+
* @param {AdminAgentsReportUsageRequest} adminAgentsReportUsageRequest
|
|
914
|
+
* @param {*} [options] Override http request option.
|
|
915
|
+
* @throws {RequiredError}
|
|
916
|
+
*/
|
|
917
|
+
adminAgentsReportUsage(orgId, agentId, adminAgentsReportUsageRequest, options) {
|
|
918
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
919
|
+
var _a, _b, _c;
|
|
920
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsReportUsage(orgId, agentId, adminAgentsReportUsageRequest, options);
|
|
921
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
922
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAgentsApi.adminAgentsReportUsage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
923
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
924
|
+
});
|
|
925
|
+
},
|
|
858
926
|
/**
|
|
859
927
|
*
|
|
860
928
|
* @summary Revoke agent API key (nullify it so it can no longer authenticate)
|
|
@@ -877,13 +945,14 @@ const AdminAgentsApiFp = function (configuration) {
|
|
|
877
945
|
* @summary Rotate agent credentials
|
|
878
946
|
* @param {string} orgId
|
|
879
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).
|
|
880
949
|
* @param {*} [options] Override http request option.
|
|
881
950
|
* @throws {RequiredError}
|
|
882
951
|
*/
|
|
883
|
-
adminAgentsRotateCredentials(orgId, agentId, options) {
|
|
952
|
+
adminAgentsRotateCredentials(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options) {
|
|
884
953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
885
954
|
var _a, _b, _c;
|
|
886
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, options);
|
|
955
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
|
|
887
956
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
888
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;
|
|
889
958
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -991,7 +1060,7 @@ const AdminAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
991
1060
|
* @throws {RequiredError}
|
|
992
1061
|
*/
|
|
993
1062
|
adminAgentsAgentsRotateKey(requestParameters, options) {
|
|
994
|
-
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));
|
|
995
1064
|
},
|
|
996
1065
|
/**
|
|
997
1066
|
*
|
|
@@ -1063,6 +1132,16 @@ const AdminAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1063
1132
|
adminAgentsList(requestParameters, options) {
|
|
1064
1133
|
return localVarFp.adminAgentsList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
1065
1134
|
},
|
|
1135
|
+
/**
|
|
1136
|
+
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
1137
|
+
* @summary Report model tokens and cost for an agent
|
|
1138
|
+
* @param {AdminAgentsApiAdminAgentsReportUsageRequest} requestParameters Request parameters.
|
|
1139
|
+
* @param {*} [options] Override http request option.
|
|
1140
|
+
* @throws {RequiredError}
|
|
1141
|
+
*/
|
|
1142
|
+
adminAgentsReportUsage(requestParameters, options) {
|
|
1143
|
+
return localVarFp.adminAgentsReportUsage(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsReportUsageRequest, options).then((request) => request(axios, basePath));
|
|
1144
|
+
},
|
|
1066
1145
|
/**
|
|
1067
1146
|
*
|
|
1068
1147
|
* @summary Revoke agent API key (nullify it so it can no longer authenticate)
|
|
@@ -1081,7 +1160,7 @@ const AdminAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1081
1160
|
* @throws {RequiredError}
|
|
1082
1161
|
*/
|
|
1083
1162
|
adminAgentsRotateCredentials(requestParameters, options) {
|
|
1084
|
-
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));
|
|
1085
1164
|
},
|
|
1086
1165
|
/**
|
|
1087
1166
|
*
|
|
@@ -1165,7 +1244,7 @@ class AdminAgentsApi extends base_1.BaseAPI {
|
|
|
1165
1244
|
* @memberof AdminAgentsApi
|
|
1166
1245
|
*/
|
|
1167
1246
|
adminAgentsAgentsRotateKey(requestParameters, options) {
|
|
1168
|
-
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));
|
|
1169
1248
|
}
|
|
1170
1249
|
/**
|
|
1171
1250
|
*
|
|
@@ -1244,6 +1323,17 @@ class AdminAgentsApi extends base_1.BaseAPI {
|
|
|
1244
1323
|
adminAgentsList(requestParameters, options) {
|
|
1245
1324
|
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
1246
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
1328
|
+
* @summary Report model tokens and cost for an agent
|
|
1329
|
+
* @param {AdminAgentsApiAdminAgentsReportUsageRequest} requestParameters Request parameters.
|
|
1330
|
+
* @param {*} [options] Override http request option.
|
|
1331
|
+
* @throws {RequiredError}
|
|
1332
|
+
* @memberof AdminAgentsApi
|
|
1333
|
+
*/
|
|
1334
|
+
adminAgentsReportUsage(requestParameters, options) {
|
|
1335
|
+
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsReportUsage(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsReportUsageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1336
|
+
}
|
|
1247
1337
|
/**
|
|
1248
1338
|
*
|
|
1249
1339
|
* @summary Revoke agent API key (nullify it so it can no longer authenticate)
|
|
@@ -1264,7 +1354,7 @@ class AdminAgentsApi extends base_1.BaseAPI {
|
|
|
1264
1354
|
* @memberof AdminAgentsApi
|
|
1265
1355
|
*/
|
|
1266
1356
|
adminAgentsRotateCredentials(requestParameters, options) {
|
|
1267
|
-
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));
|
|
1268
1358
|
}
|
|
1269
1359
|
/**
|
|
1270
1360
|
*
|
|
@@ -22,7 +22,7 @@ import type { MessageResponse } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const AdminMcpApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* Body:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|