@openfilz-sdk/typescript-ee 1.9.11 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +82 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +75 -5
- package/api/ai-analytics-admin-controller-api.ts +137 -0
- package/api/ai-archiving-admin-controller-api.ts +568 -0
- package/api/ai-cloud-usage-admin-controller-api.ts +121 -0
- package/api/aichat-api.ts +9 -9
- package/api/aidirectory-api.ts +121 -0
- package/api/aifiling-rules-api.ts +585 -0
- package/api/aigovernance-api.ts +194 -0
- package/api/aitaxonomy-api.ts +345 -0
- package/api/aiteam-inboxes-api.ts +491 -0
- package/api/archive-controller-api.ts +440 -0
- package/api/collaboration-audit-controller-api.ts +67 -0
- package/api/document-controller-api.ts +74 -0
- package/api/document-insights-api.ts +71 -4
- package/api/esign-api.ts +9 -9
- package/api/esign-enterprise-api.ts +9 -9
- package/api/settings-api.ts +18 -11
- package/api/smart-filing-api.ts +73 -0
- package/api.ts +9 -0
- package/dist/api/ai-analytics-admin-controller-api.d.ts +71 -0
- package/dist/api/ai-analytics-admin-controller-api.js +139 -0
- package/dist/api/ai-archiving-admin-controller-api.d.ts +262 -0
- package/dist/api/ai-archiving-admin-controller-api.js +548 -0
- package/dist/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
- package/dist/api/ai-cloud-usage-admin-controller-api.js +125 -0
- package/dist/api/aichat-api.d.ts +4 -4
- package/dist/api/aichat-api.js +9 -9
- package/dist/api/aidirectory-api.d.ts +63 -0
- package/dist/api/aidirectory-api.js +125 -0
- package/dist/api/aifiling-rules-api.d.ts +271 -0
- package/dist/api/aifiling-rules-api.js +562 -0
- package/dist/api/aigovernance-api.d.ts +95 -0
- package/dist/api/aigovernance-api.js +195 -0
- package/dist/api/aitaxonomy-api.d.ts +162 -0
- package/dist/api/aitaxonomy-api.js +334 -0
- package/dist/api/aiteam-inboxes-api.d.ts +228 -0
- package/dist/api/aiteam-inboxes-api.js +478 -0
- package/dist/api/archive-controller-api.d.ts +239 -0
- package/dist/api/archive-controller-api.js +430 -0
- package/dist/api/collaboration-audit-controller-api.d.ts +29 -0
- package/dist/api/collaboration-audit-controller-api.js +62 -0
- package/dist/api/document-controller-api.d.ts +33 -0
- package/dist/api/document-controller-api.js +69 -0
- package/dist/api/document-insights-api.d.ts +33 -4
- package/dist/api/document-insights-api.js +66 -4
- package/dist/api/esign-api.d.ts +4 -4
- package/dist/api/esign-api.js +9 -9
- package/dist/api/esign-enterprise-api.d.ts +4 -4
- package/dist/api/esign-enterprise-api.js +9 -9
- package/dist/api/settings-api.d.ts +12 -8
- package/dist/api/settings-api.js +18 -11
- package/dist/api/smart-filing-api.d.ts +33 -0
- package/dist/api/smart-filing-api.js +68 -0
- package/dist/api.d.ts +9 -0
- package/dist/api.js +9 -0
- package/dist/esm/api/ai-analytics-admin-controller-api.d.ts +71 -0
- package/dist/esm/api/ai-analytics-admin-controller-api.js +132 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +262 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.js +541 -0
- package/dist/esm/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
- package/dist/esm/api/ai-cloud-usage-admin-controller-api.js +118 -0
- package/dist/esm/api/aichat-api.d.ts +4 -4
- package/dist/esm/api/aichat-api.js +9 -9
- package/dist/esm/api/aidirectory-api.d.ts +63 -0
- package/dist/esm/api/aidirectory-api.js +118 -0
- package/dist/esm/api/aifiling-rules-api.d.ts +271 -0
- package/dist/esm/api/aifiling-rules-api.js +555 -0
- package/dist/esm/api/aigovernance-api.d.ts +95 -0
- package/dist/esm/api/aigovernance-api.js +188 -0
- package/dist/esm/api/aitaxonomy-api.d.ts +162 -0
- package/dist/esm/api/aitaxonomy-api.js +327 -0
- package/dist/esm/api/aiteam-inboxes-api.d.ts +228 -0
- package/dist/esm/api/aiteam-inboxes-api.js +471 -0
- package/dist/esm/api/archive-controller-api.d.ts +239 -0
- package/dist/esm/api/archive-controller-api.js +423 -0
- package/dist/esm/api/collaboration-audit-controller-api.d.ts +29 -0
- package/dist/esm/api/collaboration-audit-controller-api.js +62 -0
- package/dist/esm/api/document-controller-api.d.ts +33 -0
- package/dist/esm/api/document-controller-api.js +69 -0
- package/dist/esm/api/document-insights-api.d.ts +33 -4
- package/dist/esm/api/document-insights-api.js +66 -4
- package/dist/esm/api/esign-api.d.ts +4 -4
- package/dist/esm/api/esign-api.js +9 -9
- package/dist/esm/api/esign-enterprise-api.d.ts +4 -4
- package/dist/esm/api/esign-enterprise-api.js +9 -9
- package/dist/esm/api/settings-api.d.ts +12 -8
- package/dist/esm/api/settings-api.js +18 -11
- package/dist/esm/api/smart-filing-api.d.ts +33 -0
- package/dist/esm/api/smart-filing-api.js +68 -0
- package/dist/esm/api.d.ts +9 -0
- package/dist/esm/api.js +9 -0
- package/dist/esm/models/ai-analytics-view.d.ts +25 -0
- package/dist/esm/models/ai-analytics-view.js +14 -0
- package/dist/esm/models/ai-cloud-usage-view.d.ts +33 -0
- package/dist/esm/models/ai-cloud-usage-view.js +19 -0
- package/dist/esm/models/ai-governance-settings.d.ts +22 -0
- package/dist/esm/models/ai-governance-settings.js +14 -0
- package/dist/esm/models/ai-preferences-view.d.ts +3 -0
- package/dist/esm/models/ai-taxonomy-category.d.ts +19 -0
- package/dist/esm/models/ai-taxonomy-category.js +14 -0
- package/dist/esm/models/ai-taxonomy-rename-request.d.ts +16 -0
- package/dist/esm/models/ai-taxonomy-rename-request.js +14 -0
- package/dist/esm/models/ai-taxonomy-rename-result.d.ts +17 -0
- package/dist/esm/models/ai-taxonomy-rename-result.js +14 -0
- package/dist/esm/models/ai-taxonomy-view.d.ts +16 -0
- package/dist/esm/models/ai-taxonomy-view.js +14 -0
- package/dist/esm/models/archive-preflight.d.ts +38 -0
- package/dist/esm/models/archive-preflight.js +14 -0
- package/dist/esm/models/archiving-proposal-request.d.ts +19 -0
- package/dist/esm/models/archiving-proposal-request.js +14 -0
- package/dist/esm/models/archiving-proposal-result.d.ts +19 -0
- package/dist/esm/models/archiving-proposal-result.js +14 -0
- package/dist/esm/models/archiving-schedule-request.d.ts +22 -0
- package/dist/esm/models/archiving-schedule-request.js +14 -0
- package/dist/esm/models/archiving-schedule-view.d.ts +29 -0
- package/dist/esm/models/archiving-schedule-view.js +14 -0
- package/dist/esm/models/audit-integrity-status-response.d.ts +37 -0
- package/dist/esm/models/audit-integrity-status-response.js +14 -0
- package/dist/esm/models/auto-file-inbox-request.d.ts +14 -0
- package/dist/esm/models/auto-file-inbox-request.js +14 -0
- package/dist/esm/models/consume-delegated-grant-request.d.ts +1 -1
- package/dist/esm/models/corrections.d.ts +16 -0
- package/dist/esm/models/corrections.js +14 -0
- package/dist/esm/models/create-delegated-grant-request.d.ts +2 -1
- package/dist/esm/models/create-delegated-grant-request.js +1 -0
- package/dist/esm/models/day-count.d.ts +16 -0
- package/dist/esm/models/day-count.js +14 -0
- package/dist/esm/models/delegated-grant-dto.d.ts +1 -0
- package/dist/esm/models/delegated-grant-dto.js +1 -0
- package/dist/esm/models/document-integrity-record.d.ts +23 -0
- package/dist/esm/models/document-integrity-record.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +3 -0
- package/dist/esm/models/enriched-audit-log.js +3 -0
- package/dist/esm/models/facet.d.ts +15 -0
- package/dist/esm/models/facet.js +14 -0
- package/dist/esm/models/filing-rule-event-view.d.ts +19 -0
- package/dist/esm/models/filing-rule-event-view.js +14 -0
- package/dist/esm/models/filing-rule-request.d.ts +47 -0
- package/dist/esm/models/filing-rule-request.js +14 -0
- package/dist/esm/models/filing-rule-test-request.d.ts +14 -0
- package/dist/esm/models/filing-rule-test-request.js +14 -0
- package/dist/esm/models/filing-rule-test-result.d.ts +22 -0
- package/dist/esm/models/filing-rule-test-result.js +14 -0
- package/dist/esm/models/filing-rule-view.d.ts +30 -0
- package/dist/esm/models/filing-rule-view.js +14 -0
- package/dist/esm/models/filing.d.ts +24 -0
- package/dist/esm/models/filing.js +14 -0
- package/dist/esm/models/foreign-item.d.ts +19 -0
- package/dist/esm/models/foreign-item.js +14 -0
- package/dist/esm/models/index.d.ts +32 -0
- package/dist/esm/models/index.js +32 -0
- package/dist/esm/models/insight-facets.d.ts +16 -0
- package/dist/esm/models/insight-facets.js +14 -0
- package/dist/esm/models/insights.d.ts +21 -0
- package/dist/esm/models/insights.js +14 -0
- package/dist/esm/models/key-count.d.ts +15 -0
- package/dist/esm/models/key-count.js +14 -0
- package/dist/esm/models/save-ai-preferences-request.d.ts +1 -0
- package/dist/esm/models/scan-request-dto.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.js +3 -0
- package/dist/esm/models/settings.d.ts +1 -0
- package/dist/esm/models/team-inbox-request.d.ts +24 -0
- package/dist/esm/models/team-inbox-request.js +14 -0
- package/dist/esm/models/team-inbox-view.d.ts +31 -0
- package/dist/esm/models/team-inbox-view.js +14 -0
- package/dist/esm/models/team-option-view.d.ts +25 -0
- package/dist/esm/models/team-option-view.js +14 -0
- package/dist/esm/models/untouched.d.ts +16 -0
- package/dist/esm/models/untouched.js +14 -0
- package/dist/models/ai-analytics-view.d.ts +25 -0
- package/dist/models/ai-analytics-view.js +15 -0
- package/dist/models/ai-cloud-usage-view.d.ts +33 -0
- package/dist/models/ai-cloud-usage-view.js +22 -0
- package/dist/models/ai-governance-settings.d.ts +22 -0
- package/dist/models/ai-governance-settings.js +15 -0
- package/dist/models/ai-preferences-view.d.ts +3 -0
- package/dist/models/ai-taxonomy-category.d.ts +19 -0
- package/dist/models/ai-taxonomy-category.js +15 -0
- package/dist/models/ai-taxonomy-rename-request.d.ts +16 -0
- package/dist/models/ai-taxonomy-rename-request.js +15 -0
- package/dist/models/ai-taxonomy-rename-result.d.ts +17 -0
- package/dist/models/ai-taxonomy-rename-result.js +15 -0
- package/dist/models/ai-taxonomy-view.d.ts +16 -0
- package/dist/models/ai-taxonomy-view.js +15 -0
- package/dist/models/archive-preflight.d.ts +38 -0
- package/dist/models/archive-preflight.js +15 -0
- package/dist/models/archiving-proposal-request.d.ts +19 -0
- package/dist/models/archiving-proposal-request.js +15 -0
- package/dist/models/archiving-proposal-result.d.ts +19 -0
- package/dist/models/archiving-proposal-result.js +15 -0
- package/dist/models/archiving-schedule-request.d.ts +22 -0
- package/dist/models/archiving-schedule-request.js +15 -0
- package/dist/models/archiving-schedule-view.d.ts +29 -0
- package/dist/models/archiving-schedule-view.js +15 -0
- package/dist/models/audit-integrity-status-response.d.ts +37 -0
- package/dist/models/audit-integrity-status-response.js +15 -0
- package/dist/models/auto-file-inbox-request.d.ts +14 -0
- package/dist/models/auto-file-inbox-request.js +15 -0
- package/dist/models/consume-delegated-grant-request.d.ts +1 -1
- package/dist/models/corrections.d.ts +16 -0
- package/dist/models/corrections.js +15 -0
- package/dist/models/create-delegated-grant-request.d.ts +2 -1
- package/dist/models/create-delegated-grant-request.js +1 -0
- package/dist/models/day-count.d.ts +16 -0
- package/dist/models/day-count.js +15 -0
- package/dist/models/delegated-grant-dto.d.ts +1 -0
- package/dist/models/delegated-grant-dto.js +1 -0
- package/dist/models/document-integrity-record.d.ts +23 -0
- package/dist/models/document-integrity-record.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +3 -0
- package/dist/models/enriched-audit-log.js +3 -0
- package/dist/models/facet.d.ts +15 -0
- package/dist/models/facet.js +15 -0
- package/dist/models/filing-rule-event-view.d.ts +19 -0
- package/dist/models/filing-rule-event-view.js +15 -0
- package/dist/models/filing-rule-request.d.ts +47 -0
- package/dist/models/filing-rule-request.js +15 -0
- package/dist/models/filing-rule-test-request.d.ts +14 -0
- package/dist/models/filing-rule-test-request.js +15 -0
- package/dist/models/filing-rule-test-result.d.ts +22 -0
- package/dist/models/filing-rule-test-result.js +15 -0
- package/dist/models/filing-rule-view.d.ts +30 -0
- package/dist/models/filing-rule-view.js +15 -0
- package/dist/models/filing.d.ts +24 -0
- package/dist/models/filing.js +15 -0
- package/dist/models/foreign-item.d.ts +19 -0
- package/dist/models/foreign-item.js +15 -0
- package/dist/models/index.d.ts +32 -0
- package/dist/models/index.js +32 -0
- package/dist/models/insight-facets.d.ts +16 -0
- package/dist/models/insight-facets.js +15 -0
- package/dist/models/insights.d.ts +21 -0
- package/dist/models/insights.js +15 -0
- package/dist/models/key-count.d.ts +15 -0
- package/dist/models/key-count.js +15 -0
- package/dist/models/save-ai-preferences-request.d.ts +1 -0
- package/dist/models/scan-request-dto.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.js +3 -0
- package/dist/models/settings.d.ts +1 -0
- package/dist/models/team-inbox-request.d.ts +24 -0
- package/dist/models/team-inbox-request.js +15 -0
- package/dist/models/team-inbox-view.d.ts +31 -0
- package/dist/models/team-inbox-view.js +15 -0
- package/dist/models/team-option-view.d.ts +25 -0
- package/dist/models/team-option-view.js +15 -0
- package/dist/models/untouched.d.ts +16 -0
- package/dist/models/untouched.js +15 -0
- package/docs/AIChatApi.md +4 -4
- package/docs/AIDirectoryApi.md +51 -0
- package/docs/AIFilingRulesApi.md +371 -0
- package/docs/AIGovernanceApi.md +104 -0
- package/docs/AITaxonomyApi.md +204 -0
- package/docs/AITeamInboxesApi.md +313 -0
- package/docs/AiAnalyticsAdminControllerApi.md +62 -0
- package/docs/AiAnalyticsView.md +32 -0
- package/docs/AiArchivingAdminControllerApi.md +365 -0
- package/docs/AiCloudUsageAdminControllerApi.md +52 -0
- package/docs/AiCloudUsageView.md +44 -0
- package/docs/AiGovernanceSettings.md +36 -0
- package/docs/AiPreferencesView.md +6 -0
- package/docs/AiTaxonomyCategory.md +30 -0
- package/docs/AiTaxonomyRenameRequest.md +24 -0
- package/docs/AiTaxonomyRenameResult.md +26 -0
- package/docs/AiTaxonomyView.md +22 -0
- package/docs/ArchiveControllerApi.md +276 -0
- package/docs/ArchivePreflight.md +29 -0
- package/docs/ArchivingProposalRequest.md +30 -0
- package/docs/ArchivingProposalResult.md +30 -0
- package/docs/ArchivingScheduleRequest.md +36 -0
- package/docs/ArchivingScheduleView.md +50 -0
- package/docs/AuditIntegrityStatusResponse.md +29 -0
- package/docs/AutoFileInboxRequest.md +20 -0
- package/docs/CollaborationAuditControllerApi.md +45 -0
- package/docs/ConsumeDelegatedGrantRequest.md +1 -1
- package/docs/Corrections.md +24 -0
- package/docs/CreateDelegatedGrantRequest.md +1 -1
- package/docs/DayCount.md +24 -0
- package/docs/DocumentControllerApi.md +52 -0
- package/docs/DocumentInsightsApi.md +46 -1
- package/docs/DocumentIntegrityRecord.md +33 -0
- package/docs/ESignApi.md +4 -4
- package/docs/ESignEnterpriseApi.md +4 -4
- package/docs/Facet.md +22 -0
- package/docs/Filing.md +32 -0
- package/docs/FilingRuleEventView.md +30 -0
- package/docs/FilingRuleRequest.md +44 -0
- package/docs/FilingRuleTestRequest.md +20 -0
- package/docs/FilingRuleTestResult.md +36 -0
- package/docs/FilingRuleView.md +52 -0
- package/docs/ForeignItem.md +25 -0
- package/docs/InsightFacets.md +22 -0
- package/docs/Insights.md +34 -0
- package/docs/KeyCount.md +22 -0
- package/docs/SaveAiPreferencesRequest.md +2 -0
- package/docs/ScanRequestDto.md +6 -0
- package/docs/Settings.md +2 -0
- package/docs/SettingsApi.md +5 -2
- package/docs/SmartFilingApi.md +53 -0
- package/docs/TeamInboxRequest.md +34 -0
- package/docs/TeamInboxView.md +54 -0
- package/docs/TeamOptionView.md +24 -0
- package/docs/Untouched.md +24 -0
- package/graphql/document-search.graphqls +4 -0
- package/graphql/document.graphqls +4 -0
- package/models/ai-analytics-view.ts +41 -0
- package/models/ai-cloud-usage-view.ts +42 -0
- package/models/ai-governance-settings.ts +28 -0
- package/models/ai-preferences-view.ts +3 -0
- package/models/ai-taxonomy-category.ts +25 -0
- package/models/ai-taxonomy-rename-request.ts +22 -0
- package/models/ai-taxonomy-rename-result.ts +23 -0
- package/models/ai-taxonomy-view.ts +24 -0
- package/models/archive-preflight.ts +48 -0
- package/models/archiving-proposal-request.ts +25 -0
- package/models/archiving-proposal-result.ts +25 -0
- package/models/archiving-schedule-request.ts +28 -0
- package/models/archiving-schedule-view.ts +35 -0
- package/models/audit-integrity-status-response.ts +45 -0
- package/models/auto-file-inbox-request.ts +20 -0
- package/models/consume-delegated-grant-request.ts +1 -1
- package/models/corrections.ts +22 -0
- package/models/create-delegated-grant-request.ts +2 -1
- package/models/day-count.ts +22 -0
- package/models/delegated-grant-dto.ts +1 -0
- package/models/document-integrity-record.ts +29 -0
- package/models/enriched-audit-log.ts +3 -0
- package/models/facet.ts +21 -0
- package/models/filing-rule-event-view.ts +25 -0
- package/models/filing-rule-request.ts +53 -0
- package/models/filing-rule-test-request.ts +20 -0
- package/models/filing-rule-test-result.ts +28 -0
- package/models/filing-rule-view.ts +36 -0
- package/models/filing.ts +32 -0
- package/models/foreign-item.ts +25 -0
- package/models/index.ts +32 -0
- package/models/insight-facets.ts +24 -0
- package/models/insights.ts +27 -0
- package/models/key-count.ts +21 -0
- package/models/save-ai-preferences-request.ts +1 -0
- package/models/scan-request-dto.ts +3 -0
- package/models/search-by-audit-log-request.ts +3 -0
- package/models/settings.ts +1 -0
- package/models/team-inbox-request.ts +30 -0
- package/models/team-inbox-view.ts +37 -0
- package/models/team-option-view.ts +31 -0
- package/models/untouched.ts +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,491 @@
|
|
|
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 { TeamInboxRequest } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { TeamInboxView } from '../models';
|
|
28
|
+
/**
|
|
29
|
+
* AITeamInboxesApi - axios parameter creator
|
|
30
|
+
*/
|
|
31
|
+
export const AITeamInboxesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
* teamId must be a team, inboxFolderId an existing folder not already an inbox, targetRootFolderId (optional, null = the library root) a folder outside the inbox, technicalUserEmail an OpenFilz user.
|
|
35
|
+
* @summary Create a team inbox
|
|
36
|
+
* @param {TeamInboxRequest} teamInboxRequest
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
create2: async (teamInboxRequest: TeamInboxRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
|
+
// verify required parameter 'teamInboxRequest' is not null or undefined
|
|
42
|
+
assertParamExists('create2', 'teamInboxRequest', teamInboxRequest)
|
|
43
|
+
const localVarPath = `/api/v1/admin/ai/team-inboxes`;
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
if (configuration) {
|
|
48
|
+
baseOptions = configuration.baseOptions;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
52
|
+
const localVarHeaderParameter = {} as any;
|
|
53
|
+
const localVarQueryParameter = {} as any;
|
|
54
|
+
|
|
55
|
+
// authentication keycloak_auth required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
58
|
+
|
|
59
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
60
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
61
|
+
|
|
62
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65
|
+
localVarRequestOptions.data = serializeDataIfNeeded(teamInboxRequest, localVarRequestOptions, configuration)
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
url: toPathString(localVarUrlObj),
|
|
69
|
+
options: localVarRequestOptions,
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @summary Delete a team inbox (the folder and its documents stay)
|
|
75
|
+
* @param {string} id
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
delete1: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80
|
+
// verify required parameter 'id' is not null or undefined
|
|
81
|
+
assertParamExists('delete1', 'id', id)
|
|
82
|
+
const localVarPath = `/api/v1/admin/ai/team-inboxes/{id}`
|
|
83
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
84
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
86
|
+
let baseOptions;
|
|
87
|
+
if (configuration) {
|
|
88
|
+
baseOptions = configuration.baseOptions;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
92
|
+
const localVarHeaderParameter = {} as any;
|
|
93
|
+
const localVarQueryParameter = {} as any;
|
|
94
|
+
|
|
95
|
+
// authentication keycloak_auth required
|
|
96
|
+
// http bearer authentication required
|
|
97
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
101
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103
|
+
|
|
104
|
+
return {
|
|
105
|
+
url: toPathString(localVarUrlObj),
|
|
106
|
+
options: localVarRequestOptions,
|
|
107
|
+
};
|
|
108
|
+
},
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @summary One team inbox, with its warnings
|
|
112
|
+
* @param {string} id
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
get3: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117
|
+
// verify required parameter 'id' is not null or undefined
|
|
118
|
+
assertParamExists('get3', 'id', id)
|
|
119
|
+
const localVarPath = `/api/v1/admin/ai/team-inboxes/{id}`
|
|
120
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
121
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
122
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
123
|
+
let baseOptions;
|
|
124
|
+
if (configuration) {
|
|
125
|
+
baseOptions = configuration.baseOptions;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
129
|
+
const localVarHeaderParameter = {} as any;
|
|
130
|
+
const localVarQueryParameter = {} as any;
|
|
131
|
+
|
|
132
|
+
// authentication keycloak_auth required
|
|
133
|
+
// http bearer authentication required
|
|
134
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
135
|
+
|
|
136
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
137
|
+
|
|
138
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
139
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
141
|
+
|
|
142
|
+
return {
|
|
143
|
+
url: toPathString(localVarUrlObj),
|
|
144
|
+
options: localVarRequestOptions,
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @summary List the team inboxes
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
list2: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
154
|
+
const localVarPath = `/api/v1/admin/ai/team-inboxes`;
|
|
155
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
156
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
157
|
+
let baseOptions;
|
|
158
|
+
if (configuration) {
|
|
159
|
+
baseOptions = configuration.baseOptions;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
163
|
+
const localVarHeaderParameter = {} as any;
|
|
164
|
+
const localVarQueryParameter = {} as any;
|
|
165
|
+
|
|
166
|
+
// authentication keycloak_auth required
|
|
167
|
+
// http bearer authentication required
|
|
168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
169
|
+
|
|
170
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
171
|
+
|
|
172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
175
|
+
|
|
176
|
+
return {
|
|
177
|
+
url: toPathString(localVarUrlObj),
|
|
178
|
+
options: localVarRequestOptions,
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
* Schedules one smart-filing job for every file lying loose in the inbox, as the technical user, whatever the inbox\'s interval, and returns the inbox with its lastRunAt / lastJobId. 400 when the inbox is disabled or smart filing is off.
|
|
183
|
+
* @summary File the inbox now
|
|
184
|
+
* @param {string} id
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
run: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
189
|
+
// verify required parameter 'id' is not null or undefined
|
|
190
|
+
assertParamExists('run', 'id', id)
|
|
191
|
+
const localVarPath = `/api/v1/admin/ai/team-inboxes/{id}/run`
|
|
192
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
195
|
+
let baseOptions;
|
|
196
|
+
if (configuration) {
|
|
197
|
+
baseOptions = configuration.baseOptions;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
201
|
+
const localVarHeaderParameter = {} as any;
|
|
202
|
+
const localVarQueryParameter = {} as any;
|
|
203
|
+
|
|
204
|
+
// authentication keycloak_auth required
|
|
205
|
+
// http bearer authentication required
|
|
206
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
207
|
+
|
|
208
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
209
|
+
|
|
210
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
211
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
212
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
213
|
+
|
|
214
|
+
return {
|
|
215
|
+
url: toPathString(localVarUrlObj),
|
|
216
|
+
options: localVarRequestOptions,
|
|
217
|
+
};
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @summary Replace a team inbox
|
|
222
|
+
* @param {string} id
|
|
223
|
+
* @param {TeamInboxRequest} teamInboxRequest
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
update2: async (id: string, teamInboxRequest: TeamInboxRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
228
|
+
// verify required parameter 'id' is not null or undefined
|
|
229
|
+
assertParamExists('update2', 'id', id)
|
|
230
|
+
// verify required parameter 'teamInboxRequest' is not null or undefined
|
|
231
|
+
assertParamExists('update2', 'teamInboxRequest', teamInboxRequest)
|
|
232
|
+
const localVarPath = `/api/v1/admin/ai/team-inboxes/{id}`
|
|
233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
234
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
236
|
+
let baseOptions;
|
|
237
|
+
if (configuration) {
|
|
238
|
+
baseOptions = configuration.baseOptions;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
242
|
+
const localVarHeaderParameter = {} as any;
|
|
243
|
+
const localVarQueryParameter = {} as any;
|
|
244
|
+
|
|
245
|
+
// authentication keycloak_auth required
|
|
246
|
+
// http bearer authentication required
|
|
247
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
248
|
+
|
|
249
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
250
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
251
|
+
|
|
252
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
253
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
255
|
+
localVarRequestOptions.data = serializeDataIfNeeded(teamInboxRequest, localVarRequestOptions, configuration)
|
|
256
|
+
|
|
257
|
+
return {
|
|
258
|
+
url: toPathString(localVarUrlObj),
|
|
259
|
+
options: localVarRequestOptions,
|
|
260
|
+
};
|
|
261
|
+
},
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* AITeamInboxesApi - functional programming interface
|
|
267
|
+
*/
|
|
268
|
+
export const AITeamInboxesApiFp = function(configuration?: Configuration) {
|
|
269
|
+
const localVarAxiosParamCreator = AITeamInboxesApiAxiosParamCreator(configuration)
|
|
270
|
+
return {
|
|
271
|
+
/**
|
|
272
|
+
* teamId must be a team, inboxFolderId an existing folder not already an inbox, targetRootFolderId (optional, null = the library root) a folder outside the inbox, technicalUserEmail an OpenFilz user.
|
|
273
|
+
* @summary Create a team inbox
|
|
274
|
+
* @param {TeamInboxRequest} teamInboxRequest
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
async create2(teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamInboxView>> {
|
|
279
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.create2(teamInboxRequest, options);
|
|
280
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
281
|
+
const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.create2']?.[localVarOperationServerIndex]?.url;
|
|
282
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
283
|
+
},
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @summary Delete a team inbox (the folder and its documents stay)
|
|
287
|
+
* @param {string} id
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
async delete1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
292
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.delete1(id, options);
|
|
293
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
294
|
+
const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.delete1']?.[localVarOperationServerIndex]?.url;
|
|
295
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
296
|
+
},
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @summary One team inbox, with its warnings
|
|
300
|
+
* @param {string} id
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
async get3(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamInboxView>> {
|
|
305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.get3(id, options);
|
|
306
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
307
|
+
const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.get3']?.[localVarOperationServerIndex]?.url;
|
|
308
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
309
|
+
},
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @summary List the team inboxes
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
async list2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TeamInboxView>>> {
|
|
317
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.list2(options);
|
|
318
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
319
|
+
const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.list2']?.[localVarOperationServerIndex]?.url;
|
|
320
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
* Schedules one smart-filing job for every file lying loose in the inbox, as the technical user, whatever the inbox\'s interval, and returns the inbox with its lastRunAt / lastJobId. 400 when the inbox is disabled or smart filing is off.
|
|
324
|
+
* @summary File the inbox now
|
|
325
|
+
* @param {string} id
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
async run(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamInboxView>> {
|
|
330
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.run(id, options);
|
|
331
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
332
|
+
const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.run']?.[localVarOperationServerIndex]?.url;
|
|
333
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
334
|
+
},
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @summary Replace a team inbox
|
|
338
|
+
* @param {string} id
|
|
339
|
+
* @param {TeamInboxRequest} teamInboxRequest
|
|
340
|
+
* @param {*} [options] Override http request option.
|
|
341
|
+
* @throws {RequiredError}
|
|
342
|
+
*/
|
|
343
|
+
async update2(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamInboxView>> {
|
|
344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.update2(id, teamInboxRequest, options);
|
|
345
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
346
|
+
const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.update2']?.[localVarOperationServerIndex]?.url;
|
|
347
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
348
|
+
},
|
|
349
|
+
}
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* AITeamInboxesApi - factory interface
|
|
354
|
+
*/
|
|
355
|
+
export const AITeamInboxesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
356
|
+
const localVarFp = AITeamInboxesApiFp(configuration)
|
|
357
|
+
return {
|
|
358
|
+
/**
|
|
359
|
+
* teamId must be a team, inboxFolderId an existing folder not already an inbox, targetRootFolderId (optional, null = the library root) a folder outside the inbox, technicalUserEmail an OpenFilz user.
|
|
360
|
+
* @summary Create a team inbox
|
|
361
|
+
* @param {TeamInboxRequest} teamInboxRequest
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
*/
|
|
365
|
+
create2(teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): AxiosPromise<TeamInboxView> {
|
|
366
|
+
return localVarFp.create2(teamInboxRequest, options).then((request) => request(axios, basePath));
|
|
367
|
+
},
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @summary Delete a team inbox (the folder and its documents stay)
|
|
371
|
+
* @param {string} id
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
delete1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
376
|
+
return localVarFp.delete1(id, options).then((request) => request(axios, basePath));
|
|
377
|
+
},
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* @summary One team inbox, with its warnings
|
|
381
|
+
* @param {string} id
|
|
382
|
+
* @param {*} [options] Override http request option.
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
*/
|
|
385
|
+
get3(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TeamInboxView> {
|
|
386
|
+
return localVarFp.get3(id, options).then((request) => request(axios, basePath));
|
|
387
|
+
},
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @summary List the team inboxes
|
|
391
|
+
* @param {*} [options] Override http request option.
|
|
392
|
+
* @throws {RequiredError}
|
|
393
|
+
*/
|
|
394
|
+
list2(options?: RawAxiosRequestConfig): AxiosPromise<Array<TeamInboxView>> {
|
|
395
|
+
return localVarFp.list2(options).then((request) => request(axios, basePath));
|
|
396
|
+
},
|
|
397
|
+
/**
|
|
398
|
+
* Schedules one smart-filing job for every file lying loose in the inbox, as the technical user, whatever the inbox\'s interval, and returns the inbox with its lastRunAt / lastJobId. 400 when the inbox is disabled or smart filing is off.
|
|
399
|
+
* @summary File the inbox now
|
|
400
|
+
* @param {string} id
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
run(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TeamInboxView> {
|
|
405
|
+
return localVarFp.run(id, options).then((request) => request(axios, basePath));
|
|
406
|
+
},
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @summary Replace a team inbox
|
|
410
|
+
* @param {string} id
|
|
411
|
+
* @param {TeamInboxRequest} teamInboxRequest
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
*/
|
|
415
|
+
update2(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): AxiosPromise<TeamInboxView> {
|
|
416
|
+
return localVarFp.update2(id, teamInboxRequest, options).then((request) => request(axios, basePath));
|
|
417
|
+
},
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* AITeamInboxesApi - object-oriented interface
|
|
423
|
+
*/
|
|
424
|
+
export class AITeamInboxesApi extends BaseAPI {
|
|
425
|
+
/**
|
|
426
|
+
* teamId must be a team, inboxFolderId an existing folder not already an inbox, targetRootFolderId (optional, null = the library root) a folder outside the inbox, technicalUserEmail an OpenFilz user.
|
|
427
|
+
* @summary Create a team inbox
|
|
428
|
+
* @param {TeamInboxRequest} teamInboxRequest
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
public create2(teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig) {
|
|
433
|
+
return AITeamInboxesApiFp(this.configuration).create2(teamInboxRequest, options).then((request) => request(this.axios, this.basePath));
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
* @summary Delete a team inbox (the folder and its documents stay)
|
|
439
|
+
* @param {string} id
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
public delete1(id: string, options?: RawAxiosRequestConfig) {
|
|
444
|
+
return AITeamInboxesApiFp(this.configuration).delete1(id, options).then((request) => request(this.axios, this.basePath));
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @summary One team inbox, with its warnings
|
|
450
|
+
* @param {string} id
|
|
451
|
+
* @param {*} [options] Override http request option.
|
|
452
|
+
* @throws {RequiredError}
|
|
453
|
+
*/
|
|
454
|
+
public get3(id: string, options?: RawAxiosRequestConfig) {
|
|
455
|
+
return AITeamInboxesApiFp(this.configuration).get3(id, options).then((request) => request(this.axios, this.basePath));
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @summary List the team inboxes
|
|
461
|
+
* @param {*} [options] Override http request option.
|
|
462
|
+
* @throws {RequiredError}
|
|
463
|
+
*/
|
|
464
|
+
public list2(options?: RawAxiosRequestConfig) {
|
|
465
|
+
return AITeamInboxesApiFp(this.configuration).list2(options).then((request) => request(this.axios, this.basePath));
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Schedules one smart-filing job for every file lying loose in the inbox, as the technical user, whatever the inbox\'s interval, and returns the inbox with its lastRunAt / lastJobId. 400 when the inbox is disabled or smart filing is off.
|
|
470
|
+
* @summary File the inbox now
|
|
471
|
+
* @param {string} id
|
|
472
|
+
* @param {*} [options] Override http request option.
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
*/
|
|
475
|
+
public run(id: string, options?: RawAxiosRequestConfig) {
|
|
476
|
+
return AITeamInboxesApiFp(this.configuration).run(id, options).then((request) => request(this.axios, this.basePath));
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @summary Replace a team inbox
|
|
482
|
+
* @param {string} id
|
|
483
|
+
* @param {TeamInboxRequest} teamInboxRequest
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
public update2(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig) {
|
|
488
|
+
return AITeamInboxesApiFp(this.configuration).update2(id, teamInboxRequest, options).then((request) => request(this.axios, this.basePath));
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|