@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,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.AiCloudUsageAdminControllerApi = exports.AiCloudUsageAdminControllerApiFactory = exports.AiCloudUsageAdminControllerApiFp = exports.AiCloudUsageAdminControllerApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* AiCloudUsageAdminControllerApi - axios parameter creator
|
|
34
|
+
*/
|
|
35
|
+
const AiCloudUsageAdminControllerApiAxiosParamCreator = function (configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Documents used against the monthly quota, budget used in percent, whether the gateway is currently refusing new documents, and the key expiry. status = NOT_CONFIGURED when the deployment does not use openfilz-cloud, KEY_REJECTED when the gateway refuses the key, UNREACHABLE when it cannot be reached. Cached 60 s.
|
|
39
|
+
* @summary OpenFilz Cloud AI usage of this deployment for the current month (admin only)
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
cloudUsage: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
|
+
const localVarPath = `/api/v1/admin/ai/cloud-usage`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
57
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
return {
|
|
62
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
exports.AiCloudUsageAdminControllerApiAxiosParamCreator = AiCloudUsageAdminControllerApiAxiosParamCreator;
|
|
69
|
+
/**
|
|
70
|
+
* AiCloudUsageAdminControllerApi - functional programming interface
|
|
71
|
+
*/
|
|
72
|
+
const AiCloudUsageAdminControllerApiFp = function (configuration) {
|
|
73
|
+
const localVarAxiosParamCreator = (0, exports.AiCloudUsageAdminControllerApiAxiosParamCreator)(configuration);
|
|
74
|
+
return {
|
|
75
|
+
/**
|
|
76
|
+
* Documents used against the monthly quota, budget used in percent, whether the gateway is currently refusing new documents, and the key expiry. status = NOT_CONFIGURED when the deployment does not use openfilz-cloud, KEY_REJECTED when the gateway refuses the key, UNREACHABLE when it cannot be reached. Cached 60 s.
|
|
77
|
+
* @summary OpenFilz Cloud AI usage of this deployment for the current month (admin only)
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
*/
|
|
81
|
+
cloudUsage(options) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
var _a, _b, _c;
|
|
84
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloudUsage(options);
|
|
85
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
86
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AiCloudUsageAdminControllerApi.cloudUsage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
87
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
88
|
+
});
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
exports.AiCloudUsageAdminControllerApiFp = AiCloudUsageAdminControllerApiFp;
|
|
93
|
+
/**
|
|
94
|
+
* AiCloudUsageAdminControllerApi - factory interface
|
|
95
|
+
*/
|
|
96
|
+
const AiCloudUsageAdminControllerApiFactory = function (configuration, basePath, axios) {
|
|
97
|
+
const localVarFp = (0, exports.AiCloudUsageAdminControllerApiFp)(configuration);
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
* Documents used against the monthly quota, budget used in percent, whether the gateway is currently refusing new documents, and the key expiry. status = NOT_CONFIGURED when the deployment does not use openfilz-cloud, KEY_REJECTED when the gateway refuses the key, UNREACHABLE when it cannot be reached. Cached 60 s.
|
|
101
|
+
* @summary OpenFilz Cloud AI usage of this deployment for the current month (admin only)
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
cloudUsage(options) {
|
|
106
|
+
return localVarFp.cloudUsage(options).then((request) => request(axios, basePath));
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
exports.AiCloudUsageAdminControllerApiFactory = AiCloudUsageAdminControllerApiFactory;
|
|
111
|
+
/**
|
|
112
|
+
* AiCloudUsageAdminControllerApi - object-oriented interface
|
|
113
|
+
*/
|
|
114
|
+
class AiCloudUsageAdminControllerApi extends base_1.BaseAPI {
|
|
115
|
+
/**
|
|
116
|
+
* Documents used against the monthly quota, budget used in percent, whether the gateway is currently refusing new documents, and the key expiry. status = NOT_CONFIGURED when the deployment does not use openfilz-cloud, KEY_REJECTED when the gateway refuses the key, UNREACHABLE when it cannot be reached. Cached 60 s.
|
|
117
|
+
* @summary OpenFilz Cloud AI usage of this deployment for the current month (admin only)
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
cloudUsage(options) {
|
|
122
|
+
return (0, exports.AiCloudUsageAdminControllerApiFp)(this.configuration).cloudUsage(options).then((request) => request(this.axios, this.basePath));
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.AiCloudUsageAdminControllerApi = AiCloudUsageAdminControllerApi;
|
package/dist/api/aichat-api.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const AIChatApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
get9: (planId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
* Get all messages in a conversation
|
|
69
69
|
* @summary Get conversation history
|
|
@@ -132,7 +132,7 @@ export declare const AIChatApiFp: (configuration?: Configuration) => {
|
|
|
132
132
|
* @param {*} [options] Override http request option.
|
|
133
133
|
* @throws {RequiredError}
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
get9(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>>;
|
|
136
136
|
/**
|
|
137
137
|
* Get all messages in a conversation
|
|
138
138
|
* @summary Get conversation history
|
|
@@ -201,7 +201,7 @@ export declare const AIChatApiFactory: (configuration?: Configuration, basePath?
|
|
|
201
201
|
* @param {*} [options] Override http request option.
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
*/
|
|
204
|
-
|
|
204
|
+
get9(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView>;
|
|
205
205
|
/**
|
|
206
206
|
* Get all messages in a conversation
|
|
207
207
|
* @summary Get conversation history
|
|
@@ -270,7 +270,7 @@ export declare class AIChatApi extends BaseAPI {
|
|
|
270
270
|
* @param {*} [options] Override http request option.
|
|
271
271
|
* @throws {RequiredError}
|
|
272
272
|
*/
|
|
273
|
-
|
|
273
|
+
get9(planId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReorganizationPlanView, any, {}, any>>;
|
|
274
274
|
/**
|
|
275
275
|
* Get all messages in a conversation
|
|
276
276
|
* @summary Get conversation history
|
package/dist/api/aichat-api.js
CHANGED
|
@@ -176,9 +176,9 @@ const AIChatApiAxiosParamCreator = function (configuration) {
|
|
|
176
176
|
* @param {*} [options] Override http request option.
|
|
177
177
|
* @throws {RequiredError}
|
|
178
178
|
*/
|
|
179
|
-
|
|
179
|
+
get9: (planId_1, ...args_1) => __awaiter(this, [planId_1, ...args_1], void 0, function* (planId, options = {}) {
|
|
180
180
|
// verify required parameter 'planId' is not null or undefined
|
|
181
|
-
(0, common_1.assertParamExists)('
|
|
181
|
+
(0, common_1.assertParamExists)('get9', 'planId', planId);
|
|
182
182
|
const localVarPath = `/api/v1/ai/reorganization/{planId}`
|
|
183
183
|
.replace('{planId}', encodeURIComponent(String(planId)));
|
|
184
184
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -377,12 +377,12 @@ const AIChatApiFp = function (configuration) {
|
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
*/
|
|
380
|
-
|
|
380
|
+
get9(planId, options) {
|
|
381
381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
382
382
|
var _a, _b, _c;
|
|
383
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
383
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.get9(planId, options);
|
|
384
384
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
385
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIChatApi.
|
|
385
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIChatApi.get9']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
386
386
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
387
387
|
});
|
|
388
388
|
},
|
|
@@ -490,8 +490,8 @@ const AIChatApiFactory = function (configuration, basePath, axios) {
|
|
|
490
490
|
* @param {*} [options] Override http request option.
|
|
491
491
|
* @throws {RequiredError}
|
|
492
492
|
*/
|
|
493
|
-
|
|
494
|
-
return localVarFp.
|
|
493
|
+
get9(planId, options) {
|
|
494
|
+
return localVarFp.get9(planId, options).then((request) => request(axios, basePath));
|
|
495
495
|
},
|
|
496
496
|
/**
|
|
497
497
|
* Get all messages in a conversation
|
|
@@ -577,8 +577,8 @@ class AIChatApi extends base_1.BaseAPI {
|
|
|
577
577
|
* @param {*} [options] Override http request option.
|
|
578
578
|
* @throws {RequiredError}
|
|
579
579
|
*/
|
|
580
|
-
|
|
581
|
-
return (0, exports.AIChatApiFp)(this.configuration).
|
|
580
|
+
get9(planId, options) {
|
|
581
|
+
return (0, exports.AIChatApiFp)(this.configuration).get9(planId, options).then((request) => request(this.axios, this.basePath));
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
584
584
|
* Get all messages in a conversation
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { TeamOptionView } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* AIDirectoryApi - axios parameter creator
|
|
18
|
+
*/
|
|
19
|
+
export declare const AIDirectoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @summary The teams of the DMS database (the ids the AI features store)
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
teams: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* AIDirectoryApi - functional programming interface
|
|
30
|
+
*/
|
|
31
|
+
export declare const AIDirectoryApiFp: (configuration?: Configuration) => {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary The teams of the DMS database (the ids the AI features store)
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
teams(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TeamOptionView>>>;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* AIDirectoryApi - factory interface
|
|
42
|
+
*/
|
|
43
|
+
export declare const AIDirectoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @summary The teams of the DMS database (the ids the AI features store)
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
teams(options?: RawAxiosRequestConfig): AxiosPromise<Array<TeamOptionView>>;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* AIDirectoryApi - object-oriented interface
|
|
54
|
+
*/
|
|
55
|
+
export declare class AIDirectoryApi extends BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @summary The teams of the DMS database (the ids the AI features store)
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
teams(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamOptionView[], any, {}, any>>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.AIDirectoryApi = exports.AIDirectoryApiFactory = exports.AIDirectoryApiFp = exports.AIDirectoryApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* AIDirectoryApi - axios parameter creator
|
|
34
|
+
*/
|
|
35
|
+
const AIDirectoryApiAxiosParamCreator = function (configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary The teams of the DMS database (the ids the AI features store)
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
teams: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
|
+
const localVarPath = `/api/v1/admin/ai/directory/teams`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
57
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
58
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
return {
|
|
62
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
exports.AIDirectoryApiAxiosParamCreator = AIDirectoryApiAxiosParamCreator;
|
|
69
|
+
/**
|
|
70
|
+
* AIDirectoryApi - functional programming interface
|
|
71
|
+
*/
|
|
72
|
+
const AIDirectoryApiFp = function (configuration) {
|
|
73
|
+
const localVarAxiosParamCreator = (0, exports.AIDirectoryApiAxiosParamCreator)(configuration);
|
|
74
|
+
return {
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @summary The teams of the DMS database (the ids the AI features store)
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
*/
|
|
81
|
+
teams(options) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
var _a, _b, _c;
|
|
84
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.teams(options);
|
|
85
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
86
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIDirectoryApi.teams']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
87
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
88
|
+
});
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
exports.AIDirectoryApiFp = AIDirectoryApiFp;
|
|
93
|
+
/**
|
|
94
|
+
* AIDirectoryApi - factory interface
|
|
95
|
+
*/
|
|
96
|
+
const AIDirectoryApiFactory = function (configuration, basePath, axios) {
|
|
97
|
+
const localVarFp = (0, exports.AIDirectoryApiFp)(configuration);
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @summary The teams of the DMS database (the ids the AI features store)
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
teams(options) {
|
|
106
|
+
return localVarFp.teams(options).then((request) => request(axios, basePath));
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
exports.AIDirectoryApiFactory = AIDirectoryApiFactory;
|
|
111
|
+
/**
|
|
112
|
+
* AIDirectoryApi - object-oriented interface
|
|
113
|
+
*/
|
|
114
|
+
class AIDirectoryApi extends base_1.BaseAPI {
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @summary The teams of the DMS database (the ids the AI features store)
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
teams(options) {
|
|
122
|
+
return (0, exports.AIDirectoryApiFp)(this.configuration).teams(options).then((request) => request(this.axios, this.basePath));
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.AIDirectoryApi = AIDirectoryApi;
|
|
@@ -0,0 +1,271 @@
|
|
|
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 { FilingRuleEventView } from '../models';
|
|
16
|
+
import type { FilingRuleRequest } from '../models';
|
|
17
|
+
import type { FilingRuleTestRequest } from '../models';
|
|
18
|
+
import type { FilingRuleTestResult } from '../models';
|
|
19
|
+
import type { FilingRuleView } from '../models';
|
|
20
|
+
/**
|
|
21
|
+
* AIFilingRulesApi - axios parameter creator
|
|
22
|
+
*/
|
|
23
|
+
export declare const AIFilingRulesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
* 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.
|
|
26
|
+
* @summary Create a filing rule
|
|
27
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
create3: (filingRuleRequest: FilingRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Delete a filing rule (its events go with it)
|
|
35
|
+
* @param {string} id
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
delete2: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary What the rule did lately (MATCHED / DRY_RUN / SKIPPED), newest first
|
|
43
|
+
* @param {string} id
|
|
44
|
+
* @param {number} [limit]
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
events1: (id: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @summary One filing rule
|
|
52
|
+
* @param {string} id
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
get6: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @summary List the filing rules, by priority
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
list3: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
* 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.
|
|
66
|
+
* @summary Dry evaluation of the rule against an existing document
|
|
67
|
+
* @param {string} id
|
|
68
|
+
* @param {FilingRuleTestRequest} filingRuleTestRequest
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
test: (id: string, filingRuleTestRequest: FilingRuleTestRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary Replace a filing rule
|
|
76
|
+
* @param {string} id
|
|
77
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
*/
|
|
81
|
+
update3: (id: string, filingRuleRequest: FilingRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* AIFilingRulesApi - functional programming interface
|
|
85
|
+
*/
|
|
86
|
+
export declare const AIFilingRulesApiFp: (configuration?: Configuration) => {
|
|
87
|
+
/**
|
|
88
|
+
* 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.
|
|
89
|
+
* @summary Create a filing rule
|
|
90
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
create3(filingRuleRequest: FilingRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilingRuleView>>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Delete a filing rule (its events go with it)
|
|
98
|
+
* @param {string} id
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
delete2(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @summary What the rule did lately (MATCHED / DRY_RUN / SKIPPED), newest first
|
|
106
|
+
* @param {string} id
|
|
107
|
+
* @param {number} [limit]
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
events1(id: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FilingRuleEventView>>>;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @summary One filing rule
|
|
115
|
+
* @param {string} id
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
get6(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilingRuleView>>;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @summary List the filing rules, by priority
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
list3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FilingRuleView>>>;
|
|
127
|
+
/**
|
|
128
|
+
* 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.
|
|
129
|
+
* @summary Dry evaluation of the rule against an existing document
|
|
130
|
+
* @param {string} id
|
|
131
|
+
* @param {FilingRuleTestRequest} filingRuleTestRequest
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
test(id: string, filingRuleTestRequest: FilingRuleTestRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilingRuleTestResult>>;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @summary Replace a filing rule
|
|
139
|
+
* @param {string} id
|
|
140
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
update3(id: string, filingRuleRequest: FilingRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilingRuleView>>;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* AIFilingRulesApi - factory interface
|
|
148
|
+
*/
|
|
149
|
+
export declare const AIFilingRulesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
150
|
+
/**
|
|
151
|
+
* 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.
|
|
152
|
+
* @summary Create a filing rule
|
|
153
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
create3(filingRuleRequest: FilingRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<FilingRuleView>;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @summary Delete a filing rule (its events go with it)
|
|
161
|
+
* @param {string} id
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
delete2(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @summary What the rule did lately (MATCHED / DRY_RUN / SKIPPED), newest first
|
|
169
|
+
* @param {string} id
|
|
170
|
+
* @param {number} [limit]
|
|
171
|
+
* @param {*} [options] Override http request option.
|
|
172
|
+
* @throws {RequiredError}
|
|
173
|
+
*/
|
|
174
|
+
events1(id: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<FilingRuleEventView>>;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @summary One filing rule
|
|
178
|
+
* @param {string} id
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
get6(id: string, options?: RawAxiosRequestConfig): AxiosPromise<FilingRuleView>;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @summary List the filing rules, by priority
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
*/
|
|
189
|
+
list3(options?: RawAxiosRequestConfig): AxiosPromise<Array<FilingRuleView>>;
|
|
190
|
+
/**
|
|
191
|
+
* 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.
|
|
192
|
+
* @summary Dry evaluation of the rule against an existing document
|
|
193
|
+
* @param {string} id
|
|
194
|
+
* @param {FilingRuleTestRequest} filingRuleTestRequest
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
test(id: string, filingRuleTestRequest: FilingRuleTestRequest, options?: RawAxiosRequestConfig): AxiosPromise<FilingRuleTestResult>;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @summary Replace a filing rule
|
|
202
|
+
* @param {string} id
|
|
203
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
*/
|
|
207
|
+
update3(id: string, filingRuleRequest: FilingRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<FilingRuleView>;
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* AIFilingRulesApi - object-oriented interface
|
|
211
|
+
*/
|
|
212
|
+
export declare class AIFilingRulesApi extends BaseAPI {
|
|
213
|
+
/**
|
|
214
|
+
* 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.
|
|
215
|
+
* @summary Create a filing rule
|
|
216
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
create3(filingRuleRequest: FilingRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FilingRuleView, any, {}, any>>;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @summary Delete a filing rule (its events go with it)
|
|
224
|
+
* @param {string} id
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
*/
|
|
228
|
+
delete2(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @summary What the rule did lately (MATCHED / DRY_RUN / SKIPPED), newest first
|
|
232
|
+
* @param {string} id
|
|
233
|
+
* @param {number} [limit]
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
events1(id: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FilingRuleEventView[], any, {}, any>>;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @summary One filing rule
|
|
241
|
+
* @param {string} id
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
get6(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FilingRuleView, any, {}, any>>;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary List the filing rules, by priority
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
list3(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FilingRuleView[], any, {}, any>>;
|
|
253
|
+
/**
|
|
254
|
+
* 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.
|
|
255
|
+
* @summary Dry evaluation of the rule against an existing document
|
|
256
|
+
* @param {string} id
|
|
257
|
+
* @param {FilingRuleTestRequest} filingRuleTestRequest
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
test(id: string, filingRuleTestRequest: FilingRuleTestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FilingRuleTestResult, any, {}, any>>;
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @summary Replace a filing rule
|
|
265
|
+
* @param {string} id
|
|
266
|
+
* @param {FilingRuleRequest} filingRuleRequest
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
update3(id: string, filingRuleRequest: FilingRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FilingRuleView, any, {}, any>>;
|
|
271
|
+
}
|