@openfilz-sdk/typescript-ee 1.9.5 → 1.9.7
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 +32 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +30 -3
- package/api/aichat-api.ts +228 -0
- package/api/document-controller-api.ts +30 -14
- package/api/document-insights-api.ts +275 -0
- package/api/esign-api.ts +9 -9
- package/api/settings-api.ts +142 -0
- package/api/smart-filing-api.ts +421 -0
- package/api.ts +2 -0
- package/dist/api/aichat-api.d.ts +103 -0
- package/dist/api/aichat-api.js +213 -0
- package/dist/api/document-controller-api.d.ts +16 -8
- package/dist/api/document-controller-api.js +28 -14
- package/dist/api/document-insights-api.d.ts +133 -0
- package/dist/api/document-insights-api.js +269 -0
- package/dist/api/esign-api.d.ts +4 -4
- package/dist/api/esign-api.js +9 -9
- package/dist/api/settings-api.d.ts +62 -0
- package/dist/api/settings-api.js +132 -0
- package/dist/api/smart-filing-api.d.ts +197 -0
- package/dist/api/smart-filing-api.js +409 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/aichat-api.d.ts +103 -0
- package/dist/esm/api/aichat-api.js +213 -0
- package/dist/esm/api/document-controller-api.d.ts +16 -8
- package/dist/esm/api/document-controller-api.js +28 -14
- package/dist/esm/api/document-insights-api.d.ts +133 -0
- package/dist/esm/api/document-insights-api.js +262 -0
- package/dist/esm/api/esign-api.d.ts +4 -4
- package/dist/esm/api/esign-api.js +9 -9
- package/dist/esm/api/settings-api.d.ts +62 -0
- package/dist/esm/api/settings-api.js +132 -0
- package/dist/esm/api/smart-filing-api.d.ts +197 -0
- package/dist/esm/api/smart-filing-api.js +402 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/ai-preferences-view.d.ts +16 -0
- package/dist/esm/models/ai-preferences-view.js +14 -0
- package/dist/esm/models/auto-file-job-view.d.ts +25 -0
- package/dist/esm/models/auto-file-job-view.js +14 -0
- package/dist/esm/models/auto-file-request.d.ts +15 -0
- package/dist/esm/models/auto-file-request.js +14 -0
- package/dist/esm/models/auto-file-ticket.d.ts +15 -0
- package/dist/esm/models/auto-file-ticket.js +14 -0
- package/dist/esm/models/document-insight-view.d.ts +33 -0
- package/dist/esm/models/document-insight-view.js +14 -0
- package/dist/esm/models/filing-outcome.d.ts +25 -0
- package/dist/esm/models/filing-outcome.js +14 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/models/insight-backfill-request.d.ts +15 -0
- package/dist/esm/models/insight-backfill-request.js +14 -0
- package/dist/esm/models/insight-backfill-status.d.ts +23 -0
- package/dist/esm/models/insight-backfill-status.js +14 -0
- package/dist/esm/models/item-result.d.ts +16 -0
- package/dist/esm/models/item-result.js +14 -0
- package/dist/esm/models/item.d.ts +21 -0
- package/dist/esm/models/item.js +14 -0
- package/dist/esm/models/reorganization-apply-request.d.ts +14 -0
- package/dist/esm/models/reorganization-apply-request.js +14 -0
- package/dist/esm/models/reorganization-apply-result.d.ts +22 -0
- package/dist/esm/models/reorganization-apply-result.js +14 -0
- package/dist/esm/models/reorganization-plan-view.d.ts +28 -0
- package/dist/esm/models/reorganization-plan-view.js +14 -0
- package/dist/esm/models/save-ai-preferences-request.d.ts +15 -0
- package/dist/esm/models/save-ai-preferences-request.js +14 -0
- package/dist/esm/models/settings.d.ts +2 -0
- package/dist/esm/models/tus-finalize-request.d.ts +1 -0
- package/dist/esm/models/upload-response.d.ts +2 -0
- package/dist/models/ai-preferences-view.d.ts +16 -0
- package/dist/models/ai-preferences-view.js +15 -0
- package/dist/models/auto-file-job-view.d.ts +25 -0
- package/dist/models/auto-file-job-view.js +15 -0
- package/dist/models/auto-file-request.d.ts +15 -0
- package/dist/models/auto-file-request.js +15 -0
- package/dist/models/auto-file-ticket.d.ts +15 -0
- package/dist/models/auto-file-ticket.js +15 -0
- package/dist/models/document-insight-view.d.ts +33 -0
- package/dist/models/document-insight-view.js +15 -0
- package/dist/models/filing-outcome.d.ts +25 -0
- package/dist/models/filing-outcome.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/insight-backfill-request.d.ts +15 -0
- package/dist/models/insight-backfill-request.js +15 -0
- package/dist/models/insight-backfill-status.d.ts +23 -0
- package/dist/models/insight-backfill-status.js +15 -0
- package/dist/models/item-result.d.ts +16 -0
- package/dist/models/item-result.js +15 -0
- package/dist/models/item.d.ts +21 -0
- package/dist/models/item.js +15 -0
- package/dist/models/reorganization-apply-request.d.ts +14 -0
- package/dist/models/reorganization-apply-request.js +15 -0
- package/dist/models/reorganization-apply-result.d.ts +22 -0
- package/dist/models/reorganization-apply-result.js +15 -0
- package/dist/models/reorganization-plan-view.d.ts +28 -0
- package/dist/models/reorganization-plan-view.js +15 -0
- package/dist/models/save-ai-preferences-request.d.ts +15 -0
- package/dist/models/save-ai-preferences-request.js +15 -0
- package/dist/models/settings.d.ts +2 -0
- package/dist/models/tus-finalize-request.d.ts +1 -0
- package/dist/models/upload-response.d.ts +2 -0
- package/docs/AIChatApi.md +159 -0
- package/docs/AiPreferencesView.md +24 -0
- package/docs/AutoFileJobView.md +40 -0
- package/docs/AutoFileRequest.md +22 -0
- package/docs/AutoFileTicket.md +22 -0
- package/docs/DocumentControllerApi.md +6 -0
- package/docs/DocumentInsightView.md +54 -0
- package/docs/DocumentInsightsApi.md +163 -0
- package/docs/ESignApi.md +4 -4
- package/docs/FilingOutcome.md +42 -0
- package/docs/InsightBackfillRequest.md +22 -0
- package/docs/InsightBackfillStatus.md +38 -0
- package/docs/Item.md +34 -0
- package/docs/ItemResult.md +24 -0
- package/docs/ReorganizationApplyRequest.md +20 -0
- package/docs/ReorganizationApplyResult.md +34 -0
- package/docs/ReorganizationPlanView.md +44 -0
- package/docs/SaveAiPreferencesRequest.md +22 -0
- package/docs/Settings.md +4 -0
- package/docs/SettingsApi.md +97 -0
- package/docs/SmartFilingApi.md +264 -0
- package/docs/TusFinalizeRequest.md +2 -0
- package/docs/UploadResponse.md +2 -0
- package/models/ai-preferences-view.ts +22 -0
- package/models/auto-file-job-view.ts +33 -0
- package/models/auto-file-request.ts +21 -0
- package/models/auto-file-ticket.ts +21 -0
- package/models/document-insight-view.ts +37 -0
- package/models/filing-outcome.ts +31 -0
- package/models/index.ts +14 -0
- package/models/insight-backfill-request.ts +21 -0
- package/models/insight-backfill-status.ts +29 -0
- package/models/item-result.ts +22 -0
- package/models/item.ts +27 -0
- package/models/reorganization-apply-request.ts +20 -0
- package/models/reorganization-apply-result.ts +30 -0
- package/models/reorganization-plan-view.ts +38 -0
- package/models/save-ai-preferences-request.ts +21 -0
- package/models/settings.ts +2 -0
- package/models/tus-finalize-request.ts +1 -0
- package/models/upload-response.ts +4 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -12,6 +12,7 @@ api/dashboard-api.ts
|
|
|
12
12
|
api/delegated-browse-grants-admin-api.ts
|
|
13
13
|
api/delegated-browse-grants-end-user-api.ts
|
|
14
14
|
api/document-controller-api.ts
|
|
15
|
+
api/document-insights-api.ts
|
|
15
16
|
api/document-suggestion-controller-api.ts
|
|
16
17
|
api/document-version-controller-api.ts
|
|
17
18
|
api/esign-api.ts
|
|
@@ -30,6 +31,7 @@ api/scan-agent-api.ts
|
|
|
30
31
|
api/scanner-proxy-api.ts
|
|
31
32
|
api/search-administration-api.ts
|
|
32
33
|
api/settings-api.ts
|
|
34
|
+
api/smart-filing-api.ts
|
|
33
35
|
api/tus-controller-api.ts
|
|
34
36
|
api/upload-token-controller-api.ts
|
|
35
37
|
api/user-privacy-api.ts
|
|
@@ -44,11 +46,15 @@ docs/AiChatRequest.md
|
|
|
44
46
|
docs/AiChatResponse.md
|
|
45
47
|
docs/AiConnectionTestResult.md
|
|
46
48
|
docs/AiModelsResponse.md
|
|
49
|
+
docs/AiPreferencesView.md
|
|
47
50
|
docs/AiSettingsResponse.md
|
|
48
51
|
docs/AncestorInfo.md
|
|
49
52
|
docs/ApplySignatureRequest.md
|
|
50
53
|
docs/AuditLogDetails.md
|
|
51
54
|
docs/AuditVerificationResult.md
|
|
55
|
+
docs/AutoFileJobView.md
|
|
56
|
+
docs/AutoFileRequest.md
|
|
57
|
+
docs/AutoFileTicket.md
|
|
52
58
|
docs/BrokenLink.md
|
|
53
59
|
docs/BulkRow.md
|
|
54
60
|
docs/BulkRowResult.md
|
|
@@ -84,6 +90,8 @@ docs/DeleteRequest.md
|
|
|
84
90
|
docs/DeleteShareRequest.md
|
|
85
91
|
docs/DocumentControllerApi.md
|
|
86
92
|
docs/DocumentInfo.md
|
|
93
|
+
docs/DocumentInsightView.md
|
|
94
|
+
docs/DocumentInsightsApi.md
|
|
87
95
|
docs/DocumentPosition.md
|
|
88
96
|
docs/DocumentSuggestionControllerApi.md
|
|
89
97
|
docs/DocumentVersionControllerApi.md
|
|
@@ -101,12 +109,17 @@ docs/FeatureEntitlement.md
|
|
|
101
109
|
docs/FeatureEntitlementsApi.md
|
|
102
110
|
docs/FileControllerApi.md
|
|
103
111
|
docs/FileTypeStats.md
|
|
112
|
+
docs/FilingOutcome.md
|
|
104
113
|
docs/FilterInput.md
|
|
105
114
|
docs/FolderControllerApi.md
|
|
106
115
|
docs/FolderElementInfo.md
|
|
107
116
|
docs/FolderResponse.md
|
|
108
117
|
docs/IngestionStatusDto.md
|
|
118
|
+
docs/InsightBackfillRequest.md
|
|
119
|
+
docs/InsightBackfillStatus.md
|
|
109
120
|
docs/InstantiateTemplateRequest.md
|
|
121
|
+
docs/Item.md
|
|
122
|
+
docs/ItemResult.md
|
|
110
123
|
docs/LicenseInfo.md
|
|
111
124
|
docs/ListAiModelsRequest.md
|
|
112
125
|
docs/McpAgentTokenInfo.md
|
|
@@ -134,12 +147,16 @@ docs/PdfTransformAudit.md
|
|
|
134
147
|
docs/PublicSignatureView.md
|
|
135
148
|
docs/RenameAudit.md
|
|
136
149
|
docs/RenameRequest.md
|
|
150
|
+
docs/ReorganizationApplyRequest.md
|
|
151
|
+
docs/ReorganizationApplyResult.md
|
|
152
|
+
docs/ReorganizationPlanView.md
|
|
137
153
|
docs/ReplaceAudit.md
|
|
138
154
|
docs/Response.md
|
|
139
155
|
docs/RestoreVersionAudit.md
|
|
140
156
|
docs/RestoreVersionResponse.md
|
|
141
157
|
docs/RoleBinding.md
|
|
142
158
|
docs/RotateRequest.md
|
|
159
|
+
docs/SaveAiPreferencesRequest.md
|
|
143
160
|
docs/SaveAiSettingsRequest.md
|
|
144
161
|
docs/ScanAgentApi.md
|
|
145
162
|
docs/ScanJobStatusDto.md
|
|
@@ -169,6 +186,7 @@ docs/SignatureTemplateDTO.md
|
|
|
169
186
|
docs/SignatureTemplateField.md
|
|
170
187
|
docs/SignatureTemplateRequest.md
|
|
171
188
|
docs/SignatureTemplateRole.md
|
|
189
|
+
docs/SmartFilingApi.md
|
|
172
190
|
docs/SortInput.md
|
|
173
191
|
docs/SplitOutput.md
|
|
174
192
|
docs/SplitRequest.md
|
|
@@ -202,11 +220,15 @@ models/ai-chat-request.ts
|
|
|
202
220
|
models/ai-chat-response.ts
|
|
203
221
|
models/ai-connection-test-result.ts
|
|
204
222
|
models/ai-models-response.ts
|
|
223
|
+
models/ai-preferences-view.ts
|
|
205
224
|
models/ai-settings-response.ts
|
|
206
225
|
models/ancestor-info.ts
|
|
207
226
|
models/apply-signature-request.ts
|
|
208
227
|
models/audit-log-details.ts
|
|
209
228
|
models/audit-verification-result.ts
|
|
229
|
+
models/auto-file-job-view.ts
|
|
230
|
+
models/auto-file-request.ts
|
|
231
|
+
models/auto-file-ticket.ts
|
|
210
232
|
models/broken-link.ts
|
|
211
233
|
models/bulk-row-result.ts
|
|
212
234
|
models/bulk-row.ts
|
|
@@ -235,6 +257,7 @@ models/delete-metadata-request.ts
|
|
|
235
257
|
models/delete-request.ts
|
|
236
258
|
models/delete-share-request.ts
|
|
237
259
|
models/document-info.ts
|
|
260
|
+
models/document-insight-view.ts
|
|
238
261
|
models/document-position.ts
|
|
239
262
|
models/document-version-info.ts
|
|
240
263
|
models/element-info.ts
|
|
@@ -243,12 +266,17 @@ models/enriched-audit-log-details.ts
|
|
|
243
266
|
models/enriched-audit-log.ts
|
|
244
267
|
models/feature-entitlement.ts
|
|
245
268
|
models/file-type-stats.ts
|
|
269
|
+
models/filing-outcome.ts
|
|
246
270
|
models/filter-input.ts
|
|
247
271
|
models/folder-element-info.ts
|
|
248
272
|
models/folder-response.ts
|
|
249
273
|
models/index.ts
|
|
250
274
|
models/ingestion-status-dto.ts
|
|
275
|
+
models/insight-backfill-request.ts
|
|
276
|
+
models/insight-backfill-status.ts
|
|
251
277
|
models/instantiate-template-request.ts
|
|
278
|
+
models/item-result.ts
|
|
279
|
+
models/item.ts
|
|
252
280
|
models/license-info.ts
|
|
253
281
|
models/list-ai-models-request.ts
|
|
254
282
|
models/mcp-agent-token-info.ts
|
|
@@ -272,12 +300,16 @@ models/pdf-transform-audit.ts
|
|
|
272
300
|
models/public-signature-view.ts
|
|
273
301
|
models/rename-audit.ts
|
|
274
302
|
models/rename-request.ts
|
|
303
|
+
models/reorganization-apply-request.ts
|
|
304
|
+
models/reorganization-apply-result.ts
|
|
305
|
+
models/reorganization-plan-view.ts
|
|
275
306
|
models/replace-audit.ts
|
|
276
307
|
models/response.ts
|
|
277
308
|
models/restore-version-audit.ts
|
|
278
309
|
models/restore-version-response.ts
|
|
279
310
|
models/role-binding.ts
|
|
280
311
|
models/rotate-request.ts
|
|
312
|
+
models/save-ai-preferences-request.ts
|
|
281
313
|
models/save-ai-settings-request.ts
|
|
282
314
|
models/scan-job-status-dto.ts
|
|
283
315
|
models/scan-request-dto.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ae1ec3aaf97f1fdfd8b0b5700b9c87eabe9527c1c2aecfd12fa72d2c2c9586c7
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript-ee@1.9.
|
|
1
|
+
## @openfilz-sdk/typescript-ee@1.9.7
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript-ee@1.9.
|
|
39
|
+
npm install @openfilz-sdk/typescript-ee@1.9.7 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -51,8 +51,11 @@ All URIs are relative to *http://localhost:8081*
|
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
+
*AIChatApi* | [**apply**](docs/AIChatApi.md#apply) | **POST** /api/v1/ai/reorganization/{planId}/apply | Apply a proposed reorganisation plan
|
|
54
55
|
*AIChatApi* | [**chat**](docs/AIChatApi.md#chat) | **POST** /api/v1/ai/chat | Chat with AI assistant
|
|
55
56
|
*AIChatApi* | [**deleteConversation**](docs/AIChatApi.md#deleteconversation) | **DELETE** /api/v1/ai/conversations/{conversationId} | Delete conversation
|
|
57
|
+
*AIChatApi* | [**discard**](docs/AIChatApi.md#discard) | **POST** /api/v1/ai/reorganization/{planId}/discard | Discard a proposed reorganisation plan
|
|
58
|
+
*AIChatApi* | [**get4**](docs/AIChatApi.md#get4) | **GET** /api/v1/ai/reorganization/{planId} | Get a reorganisation plan proposed by the AI assistant
|
|
56
59
|
*AIChatApi* | [**getConversationHistory**](docs/AIChatApi.md#getconversationhistory) | **GET** /api/v1/ai/conversations/{conversationId} | Get conversation history
|
|
57
60
|
*AIChatApi* | [**listConversations**](docs/AIChatApi.md#listconversations) | **GET** /api/v1/ai/conversations | List conversations
|
|
58
61
|
*AISettingsApi* | [**deleteSettings**](docs/AISettingsApi.md#deletesettings) | **DELETE** /api/v1/settings/ai | Reset my AI settings
|
|
@@ -107,6 +110,9 @@ Class | Method | HTTP request | Description
|
|
|
107
110
|
*DocumentControllerApi* | [**updateDocumentMetadata**](docs/DocumentControllerApi.md#updatedocumentmetadata) | **PATCH** /api/v1/documents/{documentId}/metadata | Update document metadata
|
|
108
111
|
*DocumentControllerApi* | [**uploadDocument**](docs/DocumentControllerApi.md#uploaddocument) | **POST** /api/v1/documents/upload-multiple | Upload multiple documents
|
|
109
112
|
*DocumentControllerApi* | [**uploadDocument1**](docs/DocumentControllerApi.md#uploaddocument1) | **POST** /api/v1/documents/upload | Upload a single document
|
|
113
|
+
*DocumentInsightsApi* | [**backfill**](docs/DocumentInsightsApi.md#backfill) | **POST** /api/v1/ai/insights/backfill | Enrich existing documents
|
|
114
|
+
*DocumentInsightsApi* | [**backfillStatus**](docs/DocumentInsightsApi.md#backfillstatus) | **GET** /api/v1/ai/insights/backfill/{jobId} | Progress of a backfill job
|
|
115
|
+
*DocumentInsightsApi* | [**getInsights**](docs/DocumentInsightsApi.md#getinsights) | **GET** /api/v1/documents/{documentId}/insights | Get the insights of a document
|
|
110
116
|
*DocumentSuggestionControllerApi* | [**getSuggestions**](docs/DocumentSuggestionControllerApi.md#getsuggestions) | **GET** /api/v1/suggestions |
|
|
111
117
|
*DocumentVersionControllerApi* | [**downloadVersion**](docs/DocumentVersionControllerApi.md#downloadversion) | **GET** /api/v1/documents/{documentId}/versions/{versionId}/download | Download a specific document version
|
|
112
118
|
*DocumentVersionControllerApi* | [**listVersions**](docs/DocumentVersionControllerApi.md#listversions) | **GET** /api/v1/documents/{documentId}/versions | List document versions
|
|
@@ -115,7 +121,7 @@ Class | Method | HTTP request | Description
|
|
|
115
121
|
*ESignApi* | [**cloudSubscription**](docs/ESignApi.md#cloudsubscription) | **GET** /api/v1/signatures/cloud-subscription | Cloud Signing subscription and month-to-date usage (openfilz-cloud seal provider only)
|
|
116
122
|
*ESignApi* | [**create**](docs/ESignApi.md#create) | **POST** /api/v1/signatures | Create an envelope (sent immediately unless send=false)
|
|
117
123
|
*ESignApi* | [**events**](docs/ESignApi.md#events) | **GET** /api/v1/signatures/{id}/events | Audit trail of one of my envelopes
|
|
118
|
-
*ESignApi* | [**
|
|
124
|
+
*ESignApi* | [**get3**](docs/ESignApi.md#get3) | **GET** /api/v1/signatures/{id} | Get one of my envelopes (recipients + fields)
|
|
119
125
|
*ESignApi* | [**listSent**](docs/ESignApi.md#listsent) | **GET** /api/v1/signatures | List envelopes I sent for signature
|
|
120
126
|
*ESignApi* | [**listToSign**](docs/ESignApi.md#listtosign) | **GET** /api/v1/signatures/to-sign | List envelopes waiting for my signature
|
|
121
127
|
*ESignApi* | [**resend**](docs/ESignApi.md#resend) | **POST** /api/v1/signatures/{id}/recipients/{recipientId}/resend | Resend the signing link to a recipient (new token, previous one revoked)
|
|
@@ -179,9 +185,16 @@ Class | Method | HTTP request | Description
|
|
|
179
185
|
*SearchAdministrationApi* | [**deleteIndex**](docs/SearchAdministrationApi.md#deleteindex) | **DELETE** /api/v1/admin/search | Delete search index
|
|
180
186
|
*SearchAdministrationApi* | [**getStatus**](docs/SearchAdministrationApi.md#getstatus) | **GET** /api/v1/admin/search/status | Get reindexation status
|
|
181
187
|
*SearchAdministrationApi* | [**reindexAll**](docs/SearchAdministrationApi.md#reindexall) | **POST** /api/v1/admin/search/reindex | Reindex all documents
|
|
188
|
+
*SettingsApi* | [**get2**](docs/SettingsApi.md#get2) | **GET** /api/v1/settings/ai/preferences | The caller\'s smart-filing preferences
|
|
182
189
|
*SettingsApi* | [**getLicenseInfo**](docs/SettingsApi.md#getlicenseinfo) | **GET** /api/v1/settings/license | Coarse license info
|
|
183
190
|
*SettingsApi* | [**getSettings**](docs/SettingsApi.md#getsettings) | **GET** /api/v1/settings | Get user\'s settings
|
|
191
|
+
*SettingsApi* | [**save**](docs/SettingsApi.md#save) | **PUT** /api/v1/settings/ai/preferences | Save the caller\'s smart-filing preferences
|
|
184
192
|
*SettingsApi* | [**saveSettings**](docs/SettingsApi.md#savesettings) | **PUT** /api/v1/settings | Save user preferences
|
|
193
|
+
*SmartFilingApi* | [**file**](docs/SmartFilingApi.md#file) | **POST** /api/v1/ai/auto-file | File existing documents on demand
|
|
194
|
+
*SmartFilingApi* | [**job**](docs/SmartFilingApi.md#job) | **GET** /api/v1/ai/auto-file/{jobId} | Progress and outcome of a filing job
|
|
195
|
+
*SmartFilingApi* | [**lastFiling**](docs/SmartFilingApi.md#lastfiling) | **GET** /api/v1/ai/auto-file/document/{documentId} | The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
196
|
+
*SmartFilingApi* | [**undo**](docs/SmartFilingApi.md#undo) | **POST** /api/v1/ai/auto-file/{jobId}/undo | Move every document the job filed back where it came from
|
|
197
|
+
*SmartFilingApi* | [**undoFiling**](docs/SmartFilingApi.md#undofiling) | **POST** /api/v1/ai/auto-file/filing/{planId}/undo | Move one filed document back (the chip\'s \"Move back\")
|
|
185
198
|
*TusControllerApi* | [**_options**](docs/TusControllerApi.md#_options) | **OPTIONS** /api/v1/tus | TUS capability discovery
|
|
186
199
|
*TusControllerApi* | [**cancelUpload**](docs/TusControllerApi.md#cancelupload) | **DELETE** /api/v1/tus/{uploadId} | Cancel upload
|
|
187
200
|
*TusControllerApi* | [**createUpload**](docs/TusControllerApi.md#createupload) | **POST** /api/v1/tus | Create new TUS upload
|
|
@@ -211,11 +224,15 @@ Class | Method | HTTP request | Description
|
|
|
211
224
|
- [AiChatResponse](docs/AiChatResponse.md)
|
|
212
225
|
- [AiConnectionTestResult](docs/AiConnectionTestResult.md)
|
|
213
226
|
- [AiModelsResponse](docs/AiModelsResponse.md)
|
|
227
|
+
- [AiPreferencesView](docs/AiPreferencesView.md)
|
|
214
228
|
- [AiSettingsResponse](docs/AiSettingsResponse.md)
|
|
215
229
|
- [AncestorInfo](docs/AncestorInfo.md)
|
|
216
230
|
- [ApplySignatureRequest](docs/ApplySignatureRequest.md)
|
|
217
231
|
- [AuditLogDetails](docs/AuditLogDetails.md)
|
|
218
232
|
- [AuditVerificationResult](docs/AuditVerificationResult.md)
|
|
233
|
+
- [AutoFileJobView](docs/AutoFileJobView.md)
|
|
234
|
+
- [AutoFileRequest](docs/AutoFileRequest.md)
|
|
235
|
+
- [AutoFileTicket](docs/AutoFileTicket.md)
|
|
219
236
|
- [BrokenLink](docs/BrokenLink.md)
|
|
220
237
|
- [BulkRow](docs/BulkRow.md)
|
|
221
238
|
- [BulkRowResult](docs/BulkRowResult.md)
|
|
@@ -244,6 +261,7 @@ Class | Method | HTTP request | Description
|
|
|
244
261
|
- [DeleteRequest](docs/DeleteRequest.md)
|
|
245
262
|
- [DeleteShareRequest](docs/DeleteShareRequest.md)
|
|
246
263
|
- [DocumentInfo](docs/DocumentInfo.md)
|
|
264
|
+
- [DocumentInsightView](docs/DocumentInsightView.md)
|
|
247
265
|
- [DocumentPosition](docs/DocumentPosition.md)
|
|
248
266
|
- [DocumentVersionInfo](docs/DocumentVersionInfo.md)
|
|
249
267
|
- [ElementInfo](docs/ElementInfo.md)
|
|
@@ -252,11 +270,16 @@ Class | Method | HTTP request | Description
|
|
|
252
270
|
- [EnrichedAuditLogDetails](docs/EnrichedAuditLogDetails.md)
|
|
253
271
|
- [FeatureEntitlement](docs/FeatureEntitlement.md)
|
|
254
272
|
- [FileTypeStats](docs/FileTypeStats.md)
|
|
273
|
+
- [FilingOutcome](docs/FilingOutcome.md)
|
|
255
274
|
- [FilterInput](docs/FilterInput.md)
|
|
256
275
|
- [FolderElementInfo](docs/FolderElementInfo.md)
|
|
257
276
|
- [FolderResponse](docs/FolderResponse.md)
|
|
258
277
|
- [IngestionStatusDto](docs/IngestionStatusDto.md)
|
|
278
|
+
- [InsightBackfillRequest](docs/InsightBackfillRequest.md)
|
|
279
|
+
- [InsightBackfillStatus](docs/InsightBackfillStatus.md)
|
|
259
280
|
- [InstantiateTemplateRequest](docs/InstantiateTemplateRequest.md)
|
|
281
|
+
- [Item](docs/Item.md)
|
|
282
|
+
- [ItemResult](docs/ItemResult.md)
|
|
260
283
|
- [LicenseInfo](docs/LicenseInfo.md)
|
|
261
284
|
- [ListAiModelsRequest](docs/ListAiModelsRequest.md)
|
|
262
285
|
- [McpAgentTokenInfo](docs/McpAgentTokenInfo.md)
|
|
@@ -280,12 +303,16 @@ Class | Method | HTTP request | Description
|
|
|
280
303
|
- [PublicSignatureView](docs/PublicSignatureView.md)
|
|
281
304
|
- [RenameAudit](docs/RenameAudit.md)
|
|
282
305
|
- [RenameRequest](docs/RenameRequest.md)
|
|
306
|
+
- [ReorganizationApplyRequest](docs/ReorganizationApplyRequest.md)
|
|
307
|
+
- [ReorganizationApplyResult](docs/ReorganizationApplyResult.md)
|
|
308
|
+
- [ReorganizationPlanView](docs/ReorganizationPlanView.md)
|
|
283
309
|
- [ReplaceAudit](docs/ReplaceAudit.md)
|
|
284
310
|
- [Response](docs/Response.md)
|
|
285
311
|
- [RestoreVersionAudit](docs/RestoreVersionAudit.md)
|
|
286
312
|
- [RestoreVersionResponse](docs/RestoreVersionResponse.md)
|
|
287
313
|
- [RoleBinding](docs/RoleBinding.md)
|
|
288
314
|
- [RotateRequest](docs/RotateRequest.md)
|
|
315
|
+
- [SaveAiPreferencesRequest](docs/SaveAiPreferencesRequest.md)
|
|
289
316
|
- [SaveAiSettingsRequest](docs/SaveAiSettingsRequest.md)
|
|
290
317
|
- [ScanJobStatusDto](docs/ScanJobStatusDto.md)
|
|
291
318
|
- [ScanRequestDto](docs/ScanRequestDto.md)
|
package/api/aichat-api.ts
CHANGED
|
@@ -27,11 +27,58 @@ import type { AiChatConversation } from '../models';
|
|
|
27
27
|
import type { AiChatRequest } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import type { AiChatResponse } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { ReorganizationApplyRequest } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { ReorganizationApplyResult } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { ReorganizationPlanView } from '../models';
|
|
30
36
|
/**
|
|
31
37
|
* AIChatApi - axios parameter creator
|
|
32
38
|
*/
|
|
33
39
|
export const AIChatApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
40
|
return {
|
|
41
|
+
/**
|
|
42
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
43
|
+
* @summary Apply a proposed reorganisation plan
|
|
44
|
+
* @param {string} planId
|
|
45
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
apply: async (planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
// verify required parameter 'planId' is not null or undefined
|
|
51
|
+
assertParamExists('apply', 'planId', planId)
|
|
52
|
+
const localVarPath = `/api/v1/ai/reorganization/{planId}/apply`
|
|
53
|
+
.replace('{planId}', encodeURIComponent(String(planId)));
|
|
54
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56
|
+
let baseOptions;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
62
|
+
const localVarHeaderParameter = {} as any;
|
|
63
|
+
const localVarQueryParameter = {} as any;
|
|
64
|
+
|
|
65
|
+
// authentication keycloak_auth required
|
|
66
|
+
// http bearer authentication required
|
|
67
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
|
+
|
|
69
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
70
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
71
|
+
|
|
72
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
73
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
74
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
75
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reorganizationApplyRequest, localVarRequestOptions, configuration)
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
url: toPathString(localVarUrlObj),
|
|
79
|
+
options: localVarRequestOptions,
|
|
80
|
+
};
|
|
81
|
+
},
|
|
35
82
|
/**
|
|
36
83
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
37
84
|
* @summary Chat with AI assistant
|
|
@@ -99,6 +146,82 @@ export const AIChatApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
99
146
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
100
147
|
|
|
101
148
|
|
|
149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
152
|
+
|
|
153
|
+
return {
|
|
154
|
+
url: toPathString(localVarUrlObj),
|
|
155
|
+
options: localVarRequestOptions,
|
|
156
|
+
};
|
|
157
|
+
},
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @summary Discard a proposed reorganisation plan
|
|
161
|
+
* @param {string} planId
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
discard: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
166
|
+
// verify required parameter 'planId' is not null or undefined
|
|
167
|
+
assertParamExists('discard', 'planId', planId)
|
|
168
|
+
const localVarPath = `/api/v1/ai/reorganization/{planId}/discard`
|
|
169
|
+
.replace('{planId}', encodeURIComponent(String(planId)));
|
|
170
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
171
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
172
|
+
let baseOptions;
|
|
173
|
+
if (configuration) {
|
|
174
|
+
baseOptions = configuration.baseOptions;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
178
|
+
const localVarHeaderParameter = {} as any;
|
|
179
|
+
const localVarQueryParameter = {} as any;
|
|
180
|
+
|
|
181
|
+
// authentication keycloak_auth required
|
|
182
|
+
// http bearer authentication required
|
|
183
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
184
|
+
|
|
185
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
186
|
+
|
|
187
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
188
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
190
|
+
|
|
191
|
+
return {
|
|
192
|
+
url: toPathString(localVarUrlObj),
|
|
193
|
+
options: localVarRequestOptions,
|
|
194
|
+
};
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
198
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
199
|
+
* @param {string} planId
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
get4: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
|
+
// verify required parameter 'planId' is not null or undefined
|
|
205
|
+
assertParamExists('get4', 'planId', planId)
|
|
206
|
+
const localVarPath = `/api/v1/ai/reorganization/{planId}`
|
|
207
|
+
.replace('{planId}', encodeURIComponent(String(planId)));
|
|
208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
209
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
210
|
+
let baseOptions;
|
|
211
|
+
if (configuration) {
|
|
212
|
+
baseOptions = configuration.baseOptions;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
216
|
+
const localVarHeaderParameter = {} as any;
|
|
217
|
+
const localVarQueryParameter = {} as any;
|
|
218
|
+
|
|
219
|
+
// authentication keycloak_auth required
|
|
220
|
+
// http bearer authentication required
|
|
221
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
222
|
+
|
|
223
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
224
|
+
|
|
102
225
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103
226
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
227
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -189,6 +312,20 @@ export const AIChatApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
189
312
|
export const AIChatApiFp = function(configuration?: Configuration) {
|
|
190
313
|
const localVarAxiosParamCreator = AIChatApiAxiosParamCreator(configuration)
|
|
191
314
|
return {
|
|
315
|
+
/**
|
|
316
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
317
|
+
* @summary Apply a proposed reorganisation plan
|
|
318
|
+
* @param {string} planId
|
|
319
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
async apply(planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationApplyResult>> {
|
|
324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apply(planId, reorganizationApplyRequest, options);
|
|
325
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
326
|
+
const localVarOperationServerBasePath = operationServerMap['AIChatApi.apply']?.[localVarOperationServerIndex]?.url;
|
|
327
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
328
|
+
},
|
|
192
329
|
/**
|
|
193
330
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
194
331
|
* @summary Chat with AI assistant
|
|
@@ -215,6 +352,32 @@ export const AIChatApiFp = function(configuration?: Configuration) {
|
|
|
215
352
|
const localVarOperationServerBasePath = operationServerMap['AIChatApi.deleteConversation']?.[localVarOperationServerIndex]?.url;
|
|
216
353
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
217
354
|
},
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @summary Discard a proposed reorganisation plan
|
|
358
|
+
* @param {string} planId
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
async discard(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>> {
|
|
363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discard(planId, options);
|
|
364
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
365
|
+
const localVarOperationServerBasePath = operationServerMap['AIChatApi.discard']?.[localVarOperationServerIndex]?.url;
|
|
366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
367
|
+
},
|
|
368
|
+
/**
|
|
369
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
370
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
371
|
+
* @param {string} planId
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
async get4(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>> {
|
|
376
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.get4(planId, options);
|
|
377
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
378
|
+
const localVarOperationServerBasePath = operationServerMap['AIChatApi.get4']?.[localVarOperationServerIndex]?.url;
|
|
379
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
380
|
+
},
|
|
218
381
|
/**
|
|
219
382
|
* Get all messages in a conversation
|
|
220
383
|
* @summary Get conversation history
|
|
@@ -249,6 +412,17 @@ export const AIChatApiFp = function(configuration?: Configuration) {
|
|
|
249
412
|
export const AIChatApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
250
413
|
const localVarFp = AIChatApiFp(configuration)
|
|
251
414
|
return {
|
|
415
|
+
/**
|
|
416
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
417
|
+
* @summary Apply a proposed reorganisation plan
|
|
418
|
+
* @param {string} planId
|
|
419
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
420
|
+
* @param {*} [options] Override http request option.
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
apply(planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationApplyResult> {
|
|
424
|
+
return localVarFp.apply(planId, reorganizationApplyRequest, options).then((request) => request(axios, basePath));
|
|
425
|
+
},
|
|
252
426
|
/**
|
|
253
427
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
254
428
|
* @summary Chat with AI assistant
|
|
@@ -269,6 +443,26 @@ export const AIChatApiFactory = function (configuration?: Configuration, basePat
|
|
|
269
443
|
deleteConversation(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
270
444
|
return localVarFp.deleteConversation(conversationId, options).then((request) => request(axios, basePath));
|
|
271
445
|
},
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @summary Discard a proposed reorganisation plan
|
|
449
|
+
* @param {string} planId
|
|
450
|
+
* @param {*} [options] Override http request option.
|
|
451
|
+
* @throws {RequiredError}
|
|
452
|
+
*/
|
|
453
|
+
discard(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView> {
|
|
454
|
+
return localVarFp.discard(planId, options).then((request) => request(axios, basePath));
|
|
455
|
+
},
|
|
456
|
+
/**
|
|
457
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
458
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
459
|
+
* @param {string} planId
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
*/
|
|
463
|
+
get4(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView> {
|
|
464
|
+
return localVarFp.get4(planId, options).then((request) => request(axios, basePath));
|
|
465
|
+
},
|
|
272
466
|
/**
|
|
273
467
|
* Get all messages in a conversation
|
|
274
468
|
* @summary Get conversation history
|
|
@@ -295,6 +489,18 @@ export const AIChatApiFactory = function (configuration?: Configuration, basePat
|
|
|
295
489
|
* AIChatApi - object-oriented interface
|
|
296
490
|
*/
|
|
297
491
|
export class AIChatApi extends BaseAPI {
|
|
492
|
+
/**
|
|
493
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
494
|
+
* @summary Apply a proposed reorganisation plan
|
|
495
|
+
* @param {string} planId
|
|
496
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
497
|
+
* @param {*} [options] Override http request option.
|
|
498
|
+
* @throws {RequiredError}
|
|
499
|
+
*/
|
|
500
|
+
public apply(planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig) {
|
|
501
|
+
return AIChatApiFp(this.configuration).apply(planId, reorganizationApplyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
502
|
+
}
|
|
503
|
+
|
|
298
504
|
/**
|
|
299
505
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
300
506
|
* @summary Chat with AI assistant
|
|
@@ -317,6 +523,28 @@ export class AIChatApi extends BaseAPI {
|
|
|
317
523
|
return AIChatApiFp(this.configuration).deleteConversation(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
318
524
|
}
|
|
319
525
|
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @summary Discard a proposed reorganisation plan
|
|
529
|
+
* @param {string} planId
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
public discard(planId: string, options?: RawAxiosRequestConfig) {
|
|
534
|
+
return AIChatApiFp(this.configuration).discard(planId, options).then((request) => request(this.axios, this.basePath));
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
539
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
540
|
+
* @param {string} planId
|
|
541
|
+
* @param {*} [options] Override http request option.
|
|
542
|
+
* @throws {RequiredError}
|
|
543
|
+
*/
|
|
544
|
+
public get4(planId: string, options?: RawAxiosRequestConfig) {
|
|
545
|
+
return AIChatApiFp(this.configuration).get4(planId, options).then((request) => request(this.axios, this.basePath));
|
|
546
|
+
}
|
|
547
|
+
|
|
320
548
|
/**
|
|
321
549
|
* Get all messages in a conversation
|
|
322
550
|
* @summary Get conversation history
|