@lumoauth/api-client 1.4.0 → 1.6.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 +24 -2
- package/README.md +20 -6
- package/api/admin-abac-api.ts +18 -5
- package/api/admin-agents-api.ts +86 -15
- package/api/admin-audit-logs-api.ts +15 -15
- package/api/admin-email-api.ts +15 -15
- package/api/admin-groups-api.ts +15 -15
- package/api/admin-mcp-api.ts +5 -5
- package/api/admin-mfa-api.ts +10 -10
- package/api/admin-oauth-clients-api.ts +20 -20
- package/api/admin-roles-api.ts +20 -20
- package/api/admin-sandbox-api.ts +5 -5
- package/api/admin-settings-api.ts +112 -60
- package/api/admin-users-api.ts +347 -57
- package/api/admin-webhooks-api.ts +25 -25
- package/api/agents-api.ts +5 -5
- package/api/authorization-api.ts +20 -20
- package/api/oauth-api.ts +227 -5
- package/api/ssf-api.ts +10 -10
- package/dist/api/admin-abac-api.d.ts +10 -2
- package/dist/api/admin-abac-api.js +10 -5
- package/dist/api/admin-agents-api.d.ts +58 -6
- package/dist/api/admin-agents-api.js +55 -16
- package/dist/api/admin-audit-logs-api.d.ts +15 -15
- package/dist/api/admin-audit-logs-api.js +12 -12
- package/dist/api/admin-email-api.d.ts +15 -15
- package/dist/api/admin-email-api.js +12 -12
- package/dist/api/admin-groups-api.d.ts +15 -15
- package/dist/api/admin-groups-api.js +12 -12
- package/dist/api/admin-mcp-api.d.ts +5 -5
- package/dist/api/admin-mcp-api.js +4 -4
- package/dist/api/admin-mfa-api.d.ts +10 -10
- package/dist/api/admin-mfa-api.js +8 -8
- package/dist/api/admin-oauth-clients-api.d.ts +20 -20
- package/dist/api/admin-oauth-clients-api.js +16 -16
- package/dist/api/admin-roles-api.d.ts +20 -20
- package/dist/api/admin-roles-api.js +16 -16
- package/dist/api/admin-sandbox-api.d.ts +5 -5
- package/dist/api/admin-sandbox-api.js +4 -4
- package/dist/api/admin-settings-api.d.ts +82 -48
- package/dist/api/admin-settings-api.js +68 -52
- package/dist/api/admin-users-api.d.ts +228 -48
- package/dist/api/admin-users-api.js +206 -48
- 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 +5 -5
- package/dist/api/agents-api.js +4 -4
- package/dist/api/authorization-api.d.ts +20 -20
- package/dist/api/authorization-api.js +16 -16
- package/dist/api/oauth-api.d.ts +135 -5
- package/dist/api/oauth-api.js +148 -4
- package/dist/api/ssf-api.d.ts +10 -10
- package/dist/api/ssf-api.js +8 -8
- package/dist/esm/api/admin-abac-api.d.ts +10 -2
- package/dist/esm/api/admin-abac-api.js +10 -5
- package/dist/esm/api/admin-agents-api.d.ts +58 -6
- package/dist/esm/api/admin-agents-api.js +54 -15
- package/dist/esm/api/admin-audit-logs-api.d.ts +15 -15
- package/dist/esm/api/admin-audit-logs-api.js +12 -12
- package/dist/esm/api/admin-email-api.d.ts +15 -15
- package/dist/esm/api/admin-email-api.js +12 -12
- package/dist/esm/api/admin-groups-api.d.ts +15 -15
- package/dist/esm/api/admin-groups-api.js +12 -12
- 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-mfa-api.d.ts +10 -10
- package/dist/esm/api/admin-mfa-api.js +8 -8
- package/dist/esm/api/admin-oauth-clients-api.d.ts +20 -20
- package/dist/esm/api/admin-oauth-clients-api.js +16 -16
- package/dist/esm/api/admin-roles-api.d.ts +20 -20
- package/dist/esm/api/admin-roles-api.js +16 -16
- 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-settings-api.d.ts +82 -48
- package/dist/esm/api/admin-settings-api.js +69 -53
- package/dist/esm/api/admin-users-api.d.ts +228 -48
- package/dist/esm/api/admin-users-api.js +205 -47
- 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 +5 -5
- package/dist/esm/api/agents-api.js +4 -4
- package/dist/esm/api/authorization-api.d.ts +20 -20
- package/dist/esm/api/authorization-api.js +16 -16
- package/dist/esm/api/oauth-api.d.ts +135 -5
- package/dist/esm/api/oauth-api.js +149 -5
- package/dist/esm/api/ssf-api.d.ts +10 -10
- package/dist/esm/api/ssf-api.js +8 -8
- package/dist/esm/models/abac-attribute-definition.d.ts +6 -0
- package/dist/esm/models/abac-policy.d.ts +7 -1
- package/dist/esm/models/admin-agents-agents-rotate-key-request.d.ts +30 -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-analytics-dashboard-response-data-audit.d.ts +1 -1
- package/dist/esm/models/admin-audit-logs-retention-response-data.d.ts +21 -3
- package/dist/esm/models/admin-groups-list-response.d.ts +6 -0
- 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-mcp-servers-list-response.d.ts +8 -3
- 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-settings-all-response-data-general.d.ts +13 -1
- package/dist/esm/models/admin-settings-all-response-data.d.ts +4 -5
- package/dist/esm/models/admin-settings-email-get-response.d.ts +4 -5
- package/dist/esm/models/admin-settings-general-get-response-data.d.ts +4 -10
- package/dist/esm/models/{admin-mcp-servers-list-response-meta.d.ts → admin-users-restore-response.d.ts} +9 -14
- package/dist/esm/models/admin-users-restore-response.js +14 -0
- 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/ask-response.d.ts +15 -0
- package/dist/esm/models/ask-response.js +10 -1
- package/dist/esm/models/attest-response-identity.d.ts +1 -1
- package/dist/esm/models/attest-response.d.ts +2 -2
- 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/authorization-server-metadata.d.ts +8 -2
- package/dist/esm/models/check-email-first-request.d.ts +30 -0
- package/dist/esm/models/check-email-first-request.js +14 -0
- package/dist/esm/models/check-email-first-response.d.ts +42 -0
- package/dist/esm/models/check-email-first-response.js +14 -0
- package/dist/esm/models/email-sender-settings.d.ts +62 -0
- package/dist/esm/models/email-sender-settings.js +22 -0
- package/dist/esm/models/get-approval-status-response-approved-by.d.ts +2 -2
- package/dist/esm/models/get-me-response.d.ts +18 -0
- package/dist/esm/models/get-server-challenge-response.d.ts +3 -2
- package/dist/esm/models/get-server-challenge-response.js +1 -0
- package/dist/esm/models/index.d.ts +12 -1
- package/dist/esm/models/index.js +12 -1
- package/dist/esm/models/introspect-response.d.ts +6 -0
- package/dist/esm/models/issue-agent-token-request.d.ts +6 -0
- package/dist/esm/models/list-permissions-response-permissions-item.d.ts +1 -1
- package/dist/esm/models/list-users-response.d.ts +6 -0
- 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/oauth-scope.d.ts +1 -7
- package/dist/esm/models/open-id-configuration.d.ts +3 -3
- 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/put-admin-settings-branding-update-response.d.ts +6 -0
- package/dist/esm/models/put-admin-settings-email-update-request.d.ts +36 -0
- package/dist/esm/models/put-admin-settings-email-update-request.js +14 -0
- package/dist/esm/models/put-admin-settings-email-update-response.d.ts +4 -5
- package/dist/esm/models/put-admin-settings-general-update-request.d.ts +30 -0
- package/dist/esm/models/put-admin-settings-general-update-request.js +14 -0
- package/dist/esm/models/put-admin-settings-general-update-response-data.d.ts +1 -7
- package/dist/esm/models/register-client-response.d.ts +0 -24
- package/dist/esm/models/registered-client-metadata.d.ts +0 -24
- 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/social-login-provider.d.ts +2 -1
- package/dist/esm/models/user.d.ts +12 -0
- package/dist/esm/models/userinfo-response.d.ts +4 -12
- package/dist/esm/models/userinfo-response.js +0 -2
- package/dist/models/abac-attribute-definition.d.ts +6 -0
- package/dist/models/abac-policy.d.ts +7 -1
- package/dist/models/admin-agents-agents-rotate-key-request.d.ts +30 -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-analytics-dashboard-response-data-audit.d.ts +1 -1
- package/dist/models/admin-audit-logs-retention-response-data.d.ts +21 -3
- package/dist/models/admin-groups-list-response.d.ts +6 -0
- 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-mcp-servers-list-response.d.ts +8 -3
- 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-settings-all-response-data-general.d.ts +13 -1
- package/dist/models/admin-settings-all-response-data.d.ts +4 -5
- package/dist/models/admin-settings-email-get-response.d.ts +4 -5
- package/dist/models/admin-settings-general-get-response-data.d.ts +4 -10
- package/dist/models/{admin-mcp-servers-list-response-meta.d.ts → admin-users-restore-response.d.ts} +9 -14
- package/dist/models/admin-users-restore-response.js +15 -0
- 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/ask-response.d.ts +15 -0
- package/dist/models/ask-response.js +11 -0
- package/dist/models/attest-response-identity.d.ts +1 -1
- package/dist/models/attest-response.d.ts +2 -2
- 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/authorization-server-metadata.d.ts +8 -2
- package/dist/models/check-email-first-request.d.ts +30 -0
- package/dist/models/check-email-first-request.js +15 -0
- package/dist/models/check-email-first-response.d.ts +42 -0
- package/dist/models/check-email-first-response.js +15 -0
- package/dist/models/email-sender-settings.d.ts +62 -0
- package/dist/models/email-sender-settings.js +25 -0
- package/dist/models/get-approval-status-response-approved-by.d.ts +2 -2
- package/dist/models/get-me-response.d.ts +18 -0
- package/dist/models/get-server-challenge-response.d.ts +3 -2
- package/dist/models/get-server-challenge-response.js +1 -0
- package/dist/models/index.d.ts +12 -1
- package/dist/models/index.js +12 -1
- package/dist/models/introspect-response.d.ts +6 -0
- package/dist/models/issue-agent-token-request.d.ts +6 -0
- package/dist/models/list-permissions-response-permissions-item.d.ts +1 -1
- package/dist/models/list-users-response.d.ts +6 -0
- package/dist/models/oauth-client-secret-issued.d.ts +1 -1
- package/dist/models/oauth-client.d.ts +6 -0
- package/dist/models/oauth-scope.d.ts +1 -7
- package/dist/models/open-id-configuration.d.ts +3 -3
- 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/put-admin-settings-branding-update-response.d.ts +6 -0
- package/dist/models/put-admin-settings-email-update-request.d.ts +36 -0
- package/dist/models/put-admin-settings-email-update-request.js +15 -0
- package/dist/models/put-admin-settings-email-update-response.d.ts +4 -5
- package/dist/models/put-admin-settings-general-update-request.d.ts +30 -0
- package/dist/models/put-admin-settings-general-update-request.js +15 -0
- package/dist/models/put-admin-settings-general-update-response-data.d.ts +1 -7
- package/dist/models/register-client-response.d.ts +0 -24
- package/dist/models/registered-client-metadata.d.ts +0 -24
- 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/social-login-provider.d.ts +2 -1
- package/dist/models/user.d.ts +12 -0
- package/dist/models/userinfo-response.d.ts +4 -12
- package/dist/models/userinfo-response.js +0 -2
- package/docs/AAuthApi.md +1 -1
- package/docs/AbacAttributeDefinition.md +2 -0
- package/docs/AbacPolicy.md +3 -1
- package/docs/AdminAbacApi.md +14 -9
- package/docs/AdminAgentsAgentsRotateKeyRequest.md +22 -0
- package/docs/AdminAgentsAgentsRotateKeyResponse.md +2 -0
- package/docs/AdminAgentsApi.md +27 -9
- package/docs/AdminAgentsCreateRequest.md +2 -0
- package/docs/AdminAnalyticsDashboardResponseDataAudit.md +1 -1
- package/docs/AdminAuditLogsApi.md +3 -0
- package/docs/AdminAuditLogsRetentionResponseData.md +9 -3
- package/docs/AdminEmailApi.md +3 -0
- package/docs/AdminGroupsApi.md +3 -0
- package/docs/AdminGroupsListResponse.md +2 -0
- package/docs/AdminIdentitiesLinkRequest.md +3 -1
- package/docs/AdminIdentitiesListResponseDataBindingsItem.md +2 -0
- package/docs/AdminMcpApi.md +2 -1
- package/docs/AdminMcpServersListResponse.md +3 -1
- package/docs/AdminMfaApi.md +4 -2
- package/docs/AdminOAuthClientsApi.md +5 -3
- package/docs/AdminOrganizationsApi.md +13 -5
- package/docs/AdminRolesApi.md +10 -0
- 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/AdminSettingsAllResponseData.md +1 -1
- package/docs/AdminSettingsAllResponseDataGeneral.md +5 -1
- package/docs/AdminSettingsApi.md +54 -12
- package/docs/AdminSettingsEmailGetResponse.md +1 -1
- package/docs/AdminSettingsGeneralGetResponseData.md +4 -6
- package/docs/AdminUsersApi.md +112 -10
- package/docs/AdminUsersRestoreResponse.md +22 -0
- 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 +8 -5
- package/docs/AskResponse.md +2 -0
- package/docs/AttestResponse.md +1 -1
- 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 +5 -5
- package/docs/AuthorizationServerMetadata.md +4 -2
- package/docs/CheckEmailFirstRequest.md +22 -0
- package/docs/CheckEmailFirstResponse.md +26 -0
- package/docs/CreateClientResponseData.md +3 -1
- package/docs/EmailSenderSettings.md +31 -0
- package/docs/EnrollAuthenticator201Response.md +1 -1
- package/docs/GetApprovalStatusResponseApprovedBy.md +1 -1
- package/docs/GetMeResponse.md +6 -0
- package/docs/GetServerChallengeResponse.md +1 -1
- package/docs/IdentityApi.md +2 -2
- package/docs/IntrospectResponse.md +2 -0
- package/docs/IssueAgentTokenRequest.md +2 -0
- package/docs/JitApi.md +3 -3
- package/docs/ListPermissionsResponsePermissionsItem.md +1 -1
- package/docs/ListUsersResponse.md +2 -0
- package/docs/McpApi.md +5 -6
- package/docs/OAuthApi.md +135 -14
- package/docs/OAuthClient.md +2 -0
- package/docs/OAuthClientSecretIssued.md +1 -1
- package/docs/OAuthScope.md +1 -3
- package/docs/OIDCApi.md +4 -4
- package/docs/OpenIdConfiguration.md +3 -3
- package/docs/PushEnrollmentStarted.md +1 -1
- package/docs/PutAdminAgentsUpdateRequest.md +2 -0
- package/docs/PutAdminSettingsBrandingUpdateResponse.md +2 -0
- package/docs/PutAdminSettingsEmailUpdateRequest.md +24 -0
- package/docs/PutAdminSettingsEmailUpdateResponse.md +1 -1
- package/docs/PutAdminSettingsGeneralUpdateRequest.md +22 -0
- package/docs/PutAdminSettingsGeneralUpdateResponseData.md +1 -3
- package/docs/RegisterClientResponse.md +0 -8
- package/docs/RegisteredClientMetadata.md +0 -8
- 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/SocialLoginProvider.md +1 -1
- package/docs/SsfApi.md +2 -0
- package/docs/TokenVaultApi.md +2 -2
- package/docs/User.md +4 -0
- package/docs/UserinfoResponse.md +3 -5
- package/docs/WellKnownApi.md +2 -2
- package/models/abac-attribute-definition.ts +6 -0
- package/models/abac-policy.ts +7 -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-analytics-dashboard-response-data-audit.ts +1 -1
- package/models/admin-audit-logs-retention-response-data.ts +21 -3
- package/models/admin-groups-list-response.ts +6 -0
- package/models/admin-identities-link-request.ts +8 -1
- package/models/admin-identities-list-response-data-bindings-item.ts +7 -0
- package/models/admin-mcp-servers-list-response.ts +8 -5
- 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-settings-all-response-data-general.ts +13 -1
- package/models/admin-settings-all-response-data.ts +6 -3
- package/models/admin-settings-email-get-response.ts +6 -3
- package/models/admin-settings-general-get-response-data.ts +4 -10
- package/models/{admin-mcp-servers-list-response-meta.ts → admin-users-restore-response.ts} +11 -14
- 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/ask-response.ts +17 -0
- package/models/attest-response-identity.ts +1 -1
- package/models/attest-response.ts +2 -2
- 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/authorization-server-metadata.ts +8 -2
- package/models/check-email-first-request.ts +36 -0
- package/models/check-email-first-response.ts +48 -0
- package/models/email-sender-settings.ts +70 -0
- package/models/get-approval-status-response-approved-by.ts +2 -2
- package/models/get-me-response.ts +18 -0
- package/models/get-server-challenge-response.ts +3 -2
- package/models/index.ts +12 -1
- package/models/introspect-response.ts +6 -0
- package/models/issue-agent-token-request.ts +6 -0
- package/models/list-permissions-response-permissions-item.ts +1 -1
- package/models/list-users-response.ts +6 -0
- package/models/oauth-client-secret-issued.ts +1 -1
- package/models/oauth-client.ts +6 -0
- package/models/oauth-scope.ts +1 -7
- package/models/open-id-configuration.ts +3 -3
- package/models/push-enrollment-started.ts +1 -1
- package/models/put-admin-agents-update-request.ts +6 -0
- package/models/put-admin-settings-branding-update-response.ts +6 -0
- package/models/put-admin-settings-email-update-request.ts +42 -0
- package/models/put-admin-settings-email-update-response.ts +6 -3
- package/models/put-admin-settings-general-update-request.ts +36 -0
- package/models/put-admin-settings-general-update-response-data.ts +1 -7
- package/models/register-client-response.ts +0 -24
- package/models/registered-client-metadata.ts +0 -24
- 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/social-login-provider.ts +2 -1
- package/models/user.ts +12 -0
- package/models/userinfo-response.ts +4 -12
- package/package.json +1 -1
- package/docs/AdminMcpServersListResponseMeta.md +0 -24
- /package/dist/esm/models/{admin-mcp-servers-list-response-meta.js → admin-agents-agents-rotate-key-request.js} +0 -0
- /package/dist/models/{admin-mcp-servers-list-response-meta.js → admin-agents-agents-rotate-key-request.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -52,6 +52,7 @@ docs/AdminAbacApi.md
|
|
|
52
52
|
docs/AdminAgentsActivateResponse.md
|
|
53
53
|
docs/AdminAgentsAgentsDisableResponse.md
|
|
54
54
|
docs/AdminAgentsAgentsEnableResponse.md
|
|
55
|
+
docs/AdminAgentsAgentsRotateKeyRequest.md
|
|
55
56
|
docs/AdminAgentsAgentsRotateKeyResponse.md
|
|
56
57
|
docs/AdminAgentsApi.md
|
|
57
58
|
docs/AdminAgentsCreateRequest.md
|
|
@@ -129,7 +130,6 @@ docs/AdminMcpApi.md
|
|
|
129
130
|
docs/AdminMcpServersCreateResponse.md
|
|
130
131
|
docs/AdminMcpServersGetResponse.md
|
|
131
132
|
docs/AdminMcpServersListResponse.md
|
|
132
|
-
docs/AdminMcpServersListResponseMeta.md
|
|
133
133
|
docs/AdminMfaApi.md
|
|
134
134
|
docs/AdminOAuthClientsApi.md
|
|
135
135
|
docs/AdminOrgInvitationsCreateResponse.md
|
|
@@ -159,6 +159,8 @@ docs/AdminSandboxApi.md
|
|
|
159
159
|
docs/AdminSandboxListResponse.md
|
|
160
160
|
docs/AdminSandboxSpawnRequest.md
|
|
161
161
|
docs/AdminSandboxSpawnResponse.md
|
|
162
|
+
docs/AdminSandboxSpawnResponseData.md
|
|
163
|
+
docs/AdminSandboxSpawnResponseData1.md
|
|
162
164
|
docs/AdminScopesCreateResponse.md
|
|
163
165
|
docs/AdminScopesListResponse.md
|
|
164
166
|
docs/AdminScopesListResponseMeta.md
|
|
@@ -198,12 +200,14 @@ docs/AdminUserSessionsRevokePostResponse.md
|
|
|
198
200
|
docs/AdminUserTokensRevokeAllResponse.md
|
|
199
201
|
docs/AdminUserTokensRevokePostResponse.md
|
|
200
202
|
docs/AdminUsersApi.md
|
|
203
|
+
docs/AdminUsersRestoreResponse.md
|
|
201
204
|
docs/AdminWebhooksApi.md
|
|
202
205
|
docs/AdminWebhooksCreateResponse.md
|
|
203
206
|
docs/AdminWebhooksCreateResponseData.md
|
|
204
207
|
docs/AdminWebhooksDeliveriesListResponse.md
|
|
205
208
|
docs/AdminWebhooksDeliveriesListResponseMeta.md
|
|
206
209
|
docs/AdminWebhooksDeliveryReplayResponse.md
|
|
210
|
+
docs/AdminWebhooksDeliveryReplayResponseData.md
|
|
207
211
|
docs/AdminWebhooksDeliveryShowResponse.md
|
|
208
212
|
docs/AdminWebhooksDeliveryShowResponseData.md
|
|
209
213
|
docs/AdminWebhooksDeliveryShowResponseData1AttemptsItem.md
|
|
@@ -246,6 +250,8 @@ docs/CheckAbacBulkResponseResultsItem.md
|
|
|
246
250
|
docs/CheckAbacResponse.md
|
|
247
251
|
docs/CheckAbacResponseMatchedPoliciesItem.md
|
|
248
252
|
docs/CheckAnyPermissionResponse.md
|
|
253
|
+
docs/CheckEmailFirstRequest.md
|
|
254
|
+
docs/CheckEmailFirstResponse.md
|
|
249
255
|
docs/CheckPermissionResponse.md
|
|
250
256
|
docs/CheckPermissionsBulkResponse.md
|
|
251
257
|
docs/CheckRelationResponse.md
|
|
@@ -269,6 +275,7 @@ docs/DenyRequestRequest.md
|
|
|
269
275
|
docs/DenyRequestResponse.md
|
|
270
276
|
docs/DeviceAuthorizationResponse.md
|
|
271
277
|
docs/EmailEnrollmentStarted.md
|
|
278
|
+
docs/EmailSenderSettings.md
|
|
272
279
|
docs/EmailTemplate.md
|
|
273
280
|
docs/EnrollAuthenticator201Response.md
|
|
274
281
|
docs/EnrollAuthenticatorRequest.md
|
|
@@ -395,7 +402,9 @@ docs/PutAdminClientsUpdateBrandingResponse.md
|
|
|
395
402
|
docs/PutAdminOrgMembersUpdateResponse.md
|
|
396
403
|
docs/PutAdminSettingsAuthenticationUpdateResponse.md
|
|
397
404
|
docs/PutAdminSettingsBrandingUpdateResponse.md
|
|
405
|
+
docs/PutAdminSettingsEmailUpdateRequest.md
|
|
398
406
|
docs/PutAdminSettingsEmailUpdateResponse.md
|
|
407
|
+
docs/PutAdminSettingsGeneralUpdateRequest.md
|
|
399
408
|
docs/PutAdminSettingsGeneralUpdateResponse.md
|
|
400
409
|
docs/PutAdminSettingsGeneralUpdateResponseData.md
|
|
401
410
|
docs/PutAdminSettingsScimUpdateResponse.md
|
|
@@ -410,6 +419,8 @@ docs/RemoveUserGroupResponse.md
|
|
|
410
419
|
docs/RemoveUserPermissionResponse.md
|
|
411
420
|
docs/RemoveUserRoleResponse.md
|
|
412
421
|
docs/ReportAgentUsageResponse.md
|
|
422
|
+
docs/RequestMagicLinkRequest.md
|
|
423
|
+
docs/RequestMagicLinkResponse.md
|
|
413
424
|
docs/RequestPermissionRequest.md
|
|
414
425
|
docs/RequestPermissionResponse.md
|
|
415
426
|
docs/RevokeAgentTokenRequest.md
|
|
@@ -485,6 +496,7 @@ models/add-user-role-response.ts
|
|
|
485
496
|
models/admin-agents-activate-response.ts
|
|
486
497
|
models/admin-agents-agents-disable-response.ts
|
|
487
498
|
models/admin-agents-agents-enable-response.ts
|
|
499
|
+
models/admin-agents-agents-rotate-key-request.ts
|
|
488
500
|
models/admin-agents-agents-rotate-key-response.ts
|
|
489
501
|
models/admin-agents-create-request.ts
|
|
490
502
|
models/admin-agents-create-response.ts
|
|
@@ -555,7 +567,6 @@ models/admin-identities-list-response-data.ts
|
|
|
555
567
|
models/admin-identities-list-response.ts
|
|
556
568
|
models/admin-mcp-servers-create-response.ts
|
|
557
569
|
models/admin-mcp-servers-get-response.ts
|
|
558
|
-
models/admin-mcp-servers-list-response-meta.ts
|
|
559
570
|
models/admin-mcp-servers-list-response.ts
|
|
560
571
|
models/admin-org-invitations-create-response.ts
|
|
561
572
|
models/admin-org-invitations-list-response.ts
|
|
@@ -579,6 +590,8 @@ models/admin-roles-get-users-response.ts
|
|
|
579
590
|
models/admin-roles-list-response.ts
|
|
580
591
|
models/admin-sandbox-list-response.ts
|
|
581
592
|
models/admin-sandbox-spawn-request.ts
|
|
593
|
+
models/admin-sandbox-spawn-response-data.ts
|
|
594
|
+
models/admin-sandbox-spawn-response-data1.ts
|
|
582
595
|
models/admin-sandbox-spawn-response.ts
|
|
583
596
|
models/admin-scopes-create-response.ts
|
|
584
597
|
models/admin-scopes-list-response-meta.ts
|
|
@@ -616,10 +629,12 @@ models/admin-user-sessions-revoke-all-response.ts
|
|
|
616
629
|
models/admin-user-sessions-revoke-post-response.ts
|
|
617
630
|
models/admin-user-tokens-revoke-all-response.ts
|
|
618
631
|
models/admin-user-tokens-revoke-post-response.ts
|
|
632
|
+
models/admin-users-restore-response.ts
|
|
619
633
|
models/admin-webhooks-create-response-data.ts
|
|
620
634
|
models/admin-webhooks-create-response.ts
|
|
621
635
|
models/admin-webhooks-deliveries-list-response-meta.ts
|
|
622
636
|
models/admin-webhooks-deliveries-list-response.ts
|
|
637
|
+
models/admin-webhooks-delivery-replay-response-data.ts
|
|
623
638
|
models/admin-webhooks-delivery-replay-response.ts
|
|
624
639
|
models/admin-webhooks-delivery-show-response-data.ts
|
|
625
640
|
models/admin-webhooks-delivery-show-response-data1-attempts-item.ts
|
|
@@ -661,6 +676,8 @@ models/check-abac-bulk-response.ts
|
|
|
661
676
|
models/check-abac-response-matched-policies-item.ts
|
|
662
677
|
models/check-abac-response.ts
|
|
663
678
|
models/check-any-permission-response.ts
|
|
679
|
+
models/check-email-first-request.ts
|
|
680
|
+
models/check-email-first-response.ts
|
|
664
681
|
models/check-permission-response.ts
|
|
665
682
|
models/check-permissions-bulk-response.ts
|
|
666
683
|
models/check-relation-response.ts
|
|
@@ -684,6 +701,7 @@ models/deny-request-request.ts
|
|
|
684
701
|
models/deny-request-response.ts
|
|
685
702
|
models/device-authorization-response.ts
|
|
686
703
|
models/email-enrollment-started.ts
|
|
704
|
+
models/email-sender-settings.ts
|
|
687
705
|
models/email-template.ts
|
|
688
706
|
models/enroll-authenticator-request.ts
|
|
689
707
|
models/enroll-authenticator201-response.ts
|
|
@@ -805,7 +823,9 @@ models/put-admin-clients-update-branding-response.ts
|
|
|
805
823
|
models/put-admin-org-members-update-response.ts
|
|
806
824
|
models/put-admin-settings-authentication-update-response.ts
|
|
807
825
|
models/put-admin-settings-branding-update-response.ts
|
|
826
|
+
models/put-admin-settings-email-update-request.ts
|
|
808
827
|
models/put-admin-settings-email-update-response.ts
|
|
828
|
+
models/put-admin-settings-general-update-request.ts
|
|
809
829
|
models/put-admin-settings-general-update-response-data.ts
|
|
810
830
|
models/put-admin-settings-general-update-response.ts
|
|
811
831
|
models/put-admin-settings-scim-update-response.ts
|
|
@@ -820,6 +840,8 @@ models/remove-user-group-response.ts
|
|
|
820
840
|
models/remove-user-permission-response.ts
|
|
821
841
|
models/remove-user-role-response.ts
|
|
822
842
|
models/report-agent-usage-response.ts
|
|
843
|
+
models/request-magic-link-request.ts
|
|
844
|
+
models/request-magic-link-response.ts
|
|
823
845
|
models/request-permission-request.ts
|
|
824
846
|
models/request-permission-response.ts
|
|
825
847
|
models/revoke-agent-token-request.ts
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
> `github.com/lumoauth/lumo-auth-go`), prefer it.
|
|
8
8
|
> Do not edit by hand: changes are overwritten on the next regeneration.
|
|
9
9
|
|
|
10
|
-
## @lumoauth/api-client@1.
|
|
10
|
+
## @lumoauth/api-client@1.6.0
|
|
11
11
|
|
|
12
12
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
13
13
|
|
|
@@ -45,7 +45,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
45
45
|
_published:_
|
|
46
46
|
|
|
47
47
|
```
|
|
48
|
-
npm install @lumoauth/api-client@1.
|
|
48
|
+
npm install @lumoauth/api-client@1.6.0 --save
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
_unPublished (not recommended):_
|
|
@@ -168,7 +168,7 @@ Class | Method | HTTP request | Description
|
|
|
168
168
|
*AdminOAuthClientsApi* | [**putAdminClientsUpdateBranding**](docs/AdminOAuthClientsApi.md#putadminclientsupdatebranding) | **PUT** /orgs/{orgId}/api/v1/admin/clients/{clientId}/branding | Replace an OAuth client\'s login and/or consent page branding
|
|
169
169
|
*AdminOAuthClientsApi* | [**rotateClientSecret**](docs/AdminOAuthClientsApi.md#rotateclientsecret) | **POST** /orgs/{orgId}/api/v1/admin/clients/{clientId}/rotate-secret | Rotate an OAuth client secret
|
|
170
170
|
*AdminOAuthClientsApi* | [**setClientScopes**](docs/AdminOAuthClientsApi.md#setclientscopes) | **PUT** /orgs/{orgId}/api/v1/admin/clients/{clientId}/scopes | Replace the scopes granted to an OAuth client
|
|
171
|
-
*AdminOAuthClientsApi* | [**updateClient**](docs/AdminOAuthClientsApi.md#updateclient) | **PUT** /orgs/{orgId}/api/v1/admin/clients/{clientId} |
|
|
171
|
+
*AdminOAuthClientsApi* | [**updateClient**](docs/AdminOAuthClientsApi.md#updateclient) | **PUT** /orgs/{orgId}/api/v1/admin/clients/{clientId} | Update an OAuth client (same as PATCH: only the fields that are sent change)
|
|
172
172
|
*AdminOrganizationsApi* | [**adminOrgInvitationsCreate**](docs/AdminOrganizationsApi.md#adminorginvitationscreate) | **POST** /orgs/{orgId}/api/v1/admin/organizations/{organizationId}/invitations | Invite a user to an organization
|
|
173
173
|
*AdminOrganizationsApi* | [**adminOrgInvitationsList**](docs/AdminOrganizationsApi.md#adminorginvitationslist) | **GET** /orgs/{orgId}/api/v1/admin/organizations/{organizationId}/invitations | List organization invitations
|
|
174
174
|
*AdminOrganizationsApi* | [**adminOrgInvitationsResend**](docs/AdminOrganizationsApi.md#adminorginvitationsresend) | **POST** /orgs/{orgId}/api/v1/admin/organizations/{organizationId}/invitations/{invId}/resend | Resend an invitation
|
|
@@ -264,9 +264,10 @@ Class | Method | HTTP request | Description
|
|
|
264
264
|
*AdminUsersApi* | [**addUserRole**](docs/AdminUsersApi.md#adduserrole) | **POST** /orgs/{orgId}/api/v1/admin/users/{userId}/roles | Assign a role to a user
|
|
265
265
|
*AdminUsersApi* | [**adminIdentitiesLegacySamlRelink**](docs/AdminUsersApi.md#adminidentitieslegacysamlrelink) | **POST** /orgs/{orgId}/api/v1/admin/identities/legacy-saml | Relink legacy SAML users to an IdP
|
|
266
266
|
*AdminUsersApi* | [**adminIdentitiesLegacySamlReport**](docs/AdminUsersApi.md#adminidentitieslegacysamlreport) | **GET** /orgs/{orgId}/api/v1/admin/identities/legacy-saml | Legacy SAML bindings report
|
|
267
|
-
*AdminUsersApi* | [**adminIdentitiesLink**](docs/AdminUsersApi.md#adminidentitieslink) | **POST** /orgs/{orgId}/api/v1/admin/users/{userId}/identities | Link a SAML or LDAP identity to a user
|
|
267
|
+
*AdminUsersApi* | [**adminIdentitiesLink**](docs/AdminUsersApi.md#adminidentitieslink) | **POST** /orgs/{orgId}/api/v1/admin/users/{userId}/identities | Link a SAML, OpenID Connect or LDAP identity to a user
|
|
268
268
|
*AdminUsersApi* | [**adminIdentitiesList**](docs/AdminUsersApi.md#adminidentitieslist) | **GET** /orgs/{orgId}/api/v1/admin/users/{userId}/identities | List a user\'s federated identity links
|
|
269
|
-
*AdminUsersApi* | [**adminIdentitiesUnlink**](docs/AdminUsersApi.md#adminidentitiesunlink) | **DELETE** /orgs/{orgId}/api/v1/admin/users/{userId}/identities/{type} | Unlink a user\'s SAML, LDAP or social identity
|
|
269
|
+
*AdminUsersApi* | [**adminIdentitiesUnlink**](docs/AdminUsersApi.md#adminidentitiesunlink) | **DELETE** /orgs/{orgId}/api/v1/admin/users/{userId}/identities/{type} | Unlink a user\'s SAML, OpenID Connect, LDAP or social identity
|
|
270
|
+
*AdminUsersApi* | [**adminUsersRestore**](docs/AdminUsersApi.md#adminusersrestore) | **POST** /orgs/{orgId}/api/v1/admin/users/{userId}/restore | Restore a deleted user
|
|
270
271
|
*AdminUsersApi* | [**blockUser**](docs/AdminUsersApi.md#blockuser) | **POST** /orgs/{orgId}/api/v1/admin/users/{userId}/block | Block a user
|
|
271
272
|
*AdminUsersApi* | [**createUser**](docs/AdminUsersApi.md#createuser) | **POST** /orgs/{orgId}/api/v1/admin/users | Create a user
|
|
272
273
|
*AdminUsersApi* | [**deleteUser**](docs/AdminUsersApi.md#deleteuser) | **DELETE** /orgs/{orgId}/api/v1/admin/users/{userId} | Delete a user
|
|
@@ -365,6 +366,7 @@ Class | Method | HTTP request | Description
|
|
|
365
366
|
*MfaApi* | [**verifyMfaChallenge**](docs/MfaApi.md#verifymfachallenge) | **POST** /orgs/{orgId}/api/v1/mfa/challenges/{id}/verify | Answer a challenge
|
|
366
367
|
*OAuthApi* | [**authorize**](docs/OAuthApi.md#authorize) | **GET** /orgs/{orgId}/api/v1/oauth/authorize | OAuth 2.1 / OIDC authorization endpoint
|
|
367
368
|
*OAuthApi* | [**backchannelAuthorize**](docs/OAuthApi.md#backchannelauthorize) | **POST** /orgs/{orgId}/api/v1/oauth/bc-authorize | CIBA backchannel authentication request
|
|
369
|
+
*OAuthApi* | [**checkEmailFirst**](docs/OAuthApi.md#checkemailfirst) | **POST** /orgs/{orgId}/api/v1/oauth/check-email | Sign-in methods for an email-first form
|
|
368
370
|
*OAuthApi* | [**deviceAuthorization**](docs/OAuthApi.md#deviceauthorization) | **POST** /orgs/{orgId}/api/v1/oauth/device_authorization | Device authorization request (RFC 8628)
|
|
369
371
|
*OAuthApi* | [**getClientConfiguration**](docs/OAuthApi.md#getclientconfiguration) | **GET** /orgs/{orgId}/api/v1/connect/register/{clientId} | Read a dynamically registered client (RFC 7592 / OIDC DCR §4)
|
|
370
372
|
*OAuthApi* | [**getDeviceVerification**](docs/OAuthApi.md#getdeviceverification) | **GET** /orgs/{orgId}/api/v1/oauth/device | Device verification page (RFC 8628 §3.3)
|
|
@@ -372,6 +374,7 @@ Class | Method | HTTP request | Description
|
|
|
372
374
|
*OAuthApi* | [**introspect**](docs/OAuthApi.md#introspect) | **POST** /orgs/{orgId}/api/v1/oauth/introspect | Token introspection (RFC 7662)
|
|
373
375
|
*OAuthApi* | [**par**](docs/OAuthApi.md#par) | **POST** /orgs/{orgId}/api/v1/oauth/par | Pushed authorization request (RFC 9126)
|
|
374
376
|
*OAuthApi* | [**registerClient**](docs/OAuthApi.md#registerclient) | **POST** /orgs/{orgId}/api/v1/connect/register | Dynamic client registration (RFC 7591 / OIDC DCR)
|
|
377
|
+
*OAuthApi* | [**requestMagicLink**](docs/OAuthApi.md#requestmagiclink) | **POST** /orgs/{orgId}/api/v1/oauth/magic-link | Request a sign-in link by email
|
|
375
378
|
*OAuthApi* | [**revoke**](docs/OAuthApi.md#revoke) | **POST** /orgs/{orgId}/api/v1/oauth/revoke | Token revocation (RFC 7009)
|
|
376
379
|
*OAuthApi* | [**socialCallback**](docs/OAuthApi.md#socialcallback) | **GET** /orgs/{orgId}/api/v1/oauth/social/{provider}/callback | Social / enterprise identity-provider callback
|
|
377
380
|
*OAuthApi* | [**socialCallbackPost**](docs/OAuthApi.md#socialcallbackpost) | **POST** /orgs/{orgId}/api/v1/oauth/social/{provider}/callback | Social / enterprise identity-provider callback (form_post)
|
|
@@ -416,6 +419,7 @@ Class | Method | HTTP request | Description
|
|
|
416
419
|
- [AdminAgentsActivateResponse](docs/AdminAgentsActivateResponse.md)
|
|
417
420
|
- [AdminAgentsAgentsDisableResponse](docs/AdminAgentsAgentsDisableResponse.md)
|
|
418
421
|
- [AdminAgentsAgentsEnableResponse](docs/AdminAgentsAgentsEnableResponse.md)
|
|
422
|
+
- [AdminAgentsAgentsRotateKeyRequest](docs/AdminAgentsAgentsRotateKeyRequest.md)
|
|
419
423
|
- [AdminAgentsAgentsRotateKeyResponse](docs/AdminAgentsAgentsRotateKeyResponse.md)
|
|
420
424
|
- [AdminAgentsCreateRequest](docs/AdminAgentsCreateRequest.md)
|
|
421
425
|
- [AdminAgentsCreateResponse](docs/AdminAgentsCreateResponse.md)
|
|
@@ -487,7 +491,6 @@ Class | Method | HTTP request | Description
|
|
|
487
491
|
- [AdminMcpServersCreateResponse](docs/AdminMcpServersCreateResponse.md)
|
|
488
492
|
- [AdminMcpServersGetResponse](docs/AdminMcpServersGetResponse.md)
|
|
489
493
|
- [AdminMcpServersListResponse](docs/AdminMcpServersListResponse.md)
|
|
490
|
-
- [AdminMcpServersListResponseMeta](docs/AdminMcpServersListResponseMeta.md)
|
|
491
494
|
- [AdminOrgInvitationsCreateResponse](docs/AdminOrgInvitationsCreateResponse.md)
|
|
492
495
|
- [AdminOrgInvitationsListResponse](docs/AdminOrgInvitationsListResponse.md)
|
|
493
496
|
- [AdminOrgMembersAddResponse](docs/AdminOrgMembersAddResponse.md)
|
|
@@ -511,6 +514,8 @@ Class | Method | HTTP request | Description
|
|
|
511
514
|
- [AdminSandboxListResponse](docs/AdminSandboxListResponse.md)
|
|
512
515
|
- [AdminSandboxSpawnRequest](docs/AdminSandboxSpawnRequest.md)
|
|
513
516
|
- [AdminSandboxSpawnResponse](docs/AdminSandboxSpawnResponse.md)
|
|
517
|
+
- [AdminSandboxSpawnResponseData](docs/AdminSandboxSpawnResponseData.md)
|
|
518
|
+
- [AdminSandboxSpawnResponseData1](docs/AdminSandboxSpawnResponseData1.md)
|
|
514
519
|
- [AdminScopesCreateResponse](docs/AdminScopesCreateResponse.md)
|
|
515
520
|
- [AdminScopesListResponse](docs/AdminScopesListResponse.md)
|
|
516
521
|
- [AdminScopesListResponseMeta](docs/AdminScopesListResponseMeta.md)
|
|
@@ -547,11 +552,13 @@ Class | Method | HTTP request | Description
|
|
|
547
552
|
- [AdminUserSessionsRevokePostResponse](docs/AdminUserSessionsRevokePostResponse.md)
|
|
548
553
|
- [AdminUserTokensRevokeAllResponse](docs/AdminUserTokensRevokeAllResponse.md)
|
|
549
554
|
- [AdminUserTokensRevokePostResponse](docs/AdminUserTokensRevokePostResponse.md)
|
|
555
|
+
- [AdminUsersRestoreResponse](docs/AdminUsersRestoreResponse.md)
|
|
550
556
|
- [AdminWebhooksCreateResponse](docs/AdminWebhooksCreateResponse.md)
|
|
551
557
|
- [AdminWebhooksCreateResponseData](docs/AdminWebhooksCreateResponseData.md)
|
|
552
558
|
- [AdminWebhooksDeliveriesListResponse](docs/AdminWebhooksDeliveriesListResponse.md)
|
|
553
559
|
- [AdminWebhooksDeliveriesListResponseMeta](docs/AdminWebhooksDeliveriesListResponseMeta.md)
|
|
554
560
|
- [AdminWebhooksDeliveryReplayResponse](docs/AdminWebhooksDeliveryReplayResponse.md)
|
|
561
|
+
- [AdminWebhooksDeliveryReplayResponseData](docs/AdminWebhooksDeliveryReplayResponseData.md)
|
|
555
562
|
- [AdminWebhooksDeliveryShowResponse](docs/AdminWebhooksDeliveryShowResponse.md)
|
|
556
563
|
- [AdminWebhooksDeliveryShowResponseData](docs/AdminWebhooksDeliveryShowResponseData.md)
|
|
557
564
|
- [AdminWebhooksDeliveryShowResponseData1AttemptsItem](docs/AdminWebhooksDeliveryShowResponseData1AttemptsItem.md)
|
|
@@ -592,6 +599,8 @@ Class | Method | HTTP request | Description
|
|
|
592
599
|
- [CheckAbacResponse](docs/CheckAbacResponse.md)
|
|
593
600
|
- [CheckAbacResponseMatchedPoliciesItem](docs/CheckAbacResponseMatchedPoliciesItem.md)
|
|
594
601
|
- [CheckAnyPermissionResponse](docs/CheckAnyPermissionResponse.md)
|
|
602
|
+
- [CheckEmailFirstRequest](docs/CheckEmailFirstRequest.md)
|
|
603
|
+
- [CheckEmailFirstResponse](docs/CheckEmailFirstResponse.md)
|
|
595
604
|
- [CheckPermissionResponse](docs/CheckPermissionResponse.md)
|
|
596
605
|
- [CheckPermissionsBulkResponse](docs/CheckPermissionsBulkResponse.md)
|
|
597
606
|
- [CheckRelationResponse](docs/CheckRelationResponse.md)
|
|
@@ -615,6 +624,7 @@ Class | Method | HTTP request | Description
|
|
|
615
624
|
- [DenyRequestResponse](docs/DenyRequestResponse.md)
|
|
616
625
|
- [DeviceAuthorizationResponse](docs/DeviceAuthorizationResponse.md)
|
|
617
626
|
- [EmailEnrollmentStarted](docs/EmailEnrollmentStarted.md)
|
|
627
|
+
- [EmailSenderSettings](docs/EmailSenderSettings.md)
|
|
618
628
|
- [EmailTemplate](docs/EmailTemplate.md)
|
|
619
629
|
- [EnrollAuthenticator201Response](docs/EnrollAuthenticator201Response.md)
|
|
620
630
|
- [EnrollAuthenticatorRequest](docs/EnrollAuthenticatorRequest.md)
|
|
@@ -735,7 +745,9 @@ Class | Method | HTTP request | Description
|
|
|
735
745
|
- [PutAdminOrgMembersUpdateResponse](docs/PutAdminOrgMembersUpdateResponse.md)
|
|
736
746
|
- [PutAdminSettingsAuthenticationUpdateResponse](docs/PutAdminSettingsAuthenticationUpdateResponse.md)
|
|
737
747
|
- [PutAdminSettingsBrandingUpdateResponse](docs/PutAdminSettingsBrandingUpdateResponse.md)
|
|
748
|
+
- [PutAdminSettingsEmailUpdateRequest](docs/PutAdminSettingsEmailUpdateRequest.md)
|
|
738
749
|
- [PutAdminSettingsEmailUpdateResponse](docs/PutAdminSettingsEmailUpdateResponse.md)
|
|
750
|
+
- [PutAdminSettingsGeneralUpdateRequest](docs/PutAdminSettingsGeneralUpdateRequest.md)
|
|
739
751
|
- [PutAdminSettingsGeneralUpdateResponse](docs/PutAdminSettingsGeneralUpdateResponse.md)
|
|
740
752
|
- [PutAdminSettingsGeneralUpdateResponseData](docs/PutAdminSettingsGeneralUpdateResponseData.md)
|
|
741
753
|
- [PutAdminSettingsScimUpdateResponse](docs/PutAdminSettingsScimUpdateResponse.md)
|
|
@@ -750,6 +762,8 @@ Class | Method | HTTP request | Description
|
|
|
750
762
|
- [RemoveUserPermissionResponse](docs/RemoveUserPermissionResponse.md)
|
|
751
763
|
- [RemoveUserRoleResponse](docs/RemoveUserRoleResponse.md)
|
|
752
764
|
- [ReportAgentUsageResponse](docs/ReportAgentUsageResponse.md)
|
|
765
|
+
- [RequestMagicLinkRequest](docs/RequestMagicLinkRequest.md)
|
|
766
|
+
- [RequestMagicLinkResponse](docs/RequestMagicLinkResponse.md)
|
|
753
767
|
- [RequestPermissionRequest](docs/RequestPermissionRequest.md)
|
|
754
768
|
- [RequestPermissionResponse](docs/RequestPermissionResponse.md)
|
|
755
769
|
- [RevokeAgentTokenRequest](docs/RevokeAgentTokenRequest.md)
|
package/api/admin-abac-api.ts
CHANGED
|
@@ -354,10 +354,11 @@ export const AdminAbacApiAxiosParamCreator = function (configuration?: Configura
|
|
|
354
354
|
*
|
|
355
355
|
* @summary List ABAC policies
|
|
356
356
|
* @param {string} orgId
|
|
357
|
+
* @param {string} [action] Only policies that name this action, alone or in a comma-separated list. `*` lists the policies that name `*`.
|
|
357
358
|
* @param {*} [options] Override http request option.
|
|
358
359
|
* @throws {RequiredError}
|
|
359
360
|
*/
|
|
360
|
-
abacPoliciesList: async (orgId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
361
|
+
abacPoliciesList: async (orgId: string, action?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
361
362
|
// verify required parameter 'orgId' is not null or undefined
|
|
362
363
|
assertParamExists('abacPoliciesList', 'orgId', orgId)
|
|
363
364
|
const localVarPath = `/orgs/{orgId}/api/v1/abac/policies`
|
|
@@ -380,6 +381,10 @@ export const AdminAbacApiAxiosParamCreator = function (configuration?: Configura
|
|
|
380
381
|
// http bearer authentication required
|
|
381
382
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
382
383
|
|
|
384
|
+
if (action !== undefined) {
|
|
385
|
+
localVarQueryParameter['action'] = action;
|
|
386
|
+
}
|
|
387
|
+
|
|
383
388
|
|
|
384
389
|
|
|
385
390
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -725,11 +730,12 @@ export const AdminAbacApiFp = function(configuration?: Configuration) {
|
|
|
725
730
|
*
|
|
726
731
|
* @summary List ABAC policies
|
|
727
732
|
* @param {string} orgId
|
|
733
|
+
* @param {string} [action] Only policies that name this action, alone or in a comma-separated list. `*` lists the policies that name `*`.
|
|
728
734
|
* @param {*} [options] Override http request option.
|
|
729
735
|
* @throws {RequiredError}
|
|
730
736
|
*/
|
|
731
|
-
async abacPoliciesList(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AbacPoliciesListResponse>> {
|
|
732
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.abacPoliciesList(orgId, options);
|
|
737
|
+
async abacPoliciesList(orgId: string, action?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AbacPoliciesListResponse>> {
|
|
738
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.abacPoliciesList(orgId, action, options);
|
|
733
739
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
734
740
|
const localVarOperationServerBasePath = operationServerMap['AdminAbacApi.abacPoliciesList']?.[localVarOperationServerIndex]?.url;
|
|
735
741
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -892,7 +898,7 @@ export const AdminAbacApiFactory = function (configuration?: Configuration, base
|
|
|
892
898
|
* @throws {RequiredError}
|
|
893
899
|
*/
|
|
894
900
|
abacPoliciesList(requestParameters: AdminAbacApiAbacPoliciesListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AbacPoliciesListResponse> {
|
|
895
|
-
return localVarFp.abacPoliciesList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
901
|
+
return localVarFp.abacPoliciesList(requestParameters.orgId, requestParameters.action, options).then((request) => request(axios, basePath));
|
|
896
902
|
},
|
|
897
903
|
/**
|
|
898
904
|
*
|
|
@@ -1223,6 +1229,13 @@ export interface AdminAbacApiAbacPoliciesListRequest {
|
|
|
1223
1229
|
* @memberof AdminAbacApiAbacPoliciesList
|
|
1224
1230
|
*/
|
|
1225
1231
|
readonly orgId: string
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Only policies that name this action, alone or in a comma-separated list. `*` lists the policies that name `*`.
|
|
1235
|
+
* @type {string}
|
|
1236
|
+
* @memberof AdminAbacApiAbacPoliciesList
|
|
1237
|
+
*/
|
|
1238
|
+
readonly action?: string
|
|
1226
1239
|
}
|
|
1227
1240
|
|
|
1228
1241
|
/**
|
|
@@ -1430,7 +1443,7 @@ export class AdminAbacApi extends BaseAPI implements AdminAbacApiInterface {
|
|
|
1430
1443
|
* @memberof AdminAbacApi
|
|
1431
1444
|
*/
|
|
1432
1445
|
public abacPoliciesList(requestParameters: AdminAbacApiAbacPoliciesListRequest, options?: RawAxiosRequestConfig) {
|
|
1433
|
-
return AdminAbacApiFp(this.configuration).abacPoliciesList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
1446
|
+
return AdminAbacApiFp(this.configuration).abacPoliciesList(requestParameters.orgId, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
|
|
1434
1447
|
}
|
|
1435
1448
|
|
|
1436
1449
|
/**
|
package/api/admin-agents-api.ts
CHANGED
|
@@ -28,6 +28,8 @@ import type { AdminAgentsAgentsDisableResponse } from '../models';
|
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import type { AdminAgentsAgentsEnableResponse } from '../models';
|
|
30
30
|
// @ts-ignore
|
|
31
|
+
import type { AdminAgentsAgentsRotateKeyRequest } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
31
33
|
import type { AdminAgentsAgentsRotateKeyResponse } from '../models';
|
|
32
34
|
// @ts-ignore
|
|
33
35
|
import type { AdminAgentsCreateRequest } from '../models';
|
|
@@ -209,10 +211,11 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
209
211
|
* @summary Rotate agent API key
|
|
210
212
|
* @param {string} orgId
|
|
211
213
|
* @param {string} agentId
|
|
214
|
+
* @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).
|
|
212
215
|
* @param {*} [options] Override http request option.
|
|
213
216
|
* @throws {RequiredError}
|
|
214
217
|
*/
|
|
215
|
-
adminAgentsAgentsRotateKey: async (orgId: string, agentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
218
|
+
adminAgentsAgentsRotateKey: async (orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
216
219
|
// verify required parameter 'orgId' is not null or undefined
|
|
217
220
|
assertParamExists('adminAgentsAgentsRotateKey', 'orgId', orgId)
|
|
218
221
|
// verify required parameter 'agentId' is not null or undefined
|
|
@@ -240,9 +243,12 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
240
243
|
|
|
241
244
|
|
|
242
245
|
|
|
246
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
247
|
+
|
|
243
248
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
244
249
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
250
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
251
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminAgentsAgentsRotateKeyRequest, localVarRequestOptions, configuration)
|
|
246
252
|
|
|
247
253
|
return {
|
|
248
254
|
url: toPathString(localVarUrlObj),
|
|
@@ -529,10 +535,12 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
529
535
|
*
|
|
530
536
|
* @summary List all agents in the tenant
|
|
531
537
|
* @param {string} orgId
|
|
538
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
539
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
532
540
|
* @param {*} [options] Override http request option.
|
|
533
541
|
* @throws {RequiredError}
|
|
534
542
|
*/
|
|
535
|
-
adminAgentsList: async (orgId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
543
|
+
adminAgentsList: async (orgId: string, sortBy?: AdminAgentsListSortBy, sortDir?: AdminAgentsListSortDir, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
536
544
|
// verify required parameter 'orgId' is not null or undefined
|
|
537
545
|
assertParamExists('adminAgentsList', 'orgId', orgId)
|
|
538
546
|
const localVarPath = `/orgs/{orgId}/api/v1/admin/agents`
|
|
@@ -555,6 +563,14 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
555
563
|
// http bearer authentication required
|
|
556
564
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
557
565
|
|
|
566
|
+
if (sortBy !== undefined) {
|
|
567
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
if (sortDir !== undefined) {
|
|
571
|
+
localVarQueryParameter['sortDir'] = sortDir;
|
|
572
|
+
}
|
|
573
|
+
|
|
558
574
|
|
|
559
575
|
|
|
560
576
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -667,10 +683,11 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
667
683
|
* @summary Rotate agent credentials
|
|
668
684
|
* @param {string} orgId
|
|
669
685
|
* @param {string} agentId
|
|
686
|
+
* @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).
|
|
670
687
|
* @param {*} [options] Override http request option.
|
|
671
688
|
* @throws {RequiredError}
|
|
672
689
|
*/
|
|
673
|
-
adminAgentsRotateCredentials: async (orgId: string, agentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
690
|
+
adminAgentsRotateCredentials: async (orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
674
691
|
// verify required parameter 'orgId' is not null or undefined
|
|
675
692
|
assertParamExists('adminAgentsRotateCredentials', 'orgId', orgId)
|
|
676
693
|
// verify required parameter 'agentId' is not null or undefined
|
|
@@ -698,9 +715,12 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
698
715
|
|
|
699
716
|
|
|
700
717
|
|
|
718
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
719
|
+
|
|
701
720
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
702
721
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
703
722
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
723
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminAgentsAgentsRotateKeyRequest, localVarRequestOptions, configuration)
|
|
704
724
|
|
|
705
725
|
return {
|
|
706
726
|
url: toPathString(localVarUrlObj),
|
|
@@ -917,11 +937,12 @@ export const AdminAgentsApiFp = function(configuration?: Configuration) {
|
|
|
917
937
|
* @summary Rotate agent API key
|
|
918
938
|
* @param {string} orgId
|
|
919
939
|
* @param {string} agentId
|
|
940
|
+
* @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).
|
|
920
941
|
* @param {*} [options] Override http request option.
|
|
921
942
|
* @throws {RequiredError}
|
|
922
943
|
*/
|
|
923
|
-
async adminAgentsAgentsRotateKey(orgId: string, agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsAgentsRotateKeyResponse>> {
|
|
924
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, options);
|
|
944
|
+
async adminAgentsAgentsRotateKey(orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsAgentsRotateKeyResponse>> {
|
|
945
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
|
|
925
946
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
926
947
|
const localVarOperationServerBasePath = operationServerMap['AdminAgentsApi.adminAgentsAgentsRotateKey']?.[localVarOperationServerIndex]?.url;
|
|
927
948
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1015,11 +1036,13 @@ export const AdminAgentsApiFp = function(configuration?: Configuration) {
|
|
|
1015
1036
|
*
|
|
1016
1037
|
* @summary List all agents in the tenant
|
|
1017
1038
|
* @param {string} orgId
|
|
1039
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
1040
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
1018
1041
|
* @param {*} [options] Override http request option.
|
|
1019
1042
|
* @throws {RequiredError}
|
|
1020
1043
|
*/
|
|
1021
|
-
async adminAgentsList(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsListResponse>> {
|
|
1022
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsList(orgId, options);
|
|
1044
|
+
async adminAgentsList(orgId: string, sortBy?: AdminAgentsListSortBy, sortDir?: AdminAgentsListSortDir, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsListResponse>> {
|
|
1045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsList(orgId, sortBy, sortDir, options);
|
|
1023
1046
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1024
1047
|
const localVarOperationServerBasePath = operationServerMap['AdminAgentsApi.adminAgentsList']?.[localVarOperationServerIndex]?.url;
|
|
1025
1048
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1058,11 +1081,12 @@ export const AdminAgentsApiFp = function(configuration?: Configuration) {
|
|
|
1058
1081
|
* @summary Rotate agent credentials
|
|
1059
1082
|
* @param {string} orgId
|
|
1060
1083
|
* @param {string} agentId
|
|
1084
|
+
* @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).
|
|
1061
1085
|
* @param {*} [options] Override http request option.
|
|
1062
1086
|
* @throws {RequiredError}
|
|
1063
1087
|
*/
|
|
1064
|
-
async adminAgentsRotateCredentials(orgId: string, agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsRotateCredentialsResponse>> {
|
|
1065
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, options);
|
|
1088
|
+
async adminAgentsRotateCredentials(orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsRotateCredentialsResponse>> {
|
|
1089
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
|
|
1066
1090
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1067
1091
|
const localVarOperationServerBasePath = operationServerMap['AdminAgentsApi.adminAgentsRotateCredentials']?.[localVarOperationServerIndex]?.url;
|
|
1068
1092
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1160,7 +1184,7 @@ export const AdminAgentsApiFactory = function (configuration?: Configuration, ba
|
|
|
1160
1184
|
* @throws {RequiredError}
|
|
1161
1185
|
*/
|
|
1162
1186
|
adminAgentsAgentsRotateKey(requestParameters: AdminAgentsApiAdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsAgentsRotateKeyResponse> {
|
|
1163
|
-
return localVarFp.adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(axios, basePath));
|
|
1187
|
+
return localVarFp.adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(axios, basePath));
|
|
1164
1188
|
},
|
|
1165
1189
|
/**
|
|
1166
1190
|
*
|
|
@@ -1230,7 +1254,7 @@ export const AdminAgentsApiFactory = function (configuration?: Configuration, ba
|
|
|
1230
1254
|
* @throws {RequiredError}
|
|
1231
1255
|
*/
|
|
1232
1256
|
adminAgentsList(requestParameters: AdminAgentsApiAdminAgentsListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsListResponse> {
|
|
1233
|
-
return localVarFp.adminAgentsList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
1257
|
+
return localVarFp.adminAgentsList(requestParameters.orgId, requestParameters.sortBy, requestParameters.sortDir, options).then((request) => request(axios, basePath));
|
|
1234
1258
|
},
|
|
1235
1259
|
/**
|
|
1236
1260
|
* 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.
|
|
@@ -1260,7 +1284,7 @@ export const AdminAgentsApiFactory = function (configuration?: Configuration, ba
|
|
|
1260
1284
|
* @throws {RequiredError}
|
|
1261
1285
|
*/
|
|
1262
1286
|
adminAgentsRotateCredentials(requestParameters: AdminAgentsApiAdminAgentsRotateCredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsRotateCredentialsResponse> {
|
|
1263
|
-
return localVarFp.adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(axios, basePath));
|
|
1287
|
+
return localVarFp.adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(axios, basePath));
|
|
1264
1288
|
},
|
|
1265
1289
|
/**
|
|
1266
1290
|
*
|
|
@@ -1555,6 +1579,13 @@ export interface AdminAgentsApiAdminAgentsAgentsRotateKeyRequest {
|
|
|
1555
1579
|
* @memberof AdminAgentsApiAdminAgentsAgentsRotateKey
|
|
1556
1580
|
*/
|
|
1557
1581
|
readonly agentId: string
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* 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).
|
|
1585
|
+
* @type {AdminAgentsAgentsRotateKeyRequest}
|
|
1586
|
+
* @memberof AdminAgentsApiAdminAgentsAgentsRotateKey
|
|
1587
|
+
*/
|
|
1588
|
+
readonly adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest
|
|
1558
1589
|
}
|
|
1559
1590
|
|
|
1560
1591
|
/**
|
|
@@ -1702,6 +1733,20 @@ export interface AdminAgentsApiAdminAgentsListRequest {
|
|
|
1702
1733
|
* @memberof AdminAgentsApiAdminAgentsList
|
|
1703
1734
|
*/
|
|
1704
1735
|
readonly orgId: string
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* Sort field. Default: name. Another value is ignored.
|
|
1739
|
+
* @type {'name' | 'agentId' | 'status' | 'createdAt' | 'lastUsedAt'}
|
|
1740
|
+
* @memberof AdminAgentsApiAdminAgentsList
|
|
1741
|
+
*/
|
|
1742
|
+
readonly sortBy?: AdminAgentsListSortBy
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* Sort direction, used with sortBy.
|
|
1746
|
+
* @type {'ASC' | 'DESC'}
|
|
1747
|
+
* @memberof AdminAgentsApiAdminAgentsList
|
|
1748
|
+
*/
|
|
1749
|
+
readonly sortDir?: AdminAgentsListSortDir
|
|
1705
1750
|
}
|
|
1706
1751
|
|
|
1707
1752
|
/**
|
|
@@ -1772,6 +1817,13 @@ export interface AdminAgentsApiAdminAgentsRotateCredentialsRequest {
|
|
|
1772
1817
|
* @memberof AdminAgentsApiAdminAgentsRotateCredentials
|
|
1773
1818
|
*/
|
|
1774
1819
|
readonly agentId: string
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* 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).
|
|
1823
|
+
* @type {AdminAgentsAgentsRotateKeyRequest}
|
|
1824
|
+
* @memberof AdminAgentsApiAdminAgentsRotateCredentials
|
|
1825
|
+
*/
|
|
1826
|
+
readonly adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest
|
|
1775
1827
|
}
|
|
1776
1828
|
|
|
1777
1829
|
/**
|
|
@@ -1910,7 +1962,7 @@ export class AdminAgentsApi extends BaseAPI implements AdminAgentsApiInterface {
|
|
|
1910
1962
|
* @memberof AdminAgentsApi
|
|
1911
1963
|
*/
|
|
1912
1964
|
public adminAgentsAgentsRotateKey(requestParameters: AdminAgentsApiAdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig) {
|
|
1913
|
-
return AdminAgentsApiFp(this.configuration).adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(this.axios, this.basePath));
|
|
1965
|
+
return AdminAgentsApiFp(this.configuration).adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1914
1966
|
}
|
|
1915
1967
|
|
|
1916
1968
|
/**
|
|
@@ -1994,7 +2046,7 @@ export class AdminAgentsApi extends BaseAPI implements AdminAgentsApiInterface {
|
|
|
1994
2046
|
* @memberof AdminAgentsApi
|
|
1995
2047
|
*/
|
|
1996
2048
|
public adminAgentsList(requestParameters: AdminAgentsApiAdminAgentsListRequest, options?: RawAxiosRequestConfig) {
|
|
1997
|
-
return AdminAgentsApiFp(this.configuration).adminAgentsList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
2049
|
+
return AdminAgentsApiFp(this.configuration).adminAgentsList(requestParameters.orgId, requestParameters.sortBy, requestParameters.sortDir, options).then((request) => request(this.axios, this.basePath));
|
|
1998
2050
|
}
|
|
1999
2051
|
|
|
2000
2052
|
/**
|
|
@@ -2030,7 +2082,7 @@ export class AdminAgentsApi extends BaseAPI implements AdminAgentsApiInterface {
|
|
|
2030
2082
|
* @memberof AdminAgentsApi
|
|
2031
2083
|
*/
|
|
2032
2084
|
public adminAgentsRotateCredentials(requestParameters: AdminAgentsApiAdminAgentsRotateCredentialsRequest, options?: RawAxiosRequestConfig) {
|
|
2033
|
-
return AdminAgentsApiFp(this.configuration).adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(this.axios, this.basePath));
|
|
2085
|
+
return AdminAgentsApiFp(this.configuration).adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2034
2086
|
}
|
|
2035
2087
|
|
|
2036
2088
|
/**
|
|
@@ -2070,3 +2122,22 @@ export class AdminAgentsApi extends BaseAPI implements AdminAgentsApiInterface {
|
|
|
2070
2122
|
}
|
|
2071
2123
|
}
|
|
2072
2124
|
|
|
2125
|
+
/**
|
|
2126
|
+
* @export
|
|
2127
|
+
* @enum {string}
|
|
2128
|
+
*/
|
|
2129
|
+
export enum AdminAgentsListSortBy {
|
|
2130
|
+
NAME = 'name',
|
|
2131
|
+
AGENT_ID = 'agentId',
|
|
2132
|
+
STATUS = 'status',
|
|
2133
|
+
CREATED_AT = 'createdAt',
|
|
2134
|
+
LAST_USED_AT = 'lastUsedAt'
|
|
2135
|
+
}
|
|
2136
|
+
/**
|
|
2137
|
+
* @export
|
|
2138
|
+
* @enum {string}
|
|
2139
|
+
*/
|
|
2140
|
+
export enum AdminAgentsListSortDir {
|
|
2141
|
+
ASC = 'ASC',
|
|
2142
|
+
DESC = 'DESC'
|
|
2143
|
+
}
|