@openfilz-sdk/typescript-ee 1.9.11 → 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 +82 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +75 -5
- package/api/ai-analytics-admin-controller-api.ts +137 -0
- package/api/ai-archiving-admin-controller-api.ts +568 -0
- package/api/ai-cloud-usage-admin-controller-api.ts +121 -0
- package/api/aichat-api.ts +9 -9
- package/api/aidirectory-api.ts +121 -0
- package/api/aifiling-rules-api.ts +585 -0
- package/api/aigovernance-api.ts +194 -0
- package/api/aitaxonomy-api.ts +345 -0
- package/api/aiteam-inboxes-api.ts +491 -0
- package/api/archive-controller-api.ts +440 -0
- package/api/collaboration-audit-controller-api.ts +67 -0
- package/api/document-controller-api.ts +74 -0
- package/api/document-insights-api.ts +71 -4
- package/api/esign-api.ts +9 -9
- package/api/esign-enterprise-api.ts +9 -9
- package/api/settings-api.ts +18 -11
- package/api/smart-filing-api.ts +73 -0
- package/api.ts +9 -0
- package/dist/api/ai-analytics-admin-controller-api.d.ts +71 -0
- package/dist/api/ai-analytics-admin-controller-api.js +139 -0
- package/dist/api/ai-archiving-admin-controller-api.d.ts +262 -0
- package/dist/api/ai-archiving-admin-controller-api.js +548 -0
- package/dist/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
- package/dist/api/ai-cloud-usage-admin-controller-api.js +125 -0
- package/dist/api/aichat-api.d.ts +4 -4
- package/dist/api/aichat-api.js +9 -9
- package/dist/api/aidirectory-api.d.ts +63 -0
- package/dist/api/aidirectory-api.js +125 -0
- package/dist/api/aifiling-rules-api.d.ts +271 -0
- package/dist/api/aifiling-rules-api.js +562 -0
- package/dist/api/aigovernance-api.d.ts +95 -0
- package/dist/api/aigovernance-api.js +195 -0
- package/dist/api/aitaxonomy-api.d.ts +162 -0
- package/dist/api/aitaxonomy-api.js +334 -0
- package/dist/api/aiteam-inboxes-api.d.ts +228 -0
- package/dist/api/aiteam-inboxes-api.js +478 -0
- package/dist/api/archive-controller-api.d.ts +239 -0
- package/dist/api/archive-controller-api.js +430 -0
- package/dist/api/collaboration-audit-controller-api.d.ts +29 -0
- package/dist/api/collaboration-audit-controller-api.js +62 -0
- package/dist/api/document-controller-api.d.ts +33 -0
- package/dist/api/document-controller-api.js +69 -0
- package/dist/api/document-insights-api.d.ts +33 -4
- package/dist/api/document-insights-api.js +66 -4
- package/dist/api/esign-api.d.ts +4 -4
- package/dist/api/esign-api.js +9 -9
- package/dist/api/esign-enterprise-api.d.ts +4 -4
- package/dist/api/esign-enterprise-api.js +9 -9
- package/dist/api/settings-api.d.ts +12 -8
- package/dist/api/settings-api.js +18 -11
- package/dist/api/smart-filing-api.d.ts +33 -0
- package/dist/api/smart-filing-api.js +68 -0
- package/dist/api.d.ts +9 -0
- package/dist/api.js +9 -0
- package/dist/esm/api/ai-analytics-admin-controller-api.d.ts +71 -0
- package/dist/esm/api/ai-analytics-admin-controller-api.js +132 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +262 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.js +541 -0
- package/dist/esm/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
- package/dist/esm/api/ai-cloud-usage-admin-controller-api.js +118 -0
- package/dist/esm/api/aichat-api.d.ts +4 -4
- package/dist/esm/api/aichat-api.js +9 -9
- package/dist/esm/api/aidirectory-api.d.ts +63 -0
- package/dist/esm/api/aidirectory-api.js +118 -0
- package/dist/esm/api/aifiling-rules-api.d.ts +271 -0
- package/dist/esm/api/aifiling-rules-api.js +555 -0
- package/dist/esm/api/aigovernance-api.d.ts +95 -0
- package/dist/esm/api/aigovernance-api.js +188 -0
- package/dist/esm/api/aitaxonomy-api.d.ts +162 -0
- package/dist/esm/api/aitaxonomy-api.js +327 -0
- package/dist/esm/api/aiteam-inboxes-api.d.ts +228 -0
- package/dist/esm/api/aiteam-inboxes-api.js +471 -0
- package/dist/esm/api/archive-controller-api.d.ts +239 -0
- package/dist/esm/api/archive-controller-api.js +423 -0
- package/dist/esm/api/collaboration-audit-controller-api.d.ts +29 -0
- package/dist/esm/api/collaboration-audit-controller-api.js +62 -0
- package/dist/esm/api/document-controller-api.d.ts +33 -0
- package/dist/esm/api/document-controller-api.js +69 -0
- package/dist/esm/api/document-insights-api.d.ts +33 -4
- package/dist/esm/api/document-insights-api.js +66 -4
- package/dist/esm/api/esign-api.d.ts +4 -4
- package/dist/esm/api/esign-api.js +9 -9
- package/dist/esm/api/esign-enterprise-api.d.ts +4 -4
- package/dist/esm/api/esign-enterprise-api.js +9 -9
- package/dist/esm/api/settings-api.d.ts +12 -8
- package/dist/esm/api/settings-api.js +18 -11
- package/dist/esm/api/smart-filing-api.d.ts +33 -0
- package/dist/esm/api/smart-filing-api.js +68 -0
- package/dist/esm/api.d.ts +9 -0
- package/dist/esm/api.js +9 -0
- package/dist/esm/models/ai-analytics-view.d.ts +25 -0
- package/dist/esm/models/ai-analytics-view.js +14 -0
- package/dist/esm/models/ai-cloud-usage-view.d.ts +33 -0
- package/dist/esm/models/ai-cloud-usage-view.js +19 -0
- package/dist/esm/models/ai-governance-settings.d.ts +22 -0
- package/dist/esm/models/ai-governance-settings.js +14 -0
- package/dist/esm/models/ai-preferences-view.d.ts +3 -0
- package/dist/esm/models/ai-taxonomy-category.d.ts +19 -0
- package/dist/esm/models/ai-taxonomy-category.js +14 -0
- package/dist/esm/models/ai-taxonomy-rename-request.d.ts +16 -0
- package/dist/esm/models/ai-taxonomy-rename-request.js +14 -0
- package/dist/esm/models/ai-taxonomy-rename-result.d.ts +17 -0
- package/dist/esm/models/ai-taxonomy-rename-result.js +14 -0
- package/dist/esm/models/ai-taxonomy-view.d.ts +16 -0
- package/dist/esm/models/ai-taxonomy-view.js +14 -0
- package/dist/esm/models/archive-preflight.d.ts +38 -0
- package/dist/esm/models/archive-preflight.js +14 -0
- package/dist/esm/models/archiving-proposal-request.d.ts +19 -0
- package/dist/esm/models/archiving-proposal-request.js +14 -0
- package/dist/esm/models/archiving-proposal-result.d.ts +19 -0
- package/dist/esm/models/archiving-proposal-result.js +14 -0
- package/dist/esm/models/archiving-schedule-request.d.ts +22 -0
- package/dist/esm/models/archiving-schedule-request.js +14 -0
- package/dist/esm/models/archiving-schedule-view.d.ts +29 -0
- package/dist/esm/models/archiving-schedule-view.js +14 -0
- package/dist/esm/models/audit-integrity-status-response.d.ts +37 -0
- package/dist/esm/models/audit-integrity-status-response.js +14 -0
- package/dist/esm/models/auto-file-inbox-request.d.ts +14 -0
- package/dist/esm/models/auto-file-inbox-request.js +14 -0
- package/dist/esm/models/consume-delegated-grant-request.d.ts +1 -1
- package/dist/esm/models/corrections.d.ts +16 -0
- package/dist/esm/models/corrections.js +14 -0
- package/dist/esm/models/create-delegated-grant-request.d.ts +2 -1
- package/dist/esm/models/create-delegated-grant-request.js +1 -0
- package/dist/esm/models/day-count.d.ts +16 -0
- package/dist/esm/models/day-count.js +14 -0
- package/dist/esm/models/delegated-grant-dto.d.ts +1 -0
- package/dist/esm/models/delegated-grant-dto.js +1 -0
- package/dist/esm/models/document-integrity-record.d.ts +23 -0
- package/dist/esm/models/document-integrity-record.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +3 -0
- package/dist/esm/models/enriched-audit-log.js +3 -0
- package/dist/esm/models/facet.d.ts +15 -0
- package/dist/esm/models/facet.js +14 -0
- package/dist/esm/models/filing-rule-event-view.d.ts +19 -0
- package/dist/esm/models/filing-rule-event-view.js +14 -0
- package/dist/esm/models/filing-rule-request.d.ts +47 -0
- package/dist/esm/models/filing-rule-request.js +14 -0
- package/dist/esm/models/filing-rule-test-request.d.ts +14 -0
- package/dist/esm/models/filing-rule-test-request.js +14 -0
- package/dist/esm/models/filing-rule-test-result.d.ts +22 -0
- package/dist/esm/models/filing-rule-test-result.js +14 -0
- package/dist/esm/models/filing-rule-view.d.ts +30 -0
- package/dist/esm/models/filing-rule-view.js +14 -0
- package/dist/esm/models/filing.d.ts +24 -0
- package/dist/esm/models/filing.js +14 -0
- package/dist/esm/models/foreign-item.d.ts +19 -0
- package/dist/esm/models/foreign-item.js +14 -0
- package/dist/esm/models/index.d.ts +32 -0
- package/dist/esm/models/index.js +32 -0
- package/dist/esm/models/insight-facets.d.ts +16 -0
- package/dist/esm/models/insight-facets.js +14 -0
- package/dist/esm/models/insights.d.ts +21 -0
- package/dist/esm/models/insights.js +14 -0
- package/dist/esm/models/key-count.d.ts +15 -0
- package/dist/esm/models/key-count.js +14 -0
- package/dist/esm/models/save-ai-preferences-request.d.ts +1 -0
- package/dist/esm/models/scan-request-dto.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.js +3 -0
- package/dist/esm/models/settings.d.ts +1 -0
- package/dist/esm/models/team-inbox-request.d.ts +24 -0
- package/dist/esm/models/team-inbox-request.js +14 -0
- package/dist/esm/models/team-inbox-view.d.ts +31 -0
- package/dist/esm/models/team-inbox-view.js +14 -0
- package/dist/esm/models/team-option-view.d.ts +25 -0
- package/dist/esm/models/team-option-view.js +14 -0
- package/dist/esm/models/untouched.d.ts +16 -0
- package/dist/esm/models/untouched.js +14 -0
- package/dist/models/ai-analytics-view.d.ts +25 -0
- package/dist/models/ai-analytics-view.js +15 -0
- package/dist/models/ai-cloud-usage-view.d.ts +33 -0
- package/dist/models/ai-cloud-usage-view.js +22 -0
- package/dist/models/ai-governance-settings.d.ts +22 -0
- package/dist/models/ai-governance-settings.js +15 -0
- package/dist/models/ai-preferences-view.d.ts +3 -0
- package/dist/models/ai-taxonomy-category.d.ts +19 -0
- package/dist/models/ai-taxonomy-category.js +15 -0
- package/dist/models/ai-taxonomy-rename-request.d.ts +16 -0
- package/dist/models/ai-taxonomy-rename-request.js +15 -0
- package/dist/models/ai-taxonomy-rename-result.d.ts +17 -0
- package/dist/models/ai-taxonomy-rename-result.js +15 -0
- package/dist/models/ai-taxonomy-view.d.ts +16 -0
- package/dist/models/ai-taxonomy-view.js +15 -0
- package/dist/models/archive-preflight.d.ts +38 -0
- package/dist/models/archive-preflight.js +15 -0
- package/dist/models/archiving-proposal-request.d.ts +19 -0
- package/dist/models/archiving-proposal-request.js +15 -0
- package/dist/models/archiving-proposal-result.d.ts +19 -0
- package/dist/models/archiving-proposal-result.js +15 -0
- package/dist/models/archiving-schedule-request.d.ts +22 -0
- package/dist/models/archiving-schedule-request.js +15 -0
- package/dist/models/archiving-schedule-view.d.ts +29 -0
- package/dist/models/archiving-schedule-view.js +15 -0
- package/dist/models/audit-integrity-status-response.d.ts +37 -0
- package/dist/models/audit-integrity-status-response.js +15 -0
- package/dist/models/auto-file-inbox-request.d.ts +14 -0
- package/dist/models/auto-file-inbox-request.js +15 -0
- package/dist/models/consume-delegated-grant-request.d.ts +1 -1
- package/dist/models/corrections.d.ts +16 -0
- package/dist/models/corrections.js +15 -0
- package/dist/models/create-delegated-grant-request.d.ts +2 -1
- package/dist/models/create-delegated-grant-request.js +1 -0
- package/dist/models/day-count.d.ts +16 -0
- package/dist/models/day-count.js +15 -0
- package/dist/models/delegated-grant-dto.d.ts +1 -0
- package/dist/models/delegated-grant-dto.js +1 -0
- package/dist/models/document-integrity-record.d.ts +23 -0
- package/dist/models/document-integrity-record.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +3 -0
- package/dist/models/enriched-audit-log.js +3 -0
- package/dist/models/facet.d.ts +15 -0
- package/dist/models/facet.js +15 -0
- package/dist/models/filing-rule-event-view.d.ts +19 -0
- package/dist/models/filing-rule-event-view.js +15 -0
- package/dist/models/filing-rule-request.d.ts +47 -0
- package/dist/models/filing-rule-request.js +15 -0
- package/dist/models/filing-rule-test-request.d.ts +14 -0
- package/dist/models/filing-rule-test-request.js +15 -0
- package/dist/models/filing-rule-test-result.d.ts +22 -0
- package/dist/models/filing-rule-test-result.js +15 -0
- package/dist/models/filing-rule-view.d.ts +30 -0
- package/dist/models/filing-rule-view.js +15 -0
- package/dist/models/filing.d.ts +24 -0
- package/dist/models/filing.js +15 -0
- package/dist/models/foreign-item.d.ts +19 -0
- package/dist/models/foreign-item.js +15 -0
- package/dist/models/index.d.ts +32 -0
- package/dist/models/index.js +32 -0
- package/dist/models/insight-facets.d.ts +16 -0
- package/dist/models/insight-facets.js +15 -0
- package/dist/models/insights.d.ts +21 -0
- package/dist/models/insights.js +15 -0
- package/dist/models/key-count.d.ts +15 -0
- package/dist/models/key-count.js +15 -0
- package/dist/models/save-ai-preferences-request.d.ts +1 -0
- package/dist/models/scan-request-dto.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.js +3 -0
- package/dist/models/settings.d.ts +1 -0
- package/dist/models/team-inbox-request.d.ts +24 -0
- package/dist/models/team-inbox-request.js +15 -0
- package/dist/models/team-inbox-view.d.ts +31 -0
- package/dist/models/team-inbox-view.js +15 -0
- package/dist/models/team-option-view.d.ts +25 -0
- package/dist/models/team-option-view.js +15 -0
- package/dist/models/untouched.d.ts +16 -0
- package/dist/models/untouched.js +15 -0
- package/docs/AIChatApi.md +4 -4
- package/docs/AIDirectoryApi.md +51 -0
- package/docs/AIFilingRulesApi.md +371 -0
- package/docs/AIGovernanceApi.md +104 -0
- package/docs/AITaxonomyApi.md +204 -0
- package/docs/AITeamInboxesApi.md +313 -0
- package/docs/AiAnalyticsAdminControllerApi.md +62 -0
- package/docs/AiAnalyticsView.md +32 -0
- package/docs/AiArchivingAdminControllerApi.md +365 -0
- package/docs/AiCloudUsageAdminControllerApi.md +52 -0
- package/docs/AiCloudUsageView.md +44 -0
- package/docs/AiGovernanceSettings.md +36 -0
- package/docs/AiPreferencesView.md +6 -0
- package/docs/AiTaxonomyCategory.md +30 -0
- package/docs/AiTaxonomyRenameRequest.md +24 -0
- package/docs/AiTaxonomyRenameResult.md +26 -0
- package/docs/AiTaxonomyView.md +22 -0
- package/docs/ArchiveControllerApi.md +276 -0
- package/docs/ArchivePreflight.md +29 -0
- package/docs/ArchivingProposalRequest.md +30 -0
- package/docs/ArchivingProposalResult.md +30 -0
- package/docs/ArchivingScheduleRequest.md +36 -0
- package/docs/ArchivingScheduleView.md +50 -0
- package/docs/AuditIntegrityStatusResponse.md +29 -0
- package/docs/AutoFileInboxRequest.md +20 -0
- package/docs/CollaborationAuditControllerApi.md +45 -0
- package/docs/ConsumeDelegatedGrantRequest.md +1 -1
- package/docs/Corrections.md +24 -0
- package/docs/CreateDelegatedGrantRequest.md +1 -1
- package/docs/DayCount.md +24 -0
- package/docs/DocumentControllerApi.md +52 -0
- package/docs/DocumentInsightsApi.md +46 -1
- package/docs/DocumentIntegrityRecord.md +33 -0
- package/docs/ESignApi.md +4 -4
- package/docs/ESignEnterpriseApi.md +4 -4
- package/docs/Facet.md +22 -0
- package/docs/Filing.md +32 -0
- package/docs/FilingRuleEventView.md +30 -0
- package/docs/FilingRuleRequest.md +44 -0
- package/docs/FilingRuleTestRequest.md +20 -0
- package/docs/FilingRuleTestResult.md +36 -0
- package/docs/FilingRuleView.md +52 -0
- package/docs/ForeignItem.md +25 -0
- package/docs/InsightFacets.md +22 -0
- package/docs/Insights.md +34 -0
- package/docs/KeyCount.md +22 -0
- package/docs/SaveAiPreferencesRequest.md +2 -0
- package/docs/ScanRequestDto.md +6 -0
- package/docs/Settings.md +2 -0
- package/docs/SettingsApi.md +5 -2
- package/docs/SmartFilingApi.md +53 -0
- package/docs/TeamInboxRequest.md +34 -0
- package/docs/TeamInboxView.md +54 -0
- package/docs/TeamOptionView.md +24 -0
- package/docs/Untouched.md +24 -0
- package/graphql/document-search.graphqls +4 -0
- package/graphql/document.graphqls +4 -0
- package/models/ai-analytics-view.ts +41 -0
- package/models/ai-cloud-usage-view.ts +42 -0
- package/models/ai-governance-settings.ts +28 -0
- package/models/ai-preferences-view.ts +3 -0
- package/models/ai-taxonomy-category.ts +25 -0
- package/models/ai-taxonomy-rename-request.ts +22 -0
- package/models/ai-taxonomy-rename-result.ts +23 -0
- package/models/ai-taxonomy-view.ts +24 -0
- package/models/archive-preflight.ts +48 -0
- package/models/archiving-proposal-request.ts +25 -0
- package/models/archiving-proposal-result.ts +25 -0
- package/models/archiving-schedule-request.ts +28 -0
- package/models/archiving-schedule-view.ts +35 -0
- package/models/audit-integrity-status-response.ts +45 -0
- package/models/auto-file-inbox-request.ts +20 -0
- package/models/consume-delegated-grant-request.ts +1 -1
- package/models/corrections.ts +22 -0
- package/models/create-delegated-grant-request.ts +2 -1
- package/models/day-count.ts +22 -0
- package/models/delegated-grant-dto.ts +1 -0
- package/models/document-integrity-record.ts +29 -0
- package/models/enriched-audit-log.ts +3 -0
- package/models/facet.ts +21 -0
- package/models/filing-rule-event-view.ts +25 -0
- package/models/filing-rule-request.ts +53 -0
- package/models/filing-rule-test-request.ts +20 -0
- package/models/filing-rule-test-result.ts +28 -0
- package/models/filing-rule-view.ts +36 -0
- package/models/filing.ts +32 -0
- package/models/foreign-item.ts +25 -0
- package/models/index.ts +32 -0
- package/models/insight-facets.ts +24 -0
- package/models/insights.ts +27 -0
- package/models/key-count.ts +21 -0
- package/models/save-ai-preferences-request.ts +1 -0
- package/models/scan-request-dto.ts +3 -0
- package/models/search-by-audit-log-request.ts +3 -0
- package/models/settings.ts +1 -0
- package/models/team-inbox-request.ts +30 -0
- package/models/team-inbox-view.ts +37 -0
- package/models/team-option-view.ts +31 -0
- package/models/untouched.ts +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,239 @@
|
|
|
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 { ArchivePreflight } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* ArchiveControllerApi - axios parameter creator
|
|
18
|
+
*/
|
|
19
|
+
export declare const ArchiveControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
+
/**
|
|
21
|
+
* Copy to the archive, verify the fingerprint it recorded, then PERMANENTLY delete the source — even when soft delete is enabled, because a recycle-bin restore would resurrect a document that also lives in the archive. Owner only. Once this succeeds there is nothing to undo in this instance: recovery means restoring from the archive.
|
|
22
|
+
* @summary Archive a document
|
|
23
|
+
* @param {string} documentId
|
|
24
|
+
* @param {string} [onBehalfOf]
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
archive: (documentId: string, onBehalfOf?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
* Partial by design: files owned by other people stay where they are, because only an owner may archive. Run the pre-flight first — it names what will be left behind and who owns it. Sequential, so a failure part-way leaves a state a human can read: what moved is in the archive, the rest is untouched here.
|
|
31
|
+
* @summary Archive the caller\'s own files in a folder subtree
|
|
32
|
+
* @param {string} folderId
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
archiveFolder: (folderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
/**
|
|
38
|
+
* Computed before anything happens (§7.1): what will be archived, what stays behind because the caller does not own it (with the owners named), who loses a share, and how many comments the cascade destroys. Archiving hard-deletes the source even where soft delete is on, so this is a required step of the flow rather than a courtesy.
|
|
39
|
+
* @summary What archiving this would actually do
|
|
40
|
+
* @param {string} documentId
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
preflight: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* ADMIN only. Changes who may retrieve the document and nothing else: content, metadata, the deposit record and the integrity ledger stay frozen. Audited as ARCHIVE_OWNER_REASSIGNED. Refused when the deployment has disabled reassignment — 403 on a WORM instance, 404 elsewhere.
|
|
47
|
+
* @summary Hand custody of an archived document to another user
|
|
48
|
+
* @param {string} documentId
|
|
49
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
reassignOwner: (documentId: string, requestBody: {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
* Needs ARCHIVIST and CONTRIBUTOR. The archived original is untouched — a restore is a copy, never a move. The new document goes through the ordinary upload pipeline, so audit, checksum, indexing and antivirus all apply.
|
|
58
|
+
* @summary Restore an archived document into this instance
|
|
59
|
+
* @param {string} archiveDocumentId
|
|
60
|
+
* @param {string} [targetFolderId]
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
restore: (archiveDocumentId: string, targetFolderId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* ArchiveControllerApi - functional programming interface
|
|
68
|
+
*/
|
|
69
|
+
export declare const ArchiveControllerApiFp: (configuration?: Configuration) => {
|
|
70
|
+
/**
|
|
71
|
+
* Copy to the archive, verify the fingerprint it recorded, then PERMANENTLY delete the source — even when soft delete is enabled, because a recycle-bin restore would resurrect a document that also lives in the archive. Owner only. Once this succeeds there is nothing to undo in this instance: recovery means restoring from the archive.
|
|
72
|
+
* @summary Archive a document
|
|
73
|
+
* @param {string} documentId
|
|
74
|
+
* @param {string} [onBehalfOf]
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
archive(documentId: string, onBehalfOf?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
}>>;
|
|
81
|
+
/**
|
|
82
|
+
* Partial by design: files owned by other people stay where they are, because only an owner may archive. Run the pre-flight first — it names what will be left behind and who owns it. Sequential, so a failure part-way leaves a state a human can read: what moved is in the archive, the rest is untouched here.
|
|
83
|
+
* @summary Archive the caller\'s own files in a folder subtree
|
|
84
|
+
* @param {string} folderId
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
archiveFolder(folderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>>;
|
|
91
|
+
/**
|
|
92
|
+
* Computed before anything happens (§7.1): what will be archived, what stays behind because the caller does not own it (with the owners named), who loses a share, and how many comments the cascade destroys. Archiving hard-deletes the source even where soft delete is on, so this is a required step of the flow rather than a courtesy.
|
|
93
|
+
* @summary What archiving this would actually do
|
|
94
|
+
* @param {string} documentId
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
preflight(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArchivePreflight>>;
|
|
99
|
+
/**
|
|
100
|
+
* ADMIN only. Changes who may retrieve the document and nothing else: content, metadata, the deposit record and the integrity ledger stay frozen. Audited as ARCHIVE_OWNER_REASSIGNED. Refused when the deployment has disabled reassignment — 403 on a WORM instance, 404 elsewhere.
|
|
101
|
+
* @summary Hand custody of an archived document to another user
|
|
102
|
+
* @param {string} documentId
|
|
103
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
reassignOwner(documentId: string, requestBody: {
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
}>>;
|
|
112
|
+
/**
|
|
113
|
+
* Needs ARCHIVIST and CONTRIBUTOR. The archived original is untouched — a restore is a copy, never a move. The new document goes through the ordinary upload pipeline, so audit, checksum, indexing and antivirus all apply.
|
|
114
|
+
* @summary Restore an archived document into this instance
|
|
115
|
+
* @param {string} archiveDocumentId
|
|
116
|
+
* @param {string} [targetFolderId]
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
restore(archiveDocumentId: string, targetFolderId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
}>>;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* ArchiveControllerApi - factory interface
|
|
126
|
+
*/
|
|
127
|
+
export declare const ArchiveControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
128
|
+
/**
|
|
129
|
+
* Copy to the archive, verify the fingerprint it recorded, then PERMANENTLY delete the source — even when soft delete is enabled, because a recycle-bin restore would resurrect a document that also lives in the archive. Owner only. Once this succeeds there is nothing to undo in this instance: recovery means restoring from the archive.
|
|
130
|
+
* @summary Archive a document
|
|
131
|
+
* @param {string} documentId
|
|
132
|
+
* @param {string} [onBehalfOf]
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
archive(documentId: string, onBehalfOf?: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
137
|
+
[key: string]: any;
|
|
138
|
+
}>;
|
|
139
|
+
/**
|
|
140
|
+
* Partial by design: files owned by other people stay where they are, because only an owner may archive. Run the pre-flight first — it names what will be left behind and who owns it. Sequential, so a failure part-way leaves a state a human can read: what moved is in the archive, the rest is untouched here.
|
|
141
|
+
* @summary Archive the caller\'s own files in a folder subtree
|
|
142
|
+
* @param {string} folderId
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
archiveFolder(folderId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
147
|
+
[key: string]: any;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* Computed before anything happens (§7.1): what will be archived, what stays behind because the caller does not own it (with the owners named), who loses a share, and how many comments the cascade destroys. Archiving hard-deletes the source even where soft delete is on, so this is a required step of the flow rather than a courtesy.
|
|
151
|
+
* @summary What archiving this would actually do
|
|
152
|
+
* @param {string} documentId
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
preflight(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArchivePreflight>;
|
|
157
|
+
/**
|
|
158
|
+
* ADMIN only. Changes who may retrieve the document and nothing else: content, metadata, the deposit record and the integrity ledger stay frozen. Audited as ARCHIVE_OWNER_REASSIGNED. Refused when the deployment has disabled reassignment — 403 on a WORM instance, 404 elsewhere.
|
|
159
|
+
* @summary Hand custody of an archived document to another user
|
|
160
|
+
* @param {string} documentId
|
|
161
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
reassignOwner(documentId: string, requestBody: {
|
|
166
|
+
[key: string]: string;
|
|
167
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
168
|
+
[key: string]: any;
|
|
169
|
+
}>;
|
|
170
|
+
/**
|
|
171
|
+
* Needs ARCHIVIST and CONTRIBUTOR. The archived original is untouched — a restore is a copy, never a move. The new document goes through the ordinary upload pipeline, so audit, checksum, indexing and antivirus all apply.
|
|
172
|
+
* @summary Restore an archived document into this instance
|
|
173
|
+
* @param {string} archiveDocumentId
|
|
174
|
+
* @param {string} [targetFolderId]
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
restore(archiveDocumentId: string, targetFolderId?: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
179
|
+
[key: string]: any;
|
|
180
|
+
}>;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* ArchiveControllerApi - object-oriented interface
|
|
184
|
+
*/
|
|
185
|
+
export declare class ArchiveControllerApi extends BaseAPI {
|
|
186
|
+
/**
|
|
187
|
+
* Copy to the archive, verify the fingerprint it recorded, then PERMANENTLY delete the source — even when soft delete is enabled, because a recycle-bin restore would resurrect a document that also lives in the archive. Owner only. Once this succeeds there is nothing to undo in this instance: recovery means restoring from the archive.
|
|
188
|
+
* @summary Archive a document
|
|
189
|
+
* @param {string} documentId
|
|
190
|
+
* @param {string} [onBehalfOf]
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
archive(documentId: string, onBehalfOf?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
195
|
+
[key: string]: any;
|
|
196
|
+
}, any, {}, any>>;
|
|
197
|
+
/**
|
|
198
|
+
* Partial by design: files owned by other people stay where they are, because only an owner may archive. Run the pre-flight first — it names what will be left behind and who owns it. Sequential, so a failure part-way leaves a state a human can read: what moved is in the archive, the rest is untouched here.
|
|
199
|
+
* @summary Archive the caller\'s own files in a folder subtree
|
|
200
|
+
* @param {string} folderId
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
archiveFolder(folderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
205
|
+
[key: string]: any;
|
|
206
|
+
}, any, {}, any>>;
|
|
207
|
+
/**
|
|
208
|
+
* Computed before anything happens (§7.1): what will be archived, what stays behind because the caller does not own it (with the owners named), who loses a share, and how many comments the cascade destroys. Archiving hard-deletes the source even where soft delete is on, so this is a required step of the flow rather than a courtesy.
|
|
209
|
+
* @summary What archiving this would actually do
|
|
210
|
+
* @param {string} documentId
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
preflight(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArchivePreflight, any, {}, any>>;
|
|
215
|
+
/**
|
|
216
|
+
* ADMIN only. Changes who may retrieve the document and nothing else: content, metadata, the deposit record and the integrity ledger stay frozen. Audited as ARCHIVE_OWNER_REASSIGNED. Refused when the deployment has disabled reassignment — 403 on a WORM instance, 404 elsewhere.
|
|
217
|
+
* @summary Hand custody of an archived document to another user
|
|
218
|
+
* @param {string} documentId
|
|
219
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
220
|
+
* @param {*} [options] Override http request option.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
reassignOwner(documentId: string, requestBody: {
|
|
224
|
+
[key: string]: string;
|
|
225
|
+
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
226
|
+
[key: string]: any;
|
|
227
|
+
}, any, {}, any>>;
|
|
228
|
+
/**
|
|
229
|
+
* Needs ARCHIVIST and CONTRIBUTOR. The archived original is untouched — a restore is a copy, never a move. The new document goes through the ordinary upload pipeline, so audit, checksum, indexing and antivirus all apply.
|
|
230
|
+
* @summary Restore an archived document into this instance
|
|
231
|
+
* @param {string} archiveDocumentId
|
|
232
|
+
* @param {string} [targetFolderId]
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
restore(archiveDocumentId: string, targetFolderId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
237
|
+
[key: string]: any;
|
|
238
|
+
}, any, {}, any>>;
|
|
239
|
+
}
|