@openfilz-sdk/typescript-ee 1.9.10 → 1.10.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 +84 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +77 -5
- package/api/ai-analytics-admin-controller-api.ts +137 -0
- package/api/ai-archiving-admin-controller-api.ts +568 -0
- package/api/ai-cloud-usage-admin-controller-api.ts +121 -0
- package/api/aichat-api.ts +9 -9
- package/api/aidirectory-api.ts +121 -0
- package/api/aifiling-rules-api.ts +585 -0
- package/api/aigovernance-api.ts +194 -0
- package/api/aitaxonomy-api.ts +345 -0
- package/api/aiteam-inboxes-api.ts +491 -0
- package/api/archive-controller-api.ts +440 -0
- package/api/collaboration-audit-controller-api.ts +67 -0
- package/api/document-controller-api.ts +74 -0
- package/api/document-insights-api.ts +71 -4
- package/api/esign-api.ts +9 -9
- package/api/esign-enterprise-api.ts +9 -9
- package/api/settings-api.ts +18 -11
- package/api/smart-filing-api.ts +148 -0
- package/api.ts +9 -0
- package/dist/api/ai-analytics-admin-controller-api.d.ts +71 -0
- package/dist/api/ai-analytics-admin-controller-api.js +139 -0
- package/dist/api/ai-archiving-admin-controller-api.d.ts +262 -0
- package/dist/api/ai-archiving-admin-controller-api.js +548 -0
- package/dist/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
- package/dist/api/ai-cloud-usage-admin-controller-api.js +125 -0
- package/dist/api/aichat-api.d.ts +4 -4
- package/dist/api/aichat-api.js +9 -9
- package/dist/api/aidirectory-api.d.ts +63 -0
- package/dist/api/aidirectory-api.js +125 -0
- package/dist/api/aifiling-rules-api.d.ts +271 -0
- package/dist/api/aifiling-rules-api.js +562 -0
- package/dist/api/aigovernance-api.d.ts +95 -0
- package/dist/api/aigovernance-api.js +195 -0
- package/dist/api/aitaxonomy-api.d.ts +162 -0
- package/dist/api/aitaxonomy-api.js +334 -0
- package/dist/api/aiteam-inboxes-api.d.ts +228 -0
- package/dist/api/aiteam-inboxes-api.js +478 -0
- package/dist/api/archive-controller-api.d.ts +239 -0
- package/dist/api/archive-controller-api.js +430 -0
- package/dist/api/collaboration-audit-controller-api.d.ts +29 -0
- package/dist/api/collaboration-audit-controller-api.js +62 -0
- package/dist/api/document-controller-api.d.ts +33 -0
- package/dist/api/document-controller-api.js +69 -0
- package/dist/api/document-insights-api.d.ts +33 -4
- package/dist/api/document-insights-api.js +66 -4
- package/dist/api/esign-api.d.ts +4 -4
- package/dist/api/esign-api.js +9 -9
- package/dist/api/esign-enterprise-api.d.ts +4 -4
- package/dist/api/esign-enterprise-api.js +9 -9
- package/dist/api/settings-api.d.ts +12 -8
- package/dist/api/settings-api.js +18 -11
- package/dist/api/smart-filing-api.d.ts +66 -0
- package/dist/api/smart-filing-api.js +138 -0
- package/dist/api.d.ts +9 -0
- package/dist/api.js +9 -0
- package/dist/esm/api/ai-analytics-admin-controller-api.d.ts +71 -0
- package/dist/esm/api/ai-analytics-admin-controller-api.js +132 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +262 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.js +541 -0
- package/dist/esm/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
- package/dist/esm/api/ai-cloud-usage-admin-controller-api.js +118 -0
- package/dist/esm/api/aichat-api.d.ts +4 -4
- package/dist/esm/api/aichat-api.js +9 -9
- package/dist/esm/api/aidirectory-api.d.ts +63 -0
- package/dist/esm/api/aidirectory-api.js +118 -0
- package/dist/esm/api/aifiling-rules-api.d.ts +271 -0
- package/dist/esm/api/aifiling-rules-api.js +555 -0
- package/dist/esm/api/aigovernance-api.d.ts +95 -0
- package/dist/esm/api/aigovernance-api.js +188 -0
- package/dist/esm/api/aitaxonomy-api.d.ts +162 -0
- package/dist/esm/api/aitaxonomy-api.js +327 -0
- package/dist/esm/api/aiteam-inboxes-api.d.ts +228 -0
- package/dist/esm/api/aiteam-inboxes-api.js +471 -0
- package/dist/esm/api/archive-controller-api.d.ts +239 -0
- package/dist/esm/api/archive-controller-api.js +423 -0
- package/dist/esm/api/collaboration-audit-controller-api.d.ts +29 -0
- package/dist/esm/api/collaboration-audit-controller-api.js +62 -0
- package/dist/esm/api/document-controller-api.d.ts +33 -0
- package/dist/esm/api/document-controller-api.js +69 -0
- package/dist/esm/api/document-insights-api.d.ts +33 -4
- package/dist/esm/api/document-insights-api.js +66 -4
- package/dist/esm/api/esign-api.d.ts +4 -4
- package/dist/esm/api/esign-api.js +9 -9
- package/dist/esm/api/esign-enterprise-api.d.ts +4 -4
- package/dist/esm/api/esign-enterprise-api.js +9 -9
- package/dist/esm/api/settings-api.d.ts +12 -8
- package/dist/esm/api/settings-api.js +18 -11
- package/dist/esm/api/smart-filing-api.d.ts +66 -0
- package/dist/esm/api/smart-filing-api.js +138 -0
- package/dist/esm/api.d.ts +9 -0
- package/dist/esm/api.js +9 -0
- package/dist/esm/models/ai-analytics-view.d.ts +25 -0
- package/dist/esm/models/ai-analytics-view.js +14 -0
- package/dist/esm/models/ai-cloud-usage-view.d.ts +33 -0
- package/dist/esm/models/ai-cloud-usage-view.js +19 -0
- package/dist/esm/models/ai-governance-settings.d.ts +22 -0
- package/dist/esm/models/ai-governance-settings.js +14 -0
- package/dist/esm/models/ai-preferences-view.d.ts +3 -0
- package/dist/esm/models/ai-taxonomy-category.d.ts +19 -0
- package/dist/esm/models/ai-taxonomy-category.js +14 -0
- package/dist/esm/models/ai-taxonomy-rename-request.d.ts +16 -0
- package/dist/esm/models/ai-taxonomy-rename-request.js +14 -0
- package/dist/esm/models/ai-taxonomy-rename-result.d.ts +17 -0
- package/dist/esm/models/ai-taxonomy-rename-result.js +14 -0
- package/dist/esm/models/ai-taxonomy-view.d.ts +16 -0
- package/dist/esm/models/ai-taxonomy-view.js +14 -0
- package/dist/esm/models/archive-preflight.d.ts +38 -0
- package/dist/esm/models/archive-preflight.js +14 -0
- package/dist/esm/models/archiving-proposal-request.d.ts +19 -0
- package/dist/esm/models/archiving-proposal-request.js +14 -0
- package/dist/esm/models/archiving-proposal-result.d.ts +19 -0
- package/dist/esm/models/archiving-proposal-result.js +14 -0
- package/dist/esm/models/archiving-schedule-request.d.ts +22 -0
- package/dist/esm/models/archiving-schedule-request.js +14 -0
- package/dist/esm/models/archiving-schedule-view.d.ts +29 -0
- package/dist/esm/models/archiving-schedule-view.js +14 -0
- package/dist/esm/models/audit-integrity-status-response.d.ts +37 -0
- package/dist/esm/models/audit-integrity-status-response.js +14 -0
- package/dist/esm/models/auto-file-inbox-request.d.ts +14 -0
- package/dist/esm/models/auto-file-inbox-request.js +14 -0
- package/dist/esm/models/auto-file-jobs-request.d.ts +14 -0
- package/dist/esm/models/auto-file-jobs-request.js +14 -0
- package/dist/esm/models/consume-delegated-grant-request.d.ts +1 -1
- package/dist/esm/models/corrections.d.ts +16 -0
- package/dist/esm/models/corrections.js +14 -0
- package/dist/esm/models/create-delegated-grant-request.d.ts +2 -1
- package/dist/esm/models/create-delegated-grant-request.js +1 -0
- package/dist/esm/models/day-count.d.ts +16 -0
- package/dist/esm/models/day-count.js +14 -0
- package/dist/esm/models/delegated-grant-dto.d.ts +1 -0
- package/dist/esm/models/delegated-grant-dto.js +1 -0
- package/dist/esm/models/document-integrity-record.d.ts +23 -0
- package/dist/esm/models/document-integrity-record.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +3 -0
- package/dist/esm/models/enriched-audit-log.js +3 -0
- package/dist/esm/models/facet.d.ts +15 -0
- package/dist/esm/models/facet.js +14 -0
- package/dist/esm/models/filing-rule-event-view.d.ts +19 -0
- package/dist/esm/models/filing-rule-event-view.js +14 -0
- package/dist/esm/models/filing-rule-request.d.ts +47 -0
- package/dist/esm/models/filing-rule-request.js +14 -0
- package/dist/esm/models/filing-rule-test-request.d.ts +14 -0
- package/dist/esm/models/filing-rule-test-request.js +14 -0
- package/dist/esm/models/filing-rule-test-result.d.ts +22 -0
- package/dist/esm/models/filing-rule-test-result.js +14 -0
- package/dist/esm/models/filing-rule-view.d.ts +30 -0
- package/dist/esm/models/filing-rule-view.js +14 -0
- package/dist/esm/models/filing.d.ts +24 -0
- package/dist/esm/models/filing.js +14 -0
- package/dist/esm/models/foreign-item.d.ts +19 -0
- package/dist/esm/models/foreign-item.js +14 -0
- package/dist/esm/models/index.d.ts +33 -0
- package/dist/esm/models/index.js +33 -0
- package/dist/esm/models/insight-facets.d.ts +16 -0
- package/dist/esm/models/insight-facets.js +14 -0
- package/dist/esm/models/insights.d.ts +21 -0
- package/dist/esm/models/insights.js +14 -0
- package/dist/esm/models/key-count.d.ts +15 -0
- package/dist/esm/models/key-count.js +14 -0
- package/dist/esm/models/save-ai-preferences-request.d.ts +1 -0
- package/dist/esm/models/scan-request-dto.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.js +3 -0
- package/dist/esm/models/settings.d.ts +1 -0
- package/dist/esm/models/team-inbox-request.d.ts +24 -0
- package/dist/esm/models/team-inbox-request.js +14 -0
- package/dist/esm/models/team-inbox-view.d.ts +31 -0
- package/dist/esm/models/team-inbox-view.js +14 -0
- package/dist/esm/models/team-option-view.d.ts +25 -0
- package/dist/esm/models/team-option-view.js +14 -0
- package/dist/esm/models/untouched.d.ts +16 -0
- package/dist/esm/models/untouched.js +14 -0
- package/dist/models/ai-analytics-view.d.ts +25 -0
- package/dist/models/ai-analytics-view.js +15 -0
- package/dist/models/ai-cloud-usage-view.d.ts +33 -0
- package/dist/models/ai-cloud-usage-view.js +22 -0
- package/dist/models/ai-governance-settings.d.ts +22 -0
- package/dist/models/ai-governance-settings.js +15 -0
- package/dist/models/ai-preferences-view.d.ts +3 -0
- package/dist/models/ai-taxonomy-category.d.ts +19 -0
- package/dist/models/ai-taxonomy-category.js +15 -0
- package/dist/models/ai-taxonomy-rename-request.d.ts +16 -0
- package/dist/models/ai-taxonomy-rename-request.js +15 -0
- package/dist/models/ai-taxonomy-rename-result.d.ts +17 -0
- package/dist/models/ai-taxonomy-rename-result.js +15 -0
- package/dist/models/ai-taxonomy-view.d.ts +16 -0
- package/dist/models/ai-taxonomy-view.js +15 -0
- package/dist/models/archive-preflight.d.ts +38 -0
- package/dist/models/archive-preflight.js +15 -0
- package/dist/models/archiving-proposal-request.d.ts +19 -0
- package/dist/models/archiving-proposal-request.js +15 -0
- package/dist/models/archiving-proposal-result.d.ts +19 -0
- package/dist/models/archiving-proposal-result.js +15 -0
- package/dist/models/archiving-schedule-request.d.ts +22 -0
- package/dist/models/archiving-schedule-request.js +15 -0
- package/dist/models/archiving-schedule-view.d.ts +29 -0
- package/dist/models/archiving-schedule-view.js +15 -0
- package/dist/models/audit-integrity-status-response.d.ts +37 -0
- package/dist/models/audit-integrity-status-response.js +15 -0
- package/dist/models/auto-file-inbox-request.d.ts +14 -0
- package/dist/models/auto-file-inbox-request.js +15 -0
- package/dist/models/auto-file-jobs-request.d.ts +14 -0
- package/dist/models/auto-file-jobs-request.js +15 -0
- package/dist/models/consume-delegated-grant-request.d.ts +1 -1
- package/dist/models/corrections.d.ts +16 -0
- package/dist/models/corrections.js +15 -0
- package/dist/models/create-delegated-grant-request.d.ts +2 -1
- package/dist/models/create-delegated-grant-request.js +1 -0
- package/dist/models/day-count.d.ts +16 -0
- package/dist/models/day-count.js +15 -0
- package/dist/models/delegated-grant-dto.d.ts +1 -0
- package/dist/models/delegated-grant-dto.js +1 -0
- package/dist/models/document-integrity-record.d.ts +23 -0
- package/dist/models/document-integrity-record.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +3 -0
- package/dist/models/enriched-audit-log.js +3 -0
- package/dist/models/facet.d.ts +15 -0
- package/dist/models/facet.js +15 -0
- package/dist/models/filing-rule-event-view.d.ts +19 -0
- package/dist/models/filing-rule-event-view.js +15 -0
- package/dist/models/filing-rule-request.d.ts +47 -0
- package/dist/models/filing-rule-request.js +15 -0
- package/dist/models/filing-rule-test-request.d.ts +14 -0
- package/dist/models/filing-rule-test-request.js +15 -0
- package/dist/models/filing-rule-test-result.d.ts +22 -0
- package/dist/models/filing-rule-test-result.js +15 -0
- package/dist/models/filing-rule-view.d.ts +30 -0
- package/dist/models/filing-rule-view.js +15 -0
- package/dist/models/filing.d.ts +24 -0
- package/dist/models/filing.js +15 -0
- package/dist/models/foreign-item.d.ts +19 -0
- package/dist/models/foreign-item.js +15 -0
- package/dist/models/index.d.ts +33 -0
- package/dist/models/index.js +33 -0
- package/dist/models/insight-facets.d.ts +16 -0
- package/dist/models/insight-facets.js +15 -0
- package/dist/models/insights.d.ts +21 -0
- package/dist/models/insights.js +15 -0
- package/dist/models/key-count.d.ts +15 -0
- package/dist/models/key-count.js +15 -0
- package/dist/models/save-ai-preferences-request.d.ts +1 -0
- package/dist/models/scan-request-dto.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.js +3 -0
- package/dist/models/settings.d.ts +1 -0
- package/dist/models/team-inbox-request.d.ts +24 -0
- package/dist/models/team-inbox-request.js +15 -0
- package/dist/models/team-inbox-view.d.ts +31 -0
- package/dist/models/team-inbox-view.js +15 -0
- package/dist/models/team-option-view.d.ts +25 -0
- package/dist/models/team-option-view.js +15 -0
- package/dist/models/untouched.d.ts +16 -0
- package/dist/models/untouched.js +15 -0
- package/docs/AIChatApi.md +4 -4
- package/docs/AIDirectoryApi.md +51 -0
- package/docs/AIFilingRulesApi.md +371 -0
- package/docs/AIGovernanceApi.md +104 -0
- package/docs/AITaxonomyApi.md +204 -0
- package/docs/AITeamInboxesApi.md +313 -0
- package/docs/AiAnalyticsAdminControllerApi.md +62 -0
- package/docs/AiAnalyticsView.md +32 -0
- package/docs/AiArchivingAdminControllerApi.md +365 -0
- package/docs/AiCloudUsageAdminControllerApi.md +52 -0
- package/docs/AiCloudUsageView.md +44 -0
- package/docs/AiGovernanceSettings.md +36 -0
- package/docs/AiPreferencesView.md +6 -0
- package/docs/AiTaxonomyCategory.md +30 -0
- package/docs/AiTaxonomyRenameRequest.md +24 -0
- package/docs/AiTaxonomyRenameResult.md +26 -0
- package/docs/AiTaxonomyView.md +22 -0
- package/docs/ArchiveControllerApi.md +276 -0
- package/docs/ArchivePreflight.md +29 -0
- package/docs/ArchivingProposalRequest.md +30 -0
- package/docs/ArchivingProposalResult.md +30 -0
- package/docs/ArchivingScheduleRequest.md +36 -0
- package/docs/ArchivingScheduleView.md +50 -0
- package/docs/AuditIntegrityStatusResponse.md +29 -0
- package/docs/AutoFileInboxRequest.md +20 -0
- package/docs/AutoFileJobsRequest.md +20 -0
- package/docs/CollaborationAuditControllerApi.md +45 -0
- package/docs/ConsumeDelegatedGrantRequest.md +1 -1
- package/docs/Corrections.md +24 -0
- package/docs/CreateDelegatedGrantRequest.md +1 -1
- package/docs/DayCount.md +24 -0
- package/docs/DocumentControllerApi.md +52 -0
- package/docs/DocumentInsightsApi.md +46 -1
- package/docs/DocumentIntegrityRecord.md +33 -0
- package/docs/ESignApi.md +4 -4
- package/docs/ESignEnterpriseApi.md +4 -4
- package/docs/Facet.md +22 -0
- package/docs/Filing.md +32 -0
- package/docs/FilingRuleEventView.md +30 -0
- package/docs/FilingRuleRequest.md +44 -0
- package/docs/FilingRuleTestRequest.md +20 -0
- package/docs/FilingRuleTestResult.md +36 -0
- package/docs/FilingRuleView.md +52 -0
- package/docs/ForeignItem.md +25 -0
- package/docs/InsightFacets.md +22 -0
- package/docs/Insights.md +34 -0
- package/docs/KeyCount.md +22 -0
- package/docs/SaveAiPreferencesRequest.md +2 -0
- package/docs/ScanRequestDto.md +6 -0
- package/docs/Settings.md +2 -0
- package/docs/SettingsApi.md +5 -2
- package/docs/SmartFilingApi.md +106 -0
- package/docs/TeamInboxRequest.md +34 -0
- package/docs/TeamInboxView.md +54 -0
- package/docs/TeamOptionView.md +24 -0
- package/docs/Untouched.md +24 -0
- package/graphql/document-search.graphqls +4 -0
- package/graphql/document.graphqls +4 -0
- package/models/ai-analytics-view.ts +41 -0
- package/models/ai-cloud-usage-view.ts +42 -0
- package/models/ai-governance-settings.ts +28 -0
- package/models/ai-preferences-view.ts +3 -0
- package/models/ai-taxonomy-category.ts +25 -0
- package/models/ai-taxonomy-rename-request.ts +22 -0
- package/models/ai-taxonomy-rename-result.ts +23 -0
- package/models/ai-taxonomy-view.ts +24 -0
- package/models/archive-preflight.ts +48 -0
- package/models/archiving-proposal-request.ts +25 -0
- package/models/archiving-proposal-result.ts +25 -0
- package/models/archiving-schedule-request.ts +28 -0
- package/models/archiving-schedule-view.ts +35 -0
- package/models/audit-integrity-status-response.ts +45 -0
- package/models/auto-file-inbox-request.ts +20 -0
- package/models/auto-file-jobs-request.ts +20 -0
- package/models/consume-delegated-grant-request.ts +1 -1
- package/models/corrections.ts +22 -0
- package/models/create-delegated-grant-request.ts +2 -1
- package/models/day-count.ts +22 -0
- package/models/delegated-grant-dto.ts +1 -0
- package/models/document-integrity-record.ts +29 -0
- package/models/enriched-audit-log.ts +3 -0
- package/models/facet.ts +21 -0
- package/models/filing-rule-event-view.ts +25 -0
- package/models/filing-rule-request.ts +53 -0
- package/models/filing-rule-test-request.ts +20 -0
- package/models/filing-rule-test-result.ts +28 -0
- package/models/filing-rule-view.ts +36 -0
- package/models/filing.ts +32 -0
- package/models/foreign-item.ts +25 -0
- package/models/index.ts +33 -0
- package/models/insight-facets.ts +24 -0
- package/models/insights.ts +27 -0
- package/models/key-count.ts +21 -0
- package/models/save-ai-preferences-request.ts +1 -0
- package/models/scan-request-dto.ts +3 -0
- package/models/search-by-audit-log-request.ts +3 -0
- package/models/settings.ts +1 -0
- package/models/team-inbox-request.ts +30 -0
- package/models/team-inbox-view.ts +37 -0
- package/models/team-option-view.ts +31 -0
- package/models/untouched.ts +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { AiGovernanceSettings } from '../models';
|
|
26
|
+
/**
|
|
27
|
+
* AIGovernanceApi - axios parameter creator
|
|
28
|
+
*/
|
|
29
|
+
export const AIGovernanceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary The AI governance settings in force
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
get5: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
+
const localVarPath = `/api/v1/admin/ai/governance`;
|
|
39
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41
|
+
let baseOptions;
|
|
42
|
+
if (configuration) {
|
|
43
|
+
baseOptions = configuration.baseOptions;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47
|
+
const localVarHeaderParameter = {} as any;
|
|
48
|
+
const localVarQueryParameter = {} as any;
|
|
49
|
+
|
|
50
|
+
// authentication keycloak_auth required
|
|
51
|
+
// http bearer authentication required
|
|
52
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53
|
+
|
|
54
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
55
|
+
|
|
56
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
url: toPathString(localVarUrlObj),
|
|
62
|
+
options: localVarRequestOptions,
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* Full replace. blockedCategories must be kinds of the taxonomy (400 otherwise); insightRetentionDays null keeps insights forever. Takes effect within 30 seconds on every node.
|
|
67
|
+
* @summary Replace the AI governance settings
|
|
68
|
+
* @param {AiGovernanceSettings} aiGovernanceSettings
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
put1: async (aiGovernanceSettings: AiGovernanceSettings, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73
|
+
// verify required parameter 'aiGovernanceSettings' is not null or undefined
|
|
74
|
+
assertParamExists('put1', 'aiGovernanceSettings', aiGovernanceSettings)
|
|
75
|
+
const localVarPath = `/api/v1/admin/ai/governance`;
|
|
76
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
77
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
78
|
+
let baseOptions;
|
|
79
|
+
if (configuration) {
|
|
80
|
+
baseOptions = configuration.baseOptions;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
84
|
+
const localVarHeaderParameter = {} as any;
|
|
85
|
+
const localVarQueryParameter = {} as any;
|
|
86
|
+
|
|
87
|
+
// authentication keycloak_auth required
|
|
88
|
+
// http bearer authentication required
|
|
89
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
90
|
+
|
|
91
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
92
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
93
|
+
|
|
94
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
97
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aiGovernanceSettings, localVarRequestOptions, configuration)
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
url: toPathString(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* AIGovernanceApi - functional programming interface
|
|
109
|
+
*/
|
|
110
|
+
export const AIGovernanceApiFp = function(configuration?: Configuration) {
|
|
111
|
+
const localVarAxiosParamCreator = AIGovernanceApiAxiosParamCreator(configuration)
|
|
112
|
+
return {
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @summary The AI governance settings in force
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
async get5(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiGovernanceSettings>> {
|
|
120
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.get5(options);
|
|
121
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
122
|
+
const localVarOperationServerBasePath = operationServerMap['AIGovernanceApi.get5']?.[localVarOperationServerIndex]?.url;
|
|
123
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
124
|
+
},
|
|
125
|
+
/**
|
|
126
|
+
* Full replace. blockedCategories must be kinds of the taxonomy (400 otherwise); insightRetentionDays null keeps insights forever. Takes effect within 30 seconds on every node.
|
|
127
|
+
* @summary Replace the AI governance settings
|
|
128
|
+
* @param {AiGovernanceSettings} aiGovernanceSettings
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
async put1(aiGovernanceSettings: AiGovernanceSettings, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiGovernanceSettings>> {
|
|
133
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.put1(aiGovernanceSettings, options);
|
|
134
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
135
|
+
const localVarOperationServerBasePath = operationServerMap['AIGovernanceApi.put1']?.[localVarOperationServerIndex]?.url;
|
|
136
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
137
|
+
},
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* AIGovernanceApi - factory interface
|
|
143
|
+
*/
|
|
144
|
+
export const AIGovernanceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
145
|
+
const localVarFp = AIGovernanceApiFp(configuration)
|
|
146
|
+
return {
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @summary The AI governance settings in force
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
get5(options?: RawAxiosRequestConfig): AxiosPromise<AiGovernanceSettings> {
|
|
154
|
+
return localVarFp.get5(options).then((request) => request(axios, basePath));
|
|
155
|
+
},
|
|
156
|
+
/**
|
|
157
|
+
* Full replace. blockedCategories must be kinds of the taxonomy (400 otherwise); insightRetentionDays null keeps insights forever. Takes effect within 30 seconds on every node.
|
|
158
|
+
* @summary Replace the AI governance settings
|
|
159
|
+
* @param {AiGovernanceSettings} aiGovernanceSettings
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
put1(aiGovernanceSettings: AiGovernanceSettings, options?: RawAxiosRequestConfig): AxiosPromise<AiGovernanceSettings> {
|
|
164
|
+
return localVarFp.put1(aiGovernanceSettings, options).then((request) => request(axios, basePath));
|
|
165
|
+
},
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* AIGovernanceApi - object-oriented interface
|
|
171
|
+
*/
|
|
172
|
+
export class AIGovernanceApi extends BaseAPI {
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @summary The AI governance settings in force
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
public get5(options?: RawAxiosRequestConfig) {
|
|
180
|
+
return AIGovernanceApiFp(this.configuration).get5(options).then((request) => request(this.axios, this.basePath));
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Full replace. blockedCategories must be kinds of the taxonomy (400 otherwise); insightRetentionDays null keeps insights forever. Takes effect within 30 seconds on every node.
|
|
185
|
+
* @summary Replace the AI governance settings
|
|
186
|
+
* @param {AiGovernanceSettings} aiGovernanceSettings
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
*/
|
|
190
|
+
public put1(aiGovernanceSettings: AiGovernanceSettings, options?: RawAxiosRequestConfig) {
|
|
191
|
+
return AIGovernanceApiFp(this.configuration).put1(aiGovernanceSettings, options).then((request) => request(this.axios, this.basePath));
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { AiTaxonomyCategory } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { AiTaxonomyRenameRequest } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { AiTaxonomyRenameResult } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { AiTaxonomyView } from '../models';
|
|
32
|
+
/**
|
|
33
|
+
* AITaxonomyApi - axios parameter creator
|
|
34
|
+
*/
|
|
35
|
+
export const AITaxonomyApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* source PROPERTIES: the table is empty and openfilz.ai.insights.categories rules (the rows shown are that list); source DATABASE: the managed rows rule. \'other\' is never a row — it is always appended.
|
|
39
|
+
* @summary The taxonomy and where it comes from
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
get4: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44
|
+
const localVarPath = `/api/v1/admin/ai/taxonomy`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53
|
+
const localVarHeaderParameter = {} as any;
|
|
54
|
+
const localVarQueryParameter = {} as any;
|
|
55
|
+
|
|
56
|
+
// authentication keycloak_auth required
|
|
57
|
+
// http bearer authentication required
|
|
58
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
59
|
+
|
|
60
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
61
|
+
|
|
62
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65
|
+
|
|
66
|
+
return {
|
|
67
|
+
url: toPathString(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
* Keys are normalised (lower case, hyphens), duplicates and \'other\' refused/dropped, positions follow the list order. An empty list is refused (400): use POST /reset to return to the properties.
|
|
73
|
+
* @summary Replace the whole taxonomy
|
|
74
|
+
* @param {Array<AiTaxonomyCategory>} aiTaxonomyCategory
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
put: async (aiTaxonomyCategory: Array<AiTaxonomyCategory>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
79
|
+
// verify required parameter 'aiTaxonomyCategory' is not null or undefined
|
|
80
|
+
assertParamExists('put', 'aiTaxonomyCategory', aiTaxonomyCategory)
|
|
81
|
+
const localVarPath = `/api/v1/admin/ai/taxonomy`;
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
90
|
+
const localVarHeaderParameter = {} as any;
|
|
91
|
+
const localVarQueryParameter = {} as any;
|
|
92
|
+
|
|
93
|
+
// authentication keycloak_auth required
|
|
94
|
+
// http bearer authentication required
|
|
95
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
96
|
+
|
|
97
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
98
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
99
|
+
|
|
100
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
101
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aiTaxonomyCategory, localVarRequestOptions, configuration)
|
|
104
|
+
|
|
105
|
+
return {
|
|
106
|
+
url: toPathString(localVarUrlObj),
|
|
107
|
+
options: localVarRequestOptions,
|
|
108
|
+
};
|
|
109
|
+
},
|
|
110
|
+
/**
|
|
111
|
+
* relabel: rewrite every stored insight carrying the old key (and the search index mirror). backfill: start a forced insights backfill and return its job id — under the enterprise ownership rule it covers the documents the calling admin owns.
|
|
112
|
+
* @summary Rename a kind
|
|
113
|
+
* @param {string} key
|
|
114
|
+
* @param {AiTaxonomyRenameRequest} aiTaxonomyRenameRequest
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
rename: async (key: string, aiTaxonomyRenameRequest: AiTaxonomyRenameRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
119
|
+
// verify required parameter 'key' is not null or undefined
|
|
120
|
+
assertParamExists('rename', 'key', key)
|
|
121
|
+
// verify required parameter 'aiTaxonomyRenameRequest' is not null or undefined
|
|
122
|
+
assertParamExists('rename', 'aiTaxonomyRenameRequest', aiTaxonomyRenameRequest)
|
|
123
|
+
const localVarPath = `/api/v1/admin/ai/taxonomy/{key}/rename`
|
|
124
|
+
.replace('{key}', encodeURIComponent(String(key)));
|
|
125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
127
|
+
let baseOptions;
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
133
|
+
const localVarHeaderParameter = {} as any;
|
|
134
|
+
const localVarQueryParameter = {} as any;
|
|
135
|
+
|
|
136
|
+
// authentication keycloak_auth required
|
|
137
|
+
// http bearer authentication required
|
|
138
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
139
|
+
|
|
140
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
141
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
142
|
+
|
|
143
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
144
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
145
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
146
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aiTaxonomyRenameRequest, localVarRequestOptions, configuration)
|
|
147
|
+
|
|
148
|
+
return {
|
|
149
|
+
url: toPathString(localVarUrlObj),
|
|
150
|
+
options: localVarRequestOptions,
|
|
151
|
+
};
|
|
152
|
+
},
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @summary Delete every managed kind: the properties list rules again
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
reset: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
160
|
+
const localVarPath = `/api/v1/admin/ai/taxonomy/reset`;
|
|
161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
163
|
+
let baseOptions;
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
169
|
+
const localVarHeaderParameter = {} as any;
|
|
170
|
+
const localVarQueryParameter = {} as any;
|
|
171
|
+
|
|
172
|
+
// authentication keycloak_auth required
|
|
173
|
+
// http bearer authentication required
|
|
174
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
175
|
+
|
|
176
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
177
|
+
|
|
178
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
179
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
180
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
181
|
+
|
|
182
|
+
return {
|
|
183
|
+
url: toPathString(localVarUrlObj),
|
|
184
|
+
options: localVarRequestOptions,
|
|
185
|
+
};
|
|
186
|
+
},
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* AITaxonomyApi - functional programming interface
|
|
192
|
+
*/
|
|
193
|
+
export const AITaxonomyApiFp = function(configuration?: Configuration) {
|
|
194
|
+
const localVarAxiosParamCreator = AITaxonomyApiAxiosParamCreator(configuration)
|
|
195
|
+
return {
|
|
196
|
+
/**
|
|
197
|
+
* source PROPERTIES: the table is empty and openfilz.ai.insights.categories rules (the rows shown are that list); source DATABASE: the managed rows rule. \'other\' is never a row — it is always appended.
|
|
198
|
+
* @summary The taxonomy and where it comes from
|
|
199
|
+
* @param {*} [options] Override http request option.
|
|
200
|
+
* @throws {RequiredError}
|
|
201
|
+
*/
|
|
202
|
+
async get4(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiTaxonomyView>> {
|
|
203
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.get4(options);
|
|
204
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
205
|
+
const localVarOperationServerBasePath = operationServerMap['AITaxonomyApi.get4']?.[localVarOperationServerIndex]?.url;
|
|
206
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
207
|
+
},
|
|
208
|
+
/**
|
|
209
|
+
* Keys are normalised (lower case, hyphens), duplicates and \'other\' refused/dropped, positions follow the list order. An empty list is refused (400): use POST /reset to return to the properties.
|
|
210
|
+
* @summary Replace the whole taxonomy
|
|
211
|
+
* @param {Array<AiTaxonomyCategory>} aiTaxonomyCategory
|
|
212
|
+
* @param {*} [options] Override http request option.
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
*/
|
|
215
|
+
async put(aiTaxonomyCategory: Array<AiTaxonomyCategory>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiTaxonomyView>> {
|
|
216
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.put(aiTaxonomyCategory, options);
|
|
217
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
218
|
+
const localVarOperationServerBasePath = operationServerMap['AITaxonomyApi.put']?.[localVarOperationServerIndex]?.url;
|
|
219
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
220
|
+
},
|
|
221
|
+
/**
|
|
222
|
+
* relabel: rewrite every stored insight carrying the old key (and the search index mirror). backfill: start a forced insights backfill and return its job id — under the enterprise ownership rule it covers the documents the calling admin owns.
|
|
223
|
+
* @summary Rename a kind
|
|
224
|
+
* @param {string} key
|
|
225
|
+
* @param {AiTaxonomyRenameRequest} aiTaxonomyRenameRequest
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
async rename(key: string, aiTaxonomyRenameRequest: AiTaxonomyRenameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiTaxonomyRenameResult>> {
|
|
230
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rename(key, aiTaxonomyRenameRequest, options);
|
|
231
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
232
|
+
const localVarOperationServerBasePath = operationServerMap['AITaxonomyApi.rename']?.[localVarOperationServerIndex]?.url;
|
|
233
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
234
|
+
},
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @summary Delete every managed kind: the properties list rules again
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
async reset(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiTaxonomyView>> {
|
|
242
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reset(options);
|
|
243
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
244
|
+
const localVarOperationServerBasePath = operationServerMap['AITaxonomyApi.reset']?.[localVarOperationServerIndex]?.url;
|
|
245
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
246
|
+
},
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* AITaxonomyApi - factory interface
|
|
252
|
+
*/
|
|
253
|
+
export const AITaxonomyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
254
|
+
const localVarFp = AITaxonomyApiFp(configuration)
|
|
255
|
+
return {
|
|
256
|
+
/**
|
|
257
|
+
* source PROPERTIES: the table is empty and openfilz.ai.insights.categories rules (the rows shown are that list); source DATABASE: the managed rows rule. \'other\' is never a row — it is always appended.
|
|
258
|
+
* @summary The taxonomy and where it comes from
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
get4(options?: RawAxiosRequestConfig): AxiosPromise<AiTaxonomyView> {
|
|
263
|
+
return localVarFp.get4(options).then((request) => request(axios, basePath));
|
|
264
|
+
},
|
|
265
|
+
/**
|
|
266
|
+
* Keys are normalised (lower case, hyphens), duplicates and \'other\' refused/dropped, positions follow the list order. An empty list is refused (400): use POST /reset to return to the properties.
|
|
267
|
+
* @summary Replace the whole taxonomy
|
|
268
|
+
* @param {Array<AiTaxonomyCategory>} aiTaxonomyCategory
|
|
269
|
+
* @param {*} [options] Override http request option.
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
*/
|
|
272
|
+
put(aiTaxonomyCategory: Array<AiTaxonomyCategory>, options?: RawAxiosRequestConfig): AxiosPromise<AiTaxonomyView> {
|
|
273
|
+
return localVarFp.put(aiTaxonomyCategory, options).then((request) => request(axios, basePath));
|
|
274
|
+
},
|
|
275
|
+
/**
|
|
276
|
+
* relabel: rewrite every stored insight carrying the old key (and the search index mirror). backfill: start a forced insights backfill and return its job id — under the enterprise ownership rule it covers the documents the calling admin owns.
|
|
277
|
+
* @summary Rename a kind
|
|
278
|
+
* @param {string} key
|
|
279
|
+
* @param {AiTaxonomyRenameRequest} aiTaxonomyRenameRequest
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
rename(key: string, aiTaxonomyRenameRequest: AiTaxonomyRenameRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiTaxonomyRenameResult> {
|
|
284
|
+
return localVarFp.rename(key, aiTaxonomyRenameRequest, options).then((request) => request(axios, basePath));
|
|
285
|
+
},
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @summary Delete every managed kind: the properties list rules again
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
reset(options?: RawAxiosRequestConfig): AxiosPromise<AiTaxonomyView> {
|
|
293
|
+
return localVarFp.reset(options).then((request) => request(axios, basePath));
|
|
294
|
+
},
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* AITaxonomyApi - object-oriented interface
|
|
300
|
+
*/
|
|
301
|
+
export class AITaxonomyApi extends BaseAPI {
|
|
302
|
+
/**
|
|
303
|
+
* source PROPERTIES: the table is empty and openfilz.ai.insights.categories rules (the rows shown are that list); source DATABASE: the managed rows rule. \'other\' is never a row — it is always appended.
|
|
304
|
+
* @summary The taxonomy and where it comes from
|
|
305
|
+
* @param {*} [options] Override http request option.
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
*/
|
|
308
|
+
public get4(options?: RawAxiosRequestConfig) {
|
|
309
|
+
return AITaxonomyApiFp(this.configuration).get4(options).then((request) => request(this.axios, this.basePath));
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Keys are normalised (lower case, hyphens), duplicates and \'other\' refused/dropped, positions follow the list order. An empty list is refused (400): use POST /reset to return to the properties.
|
|
314
|
+
* @summary Replace the whole taxonomy
|
|
315
|
+
* @param {Array<AiTaxonomyCategory>} aiTaxonomyCategory
|
|
316
|
+
* @param {*} [options] Override http request option.
|
|
317
|
+
* @throws {RequiredError}
|
|
318
|
+
*/
|
|
319
|
+
public put(aiTaxonomyCategory: Array<AiTaxonomyCategory>, options?: RawAxiosRequestConfig) {
|
|
320
|
+
return AITaxonomyApiFp(this.configuration).put(aiTaxonomyCategory, options).then((request) => request(this.axios, this.basePath));
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* relabel: rewrite every stored insight carrying the old key (and the search index mirror). backfill: start a forced insights backfill and return its job id — under the enterprise ownership rule it covers the documents the calling admin owns.
|
|
325
|
+
* @summary Rename a kind
|
|
326
|
+
* @param {string} key
|
|
327
|
+
* @param {AiTaxonomyRenameRequest} aiTaxonomyRenameRequest
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
public rename(key: string, aiTaxonomyRenameRequest: AiTaxonomyRenameRequest, options?: RawAxiosRequestConfig) {
|
|
332
|
+
return AITaxonomyApiFp(this.configuration).rename(key, aiTaxonomyRenameRequest, options).then((request) => request(this.axios, this.basePath));
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @summary Delete every managed kind: the properties list rules again
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
public reset(options?: RawAxiosRequestConfig) {
|
|
342
|
+
return AITaxonomyApiFp(this.configuration).reset(options).then((request) => request(this.axios, this.basePath));
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|