@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
|
@@ -24,7 +24,7 @@ import type { MessageResponse } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const AdminRolesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Needs `roles.assign-permissions` and `roles.edit`. Takes `permissionId` or a list `permissionIds`. Every id is judged before anything changes: an unknown id is 400 (`Unknown permission: <id>`), and a permission that the caller does not hold is 403. Either refusal adds nothing. A permission that the role already holds is left as it is. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole request with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
28
28
|
* @summary Add permission(s) to a role
|
|
29
29
|
* @param {string} orgId
|
|
30
30
|
* @param {string} roleId
|
|
@@ -42,7 +42,7 @@ export declare const AdminRolesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
42
42
|
*/
|
|
43
43
|
adminRolesAddUser: (orgId: string, roleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Optional `permissions` is a list of permission slugs. Giving it needs `roles.assign-permissions` as well as `roles.create`, and every permission must be one that the caller holds; otherwise the answer is 403 and no role is created. An unknown slug is 400.
|
|
46
46
|
* @summary Create a new role
|
|
47
47
|
* @param {string} orgId
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
@@ -94,7 +94,7 @@ export declare const AdminRolesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
94
94
|
*/
|
|
95
95
|
adminRolesList: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
98
98
|
* @summary Remove a permission from a role
|
|
99
99
|
* @param {string} orgId
|
|
100
100
|
* @param {string} roleId
|
|
@@ -114,7 +114,7 @@ export declare const AdminRolesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
114
114
|
*/
|
|
115
115
|
adminRolesRemoveUser: (orgId: string, roleId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* Needs `roles.assign-permissions` and `roles.edit`. `permissions` is the full list of permission slugs that the role should grant. The whole list is judged before anything changes: an unknown slug is 400 (`Unknown permission: <slug>`), and a permission that the role does not hold yet must be one that the caller holds, otherwise 403. Either refusal changes nothing. Permissions on the role that the caller does not hold are kept, whether or not the list names them. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole change with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
118
118
|
* @summary Update role permissions (replaces all)
|
|
119
119
|
* @param {string} orgId
|
|
120
120
|
* @param {string} roleId
|
|
@@ -147,7 +147,7 @@ export declare const AdminRolesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
147
147
|
*/
|
|
148
148
|
export declare const AdminRolesApiFp: (configuration?: Configuration) => {
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* Needs `roles.assign-permissions` and `roles.edit`. Takes `permissionId` or a list `permissionIds`. Every id is judged before anything changes: an unknown id is 400 (`Unknown permission: <id>`), and a permission that the caller does not hold is 403. Either refusal adds nothing. A permission that the role already holds is left as it is. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole request with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
151
151
|
* @summary Add permission(s) to a role
|
|
152
152
|
* @param {string} orgId
|
|
153
153
|
* @param {string} roleId
|
|
@@ -165,7 +165,7 @@ export declare const AdminRolesApiFp: (configuration?: Configuration) => {
|
|
|
165
165
|
*/
|
|
166
166
|
adminRolesAddUser(orgId: string, roleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageResponse>>;
|
|
167
167
|
/**
|
|
168
|
-
*
|
|
168
|
+
* Optional `permissions` is a list of permission slugs. Giving it needs `roles.assign-permissions` as well as `roles.create`, and every permission must be one that the caller holds; otherwise the answer is 403 and no role is created. An unknown slug is 400.
|
|
169
169
|
* @summary Create a new role
|
|
170
170
|
* @param {string} orgId
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
@@ -217,7 +217,7 @@ export declare const AdminRolesApiFp: (configuration?: Configuration) => {
|
|
|
217
217
|
*/
|
|
218
218
|
adminRolesList(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminRolesListResponse>>;
|
|
219
219
|
/**
|
|
220
|
-
*
|
|
220
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
221
221
|
* @summary Remove a permission from a role
|
|
222
222
|
* @param {string} orgId
|
|
223
223
|
* @param {string} roleId
|
|
@@ -237,7 +237,7 @@ export declare const AdminRolesApiFp: (configuration?: Configuration) => {
|
|
|
237
237
|
*/
|
|
238
238
|
adminRolesRemoveUser(orgId: string, roleId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageResponse>>;
|
|
239
239
|
/**
|
|
240
|
-
*
|
|
240
|
+
* Needs `roles.assign-permissions` and `roles.edit`. `permissions` is the full list of permission slugs that the role should grant. The whole list is judged before anything changes: an unknown slug is 400 (`Unknown permission: <slug>`), and a permission that the role does not hold yet must be one that the caller holds, otherwise 403. Either refusal changes nothing. Permissions on the role that the caller does not hold are kept, whether or not the list names them. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole change with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
241
241
|
* @summary Update role permissions (replaces all)
|
|
242
242
|
* @param {string} orgId
|
|
243
243
|
* @param {string} roleId
|
|
@@ -270,7 +270,7 @@ export declare const AdminRolesApiFp: (configuration?: Configuration) => {
|
|
|
270
270
|
*/
|
|
271
271
|
export declare const AdminRolesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
272
272
|
/**
|
|
273
|
-
*
|
|
273
|
+
* Needs `roles.assign-permissions` and `roles.edit`. Takes `permissionId` or a list `permissionIds`. Every id is judged before anything changes: an unknown id is 400 (`Unknown permission: <id>`), and a permission that the caller does not hold is 403. Either refusal adds nothing. A permission that the role already holds is left as it is. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole request with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
274
274
|
* @summary Add permission(s) to a role
|
|
275
275
|
* @param {AdminRolesApiAdminRolesAddPermissionsRequest} requestParameters Request parameters.
|
|
276
276
|
* @param {*} [options] Override http request option.
|
|
@@ -286,7 +286,7 @@ export declare const AdminRolesApiFactory: (configuration?: Configuration, baseP
|
|
|
286
286
|
*/
|
|
287
287
|
adminRolesAddUser(requestParameters: AdminRolesApiAdminRolesAddUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageResponse>;
|
|
288
288
|
/**
|
|
289
|
-
*
|
|
289
|
+
* Optional `permissions` is a list of permission slugs. Giving it needs `roles.assign-permissions` as well as `roles.create`, and every permission must be one that the caller holds; otherwise the answer is 403 and no role is created. An unknown slug is 400.
|
|
290
290
|
* @summary Create a new role
|
|
291
291
|
* @param {AdminRolesApiAdminRolesCreateRequest} requestParameters Request parameters.
|
|
292
292
|
* @param {*} [options] Override http request option.
|
|
@@ -334,7 +334,7 @@ export declare const AdminRolesApiFactory: (configuration?: Configuration, baseP
|
|
|
334
334
|
*/
|
|
335
335
|
adminRolesList(requestParameters: AdminRolesApiAdminRolesListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminRolesListResponse>;
|
|
336
336
|
/**
|
|
337
|
-
*
|
|
337
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
338
338
|
* @summary Remove a permission from a role
|
|
339
339
|
* @param {AdminRolesApiAdminRolesRemovePermissionRequest} requestParameters Request parameters.
|
|
340
340
|
* @param {*} [options] Override http request option.
|
|
@@ -350,7 +350,7 @@ export declare const AdminRolesApiFactory: (configuration?: Configuration, baseP
|
|
|
350
350
|
*/
|
|
351
351
|
adminRolesRemoveUser(requestParameters: AdminRolesApiAdminRolesRemoveUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageResponse>;
|
|
352
352
|
/**
|
|
353
|
-
*
|
|
353
|
+
* Needs `roles.assign-permissions` and `roles.edit`. `permissions` is the full list of permission slugs that the role should grant. The whole list is judged before anything changes: an unknown slug is 400 (`Unknown permission: <slug>`), and a permission that the role does not hold yet must be one that the caller holds, otherwise 403. Either refusal changes nothing. Permissions on the role that the caller does not hold are kept, whether or not the list names them. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole change with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
354
354
|
* @summary Update role permissions (replaces all)
|
|
355
355
|
* @param {AdminRolesApiAdminRolesUpdatePermissionsRequest} requestParameters Request parameters.
|
|
356
356
|
* @param {*} [options] Override http request option.
|
|
@@ -381,7 +381,7 @@ export declare const AdminRolesApiFactory: (configuration?: Configuration, baseP
|
|
|
381
381
|
*/
|
|
382
382
|
export interface AdminRolesApiInterface {
|
|
383
383
|
/**
|
|
384
|
-
*
|
|
384
|
+
* Needs `roles.assign-permissions` and `roles.edit`. Takes `permissionId` or a list `permissionIds`. Every id is judged before anything changes: an unknown id is 400 (`Unknown permission: <id>`), and a permission that the caller does not hold is 403. Either refusal adds nothing. A permission that the role already holds is left as it is. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole request with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
385
385
|
* @summary Add permission(s) to a role
|
|
386
386
|
* @param {AdminRolesApiAdminRolesAddPermissionsRequest} requestParameters Request parameters.
|
|
387
387
|
* @param {*} [options] Override http request option.
|
|
@@ -399,7 +399,7 @@ export interface AdminRolesApiInterface {
|
|
|
399
399
|
*/
|
|
400
400
|
adminRolesAddUser(requestParameters: AdminRolesApiAdminRolesAddUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageResponse>;
|
|
401
401
|
/**
|
|
402
|
-
*
|
|
402
|
+
* Optional `permissions` is a list of permission slugs. Giving it needs `roles.assign-permissions` as well as `roles.create`, and every permission must be one that the caller holds; otherwise the answer is 403 and no role is created. An unknown slug is 400.
|
|
403
403
|
* @summary Create a new role
|
|
404
404
|
* @param {AdminRolesApiAdminRolesCreateRequest} requestParameters Request parameters.
|
|
405
405
|
* @param {*} [options] Override http request option.
|
|
@@ -453,7 +453,7 @@ export interface AdminRolesApiInterface {
|
|
|
453
453
|
*/
|
|
454
454
|
adminRolesList(requestParameters: AdminRolesApiAdminRolesListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminRolesListResponse>;
|
|
455
455
|
/**
|
|
456
|
-
*
|
|
456
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
457
457
|
* @summary Remove a permission from a role
|
|
458
458
|
* @param {AdminRolesApiAdminRolesRemovePermissionRequest} requestParameters Request parameters.
|
|
459
459
|
* @param {*} [options] Override http request option.
|
|
@@ -471,7 +471,7 @@ export interface AdminRolesApiInterface {
|
|
|
471
471
|
*/
|
|
472
472
|
adminRolesRemoveUser(requestParameters: AdminRolesApiAdminRolesRemoveUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageResponse>;
|
|
473
473
|
/**
|
|
474
|
-
*
|
|
474
|
+
* Needs `roles.assign-permissions` and `roles.edit`. `permissions` is the full list of permission slugs that the role should grant. The whole list is judged before anything changes: an unknown slug is 400 (`Unknown permission: <slug>`), and a permission that the role does not hold yet must be one that the caller holds, otherwise 403. Either refusal changes nothing. Permissions on the role that the caller does not hold are kept, whether or not the list names them. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole change with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
475
475
|
* @summary Update role permissions (replaces all)
|
|
476
476
|
* @param {AdminRolesApiAdminRolesUpdatePermissionsRequest} requestParameters Request parameters.
|
|
477
477
|
* @param {*} [options] Override http request option.
|
|
@@ -753,7 +753,7 @@ export interface AdminRolesApiPutAdminRolesUpdateRequest {
|
|
|
753
753
|
*/
|
|
754
754
|
export declare class AdminRolesApi extends BaseAPI implements AdminRolesApiInterface {
|
|
755
755
|
/**
|
|
756
|
-
*
|
|
756
|
+
* Needs `roles.assign-permissions` and `roles.edit`. Takes `permissionId` or a list `permissionIds`. Every id is judged before anything changes: an unknown id is 400 (`Unknown permission: <id>`), and a permission that the caller does not hold is 403. Either refusal adds nothing. A permission that the role already holds is left as it is. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole request with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
757
757
|
* @summary Add permission(s) to a role
|
|
758
758
|
* @param {AdminRolesApiAdminRolesAddPermissionsRequest} requestParameters Request parameters.
|
|
759
759
|
* @param {*} [options] Override http request option.
|
|
@@ -771,7 +771,7 @@ export declare class AdminRolesApi extends BaseAPI implements AdminRolesApiInter
|
|
|
771
771
|
*/
|
|
772
772
|
adminRolesAddUser(requestParameters: AdminRolesApiAdminRolesAddUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessageResponse, any, {}>>;
|
|
773
773
|
/**
|
|
774
|
-
*
|
|
774
|
+
* Optional `permissions` is a list of permission slugs. Giving it needs `roles.assign-permissions` as well as `roles.create`, and every permission must be one that the caller holds; otherwise the answer is 403 and no role is created. An unknown slug is 400.
|
|
775
775
|
* @summary Create a new role
|
|
776
776
|
* @param {AdminRolesApiAdminRolesCreateRequest} requestParameters Request parameters.
|
|
777
777
|
* @param {*} [options] Override http request option.
|
|
@@ -825,7 +825,7 @@ export declare class AdminRolesApi extends BaseAPI implements AdminRolesApiInter
|
|
|
825
825
|
*/
|
|
826
826
|
adminRolesList(requestParameters: AdminRolesApiAdminRolesListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminRolesListResponse, any, {}>>;
|
|
827
827
|
/**
|
|
828
|
-
*
|
|
828
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
829
829
|
* @summary Remove a permission from a role
|
|
830
830
|
* @param {AdminRolesApiAdminRolesRemovePermissionRequest} requestParameters Request parameters.
|
|
831
831
|
* @param {*} [options] Override http request option.
|
|
@@ -843,7 +843,7 @@ export declare class AdminRolesApi extends BaseAPI implements AdminRolesApiInter
|
|
|
843
843
|
*/
|
|
844
844
|
adminRolesRemoveUser(requestParameters: AdminRolesApiAdminRolesRemoveUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessageResponse, any, {}>>;
|
|
845
845
|
/**
|
|
846
|
-
*
|
|
846
|
+
* Needs `roles.assign-permissions` and `roles.edit`. `permissions` is the full list of permission slugs that the role should grant. The whole list is judged before anything changes: an unknown slug is 400 (`Unknown permission: <slug>`), and a permission that the role does not hold yet must be one that the caller holds, otherwise 403. Either refusal changes nothing. Permissions on the role that the caller does not hold are kept, whether or not the list names them. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole change with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
847
847
|
* @summary Update role permissions (replaces all)
|
|
848
848
|
* @param {AdminRolesApiAdminRolesUpdatePermissionsRequest} requestParameters Request parameters.
|
|
849
849
|
* @param {*} [options] Override http request option.
|
|
@@ -36,7 +36,7 @@ const base_1 = require("../base");
|
|
|
36
36
|
const AdminRolesApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Needs `roles.assign-permissions` and `roles.edit`. Takes `permissionId` or a list `permissionIds`. Every id is judged before anything changes: an unknown id is 400 (`Unknown permission: <id>`), and a permission that the caller does not hold is 403. Either refusal adds nothing. A permission that the role already holds is left as it is. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole request with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
40
40
|
* @summary Add permission(s) to a role
|
|
41
41
|
* @param {string} orgId
|
|
42
42
|
* @param {string} roleId
|
|
@@ -112,7 +112,7 @@ const AdminRolesApiAxiosParamCreator = function (configuration) {
|
|
|
112
112
|
};
|
|
113
113
|
}),
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* Optional `permissions` is a list of permission slugs. Giving it needs `roles.assign-permissions` as well as `roles.create`, and every permission must be one that the caller holds; otherwise the answer is 403 and no role is created. An unknown slug is 400.
|
|
116
116
|
* @summary Create a new role
|
|
117
117
|
* @param {string} orgId
|
|
118
118
|
* @param {*} [options] Override http request option.
|
|
@@ -332,7 +332,7 @@ const AdminRolesApiAxiosParamCreator = function (configuration) {
|
|
|
332
332
|
};
|
|
333
333
|
}),
|
|
334
334
|
/**
|
|
335
|
-
*
|
|
335
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
336
336
|
* @summary Remove a permission from a role
|
|
337
337
|
* @param {string} orgId
|
|
338
338
|
* @param {string} roleId
|
|
@@ -416,7 +416,7 @@ const AdminRolesApiAxiosParamCreator = function (configuration) {
|
|
|
416
416
|
};
|
|
417
417
|
}),
|
|
418
418
|
/**
|
|
419
|
-
*
|
|
419
|
+
* Needs `roles.assign-permissions` and `roles.edit`. `permissions` is the full list of permission slugs that the role should grant. The whole list is judged before anything changes: an unknown slug is 400 (`Unknown permission: <slug>`), and a permission that the role does not hold yet must be one that the caller holds, otherwise 403. Either refusal changes nothing. Permissions on the role that the caller does not hold are kept, whether or not the list names them. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole change with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
420
420
|
* @summary Update role permissions (replaces all)
|
|
421
421
|
* @param {string} orgId
|
|
422
422
|
* @param {string} roleId
|
|
@@ -540,7 +540,7 @@ const AdminRolesApiFp = function (configuration) {
|
|
|
540
540
|
const localVarAxiosParamCreator = (0, exports.AdminRolesApiAxiosParamCreator)(configuration);
|
|
541
541
|
return {
|
|
542
542
|
/**
|
|
543
|
-
*
|
|
543
|
+
* Needs `roles.assign-permissions` and `roles.edit`. Takes `permissionId` or a list `permissionIds`. Every id is judged before anything changes: an unknown id is 400 (`Unknown permission: <id>`), and a permission that the caller does not hold is 403. Either refusal adds nothing. A permission that the role already holds is left as it is. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole request with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
544
544
|
* @summary Add permission(s) to a role
|
|
545
545
|
* @param {string} orgId
|
|
546
546
|
* @param {string} roleId
|
|
@@ -574,7 +574,7 @@ const AdminRolesApiFp = function (configuration) {
|
|
|
574
574
|
});
|
|
575
575
|
},
|
|
576
576
|
/**
|
|
577
|
-
*
|
|
577
|
+
* Optional `permissions` is a list of permission slugs. Giving it needs `roles.assign-permissions` as well as `roles.create`, and every permission must be one that the caller holds; otherwise the answer is 403 and no role is created. An unknown slug is 400.
|
|
578
578
|
* @summary Create a new role
|
|
579
579
|
* @param {string} orgId
|
|
580
580
|
* @param {*} [options] Override http request option.
|
|
@@ -674,7 +674,7 @@ const AdminRolesApiFp = function (configuration) {
|
|
|
674
674
|
});
|
|
675
675
|
},
|
|
676
676
|
/**
|
|
677
|
-
*
|
|
677
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
678
678
|
* @summary Remove a permission from a role
|
|
679
679
|
* @param {string} orgId
|
|
680
680
|
* @param {string} roleId
|
|
@@ -710,7 +710,7 @@ const AdminRolesApiFp = function (configuration) {
|
|
|
710
710
|
});
|
|
711
711
|
},
|
|
712
712
|
/**
|
|
713
|
-
*
|
|
713
|
+
* Needs `roles.assign-permissions` and `roles.edit`. `permissions` is the full list of permission slugs that the role should grant. The whole list is judged before anything changes: an unknown slug is 400 (`Unknown permission: <slug>`), and a permission that the role does not hold yet must be one that the caller holds, otherwise 403. Either refusal changes nothing. Permissions on the role that the caller does not hold are kept, whether or not the list names them. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole change with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
714
714
|
* @summary Update role permissions (replaces all)
|
|
715
715
|
* @param {string} orgId
|
|
716
716
|
* @param {string} roleId
|
|
@@ -771,7 +771,7 @@ const AdminRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
771
771
|
const localVarFp = (0, exports.AdminRolesApiFp)(configuration);
|
|
772
772
|
return {
|
|
773
773
|
/**
|
|
774
|
-
*
|
|
774
|
+
* Needs `roles.assign-permissions` and `roles.edit`. Takes `permissionId` or a list `permissionIds`. Every id is judged before anything changes: an unknown id is 400 (`Unknown permission: <id>`), and a permission that the caller does not hold is 403. Either refusal adds nothing. A permission that the role already holds is left as it is. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole request with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
775
775
|
* @summary Add permission(s) to a role
|
|
776
776
|
* @param {AdminRolesApiAdminRolesAddPermissionsRequest} requestParameters Request parameters.
|
|
777
777
|
* @param {*} [options] Override http request option.
|
|
@@ -791,7 +791,7 @@ const AdminRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
791
791
|
return localVarFp.adminRolesAddUser(requestParameters.orgId, requestParameters.roleId, options).then((request) => request(axios, basePath));
|
|
792
792
|
},
|
|
793
793
|
/**
|
|
794
|
-
*
|
|
794
|
+
* Optional `permissions` is a list of permission slugs. Giving it needs `roles.assign-permissions` as well as `roles.create`, and every permission must be one that the caller holds; otherwise the answer is 403 and no role is created. An unknown slug is 400.
|
|
795
795
|
* @summary Create a new role
|
|
796
796
|
* @param {AdminRolesApiAdminRolesCreateRequest} requestParameters Request parameters.
|
|
797
797
|
* @param {*} [options] Override http request option.
|
|
@@ -851,7 +851,7 @@ const AdminRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
851
851
|
return localVarFp.adminRolesList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
852
852
|
},
|
|
853
853
|
/**
|
|
854
|
-
*
|
|
854
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
855
855
|
* @summary Remove a permission from a role
|
|
856
856
|
* @param {AdminRolesApiAdminRolesRemovePermissionRequest} requestParameters Request parameters.
|
|
857
857
|
* @param {*} [options] Override http request option.
|
|
@@ -871,7 +871,7 @@ const AdminRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
871
871
|
return localVarFp.adminRolesRemoveUser(requestParameters.orgId, requestParameters.roleId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
872
872
|
},
|
|
873
873
|
/**
|
|
874
|
-
*
|
|
874
|
+
* Needs `roles.assign-permissions` and `roles.edit`. `permissions` is the full list of permission slugs that the role should grant. The whole list is judged before anything changes: an unknown slug is 400 (`Unknown permission: <slug>`), and a permission that the role does not hold yet must be one that the caller holds, otherwise 403. Either refusal changes nothing. Permissions on the role that the caller does not hold are kept, whether or not the list names them. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole change with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
875
875
|
* @summary Update role permissions (replaces all)
|
|
876
876
|
* @param {AdminRolesApiAdminRolesUpdatePermissionsRequest} requestParameters Request parameters.
|
|
877
877
|
* @param {*} [options] Override http request option.
|
|
@@ -911,7 +911,7 @@ exports.AdminRolesApiFactory = AdminRolesApiFactory;
|
|
|
911
911
|
*/
|
|
912
912
|
class AdminRolesApi extends base_1.BaseAPI {
|
|
913
913
|
/**
|
|
914
|
-
*
|
|
914
|
+
* Needs `roles.assign-permissions` and `roles.edit`. Takes `permissionId` or a list `permissionIds`. Every id is judged before anything changes: an unknown id is 400 (`Unknown permission: <id>`), and a permission that the caller does not hold is 403. Either refusal adds nothing. A permission that the role already holds is left as it is. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole request with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
915
915
|
* @summary Add permission(s) to a role
|
|
916
916
|
* @param {AdminRolesApiAdminRolesAddPermissionsRequest} requestParameters Request parameters.
|
|
917
917
|
* @param {*} [options] Override http request option.
|
|
@@ -933,7 +933,7 @@ class AdminRolesApi extends base_1.BaseAPI {
|
|
|
933
933
|
return (0, exports.AdminRolesApiFp)(this.configuration).adminRolesAddUser(requestParameters.orgId, requestParameters.roleId, options).then((request) => request(this.axios, this.basePath));
|
|
934
934
|
}
|
|
935
935
|
/**
|
|
936
|
-
*
|
|
936
|
+
* Optional `permissions` is a list of permission slugs. Giving it needs `roles.assign-permissions` as well as `roles.create`, and every permission must be one that the caller holds; otherwise the answer is 403 and no role is created. An unknown slug is 400.
|
|
937
937
|
* @summary Create a new role
|
|
938
938
|
* @param {AdminRolesApiAdminRolesCreateRequest} requestParameters Request parameters.
|
|
939
939
|
* @param {*} [options] Override http request option.
|
|
@@ -999,7 +999,7 @@ class AdminRolesApi extends base_1.BaseAPI {
|
|
|
999
999
|
return (0, exports.AdminRolesApiFp)(this.configuration).adminRolesList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
1000
1000
|
}
|
|
1001
1001
|
/**
|
|
1002
|
-
*
|
|
1002
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
1003
1003
|
* @summary Remove a permission from a role
|
|
1004
1004
|
* @param {AdminRolesApiAdminRolesRemovePermissionRequest} requestParameters Request parameters.
|
|
1005
1005
|
* @param {*} [options] Override http request option.
|
|
@@ -1021,7 +1021,7 @@ class AdminRolesApi extends base_1.BaseAPI {
|
|
|
1021
1021
|
return (0, exports.AdminRolesApiFp)(this.configuration).adminRolesRemoveUser(requestParameters.orgId, requestParameters.roleId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
1022
1022
|
}
|
|
1023
1023
|
/**
|
|
1024
|
-
*
|
|
1024
|
+
* Needs `roles.assign-permissions` and `roles.edit`. `permissions` is the full list of permission slugs that the role should grant. The whole list is judged before anything changes: an unknown slug is 400 (`Unknown permission: <slug>`), and a permission that the role does not hold yet must be one that the caller holds, otherwise 403. Either refusal changes nothing. Permissions on the role that the caller does not hold are kept, whether or not the list names them. When the role starts to open the admin portal, each active holder that is not an administrator yet takes an admin seat; too few free seats refuse the whole change with 403 `plan_limit_reached`, and `requested` says how many seats it needs.
|
|
1025
1025
|
* @summary Update role permissions (replaces all)
|
|
1026
1026
|
* @param {AdminRolesApiAdminRolesUpdatePermissionsRequest} requestParameters Request parameters.
|
|
1027
1027
|
* @param {*} [options] Override http request option.
|
|
@@ -39,7 +39,7 @@ export declare const AdminSandboxApiAxiosParamCreator: (configuration?: Configur
|
|
|
39
39
|
*/
|
|
40
40
|
adminSandboxList: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
|
|
43
43
|
* @summary Spawn a sandbox tenant
|
|
44
44
|
* @param {string} orgId
|
|
45
45
|
* @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
|
|
@@ -71,7 +71,7 @@ export declare const AdminSandboxApiFp: (configuration?: Configuration) => {
|
|
|
71
71
|
*/
|
|
72
72
|
adminSandboxList(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminSandboxListResponse>>;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
|
|
75
75
|
* @summary Spawn a sandbox tenant
|
|
76
76
|
* @param {string} orgId
|
|
77
77
|
* @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
|
|
@@ -102,7 +102,7 @@ export declare const AdminSandboxApiFactory: (configuration?: Configuration, bas
|
|
|
102
102
|
*/
|
|
103
103
|
adminSandboxList(requestParameters: AdminSandboxApiAdminSandboxListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminSandboxListResponse>;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
|
|
106
106
|
* @summary Spawn a sandbox tenant
|
|
107
107
|
* @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
@@ -135,7 +135,7 @@ export interface AdminSandboxApiInterface {
|
|
|
135
135
|
*/
|
|
136
136
|
adminSandboxList(requestParameters: AdminSandboxApiAdminSandboxListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminSandboxListResponse>;
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
* Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
|
|
139
139
|
* @summary Spawn a sandbox tenant
|
|
140
140
|
* @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
@@ -221,7 +221,7 @@ export declare class AdminSandboxApi extends BaseAPI implements AdminSandboxApiI
|
|
|
221
221
|
*/
|
|
222
222
|
adminSandboxList(requestParameters: AdminSandboxApiAdminSandboxListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminSandboxListResponse, any, {}>>;
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
224
|
+
* Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
|
|
225
225
|
* @summary Spawn a sandbox tenant
|
|
226
226
|
* @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
|
|
227
227
|
* @param {*} [options] Override http request option.
|
|
@@ -108,7 +108,7 @@ const AdminSandboxApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
};
|
|
109
109
|
}),
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
|
|
112
112
|
* @summary Spawn a sandbox tenant
|
|
113
113
|
* @param {string} orgId
|
|
114
114
|
* @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
|
|
@@ -188,7 +188,7 @@ const AdminSandboxApiFp = function (configuration) {
|
|
|
188
188
|
});
|
|
189
189
|
},
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
|
|
192
192
|
* @summary Spawn a sandbox tenant
|
|
193
193
|
* @param {string} orgId
|
|
194
194
|
* @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
|
|
@@ -235,7 +235,7 @@ const AdminSandboxApiFactory = function (configuration, basePath, axios) {
|
|
|
235
235
|
return localVarFp.adminSandboxList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
236
236
|
},
|
|
237
237
|
/**
|
|
238
|
-
*
|
|
238
|
+
* Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
|
|
239
239
|
* @summary Spawn a sandbox tenant
|
|
240
240
|
* @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
|
|
241
241
|
* @param {*} [options] Override http request option.
|
|
@@ -277,7 +277,7 @@ class AdminSandboxApi extends base_1.BaseAPI {
|
|
|
277
277
|
return (0, exports.AdminSandboxApiFp)(this.configuration).adminSandboxList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
278
278
|
}
|
|
279
279
|
/**
|
|
280
|
-
*
|
|
280
|
+
* Creates a sandbox organization with its own signing key, the Tenant Admin role, a Starter App client and one API key that holds every Admin API scope. The API key is returned only in this response and expires with the sandbox. Use it as `X-API-Key` on `/orgs/{sandbox slug}/api/v1/admin/...`. No user who can sign in is created: add users with the key. The sandbox uses the plan of the organization that created it and cannot create sandboxes itself.
|
|
281
281
|
* @summary Spawn a sandbox tenant
|
|
282
282
|
* @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
|
|
283
283
|
* @param {*} [options] Override http request option.
|