@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
|
@@ -15,6 +15,7 @@ import { type RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import type { AdminAgentsActivateResponse } from '../models';
|
|
16
16
|
import type { AdminAgentsAgentsDisableResponse } from '../models';
|
|
17
17
|
import type { AdminAgentsAgentsEnableResponse } from '../models';
|
|
18
|
+
import type { AdminAgentsAgentsRotateKeyRequest } from '../models';
|
|
18
19
|
import type { AdminAgentsAgentsRotateKeyResponse } from '../models';
|
|
19
20
|
import type { AdminAgentsCreateRequest } from '../models';
|
|
20
21
|
import type { AdminAgentsCreateResponse } from '../models';
|
|
@@ -70,10 +71,11 @@ export declare const AdminAgentsApiAxiosParamCreator: (configuration?: Configura
|
|
|
70
71
|
* @summary Rotate agent API key
|
|
71
72
|
* @param {string} orgId
|
|
72
73
|
* @param {string} agentId
|
|
74
|
+
* @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
73
75
|
* @param {*} [options] Override http request option.
|
|
74
76
|
* @throws {RequiredError}
|
|
75
77
|
*/
|
|
76
|
-
adminAgentsAgentsRotateKey: (orgId: string, agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
adminAgentsAgentsRotateKey: (orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
79
|
/**
|
|
78
80
|
*
|
|
79
81
|
* @summary Create a new agent
|
|
@@ -133,10 +135,12 @@ export declare const AdminAgentsApiAxiosParamCreator: (configuration?: Configura
|
|
|
133
135
|
*
|
|
134
136
|
* @summary List all agents in the tenant
|
|
135
137
|
* @param {string} orgId
|
|
138
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
139
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
136
140
|
* @param {*} [options] Override http request option.
|
|
137
141
|
* @throws {RequiredError}
|
|
138
142
|
*/
|
|
139
|
-
adminAgentsList: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
143
|
+
adminAgentsList: (orgId: string, sortBy?: AdminAgentsListSortBy, sortDir?: AdminAgentsListSortDir, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
140
144
|
/**
|
|
141
145
|
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
142
146
|
* @summary Report model tokens and cost for an agent
|
|
@@ -161,10 +165,11 @@ export declare const AdminAgentsApiAxiosParamCreator: (configuration?: Configura
|
|
|
161
165
|
* @summary Rotate agent credentials
|
|
162
166
|
* @param {string} orgId
|
|
163
167
|
* @param {string} agentId
|
|
168
|
+
* @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
164
169
|
* @param {*} [options] Override http request option.
|
|
165
170
|
* @throws {RequiredError}
|
|
166
171
|
*/
|
|
167
|
-
adminAgentsRotateCredentials: (orgId: string, agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
172
|
+
adminAgentsRotateCredentials: (orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
168
173
|
/**
|
|
169
174
|
*
|
|
170
175
|
* @summary Update agent scopes/capabilities
|
|
@@ -233,10 +238,11 @@ export declare const AdminAgentsApiFp: (configuration?: Configuration) => {
|
|
|
233
238
|
* @summary Rotate agent API key
|
|
234
239
|
* @param {string} orgId
|
|
235
240
|
* @param {string} agentId
|
|
241
|
+
* @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
236
242
|
* @param {*} [options] Override http request option.
|
|
237
243
|
* @throws {RequiredError}
|
|
238
244
|
*/
|
|
239
|
-
adminAgentsAgentsRotateKey(orgId: string, agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsAgentsRotateKeyResponse>>;
|
|
245
|
+
adminAgentsAgentsRotateKey(orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsAgentsRotateKeyResponse>>;
|
|
240
246
|
/**
|
|
241
247
|
*
|
|
242
248
|
* @summary Create a new agent
|
|
@@ -296,10 +302,12 @@ export declare const AdminAgentsApiFp: (configuration?: Configuration) => {
|
|
|
296
302
|
*
|
|
297
303
|
* @summary List all agents in the tenant
|
|
298
304
|
* @param {string} orgId
|
|
305
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
306
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
299
307
|
* @param {*} [options] Override http request option.
|
|
300
308
|
* @throws {RequiredError}
|
|
301
309
|
*/
|
|
302
|
-
adminAgentsList(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsListResponse>>;
|
|
310
|
+
adminAgentsList(orgId: string, sortBy?: AdminAgentsListSortBy, sortDir?: AdminAgentsListSortDir, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsListResponse>>;
|
|
303
311
|
/**
|
|
304
312
|
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
305
313
|
* @summary Report model tokens and cost for an agent
|
|
@@ -324,10 +332,11 @@ export declare const AdminAgentsApiFp: (configuration?: Configuration) => {
|
|
|
324
332
|
* @summary Rotate agent credentials
|
|
325
333
|
* @param {string} orgId
|
|
326
334
|
* @param {string} agentId
|
|
335
|
+
* @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
327
336
|
* @param {*} [options] Override http request option.
|
|
328
337
|
* @throws {RequiredError}
|
|
329
338
|
*/
|
|
330
|
-
adminAgentsRotateCredentials(orgId: string, agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsRotateCredentialsResponse>>;
|
|
339
|
+
adminAgentsRotateCredentials(orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsRotateCredentialsResponse>>;
|
|
331
340
|
/**
|
|
332
341
|
*
|
|
333
342
|
* @summary Update agent scopes/capabilities
|
|
@@ -736,6 +745,12 @@ export interface AdminAgentsApiAdminAgentsAgentsRotateKeyRequest {
|
|
|
736
745
|
* @memberof AdminAgentsApiAdminAgentsAgentsRotateKey
|
|
737
746
|
*/
|
|
738
747
|
readonly agentId: string;
|
|
748
|
+
/**
|
|
749
|
+
* Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
750
|
+
* @type {AdminAgentsAgentsRotateKeyRequest}
|
|
751
|
+
* @memberof AdminAgentsApiAdminAgentsAgentsRotateKey
|
|
752
|
+
*/
|
|
753
|
+
readonly adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest;
|
|
739
754
|
}
|
|
740
755
|
/**
|
|
741
756
|
* Request parameters for adminAgentsCreate operation in AdminAgentsApi.
|
|
@@ -869,6 +884,18 @@ export interface AdminAgentsApiAdminAgentsListRequest {
|
|
|
869
884
|
* @memberof AdminAgentsApiAdminAgentsList
|
|
870
885
|
*/
|
|
871
886
|
readonly orgId: string;
|
|
887
|
+
/**
|
|
888
|
+
* Sort field. Default: name. Another value is ignored.
|
|
889
|
+
* @type {'name' | 'agentId' | 'status' | 'createdAt' | 'lastUsedAt'}
|
|
890
|
+
* @memberof AdminAgentsApiAdminAgentsList
|
|
891
|
+
*/
|
|
892
|
+
readonly sortBy?: AdminAgentsListSortBy;
|
|
893
|
+
/**
|
|
894
|
+
* Sort direction, used with sortBy.
|
|
895
|
+
* @type {'ASC' | 'DESC'}
|
|
896
|
+
* @memberof AdminAgentsApiAdminAgentsList
|
|
897
|
+
*/
|
|
898
|
+
readonly sortDir?: AdminAgentsListSortDir;
|
|
872
899
|
}
|
|
873
900
|
/**
|
|
874
901
|
* Request parameters for adminAgentsReportUsage operation in AdminAgentsApi.
|
|
@@ -932,6 +959,12 @@ export interface AdminAgentsApiAdminAgentsRotateCredentialsRequest {
|
|
|
932
959
|
* @memberof AdminAgentsApiAdminAgentsRotateCredentials
|
|
933
960
|
*/
|
|
934
961
|
readonly agentId: string;
|
|
962
|
+
/**
|
|
963
|
+
* For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
964
|
+
* @type {AdminAgentsAgentsRotateKeyRequest}
|
|
965
|
+
* @memberof AdminAgentsApiAdminAgentsRotateCredentials
|
|
966
|
+
*/
|
|
967
|
+
readonly adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest;
|
|
935
968
|
}
|
|
936
969
|
/**
|
|
937
970
|
* Request parameters for adminAgentsSetScopes operation in AdminAgentsApi.
|
|
@@ -1169,3 +1202,22 @@ export declare class AdminAgentsApi extends BaseAPI implements AdminAgentsApiInt
|
|
|
1169
1202
|
*/
|
|
1170
1203
|
putAdminAgentsUpdate(requestParameters: AdminAgentsApiPutAdminAgentsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PutAdminAgentsUpdateResponse, any, {}>>;
|
|
1171
1204
|
}
|
|
1205
|
+
/**
|
|
1206
|
+
* @export
|
|
1207
|
+
* @enum {string}
|
|
1208
|
+
*/
|
|
1209
|
+
export declare enum AdminAgentsListSortBy {
|
|
1210
|
+
NAME = "name",
|
|
1211
|
+
AGENT_ID = "agentId",
|
|
1212
|
+
STATUS = "status",
|
|
1213
|
+
CREATED_AT = "createdAt",
|
|
1214
|
+
LAST_USED_AT = "lastUsedAt"
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* @export
|
|
1218
|
+
* @enum {string}
|
|
1219
|
+
*/
|
|
1220
|
+
export declare enum AdminAgentsListSortDir {
|
|
1221
|
+
ASC = "ASC",
|
|
1222
|
+
DESC = "DESC"
|
|
1223
|
+
}
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.AdminAgentsApi = exports.AdminAgentsApiFactory = exports.AdminAgentsApiFp = exports.AdminAgentsApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.AdminAgentsListSortDir = exports.AdminAgentsListSortBy = exports.AdminAgentsApi = exports.AdminAgentsApiFactory = exports.AdminAgentsApiFp = exports.AdminAgentsApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -154,10 +154,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
154
154
|
* @summary Rotate agent API key
|
|
155
155
|
* @param {string} orgId
|
|
156
156
|
* @param {string} agentId
|
|
157
|
+
* @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
157
158
|
* @param {*} [options] Override http request option.
|
|
158
159
|
* @throws {RequiredError}
|
|
159
160
|
*/
|
|
160
|
-
adminAgentsAgentsRotateKey: (orgId_1, agentId_1, ...args_1) => __awaiter(this, [orgId_1, agentId_1, ...args_1], void 0, function* (orgId, agentId, options = {}) {
|
|
161
|
+
adminAgentsAgentsRotateKey: (orgId_1, agentId_1, adminAgentsAgentsRotateKeyRequest_1, ...args_1) => __awaiter(this, [orgId_1, agentId_1, adminAgentsAgentsRotateKeyRequest_1, ...args_1], void 0, function* (orgId, agentId, adminAgentsAgentsRotateKeyRequest, options = {}) {
|
|
161
162
|
// verify required parameter 'orgId' is not null or undefined
|
|
162
163
|
(0, common_1.assertParamExists)('adminAgentsAgentsRotateKey', 'orgId', orgId);
|
|
163
164
|
// verify required parameter 'agentId' is not null or undefined
|
|
@@ -179,9 +180,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
179
180
|
// authentication BearerAuth required
|
|
180
181
|
// http bearer authentication required
|
|
181
182
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
183
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
182
184
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
183
185
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
184
186
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
187
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminAgentsAgentsRotateKeyRequest, localVarRequestOptions, configuration);
|
|
185
188
|
return {
|
|
186
189
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
190
|
options: localVarRequestOptions,
|
|
@@ -423,10 +426,12 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
423
426
|
*
|
|
424
427
|
* @summary List all agents in the tenant
|
|
425
428
|
* @param {string} orgId
|
|
429
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
430
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
426
431
|
* @param {*} [options] Override http request option.
|
|
427
432
|
* @throws {RequiredError}
|
|
428
433
|
*/
|
|
429
|
-
adminAgentsList: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
|
|
434
|
+
adminAgentsList: (orgId_1, sortBy_1, sortDir_1, ...args_1) => __awaiter(this, [orgId_1, sortBy_1, sortDir_1, ...args_1], void 0, function* (orgId, sortBy, sortDir, options = {}) {
|
|
430
435
|
// verify required parameter 'orgId' is not null or undefined
|
|
431
436
|
(0, common_1.assertParamExists)('adminAgentsList', 'orgId', orgId);
|
|
432
437
|
const localVarPath = `/orgs/{orgId}/api/v1/admin/agents`
|
|
@@ -445,6 +450,12 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
445
450
|
// authentication BearerAuth required
|
|
446
451
|
// http bearer authentication required
|
|
447
452
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
453
|
+
if (sortBy !== undefined) {
|
|
454
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
455
|
+
}
|
|
456
|
+
if (sortDir !== undefined) {
|
|
457
|
+
localVarQueryParameter['sortDir'] = sortDir;
|
|
458
|
+
}
|
|
448
459
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
449
460
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
450
461
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -539,10 +550,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
539
550
|
* @summary Rotate agent credentials
|
|
540
551
|
* @param {string} orgId
|
|
541
552
|
* @param {string} agentId
|
|
553
|
+
* @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
542
554
|
* @param {*} [options] Override http request option.
|
|
543
555
|
* @throws {RequiredError}
|
|
544
556
|
*/
|
|
545
|
-
adminAgentsRotateCredentials: (orgId_1, agentId_1, ...args_1) => __awaiter(this, [orgId_1, agentId_1, ...args_1], void 0, function* (orgId, agentId, options = {}) {
|
|
557
|
+
adminAgentsRotateCredentials: (orgId_1, agentId_1, adminAgentsAgentsRotateKeyRequest_1, ...args_1) => __awaiter(this, [orgId_1, agentId_1, adminAgentsAgentsRotateKeyRequest_1, ...args_1], void 0, function* (orgId, agentId, adminAgentsAgentsRotateKeyRequest, options = {}) {
|
|
546
558
|
// verify required parameter 'orgId' is not null or undefined
|
|
547
559
|
(0, common_1.assertParamExists)('adminAgentsRotateCredentials', 'orgId', orgId);
|
|
548
560
|
// verify required parameter 'agentId' is not null or undefined
|
|
@@ -564,9 +576,11 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
564
576
|
// authentication BearerAuth required
|
|
565
577
|
// http bearer authentication required
|
|
566
578
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
579
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
567
580
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
568
581
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
569
582
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
583
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminAgentsAgentsRotateKeyRequest, localVarRequestOptions, configuration);
|
|
570
584
|
return {
|
|
571
585
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
572
586
|
options: localVarRequestOptions,
|
|
@@ -767,13 +781,14 @@ const AdminAgentsApiFp = function (configuration) {
|
|
|
767
781
|
* @summary Rotate agent API key
|
|
768
782
|
* @param {string} orgId
|
|
769
783
|
* @param {string} agentId
|
|
784
|
+
* @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
770
785
|
* @param {*} [options] Override http request option.
|
|
771
786
|
* @throws {RequiredError}
|
|
772
787
|
*/
|
|
773
|
-
adminAgentsAgentsRotateKey(orgId, agentId, options) {
|
|
788
|
+
adminAgentsAgentsRotateKey(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options) {
|
|
774
789
|
return __awaiter(this, void 0, void 0, function* () {
|
|
775
790
|
var _a, _b, _c;
|
|
776
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, options);
|
|
791
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
|
|
777
792
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
778
793
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAgentsApi.adminAgentsAgentsRotateKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
779
794
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -886,13 +901,15 @@ const AdminAgentsApiFp = function (configuration) {
|
|
|
886
901
|
*
|
|
887
902
|
* @summary List all agents in the tenant
|
|
888
903
|
* @param {string} orgId
|
|
904
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
905
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
889
906
|
* @param {*} [options] Override http request option.
|
|
890
907
|
* @throws {RequiredError}
|
|
891
908
|
*/
|
|
892
|
-
adminAgentsList(orgId, options) {
|
|
909
|
+
adminAgentsList(orgId, sortBy, sortDir, options) {
|
|
893
910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
894
911
|
var _a, _b, _c;
|
|
895
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsList(orgId, options);
|
|
912
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsList(orgId, sortBy, sortDir, options);
|
|
896
913
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
897
914
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAgentsApi.adminAgentsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
898
915
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -938,13 +955,14 @@ const AdminAgentsApiFp = function (configuration) {
|
|
|
938
955
|
* @summary Rotate agent credentials
|
|
939
956
|
* @param {string} orgId
|
|
940
957
|
* @param {string} agentId
|
|
958
|
+
* @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
|
|
941
959
|
* @param {*} [options] Override http request option.
|
|
942
960
|
* @throws {RequiredError}
|
|
943
961
|
*/
|
|
944
|
-
adminAgentsRotateCredentials(orgId, agentId, options) {
|
|
962
|
+
adminAgentsRotateCredentials(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options) {
|
|
945
963
|
return __awaiter(this, void 0, void 0, function* () {
|
|
946
964
|
var _a, _b, _c;
|
|
947
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, options);
|
|
965
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
|
|
948
966
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
949
967
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAgentsApi.adminAgentsRotateCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
950
968
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1052,7 +1070,7 @@ const AdminAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1052
1070
|
* @throws {RequiredError}
|
|
1053
1071
|
*/
|
|
1054
1072
|
adminAgentsAgentsRotateKey(requestParameters, options) {
|
|
1055
|
-
return localVarFp.adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(axios, basePath));
|
|
1073
|
+
return localVarFp.adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(axios, basePath));
|
|
1056
1074
|
},
|
|
1057
1075
|
/**
|
|
1058
1076
|
*
|
|
@@ -1122,7 +1140,7 @@ const AdminAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1122
1140
|
* @throws {RequiredError}
|
|
1123
1141
|
*/
|
|
1124
1142
|
adminAgentsList(requestParameters, options) {
|
|
1125
|
-
return localVarFp.adminAgentsList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
1143
|
+
return localVarFp.adminAgentsList(requestParameters.orgId, requestParameters.sortBy, requestParameters.sortDir, options).then((request) => request(axios, basePath));
|
|
1126
1144
|
},
|
|
1127
1145
|
/**
|
|
1128
1146
|
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
@@ -1152,7 +1170,7 @@ const AdminAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1152
1170
|
* @throws {RequiredError}
|
|
1153
1171
|
*/
|
|
1154
1172
|
adminAgentsRotateCredentials(requestParameters, options) {
|
|
1155
|
-
return localVarFp.adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(axios, basePath));
|
|
1173
|
+
return localVarFp.adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(axios, basePath));
|
|
1156
1174
|
},
|
|
1157
1175
|
/**
|
|
1158
1176
|
*
|
|
@@ -1236,7 +1254,7 @@ class AdminAgentsApi extends base_1.BaseAPI {
|
|
|
1236
1254
|
* @memberof AdminAgentsApi
|
|
1237
1255
|
*/
|
|
1238
1256
|
adminAgentsAgentsRotateKey(requestParameters, options) {
|
|
1239
|
-
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(this.axios, this.basePath));
|
|
1257
|
+
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1240
1258
|
}
|
|
1241
1259
|
/**
|
|
1242
1260
|
*
|
|
@@ -1313,7 +1331,7 @@ class AdminAgentsApi extends base_1.BaseAPI {
|
|
|
1313
1331
|
* @memberof AdminAgentsApi
|
|
1314
1332
|
*/
|
|
1315
1333
|
adminAgentsList(requestParameters, options) {
|
|
1316
|
-
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
1334
|
+
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsList(requestParameters.orgId, requestParameters.sortBy, requestParameters.sortDir, options).then((request) => request(this.axios, this.basePath));
|
|
1317
1335
|
}
|
|
1318
1336
|
/**
|
|
1319
1337
|
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
@@ -1346,7 +1364,7 @@ class AdminAgentsApi extends base_1.BaseAPI {
|
|
|
1346
1364
|
* @memberof AdminAgentsApi
|
|
1347
1365
|
*/
|
|
1348
1366
|
adminAgentsRotateCredentials(requestParameters, options) {
|
|
1349
|
-
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(this.axios, this.basePath));
|
|
1367
|
+
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1350
1368
|
}
|
|
1351
1369
|
/**
|
|
1352
1370
|
*
|
|
@@ -1383,3 +1401,24 @@ class AdminAgentsApi extends base_1.BaseAPI {
|
|
|
1383
1401
|
}
|
|
1384
1402
|
}
|
|
1385
1403
|
exports.AdminAgentsApi = AdminAgentsApi;
|
|
1404
|
+
/**
|
|
1405
|
+
* @export
|
|
1406
|
+
* @enum {string}
|
|
1407
|
+
*/
|
|
1408
|
+
var AdminAgentsListSortBy;
|
|
1409
|
+
(function (AdminAgentsListSortBy) {
|
|
1410
|
+
AdminAgentsListSortBy["NAME"] = "name";
|
|
1411
|
+
AdminAgentsListSortBy["AGENT_ID"] = "agentId";
|
|
1412
|
+
AdminAgentsListSortBy["STATUS"] = "status";
|
|
1413
|
+
AdminAgentsListSortBy["CREATED_AT"] = "createdAt";
|
|
1414
|
+
AdminAgentsListSortBy["LAST_USED_AT"] = "lastUsedAt";
|
|
1415
|
+
})(AdminAgentsListSortBy || (exports.AdminAgentsListSortBy = AdminAgentsListSortBy = {}));
|
|
1416
|
+
/**
|
|
1417
|
+
* @export
|
|
1418
|
+
* @enum {string}
|
|
1419
|
+
*/
|
|
1420
|
+
var AdminAgentsListSortDir;
|
|
1421
|
+
(function (AdminAgentsListSortDir) {
|
|
1422
|
+
AdminAgentsListSortDir["ASC"] = "ASC";
|
|
1423
|
+
AdminAgentsListSortDir["DESC"] = "DESC";
|
|
1424
|
+
})(AdminAgentsListSortDir || (exports.AdminAgentsListSortDir = AdminAgentsListSortDir = {}));
|
|
@@ -31,7 +31,7 @@ export declare const AdminAuditLogsApiAxiosParamCreator: (configuration?: Config
|
|
|
31
31
|
*/
|
|
32
32
|
adminAuditLogsActions: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
35
35
|
* @summary Export audit logs as CSV (default) or JSON
|
|
36
36
|
* @param {string} orgId
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
@@ -72,7 +72,7 @@ export declare const AdminAuditLogsApiAxiosParamCreator: (configuration?: Config
|
|
|
72
72
|
*/
|
|
73
73
|
adminAuditLogsStats: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
76
76
|
* @summary Update audit log retention settings
|
|
77
77
|
* @param {string} orgId
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
@@ -80,7 +80,7 @@ export declare const AdminAuditLogsApiAxiosParamCreator: (configuration?: Config
|
|
|
80
80
|
*/
|
|
81
81
|
patchAdminAuditLogsRetentionUpdate: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
84
84
|
* @summary Update audit log retention settings
|
|
85
85
|
* @param {string} orgId
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
@@ -102,7 +102,7 @@ export declare const AdminAuditLogsApiFp: (configuration?: Configuration) => {
|
|
|
102
102
|
*/
|
|
103
103
|
adminAuditLogsActions(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAuditLogsActionsResponse>>;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
106
106
|
* @summary Export audit logs as CSV (default) or JSON
|
|
107
107
|
* @param {string} orgId
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
@@ -143,7 +143,7 @@ export declare const AdminAuditLogsApiFp: (configuration?: Configuration) => {
|
|
|
143
143
|
*/
|
|
144
144
|
adminAuditLogsStats(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAuditLogsStatsResponse>>;
|
|
145
145
|
/**
|
|
146
|
-
*
|
|
146
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
147
147
|
* @summary Update audit log retention settings
|
|
148
148
|
* @param {string} orgId
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
@@ -151,7 +151,7 @@ export declare const AdminAuditLogsApiFp: (configuration?: Configuration) => {
|
|
|
151
151
|
*/
|
|
152
152
|
patchAdminAuditLogsRetentionUpdate(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAuditLogsRetentionResponse>>;
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
155
155
|
* @summary Update audit log retention settings
|
|
156
156
|
* @param {string} orgId
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
@@ -173,7 +173,7 @@ export declare const AdminAuditLogsApiFactory: (configuration?: Configuration, b
|
|
|
173
173
|
*/
|
|
174
174
|
adminAuditLogsActions(requestParameters: AdminAuditLogsApiAdminAuditLogsActionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsActionsResponse>;
|
|
175
175
|
/**
|
|
176
|
-
*
|
|
176
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
177
177
|
* @summary Export audit logs as CSV (default) or JSON
|
|
178
178
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
179
179
|
* @param {*} [options] Override http request option.
|
|
@@ -213,7 +213,7 @@ export declare const AdminAuditLogsApiFactory: (configuration?: Configuration, b
|
|
|
213
213
|
*/
|
|
214
214
|
adminAuditLogsStats(requestParameters: AdminAuditLogsApiAdminAuditLogsStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsStatsResponse>;
|
|
215
215
|
/**
|
|
216
|
-
*
|
|
216
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
217
217
|
* @summary Update audit log retention settings
|
|
218
218
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
219
219
|
* @param {*} [options] Override http request option.
|
|
@@ -221,7 +221,7 @@ export declare const AdminAuditLogsApiFactory: (configuration?: Configuration, b
|
|
|
221
221
|
*/
|
|
222
222
|
patchAdminAuditLogsRetentionUpdate(requestParameters: AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsRetentionResponse>;
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
224
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
225
225
|
* @summary Update audit log retention settings
|
|
226
226
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
227
227
|
* @param {*} [options] Override http request option.
|
|
@@ -245,7 +245,7 @@ export interface AdminAuditLogsApiInterface {
|
|
|
245
245
|
*/
|
|
246
246
|
adminAuditLogsActions(requestParameters: AdminAuditLogsApiAdminAuditLogsActionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsActionsResponse>;
|
|
247
247
|
/**
|
|
248
|
-
*
|
|
248
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
249
249
|
* @summary Export audit logs as CSV (default) or JSON
|
|
250
250
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
251
251
|
* @param {*} [options] Override http request option.
|
|
@@ -290,7 +290,7 @@ export interface AdminAuditLogsApiInterface {
|
|
|
290
290
|
*/
|
|
291
291
|
adminAuditLogsStats(requestParameters: AdminAuditLogsApiAdminAuditLogsStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsStatsResponse>;
|
|
292
292
|
/**
|
|
293
|
-
*
|
|
293
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
294
294
|
* @summary Update audit log retention settings
|
|
295
295
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
296
296
|
* @param {*} [options] Override http request option.
|
|
@@ -299,7 +299,7 @@ export interface AdminAuditLogsApiInterface {
|
|
|
299
299
|
*/
|
|
300
300
|
patchAdminAuditLogsRetentionUpdate(requestParameters: AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsRetentionResponse>;
|
|
301
301
|
/**
|
|
302
|
-
*
|
|
302
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
303
303
|
* @summary Update audit log retention settings
|
|
304
304
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
305
305
|
* @param {*} [options] Override http request option.
|
|
@@ -435,7 +435,7 @@ export declare class AdminAuditLogsApi extends BaseAPI implements AdminAuditLogs
|
|
|
435
435
|
*/
|
|
436
436
|
adminAuditLogsActions(requestParameters: AdminAuditLogsApiAdminAuditLogsActionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminAuditLogsActionsResponse, any, {}>>;
|
|
437
437
|
/**
|
|
438
|
-
*
|
|
438
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
439
439
|
* @summary Export audit logs as CSV (default) or JSON
|
|
440
440
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
441
441
|
* @param {*} [options] Override http request option.
|
|
@@ -480,7 +480,7 @@ export declare class AdminAuditLogsApi extends BaseAPI implements AdminAuditLogs
|
|
|
480
480
|
*/
|
|
481
481
|
adminAuditLogsStats(requestParameters: AdminAuditLogsApiAdminAuditLogsStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminAuditLogsStatsResponse, any, {}>>;
|
|
482
482
|
/**
|
|
483
|
-
*
|
|
483
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
484
484
|
* @summary Update audit log retention settings
|
|
485
485
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
486
486
|
* @param {*} [options] Override http request option.
|
|
@@ -489,7 +489,7 @@ export declare class AdminAuditLogsApi extends BaseAPI implements AdminAuditLogs
|
|
|
489
489
|
*/
|
|
490
490
|
patchAdminAuditLogsRetentionUpdate(requestParameters: AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminAuditLogsRetentionResponse, any, {}>>;
|
|
491
491
|
/**
|
|
492
|
-
*
|
|
492
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
493
493
|
* @summary Update audit log retention settings
|
|
494
494
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
495
495
|
* @param {*} [options] Override http request option.
|
|
@@ -70,7 +70,7 @@ const AdminAuditLogsApiAxiosParamCreator = function (configuration) {
|
|
|
70
70
|
};
|
|
71
71
|
}),
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
74
74
|
* @summary Export audit logs as CSV (default) or JSON
|
|
75
75
|
* @param {string} orgId
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
@@ -244,7 +244,7 @@ const AdminAuditLogsApiAxiosParamCreator = function (configuration) {
|
|
|
244
244
|
};
|
|
245
245
|
}),
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
248
248
|
* @summary Update audit log retention settings
|
|
249
249
|
* @param {string} orgId
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
@@ -278,7 +278,7 @@ const AdminAuditLogsApiAxiosParamCreator = function (configuration) {
|
|
|
278
278
|
};
|
|
279
279
|
}),
|
|
280
280
|
/**
|
|
281
|
-
*
|
|
281
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
282
282
|
* @summary Update audit log retention settings
|
|
283
283
|
* @param {string} orgId
|
|
284
284
|
* @param {*} [options] Override http request option.
|
|
@@ -338,7 +338,7 @@ const AdminAuditLogsApiFp = function (configuration) {
|
|
|
338
338
|
});
|
|
339
339
|
},
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
341
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
342
342
|
* @summary Export audit logs as CSV (default) or JSON
|
|
343
343
|
* @param {string} orgId
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
@@ -419,7 +419,7 @@ const AdminAuditLogsApiFp = function (configuration) {
|
|
|
419
419
|
});
|
|
420
420
|
},
|
|
421
421
|
/**
|
|
422
|
-
*
|
|
422
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
423
423
|
* @summary Update audit log retention settings
|
|
424
424
|
* @param {string} orgId
|
|
425
425
|
* @param {*} [options] Override http request option.
|
|
@@ -435,7 +435,7 @@ const AdminAuditLogsApiFp = function (configuration) {
|
|
|
435
435
|
});
|
|
436
436
|
},
|
|
437
437
|
/**
|
|
438
|
-
*
|
|
438
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
439
439
|
* @summary Update audit log retention settings
|
|
440
440
|
* @param {string} orgId
|
|
441
441
|
* @param {*} [options] Override http request option.
|
|
@@ -471,7 +471,7 @@ const AdminAuditLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
471
471
|
return localVarFp.adminAuditLogsActions(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
472
472
|
},
|
|
473
473
|
/**
|
|
474
|
-
*
|
|
474
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
475
475
|
* @summary Export audit logs as CSV (default) or JSON
|
|
476
476
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
477
477
|
* @param {*} [options] Override http request option.
|
|
@@ -521,7 +521,7 @@ const AdminAuditLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
521
521
|
return localVarFp.adminAuditLogsStats(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
522
522
|
},
|
|
523
523
|
/**
|
|
524
|
-
*
|
|
524
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
525
525
|
* @summary Update audit log retention settings
|
|
526
526
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
527
527
|
* @param {*} [options] Override http request option.
|
|
@@ -531,7 +531,7 @@ const AdminAuditLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
531
531
|
return localVarFp.patchAdminAuditLogsRetentionUpdate(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
532
532
|
},
|
|
533
533
|
/**
|
|
534
|
-
*
|
|
534
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
535
535
|
* @summary Update audit log retention settings
|
|
536
536
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
537
537
|
* @param {*} [options] Override http request option.
|
|
@@ -562,7 +562,7 @@ class AdminAuditLogsApi extends base_1.BaseAPI {
|
|
|
562
562
|
return (0, exports.AdminAuditLogsApiFp)(this.configuration).adminAuditLogsActions(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
563
563
|
}
|
|
564
564
|
/**
|
|
565
|
-
*
|
|
565
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
566
566
|
* @summary Export audit logs as CSV (default) or JSON
|
|
567
567
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
568
568
|
* @param {*} [options] Override http request option.
|
|
@@ -617,7 +617,7 @@ class AdminAuditLogsApi extends base_1.BaseAPI {
|
|
|
617
617
|
return (0, exports.AdminAuditLogsApiFp)(this.configuration).adminAuditLogsStats(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
618
618
|
}
|
|
619
619
|
/**
|
|
620
|
-
*
|
|
620
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
621
621
|
* @summary Update audit log retention settings
|
|
622
622
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
623
623
|
* @param {*} [options] Override http request option.
|
|
@@ -628,7 +628,7 @@ class AdminAuditLogsApi extends base_1.BaseAPI {
|
|
|
628
628
|
return (0, exports.AdminAuditLogsApiFp)(this.configuration).patchAdminAuditLogsRetentionUpdate(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
629
629
|
}
|
|
630
630
|
/**
|
|
631
|
-
*
|
|
631
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
632
632
|
* @summary Update audit log retention settings
|
|
633
633
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
634
634
|
* @param {*} [options] Override http request option.
|