@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
|
@@ -105,7 +105,7 @@ export const AdminOAuthClientsApiAxiosParamCreator = function (configuration?: C
|
|
|
105
105
|
};
|
|
106
106
|
},
|
|
107
107
|
/**
|
|
108
|
-
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
108
|
+
* Needs `branding.view` and `clients.view`. Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
109
109
|
* @summary Get an OAuth client\'s login and consent page branding
|
|
110
110
|
* @param {string} orgId
|
|
111
111
|
* @param {string} clientId
|
|
@@ -457,7 +457,7 @@ export const AdminOAuthClientsApiAxiosParamCreator = function (configuration?: C
|
|
|
457
457
|
};
|
|
458
458
|
},
|
|
459
459
|
/**
|
|
460
|
-
*
|
|
460
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
461
461
|
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
462
462
|
* @param {string} orgId
|
|
463
463
|
* @param {string} clientId
|
|
@@ -551,7 +551,7 @@ export const AdminOAuthClientsApiAxiosParamCreator = function (configuration?: C
|
|
|
551
551
|
};
|
|
552
552
|
},
|
|
553
553
|
/**
|
|
554
|
-
*
|
|
554
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
555
555
|
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
556
556
|
* @param {string} orgId
|
|
557
557
|
* @param {string} clientId
|
|
@@ -691,7 +691,7 @@ export const AdminOAuthClientsApiAxiosParamCreator = function (configuration?: C
|
|
|
691
691
|
},
|
|
692
692
|
/**
|
|
693
693
|
*
|
|
694
|
-
* @summary
|
|
694
|
+
* @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
|
|
695
695
|
* @param {string} orgId
|
|
696
696
|
* @param {string} clientId
|
|
697
697
|
* @param {*} [options] Override http request option.
|
|
@@ -759,7 +759,7 @@ export const AdminOAuthClientsApiFp = function(configuration?: Configuration) {
|
|
|
759
759
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
760
760
|
},
|
|
761
761
|
/**
|
|
762
|
-
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
762
|
+
* Needs `branding.view` and `clients.view`. Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
763
763
|
* @summary Get an OAuth client\'s login and consent page branding
|
|
764
764
|
* @param {string} orgId
|
|
765
765
|
* @param {string} clientId
|
|
@@ -869,7 +869,7 @@ export const AdminOAuthClientsApiFp = function(configuration?: Configuration) {
|
|
|
869
869
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
870
870
|
},
|
|
871
871
|
/**
|
|
872
|
-
*
|
|
872
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
873
873
|
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
874
874
|
* @param {string} orgId
|
|
875
875
|
* @param {string} clientId
|
|
@@ -898,7 +898,7 @@ export const AdminOAuthClientsApiFp = function(configuration?: Configuration) {
|
|
|
898
898
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
899
899
|
},
|
|
900
900
|
/**
|
|
901
|
-
*
|
|
901
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
902
902
|
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
903
903
|
* @param {string} orgId
|
|
904
904
|
* @param {string} clientId
|
|
@@ -942,7 +942,7 @@ export const AdminOAuthClientsApiFp = function(configuration?: Configuration) {
|
|
|
942
942
|
},
|
|
943
943
|
/**
|
|
944
944
|
*
|
|
945
|
-
* @summary
|
|
945
|
+
* @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
|
|
946
946
|
* @param {string} orgId
|
|
947
947
|
* @param {string} clientId
|
|
948
948
|
* @param {*} [options] Override http request option.
|
|
@@ -975,7 +975,7 @@ export const AdminOAuthClientsApiFactory = function (configuration?: Configurati
|
|
|
975
975
|
return localVarFp.adminClientsCimdCheck(requestParameters.orgId, requestParameters.adminClientsCimdCheckRequest, options).then((request) => request(axios, basePath));
|
|
976
976
|
},
|
|
977
977
|
/**
|
|
978
|
-
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
978
|
+
* Needs `branding.view` and `clients.view`. Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
979
979
|
* @summary Get an OAuth client\'s login and consent page branding
|
|
980
980
|
* @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
|
|
981
981
|
* @param {*} [options] Override http request option.
|
|
@@ -1055,7 +1055,7 @@ export const AdminOAuthClientsApiFactory = function (configuration?: Configurati
|
|
|
1055
1055
|
return localVarFp.listClients(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
1056
1056
|
},
|
|
1057
1057
|
/**
|
|
1058
|
-
*
|
|
1058
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
1059
1059
|
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
1060
1060
|
* @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1061
1061
|
* @param {*} [options] Override http request option.
|
|
@@ -1075,7 +1075,7 @@ export const AdminOAuthClientsApiFactory = function (configuration?: Configurati
|
|
|
1075
1075
|
return localVarFp.patchClient(requestParameters.orgId, requestParameters.clientId, options).then((request) => request(axios, basePath));
|
|
1076
1076
|
},
|
|
1077
1077
|
/**
|
|
1078
|
-
*
|
|
1078
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
1079
1079
|
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
1080
1080
|
* @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1081
1081
|
* @param {*} [options] Override http request option.
|
|
@@ -1106,7 +1106,7 @@ export const AdminOAuthClientsApiFactory = function (configuration?: Configurati
|
|
|
1106
1106
|
},
|
|
1107
1107
|
/**
|
|
1108
1108
|
*
|
|
1109
|
-
* @summary
|
|
1109
|
+
* @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
|
|
1110
1110
|
* @param {AdminOAuthClientsApiUpdateClientRequest} requestParameters Request parameters.
|
|
1111
1111
|
* @param {*} [options] Override http request option.
|
|
1112
1112
|
* @throws {RequiredError}
|
|
@@ -1134,7 +1134,7 @@ export interface AdminOAuthClientsApiInterface {
|
|
|
1134
1134
|
adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminClientsCimdCheckResponse>;
|
|
1135
1135
|
|
|
1136
1136
|
/**
|
|
1137
|
-
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
1137
|
+
* Needs `branding.view` and `clients.view`. Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
1138
1138
|
* @summary Get an OAuth client\'s login and consent page branding
|
|
1139
1139
|
* @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
|
|
1140
1140
|
* @param {*} [options] Override http request option.
|
|
@@ -1214,7 +1214,7 @@ export interface AdminOAuthClientsApiInterface {
|
|
|
1214
1214
|
listClients(requestParameters: AdminOAuthClientsApiListClientsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListClientsResponse>;
|
|
1215
1215
|
|
|
1216
1216
|
/**
|
|
1217
|
-
*
|
|
1217
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
1218
1218
|
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
1219
1219
|
* @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1220
1220
|
* @param {*} [options] Override http request option.
|
|
@@ -1234,7 +1234,7 @@ export interface AdminOAuthClientsApiInterface {
|
|
|
1234
1234
|
patchClient(requestParameters: AdminOAuthClientsApiPatchClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateClientResponse>;
|
|
1235
1235
|
|
|
1236
1236
|
/**
|
|
1237
|
-
*
|
|
1237
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
1238
1238
|
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
1239
1239
|
* @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1240
1240
|
* @param {*} [options] Override http request option.
|
|
@@ -1265,7 +1265,7 @@ export interface AdminOAuthClientsApiInterface {
|
|
|
1265
1265
|
|
|
1266
1266
|
/**
|
|
1267
1267
|
*
|
|
1268
|
-
* @summary
|
|
1268
|
+
* @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
|
|
1269
1269
|
* @param {AdminOAuthClientsApiUpdateClientRequest} requestParameters Request parameters.
|
|
1270
1270
|
* @param {*} [options] Override http request option.
|
|
1271
1271
|
* @throws {RequiredError}
|
|
@@ -1610,7 +1610,7 @@ export class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthClientsAp
|
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
1612
|
/**
|
|
1613
|
-
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
1613
|
+
* Needs `branding.view` and `clients.view`. Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
1614
1614
|
* @summary Get an OAuth client\'s login and consent page branding
|
|
1615
1615
|
* @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
|
|
1616
1616
|
* @param {*} [options] Override http request option.
|
|
@@ -1706,7 +1706,7 @@ export class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthClientsAp
|
|
|
1706
1706
|
}
|
|
1707
1707
|
|
|
1708
1708
|
/**
|
|
1709
|
-
*
|
|
1709
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
1710
1710
|
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
1711
1711
|
* @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1712
1712
|
* @param {*} [options] Override http request option.
|
|
@@ -1730,7 +1730,7 @@ export class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthClientsAp
|
|
|
1730
1730
|
}
|
|
1731
1731
|
|
|
1732
1732
|
/**
|
|
1733
|
-
*
|
|
1733
|
+
* Needs `branding.edit` and `clients.edit`, as the Branding tab of the application in the portal does.
|
|
1734
1734
|
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
1735
1735
|
* @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1736
1736
|
* @param {*} [options] Override http request option.
|
|
@@ -1767,7 +1767,7 @@ export class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthClientsAp
|
|
|
1767
1767
|
|
|
1768
1768
|
/**
|
|
1769
1769
|
*
|
|
1770
|
-
* @summary
|
|
1770
|
+
* @summary Update an OAuth client (same as PATCH: only the fields that are sent change)
|
|
1771
1771
|
* @param {AdminOAuthClientsApiUpdateClientRequest} requestParameters Request parameters.
|
|
1772
1772
|
* @param {*} [options] Override http request option.
|
|
1773
1773
|
* @throws {RequiredError}
|
package/api/admin-roles-api.ts
CHANGED
|
@@ -40,7 +40,7 @@ import type { MessageResponse } from '../models';
|
|
|
40
40
|
export const AdminRolesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41
41
|
return {
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* 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.
|
|
44
44
|
* @summary Add permission(s) to a role
|
|
45
45
|
* @param {string} orgId
|
|
46
46
|
* @param {string} roleId
|
|
@@ -130,7 +130,7 @@ export const AdminRolesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
130
130
|
};
|
|
131
131
|
},
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* 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.
|
|
134
134
|
* @summary Create a new role
|
|
135
135
|
* @param {string} orgId
|
|
136
136
|
* @param {*} [options] Override http request option.
|
|
@@ -392,7 +392,7 @@ export const AdminRolesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
392
392
|
};
|
|
393
393
|
},
|
|
394
394
|
/**
|
|
395
|
-
*
|
|
395
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
396
396
|
* @summary Remove a permission from a role
|
|
397
397
|
* @param {string} orgId
|
|
398
398
|
* @param {string} roleId
|
|
@@ -490,7 +490,7 @@ export const AdminRolesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
490
490
|
};
|
|
491
491
|
},
|
|
492
492
|
/**
|
|
493
|
-
*
|
|
493
|
+
* 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.
|
|
494
494
|
* @summary Update role permissions (replaces all)
|
|
495
495
|
* @param {string} orgId
|
|
496
496
|
* @param {string} roleId
|
|
@@ -635,7 +635,7 @@ export const AdminRolesApiFp = function(configuration?: Configuration) {
|
|
|
635
635
|
const localVarAxiosParamCreator = AdminRolesApiAxiosParamCreator(configuration)
|
|
636
636
|
return {
|
|
637
637
|
/**
|
|
638
|
-
*
|
|
638
|
+
* 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.
|
|
639
639
|
* @summary Add permission(s) to a role
|
|
640
640
|
* @param {string} orgId
|
|
641
641
|
* @param {string} roleId
|
|
@@ -663,7 +663,7 @@ export const AdminRolesApiFp = function(configuration?: Configuration) {
|
|
|
663
663
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
664
664
|
},
|
|
665
665
|
/**
|
|
666
|
-
*
|
|
666
|
+
* 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.
|
|
667
667
|
* @summary Create a new role
|
|
668
668
|
* @param {string} orgId
|
|
669
669
|
* @param {*} [options] Override http request option.
|
|
@@ -745,7 +745,7 @@ export const AdminRolesApiFp = function(configuration?: Configuration) {
|
|
|
745
745
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
746
746
|
},
|
|
747
747
|
/**
|
|
748
|
-
*
|
|
748
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
749
749
|
* @summary Remove a permission from a role
|
|
750
750
|
* @param {string} orgId
|
|
751
751
|
* @param {string} roleId
|
|
@@ -775,7 +775,7 @@ export const AdminRolesApiFp = function(configuration?: Configuration) {
|
|
|
775
775
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
776
776
|
},
|
|
777
777
|
/**
|
|
778
|
-
*
|
|
778
|
+
* 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.
|
|
779
779
|
* @summary Update role permissions (replaces all)
|
|
780
780
|
* @param {string} orgId
|
|
781
781
|
* @param {string} roleId
|
|
@@ -827,7 +827,7 @@ export const AdminRolesApiFactory = function (configuration?: Configuration, bas
|
|
|
827
827
|
const localVarFp = AdminRolesApiFp(configuration)
|
|
828
828
|
return {
|
|
829
829
|
/**
|
|
830
|
-
*
|
|
830
|
+
* 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.
|
|
831
831
|
* @summary Add permission(s) to a role
|
|
832
832
|
* @param {AdminRolesApiAdminRolesAddPermissionsRequest} requestParameters Request parameters.
|
|
833
833
|
* @param {*} [options] Override http request option.
|
|
@@ -847,7 +847,7 @@ export const AdminRolesApiFactory = function (configuration?: Configuration, bas
|
|
|
847
847
|
return localVarFp.adminRolesAddUser(requestParameters.orgId, requestParameters.roleId, options).then((request) => request(axios, basePath));
|
|
848
848
|
},
|
|
849
849
|
/**
|
|
850
|
-
*
|
|
850
|
+
* 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.
|
|
851
851
|
* @summary Create a new role
|
|
852
852
|
* @param {AdminRolesApiAdminRolesCreateRequest} requestParameters Request parameters.
|
|
853
853
|
* @param {*} [options] Override http request option.
|
|
@@ -907,7 +907,7 @@ export const AdminRolesApiFactory = function (configuration?: Configuration, bas
|
|
|
907
907
|
return localVarFp.adminRolesList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
908
908
|
},
|
|
909
909
|
/**
|
|
910
|
-
*
|
|
910
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
911
911
|
* @summary Remove a permission from a role
|
|
912
912
|
* @param {AdminRolesApiAdminRolesRemovePermissionRequest} requestParameters Request parameters.
|
|
913
913
|
* @param {*} [options] Override http request option.
|
|
@@ -927,7 +927,7 @@ export const AdminRolesApiFactory = function (configuration?: Configuration, bas
|
|
|
927
927
|
return localVarFp.adminRolesRemoveUser(requestParameters.orgId, requestParameters.roleId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
928
928
|
},
|
|
929
929
|
/**
|
|
930
|
-
*
|
|
930
|
+
* 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.
|
|
931
931
|
* @summary Update role permissions (replaces all)
|
|
932
932
|
* @param {AdminRolesApiAdminRolesUpdatePermissionsRequest} requestParameters Request parameters.
|
|
933
933
|
* @param {*} [options] Override http request option.
|
|
@@ -966,7 +966,7 @@ export const AdminRolesApiFactory = function (configuration?: Configuration, bas
|
|
|
966
966
|
*/
|
|
967
967
|
export interface AdminRolesApiInterface {
|
|
968
968
|
/**
|
|
969
|
-
*
|
|
969
|
+
* 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.
|
|
970
970
|
* @summary Add permission(s) to a role
|
|
971
971
|
* @param {AdminRolesApiAdminRolesAddPermissionsRequest} requestParameters Request parameters.
|
|
972
972
|
* @param {*} [options] Override http request option.
|
|
@@ -986,7 +986,7 @@ export interface AdminRolesApiInterface {
|
|
|
986
986
|
adminRolesAddUser(requestParameters: AdminRolesApiAdminRolesAddUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageResponse>;
|
|
987
987
|
|
|
988
988
|
/**
|
|
989
|
-
*
|
|
989
|
+
* 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.
|
|
990
990
|
* @summary Create a new role
|
|
991
991
|
* @param {AdminRolesApiAdminRolesCreateRequest} requestParameters Request parameters.
|
|
992
992
|
* @param {*} [options] Override http request option.
|
|
@@ -1046,7 +1046,7 @@ export interface AdminRolesApiInterface {
|
|
|
1046
1046
|
adminRolesList(requestParameters: AdminRolesApiAdminRolesListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminRolesListResponse>;
|
|
1047
1047
|
|
|
1048
1048
|
/**
|
|
1049
|
-
*
|
|
1049
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
1050
1050
|
* @summary Remove a permission from a role
|
|
1051
1051
|
* @param {AdminRolesApiAdminRolesRemovePermissionRequest} requestParameters Request parameters.
|
|
1052
1052
|
* @param {*} [options] Override http request option.
|
|
@@ -1066,7 +1066,7 @@ export interface AdminRolesApiInterface {
|
|
|
1066
1066
|
adminRolesRemoveUser(requestParameters: AdminRolesApiAdminRolesRemoveUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageResponse>;
|
|
1067
1067
|
|
|
1068
1068
|
/**
|
|
1069
|
-
*
|
|
1069
|
+
* 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.
|
|
1070
1070
|
* @summary Update role permissions (replaces all)
|
|
1071
1071
|
* @param {AdminRolesApiAdminRolesUpdatePermissionsRequest} requestParameters Request parameters.
|
|
1072
1072
|
* @param {*} [options] Override http request option.
|
|
@@ -1378,7 +1378,7 @@ export interface AdminRolesApiPutAdminRolesUpdateRequest {
|
|
|
1378
1378
|
*/
|
|
1379
1379
|
export class AdminRolesApi extends BaseAPI implements AdminRolesApiInterface {
|
|
1380
1380
|
/**
|
|
1381
|
-
*
|
|
1381
|
+
* 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.
|
|
1382
1382
|
* @summary Add permission(s) to a role
|
|
1383
1383
|
* @param {AdminRolesApiAdminRolesAddPermissionsRequest} requestParameters Request parameters.
|
|
1384
1384
|
* @param {*} [options] Override http request option.
|
|
@@ -1402,7 +1402,7 @@ export class AdminRolesApi extends BaseAPI implements AdminRolesApiInterface {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
/**
|
|
1405
|
-
*
|
|
1405
|
+
* 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.
|
|
1406
1406
|
* @summary Create a new role
|
|
1407
1407
|
* @param {AdminRolesApiAdminRolesCreateRequest} requestParameters Request parameters.
|
|
1408
1408
|
* @param {*} [options] Override http request option.
|
|
@@ -1474,7 +1474,7 @@ export class AdminRolesApi extends BaseAPI implements AdminRolesApiInterface {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
|
|
1476
1476
|
/**
|
|
1477
|
-
*
|
|
1477
|
+
* Needs `roles.assign-permissions` and `roles.edit`.
|
|
1478
1478
|
* @summary Remove a permission from a role
|
|
1479
1479
|
* @param {AdminRolesApiAdminRolesRemovePermissionRequest} requestParameters Request parameters.
|
|
1480
1480
|
* @param {*} [options] Override http request option.
|
|
@@ -1498,7 +1498,7 @@ export class AdminRolesApi extends BaseAPI implements AdminRolesApiInterface {
|
|
|
1498
1498
|
}
|
|
1499
1499
|
|
|
1500
1500
|
/**
|
|
1501
|
-
*
|
|
1501
|
+
* 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.
|
|
1502
1502
|
* @summary Update role permissions (replaces all)
|
|
1503
1503
|
* @param {AdminRolesApiAdminRolesUpdatePermissionsRequest} requestParameters Request parameters.
|
|
1504
1504
|
* @param {*} [options] Override http request option.
|
package/api/admin-sandbox-api.ts
CHANGED
|
@@ -122,7 +122,7 @@ export const AdminSandboxApiAxiosParamCreator = function (configuration?: Config
|
|
|
122
122
|
};
|
|
123
123
|
},
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* 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.
|
|
126
126
|
* @summary Spawn a sandbox tenant
|
|
127
127
|
* @param {string} orgId
|
|
128
128
|
* @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
|
|
@@ -204,7 +204,7 @@ export const AdminSandboxApiFp = function(configuration?: Configuration) {
|
|
|
204
204
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
205
205
|
},
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* 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.
|
|
208
208
|
* @summary Spawn a sandbox tenant
|
|
209
209
|
* @param {string} orgId
|
|
210
210
|
* @param {AdminSandboxSpawnRequest} [adminSandboxSpawnRequest]
|
|
@@ -248,7 +248,7 @@ export const AdminSandboxApiFactory = function (configuration?: Configuration, b
|
|
|
248
248
|
return localVarFp.adminSandboxList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
249
249
|
},
|
|
250
250
|
/**
|
|
251
|
-
*
|
|
251
|
+
* 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.
|
|
252
252
|
* @summary Spawn a sandbox tenant
|
|
253
253
|
* @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
|
|
254
254
|
* @param {*} [options] Override http request option.
|
|
@@ -287,7 +287,7 @@ export interface AdminSandboxApiInterface {
|
|
|
287
287
|
adminSandboxList(requestParameters: AdminSandboxApiAdminSandboxListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminSandboxListResponse>;
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* 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.
|
|
291
291
|
* @summary Spawn a sandbox tenant
|
|
292
292
|
* @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
|
|
293
293
|
* @param {*} [options] Override http request option.
|
|
@@ -386,7 +386,7 @@ export class AdminSandboxApi extends BaseAPI implements AdminSandboxApiInterface
|
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
|
-
*
|
|
389
|
+
* 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.
|
|
390
390
|
* @summary Spawn a sandbox tenant
|
|
391
391
|
* @param {AdminSandboxApiAdminSandboxSpawnRequest} requestParameters Request parameters.
|
|
392
392
|
* @param {*} [options] Override http request option.
|