@openfilz-sdk/typescript-ee 1.9.11 → 1.10.1
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 +82 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +75 -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 +73 -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 +33 -0
- package/dist/api/smart-filing-api.js +68 -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 +33 -0
- package/dist/esm/api/smart-filing-api.js +68 -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/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 +32 -0
- package/dist/esm/models/index.js +32 -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/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 +32 -0
- package/dist/models/index.js +32 -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/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 +53 -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/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 +32 -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,555 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* AIFilingRulesApi - axios parameter creator
|
|
31
|
+
*/
|
|
32
|
+
export const AIFilingRulesApiAxiosParamCreator = function (configuration) {
|
|
33
|
+
return {
|
|
34
|
+
/**
|
|
35
|
+
* destinationPath is absolute from the library root and may use {year}, {month}, {category}, {entity:<key>}, {uploader}, {team}. Null match fields mean \"any\". Takes effect on the next filing.
|
|
36
|
+
* @summary Create a filing rule
|
|
37
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
create3: (filingRuleRequest_1, ...args_1) => __awaiter(this, [filingRuleRequest_1, ...args_1], void 0, function* (filingRuleRequest, options = {}) {
|
|
42
|
+
// verify required parameter 'filingRuleRequest' is not null or undefined
|
|
43
|
+
assertParamExists('create3', 'filingRuleRequest', filingRuleRequest);
|
|
44
|
+
const localVarPath = `/api/v1/admin/ai/filing-rules`;
|
|
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
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
57
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
58
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(filingRuleRequest, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary Delete a filing rule (its events go with it)
|
|
71
|
+
* @param {string} id
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
delete2: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
76
|
+
// verify required parameter 'id' is not null or undefined
|
|
77
|
+
assertParamExists('delete2', 'id', id);
|
|
78
|
+
const localVarPath = `/api/v1/admin/ai/filing-rules/{id}`
|
|
79
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
80
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
81
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
82
|
+
let baseOptions;
|
|
83
|
+
if (configuration) {
|
|
84
|
+
baseOptions = configuration.baseOptions;
|
|
85
|
+
}
|
|
86
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
87
|
+
const localVarHeaderParameter = {};
|
|
88
|
+
const localVarQueryParameter = {};
|
|
89
|
+
// authentication keycloak_auth required
|
|
90
|
+
// http bearer authentication required
|
|
91
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
92
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
95
|
+
return {
|
|
96
|
+
url: toPathString(localVarUrlObj),
|
|
97
|
+
options: localVarRequestOptions,
|
|
98
|
+
};
|
|
99
|
+
}),
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @summary What the rule did lately (MATCHED / DRY_RUN / SKIPPED), newest first
|
|
103
|
+
* @param {string} id
|
|
104
|
+
* @param {number} [limit]
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
events1: (id_1, limit_1, ...args_1) => __awaiter(this, [id_1, limit_1, ...args_1], void 0, function* (id, limit, options = {}) {
|
|
109
|
+
// verify required parameter 'id' is not null or undefined
|
|
110
|
+
assertParamExists('events1', 'id', id);
|
|
111
|
+
const localVarPath = `/api/v1/admin/ai/filing-rules/{id}/events`
|
|
112
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
113
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
114
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
115
|
+
let baseOptions;
|
|
116
|
+
if (configuration) {
|
|
117
|
+
baseOptions = configuration.baseOptions;
|
|
118
|
+
}
|
|
119
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
120
|
+
const localVarHeaderParameter = {};
|
|
121
|
+
const localVarQueryParameter = {};
|
|
122
|
+
// authentication keycloak_auth required
|
|
123
|
+
// http bearer authentication required
|
|
124
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
125
|
+
if (limit !== undefined) {
|
|
126
|
+
localVarQueryParameter['limit'] = limit;
|
|
127
|
+
}
|
|
128
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
131
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
132
|
+
return {
|
|
133
|
+
url: toPathString(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
}),
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @summary One filing rule
|
|
140
|
+
* @param {string} id
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
get6: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
145
|
+
// verify required parameter 'id' is not null or undefined
|
|
146
|
+
assertParamExists('get6', 'id', id);
|
|
147
|
+
const localVarPath = `/api/v1/admin/ai/filing-rules/{id}`
|
|
148
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
151
|
+
let baseOptions;
|
|
152
|
+
if (configuration) {
|
|
153
|
+
baseOptions = configuration.baseOptions;
|
|
154
|
+
}
|
|
155
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
156
|
+
const localVarHeaderParameter = {};
|
|
157
|
+
const localVarQueryParameter = {};
|
|
158
|
+
// authentication keycloak_auth required
|
|
159
|
+
// http bearer authentication required
|
|
160
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
161
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
162
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
163
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
164
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
165
|
+
return {
|
|
166
|
+
url: toPathString(localVarUrlObj),
|
|
167
|
+
options: localVarRequestOptions,
|
|
168
|
+
};
|
|
169
|
+
}),
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @summary List the filing rules, by priority
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
list3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
177
|
+
const localVarPath = `/api/v1/admin/ai/filing-rules`;
|
|
178
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
179
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
180
|
+
let baseOptions;
|
|
181
|
+
if (configuration) {
|
|
182
|
+
baseOptions = configuration.baseOptions;
|
|
183
|
+
}
|
|
184
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
185
|
+
const localVarHeaderParameter = {};
|
|
186
|
+
const localVarQueryParameter = {};
|
|
187
|
+
// authentication keycloak_auth required
|
|
188
|
+
// http bearer authentication required
|
|
189
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
190
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
191
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
194
|
+
return {
|
|
195
|
+
url: toPathString(localVarUrlObj),
|
|
196
|
+
options: localVarRequestOptions,
|
|
197
|
+
};
|
|
198
|
+
}),
|
|
199
|
+
/**
|
|
200
|
+
* What the rule would do for the document as the engine sees it today (current insight, metadata, uploader = the document\'s creator). Nothing moves and no event is recorded. Outcomes: MATCHED, DRY_RUN, SKIPPED, NO_MATCH, DISABLED.
|
|
201
|
+
* @summary Dry evaluation of the rule against an existing document
|
|
202
|
+
* @param {string} id
|
|
203
|
+
* @param {FilingRuleTestRequest} filingRuleTestRequest
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
*/
|
|
207
|
+
test: (id_1, filingRuleTestRequest_1, ...args_1) => __awaiter(this, [id_1, filingRuleTestRequest_1, ...args_1], void 0, function* (id, filingRuleTestRequest, options = {}) {
|
|
208
|
+
// verify required parameter 'id' is not null or undefined
|
|
209
|
+
assertParamExists('test', 'id', id);
|
|
210
|
+
// verify required parameter 'filingRuleTestRequest' is not null or undefined
|
|
211
|
+
assertParamExists('test', 'filingRuleTestRequest', filingRuleTestRequest);
|
|
212
|
+
const localVarPath = `/api/v1/admin/ai/filing-rules/{id}/test`
|
|
213
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
214
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
215
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
216
|
+
let baseOptions;
|
|
217
|
+
if (configuration) {
|
|
218
|
+
baseOptions = configuration.baseOptions;
|
|
219
|
+
}
|
|
220
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
221
|
+
const localVarHeaderParameter = {};
|
|
222
|
+
const localVarQueryParameter = {};
|
|
223
|
+
// authentication keycloak_auth required
|
|
224
|
+
// http bearer authentication required
|
|
225
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
226
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
227
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
228
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
229
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
230
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
231
|
+
localVarRequestOptions.data = serializeDataIfNeeded(filingRuleTestRequest, localVarRequestOptions, configuration);
|
|
232
|
+
return {
|
|
233
|
+
url: toPathString(localVarUrlObj),
|
|
234
|
+
options: localVarRequestOptions,
|
|
235
|
+
};
|
|
236
|
+
}),
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @summary Replace a filing rule
|
|
240
|
+
* @param {string} id
|
|
241
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
update3: (id_1, filingRuleRequest_1, ...args_1) => __awaiter(this, [id_1, filingRuleRequest_1, ...args_1], void 0, function* (id, filingRuleRequest, options = {}) {
|
|
246
|
+
// verify required parameter 'id' is not null or undefined
|
|
247
|
+
assertParamExists('update3', 'id', id);
|
|
248
|
+
// verify required parameter 'filingRuleRequest' is not null or undefined
|
|
249
|
+
assertParamExists('update3', 'filingRuleRequest', filingRuleRequest);
|
|
250
|
+
const localVarPath = `/api/v1/admin/ai/filing-rules/{id}`
|
|
251
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
254
|
+
let baseOptions;
|
|
255
|
+
if (configuration) {
|
|
256
|
+
baseOptions = configuration.baseOptions;
|
|
257
|
+
}
|
|
258
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
259
|
+
const localVarHeaderParameter = {};
|
|
260
|
+
const localVarQueryParameter = {};
|
|
261
|
+
// authentication keycloak_auth required
|
|
262
|
+
// http bearer authentication required
|
|
263
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
264
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
265
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
266
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
268
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
269
|
+
localVarRequestOptions.data = serializeDataIfNeeded(filingRuleRequest, localVarRequestOptions, configuration);
|
|
270
|
+
return {
|
|
271
|
+
url: toPathString(localVarUrlObj),
|
|
272
|
+
options: localVarRequestOptions,
|
|
273
|
+
};
|
|
274
|
+
}),
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* AIFilingRulesApi - functional programming interface
|
|
279
|
+
*/
|
|
280
|
+
export const AIFilingRulesApiFp = function (configuration) {
|
|
281
|
+
const localVarAxiosParamCreator = AIFilingRulesApiAxiosParamCreator(configuration);
|
|
282
|
+
return {
|
|
283
|
+
/**
|
|
284
|
+
* destinationPath is absolute from the library root and may use {year}, {month}, {category}, {entity:<key>}, {uploader}, {team}. Null match fields mean \"any\". Takes effect on the next filing.
|
|
285
|
+
* @summary Create a filing rule
|
|
286
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
287
|
+
* @param {*} [options] Override http request option.
|
|
288
|
+
* @throws {RequiredError}
|
|
289
|
+
*/
|
|
290
|
+
create3(filingRuleRequest, options) {
|
|
291
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
292
|
+
var _a, _b, _c;
|
|
293
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.create3(filingRuleRequest, options);
|
|
294
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
295
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIFilingRulesApi.create3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
296
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
297
|
+
});
|
|
298
|
+
},
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* @summary Delete a filing rule (its events go with it)
|
|
302
|
+
* @param {string} id
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
delete2(id, options) {
|
|
307
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
308
|
+
var _a, _b, _c;
|
|
309
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.delete2(id, options);
|
|
310
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
311
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIFilingRulesApi.delete2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
312
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
313
|
+
});
|
|
314
|
+
},
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
* @summary What the rule did lately (MATCHED / DRY_RUN / SKIPPED), newest first
|
|
318
|
+
* @param {string} id
|
|
319
|
+
* @param {number} [limit]
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
events1(id, limit, options) {
|
|
324
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
325
|
+
var _a, _b, _c;
|
|
326
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.events1(id, limit, options);
|
|
327
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
328
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIFilingRulesApi.events1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
329
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
330
|
+
});
|
|
331
|
+
},
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @summary One filing rule
|
|
335
|
+
* @param {string} id
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
get6(id, options) {
|
|
340
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
341
|
+
var _a, _b, _c;
|
|
342
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.get6(id, options);
|
|
343
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
344
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIFilingRulesApi.get6']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
345
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
346
|
+
});
|
|
347
|
+
},
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* @summary List the filing rules, by priority
|
|
351
|
+
* @param {*} [options] Override http request option.
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
list3(options) {
|
|
355
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
356
|
+
var _a, _b, _c;
|
|
357
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.list3(options);
|
|
358
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
359
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIFilingRulesApi.list3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
360
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
361
|
+
});
|
|
362
|
+
},
|
|
363
|
+
/**
|
|
364
|
+
* What the rule would do for the document as the engine sees it today (current insight, metadata, uploader = the document\'s creator). Nothing moves and no event is recorded. Outcomes: MATCHED, DRY_RUN, SKIPPED, NO_MATCH, DISABLED.
|
|
365
|
+
* @summary Dry evaluation of the rule against an existing document
|
|
366
|
+
* @param {string} id
|
|
367
|
+
* @param {FilingRuleTestRequest} filingRuleTestRequest
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
*/
|
|
371
|
+
test(id, filingRuleTestRequest, options) {
|
|
372
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
373
|
+
var _a, _b, _c;
|
|
374
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.test(id, filingRuleTestRequest, options);
|
|
375
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
376
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIFilingRulesApi.test']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
377
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
378
|
+
});
|
|
379
|
+
},
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @summary Replace a filing rule
|
|
383
|
+
* @param {string} id
|
|
384
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
update3(id, filingRuleRequest, options) {
|
|
389
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
390
|
+
var _a, _b, _c;
|
|
391
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.update3(id, filingRuleRequest, options);
|
|
392
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
393
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIFilingRulesApi.update3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
394
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
395
|
+
});
|
|
396
|
+
},
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* AIFilingRulesApi - factory interface
|
|
401
|
+
*/
|
|
402
|
+
export const AIFilingRulesApiFactory = function (configuration, basePath, axios) {
|
|
403
|
+
const localVarFp = AIFilingRulesApiFp(configuration);
|
|
404
|
+
return {
|
|
405
|
+
/**
|
|
406
|
+
* destinationPath is absolute from the library root and may use {year}, {month}, {category}, {entity:<key>}, {uploader}, {team}. Null match fields mean \"any\". Takes effect on the next filing.
|
|
407
|
+
* @summary Create a filing rule
|
|
408
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
*/
|
|
412
|
+
create3(filingRuleRequest, options) {
|
|
413
|
+
return localVarFp.create3(filingRuleRequest, options).then((request) => request(axios, basePath));
|
|
414
|
+
},
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @summary Delete a filing rule (its events go with it)
|
|
418
|
+
* @param {string} id
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
delete2(id, options) {
|
|
423
|
+
return localVarFp.delete2(id, options).then((request) => request(axios, basePath));
|
|
424
|
+
},
|
|
425
|
+
/**
|
|
426
|
+
*
|
|
427
|
+
* @summary What the rule did lately (MATCHED / DRY_RUN / SKIPPED), newest first
|
|
428
|
+
* @param {string} id
|
|
429
|
+
* @param {number} [limit]
|
|
430
|
+
* @param {*} [options] Override http request option.
|
|
431
|
+
* @throws {RequiredError}
|
|
432
|
+
*/
|
|
433
|
+
events1(id, limit, options) {
|
|
434
|
+
return localVarFp.events1(id, limit, options).then((request) => request(axios, basePath));
|
|
435
|
+
},
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
* @summary One filing rule
|
|
439
|
+
* @param {string} id
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
get6(id, options) {
|
|
444
|
+
return localVarFp.get6(id, options).then((request) => request(axios, basePath));
|
|
445
|
+
},
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @summary List the filing rules, by priority
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
list3(options) {
|
|
453
|
+
return localVarFp.list3(options).then((request) => request(axios, basePath));
|
|
454
|
+
},
|
|
455
|
+
/**
|
|
456
|
+
* What the rule would do for the document as the engine sees it today (current insight, metadata, uploader = the document\'s creator). Nothing moves and no event is recorded. Outcomes: MATCHED, DRY_RUN, SKIPPED, NO_MATCH, DISABLED.
|
|
457
|
+
* @summary Dry evaluation of the rule against an existing document
|
|
458
|
+
* @param {string} id
|
|
459
|
+
* @param {FilingRuleTestRequest} filingRuleTestRequest
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
*/
|
|
463
|
+
test(id, filingRuleTestRequest, options) {
|
|
464
|
+
return localVarFp.test(id, filingRuleTestRequest, options).then((request) => request(axios, basePath));
|
|
465
|
+
},
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @summary Replace a filing rule
|
|
469
|
+
* @param {string} id
|
|
470
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
*/
|
|
474
|
+
update3(id, filingRuleRequest, options) {
|
|
475
|
+
return localVarFp.update3(id, filingRuleRequest, options).then((request) => request(axios, basePath));
|
|
476
|
+
},
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* AIFilingRulesApi - object-oriented interface
|
|
481
|
+
*/
|
|
482
|
+
export class AIFilingRulesApi extends BaseAPI {
|
|
483
|
+
/**
|
|
484
|
+
* destinationPath is absolute from the library root and may use {year}, {month}, {category}, {entity:<key>}, {uploader}, {team}. Null match fields mean \"any\". Takes effect on the next filing.
|
|
485
|
+
* @summary Create a filing rule
|
|
486
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
create3(filingRuleRequest, options) {
|
|
491
|
+
return AIFilingRulesApiFp(this.configuration).create3(filingRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @summary Delete a filing rule (its events go with it)
|
|
496
|
+
* @param {string} id
|
|
497
|
+
* @param {*} [options] Override http request option.
|
|
498
|
+
* @throws {RequiredError}
|
|
499
|
+
*/
|
|
500
|
+
delete2(id, options) {
|
|
501
|
+
return AIFilingRulesApiFp(this.configuration).delete2(id, options).then((request) => request(this.axios, this.basePath));
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @summary What the rule did lately (MATCHED / DRY_RUN / SKIPPED), newest first
|
|
506
|
+
* @param {string} id
|
|
507
|
+
* @param {number} [limit]
|
|
508
|
+
* @param {*} [options] Override http request option.
|
|
509
|
+
* @throws {RequiredError}
|
|
510
|
+
*/
|
|
511
|
+
events1(id, limit, options) {
|
|
512
|
+
return AIFilingRulesApiFp(this.configuration).events1(id, limit, options).then((request) => request(this.axios, this.basePath));
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @summary One filing rule
|
|
517
|
+
* @param {string} id
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
*/
|
|
521
|
+
get6(id, options) {
|
|
522
|
+
return AIFilingRulesApiFp(this.configuration).get6(id, options).then((request) => request(this.axios, this.basePath));
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* @summary List the filing rules, by priority
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
list3(options) {
|
|
531
|
+
return AIFilingRulesApiFp(this.configuration).list3(options).then((request) => request(this.axios, this.basePath));
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* What the rule would do for the document as the engine sees it today (current insight, metadata, uploader = the document\'s creator). Nothing moves and no event is recorded. Outcomes: MATCHED, DRY_RUN, SKIPPED, NO_MATCH, DISABLED.
|
|
535
|
+
* @summary Dry evaluation of the rule against an existing document
|
|
536
|
+
* @param {string} id
|
|
537
|
+
* @param {FilingRuleTestRequest} filingRuleTestRequest
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
test(id, filingRuleTestRequest, options) {
|
|
542
|
+
return AIFilingRulesApiFp(this.configuration).test(id, filingRuleTestRequest, options).then((request) => request(this.axios, this.basePath));
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @summary Replace a filing rule
|
|
547
|
+
* @param {string} id
|
|
548
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
549
|
+
* @param {*} [options] Override http request option.
|
|
550
|
+
* @throws {RequiredError}
|
|
551
|
+
*/
|
|
552
|
+
update3(id, filingRuleRequest, options) {
|
|
553
|
+
return AIFilingRulesApiFp(this.configuration).update3(id, filingRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
554
|
+
}
|
|
555
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { AiGovernanceSettings } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* AIGovernanceApi - axios parameter creator
|
|
18
|
+
*/
|
|
19
|
+
export declare const AIGovernanceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @summary The AI governance settings in force
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
get5: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
+
/**
|
|
28
|
+
* Full replace. blockedCategories must be kinds of the taxonomy (400 otherwise); insightRetentionDays null keeps insights forever. Takes effect within 30 seconds on every node.
|
|
29
|
+
* @summary Replace the AI governance settings
|
|
30
|
+
* @param {AiGovernanceSettings} aiGovernanceSettings
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
put1: (aiGovernanceSettings: AiGovernanceSettings, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* AIGovernanceApi - functional programming interface
|
|
38
|
+
*/
|
|
39
|
+
export declare const AIGovernanceApiFp: (configuration?: Configuration) => {
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary The AI governance settings in force
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
get5(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiGovernanceSettings>>;
|
|
47
|
+
/**
|
|
48
|
+
* Full replace. blockedCategories must be kinds of the taxonomy (400 otherwise); insightRetentionDays null keeps insights forever. Takes effect within 30 seconds on every node.
|
|
49
|
+
* @summary Replace the AI governance settings
|
|
50
|
+
* @param {AiGovernanceSettings} aiGovernanceSettings
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
put1(aiGovernanceSettings: AiGovernanceSettings, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiGovernanceSettings>>;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* AIGovernanceApi - factory interface
|
|
58
|
+
*/
|
|
59
|
+
export declare const AIGovernanceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @summary The AI governance settings in force
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
get5(options?: RawAxiosRequestConfig): AxiosPromise<AiGovernanceSettings>;
|
|
67
|
+
/**
|
|
68
|
+
* Full replace. blockedCategories must be kinds of the taxonomy (400 otherwise); insightRetentionDays null keeps insights forever. Takes effect within 30 seconds on every node.
|
|
69
|
+
* @summary Replace the AI governance settings
|
|
70
|
+
* @param {AiGovernanceSettings} aiGovernanceSettings
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
put1(aiGovernanceSettings: AiGovernanceSettings, options?: RawAxiosRequestConfig): AxiosPromise<AiGovernanceSettings>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* AIGovernanceApi - object-oriented interface
|
|
78
|
+
*/
|
|
79
|
+
export declare class AIGovernanceApi extends BaseAPI {
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @summary The AI governance settings in force
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
get5(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiGovernanceSettings, any, {}, any>>;
|
|
87
|
+
/**
|
|
88
|
+
* Full replace. blockedCategories must be kinds of the taxonomy (400 otherwise); insightRetentionDays null keeps insights forever. Takes effect within 30 seconds on every node.
|
|
89
|
+
* @summary Replace the AI governance settings
|
|
90
|
+
* @param {AiGovernanceSettings} aiGovernanceSettings
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
put1(aiGovernanceSettings: AiGovernanceSettings, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiGovernanceSettings, any, {}, any>>;
|
|
95
|
+
}
|