@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
package/docs/SmartFilingApi.md
CHANGED
|
@@ -5,7 +5,9 @@ All URIs are relative to *http://localhost:8081*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**file**](#file) | **POST** /api/v1/ai/auto-file | File existing documents on demand|
|
|
8
|
+
|[**fileInbox**](#fileinbox) | **POST** /api/v1/ai/auto-file/inbox | File everything lying loose in the caller\'s Inbox|
|
|
8
9
|
|[**job**](#job) | **GET** /api/v1/ai/auto-file/{jobId} | Progress and outcome of a filing job|
|
|
10
|
+
|[**jobs**](#jobs) | **POST** /api/v1/ai/auto-file/jobs | Progress and outcome of several filing jobs|
|
|
9
11
|
|[**lastFiling**](#lastfiling) | **GET** /api/v1/ai/auto-file/document/{documentId} | The latest filing record of a document (the \"Filed by OpenFilz\" chip)|
|
|
10
12
|
|[**undo**](#undo) | **POST** /api/v1/ai/auto-file/{jobId}/undo | Move every document the job filed back where it came from|
|
|
11
13
|
|[**undoFiling**](#undofiling) | **POST** /api/v1/ai/auto-file/filing/{planId}/undo | Move one filed document back (the chip\'s \"Move back\")|
|
|
@@ -41,6 +43,58 @@ const { status, data } = await apiInstance.file(
|
|
|
41
43
|
| **autoFileRequest** | **AutoFileRequest**| | |
|
|
42
44
|
|
|
43
45
|
|
|
46
|
+
### Return type
|
|
47
|
+
|
|
48
|
+
**AutoFileJobView**
|
|
49
|
+
|
|
50
|
+
### Authorization
|
|
51
|
+
|
|
52
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
53
|
+
|
|
54
|
+
### HTTP request headers
|
|
55
|
+
|
|
56
|
+
- **Content-Type**: application/json
|
|
57
|
+
- **Accept**: application/json
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### HTTP response details
|
|
61
|
+
| Status code | Description | Response headers |
|
|
62
|
+
|-------------|-------------|------------------|
|
|
63
|
+
|**200** | OK | - |
|
|
64
|
+
|
|
65
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
66
|
+
|
|
67
|
+
# **fileInbox**
|
|
68
|
+
> AutoFileJobView fileInbox()
|
|
69
|
+
|
|
70
|
+
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.
|
|
71
|
+
|
|
72
|
+
### Example
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
import {
|
|
76
|
+
SmartFilingApi,
|
|
77
|
+
Configuration,
|
|
78
|
+
AutoFileInboxRequest
|
|
79
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
80
|
+
|
|
81
|
+
const configuration = new Configuration();
|
|
82
|
+
const apiInstance = new SmartFilingApi(configuration);
|
|
83
|
+
|
|
84
|
+
let autoFileInboxRequest: AutoFileInboxRequest; // (optional)
|
|
85
|
+
|
|
86
|
+
const { status, data } = await apiInstance.fileInbox(
|
|
87
|
+
autoFileInboxRequest
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **autoFileInboxRequest** | **AutoFileInboxRequest**| | |
|
|
96
|
+
|
|
97
|
+
|
|
44
98
|
### Return type
|
|
45
99
|
|
|
46
100
|
**AutoFileJobView**
|
|
@@ -105,6 +159,58 @@ const { status, data } = await apiInstance.job(
|
|
|
105
159
|
- **Accept**: application/json
|
|
106
160
|
|
|
107
161
|
|
|
162
|
+
### HTTP response details
|
|
163
|
+
| Status code | Description | Response headers |
|
|
164
|
+
|-------------|-------------|------------------|
|
|
165
|
+
|**200** | OK | - |
|
|
166
|
+
|
|
167
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
168
|
+
|
|
169
|
+
# **jobs**
|
|
170
|
+
> Array<AutoFileJobView> jobs(autoFileJobsRequest)
|
|
171
|
+
|
|
172
|
+
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.
|
|
173
|
+
|
|
174
|
+
### Example
|
|
175
|
+
|
|
176
|
+
```typescript
|
|
177
|
+
import {
|
|
178
|
+
SmartFilingApi,
|
|
179
|
+
Configuration,
|
|
180
|
+
AutoFileJobsRequest
|
|
181
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
182
|
+
|
|
183
|
+
const configuration = new Configuration();
|
|
184
|
+
const apiInstance = new SmartFilingApi(configuration);
|
|
185
|
+
|
|
186
|
+
let autoFileJobsRequest: AutoFileJobsRequest; //
|
|
187
|
+
|
|
188
|
+
const { status, data } = await apiInstance.jobs(
|
|
189
|
+
autoFileJobsRequest
|
|
190
|
+
);
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Parameters
|
|
194
|
+
|
|
195
|
+
|Name | Type | Description | Notes|
|
|
196
|
+
|------------- | ------------- | ------------- | -------------|
|
|
197
|
+
| **autoFileJobsRequest** | **AutoFileJobsRequest**| | |
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### Return type
|
|
201
|
+
|
|
202
|
+
**Array<AutoFileJobView>**
|
|
203
|
+
|
|
204
|
+
### Authorization
|
|
205
|
+
|
|
206
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
207
|
+
|
|
208
|
+
### HTTP request headers
|
|
209
|
+
|
|
210
|
+
- **Content-Type**: application/json
|
|
211
|
+
- **Accept**: application/json
|
|
212
|
+
|
|
213
|
+
|
|
108
214
|
### HTTP response details
|
|
109
215
|
| Status code | Description | Response headers |
|
|
110
216
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# TeamInboxRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**teamId** | **string** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
**inboxFolderId** | **string** | | [default to undefined]
|
|
11
|
+
**targetRootFolderId** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**technicalUserEmail** | **string** | | [default to undefined]
|
|
13
|
+
**allowNewFolders** | **boolean** | | [optional] [default to undefined]
|
|
14
|
+
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
**pollIntervalSeconds** | **number** | Seconds between two scheduled runs (default 300) | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { TeamInboxRequest } from '@openfilz-sdk/typescript-ee';
|
|
21
|
+
|
|
22
|
+
const instance: TeamInboxRequest = {
|
|
23
|
+
teamId,
|
|
24
|
+
name,
|
|
25
|
+
inboxFolderId,
|
|
26
|
+
targetRootFolderId,
|
|
27
|
+
technicalUserEmail,
|
|
28
|
+
allowNewFolders,
|
|
29
|
+
enabled,
|
|
30
|
+
pollIntervalSeconds,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# TeamInboxView
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**teamId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**inboxFolderId** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**inboxFolderPath** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**targetRootFolderId** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**targetRootFolderPath** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**technicalUserEmail** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**allowNewFolders** | **boolean** | | [optional] [default to undefined]
|
|
18
|
+
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
19
|
+
**pollIntervalSeconds** | **number** | | [optional] [default to undefined]
|
|
20
|
+
**lastRunAt** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**lastJobId** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**createdBy** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
25
|
+
**warnings** | **Array<string>** | | [optional] [default to undefined]
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { TeamInboxView } from '@openfilz-sdk/typescript-ee';
|
|
31
|
+
|
|
32
|
+
const instance: TeamInboxView = {
|
|
33
|
+
id,
|
|
34
|
+
teamId,
|
|
35
|
+
teamName,
|
|
36
|
+
name,
|
|
37
|
+
inboxFolderId,
|
|
38
|
+
inboxFolderPath,
|
|
39
|
+
targetRootFolderId,
|
|
40
|
+
targetRootFolderPath,
|
|
41
|
+
technicalUserEmail,
|
|
42
|
+
allowNewFolders,
|
|
43
|
+
enabled,
|
|
44
|
+
pollIntervalSeconds,
|
|
45
|
+
lastRunAt,
|
|
46
|
+
lastJobId,
|
|
47
|
+
createdBy,
|
|
48
|
+
createdAt,
|
|
49
|
+
updatedAt,
|
|
50
|
+
warnings,
|
|
51
|
+
};
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# TeamOptionView
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | users.id of the TEAM row in the DMS database | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | Team name | [optional] [default to undefined]
|
|
10
|
+
**email** | **string** | Team e-mail (the sharing address) | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { TeamOptionView } from '@openfilz-sdk/typescript-ee';
|
|
16
|
+
|
|
17
|
+
const instance: TeamOptionView = {
|
|
18
|
+
id,
|
|
19
|
+
name,
|
|
20
|
+
email,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Untouched
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**months** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**documents** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**bytes** | **number** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Untouched } from '@openfilz-sdk/typescript-ee';
|
|
16
|
+
|
|
17
|
+
const instance: Untouched = {
|
|
18
|
+
months,
|
|
19
|
+
documents,
|
|
20
|
+
bytes,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -10,6 +10,10 @@ type DocumentSearchInfo {
|
|
|
10
10
|
updatedAt: DateTime
|
|
11
11
|
createdBy: String
|
|
12
12
|
updatedBy: String
|
|
13
|
+
"The AI document insight's category of the file (OpenSearch search path only; null on the database path)"
|
|
14
|
+
category: String
|
|
15
|
+
"The document insight's language, BCP-47 primary tag (OpenSearch search path only; null on the database path)"
|
|
16
|
+
language: String
|
|
13
17
|
contentSnippet: String # return a snippet instead of the full content
|
|
14
18
|
"URL to fetch the thumbnail image, null if not available"
|
|
15
19
|
thumbnailUrl: String
|
|
@@ -79,6 +79,10 @@ input ListFolderRequest {
|
|
|
79
79
|
recursive : Boolean
|
|
80
80
|
"Keep only the folders the caller may write into (Enterprise: owned, or shared in editor mode). Ignored by the Community Edition, which has no per-document permissions."
|
|
81
81
|
writableOnly : Boolean
|
|
82
|
+
"Keep only the files whose AI document insight carries one of these categories (the deployment's category keys, e.g. invoice, contract). Needs document insights; a file without an insight row never matches."
|
|
83
|
+
categories : [String]
|
|
84
|
+
"Keep only the files whose document insight names one of these languages (BCP-47 primary tags, e.g. fr, en)."
|
|
85
|
+
languages : [String]
|
|
82
86
|
}
|
|
83
87
|
|
|
84
88
|
input FavoriteRequest {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { Corrections } from './corrections';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { Filing } from './filing';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { Insights } from './insights';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { KeyCount } from './key-count';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import type { Untouched } from './untouched';
|
|
31
|
+
|
|
32
|
+
export interface AiAnalyticsView {
|
|
33
|
+
'folderId'?: string;
|
|
34
|
+
'categories'?: Array<KeyCount>;
|
|
35
|
+
'languages'?: Array<KeyCount>;
|
|
36
|
+
'insights'?: Insights;
|
|
37
|
+
'filing'?: Filing;
|
|
38
|
+
'corrections'?: Corrections;
|
|
39
|
+
'untouched'?: Untouched;
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface AiCloudUsageView {
|
|
18
|
+
'configured'?: boolean;
|
|
19
|
+
'available'?: boolean;
|
|
20
|
+
'status'?: AiCloudUsageViewStatusEnum;
|
|
21
|
+
'month'?: string;
|
|
22
|
+
'documents'?: number;
|
|
23
|
+
'monthlyDocumentQuota'?: number;
|
|
24
|
+
'documentsUsedPercent'?: number;
|
|
25
|
+
'budgetUsedPercent'?: number;
|
|
26
|
+
'hardCap'?: boolean;
|
|
27
|
+
'blocked'?: boolean;
|
|
28
|
+
'periodEnd'?: string;
|
|
29
|
+
'expiresAt'?: string;
|
|
30
|
+
'tenantStatus'?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export const AiCloudUsageViewStatusEnum = {
|
|
34
|
+
Ok: 'OK',
|
|
35
|
+
NotConfigured: 'NOT_CONFIGURED',
|
|
36
|
+
KeyRejected: 'KEY_REJECTED',
|
|
37
|
+
Unreachable: 'UNREACHABLE',
|
|
38
|
+
} as const;
|
|
39
|
+
|
|
40
|
+
export type AiCloudUsageViewStatusEnum = typeof AiCloudUsageViewStatusEnum[keyof typeof AiCloudUsageViewStatusEnum];
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface AiGovernanceSettings {
|
|
18
|
+
'insightsEnabled'?: boolean;
|
|
19
|
+
'autoFileEnabled'?: boolean;
|
|
20
|
+
'modelAllowed'?: boolean;
|
|
21
|
+
'blockedCategories'?: Array<string>;
|
|
22
|
+
'insightsDisabledTeamIds'?: Array<string>;
|
|
23
|
+
'autoFileDisabledTeamIds'?: Array<string>;
|
|
24
|
+
'insightRetentionDays'?: number;
|
|
25
|
+
'updatedBy'?: string;
|
|
26
|
+
'updatedAt'?: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface AiTaxonomyCategory {
|
|
18
|
+
'key'?: string;
|
|
19
|
+
'label'?: string;
|
|
20
|
+
'description'?: string;
|
|
21
|
+
'examples'?: Array<string>;
|
|
22
|
+
'position'?: number;
|
|
23
|
+
'enabled'?: boolean;
|
|
24
|
+
}
|
|
25
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface AiTaxonomyRenameRequest {
|
|
18
|
+
'newKey'?: string;
|
|
19
|
+
'relabel'?: boolean;
|
|
20
|
+
'backfill'?: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface AiTaxonomyRenameResult {
|
|
18
|
+
'oldKey'?: string;
|
|
19
|
+
'newKey'?: string;
|
|
20
|
+
'relabelled'?: number;
|
|
21
|
+
'backfillJobId'?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { AiTaxonomyCategory } from './ai-taxonomy-category';
|
|
19
|
+
|
|
20
|
+
export interface AiTaxonomyView {
|
|
21
|
+
'source'?: string;
|
|
22
|
+
'categories'?: Array<AiTaxonomyCategory>;
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ForeignItem } from './foreign-item';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { Item } from './item';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Consequences of archiving, computed before the user confirms
|
|
25
|
+
*/
|
|
26
|
+
export interface ArchivePreflight {
|
|
27
|
+
/**
|
|
28
|
+
* What will actually be archived — owned by the caller
|
|
29
|
+
*/
|
|
30
|
+
'willBeArchived'?: Array<Item>;
|
|
31
|
+
/**
|
|
32
|
+
* Left behind because the caller does not own them. Only the owner may archive a document, so a folder is archived partially rather than refused: an owner should not be blocked by co-workers\' files in the same tree.
|
|
33
|
+
*/
|
|
34
|
+
'leftBehind'?: Array<ForeignItem>;
|
|
35
|
+
/**
|
|
36
|
+
* People who lose access. Archiving revokes every share — a share is a live-collaboration ACL and means nothing in a store only the owner reads.
|
|
37
|
+
*/
|
|
38
|
+
'shareRecipientsLosingAccess'?: Array<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Number of comments that will be DESTROYED in the live instance (doc_comment is ON DELETE CASCADE). They survive only as the read-only transcript inside the deposit record.
|
|
41
|
+
*/
|
|
42
|
+
'commentsDestroyed'?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Always true. Stated explicitly because with soft delete enabled users have learned that a delete is recoverable from the recycle bin. Here it is not.
|
|
45
|
+
*/
|
|
46
|
+
'irreversibleFromLive'?: boolean;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface ArchivingProposalRequest {
|
|
18
|
+
'rootFolderId'?: string;
|
|
19
|
+
'untouchedMonths'?: number;
|
|
20
|
+
'targetTemplate'?: string;
|
|
21
|
+
'legalHoldMetadataKey'?: string;
|
|
22
|
+
'maxDocuments'?: number;
|
|
23
|
+
'ownerEmail'?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface ArchivingProposalResult {
|
|
18
|
+
'planId'?: string;
|
|
19
|
+
'documents'?: number;
|
|
20
|
+
'candidates'?: number;
|
|
21
|
+
'blocked'?: number;
|
|
22
|
+
'rationale'?: string;
|
|
23
|
+
'ownerEmail'?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface ArchivingScheduleRequest {
|
|
18
|
+
'name'?: string;
|
|
19
|
+
'rootFolderId'?: string;
|
|
20
|
+
'untouchedMonths'?: number;
|
|
21
|
+
'targetTemplate'?: string;
|
|
22
|
+
'legalHoldMetadataKey'?: string;
|
|
23
|
+
'maxDocuments'?: number;
|
|
24
|
+
'cron'?: string;
|
|
25
|
+
'ownerEmail'?: string;
|
|
26
|
+
'enabled'?: boolean;
|
|
27
|
+
}
|
|
28
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface ArchivingScheduleView {
|
|
18
|
+
'id'?: string;
|
|
19
|
+
'name'?: string;
|
|
20
|
+
'rootFolderId'?: string;
|
|
21
|
+
'untouchedMonths'?: number;
|
|
22
|
+
'targetTemplate'?: string;
|
|
23
|
+
'legalHoldMetadataKey'?: string;
|
|
24
|
+
'maxDocuments'?: number;
|
|
25
|
+
'cron'?: string;
|
|
26
|
+
'ownerEmail'?: string;
|
|
27
|
+
'enabled'?: boolean;
|
|
28
|
+
'lastRunAt'?: string;
|
|
29
|
+
'lastPlanId'?: string;
|
|
30
|
+
'lastOutcome'?: string;
|
|
31
|
+
'createdBy'?: string;
|
|
32
|
+
'createdAt'?: string;
|
|
33
|
+
'updatedAt'?: string;
|
|
34
|
+
}
|
|
35
|
+
|