@openfilz-sdk/typescript-ee 1.9.10 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +84 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +77 -5
- package/api/ai-analytics-admin-controller-api.ts +137 -0
- package/api/ai-archiving-admin-controller-api.ts +568 -0
- package/api/ai-cloud-usage-admin-controller-api.ts +121 -0
- package/api/aichat-api.ts +9 -9
- package/api/aidirectory-api.ts +121 -0
- package/api/aifiling-rules-api.ts +585 -0
- package/api/aigovernance-api.ts +194 -0
- package/api/aitaxonomy-api.ts +345 -0
- package/api/aiteam-inboxes-api.ts +491 -0
- package/api/archive-controller-api.ts +440 -0
- package/api/collaboration-audit-controller-api.ts +67 -0
- package/api/document-controller-api.ts +74 -0
- package/api/document-insights-api.ts +71 -4
- package/api/esign-api.ts +9 -9
- package/api/esign-enterprise-api.ts +9 -9
- package/api/settings-api.ts +18 -11
- package/api/smart-filing-api.ts +148 -0
- package/api.ts +9 -0
- package/dist/api/ai-analytics-admin-controller-api.d.ts +71 -0
- package/dist/api/ai-analytics-admin-controller-api.js +139 -0
- package/dist/api/ai-archiving-admin-controller-api.d.ts +262 -0
- package/dist/api/ai-archiving-admin-controller-api.js +548 -0
- package/dist/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
- package/dist/api/ai-cloud-usage-admin-controller-api.js +125 -0
- package/dist/api/aichat-api.d.ts +4 -4
- package/dist/api/aichat-api.js +9 -9
- package/dist/api/aidirectory-api.d.ts +63 -0
- package/dist/api/aidirectory-api.js +125 -0
- package/dist/api/aifiling-rules-api.d.ts +271 -0
- package/dist/api/aifiling-rules-api.js +562 -0
- package/dist/api/aigovernance-api.d.ts +95 -0
- package/dist/api/aigovernance-api.js +195 -0
- package/dist/api/aitaxonomy-api.d.ts +162 -0
- package/dist/api/aitaxonomy-api.js +334 -0
- package/dist/api/aiteam-inboxes-api.d.ts +228 -0
- package/dist/api/aiteam-inboxes-api.js +478 -0
- package/dist/api/archive-controller-api.d.ts +239 -0
- package/dist/api/archive-controller-api.js +430 -0
- package/dist/api/collaboration-audit-controller-api.d.ts +29 -0
- package/dist/api/collaboration-audit-controller-api.js +62 -0
- package/dist/api/document-controller-api.d.ts +33 -0
- package/dist/api/document-controller-api.js +69 -0
- package/dist/api/document-insights-api.d.ts +33 -4
- package/dist/api/document-insights-api.js +66 -4
- package/dist/api/esign-api.d.ts +4 -4
- package/dist/api/esign-api.js +9 -9
- package/dist/api/esign-enterprise-api.d.ts +4 -4
- package/dist/api/esign-enterprise-api.js +9 -9
- package/dist/api/settings-api.d.ts +12 -8
- package/dist/api/settings-api.js +18 -11
- package/dist/api/smart-filing-api.d.ts +66 -0
- package/dist/api/smart-filing-api.js +138 -0
- package/dist/api.d.ts +9 -0
- package/dist/api.js +9 -0
- package/dist/esm/api/ai-analytics-admin-controller-api.d.ts +71 -0
- package/dist/esm/api/ai-analytics-admin-controller-api.js +132 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +262 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.js +541 -0
- package/dist/esm/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
- package/dist/esm/api/ai-cloud-usage-admin-controller-api.js +118 -0
- package/dist/esm/api/aichat-api.d.ts +4 -4
- package/dist/esm/api/aichat-api.js +9 -9
- package/dist/esm/api/aidirectory-api.d.ts +63 -0
- package/dist/esm/api/aidirectory-api.js +118 -0
- package/dist/esm/api/aifiling-rules-api.d.ts +271 -0
- package/dist/esm/api/aifiling-rules-api.js +555 -0
- package/dist/esm/api/aigovernance-api.d.ts +95 -0
- package/dist/esm/api/aigovernance-api.js +188 -0
- package/dist/esm/api/aitaxonomy-api.d.ts +162 -0
- package/dist/esm/api/aitaxonomy-api.js +327 -0
- package/dist/esm/api/aiteam-inboxes-api.d.ts +228 -0
- package/dist/esm/api/aiteam-inboxes-api.js +471 -0
- package/dist/esm/api/archive-controller-api.d.ts +239 -0
- package/dist/esm/api/archive-controller-api.js +423 -0
- package/dist/esm/api/collaboration-audit-controller-api.d.ts +29 -0
- package/dist/esm/api/collaboration-audit-controller-api.js +62 -0
- package/dist/esm/api/document-controller-api.d.ts +33 -0
- package/dist/esm/api/document-controller-api.js +69 -0
- package/dist/esm/api/document-insights-api.d.ts +33 -4
- package/dist/esm/api/document-insights-api.js +66 -4
- package/dist/esm/api/esign-api.d.ts +4 -4
- package/dist/esm/api/esign-api.js +9 -9
- package/dist/esm/api/esign-enterprise-api.d.ts +4 -4
- package/dist/esm/api/esign-enterprise-api.js +9 -9
- package/dist/esm/api/settings-api.d.ts +12 -8
- package/dist/esm/api/settings-api.js +18 -11
- package/dist/esm/api/smart-filing-api.d.ts +66 -0
- package/dist/esm/api/smart-filing-api.js +138 -0
- package/dist/esm/api.d.ts +9 -0
- package/dist/esm/api.js +9 -0
- package/dist/esm/models/ai-analytics-view.d.ts +25 -0
- package/dist/esm/models/ai-analytics-view.js +14 -0
- package/dist/esm/models/ai-cloud-usage-view.d.ts +33 -0
- package/dist/esm/models/ai-cloud-usage-view.js +19 -0
- package/dist/esm/models/ai-governance-settings.d.ts +22 -0
- package/dist/esm/models/ai-governance-settings.js +14 -0
- package/dist/esm/models/ai-preferences-view.d.ts +3 -0
- package/dist/esm/models/ai-taxonomy-category.d.ts +19 -0
- package/dist/esm/models/ai-taxonomy-category.js +14 -0
- package/dist/esm/models/ai-taxonomy-rename-request.d.ts +16 -0
- package/dist/esm/models/ai-taxonomy-rename-request.js +14 -0
- package/dist/esm/models/ai-taxonomy-rename-result.d.ts +17 -0
- package/dist/esm/models/ai-taxonomy-rename-result.js +14 -0
- package/dist/esm/models/ai-taxonomy-view.d.ts +16 -0
- package/dist/esm/models/ai-taxonomy-view.js +14 -0
- package/dist/esm/models/archive-preflight.d.ts +38 -0
- package/dist/esm/models/archive-preflight.js +14 -0
- package/dist/esm/models/archiving-proposal-request.d.ts +19 -0
- package/dist/esm/models/archiving-proposal-request.js +14 -0
- package/dist/esm/models/archiving-proposal-result.d.ts +19 -0
- package/dist/esm/models/archiving-proposal-result.js +14 -0
- package/dist/esm/models/archiving-schedule-request.d.ts +22 -0
- package/dist/esm/models/archiving-schedule-request.js +14 -0
- package/dist/esm/models/archiving-schedule-view.d.ts +29 -0
- package/dist/esm/models/archiving-schedule-view.js +14 -0
- package/dist/esm/models/audit-integrity-status-response.d.ts +37 -0
- package/dist/esm/models/audit-integrity-status-response.js +14 -0
- package/dist/esm/models/auto-file-inbox-request.d.ts +14 -0
- package/dist/esm/models/auto-file-inbox-request.js +14 -0
- package/dist/esm/models/auto-file-jobs-request.d.ts +14 -0
- package/dist/esm/models/auto-file-jobs-request.js +14 -0
- package/dist/esm/models/consume-delegated-grant-request.d.ts +1 -1
- package/dist/esm/models/corrections.d.ts +16 -0
- package/dist/esm/models/corrections.js +14 -0
- package/dist/esm/models/create-delegated-grant-request.d.ts +2 -1
- package/dist/esm/models/create-delegated-grant-request.js +1 -0
- package/dist/esm/models/day-count.d.ts +16 -0
- package/dist/esm/models/day-count.js +14 -0
- package/dist/esm/models/delegated-grant-dto.d.ts +1 -0
- package/dist/esm/models/delegated-grant-dto.js +1 -0
- package/dist/esm/models/document-integrity-record.d.ts +23 -0
- package/dist/esm/models/document-integrity-record.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +3 -0
- package/dist/esm/models/enriched-audit-log.js +3 -0
- package/dist/esm/models/facet.d.ts +15 -0
- package/dist/esm/models/facet.js +14 -0
- package/dist/esm/models/filing-rule-event-view.d.ts +19 -0
- package/dist/esm/models/filing-rule-event-view.js +14 -0
- package/dist/esm/models/filing-rule-request.d.ts +47 -0
- package/dist/esm/models/filing-rule-request.js +14 -0
- package/dist/esm/models/filing-rule-test-request.d.ts +14 -0
- package/dist/esm/models/filing-rule-test-request.js +14 -0
- package/dist/esm/models/filing-rule-test-result.d.ts +22 -0
- package/dist/esm/models/filing-rule-test-result.js +14 -0
- package/dist/esm/models/filing-rule-view.d.ts +30 -0
- package/dist/esm/models/filing-rule-view.js +14 -0
- package/dist/esm/models/filing.d.ts +24 -0
- package/dist/esm/models/filing.js +14 -0
- package/dist/esm/models/foreign-item.d.ts +19 -0
- package/dist/esm/models/foreign-item.js +14 -0
- package/dist/esm/models/index.d.ts +33 -0
- package/dist/esm/models/index.js +33 -0
- package/dist/esm/models/insight-facets.d.ts +16 -0
- package/dist/esm/models/insight-facets.js +14 -0
- package/dist/esm/models/insights.d.ts +21 -0
- package/dist/esm/models/insights.js +14 -0
- package/dist/esm/models/key-count.d.ts +15 -0
- package/dist/esm/models/key-count.js +14 -0
- package/dist/esm/models/save-ai-preferences-request.d.ts +1 -0
- package/dist/esm/models/scan-request-dto.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.js +3 -0
- package/dist/esm/models/settings.d.ts +1 -0
- package/dist/esm/models/team-inbox-request.d.ts +24 -0
- package/dist/esm/models/team-inbox-request.js +14 -0
- package/dist/esm/models/team-inbox-view.d.ts +31 -0
- package/dist/esm/models/team-inbox-view.js +14 -0
- package/dist/esm/models/team-option-view.d.ts +25 -0
- package/dist/esm/models/team-option-view.js +14 -0
- package/dist/esm/models/untouched.d.ts +16 -0
- package/dist/esm/models/untouched.js +14 -0
- package/dist/models/ai-analytics-view.d.ts +25 -0
- package/dist/models/ai-analytics-view.js +15 -0
- package/dist/models/ai-cloud-usage-view.d.ts +33 -0
- package/dist/models/ai-cloud-usage-view.js +22 -0
- package/dist/models/ai-governance-settings.d.ts +22 -0
- package/dist/models/ai-governance-settings.js +15 -0
- package/dist/models/ai-preferences-view.d.ts +3 -0
- package/dist/models/ai-taxonomy-category.d.ts +19 -0
- package/dist/models/ai-taxonomy-category.js +15 -0
- package/dist/models/ai-taxonomy-rename-request.d.ts +16 -0
- package/dist/models/ai-taxonomy-rename-request.js +15 -0
- package/dist/models/ai-taxonomy-rename-result.d.ts +17 -0
- package/dist/models/ai-taxonomy-rename-result.js +15 -0
- package/dist/models/ai-taxonomy-view.d.ts +16 -0
- package/dist/models/ai-taxonomy-view.js +15 -0
- package/dist/models/archive-preflight.d.ts +38 -0
- package/dist/models/archive-preflight.js +15 -0
- package/dist/models/archiving-proposal-request.d.ts +19 -0
- package/dist/models/archiving-proposal-request.js +15 -0
- package/dist/models/archiving-proposal-result.d.ts +19 -0
- package/dist/models/archiving-proposal-result.js +15 -0
- package/dist/models/archiving-schedule-request.d.ts +22 -0
- package/dist/models/archiving-schedule-request.js +15 -0
- package/dist/models/archiving-schedule-view.d.ts +29 -0
- package/dist/models/archiving-schedule-view.js +15 -0
- package/dist/models/audit-integrity-status-response.d.ts +37 -0
- package/dist/models/audit-integrity-status-response.js +15 -0
- package/dist/models/auto-file-inbox-request.d.ts +14 -0
- package/dist/models/auto-file-inbox-request.js +15 -0
- package/dist/models/auto-file-jobs-request.d.ts +14 -0
- package/dist/models/auto-file-jobs-request.js +15 -0
- package/dist/models/consume-delegated-grant-request.d.ts +1 -1
- package/dist/models/corrections.d.ts +16 -0
- package/dist/models/corrections.js +15 -0
- package/dist/models/create-delegated-grant-request.d.ts +2 -1
- package/dist/models/create-delegated-grant-request.js +1 -0
- package/dist/models/day-count.d.ts +16 -0
- package/dist/models/day-count.js +15 -0
- package/dist/models/delegated-grant-dto.d.ts +1 -0
- package/dist/models/delegated-grant-dto.js +1 -0
- package/dist/models/document-integrity-record.d.ts +23 -0
- package/dist/models/document-integrity-record.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +3 -0
- package/dist/models/enriched-audit-log.js +3 -0
- package/dist/models/facet.d.ts +15 -0
- package/dist/models/facet.js +15 -0
- package/dist/models/filing-rule-event-view.d.ts +19 -0
- package/dist/models/filing-rule-event-view.js +15 -0
- package/dist/models/filing-rule-request.d.ts +47 -0
- package/dist/models/filing-rule-request.js +15 -0
- package/dist/models/filing-rule-test-request.d.ts +14 -0
- package/dist/models/filing-rule-test-request.js +15 -0
- package/dist/models/filing-rule-test-result.d.ts +22 -0
- package/dist/models/filing-rule-test-result.js +15 -0
- package/dist/models/filing-rule-view.d.ts +30 -0
- package/dist/models/filing-rule-view.js +15 -0
- package/dist/models/filing.d.ts +24 -0
- package/dist/models/filing.js +15 -0
- package/dist/models/foreign-item.d.ts +19 -0
- package/dist/models/foreign-item.js +15 -0
- package/dist/models/index.d.ts +33 -0
- package/dist/models/index.js +33 -0
- package/dist/models/insight-facets.d.ts +16 -0
- package/dist/models/insight-facets.js +15 -0
- package/dist/models/insights.d.ts +21 -0
- package/dist/models/insights.js +15 -0
- package/dist/models/key-count.d.ts +15 -0
- package/dist/models/key-count.js +15 -0
- package/dist/models/save-ai-preferences-request.d.ts +1 -0
- package/dist/models/scan-request-dto.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.js +3 -0
- package/dist/models/settings.d.ts +1 -0
- package/dist/models/team-inbox-request.d.ts +24 -0
- package/dist/models/team-inbox-request.js +15 -0
- package/dist/models/team-inbox-view.d.ts +31 -0
- package/dist/models/team-inbox-view.js +15 -0
- package/dist/models/team-option-view.d.ts +25 -0
- package/dist/models/team-option-view.js +15 -0
- package/dist/models/untouched.d.ts +16 -0
- package/dist/models/untouched.js +15 -0
- package/docs/AIChatApi.md +4 -4
- package/docs/AIDirectoryApi.md +51 -0
- package/docs/AIFilingRulesApi.md +371 -0
- package/docs/AIGovernanceApi.md +104 -0
- package/docs/AITaxonomyApi.md +204 -0
- package/docs/AITeamInboxesApi.md +313 -0
- package/docs/AiAnalyticsAdminControllerApi.md +62 -0
- package/docs/AiAnalyticsView.md +32 -0
- package/docs/AiArchivingAdminControllerApi.md +365 -0
- package/docs/AiCloudUsageAdminControllerApi.md +52 -0
- package/docs/AiCloudUsageView.md +44 -0
- package/docs/AiGovernanceSettings.md +36 -0
- package/docs/AiPreferencesView.md +6 -0
- package/docs/AiTaxonomyCategory.md +30 -0
- package/docs/AiTaxonomyRenameRequest.md +24 -0
- package/docs/AiTaxonomyRenameResult.md +26 -0
- package/docs/AiTaxonomyView.md +22 -0
- package/docs/ArchiveControllerApi.md +276 -0
- package/docs/ArchivePreflight.md +29 -0
- package/docs/ArchivingProposalRequest.md +30 -0
- package/docs/ArchivingProposalResult.md +30 -0
- package/docs/ArchivingScheduleRequest.md +36 -0
- package/docs/ArchivingScheduleView.md +50 -0
- package/docs/AuditIntegrityStatusResponse.md +29 -0
- package/docs/AutoFileInboxRequest.md +20 -0
- package/docs/AutoFileJobsRequest.md +20 -0
- package/docs/CollaborationAuditControllerApi.md +45 -0
- package/docs/ConsumeDelegatedGrantRequest.md +1 -1
- package/docs/Corrections.md +24 -0
- package/docs/CreateDelegatedGrantRequest.md +1 -1
- package/docs/DayCount.md +24 -0
- package/docs/DocumentControllerApi.md +52 -0
- package/docs/DocumentInsightsApi.md +46 -1
- package/docs/DocumentIntegrityRecord.md +33 -0
- package/docs/ESignApi.md +4 -4
- package/docs/ESignEnterpriseApi.md +4 -4
- package/docs/Facet.md +22 -0
- package/docs/Filing.md +32 -0
- package/docs/FilingRuleEventView.md +30 -0
- package/docs/FilingRuleRequest.md +44 -0
- package/docs/FilingRuleTestRequest.md +20 -0
- package/docs/FilingRuleTestResult.md +36 -0
- package/docs/FilingRuleView.md +52 -0
- package/docs/ForeignItem.md +25 -0
- package/docs/InsightFacets.md +22 -0
- package/docs/Insights.md +34 -0
- package/docs/KeyCount.md +22 -0
- package/docs/SaveAiPreferencesRequest.md +2 -0
- package/docs/ScanRequestDto.md +6 -0
- package/docs/Settings.md +2 -0
- package/docs/SettingsApi.md +5 -2
- package/docs/SmartFilingApi.md +106 -0
- package/docs/TeamInboxRequest.md +34 -0
- package/docs/TeamInboxView.md +54 -0
- package/docs/TeamOptionView.md +24 -0
- package/docs/Untouched.md +24 -0
- package/graphql/document-search.graphqls +4 -0
- package/graphql/document.graphqls +4 -0
- package/models/ai-analytics-view.ts +41 -0
- package/models/ai-cloud-usage-view.ts +42 -0
- package/models/ai-governance-settings.ts +28 -0
- package/models/ai-preferences-view.ts +3 -0
- package/models/ai-taxonomy-category.ts +25 -0
- package/models/ai-taxonomy-rename-request.ts +22 -0
- package/models/ai-taxonomy-rename-result.ts +23 -0
- package/models/ai-taxonomy-view.ts +24 -0
- package/models/archive-preflight.ts +48 -0
- package/models/archiving-proposal-request.ts +25 -0
- package/models/archiving-proposal-result.ts +25 -0
- package/models/archiving-schedule-request.ts +28 -0
- package/models/archiving-schedule-view.ts +35 -0
- package/models/audit-integrity-status-response.ts +45 -0
- package/models/auto-file-inbox-request.ts +20 -0
- package/models/auto-file-jobs-request.ts +20 -0
- package/models/consume-delegated-grant-request.ts +1 -1
- package/models/corrections.ts +22 -0
- package/models/create-delegated-grant-request.ts +2 -1
- package/models/day-count.ts +22 -0
- package/models/delegated-grant-dto.ts +1 -0
- package/models/document-integrity-record.ts +29 -0
- package/models/enriched-audit-log.ts +3 -0
- package/models/facet.ts +21 -0
- package/models/filing-rule-event-view.ts +25 -0
- package/models/filing-rule-request.ts +53 -0
- package/models/filing-rule-test-request.ts +20 -0
- package/models/filing-rule-test-result.ts +28 -0
- package/models/filing-rule-view.ts +36 -0
- package/models/filing.ts +32 -0
- package/models/foreign-item.ts +25 -0
- package/models/index.ts +33 -0
- package/models/insight-facets.ts +24 -0
- package/models/insights.ts +27 -0
- package/models/key-count.ts +21 -0
- package/models/save-ai-preferences-request.ts +1 -0
- package/models/scan-request-dto.ts +3 -0
- package/models/search-by-audit-log-request.ts +3 -0
- package/models/settings.ts +1 -0
- package/models/team-inbox-request.ts +30 -0
- package/models/team-inbox-view.ts +37 -0
- package/models/team-option-view.ts +31 -0
- package/models/untouched.ts +22 -0
- package/package.json +1 -1
|
@@ -29,6 +29,8 @@ import type { InsightBackfillRequest } from '../models';
|
|
|
29
29
|
import type { InsightBackfillStatus } from '../models';
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import type { InsightCategoryUpdate } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { InsightFacets } from '../models';
|
|
32
34
|
/**
|
|
33
35
|
* DocumentInsightsApi - axios parameter creator
|
|
34
36
|
*/
|
|
@@ -109,6 +111,40 @@ export const DocumentInsightsApiAxiosParamCreator = function (configuration?: Co
|
|
|
109
111
|
options: localVarRequestOptions,
|
|
110
112
|
};
|
|
111
113
|
},
|
|
114
|
+
/**
|
|
115
|
+
* How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
|
|
116
|
+
* @summary The category and language facets of the library
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
facets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
121
|
+
const localVarPath = `/api/v1/ai/insights/facets`;
|
|
122
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
123
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
124
|
+
let baseOptions;
|
|
125
|
+
if (configuration) {
|
|
126
|
+
baseOptions = configuration.baseOptions;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
130
|
+
const localVarHeaderParameter = {} as any;
|
|
131
|
+
const localVarQueryParameter = {} as any;
|
|
132
|
+
|
|
133
|
+
// authentication keycloak_auth required
|
|
134
|
+
// http bearer authentication required
|
|
135
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
136
|
+
|
|
137
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
138
|
+
|
|
139
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
142
|
+
|
|
143
|
+
return {
|
|
144
|
+
url: toPathString(localVarUrlObj),
|
|
145
|
+
options: localVarRequestOptions,
|
|
146
|
+
};
|
|
147
|
+
},
|
|
112
148
|
/**
|
|
113
149
|
* Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
|
|
114
150
|
* @summary Get the insights of a document
|
|
@@ -148,7 +184,7 @@ export const DocumentInsightsApiAxiosParamCreator = function (configuration?: Co
|
|
|
148
184
|
};
|
|
149
185
|
},
|
|
150
186
|
/**
|
|
151
|
-
* Sets the tier-2 category to one of the deployment\'s
|
|
187
|
+
* Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
|
|
152
188
|
* @summary Correct the kind of a document
|
|
153
189
|
* @param {string} documentId
|
|
154
190
|
* @param {InsightCategoryUpdate} insightCategoryUpdate
|
|
@@ -225,6 +261,18 @@ export const DocumentInsightsApiFp = function(configuration?: Configuration) {
|
|
|
225
261
|
const localVarOperationServerBasePath = operationServerMap['DocumentInsightsApi.backfillStatus']?.[localVarOperationServerIndex]?.url;
|
|
226
262
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
227
263
|
},
|
|
264
|
+
/**
|
|
265
|
+
* How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
|
|
266
|
+
* @summary The category and language facets of the library
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
async facets(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InsightFacets>> {
|
|
271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.facets(options);
|
|
272
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
273
|
+
const localVarOperationServerBasePath = operationServerMap['DocumentInsightsApi.facets']?.[localVarOperationServerIndex]?.url;
|
|
274
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
275
|
+
},
|
|
228
276
|
/**
|
|
229
277
|
* Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
|
|
230
278
|
* @summary Get the insights of a document
|
|
@@ -239,7 +287,7 @@ export const DocumentInsightsApiFp = function(configuration?: Configuration) {
|
|
|
239
287
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
240
288
|
},
|
|
241
289
|
/**
|
|
242
|
-
* Sets the tier-2 category to one of the deployment\'s
|
|
290
|
+
* Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
|
|
243
291
|
* @summary Correct the kind of a document
|
|
244
292
|
* @param {string} documentId
|
|
245
293
|
* @param {InsightCategoryUpdate} insightCategoryUpdate
|
|
@@ -281,6 +329,15 @@ export const DocumentInsightsApiFactory = function (configuration?: Configuratio
|
|
|
281
329
|
backfillStatus(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<InsightBackfillStatus> {
|
|
282
330
|
return localVarFp.backfillStatus(jobId, options).then((request) => request(axios, basePath));
|
|
283
331
|
},
|
|
332
|
+
/**
|
|
333
|
+
* How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
|
|
334
|
+
* @summary The category and language facets of the library
|
|
335
|
+
* @param {*} [options] Override http request option.
|
|
336
|
+
* @throws {RequiredError}
|
|
337
|
+
*/
|
|
338
|
+
facets(options?: RawAxiosRequestConfig): AxiosPromise<InsightFacets> {
|
|
339
|
+
return localVarFp.facets(options).then((request) => request(axios, basePath));
|
|
340
|
+
},
|
|
284
341
|
/**
|
|
285
342
|
* Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
|
|
286
343
|
* @summary Get the insights of a document
|
|
@@ -292,7 +349,7 @@ export const DocumentInsightsApiFactory = function (configuration?: Configuratio
|
|
|
292
349
|
return localVarFp.getInsights(documentId, options).then((request) => request(axios, basePath));
|
|
293
350
|
},
|
|
294
351
|
/**
|
|
295
|
-
* Sets the tier-2 category to one of the deployment\'s
|
|
352
|
+
* Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
|
|
296
353
|
* @summary Correct the kind of a document
|
|
297
354
|
* @param {string} documentId
|
|
298
355
|
* @param {InsightCategoryUpdate} insightCategoryUpdate
|
|
@@ -331,6 +388,16 @@ export class DocumentInsightsApi extends BaseAPI {
|
|
|
331
388
|
return DocumentInsightsApiFp(this.configuration).backfillStatus(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
332
389
|
}
|
|
333
390
|
|
|
391
|
+
/**
|
|
392
|
+
* How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
|
|
393
|
+
* @summary The category and language facets of the library
|
|
394
|
+
* @param {*} [options] Override http request option.
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
public facets(options?: RawAxiosRequestConfig) {
|
|
398
|
+
return DocumentInsightsApiFp(this.configuration).facets(options).then((request) => request(this.axios, this.basePath));
|
|
399
|
+
}
|
|
400
|
+
|
|
334
401
|
/**
|
|
335
402
|
* Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
|
|
336
403
|
* @summary Get the insights of a document
|
|
@@ -343,7 +410,7 @@ export class DocumentInsightsApi extends BaseAPI {
|
|
|
343
410
|
}
|
|
344
411
|
|
|
345
412
|
/**
|
|
346
|
-
* Sets the tier-2 category to one of the deployment\'s
|
|
413
|
+
* Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
|
|
347
414
|
* @summary Correct the kind of a document
|
|
348
415
|
* @param {string} documentId
|
|
349
416
|
* @param {InsightCategoryUpdate} insightCategoryUpdate
|
package/api/esign-api.ts
CHANGED
|
@@ -190,9 +190,9 @@ export const ESignApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
191
|
* @throws {RequiredError}
|
|
192
192
|
*/
|
|
193
|
-
|
|
193
|
+
get8: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
194
|
// verify required parameter 'id' is not null or undefined
|
|
195
|
-
assertParamExists('
|
|
195
|
+
assertParamExists('get8', 'id', id)
|
|
196
196
|
const localVarPath = `/api/v1/signatures/{id}`
|
|
197
197
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
198
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -479,10 +479,10 @@ export const ESignApiFp = function(configuration?: Configuration) {
|
|
|
479
479
|
* @param {*} [options] Override http request option.
|
|
480
480
|
* @throws {RequiredError}
|
|
481
481
|
*/
|
|
482
|
-
async
|
|
483
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
482
|
+
async get8(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>> {
|
|
483
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.get8(id, options);
|
|
484
484
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
485
|
-
const localVarOperationServerBasePath = operationServerMap['ESignApi.
|
|
485
|
+
const localVarOperationServerBasePath = operationServerMap['ESignApi.get8']?.[localVarOperationServerIndex]?.url;
|
|
486
486
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
487
487
|
},
|
|
488
488
|
/**
|
|
@@ -605,8 +605,8 @@ export const ESignApiFactory = function (configuration?: Configuration, basePath
|
|
|
605
605
|
* @param {*} [options] Override http request option.
|
|
606
606
|
* @throws {RequiredError}
|
|
607
607
|
*/
|
|
608
|
-
|
|
609
|
-
return localVarFp.
|
|
608
|
+
get8(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO> {
|
|
609
|
+
return localVarFp.get8(id, options).then((request) => request(axios, basePath));
|
|
610
610
|
},
|
|
611
611
|
/**
|
|
612
612
|
*
|
|
@@ -715,8 +715,8 @@ export class ESignApi extends BaseAPI {
|
|
|
715
715
|
* @param {*} [options] Override http request option.
|
|
716
716
|
* @throws {RequiredError}
|
|
717
717
|
*/
|
|
718
|
-
public
|
|
719
|
-
return ESignApiFp(this.configuration).
|
|
718
|
+
public get8(id: string, options?: RawAxiosRequestConfig) {
|
|
719
|
+
return ESignApiFp(this.configuration).get8(id, options).then((request) => request(this.axios, this.basePath));
|
|
720
720
|
}
|
|
721
721
|
|
|
722
722
|
/**
|
|
@@ -41,9 +41,9 @@ export const ESignEnterpriseApiAxiosParamCreator = function (configuration?: Con
|
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
archive1: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
45
|
// verify required parameter 'id' is not null or undefined
|
|
46
|
-
assertParamExists('
|
|
46
|
+
assertParamExists('archive1', 'id', id)
|
|
47
47
|
const localVarPath = `/api/v1/signatures/{id}/archive`
|
|
48
48
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
49
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -169,10 +169,10 @@ export const ESignEnterpriseApiFp = function(configuration?: Configuration) {
|
|
|
169
169
|
* @param {*} [options] Override http request option.
|
|
170
170
|
* @throws {RequiredError}
|
|
171
171
|
*/
|
|
172
|
-
async
|
|
173
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
172
|
+
async archive1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureArchiveDTO>> {
|
|
173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.archive1(id, options);
|
|
174
174
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
175
|
-
const localVarOperationServerBasePath = operationServerMap['ESignEnterpriseApi.
|
|
175
|
+
const localVarOperationServerBasePath = operationServerMap['ESignEnterpriseApi.archive1']?.[localVarOperationServerIndex]?.url;
|
|
176
176
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
177
177
|
},
|
|
178
178
|
/**
|
|
@@ -218,8 +218,8 @@ export const ESignEnterpriseApiFactory = function (configuration?: Configuration
|
|
|
218
218
|
* @param {*} [options] Override http request option.
|
|
219
219
|
* @throws {RequiredError}
|
|
220
220
|
*/
|
|
221
|
-
|
|
222
|
-
return localVarFp.
|
|
221
|
+
archive1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureArchiveDTO> {
|
|
222
|
+
return localVarFp.archive1(id, options).then((request) => request(axios, basePath));
|
|
223
223
|
},
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
@@ -256,8 +256,8 @@ export class ESignEnterpriseApi extends BaseAPI {
|
|
|
256
256
|
* @param {*} [options] Override http request option.
|
|
257
257
|
* @throws {RequiredError}
|
|
258
258
|
*/
|
|
259
|
-
public
|
|
260
|
-
return ESignEnterpriseApiFp(this.configuration).
|
|
259
|
+
public archive1(id: string, options?: RawAxiosRequestConfig) {
|
|
260
|
+
return ESignEnterpriseApiFp(this.configuration).archive1(id, options).then((request) => request(this.axios, this.basePath));
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
/**
|
package/api/settings-api.ts
CHANGED
|
@@ -139,13 +139,14 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
139
139
|
};
|
|
140
140
|
},
|
|
141
141
|
/**
|
|
142
|
-
* A null field leaves the current value unchanged.
|
|
142
|
+
* A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
|
|
143
143
|
* @summary Save the caller\'s smart-filing preferences
|
|
144
144
|
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
145
|
+
* @param {string} [acceptLanguage]
|
|
145
146
|
* @param {*} [options] Override http request option.
|
|
146
147
|
* @throws {RequiredError}
|
|
147
148
|
*/
|
|
148
|
-
save: async (saveAiPreferencesRequest: SaveAiPreferencesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
149
|
+
save: async (saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
149
150
|
// verify required parameter 'saveAiPreferencesRequest' is not null or undefined
|
|
150
151
|
assertParamExists('save', 'saveAiPreferencesRequest', saveAiPreferencesRequest)
|
|
151
152
|
const localVarPath = `/api/v1/settings/ai/preferences`;
|
|
@@ -167,6 +168,9 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
167
168
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
168
169
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
169
170
|
|
|
171
|
+
if (acceptLanguage != null) {
|
|
172
|
+
localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
|
|
173
|
+
}
|
|
170
174
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
171
175
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
172
176
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -262,14 +266,15 @@ export const SettingsApiFp = function(configuration?: Configuration) {
|
|
|
262
266
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
263
267
|
},
|
|
264
268
|
/**
|
|
265
|
-
* A null field leaves the current value unchanged.
|
|
269
|
+
* A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
|
|
266
270
|
* @summary Save the caller\'s smart-filing preferences
|
|
267
271
|
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
272
|
+
* @param {string} [acceptLanguage]
|
|
268
273
|
* @param {*} [options] Override http request option.
|
|
269
274
|
* @throws {RequiredError}
|
|
270
275
|
*/
|
|
271
|
-
async save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>> {
|
|
272
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.save(saveAiPreferencesRequest, options);
|
|
276
|
+
async save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>> {
|
|
277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.save(saveAiPreferencesRequest, acceptLanguage, options);
|
|
273
278
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
274
279
|
const localVarOperationServerBasePath = operationServerMap['SettingsApi.save']?.[localVarOperationServerIndex]?.url;
|
|
275
280
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -324,14 +329,15 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
324
329
|
return localVarFp.getSettings(options).then((request) => request(axios, basePath));
|
|
325
330
|
},
|
|
326
331
|
/**
|
|
327
|
-
* A null field leaves the current value unchanged.
|
|
332
|
+
* A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
|
|
328
333
|
* @summary Save the caller\'s smart-filing preferences
|
|
329
334
|
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
335
|
+
* @param {string} [acceptLanguage]
|
|
330
336
|
* @param {*} [options] Override http request option.
|
|
331
337
|
* @throws {RequiredError}
|
|
332
338
|
*/
|
|
333
|
-
save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView> {
|
|
334
|
-
return localVarFp.save(saveAiPreferencesRequest, options).then((request) => request(axios, basePath));
|
|
339
|
+
save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView> {
|
|
340
|
+
return localVarFp.save(saveAiPreferencesRequest, acceptLanguage, options).then((request) => request(axios, basePath));
|
|
335
341
|
},
|
|
336
342
|
/**
|
|
337
343
|
* Save user\'s language and theme preferences
|
|
@@ -381,14 +387,15 @@ export class SettingsApi extends BaseAPI {
|
|
|
381
387
|
}
|
|
382
388
|
|
|
383
389
|
/**
|
|
384
|
-
* A null field leaves the current value unchanged.
|
|
390
|
+
* A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
|
|
385
391
|
* @summary Save the caller\'s smart-filing preferences
|
|
386
392
|
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
393
|
+
* @param {string} [acceptLanguage]
|
|
387
394
|
* @param {*} [options] Override http request option.
|
|
388
395
|
* @throws {RequiredError}
|
|
389
396
|
*/
|
|
390
|
-
public save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig) {
|
|
391
|
-
return SettingsApiFp(this.configuration).save(saveAiPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
397
|
+
public save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig) {
|
|
398
|
+
return SettingsApiFp(this.configuration).save(saveAiPreferencesRequest, acceptLanguage, options).then((request) => request(this.axios, this.basePath));
|
|
392
399
|
}
|
|
393
400
|
|
|
394
401
|
/**
|
package/api/smart-filing-api.ts
CHANGED
|
@@ -22,8 +22,12 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
+
import type { AutoFileInboxRequest } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
25
27
|
import type { AutoFileJobView } from '../models';
|
|
26
28
|
// @ts-ignore
|
|
29
|
+
import type { AutoFileJobsRequest } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
27
31
|
import type { AutoFileRequest } from '../models';
|
|
28
32
|
// @ts-ignore
|
|
29
33
|
import type { FilingOutcome } from '../models';
|
|
@@ -71,6 +75,43 @@ export const SmartFilingApiAxiosParamCreator = function (configuration?: Configu
|
|
|
71
75
|
options: localVarRequestOptions,
|
|
72
76
|
};
|
|
73
77
|
},
|
|
78
|
+
/**
|
|
79
|
+
* Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
|
|
80
|
+
* @summary File everything lying loose in the caller\'s Inbox
|
|
81
|
+
* @param {AutoFileInboxRequest} [autoFileInboxRequest]
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
fileInbox: async (autoFileInboxRequest?: AutoFileInboxRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
86
|
+
const localVarPath = `/api/v1/ai/auto-file/inbox`;
|
|
87
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
88
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
89
|
+
let baseOptions;
|
|
90
|
+
if (configuration) {
|
|
91
|
+
baseOptions = configuration.baseOptions;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
95
|
+
const localVarHeaderParameter = {} as any;
|
|
96
|
+
const localVarQueryParameter = {} as any;
|
|
97
|
+
|
|
98
|
+
// authentication keycloak_auth required
|
|
99
|
+
// http bearer authentication required
|
|
100
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
101
|
+
|
|
102
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
104
|
+
|
|
105
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
108
|
+
localVarRequestOptions.data = serializeDataIfNeeded(autoFileInboxRequest, localVarRequestOptions, configuration)
|
|
109
|
+
|
|
110
|
+
return {
|
|
111
|
+
url: toPathString(localVarUrlObj),
|
|
112
|
+
options: localVarRequestOptions,
|
|
113
|
+
};
|
|
114
|
+
},
|
|
74
115
|
/**
|
|
75
116
|
*
|
|
76
117
|
* @summary Progress and outcome of a filing job
|
|
@@ -109,6 +150,45 @@ export const SmartFilingApiAxiosParamCreator = function (configuration?: Configu
|
|
|
109
150
|
options: localVarRequestOptions,
|
|
110
151
|
};
|
|
111
152
|
},
|
|
153
|
+
/**
|
|
154
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
155
|
+
* @summary Progress and outcome of several filing jobs
|
|
156
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
jobs: async (autoFileJobsRequest: AutoFileJobsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
161
|
+
// verify required parameter 'autoFileJobsRequest' is not null or undefined
|
|
162
|
+
assertParamExists('jobs', 'autoFileJobsRequest', autoFileJobsRequest)
|
|
163
|
+
const localVarPath = `/api/v1/ai/auto-file/jobs`;
|
|
164
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
165
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
166
|
+
let baseOptions;
|
|
167
|
+
if (configuration) {
|
|
168
|
+
baseOptions = configuration.baseOptions;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
172
|
+
const localVarHeaderParameter = {} as any;
|
|
173
|
+
const localVarQueryParameter = {} as any;
|
|
174
|
+
|
|
175
|
+
// authentication keycloak_auth required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
178
|
+
|
|
179
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
180
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
181
|
+
|
|
182
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
183
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
184
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
185
|
+
localVarRequestOptions.data = serializeDataIfNeeded(autoFileJobsRequest, localVarRequestOptions, configuration)
|
|
186
|
+
|
|
187
|
+
return {
|
|
188
|
+
url: toPathString(localVarUrlObj),
|
|
189
|
+
options: localVarRequestOptions,
|
|
190
|
+
};
|
|
191
|
+
},
|
|
112
192
|
/**
|
|
113
193
|
*
|
|
114
194
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -245,6 +325,19 @@ export const SmartFilingApiFp = function(configuration?: Configuration) {
|
|
|
245
325
|
const localVarOperationServerBasePath = operationServerMap['SmartFilingApi.file']?.[localVarOperationServerIndex]?.url;
|
|
246
326
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
247
327
|
},
|
|
328
|
+
/**
|
|
329
|
+
* Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
|
|
330
|
+
* @summary File everything lying loose in the caller\'s Inbox
|
|
331
|
+
* @param {AutoFileInboxRequest} [autoFileInboxRequest]
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
async fileInbox(autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>> {
|
|
336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fileInbox(autoFileInboxRequest, options);
|
|
337
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
338
|
+
const localVarOperationServerBasePath = operationServerMap['SmartFilingApi.fileInbox']?.[localVarOperationServerIndex]?.url;
|
|
339
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
340
|
+
},
|
|
248
341
|
/**
|
|
249
342
|
*
|
|
250
343
|
* @summary Progress and outcome of a filing job
|
|
@@ -258,6 +351,19 @@ export const SmartFilingApiFp = function(configuration?: Configuration) {
|
|
|
258
351
|
const localVarOperationServerBasePath = operationServerMap['SmartFilingApi.job']?.[localVarOperationServerIndex]?.url;
|
|
259
352
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
260
353
|
},
|
|
354
|
+
/**
|
|
355
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
356
|
+
* @summary Progress and outcome of several filing jobs
|
|
357
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
async jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AutoFileJobView>>> {
|
|
362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.jobs(autoFileJobsRequest, options);
|
|
363
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
364
|
+
const localVarOperationServerBasePath = operationServerMap['SmartFilingApi.jobs']?.[localVarOperationServerIndex]?.url;
|
|
365
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
366
|
+
},
|
|
261
367
|
/**
|
|
262
368
|
*
|
|
263
369
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -316,6 +422,16 @@ export const SmartFilingApiFactory = function (configuration?: Configuration, ba
|
|
|
316
422
|
file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView> {
|
|
317
423
|
return localVarFp.file(autoFileRequest, options).then((request) => request(axios, basePath));
|
|
318
424
|
},
|
|
425
|
+
/**
|
|
426
|
+
* Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
|
|
427
|
+
* @summary File everything lying loose in the caller\'s Inbox
|
|
428
|
+
* @param {AutoFileInboxRequest} [autoFileInboxRequest]
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
fileInbox(autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView> {
|
|
433
|
+
return localVarFp.fileInbox(autoFileInboxRequest, options).then((request) => request(axios, basePath));
|
|
434
|
+
},
|
|
319
435
|
/**
|
|
320
436
|
*
|
|
321
437
|
* @summary Progress and outcome of a filing job
|
|
@@ -326,6 +442,16 @@ export const SmartFilingApiFactory = function (configuration?: Configuration, ba
|
|
|
326
442
|
job(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView> {
|
|
327
443
|
return localVarFp.job(jobId, options).then((request) => request(axios, basePath));
|
|
328
444
|
},
|
|
445
|
+
/**
|
|
446
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
447
|
+
* @summary Progress and outcome of several filing jobs
|
|
448
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutoFileJobView>> {
|
|
453
|
+
return localVarFp.jobs(autoFileJobsRequest, options).then((request) => request(axios, basePath));
|
|
454
|
+
},
|
|
329
455
|
/**
|
|
330
456
|
*
|
|
331
457
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -374,6 +500,17 @@ export class SmartFilingApi extends BaseAPI {
|
|
|
374
500
|
return SmartFilingApiFp(this.configuration).file(autoFileRequest, options).then((request) => request(this.axios, this.basePath));
|
|
375
501
|
}
|
|
376
502
|
|
|
503
|
+
/**
|
|
504
|
+
* Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
|
|
505
|
+
* @summary File everything lying loose in the caller\'s Inbox
|
|
506
|
+
* @param {AutoFileInboxRequest} [autoFileInboxRequest]
|
|
507
|
+
* @param {*} [options] Override http request option.
|
|
508
|
+
* @throws {RequiredError}
|
|
509
|
+
*/
|
|
510
|
+
public fileInbox(autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig) {
|
|
511
|
+
return SmartFilingApiFp(this.configuration).fileInbox(autoFileInboxRequest, options).then((request) => request(this.axios, this.basePath));
|
|
512
|
+
}
|
|
513
|
+
|
|
377
514
|
/**
|
|
378
515
|
*
|
|
379
516
|
* @summary Progress and outcome of a filing job
|
|
@@ -385,6 +522,17 @@ export class SmartFilingApi extends BaseAPI {
|
|
|
385
522
|
return SmartFilingApiFp(this.configuration).job(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
386
523
|
}
|
|
387
524
|
|
|
525
|
+
/**
|
|
526
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
527
|
+
* @summary Progress and outcome of several filing jobs
|
|
528
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
529
|
+
* @param {*} [options] Override http request option.
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
*/
|
|
532
|
+
public jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig) {
|
|
533
|
+
return SmartFilingApiFp(this.configuration).jobs(autoFileJobsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
534
|
+
}
|
|
535
|
+
|
|
388
536
|
/**
|
|
389
537
|
*
|
|
390
538
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
package/api.ts
CHANGED
|
@@ -15,8 +15,17 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
export * from './api/aichat-api';
|
|
18
|
+
export * from './api/aidirectory-api';
|
|
18
19
|
export * from './api/aiembeddings-api';
|
|
20
|
+
export * from './api/aifiling-rules-api';
|
|
21
|
+
export * from './api/aigovernance-api';
|
|
19
22
|
export * from './api/aisettings-api';
|
|
23
|
+
export * from './api/aitaxonomy-api';
|
|
24
|
+
export * from './api/aiteam-inboxes-api';
|
|
25
|
+
export * from './api/ai-analytics-admin-controller-api';
|
|
26
|
+
export * from './api/ai-archiving-admin-controller-api';
|
|
27
|
+
export * from './api/ai-cloud-usage-admin-controller-api';
|
|
28
|
+
export * from './api/archive-controller-api';
|
|
20
29
|
export * from './api/collaboration-audit-controller-api';
|
|
21
30
|
export * from './api/collaboration-controller-api';
|
|
22
31
|
export * from './api/comments-api';
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { AiAnalyticsView } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* AiAnalyticsAdminControllerApi - axios parameter creator
|
|
18
|
+
*/
|
|
19
|
+
export declare const AiAnalyticsAdminControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
+
/**
|
|
21
|
+
* Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
|
|
22
|
+
* @summary Tenant-wide AI insights and smart-filing analytics (admin only)
|
|
23
|
+
* @param {string} [folderId] Restrict every figure to this folder\'s subtree
|
|
24
|
+
* @param {number} [untouchedMonths] Inactivity threshold of the \'untouched\' block, in months (default 12)
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
analytics: (folderId?: string, untouchedMonths?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* AiAnalyticsAdminControllerApi - functional programming interface
|
|
32
|
+
*/
|
|
33
|
+
export declare const AiAnalyticsAdminControllerApiFp: (configuration?: Configuration) => {
|
|
34
|
+
/**
|
|
35
|
+
* Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
|
|
36
|
+
* @summary Tenant-wide AI insights and smart-filing analytics (admin only)
|
|
37
|
+
* @param {string} [folderId] Restrict every figure to this folder\'s subtree
|
|
38
|
+
* @param {number} [untouchedMonths] Inactivity threshold of the \'untouched\' block, in months (default 12)
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
analytics(folderId?: string, untouchedMonths?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAnalyticsView>>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* AiAnalyticsAdminControllerApi - factory interface
|
|
46
|
+
*/
|
|
47
|
+
export declare const AiAnalyticsAdminControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
48
|
+
/**
|
|
49
|
+
* Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
|
|
50
|
+
* @summary Tenant-wide AI insights and smart-filing analytics (admin only)
|
|
51
|
+
* @param {string} [folderId] Restrict every figure to this folder\'s subtree
|
|
52
|
+
* @param {number} [untouchedMonths] Inactivity threshold of the \'untouched\' block, in months (default 12)
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
analytics(folderId?: string, untouchedMonths?: number, options?: RawAxiosRequestConfig): AxiosPromise<AiAnalyticsView>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* AiAnalyticsAdminControllerApi - object-oriented interface
|
|
60
|
+
*/
|
|
61
|
+
export declare class AiAnalyticsAdminControllerApi extends BaseAPI {
|
|
62
|
+
/**
|
|
63
|
+
* Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
|
|
64
|
+
* @summary Tenant-wide AI insights and smart-filing analytics (admin only)
|
|
65
|
+
* @param {string} [folderId] Restrict every figure to this folder\'s subtree
|
|
66
|
+
* @param {number} [untouchedMonths] Inactivity threshold of the \'untouched\' block, in months (default 12)
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
analytics(folderId?: string, untouchedMonths?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiAnalyticsView, any, {}, any>>;
|
|
71
|
+
}
|