@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
|
@@ -0,0 +1,568 @@
|
|
|
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
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { ArchivingProposalRequest } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { ArchivingProposalResult } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { ArchivingScheduleRequest } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { ArchivingScheduleView } from '../models';
|
|
32
|
+
/**
|
|
33
|
+
* AiArchivingAdminControllerApi - axios parameter creator
|
|
34
|
+
*/
|
|
35
|
+
export const AiArchivingAdminControllerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary Create an archiving schedule
|
|
40
|
+
* @param {ArchivingScheduleRequest} archivingScheduleRequest
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
create4: async (archivingScheduleRequest: ArchivingScheduleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
|
+
// verify required parameter 'archivingScheduleRequest' is not null or undefined
|
|
46
|
+
assertParamExists('create4', 'archivingScheduleRequest', archivingScheduleRequest)
|
|
47
|
+
const localVarPath = `/api/v1/admin/ai/archiving/schedules`;
|
|
48
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50
|
+
let baseOptions;
|
|
51
|
+
if (configuration) {
|
|
52
|
+
baseOptions = configuration.baseOptions;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
56
|
+
const localVarHeaderParameter = {} as any;
|
|
57
|
+
const localVarQueryParameter = {} as any;
|
|
58
|
+
|
|
59
|
+
// authentication keycloak_auth required
|
|
60
|
+
// http bearer authentication required
|
|
61
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
62
|
+
|
|
63
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
64
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
65
|
+
|
|
66
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
67
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
69
|
+
localVarRequestOptions.data = serializeDataIfNeeded(archivingScheduleRequest, localVarRequestOptions, configuration)
|
|
70
|
+
|
|
71
|
+
return {
|
|
72
|
+
url: toPathString(localVarUrlObj),
|
|
73
|
+
options: localVarRequestOptions,
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @summary Delete an archiving schedule
|
|
79
|
+
* @param {string} id
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
delete3: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
84
|
+
// verify required parameter 'id' is not null or undefined
|
|
85
|
+
assertParamExists('delete3', 'id', id)
|
|
86
|
+
const localVarPath = `/api/v1/admin/ai/archiving/schedules/{id}`
|
|
87
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
88
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
89
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
90
|
+
let baseOptions;
|
|
91
|
+
if (configuration) {
|
|
92
|
+
baseOptions = configuration.baseOptions;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
96
|
+
const localVarHeaderParameter = {} as any;
|
|
97
|
+
const localVarQueryParameter = {} as any;
|
|
98
|
+
|
|
99
|
+
// authentication keycloak_auth required
|
|
100
|
+
// http bearer authentication required
|
|
101
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
107
|
+
|
|
108
|
+
return {
|
|
109
|
+
url: toPathString(localVarUrlObj),
|
|
110
|
+
options: localVarRequestOptions,
|
|
111
|
+
};
|
|
112
|
+
},
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @summary Get an archiving schedule
|
|
116
|
+
* @param {string} id
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
get7: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
121
|
+
// verify required parameter 'id' is not null or undefined
|
|
122
|
+
assertParamExists('get7', 'id', id)
|
|
123
|
+
const localVarPath = `/api/v1/admin/ai/archiving/schedules/{id}`
|
|
124
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
127
|
+
let baseOptions;
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
133
|
+
const localVarHeaderParameter = {} as any;
|
|
134
|
+
const localVarQueryParameter = {} as any;
|
|
135
|
+
|
|
136
|
+
// authentication keycloak_auth required
|
|
137
|
+
// http bearer authentication required
|
|
138
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
139
|
+
|
|
140
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
141
|
+
|
|
142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
143
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
144
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
145
|
+
|
|
146
|
+
return {
|
|
147
|
+
url: toPathString(localVarUrlObj),
|
|
148
|
+
options: localVarRequestOptions,
|
|
149
|
+
};
|
|
150
|
+
},
|
|
151
|
+
/**
|
|
152
|
+
* Selects the active documents under the root untouched for N months (legal hold excluded, capped) and creates a PROPOSED reorganisation plan as ownerEmail. Nothing is moved.
|
|
153
|
+
* @summary Propose an archiving plan now (admin only)
|
|
154
|
+
* @param {ArchivingProposalRequest} archivingProposalRequest
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
propose: async (archivingProposalRequest: ArchivingProposalRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
159
|
+
// verify required parameter 'archivingProposalRequest' is not null or undefined
|
|
160
|
+
assertParamExists('propose', 'archivingProposalRequest', archivingProposalRequest)
|
|
161
|
+
const localVarPath = `/api/v1/admin/ai/archiving/propose`;
|
|
162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
164
|
+
let baseOptions;
|
|
165
|
+
if (configuration) {
|
|
166
|
+
baseOptions = configuration.baseOptions;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
170
|
+
const localVarHeaderParameter = {} as any;
|
|
171
|
+
const localVarQueryParameter = {} as any;
|
|
172
|
+
|
|
173
|
+
// authentication keycloak_auth required
|
|
174
|
+
// http bearer authentication required
|
|
175
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
176
|
+
|
|
177
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
178
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
179
|
+
|
|
180
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
181
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
182
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
183
|
+
localVarRequestOptions.data = serializeDataIfNeeded(archivingProposalRequest, localVarRequestOptions, configuration)
|
|
184
|
+
|
|
185
|
+
return {
|
|
186
|
+
url: toPathString(localVarUrlObj),
|
|
187
|
+
options: localVarRequestOptions,
|
|
188
|
+
};
|
|
189
|
+
},
|
|
190
|
+
/**
|
|
191
|
+
* Produces one PROPOSED plan for the schedule\'s owner and records the outcome on the schedule.
|
|
192
|
+
* @summary Run an archiving schedule now
|
|
193
|
+
* @param {string} id
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
run1: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
198
|
+
// verify required parameter 'id' is not null or undefined
|
|
199
|
+
assertParamExists('run1', 'id', id)
|
|
200
|
+
const localVarPath = `/api/v1/admin/ai/archiving/schedules/{id}/run`
|
|
201
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
202
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
203
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
204
|
+
let baseOptions;
|
|
205
|
+
if (configuration) {
|
|
206
|
+
baseOptions = configuration.baseOptions;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
210
|
+
const localVarHeaderParameter = {} as any;
|
|
211
|
+
const localVarQueryParameter = {} as any;
|
|
212
|
+
|
|
213
|
+
// authentication keycloak_auth required
|
|
214
|
+
// http bearer authentication required
|
|
215
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
216
|
+
|
|
217
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
218
|
+
|
|
219
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
221
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
222
|
+
|
|
223
|
+
return {
|
|
224
|
+
url: toPathString(localVarUrlObj),
|
|
225
|
+
options: localVarRequestOptions,
|
|
226
|
+
};
|
|
227
|
+
},
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @summary List archiving schedules
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
schedules: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
235
|
+
const localVarPath = `/api/v1/admin/ai/archiving/schedules`;
|
|
236
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
237
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
238
|
+
let baseOptions;
|
|
239
|
+
if (configuration) {
|
|
240
|
+
baseOptions = configuration.baseOptions;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
244
|
+
const localVarHeaderParameter = {} as any;
|
|
245
|
+
const localVarQueryParameter = {} as any;
|
|
246
|
+
|
|
247
|
+
// authentication keycloak_auth required
|
|
248
|
+
// http bearer authentication required
|
|
249
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
250
|
+
|
|
251
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
252
|
+
|
|
253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
255
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
256
|
+
|
|
257
|
+
return {
|
|
258
|
+
url: toPathString(localVarUrlObj),
|
|
259
|
+
options: localVarRequestOptions,
|
|
260
|
+
};
|
|
261
|
+
},
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @summary Update an archiving schedule
|
|
265
|
+
* @param {string} id
|
|
266
|
+
* @param {ArchivingScheduleRequest} archivingScheduleRequest
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
update4: async (id: string, archivingScheduleRequest: ArchivingScheduleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
271
|
+
// verify required parameter 'id' is not null or undefined
|
|
272
|
+
assertParamExists('update4', 'id', id)
|
|
273
|
+
// verify required parameter 'archivingScheduleRequest' is not null or undefined
|
|
274
|
+
assertParamExists('update4', 'archivingScheduleRequest', archivingScheduleRequest)
|
|
275
|
+
const localVarPath = `/api/v1/admin/ai/archiving/schedules/{id}`
|
|
276
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
277
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
278
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
279
|
+
let baseOptions;
|
|
280
|
+
if (configuration) {
|
|
281
|
+
baseOptions = configuration.baseOptions;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
285
|
+
const localVarHeaderParameter = {} as any;
|
|
286
|
+
const localVarQueryParameter = {} as any;
|
|
287
|
+
|
|
288
|
+
// authentication keycloak_auth required
|
|
289
|
+
// http bearer authentication required
|
|
290
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
291
|
+
|
|
292
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
293
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
294
|
+
|
|
295
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
297
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
298
|
+
localVarRequestOptions.data = serializeDataIfNeeded(archivingScheduleRequest, localVarRequestOptions, configuration)
|
|
299
|
+
|
|
300
|
+
return {
|
|
301
|
+
url: toPathString(localVarUrlObj),
|
|
302
|
+
options: localVarRequestOptions,
|
|
303
|
+
};
|
|
304
|
+
},
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* AiArchivingAdminControllerApi - functional programming interface
|
|
310
|
+
*/
|
|
311
|
+
export const AiArchivingAdminControllerApiFp = function(configuration?: Configuration) {
|
|
312
|
+
const localVarAxiosParamCreator = AiArchivingAdminControllerApiAxiosParamCreator(configuration)
|
|
313
|
+
return {
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @summary Create an archiving schedule
|
|
317
|
+
* @param {ArchivingScheduleRequest} archivingScheduleRequest
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
*/
|
|
321
|
+
async create4(archivingScheduleRequest: ArchivingScheduleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArchivingScheduleView>> {
|
|
322
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.create4(archivingScheduleRequest, options);
|
|
323
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
324
|
+
const localVarOperationServerBasePath = operationServerMap['AiArchivingAdminControllerApi.create4']?.[localVarOperationServerIndex]?.url;
|
|
325
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
326
|
+
},
|
|
327
|
+
/**
|
|
328
|
+
*
|
|
329
|
+
* @summary Delete an archiving schedule
|
|
330
|
+
* @param {string} id
|
|
331
|
+
* @param {*} [options] Override http request option.
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
*/
|
|
334
|
+
async delete3(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
335
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.delete3(id, options);
|
|
336
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
337
|
+
const localVarOperationServerBasePath = operationServerMap['AiArchivingAdminControllerApi.delete3']?.[localVarOperationServerIndex]?.url;
|
|
338
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
339
|
+
},
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @summary Get an archiving schedule
|
|
343
|
+
* @param {string} id
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
*/
|
|
347
|
+
async get7(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArchivingScheduleView>> {
|
|
348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.get7(id, options);
|
|
349
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
350
|
+
const localVarOperationServerBasePath = operationServerMap['AiArchivingAdminControllerApi.get7']?.[localVarOperationServerIndex]?.url;
|
|
351
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
352
|
+
},
|
|
353
|
+
/**
|
|
354
|
+
* Selects the active documents under the root untouched for N months (legal hold excluded, capped) and creates a PROPOSED reorganisation plan as ownerEmail. Nothing is moved.
|
|
355
|
+
* @summary Propose an archiving plan now (admin only)
|
|
356
|
+
* @param {ArchivingProposalRequest} archivingProposalRequest
|
|
357
|
+
* @param {*} [options] Override http request option.
|
|
358
|
+
* @throws {RequiredError}
|
|
359
|
+
*/
|
|
360
|
+
async propose(archivingProposalRequest: ArchivingProposalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArchivingProposalResult>> {
|
|
361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.propose(archivingProposalRequest, options);
|
|
362
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
363
|
+
const localVarOperationServerBasePath = operationServerMap['AiArchivingAdminControllerApi.propose']?.[localVarOperationServerIndex]?.url;
|
|
364
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
365
|
+
},
|
|
366
|
+
/**
|
|
367
|
+
* Produces one PROPOSED plan for the schedule\'s owner and records the outcome on the schedule.
|
|
368
|
+
* @summary Run an archiving schedule now
|
|
369
|
+
* @param {string} id
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
async run1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArchivingProposalResult>> {
|
|
374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.run1(id, options);
|
|
375
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
376
|
+
const localVarOperationServerBasePath = operationServerMap['AiArchivingAdminControllerApi.run1']?.[localVarOperationServerIndex]?.url;
|
|
377
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
378
|
+
},
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @summary List archiving schedules
|
|
382
|
+
* @param {*} [options] Override http request option.
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
*/
|
|
385
|
+
async schedules(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ArchivingScheduleView>>> {
|
|
386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.schedules(options);
|
|
387
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
388
|
+
const localVarOperationServerBasePath = operationServerMap['AiArchivingAdminControllerApi.schedules']?.[localVarOperationServerIndex]?.url;
|
|
389
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
390
|
+
},
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @summary Update an archiving schedule
|
|
394
|
+
* @param {string} id
|
|
395
|
+
* @param {ArchivingScheduleRequest} archivingScheduleRequest
|
|
396
|
+
* @param {*} [options] Override http request option.
|
|
397
|
+
* @throws {RequiredError}
|
|
398
|
+
*/
|
|
399
|
+
async update4(id: string, archivingScheduleRequest: ArchivingScheduleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArchivingScheduleView>> {
|
|
400
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.update4(id, archivingScheduleRequest, options);
|
|
401
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
402
|
+
const localVarOperationServerBasePath = operationServerMap['AiArchivingAdminControllerApi.update4']?.[localVarOperationServerIndex]?.url;
|
|
403
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
404
|
+
},
|
|
405
|
+
}
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* AiArchivingAdminControllerApi - factory interface
|
|
410
|
+
*/
|
|
411
|
+
export const AiArchivingAdminControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
412
|
+
const localVarFp = AiArchivingAdminControllerApiFp(configuration)
|
|
413
|
+
return {
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @summary Create an archiving schedule
|
|
417
|
+
* @param {ArchivingScheduleRequest} archivingScheduleRequest
|
|
418
|
+
* @param {*} [options] Override http request option.
|
|
419
|
+
* @throws {RequiredError}
|
|
420
|
+
*/
|
|
421
|
+
create4(archivingScheduleRequest: ArchivingScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ArchivingScheduleView> {
|
|
422
|
+
return localVarFp.create4(archivingScheduleRequest, options).then((request) => request(axios, basePath));
|
|
423
|
+
},
|
|
424
|
+
/**
|
|
425
|
+
*
|
|
426
|
+
* @summary Delete an archiving schedule
|
|
427
|
+
* @param {string} id
|
|
428
|
+
* @param {*} [options] Override http request option.
|
|
429
|
+
* @throws {RequiredError}
|
|
430
|
+
*/
|
|
431
|
+
delete3(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
432
|
+
return localVarFp.delete3(id, options).then((request) => request(axios, basePath));
|
|
433
|
+
},
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @summary Get an archiving schedule
|
|
437
|
+
* @param {string} id
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
get7(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ArchivingScheduleView> {
|
|
442
|
+
return localVarFp.get7(id, options).then((request) => request(axios, basePath));
|
|
443
|
+
},
|
|
444
|
+
/**
|
|
445
|
+
* Selects the active documents under the root untouched for N months (legal hold excluded, capped) and creates a PROPOSED reorganisation plan as ownerEmail. Nothing is moved.
|
|
446
|
+
* @summary Propose an archiving plan now (admin only)
|
|
447
|
+
* @param {ArchivingProposalRequest} archivingProposalRequest
|
|
448
|
+
* @param {*} [options] Override http request option.
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
*/
|
|
451
|
+
propose(archivingProposalRequest: ArchivingProposalRequest, options?: RawAxiosRequestConfig): AxiosPromise<ArchivingProposalResult> {
|
|
452
|
+
return localVarFp.propose(archivingProposalRequest, options).then((request) => request(axios, basePath));
|
|
453
|
+
},
|
|
454
|
+
/**
|
|
455
|
+
* Produces one PROPOSED plan for the schedule\'s owner and records the outcome on the schedule.
|
|
456
|
+
* @summary Run an archiving schedule now
|
|
457
|
+
* @param {string} id
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
run1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ArchivingProposalResult> {
|
|
462
|
+
return localVarFp.run1(id, options).then((request) => request(axios, basePath));
|
|
463
|
+
},
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @summary List archiving schedules
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
schedules(options?: RawAxiosRequestConfig): AxiosPromise<Array<ArchivingScheduleView>> {
|
|
471
|
+
return localVarFp.schedules(options).then((request) => request(axios, basePath));
|
|
472
|
+
},
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* @summary Update an archiving schedule
|
|
476
|
+
* @param {string} id
|
|
477
|
+
* @param {ArchivingScheduleRequest} archivingScheduleRequest
|
|
478
|
+
* @param {*} [options] Override http request option.
|
|
479
|
+
* @throws {RequiredError}
|
|
480
|
+
*/
|
|
481
|
+
update4(id: string, archivingScheduleRequest: ArchivingScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ArchivingScheduleView> {
|
|
482
|
+
return localVarFp.update4(id, archivingScheduleRequest, options).then((request) => request(axios, basePath));
|
|
483
|
+
},
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* AiArchivingAdminControllerApi - object-oriented interface
|
|
489
|
+
*/
|
|
490
|
+
export class AiArchivingAdminControllerApi extends BaseAPI {
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @summary Create an archiving schedule
|
|
494
|
+
* @param {ArchivingScheduleRequest} archivingScheduleRequest
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
public create4(archivingScheduleRequest: ArchivingScheduleRequest, options?: RawAxiosRequestConfig) {
|
|
499
|
+
return AiArchivingAdminControllerApiFp(this.configuration).create4(archivingScheduleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @summary Delete an archiving schedule
|
|
505
|
+
* @param {string} id
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
*/
|
|
509
|
+
public delete3(id: string, options?: RawAxiosRequestConfig) {
|
|
510
|
+
return AiArchivingAdminControllerApiFp(this.configuration).delete3(id, options).then((request) => request(this.axios, this.basePath));
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @summary Get an archiving schedule
|
|
516
|
+
* @param {string} id
|
|
517
|
+
* @param {*} [options] Override http request option.
|
|
518
|
+
* @throws {RequiredError}
|
|
519
|
+
*/
|
|
520
|
+
public get7(id: string, options?: RawAxiosRequestConfig) {
|
|
521
|
+
return AiArchivingAdminControllerApiFp(this.configuration).get7(id, options).then((request) => request(this.axios, this.basePath));
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Selects the active documents under the root untouched for N months (legal hold excluded, capped) and creates a PROPOSED reorganisation plan as ownerEmail. Nothing is moved.
|
|
526
|
+
* @summary Propose an archiving plan now (admin only)
|
|
527
|
+
* @param {ArchivingProposalRequest} archivingProposalRequest
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
public propose(archivingProposalRequest: ArchivingProposalRequest, options?: RawAxiosRequestConfig) {
|
|
532
|
+
return AiArchivingAdminControllerApiFp(this.configuration).propose(archivingProposalRequest, options).then((request) => request(this.axios, this.basePath));
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Produces one PROPOSED plan for the schedule\'s owner and records the outcome on the schedule.
|
|
537
|
+
* @summary Run an archiving schedule now
|
|
538
|
+
* @param {string} id
|
|
539
|
+
* @param {*} [options] Override http request option.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
*/
|
|
542
|
+
public run1(id: string, options?: RawAxiosRequestConfig) {
|
|
543
|
+
return AiArchivingAdminControllerApiFp(this.configuration).run1(id, options).then((request) => request(this.axios, this.basePath));
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @summary List archiving schedules
|
|
549
|
+
* @param {*} [options] Override http request option.
|
|
550
|
+
* @throws {RequiredError}
|
|
551
|
+
*/
|
|
552
|
+
public schedules(options?: RawAxiosRequestConfig) {
|
|
553
|
+
return AiArchivingAdminControllerApiFp(this.configuration).schedules(options).then((request) => request(this.axios, this.basePath));
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @summary Update an archiving schedule
|
|
559
|
+
* @param {string} id
|
|
560
|
+
* @param {ArchivingScheduleRequest} archivingScheduleRequest
|
|
561
|
+
* @param {*} [options] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
*/
|
|
564
|
+
public update4(id: string, archivingScheduleRequest: ArchivingScheduleRequest, options?: RawAxiosRequestConfig) {
|
|
565
|
+
return AiArchivingAdminControllerApiFp(this.configuration).update4(id, archivingScheduleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|