@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
|
@@ -56,7 +56,7 @@ import type { PutAdminWebhooksUpdateResponse } from '../models';
|
|
|
56
56
|
export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
57
57
|
return {
|
|
58
58
|
/**
|
|
59
|
-
* The signing secret is generated server-side and returned once in this response only.
|
|
59
|
+
* Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
|
|
60
60
|
* @summary Create a webhook
|
|
61
61
|
* @param {string} orgId
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
@@ -187,7 +187,7 @@ export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Confi
|
|
|
187
187
|
};
|
|
188
188
|
},
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
|
|
191
191
|
* @summary Replay a delivery
|
|
192
192
|
* @param {string} orgId
|
|
193
193
|
* @param {string} webhookId
|
|
@@ -412,7 +412,7 @@ export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Confi
|
|
|
412
412
|
};
|
|
413
413
|
},
|
|
414
414
|
/**
|
|
415
|
-
* Generates a new HMAC secret and
|
|
415
|
+
* Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
|
|
416
416
|
* @summary Rotate the signing secret
|
|
417
417
|
* @param {string} orgId
|
|
418
418
|
* @param {string} webhookId
|
|
@@ -457,7 +457,7 @@ export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Confi
|
|
|
457
457
|
};
|
|
458
458
|
},
|
|
459
459
|
/**
|
|
460
|
-
*
|
|
460
|
+
* Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
|
|
461
461
|
* @summary Send a test delivery
|
|
462
462
|
* @param {string} orgId
|
|
463
463
|
* @param {string} webhookId
|
|
@@ -768,7 +768,7 @@ export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Confi
|
|
|
768
768
|
};
|
|
769
769
|
},
|
|
770
770
|
/**
|
|
771
|
-
*
|
|
771
|
+
* Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
|
|
772
772
|
* @summary Update a webhook
|
|
773
773
|
* @param {string} orgId
|
|
774
774
|
* @param {string} webhookId
|
|
@@ -823,7 +823,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
823
823
|
const localVarAxiosParamCreator = AdminWebhooksApiAxiosParamCreator(configuration)
|
|
824
824
|
return {
|
|
825
825
|
/**
|
|
826
|
-
* The signing secret is generated server-side and returned once in this response only.
|
|
826
|
+
* Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
|
|
827
827
|
* @summary Create a webhook
|
|
828
828
|
* @param {string} orgId
|
|
829
829
|
* @param {*} [options] Override http request option.
|
|
@@ -864,7 +864,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
864
864
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
865
865
|
},
|
|
866
866
|
/**
|
|
867
|
-
*
|
|
867
|
+
* Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
|
|
868
868
|
* @summary Replay a delivery
|
|
869
869
|
* @param {string} orgId
|
|
870
870
|
* @param {string} webhookId
|
|
@@ -934,7 +934,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
934
934
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
935
935
|
},
|
|
936
936
|
/**
|
|
937
|
-
* Generates a new HMAC secret and
|
|
937
|
+
* Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
|
|
938
938
|
* @summary Rotate the signing secret
|
|
939
939
|
* @param {string} orgId
|
|
940
940
|
* @param {string} webhookId
|
|
@@ -948,7 +948,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
948
948
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
949
949
|
},
|
|
950
950
|
/**
|
|
951
|
-
*
|
|
951
|
+
* Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
|
|
952
952
|
* @summary Send a test delivery
|
|
953
953
|
* @param {string} orgId
|
|
954
954
|
* @param {string} webhookId
|
|
@@ -1045,7 +1045,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
1045
1045
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1046
1046
|
},
|
|
1047
1047
|
/**
|
|
1048
|
-
*
|
|
1048
|
+
* Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
|
|
1049
1049
|
* @summary Update a webhook
|
|
1050
1050
|
* @param {string} orgId
|
|
1051
1051
|
* @param {string} webhookId
|
|
@@ -1069,7 +1069,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
|
|
|
1069
1069
|
const localVarFp = AdminWebhooksApiFp(configuration)
|
|
1070
1070
|
return {
|
|
1071
1071
|
/**
|
|
1072
|
-
* The signing secret is generated server-side and returned once in this response only.
|
|
1072
|
+
* Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
|
|
1073
1073
|
* @summary Create a webhook
|
|
1074
1074
|
* @param {AdminWebhooksApiAdminWebhooksCreateRequest} requestParameters Request parameters.
|
|
1075
1075
|
* @param {*} [options] Override http request option.
|
|
@@ -1099,7 +1099,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
|
|
|
1099
1099
|
return localVarFp.adminWebhooksDeliveriesList(requestParameters.orgId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
|
|
1100
1100
|
},
|
|
1101
1101
|
/**
|
|
1102
|
-
*
|
|
1102
|
+
* Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
|
|
1103
1103
|
* @summary Replay a delivery
|
|
1104
1104
|
* @param {AdminWebhooksApiAdminWebhooksDeliveryReplayRequest} requestParameters Request parameters.
|
|
1105
1105
|
* @param {*} [options] Override http request option.
|
|
@@ -1149,7 +1149,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
|
|
|
1149
1149
|
return localVarFp.adminWebhooksList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
1150
1150
|
},
|
|
1151
1151
|
/**
|
|
1152
|
-
* Generates a new HMAC secret and
|
|
1152
|
+
* Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
|
|
1153
1153
|
* @summary Rotate the signing secret
|
|
1154
1154
|
* @param {AdminWebhooksApiAdminWebhooksRotateSecretRequest} requestParameters Request parameters.
|
|
1155
1155
|
* @param {*} [options] Override http request option.
|
|
@@ -1159,7 +1159,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
|
|
|
1159
1159
|
return localVarFp.adminWebhooksRotateSecret(requestParameters.orgId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
|
|
1160
1160
|
},
|
|
1161
1161
|
/**
|
|
1162
|
-
*
|
|
1162
|
+
* Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
|
|
1163
1163
|
* @summary Send a test delivery
|
|
1164
1164
|
* @param {AdminWebhooksApiAdminWebhooksTestRequest} requestParameters Request parameters.
|
|
1165
1165
|
* @param {*} [options] Override http request option.
|
|
@@ -1229,7 +1229,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
|
|
|
1229
1229
|
return localVarFp.patchAdminWebhooksUpdate(requestParameters.orgId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
|
|
1230
1230
|
},
|
|
1231
1231
|
/**
|
|
1232
|
-
*
|
|
1232
|
+
* Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
|
|
1233
1233
|
* @summary Update a webhook
|
|
1234
1234
|
* @param {AdminWebhooksApiPutAdminWebhooksUpdateRequest} requestParameters Request parameters.
|
|
1235
1235
|
* @param {*} [options] Override http request option.
|
|
@@ -1248,7 +1248,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
|
|
|
1248
1248
|
*/
|
|
1249
1249
|
export interface AdminWebhooksApiInterface {
|
|
1250
1250
|
/**
|
|
1251
|
-
* The signing secret is generated server-side and returned once in this response only.
|
|
1251
|
+
* Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
|
|
1252
1252
|
* @summary Create a webhook
|
|
1253
1253
|
* @param {AdminWebhooksApiAdminWebhooksCreateRequest} requestParameters Request parameters.
|
|
1254
1254
|
* @param {*} [options] Override http request option.
|
|
@@ -1278,7 +1278,7 @@ export interface AdminWebhooksApiInterface {
|
|
|
1278
1278
|
adminWebhooksDeliveriesList(requestParameters: AdminWebhooksApiAdminWebhooksDeliveriesListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminWebhooksDeliveriesListResponse>;
|
|
1279
1279
|
|
|
1280
1280
|
/**
|
|
1281
|
-
*
|
|
1281
|
+
* Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
|
|
1282
1282
|
* @summary Replay a delivery
|
|
1283
1283
|
* @param {AdminWebhooksApiAdminWebhooksDeliveryReplayRequest} requestParameters Request parameters.
|
|
1284
1284
|
* @param {*} [options] Override http request option.
|
|
@@ -1328,7 +1328,7 @@ export interface AdminWebhooksApiInterface {
|
|
|
1328
1328
|
adminWebhooksList(requestParameters: AdminWebhooksApiAdminWebhooksListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminWebhooksListResponse>;
|
|
1329
1329
|
|
|
1330
1330
|
/**
|
|
1331
|
-
* Generates a new HMAC secret and
|
|
1331
|
+
* Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
|
|
1332
1332
|
* @summary Rotate the signing secret
|
|
1333
1333
|
* @param {AdminWebhooksApiAdminWebhooksRotateSecretRequest} requestParameters Request parameters.
|
|
1334
1334
|
* @param {*} [options] Override http request option.
|
|
@@ -1338,7 +1338,7 @@ export interface AdminWebhooksApiInterface {
|
|
|
1338
1338
|
adminWebhooksRotateSecret(requestParameters: AdminWebhooksApiAdminWebhooksRotateSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminWebhooksRotateSecretResponse>;
|
|
1339
1339
|
|
|
1340
1340
|
/**
|
|
1341
|
-
*
|
|
1341
|
+
* Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
|
|
1342
1342
|
* @summary Send a test delivery
|
|
1343
1343
|
* @param {AdminWebhooksApiAdminWebhooksTestRequest} requestParameters Request parameters.
|
|
1344
1344
|
* @param {*} [options] Override http request option.
|
|
@@ -1408,7 +1408,7 @@ export interface AdminWebhooksApiInterface {
|
|
|
1408
1408
|
patchAdminWebhooksUpdate(requestParameters: AdminWebhooksApiPatchAdminWebhooksUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<PutAdminWebhooksUpdateResponse>;
|
|
1409
1409
|
|
|
1410
1410
|
/**
|
|
1411
|
-
*
|
|
1411
|
+
* Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
|
|
1412
1412
|
* @summary Update a webhook
|
|
1413
1413
|
* @param {AdminWebhooksApiPutAdminWebhooksUpdateRequest} requestParameters Request parameters.
|
|
1414
1414
|
* @param {*} [options] Override http request option.
|
|
@@ -1770,7 +1770,7 @@ export interface AdminWebhooksApiPutAdminWebhooksUpdateRequest {
|
|
|
1770
1770
|
*/
|
|
1771
1771
|
export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterface {
|
|
1772
1772
|
/**
|
|
1773
|
-
* The signing secret is generated server-side and returned once in this response only.
|
|
1773
|
+
* Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
|
|
1774
1774
|
* @summary Create a webhook
|
|
1775
1775
|
* @param {AdminWebhooksApiAdminWebhooksCreateRequest} requestParameters Request parameters.
|
|
1776
1776
|
* @param {*} [options] Override http request option.
|
|
@@ -1806,7 +1806,7 @@ export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterfa
|
|
|
1806
1806
|
}
|
|
1807
1807
|
|
|
1808
1808
|
/**
|
|
1809
|
-
*
|
|
1809
|
+
* Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
|
|
1810
1810
|
* @summary Replay a delivery
|
|
1811
1811
|
* @param {AdminWebhooksApiAdminWebhooksDeliveryReplayRequest} requestParameters Request parameters.
|
|
1812
1812
|
* @param {*} [options] Override http request option.
|
|
@@ -1866,7 +1866,7 @@ export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterfa
|
|
|
1866
1866
|
}
|
|
1867
1867
|
|
|
1868
1868
|
/**
|
|
1869
|
-
* Generates a new HMAC secret and
|
|
1869
|
+
* Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
|
|
1870
1870
|
* @summary Rotate the signing secret
|
|
1871
1871
|
* @param {AdminWebhooksApiAdminWebhooksRotateSecretRequest} requestParameters Request parameters.
|
|
1872
1872
|
* @param {*} [options] Override http request option.
|
|
@@ -1878,7 +1878,7 @@ export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterfa
|
|
|
1878
1878
|
}
|
|
1879
1879
|
|
|
1880
1880
|
/**
|
|
1881
|
-
*
|
|
1881
|
+
* Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
|
|
1882
1882
|
* @summary Send a test delivery
|
|
1883
1883
|
* @param {AdminWebhooksApiAdminWebhooksTestRequest} requestParameters Request parameters.
|
|
1884
1884
|
* @param {*} [options] Override http request option.
|
|
@@ -1962,7 +1962,7 @@ export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterfa
|
|
|
1962
1962
|
}
|
|
1963
1963
|
|
|
1964
1964
|
/**
|
|
1965
|
-
*
|
|
1965
|
+
* Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
|
|
1966
1966
|
* @summary Update a webhook
|
|
1967
1967
|
* @param {AdminWebhooksApiPutAdminWebhooksUpdateRequest} requestParameters Request parameters.
|
|
1968
1968
|
* @param {*} [options] Override http request option.
|
package/api/agents-api.ts
CHANGED
|
@@ -60,7 +60,7 @@ import type { VerifyAgentCardResponse } from '../models';
|
|
|
60
60
|
export const AgentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
61
61
|
return {
|
|
62
62
|
/**
|
|
63
|
-
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document
|
|
63
|
+
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
|
|
64
64
|
* @summary Agent-friendly permission check (Natural Language style)
|
|
65
65
|
* @param {string} orgId
|
|
66
66
|
* @param {AskRequest} askRequest
|
|
@@ -519,7 +519,7 @@ export const AgentsApiFp = function(configuration?: Configuration) {
|
|
|
519
519
|
const localVarAxiosParamCreator = AgentsApiAxiosParamCreator(configuration)
|
|
520
520
|
return {
|
|
521
521
|
/**
|
|
522
|
-
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document
|
|
522
|
+
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
|
|
523
523
|
* @summary Agent-friendly permission check (Natural Language style)
|
|
524
524
|
* @param {string} orgId
|
|
525
525
|
* @param {AskRequest} askRequest
|
|
@@ -666,7 +666,7 @@ export const AgentsApiFactory = function (configuration?: Configuration, basePat
|
|
|
666
666
|
const localVarFp = AgentsApiFp(configuration)
|
|
667
667
|
return {
|
|
668
668
|
/**
|
|
669
|
-
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document
|
|
669
|
+
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
|
|
670
670
|
* @summary Agent-friendly permission check (Natural Language style)
|
|
671
671
|
* @param {AgentsApiAskRequest} requestParameters Request parameters.
|
|
672
672
|
* @param {*} [options] Override http request option.
|
|
@@ -773,7 +773,7 @@ export const AgentsApiFactory = function (configuration?: Configuration, basePat
|
|
|
773
773
|
*/
|
|
774
774
|
export interface AgentsApiInterface {
|
|
775
775
|
/**
|
|
776
|
-
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document
|
|
776
|
+
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
|
|
777
777
|
* @summary Agent-friendly permission check (Natural Language style)
|
|
778
778
|
* @param {AgentsApiAskRequest} requestParameters Request parameters.
|
|
779
779
|
* @param {*} [options] Override http request option.
|
|
@@ -1083,7 +1083,7 @@ export interface AgentsApiVerifyAgentCardRequest {
|
|
|
1083
1083
|
*/
|
|
1084
1084
|
export class AgentsApi extends BaseAPI implements AgentsApiInterface {
|
|
1085
1085
|
/**
|
|
1086
|
-
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document
|
|
1086
|
+
* POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
|
|
1087
1087
|
* @summary Agent-friendly permission check (Natural Language style)
|
|
1088
1088
|
* @param {AgentsApiAskRequest} requestParameters Request parameters.
|
|
1089
1089
|
* @param {*} [options] Override http request option.
|
package/api/authorization-api.ts
CHANGED
|
@@ -138,7 +138,7 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
|
|
|
138
138
|
};
|
|
139
139
|
},
|
|
140
140
|
/**
|
|
141
|
-
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"
|
|
141
|
+
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
142
142
|
* @summary Check whether the subject holds all of the permissions
|
|
143
143
|
* @param {*} [options] Override http request option.
|
|
144
144
|
* @throws {RequiredError}
|
|
@@ -175,7 +175,7 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
|
|
|
175
175
|
};
|
|
176
176
|
},
|
|
177
177
|
/**
|
|
178
|
-
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"
|
|
178
|
+
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
179
179
|
* @summary Check whether the subject holds any of the permissions
|
|
180
180
|
* @param {*} [options] Override http request option.
|
|
181
181
|
* @throws {RequiredError}
|
|
@@ -212,7 +212,7 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
|
|
|
212
212
|
};
|
|
213
213
|
},
|
|
214
214
|
/**
|
|
215
|
-
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"
|
|
215
|
+
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
|
|
216
216
|
* @summary Check one permission
|
|
217
217
|
* @param {*} [options] Override http request option.
|
|
218
218
|
* @throws {RequiredError}
|
|
@@ -249,7 +249,7 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
|
|
|
249
249
|
};
|
|
250
250
|
},
|
|
251
251
|
/**
|
|
252
|
-
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"
|
|
252
|
+
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
253
253
|
* @summary Check up to 100 permissions in one call
|
|
254
254
|
* @param {*} [options] Override http request option.
|
|
255
255
|
* @throws {RequiredError}
|
|
@@ -824,7 +824,7 @@ export const AuthorizationApiFp = function(configuration?: Configuration) {
|
|
|
824
824
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
825
825
|
},
|
|
826
826
|
/**
|
|
827
|
-
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"
|
|
827
|
+
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
828
828
|
* @summary Check whether the subject holds all of the permissions
|
|
829
829
|
* @param {*} [options] Override http request option.
|
|
830
830
|
* @throws {RequiredError}
|
|
@@ -836,7 +836,7 @@ export const AuthorizationApiFp = function(configuration?: Configuration) {
|
|
|
836
836
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
837
837
|
},
|
|
838
838
|
/**
|
|
839
|
-
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"
|
|
839
|
+
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
840
840
|
* @summary Check whether the subject holds any of the permissions
|
|
841
841
|
* @param {*} [options] Override http request option.
|
|
842
842
|
* @throws {RequiredError}
|
|
@@ -848,7 +848,7 @@ export const AuthorizationApiFp = function(configuration?: Configuration) {
|
|
|
848
848
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
849
849
|
},
|
|
850
850
|
/**
|
|
851
|
-
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"
|
|
851
|
+
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
|
|
852
852
|
* @summary Check one permission
|
|
853
853
|
* @param {*} [options] Override http request option.
|
|
854
854
|
* @throws {RequiredError}
|
|
@@ -860,7 +860,7 @@ export const AuthorizationApiFp = function(configuration?: Configuration) {
|
|
|
860
860
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
861
861
|
},
|
|
862
862
|
/**
|
|
863
|
-
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"
|
|
863
|
+
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
864
864
|
* @summary Check up to 100 permissions in one call
|
|
865
865
|
* @param {*} [options] Override http request option.
|
|
866
866
|
* @throws {RequiredError}
|
|
@@ -1063,7 +1063,7 @@ export const AuthorizationApiFactory = function (configuration?: Configuration,
|
|
|
1063
1063
|
return localVarFp.checkAbacBulk(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
1064
1064
|
},
|
|
1065
1065
|
/**
|
|
1066
|
-
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"
|
|
1066
|
+
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
1067
1067
|
* @summary Check whether the subject holds all of the permissions
|
|
1068
1068
|
* @param {*} [options] Override http request option.
|
|
1069
1069
|
* @throws {RequiredError}
|
|
@@ -1072,7 +1072,7 @@ export const AuthorizationApiFactory = function (configuration?: Configuration,
|
|
|
1072
1072
|
return localVarFp.checkAllPermissions(options).then((request) => request(axios, basePath));
|
|
1073
1073
|
},
|
|
1074
1074
|
/**
|
|
1075
|
-
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"
|
|
1075
|
+
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
1076
1076
|
* @summary Check whether the subject holds any of the permissions
|
|
1077
1077
|
* @param {*} [options] Override http request option.
|
|
1078
1078
|
* @throws {RequiredError}
|
|
@@ -1081,7 +1081,7 @@ export const AuthorizationApiFactory = function (configuration?: Configuration,
|
|
|
1081
1081
|
return localVarFp.checkAnyPermission(options).then((request) => request(axios, basePath));
|
|
1082
1082
|
},
|
|
1083
1083
|
/**
|
|
1084
|
-
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"
|
|
1084
|
+
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
|
|
1085
1085
|
* @summary Check one permission
|
|
1086
1086
|
* @param {*} [options] Override http request option.
|
|
1087
1087
|
* @throws {RequiredError}
|
|
@@ -1090,7 +1090,7 @@ export const AuthorizationApiFactory = function (configuration?: Configuration,
|
|
|
1090
1090
|
return localVarFp.checkPermission(options).then((request) => request(axios, basePath));
|
|
1091
1091
|
},
|
|
1092
1092
|
/**
|
|
1093
|
-
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"
|
|
1093
|
+
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
1094
1094
|
* @summary Check up to 100 permissions in one call
|
|
1095
1095
|
* @param {*} [options] Override http request option.
|
|
1096
1096
|
* @throws {RequiredError}
|
|
@@ -1244,7 +1244,7 @@ export interface AuthorizationApiInterface {
|
|
|
1244
1244
|
checkAbacBulk(requestParameters: AuthorizationApiCheckAbacBulkRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckAbacBulkResponse>;
|
|
1245
1245
|
|
|
1246
1246
|
/**
|
|
1247
|
-
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"
|
|
1247
|
+
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
1248
1248
|
* @summary Check whether the subject holds all of the permissions
|
|
1249
1249
|
* @param {*} [options] Override http request option.
|
|
1250
1250
|
* @throws {RequiredError}
|
|
@@ -1253,7 +1253,7 @@ export interface AuthorizationApiInterface {
|
|
|
1253
1253
|
checkAllPermissions(options?: RawAxiosRequestConfig): AxiosPromise<CheckAnyPermissionResponse>;
|
|
1254
1254
|
|
|
1255
1255
|
/**
|
|
1256
|
-
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"
|
|
1256
|
+
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
1257
1257
|
* @summary Check whether the subject holds any of the permissions
|
|
1258
1258
|
* @param {*} [options] Override http request option.
|
|
1259
1259
|
* @throws {RequiredError}
|
|
@@ -1262,7 +1262,7 @@ export interface AuthorizationApiInterface {
|
|
|
1262
1262
|
checkAnyPermission(options?: RawAxiosRequestConfig): AxiosPromise<CheckAnyPermissionResponse>;
|
|
1263
1263
|
|
|
1264
1264
|
/**
|
|
1265
|
-
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"
|
|
1265
|
+
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
|
|
1266
1266
|
* @summary Check one permission
|
|
1267
1267
|
* @param {*} [options] Override http request option.
|
|
1268
1268
|
* @throws {RequiredError}
|
|
@@ -1271,7 +1271,7 @@ export interface AuthorizationApiInterface {
|
|
|
1271
1271
|
checkPermission(options?: RawAxiosRequestConfig): AxiosPromise<CheckPermissionResponse>;
|
|
1272
1272
|
|
|
1273
1273
|
/**
|
|
1274
|
-
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"
|
|
1274
|
+
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
1275
1275
|
* @summary Check up to 100 permissions in one call
|
|
1276
1276
|
* @param {*} [options] Override http request option.
|
|
1277
1277
|
* @throws {RequiredError}
|
|
@@ -1632,7 +1632,7 @@ export class AuthorizationApi extends BaseAPI implements AuthorizationApiInterfa
|
|
|
1632
1632
|
}
|
|
1633
1633
|
|
|
1634
1634
|
/**
|
|
1635
|
-
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"
|
|
1635
|
+
* POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
1636
1636
|
* @summary Check whether the subject holds all of the permissions
|
|
1637
1637
|
* @param {*} [options] Override http request option.
|
|
1638
1638
|
* @throws {RequiredError}
|
|
@@ -1643,7 +1643,7 @@ export class AuthorizationApi extends BaseAPI implements AuthorizationApiInterfa
|
|
|
1643
1643
|
}
|
|
1644
1644
|
|
|
1645
1645
|
/**
|
|
1646
|
-
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"
|
|
1646
|
+
* POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
1647
1647
|
* @summary Check whether the subject holds any of the permissions
|
|
1648
1648
|
* @param {*} [options] Override http request option.
|
|
1649
1649
|
* @throws {RequiredError}
|
|
@@ -1654,7 +1654,7 @@ export class AuthorizationApi extends BaseAPI implements AuthorizationApiInterfa
|
|
|
1654
1654
|
}
|
|
1655
1655
|
|
|
1656
1656
|
/**
|
|
1657
|
-
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"
|
|
1657
|
+
* POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
|
|
1658
1658
|
* @summary Check one permission
|
|
1659
1659
|
* @param {*} [options] Override http request option.
|
|
1660
1660
|
* @throws {RequiredError}
|
|
@@ -1665,7 +1665,7 @@ export class AuthorizationApi extends BaseAPI implements AuthorizationApiInterfa
|
|
|
1665
1665
|
}
|
|
1666
1666
|
|
|
1667
1667
|
/**
|
|
1668
|
-
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"
|
|
1668
|
+
* POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
|
|
1669
1669
|
* @summary Check up to 100 permissions in one call
|
|
1670
1670
|
* @param {*} [options] Override http request option.
|
|
1671
1671
|
* @throws {RequiredError}
|