@lumoauth/api-client 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +24 -2
- package/README.md +20 -6
- package/api/admin-abac-api.ts +18 -5
- package/api/admin-agents-api.ts +86 -15
- package/api/admin-audit-logs-api.ts +15 -15
- package/api/admin-email-api.ts +15 -15
- package/api/admin-groups-api.ts +15 -15
- package/api/admin-mcp-api.ts +5 -5
- package/api/admin-mfa-api.ts +10 -10
- package/api/admin-oauth-clients-api.ts +20 -20
- package/api/admin-roles-api.ts +20 -20
- package/api/admin-sandbox-api.ts +5 -5
- package/api/admin-settings-api.ts +112 -60
- package/api/admin-users-api.ts +347 -57
- package/api/admin-webhooks-api.ts +25 -25
- package/api/agents-api.ts +5 -5
- package/api/authorization-api.ts +20 -20
- package/api/oauth-api.ts +227 -5
- package/api/ssf-api.ts +10 -10
- package/dist/api/admin-abac-api.d.ts +10 -2
- package/dist/api/admin-abac-api.js +10 -5
- package/dist/api/admin-agents-api.d.ts +58 -6
- package/dist/api/admin-agents-api.js +55 -16
- package/dist/api/admin-audit-logs-api.d.ts +15 -15
- package/dist/api/admin-audit-logs-api.js +12 -12
- package/dist/api/admin-email-api.d.ts +15 -15
- package/dist/api/admin-email-api.js +12 -12
- package/dist/api/admin-groups-api.d.ts +15 -15
- package/dist/api/admin-groups-api.js +12 -12
- package/dist/api/admin-mcp-api.d.ts +5 -5
- package/dist/api/admin-mcp-api.js +4 -4
- package/dist/api/admin-mfa-api.d.ts +10 -10
- package/dist/api/admin-mfa-api.js +8 -8
- package/dist/api/admin-oauth-clients-api.d.ts +20 -20
- package/dist/api/admin-oauth-clients-api.js +16 -16
- package/dist/api/admin-roles-api.d.ts +20 -20
- package/dist/api/admin-roles-api.js +16 -16
- package/dist/api/admin-sandbox-api.d.ts +5 -5
- package/dist/api/admin-sandbox-api.js +4 -4
- package/dist/api/admin-settings-api.d.ts +82 -48
- package/dist/api/admin-settings-api.js +68 -52
- package/dist/api/admin-users-api.d.ts +228 -48
- package/dist/api/admin-users-api.js +206 -48
- package/dist/api/admin-webhooks-api.d.ts +25 -25
- package/dist/api/admin-webhooks-api.js +20 -20
- package/dist/api/agents-api.d.ts +5 -5
- package/dist/api/agents-api.js +4 -4
- package/dist/api/authorization-api.d.ts +20 -20
- package/dist/api/authorization-api.js +16 -16
- package/dist/api/oauth-api.d.ts +135 -5
- package/dist/api/oauth-api.js +148 -4
- package/dist/api/ssf-api.d.ts +10 -10
- package/dist/api/ssf-api.js +8 -8
- package/dist/esm/api/admin-abac-api.d.ts +10 -2
- package/dist/esm/api/admin-abac-api.js +10 -5
- package/dist/esm/api/admin-agents-api.d.ts +58 -6
- package/dist/esm/api/admin-agents-api.js +54 -15
- package/dist/esm/api/admin-audit-logs-api.d.ts +15 -15
- package/dist/esm/api/admin-audit-logs-api.js +12 -12
- package/dist/esm/api/admin-email-api.d.ts +15 -15
- package/dist/esm/api/admin-email-api.js +12 -12
- package/dist/esm/api/admin-groups-api.d.ts +15 -15
- package/dist/esm/api/admin-groups-api.js +12 -12
- package/dist/esm/api/admin-mcp-api.d.ts +5 -5
- package/dist/esm/api/admin-mcp-api.js +4 -4
- package/dist/esm/api/admin-mfa-api.d.ts +10 -10
- package/dist/esm/api/admin-mfa-api.js +8 -8
- package/dist/esm/api/admin-oauth-clients-api.d.ts +20 -20
- package/dist/esm/api/admin-oauth-clients-api.js +16 -16
- package/dist/esm/api/admin-roles-api.d.ts +20 -20
- package/dist/esm/api/admin-roles-api.js +16 -16
- package/dist/esm/api/admin-sandbox-api.d.ts +5 -5
- package/dist/esm/api/admin-sandbox-api.js +4 -4
- package/dist/esm/api/admin-settings-api.d.ts +82 -48
- package/dist/esm/api/admin-settings-api.js +69 -53
- package/dist/esm/api/admin-users-api.d.ts +228 -48
- package/dist/esm/api/admin-users-api.js +205 -47
- package/dist/esm/api/admin-webhooks-api.d.ts +25 -25
- package/dist/esm/api/admin-webhooks-api.js +20 -20
- package/dist/esm/api/agents-api.d.ts +5 -5
- package/dist/esm/api/agents-api.js +4 -4
- package/dist/esm/api/authorization-api.d.ts +20 -20
- package/dist/esm/api/authorization-api.js +16 -16
- package/dist/esm/api/oauth-api.d.ts +135 -5
- package/dist/esm/api/oauth-api.js +149 -5
- package/dist/esm/api/ssf-api.d.ts +10 -10
- package/dist/esm/api/ssf-api.js +8 -8
- package/dist/esm/models/abac-attribute-definition.d.ts +6 -0
- package/dist/esm/models/abac-policy.d.ts +7 -1
- package/dist/esm/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
- package/dist/esm/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
- package/dist/esm/models/admin-agents-create-request.d.ts +8 -0
- package/dist/esm/models/admin-analytics-dashboard-response-data-audit.d.ts +1 -1
- package/dist/esm/models/admin-audit-logs-retention-response-data.d.ts +21 -3
- package/dist/esm/models/admin-groups-list-response.d.ts +6 -0
- package/dist/esm/models/admin-identities-link-request.d.ts +8 -1
- package/dist/esm/models/admin-identities-link-request.js +1 -0
- package/dist/esm/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
- package/dist/esm/models/admin-identities-list-response-data-bindings-item.js +1 -0
- package/dist/esm/models/admin-mcp-servers-list-response.d.ts +8 -3
- package/dist/esm/models/admin-sandbox-spawn-response-data.d.ts +18 -0
- package/dist/esm/models/admin-sandbox-spawn-response-data.js +14 -0
- package/dist/esm/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
- package/dist/esm/models/admin-sandbox-spawn-response-data1.js +14 -0
- package/dist/esm/models/admin-sandbox-spawn-response.d.ts +3 -3
- package/dist/esm/models/admin-settings-all-response-data-general.d.ts +13 -1
- package/dist/esm/models/admin-settings-all-response-data.d.ts +4 -5
- package/dist/esm/models/admin-settings-email-get-response.d.ts +4 -5
- package/dist/esm/models/admin-settings-general-get-response-data.d.ts +4 -10
- package/dist/esm/models/{admin-mcp-servers-list-response-meta.d.ts → admin-users-restore-response.d.ts} +9 -14
- package/dist/esm/models/admin-users-restore-response.js +14 -0
- package/dist/esm/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
- package/dist/esm/models/admin-webhooks-delivery-replay-response-data.js +14 -0
- package/dist/esm/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
- package/dist/esm/models/admin-webhooks-test-response.d.ts +6 -0
- package/dist/esm/models/ask-response.d.ts +15 -0
- package/dist/esm/models/ask-response.js +10 -1
- package/dist/esm/models/attest-response-identity.d.ts +1 -1
- package/dist/esm/models/attest-response.d.ts +2 -2
- package/dist/esm/models/audit-log-entry.d.ts +1 -1
- package/dist/esm/models/authentication-settings-password-policy.d.ts +25 -1
- package/dist/esm/models/authentication-settings-password-rotation-policy.d.ts +1 -13
- package/dist/esm/models/authentication-settings.d.ts +13 -15
- package/dist/esm/models/authentication-settings.js +11 -0
- package/dist/esm/models/authorization-server-metadata.d.ts +8 -2
- package/dist/esm/models/check-email-first-request.d.ts +30 -0
- package/dist/esm/models/check-email-first-request.js +14 -0
- package/dist/esm/models/check-email-first-response.d.ts +42 -0
- package/dist/esm/models/check-email-first-response.js +14 -0
- package/dist/esm/models/email-sender-settings.d.ts +62 -0
- package/dist/esm/models/email-sender-settings.js +22 -0
- package/dist/esm/models/get-approval-status-response-approved-by.d.ts +2 -2
- package/dist/esm/models/get-me-response.d.ts +18 -0
- package/dist/esm/models/get-server-challenge-response.d.ts +3 -2
- package/dist/esm/models/get-server-challenge-response.js +1 -0
- package/dist/esm/models/index.d.ts +12 -1
- package/dist/esm/models/index.js +12 -1
- package/dist/esm/models/introspect-response.d.ts +6 -0
- package/dist/esm/models/issue-agent-token-request.d.ts +6 -0
- package/dist/esm/models/list-permissions-response-permissions-item.d.ts +1 -1
- package/dist/esm/models/list-users-response.d.ts +6 -0
- package/dist/esm/models/oauth-client-secret-issued.d.ts +1 -1
- package/dist/esm/models/oauth-client.d.ts +6 -0
- package/dist/esm/models/oauth-scope.d.ts +1 -7
- package/dist/esm/models/open-id-configuration.d.ts +3 -3
- package/dist/esm/models/push-enrollment-started.d.ts +1 -1
- package/dist/esm/models/put-admin-agents-update-request.d.ts +8 -0
- package/dist/esm/models/put-admin-settings-branding-update-response.d.ts +6 -0
- package/dist/esm/models/put-admin-settings-email-update-request.d.ts +36 -0
- package/dist/esm/models/put-admin-settings-email-update-request.js +14 -0
- package/dist/esm/models/put-admin-settings-email-update-response.d.ts +4 -5
- package/dist/esm/models/put-admin-settings-general-update-request.d.ts +30 -0
- package/dist/esm/models/put-admin-settings-general-update-request.js +14 -0
- package/dist/esm/models/put-admin-settings-general-update-response-data.d.ts +1 -7
- package/dist/esm/models/register-client-response.d.ts +0 -24
- package/dist/esm/models/registered-client-metadata.d.ts +0 -24
- package/dist/esm/models/request-magic-link-request.d.ts +42 -0
- package/dist/esm/models/request-magic-link-request.js +14 -0
- package/dist/esm/models/request-magic-link-response.d.ts +31 -0
- package/dist/esm/models/request-magic-link-response.js +21 -0
- package/dist/esm/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
- package/dist/esm/models/scim-settings-inbound.d.ts +0 -8
- package/dist/esm/models/scim-settings-outbound.d.ts +2 -10
- package/dist/esm/models/social-login-provider.d.ts +2 -1
- package/dist/esm/models/user.d.ts +12 -0
- package/dist/esm/models/userinfo-response.d.ts +4 -12
- package/dist/esm/models/userinfo-response.js +0 -2
- package/dist/models/abac-attribute-definition.d.ts +6 -0
- package/dist/models/abac-policy.d.ts +7 -1
- package/dist/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
- package/dist/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
- package/dist/models/admin-agents-create-request.d.ts +8 -0
- package/dist/models/admin-analytics-dashboard-response-data-audit.d.ts +1 -1
- package/dist/models/admin-audit-logs-retention-response-data.d.ts +21 -3
- package/dist/models/admin-groups-list-response.d.ts +6 -0
- package/dist/models/admin-identities-link-request.d.ts +8 -1
- package/dist/models/admin-identities-link-request.js +1 -0
- package/dist/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
- package/dist/models/admin-identities-list-response-data-bindings-item.js +1 -0
- package/dist/models/admin-mcp-servers-list-response.d.ts +8 -3
- package/dist/models/admin-sandbox-spawn-response-data.d.ts +18 -0
- package/dist/models/admin-sandbox-spawn-response-data.js +15 -0
- package/dist/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
- package/dist/models/admin-sandbox-spawn-response-data1.js +15 -0
- package/dist/models/admin-sandbox-spawn-response.d.ts +3 -3
- package/dist/models/admin-settings-all-response-data-general.d.ts +13 -1
- package/dist/models/admin-settings-all-response-data.d.ts +4 -5
- package/dist/models/admin-settings-email-get-response.d.ts +4 -5
- package/dist/models/admin-settings-general-get-response-data.d.ts +4 -10
- package/dist/models/{admin-mcp-servers-list-response-meta.d.ts → admin-users-restore-response.d.ts} +9 -14
- package/dist/models/admin-users-restore-response.js +15 -0
- package/dist/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
- package/dist/models/admin-webhooks-delivery-replay-response-data.js +15 -0
- package/dist/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
- package/dist/models/admin-webhooks-test-response.d.ts +6 -0
- package/dist/models/ask-response.d.ts +15 -0
- package/dist/models/ask-response.js +11 -0
- package/dist/models/attest-response-identity.d.ts +1 -1
- package/dist/models/attest-response.d.ts +2 -2
- package/dist/models/audit-log-entry.d.ts +1 -1
- package/dist/models/authentication-settings-password-policy.d.ts +25 -1
- package/dist/models/authentication-settings-password-rotation-policy.d.ts +1 -13
- package/dist/models/authentication-settings.d.ts +13 -15
- package/dist/models/authentication-settings.js +12 -1
- package/dist/models/authorization-server-metadata.d.ts +8 -2
- package/dist/models/check-email-first-request.d.ts +30 -0
- package/dist/models/check-email-first-request.js +15 -0
- package/dist/models/check-email-first-response.d.ts +42 -0
- package/dist/models/check-email-first-response.js +15 -0
- package/dist/models/email-sender-settings.d.ts +62 -0
- package/dist/models/email-sender-settings.js +25 -0
- package/dist/models/get-approval-status-response-approved-by.d.ts +2 -2
- package/dist/models/get-me-response.d.ts +18 -0
- package/dist/models/get-server-challenge-response.d.ts +3 -2
- package/dist/models/get-server-challenge-response.js +1 -0
- package/dist/models/index.d.ts +12 -1
- package/dist/models/index.js +12 -1
- package/dist/models/introspect-response.d.ts +6 -0
- package/dist/models/issue-agent-token-request.d.ts +6 -0
- package/dist/models/list-permissions-response-permissions-item.d.ts +1 -1
- package/dist/models/list-users-response.d.ts +6 -0
- package/dist/models/oauth-client-secret-issued.d.ts +1 -1
- package/dist/models/oauth-client.d.ts +6 -0
- package/dist/models/oauth-scope.d.ts +1 -7
- package/dist/models/open-id-configuration.d.ts +3 -3
- package/dist/models/push-enrollment-started.d.ts +1 -1
- package/dist/models/put-admin-agents-update-request.d.ts +8 -0
- package/dist/models/put-admin-settings-branding-update-response.d.ts +6 -0
- package/dist/models/put-admin-settings-email-update-request.d.ts +36 -0
- package/dist/models/put-admin-settings-email-update-request.js +15 -0
- package/dist/models/put-admin-settings-email-update-response.d.ts +4 -5
- package/dist/models/put-admin-settings-general-update-request.d.ts +30 -0
- package/dist/models/put-admin-settings-general-update-request.js +15 -0
- package/dist/models/put-admin-settings-general-update-response-data.d.ts +1 -7
- package/dist/models/register-client-response.d.ts +0 -24
- package/dist/models/registered-client-metadata.d.ts +0 -24
- package/dist/models/request-magic-link-request.d.ts +42 -0
- package/dist/models/request-magic-link-request.js +15 -0
- package/dist/models/request-magic-link-response.d.ts +31 -0
- package/dist/models/request-magic-link-response.js +24 -0
- package/dist/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
- package/dist/models/scim-settings-inbound.d.ts +0 -8
- package/dist/models/scim-settings-outbound.d.ts +2 -10
- package/dist/models/social-login-provider.d.ts +2 -1
- package/dist/models/user.d.ts +12 -0
- package/dist/models/userinfo-response.d.ts +4 -12
- package/dist/models/userinfo-response.js +0 -2
- package/docs/AAuthApi.md +1 -1
- package/docs/AbacAttributeDefinition.md +2 -0
- package/docs/AbacPolicy.md +3 -1
- package/docs/AdminAbacApi.md +14 -9
- package/docs/AdminAgentsAgentsRotateKeyRequest.md +22 -0
- package/docs/AdminAgentsAgentsRotateKeyResponse.md +2 -0
- package/docs/AdminAgentsApi.md +27 -9
- package/docs/AdminAgentsCreateRequest.md +2 -0
- package/docs/AdminAnalyticsDashboardResponseDataAudit.md +1 -1
- package/docs/AdminAuditLogsApi.md +3 -0
- package/docs/AdminAuditLogsRetentionResponseData.md +9 -3
- package/docs/AdminEmailApi.md +3 -0
- package/docs/AdminGroupsApi.md +3 -0
- package/docs/AdminGroupsListResponse.md +2 -0
- package/docs/AdminIdentitiesLinkRequest.md +3 -1
- package/docs/AdminIdentitiesListResponseDataBindingsItem.md +2 -0
- package/docs/AdminMcpApi.md +2 -1
- package/docs/AdminMcpServersListResponse.md +3 -1
- package/docs/AdminMfaApi.md +4 -2
- package/docs/AdminOAuthClientsApi.md +5 -3
- package/docs/AdminOrganizationsApi.md +13 -5
- package/docs/AdminRolesApi.md +10 -0
- package/docs/AdminSandboxApi.md +3 -1
- package/docs/AdminSandboxSpawnResponse.md +1 -1
- package/docs/AdminSandboxSpawnResponseData.md +32 -0
- package/docs/AdminSandboxSpawnResponseData1.md +20 -0
- package/docs/AdminSettingsAllResponseData.md +1 -1
- package/docs/AdminSettingsAllResponseDataGeneral.md +5 -1
- package/docs/AdminSettingsApi.md +54 -12
- package/docs/AdminSettingsEmailGetResponse.md +1 -1
- package/docs/AdminSettingsGeneralGetResponseData.md +4 -6
- package/docs/AdminUsersApi.md +112 -10
- package/docs/AdminUsersRestoreResponse.md +22 -0
- package/docs/AdminWebhooksApi.md +7 -5
- package/docs/AdminWebhooksDeliveryReplayResponse.md +1 -1
- package/docs/AdminWebhooksDeliveryReplayResponseData.md +28 -0
- package/docs/AdminWebhooksTestResponse.md +2 -0
- package/docs/AgentsApi.md +8 -5
- package/docs/AskResponse.md +2 -0
- package/docs/AttestResponse.md +1 -1
- package/docs/AttestResponseIdentity.md +1 -1
- package/docs/AuditLogEntry.md +1 -1
- package/docs/AuthenticationSettings.md +2 -6
- package/docs/AuthenticationSettingsPasswordPolicy.md +9 -0
- package/docs/AuthenticationSettingsPasswordRotationPolicy.md +1 -4
- package/docs/AuthorizationApi.md +5 -5
- package/docs/AuthorizationServerMetadata.md +4 -2
- package/docs/CheckEmailFirstRequest.md +22 -0
- package/docs/CheckEmailFirstResponse.md +26 -0
- package/docs/CreateClientResponseData.md +3 -1
- package/docs/EmailSenderSettings.md +31 -0
- package/docs/EnrollAuthenticator201Response.md +1 -1
- package/docs/GetApprovalStatusResponseApprovedBy.md +1 -1
- package/docs/GetMeResponse.md +6 -0
- package/docs/GetServerChallengeResponse.md +1 -1
- package/docs/IdentityApi.md +2 -2
- package/docs/IntrospectResponse.md +2 -0
- package/docs/IssueAgentTokenRequest.md +2 -0
- package/docs/JitApi.md +3 -3
- package/docs/ListPermissionsResponsePermissionsItem.md +1 -1
- package/docs/ListUsersResponse.md +2 -0
- package/docs/McpApi.md +5 -6
- package/docs/OAuthApi.md +135 -14
- package/docs/OAuthClient.md +2 -0
- package/docs/OAuthClientSecretIssued.md +1 -1
- package/docs/OAuthScope.md +1 -3
- package/docs/OIDCApi.md +4 -4
- package/docs/OpenIdConfiguration.md +3 -3
- package/docs/PushEnrollmentStarted.md +1 -1
- package/docs/PutAdminAgentsUpdateRequest.md +2 -0
- package/docs/PutAdminSettingsBrandingUpdateResponse.md +2 -0
- package/docs/PutAdminSettingsEmailUpdateRequest.md +24 -0
- package/docs/PutAdminSettingsEmailUpdateResponse.md +1 -1
- package/docs/PutAdminSettingsGeneralUpdateRequest.md +22 -0
- package/docs/PutAdminSettingsGeneralUpdateResponseData.md +1 -3
- package/docs/RegisterClientResponse.md +0 -8
- package/docs/RegisteredClientMetadata.md +0 -8
- package/docs/RequestMagicLinkRequest.md +26 -0
- package/docs/RequestMagicLinkResponse.md +20 -0
- package/docs/ScimSettingsInbound.md +0 -2
- package/docs/ScimSettingsInboundProtectedAttributes.md +3 -5
- package/docs/ScimSettingsOutbound.md +2 -4
- package/docs/SocialLoginProvider.md +1 -1
- package/docs/SsfApi.md +2 -0
- package/docs/TokenVaultApi.md +2 -2
- package/docs/User.md +4 -0
- package/docs/UserinfoResponse.md +3 -5
- package/docs/WellKnownApi.md +2 -2
- package/models/abac-attribute-definition.ts +6 -0
- package/models/abac-policy.ts +7 -1
- package/models/admin-agents-agents-rotate-key-request.ts +36 -0
- package/models/admin-agents-agents-rotate-key-response.ts +6 -0
- package/models/admin-agents-create-request.ts +6 -0
- package/models/admin-analytics-dashboard-response-data-audit.ts +1 -1
- package/models/admin-audit-logs-retention-response-data.ts +21 -3
- package/models/admin-groups-list-response.ts +6 -0
- package/models/admin-identities-link-request.ts +8 -1
- package/models/admin-identities-list-response-data-bindings-item.ts +7 -0
- package/models/admin-mcp-servers-list-response.ts +8 -5
- package/models/admin-sandbox-spawn-response-data.ts +29 -0
- package/models/admin-sandbox-spawn-response-data1.ts +30 -0
- package/models/admin-sandbox-spawn-response.ts +3 -3
- package/models/admin-settings-all-response-data-general.ts +13 -1
- package/models/admin-settings-all-response-data.ts +6 -3
- package/models/admin-settings-email-get-response.ts +6 -3
- package/models/admin-settings-general-get-response-data.ts +4 -10
- package/models/{admin-mcp-servers-list-response-meta.ts → admin-users-restore-response.ts} +11 -14
- package/models/admin-webhooks-delivery-replay-response-data.ts +54 -0
- package/models/admin-webhooks-delivery-replay-response.ts +3 -3
- package/models/admin-webhooks-test-response.ts +6 -0
- package/models/ask-response.ts +17 -0
- package/models/attest-response-identity.ts +1 -1
- package/models/attest-response.ts +2 -2
- package/models/audit-log-entry.ts +1 -1
- package/models/authentication-settings-password-policy.ts +25 -1
- package/models/authentication-settings-password-rotation-policy.ts +1 -13
- package/models/authentication-settings.ts +13 -15
- package/models/authorization-server-metadata.ts +8 -2
- package/models/check-email-first-request.ts +36 -0
- package/models/check-email-first-response.ts +48 -0
- package/models/email-sender-settings.ts +70 -0
- package/models/get-approval-status-response-approved-by.ts +2 -2
- package/models/get-me-response.ts +18 -0
- package/models/get-server-challenge-response.ts +3 -2
- package/models/index.ts +12 -1
- package/models/introspect-response.ts +6 -0
- package/models/issue-agent-token-request.ts +6 -0
- package/models/list-permissions-response-permissions-item.ts +1 -1
- package/models/list-users-response.ts +6 -0
- package/models/oauth-client-secret-issued.ts +1 -1
- package/models/oauth-client.ts +6 -0
- package/models/oauth-scope.ts +1 -7
- package/models/open-id-configuration.ts +3 -3
- package/models/push-enrollment-started.ts +1 -1
- package/models/put-admin-agents-update-request.ts +6 -0
- package/models/put-admin-settings-branding-update-response.ts +6 -0
- package/models/put-admin-settings-email-update-request.ts +42 -0
- package/models/put-admin-settings-email-update-response.ts +6 -3
- package/models/put-admin-settings-general-update-request.ts +36 -0
- package/models/put-admin-settings-general-update-response-data.ts +1 -7
- package/models/register-client-response.ts +0 -24
- package/models/registered-client-metadata.ts +0 -24
- package/models/request-magic-link-request.ts +48 -0
- package/models/request-magic-link-response.ts +39 -0
- package/models/scim-settings-inbound-protected-attributes.ts +2 -10
- package/models/scim-settings-inbound.ts +0 -6
- package/models/scim-settings-outbound.ts +2 -8
- package/models/social-login-provider.ts +2 -1
- package/models/user.ts +12 -0
- package/models/userinfo-response.ts +4 -12
- package/package.json +1 -1
- package/docs/AdminMcpServersListResponseMeta.md +0 -24
- /package/dist/esm/models/{admin-mcp-servers-list-response-meta.js → admin-agents-agents-rotate-key-request.js} +0 -0
- /package/dist/models/{admin-mcp-servers-list-response-meta.js → admin-agents-agents-rotate-key-request.js} +0 -0
package/dist/api/oauth-api.js
CHANGED
|
@@ -96,6 +96,40 @@ const OAuthApiAxiosParamCreator = function (configuration) {
|
|
|
96
96
|
options: localVarRequestOptions,
|
|
97
97
|
};
|
|
98
98
|
}),
|
|
99
|
+
/**
|
|
100
|
+
* For applications that render their own sign-in form. Returns the sign-in methods that the organization offers, so that the form can show the next step after an address was typed. The answer does not depend on the address: `exists` is always `true`, and a known address and a new one get the same answer. Takes no credential and signs nobody in. A browser request must come from one of the allowed origins of the application named by `client_id`.
|
|
101
|
+
* @summary Sign-in methods for an email-first form
|
|
102
|
+
* @param {string} orgId
|
|
103
|
+
* @param {CheckEmailFirstRequest} checkEmailFirstRequest
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
checkEmailFirst: (orgId_1, checkEmailFirstRequest_1, ...args_1) => __awaiter(this, [orgId_1, checkEmailFirstRequest_1, ...args_1], void 0, function* (orgId, checkEmailFirstRequest, options = {}) {
|
|
108
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
109
|
+
(0, common_1.assertParamExists)('checkEmailFirst', 'orgId', orgId);
|
|
110
|
+
// verify required parameter 'checkEmailFirstRequest' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('checkEmailFirst', 'checkEmailFirstRequest', checkEmailFirstRequest);
|
|
112
|
+
const localVarPath = `/orgs/{orgId}/api/v1/oauth/check-email`
|
|
113
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
114
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
115
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
116
|
+
let baseOptions;
|
|
117
|
+
if (configuration) {
|
|
118
|
+
baseOptions = configuration.baseOptions;
|
|
119
|
+
}
|
|
120
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
121
|
+
const localVarHeaderParameter = {};
|
|
122
|
+
const localVarQueryParameter = {};
|
|
123
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
124
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
127
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(checkEmailFirstRequest, localVarRequestOptions, configuration);
|
|
128
|
+
return {
|
|
129
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
130
|
+
options: localVarRequestOptions,
|
|
131
|
+
};
|
|
132
|
+
}),
|
|
99
133
|
/**
|
|
100
134
|
* Starts the device authorization grant for a client registered for urn:ietf:params:oauth:grant-type:device_code. Public clients send client_id only; confidential clients must authenticate. The device then polls the token endpoint with the device_code.
|
|
101
135
|
* @summary Device authorization request (RFC 8628)
|
|
@@ -289,7 +323,7 @@ const OAuthApiAxiosParamCreator = function (configuration) {
|
|
|
289
323
|
};
|
|
290
324
|
}),
|
|
291
325
|
/**
|
|
292
|
-
* Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it.
|
|
326
|
+
* Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it. Refused with invalid_client_metadata: grant_types other than authorization_code and refresh_token, response_types other than code and none, subject_type other than public, sector_identifier_uri, request_uris, userinfo_signed_response_alg, an id_token_signed_response_alg other than the organization\'s signing algorithm, and every encryption member (id_token_encrypted_response_*, userinfo_encrypted_response_*, request_object_encryption_*, authorization_encrypted_response_*).
|
|
293
327
|
* @summary Dynamic client registration (RFC 7591 / OIDC DCR)
|
|
294
328
|
* @param {string} orgId
|
|
295
329
|
* @param {*} [options] Override http request option.
|
|
@@ -322,6 +356,40 @@ const OAuthApiAxiosParamCreator = function (configuration) {
|
|
|
322
356
|
options: localVarRequestOptions,
|
|
323
357
|
};
|
|
324
358
|
}),
|
|
359
|
+
/**
|
|
360
|
+
* For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
|
|
361
|
+
* @summary Request a sign-in link by email
|
|
362
|
+
* @param {string} orgId
|
|
363
|
+
* @param {RequestMagicLinkRequest} requestMagicLinkRequest
|
|
364
|
+
* @param {*} [options] Override http request option.
|
|
365
|
+
* @throws {RequiredError}
|
|
366
|
+
*/
|
|
367
|
+
requestMagicLink: (orgId_1, requestMagicLinkRequest_1, ...args_1) => __awaiter(this, [orgId_1, requestMagicLinkRequest_1, ...args_1], void 0, function* (orgId, requestMagicLinkRequest, options = {}) {
|
|
368
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
369
|
+
(0, common_1.assertParamExists)('requestMagicLink', 'orgId', orgId);
|
|
370
|
+
// verify required parameter 'requestMagicLinkRequest' is not null or undefined
|
|
371
|
+
(0, common_1.assertParamExists)('requestMagicLink', 'requestMagicLinkRequest', requestMagicLinkRequest);
|
|
372
|
+
const localVarPath = `/orgs/{orgId}/api/v1/oauth/magic-link`
|
|
373
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
374
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
375
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
376
|
+
let baseOptions;
|
|
377
|
+
if (configuration) {
|
|
378
|
+
baseOptions = configuration.baseOptions;
|
|
379
|
+
}
|
|
380
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
381
|
+
const localVarHeaderParameter = {};
|
|
382
|
+
const localVarQueryParameter = {};
|
|
383
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
384
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
385
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
386
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
387
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestMagicLinkRequest, localVarRequestOptions, configuration);
|
|
388
|
+
return {
|
|
389
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
390
|
+
options: localVarRequestOptions,
|
|
391
|
+
};
|
|
392
|
+
}),
|
|
325
393
|
/**
|
|
326
394
|
* Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
|
|
327
395
|
* @summary Token revocation (RFC 7009)
|
|
@@ -643,6 +711,23 @@ const OAuthApiFp = function (configuration) {
|
|
|
643
711
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
644
712
|
});
|
|
645
713
|
},
|
|
714
|
+
/**
|
|
715
|
+
* For applications that render their own sign-in form. Returns the sign-in methods that the organization offers, so that the form can show the next step after an address was typed. The answer does not depend on the address: `exists` is always `true`, and a known address and a new one get the same answer. Takes no credential and signs nobody in. A browser request must come from one of the allowed origins of the application named by `client_id`.
|
|
716
|
+
* @summary Sign-in methods for an email-first form
|
|
717
|
+
* @param {string} orgId
|
|
718
|
+
* @param {CheckEmailFirstRequest} checkEmailFirstRequest
|
|
719
|
+
* @param {*} [options] Override http request option.
|
|
720
|
+
* @throws {RequiredError}
|
|
721
|
+
*/
|
|
722
|
+
checkEmailFirst(orgId, checkEmailFirstRequest, options) {
|
|
723
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
724
|
+
var _a, _b, _c;
|
|
725
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.checkEmailFirst(orgId, checkEmailFirstRequest, options);
|
|
726
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
727
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuthApi.checkEmailFirst']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
728
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
729
|
+
});
|
|
730
|
+
},
|
|
646
731
|
/**
|
|
647
732
|
* Starts the device authorization grant for a client registered for urn:ietf:params:oauth:grant-type:device_code. Public clients send client_id only; confidential clients must authenticate. The device then polls the token endpoint with the device_code.
|
|
648
733
|
* @summary Device authorization request (RFC 8628)
|
|
@@ -741,7 +826,7 @@ const OAuthApiFp = function (configuration) {
|
|
|
741
826
|
});
|
|
742
827
|
},
|
|
743
828
|
/**
|
|
744
|
-
* Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it.
|
|
829
|
+
* Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it. Refused with invalid_client_metadata: grant_types other than authorization_code and refresh_token, response_types other than code and none, subject_type other than public, sector_identifier_uri, request_uris, userinfo_signed_response_alg, an id_token_signed_response_alg other than the organization\'s signing algorithm, and every encryption member (id_token_encrypted_response_*, userinfo_encrypted_response_*, request_object_encryption_*, authorization_encrypted_response_*).
|
|
745
830
|
* @summary Dynamic client registration (RFC 7591 / OIDC DCR)
|
|
746
831
|
* @param {string} orgId
|
|
747
832
|
* @param {*} [options] Override http request option.
|
|
@@ -756,6 +841,23 @@ const OAuthApiFp = function (configuration) {
|
|
|
756
841
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
757
842
|
});
|
|
758
843
|
},
|
|
844
|
+
/**
|
|
845
|
+
* For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
|
|
846
|
+
* @summary Request a sign-in link by email
|
|
847
|
+
* @param {string} orgId
|
|
848
|
+
* @param {RequestMagicLinkRequest} requestMagicLinkRequest
|
|
849
|
+
* @param {*} [options] Override http request option.
|
|
850
|
+
* @throws {RequiredError}
|
|
851
|
+
*/
|
|
852
|
+
requestMagicLink(orgId, requestMagicLinkRequest, options) {
|
|
853
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
854
|
+
var _a, _b, _c;
|
|
855
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestMagicLink(orgId, requestMagicLinkRequest, options);
|
|
856
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
857
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuthApi.requestMagicLink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
858
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
859
|
+
});
|
|
860
|
+
},
|
|
759
861
|
/**
|
|
760
862
|
* Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
|
|
761
863
|
* @summary Token revocation (RFC 7009)
|
|
@@ -933,6 +1035,16 @@ const OAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
933
1035
|
backchannelAuthorize(requestParameters, options) {
|
|
934
1036
|
return localVarFp.backchannelAuthorize(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
935
1037
|
},
|
|
1038
|
+
/**
|
|
1039
|
+
* For applications that render their own sign-in form. Returns the sign-in methods that the organization offers, so that the form can show the next step after an address was typed. The answer does not depend on the address: `exists` is always `true`, and a known address and a new one get the same answer. Takes no credential and signs nobody in. A browser request must come from one of the allowed origins of the application named by `client_id`.
|
|
1040
|
+
* @summary Sign-in methods for an email-first form
|
|
1041
|
+
* @param {OAuthApiCheckEmailFirstRequest} requestParameters Request parameters.
|
|
1042
|
+
* @param {*} [options] Override http request option.
|
|
1043
|
+
* @throws {RequiredError}
|
|
1044
|
+
*/
|
|
1045
|
+
checkEmailFirst(requestParameters, options) {
|
|
1046
|
+
return localVarFp.checkEmailFirst(requestParameters.orgId, requestParameters.checkEmailFirstRequest, options).then((request) => request(axios, basePath));
|
|
1047
|
+
},
|
|
936
1048
|
/**
|
|
937
1049
|
* Starts the device authorization grant for a client registered for urn:ietf:params:oauth:grant-type:device_code. Public clients send client_id only; confidential clients must authenticate. The device then polls the token endpoint with the device_code.
|
|
938
1050
|
* @summary Device authorization request (RFC 8628)
|
|
@@ -994,7 +1106,7 @@ const OAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
994
1106
|
return localVarFp.par(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
995
1107
|
},
|
|
996
1108
|
/**
|
|
997
|
-
* Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it.
|
|
1109
|
+
* Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it. Refused with invalid_client_metadata: grant_types other than authorization_code and refresh_token, response_types other than code and none, subject_type other than public, sector_identifier_uri, request_uris, userinfo_signed_response_alg, an id_token_signed_response_alg other than the organization\'s signing algorithm, and every encryption member (id_token_encrypted_response_*, userinfo_encrypted_response_*, request_object_encryption_*, authorization_encrypted_response_*).
|
|
998
1110
|
* @summary Dynamic client registration (RFC 7591 / OIDC DCR)
|
|
999
1111
|
* @param {OAuthApiRegisterClientRequest} requestParameters Request parameters.
|
|
1000
1112
|
* @param {*} [options] Override http request option.
|
|
@@ -1003,6 +1115,16 @@ const OAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1003
1115
|
registerClient(requestParameters, options) {
|
|
1004
1116
|
return localVarFp.registerClient(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
1005
1117
|
},
|
|
1118
|
+
/**
|
|
1119
|
+
* For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
|
|
1120
|
+
* @summary Request a sign-in link by email
|
|
1121
|
+
* @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
|
|
1122
|
+
* @param {*} [options] Override http request option.
|
|
1123
|
+
* @throws {RequiredError}
|
|
1124
|
+
*/
|
|
1125
|
+
requestMagicLink(requestParameters, options) {
|
|
1126
|
+
return localVarFp.requestMagicLink(requestParameters.orgId, requestParameters.requestMagicLinkRequest, options).then((request) => request(axios, basePath));
|
|
1127
|
+
},
|
|
1006
1128
|
/**
|
|
1007
1129
|
* Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
|
|
1008
1130
|
* @summary Token revocation (RFC 7009)
|
|
@@ -1125,6 +1247,17 @@ class OAuthApi extends base_1.BaseAPI {
|
|
|
1125
1247
|
backchannelAuthorize(requestParameters, options) {
|
|
1126
1248
|
return (0, exports.OAuthApiFp)(this.configuration).backchannelAuthorize(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
1127
1249
|
}
|
|
1250
|
+
/**
|
|
1251
|
+
* For applications that render their own sign-in form. Returns the sign-in methods that the organization offers, so that the form can show the next step after an address was typed. The answer does not depend on the address: `exists` is always `true`, and a known address and a new one get the same answer. Takes no credential and signs nobody in. A browser request must come from one of the allowed origins of the application named by `client_id`.
|
|
1252
|
+
* @summary Sign-in methods for an email-first form
|
|
1253
|
+
* @param {OAuthApiCheckEmailFirstRequest} requestParameters Request parameters.
|
|
1254
|
+
* @param {*} [options] Override http request option.
|
|
1255
|
+
* @throws {RequiredError}
|
|
1256
|
+
* @memberof OAuthApi
|
|
1257
|
+
*/
|
|
1258
|
+
checkEmailFirst(requestParameters, options) {
|
|
1259
|
+
return (0, exports.OAuthApiFp)(this.configuration).checkEmailFirst(requestParameters.orgId, requestParameters.checkEmailFirstRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1260
|
+
}
|
|
1128
1261
|
/**
|
|
1129
1262
|
* Starts the device authorization grant for a client registered for urn:ietf:params:oauth:grant-type:device_code. Public clients send client_id only; confidential clients must authenticate. The device then polls the token endpoint with the device_code.
|
|
1130
1263
|
* @summary Device authorization request (RFC 8628)
|
|
@@ -1192,7 +1325,7 @@ class OAuthApi extends base_1.BaseAPI {
|
|
|
1192
1325
|
return (0, exports.OAuthApiFp)(this.configuration).par(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
1193
1326
|
}
|
|
1194
1327
|
/**
|
|
1195
|
-
* Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it.
|
|
1328
|
+
* Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it. Refused with invalid_client_metadata: grant_types other than authorization_code and refresh_token, response_types other than code and none, subject_type other than public, sector_identifier_uri, request_uris, userinfo_signed_response_alg, an id_token_signed_response_alg other than the organization\'s signing algorithm, and every encryption member (id_token_encrypted_response_*, userinfo_encrypted_response_*, request_object_encryption_*, authorization_encrypted_response_*).
|
|
1196
1329
|
* @summary Dynamic client registration (RFC 7591 / OIDC DCR)
|
|
1197
1330
|
* @param {OAuthApiRegisterClientRequest} requestParameters Request parameters.
|
|
1198
1331
|
* @param {*} [options] Override http request option.
|
|
@@ -1202,6 +1335,17 @@ class OAuthApi extends base_1.BaseAPI {
|
|
|
1202
1335
|
registerClient(requestParameters, options) {
|
|
1203
1336
|
return (0, exports.OAuthApiFp)(this.configuration).registerClient(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
1204
1337
|
}
|
|
1338
|
+
/**
|
|
1339
|
+
* For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
|
|
1340
|
+
* @summary Request a sign-in link by email
|
|
1341
|
+
* @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
|
|
1342
|
+
* @param {*} [options] Override http request option.
|
|
1343
|
+
* @throws {RequiredError}
|
|
1344
|
+
* @memberof OAuthApi
|
|
1345
|
+
*/
|
|
1346
|
+
requestMagicLink(requestParameters, options) {
|
|
1347
|
+
return (0, exports.OAuthApiFp)(this.configuration).requestMagicLink(requestParameters.orgId, requestParameters.requestMagicLinkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1348
|
+
}
|
|
1205
1349
|
/**
|
|
1206
1350
|
* Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
|
|
1207
1351
|
* @summary Token revocation (RFC 7009)
|
package/dist/api/ssf-api.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare const SsfApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
37
37
|
*/
|
|
38
38
|
deleteStreamConfig: (streamId: string, orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
|
|
41
41
|
* @summary Read SSF stream configuration(s)
|
|
42
42
|
* @param {string} orgId
|
|
43
43
|
* @param {string} [streamId]
|
|
@@ -46,7 +46,7 @@ export declare const SsfApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
46
46
|
*/
|
|
47
47
|
getStreamConfig: (orgId: string, streamId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Needs `settings.manage`, as the portal does.
|
|
50
50
|
* @summary Request a stream verification event
|
|
51
51
|
* @param {string} orgId
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
@@ -77,7 +77,7 @@ export declare const SsfApiFp: (configuration?: Configuration) => {
|
|
|
77
77
|
*/
|
|
78
78
|
deleteStreamConfig(streamId: string, orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
|
|
81
81
|
* @summary Read SSF stream configuration(s)
|
|
82
82
|
* @param {string} orgId
|
|
83
83
|
* @param {string} [streamId]
|
|
@@ -86,7 +86,7 @@ export declare const SsfApiFp: (configuration?: Configuration) => {
|
|
|
86
86
|
*/
|
|
87
87
|
getStreamConfig(orgId: string, streamId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamConfig200Response>>;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Needs `settings.manage`, as the portal does.
|
|
90
90
|
* @summary Request a stream verification event
|
|
91
91
|
* @param {string} orgId
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
@@ -116,7 +116,7 @@ export declare const SsfApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
116
116
|
*/
|
|
117
117
|
deleteStreamConfig(requestParameters: SsfApiDeleteStreamConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
|
|
120
120
|
* @summary Read SSF stream configuration(s)
|
|
121
121
|
* @param {SsfApiGetStreamConfigRequest} requestParameters Request parameters.
|
|
122
122
|
* @param {*} [options] Override http request option.
|
|
@@ -124,7 +124,7 @@ export declare const SsfApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
124
124
|
*/
|
|
125
125
|
getStreamConfig(requestParameters: SsfApiGetStreamConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamConfig200Response>;
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* Needs `settings.manage`, as the portal does.
|
|
128
128
|
* @summary Request a stream verification event
|
|
129
129
|
* @param {SsfApiVerifyStreamRequest} requestParameters Request parameters.
|
|
130
130
|
* @param {*} [options] Override http request option.
|
|
@@ -157,7 +157,7 @@ export interface SsfApiInterface {
|
|
|
157
157
|
*/
|
|
158
158
|
deleteStreamConfig(requestParameters: SsfApiDeleteStreamConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
160
|
+
* Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
|
|
161
161
|
* @summary Read SSF stream configuration(s)
|
|
162
162
|
* @param {SsfApiGetStreamConfigRequest} requestParameters Request parameters.
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
@@ -166,7 +166,7 @@ export interface SsfApiInterface {
|
|
|
166
166
|
*/
|
|
167
167
|
getStreamConfig(requestParameters: SsfApiGetStreamConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamConfig200Response>;
|
|
168
168
|
/**
|
|
169
|
-
*
|
|
169
|
+
* Needs `settings.manage`, as the portal does.
|
|
170
170
|
* @summary Request a stream verification event
|
|
171
171
|
* @param {SsfApiVerifyStreamRequest} requestParameters Request parameters.
|
|
172
172
|
* @param {*} [options] Override http request option.
|
|
@@ -265,7 +265,7 @@ export declare class SsfApi extends BaseAPI implements SsfApiInterface {
|
|
|
265
265
|
*/
|
|
266
266
|
deleteStreamConfig(requestParameters: SsfApiDeleteStreamConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
267
267
|
/**
|
|
268
|
-
*
|
|
268
|
+
* Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
|
|
269
269
|
* @summary Read SSF stream configuration(s)
|
|
270
270
|
* @param {SsfApiGetStreamConfigRequest} requestParameters Request parameters.
|
|
271
271
|
* @param {*} [options] Override http request option.
|
|
@@ -274,7 +274,7 @@ export declare class SsfApi extends BaseAPI implements SsfApiInterface {
|
|
|
274
274
|
*/
|
|
275
275
|
getStreamConfig(requestParameters: SsfApiGetStreamConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStreamConfig200Response, any, {}>>;
|
|
276
276
|
/**
|
|
277
|
-
*
|
|
277
|
+
* Needs `settings.manage`, as the portal does.
|
|
278
278
|
* @summary Request a stream verification event
|
|
279
279
|
* @param {SsfApiVerifyStreamRequest} requestParameters Request parameters.
|
|
280
280
|
* @param {*} [options] Override http request option.
|
package/dist/api/ssf-api.js
CHANGED
|
@@ -110,7 +110,7 @@ const SsfApiAxiosParamCreator = function (configuration) {
|
|
|
110
110
|
};
|
|
111
111
|
}),
|
|
112
112
|
/**
|
|
113
|
-
*
|
|
113
|
+
* Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
|
|
114
114
|
* @summary Read SSF stream configuration(s)
|
|
115
115
|
* @param {string} orgId
|
|
116
116
|
* @param {string} [streamId]
|
|
@@ -148,7 +148,7 @@ const SsfApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
};
|
|
149
149
|
}),
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* Needs `settings.manage`, as the portal does.
|
|
152
152
|
* @summary Request a stream verification event
|
|
153
153
|
* @param {string} orgId
|
|
154
154
|
* @param {*} [options] Override http request option.
|
|
@@ -225,7 +225,7 @@ const SsfApiFp = function (configuration) {
|
|
|
225
225
|
});
|
|
226
226
|
},
|
|
227
227
|
/**
|
|
228
|
-
*
|
|
228
|
+
* Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
|
|
229
229
|
* @summary Read SSF stream configuration(s)
|
|
230
230
|
* @param {string} orgId
|
|
231
231
|
* @param {string} [streamId]
|
|
@@ -242,7 +242,7 @@ const SsfApiFp = function (configuration) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
*
|
|
245
|
+
* Needs `settings.manage`, as the portal does.
|
|
246
246
|
* @summary Request a stream verification event
|
|
247
247
|
* @param {string} orgId
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
@@ -288,7 +288,7 @@ const SsfApiFactory = function (configuration, basePath, axios) {
|
|
|
288
288
|
return localVarFp.deleteStreamConfig(requestParameters.streamId, requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
289
289
|
},
|
|
290
290
|
/**
|
|
291
|
-
*
|
|
291
|
+
* Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
|
|
292
292
|
* @summary Read SSF stream configuration(s)
|
|
293
293
|
* @param {SsfApiGetStreamConfigRequest} requestParameters Request parameters.
|
|
294
294
|
* @param {*} [options] Override http request option.
|
|
@@ -298,7 +298,7 @@ const SsfApiFactory = function (configuration, basePath, axios) {
|
|
|
298
298
|
return localVarFp.getStreamConfig(requestParameters.orgId, requestParameters.streamId, options).then((request) => request(axios, basePath));
|
|
299
299
|
},
|
|
300
300
|
/**
|
|
301
|
-
*
|
|
301
|
+
* Needs `settings.manage`, as the portal does.
|
|
302
302
|
* @summary Request a stream verification event
|
|
303
303
|
* @param {SsfApiVerifyStreamRequest} requestParameters Request parameters.
|
|
304
304
|
* @param {*} [options] Override http request option.
|
|
@@ -340,7 +340,7 @@ class SsfApi extends base_1.BaseAPI {
|
|
|
340
340
|
return (0, exports.SsfApiFp)(this.configuration).deleteStreamConfig(requestParameters.streamId, requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
341
341
|
}
|
|
342
342
|
/**
|
|
343
|
-
*
|
|
343
|
+
* Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
|
|
344
344
|
* @summary Read SSF stream configuration(s)
|
|
345
345
|
* @param {SsfApiGetStreamConfigRequest} requestParameters Request parameters.
|
|
346
346
|
* @param {*} [options] Override http request option.
|
|
@@ -351,7 +351,7 @@ class SsfApi extends base_1.BaseAPI {
|
|
|
351
351
|
return (0, exports.SsfApiFp)(this.configuration).getStreamConfig(requestParameters.orgId, requestParameters.streamId, options).then((request) => request(this.axios, this.basePath));
|
|
352
352
|
}
|
|
353
353
|
/**
|
|
354
|
-
*
|
|
354
|
+
* Needs `settings.manage`, as the portal does.
|
|
355
355
|
* @summary Request a stream verification event
|
|
356
356
|
* @param {SsfApiVerifyStreamRequest} requestParameters Request parameters.
|
|
357
357
|
* @param {*} [options] Override http request option.
|
|
@@ -91,10 +91,11 @@ export declare const AdminAbacApiAxiosParamCreator: (configuration?: Configurati
|
|
|
91
91
|
*
|
|
92
92
|
* @summary List ABAC policies
|
|
93
93
|
* @param {string} orgId
|
|
94
|
+
* @param {string} [action] Only policies that name this action, alone or in a comma-separated list. `*` lists the policies that name `*`.
|
|
94
95
|
* @param {*} [options] Override http request option.
|
|
95
96
|
* @throws {RequiredError}
|
|
96
97
|
*/
|
|
97
|
-
abacPoliciesList: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
98
|
+
abacPoliciesList: (orgId: string, action?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
98
99
|
/**
|
|
99
100
|
*
|
|
100
101
|
* @summary Toggle a policy between active and inactive
|
|
@@ -210,10 +211,11 @@ export declare const AdminAbacApiFp: (configuration?: Configuration) => {
|
|
|
210
211
|
*
|
|
211
212
|
* @summary List ABAC policies
|
|
212
213
|
* @param {string} orgId
|
|
214
|
+
* @param {string} [action] Only policies that name this action, alone or in a comma-separated list. `*` lists the policies that name `*`.
|
|
213
215
|
* @param {*} [options] Override http request option.
|
|
214
216
|
* @throws {RequiredError}
|
|
215
217
|
*/
|
|
216
|
-
abacPoliciesList(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AbacPoliciesListResponse>>;
|
|
218
|
+
abacPoliciesList(orgId: string, action?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AbacPoliciesListResponse>>;
|
|
217
219
|
/**
|
|
218
220
|
*
|
|
219
221
|
* @summary Toggle a policy between active and inactive
|
|
@@ -621,6 +623,12 @@ export interface AdminAbacApiAbacPoliciesListRequest {
|
|
|
621
623
|
* @memberof AdminAbacApiAbacPoliciesList
|
|
622
624
|
*/
|
|
623
625
|
readonly orgId: string;
|
|
626
|
+
/**
|
|
627
|
+
* Only policies that name this action, alone or in a comma-separated list. `*` lists the policies that name `*`.
|
|
628
|
+
* @type {string}
|
|
629
|
+
* @memberof AdminAbacApiAbacPoliciesList
|
|
630
|
+
*/
|
|
631
|
+
readonly action?: string;
|
|
624
632
|
}
|
|
625
633
|
/**
|
|
626
634
|
* Request parameters for abacPoliciesToggle operation in AdminAbacApi.
|
|
@@ -290,10 +290,11 @@ export const AdminAbacApiAxiosParamCreator = function (configuration) {
|
|
|
290
290
|
*
|
|
291
291
|
* @summary List ABAC policies
|
|
292
292
|
* @param {string} orgId
|
|
293
|
+
* @param {string} [action] Only policies that name this action, alone or in a comma-separated list. `*` lists the policies that name `*`.
|
|
293
294
|
* @param {*} [options] Override http request option.
|
|
294
295
|
* @throws {RequiredError}
|
|
295
296
|
*/
|
|
296
|
-
abacPoliciesList: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
|
|
297
|
+
abacPoliciesList: (orgId_1, action_1, ...args_1) => __awaiter(this, [orgId_1, action_1, ...args_1], void 0, function* (orgId, action, options = {}) {
|
|
297
298
|
// verify required parameter 'orgId' is not null or undefined
|
|
298
299
|
assertParamExists('abacPoliciesList', 'orgId', orgId);
|
|
299
300
|
const localVarPath = `/orgs/{orgId}/api/v1/abac/policies`
|
|
@@ -312,6 +313,9 @@ export const AdminAbacApiAxiosParamCreator = function (configuration) {
|
|
|
312
313
|
// authentication BearerAuth required
|
|
313
314
|
// http bearer authentication required
|
|
314
315
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
316
|
+
if (action !== undefined) {
|
|
317
|
+
localVarQueryParameter['action'] = action;
|
|
318
|
+
}
|
|
315
319
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
316
320
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
317
321
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -639,13 +643,14 @@ export const AdminAbacApiFp = function (configuration) {
|
|
|
639
643
|
*
|
|
640
644
|
* @summary List ABAC policies
|
|
641
645
|
* @param {string} orgId
|
|
646
|
+
* @param {string} [action] Only policies that name this action, alone or in a comma-separated list. `*` lists the policies that name `*`.
|
|
642
647
|
* @param {*} [options] Override http request option.
|
|
643
648
|
* @throws {RequiredError}
|
|
644
649
|
*/
|
|
645
|
-
abacPoliciesList(orgId, options) {
|
|
650
|
+
abacPoliciesList(orgId, action, options) {
|
|
646
651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
647
652
|
var _a, _b, _c;
|
|
648
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.abacPoliciesList(orgId, options);
|
|
653
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.abacPoliciesList(orgId, action, options);
|
|
649
654
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
650
655
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminAbacApi.abacPoliciesList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
651
656
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -823,7 +828,7 @@ export const AdminAbacApiFactory = function (configuration, basePath, axios) {
|
|
|
823
828
|
* @throws {RequiredError}
|
|
824
829
|
*/
|
|
825
830
|
abacPoliciesList(requestParameters, options) {
|
|
826
|
-
return localVarFp.abacPoliciesList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
831
|
+
return localVarFp.abacPoliciesList(requestParameters.orgId, requestParameters.action, options).then((request) => request(axios, basePath));
|
|
827
832
|
},
|
|
828
833
|
/**
|
|
829
834
|
*
|
|
@@ -970,7 +975,7 @@ export class AdminAbacApi extends BaseAPI {
|
|
|
970
975
|
* @memberof AdminAbacApi
|
|
971
976
|
*/
|
|
972
977
|
abacPoliciesList(requestParameters, options) {
|
|
973
|
-
return AdminAbacApiFp(this.configuration).abacPoliciesList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
978
|
+
return AdminAbacApiFp(this.configuration).abacPoliciesList(requestParameters.orgId, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
|
|
974
979
|
}
|
|
975
980
|
/**
|
|
976
981
|
*
|