@openfilz-sdk/typescript-ee 1.9.6 → 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.
Files changed (116) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +23 -4
  4. package/api/aichat-api.ts +9 -9
  5. package/api/document-controller-api.ts +30 -14
  6. package/api/document-insights-api.ts +275 -0
  7. package/api/esign-api.ts +9 -9
  8. package/api/settings-api.ts +142 -0
  9. package/api/smart-filing-api.ts +421 -0
  10. package/api.ts +2 -0
  11. package/dist/api/aichat-api.d.ts +4 -4
  12. package/dist/api/aichat-api.js +9 -9
  13. package/dist/api/document-controller-api.d.ts +16 -8
  14. package/dist/api/document-controller-api.js +28 -14
  15. package/dist/api/document-insights-api.d.ts +133 -0
  16. package/dist/api/document-insights-api.js +269 -0
  17. package/dist/api/esign-api.d.ts +4 -4
  18. package/dist/api/esign-api.js +9 -9
  19. package/dist/api/settings-api.d.ts +62 -0
  20. package/dist/api/settings-api.js +132 -0
  21. package/dist/api/smart-filing-api.d.ts +197 -0
  22. package/dist/api/smart-filing-api.js +409 -0
  23. package/dist/api.d.ts +2 -0
  24. package/dist/api.js +2 -0
  25. package/dist/esm/api/aichat-api.d.ts +4 -4
  26. package/dist/esm/api/aichat-api.js +9 -9
  27. package/dist/esm/api/document-controller-api.d.ts +16 -8
  28. package/dist/esm/api/document-controller-api.js +28 -14
  29. package/dist/esm/api/document-insights-api.d.ts +133 -0
  30. package/dist/esm/api/document-insights-api.js +262 -0
  31. package/dist/esm/api/esign-api.d.ts +4 -4
  32. package/dist/esm/api/esign-api.js +9 -9
  33. package/dist/esm/api/settings-api.d.ts +62 -0
  34. package/dist/esm/api/settings-api.js +132 -0
  35. package/dist/esm/api/smart-filing-api.d.ts +197 -0
  36. package/dist/esm/api/smart-filing-api.js +402 -0
  37. package/dist/esm/api.d.ts +2 -0
  38. package/dist/esm/api.js +2 -0
  39. package/dist/esm/models/ai-preferences-view.d.ts +16 -0
  40. package/dist/esm/models/ai-preferences-view.js +14 -0
  41. package/dist/esm/models/auto-file-job-view.d.ts +25 -0
  42. package/dist/esm/models/auto-file-job-view.js +14 -0
  43. package/dist/esm/models/auto-file-request.d.ts +15 -0
  44. package/dist/esm/models/auto-file-request.js +14 -0
  45. package/dist/esm/models/auto-file-ticket.d.ts +15 -0
  46. package/dist/esm/models/auto-file-ticket.js +14 -0
  47. package/dist/esm/models/document-insight-view.d.ts +33 -0
  48. package/dist/esm/models/document-insight-view.js +14 -0
  49. package/dist/esm/models/filing-outcome.d.ts +25 -0
  50. package/dist/esm/models/filing-outcome.js +14 -0
  51. package/dist/esm/models/index.d.ts +9 -0
  52. package/dist/esm/models/index.js +9 -0
  53. package/dist/esm/models/insight-backfill-request.d.ts +15 -0
  54. package/dist/esm/models/insight-backfill-request.js +14 -0
  55. package/dist/esm/models/insight-backfill-status.d.ts +23 -0
  56. package/dist/esm/models/insight-backfill-status.js +14 -0
  57. package/dist/esm/models/save-ai-preferences-request.d.ts +15 -0
  58. package/dist/esm/models/save-ai-preferences-request.js +14 -0
  59. package/dist/esm/models/settings.d.ts +2 -0
  60. package/dist/esm/models/tus-finalize-request.d.ts +1 -0
  61. package/dist/esm/models/upload-response.d.ts +2 -0
  62. package/dist/models/ai-preferences-view.d.ts +16 -0
  63. package/dist/models/ai-preferences-view.js +15 -0
  64. package/dist/models/auto-file-job-view.d.ts +25 -0
  65. package/dist/models/auto-file-job-view.js +15 -0
  66. package/dist/models/auto-file-request.d.ts +15 -0
  67. package/dist/models/auto-file-request.js +15 -0
  68. package/dist/models/auto-file-ticket.d.ts +15 -0
  69. package/dist/models/auto-file-ticket.js +15 -0
  70. package/dist/models/document-insight-view.d.ts +33 -0
  71. package/dist/models/document-insight-view.js +15 -0
  72. package/dist/models/filing-outcome.d.ts +25 -0
  73. package/dist/models/filing-outcome.js +15 -0
  74. package/dist/models/index.d.ts +9 -0
  75. package/dist/models/index.js +9 -0
  76. package/dist/models/insight-backfill-request.d.ts +15 -0
  77. package/dist/models/insight-backfill-request.js +15 -0
  78. package/dist/models/insight-backfill-status.d.ts +23 -0
  79. package/dist/models/insight-backfill-status.js +15 -0
  80. package/dist/models/save-ai-preferences-request.d.ts +15 -0
  81. package/dist/models/save-ai-preferences-request.js +15 -0
  82. package/dist/models/settings.d.ts +2 -0
  83. package/dist/models/tus-finalize-request.d.ts +1 -0
  84. package/dist/models/upload-response.d.ts +2 -0
  85. package/docs/AIChatApi.md +4 -4
  86. package/docs/AiPreferencesView.md +24 -0
  87. package/docs/AutoFileJobView.md +40 -0
  88. package/docs/AutoFileRequest.md +22 -0
  89. package/docs/AutoFileTicket.md +22 -0
  90. package/docs/DocumentControllerApi.md +6 -0
  91. package/docs/DocumentInsightView.md +54 -0
  92. package/docs/DocumentInsightsApi.md +163 -0
  93. package/docs/ESignApi.md +4 -4
  94. package/docs/FilingOutcome.md +42 -0
  95. package/docs/InsightBackfillRequest.md +22 -0
  96. package/docs/InsightBackfillStatus.md +38 -0
  97. package/docs/SaveAiPreferencesRequest.md +22 -0
  98. package/docs/Settings.md +4 -0
  99. package/docs/SettingsApi.md +97 -0
  100. package/docs/SmartFilingApi.md +264 -0
  101. package/docs/TusFinalizeRequest.md +2 -0
  102. package/docs/UploadResponse.md +2 -0
  103. package/models/ai-preferences-view.ts +22 -0
  104. package/models/auto-file-job-view.ts +33 -0
  105. package/models/auto-file-request.ts +21 -0
  106. package/models/auto-file-ticket.ts +21 -0
  107. package/models/document-insight-view.ts +37 -0
  108. package/models/filing-outcome.ts +31 -0
  109. package/models/index.ts +9 -0
  110. package/models/insight-backfill-request.ts +21 -0
  111. package/models/insight-backfill-status.ts +29 -0
  112. package/models/save-ai-preferences-request.ts +21 -0
  113. package/models/settings.ts +2 -0
  114. package/models/tus-finalize-request.ts +1 -0
  115. package/models/upload-response.ts +4 -0
  116. package/package.json +1 -1
@@ -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,11 +109,14 @@ 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
110
121
  docs/Item.md
111
122
  docs/ItemResult.md
@@ -145,6 +156,7 @@ docs/RestoreVersionAudit.md
145
156
  docs/RestoreVersionResponse.md
146
157
  docs/RoleBinding.md
147
158
  docs/RotateRequest.md
159
+ docs/SaveAiPreferencesRequest.md
148
160
  docs/SaveAiSettingsRequest.md
149
161
  docs/ScanAgentApi.md
150
162
  docs/ScanJobStatusDto.md
@@ -174,6 +186,7 @@ docs/SignatureTemplateDTO.md
174
186
  docs/SignatureTemplateField.md
175
187
  docs/SignatureTemplateRequest.md
176
188
  docs/SignatureTemplateRole.md
189
+ docs/SmartFilingApi.md
177
190
  docs/SortInput.md
178
191
  docs/SplitOutput.md
179
192
  docs/SplitRequest.md
@@ -207,11 +220,15 @@ models/ai-chat-request.ts
207
220
  models/ai-chat-response.ts
208
221
  models/ai-connection-test-result.ts
209
222
  models/ai-models-response.ts
223
+ models/ai-preferences-view.ts
210
224
  models/ai-settings-response.ts
211
225
  models/ancestor-info.ts
212
226
  models/apply-signature-request.ts
213
227
  models/audit-log-details.ts
214
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
215
232
  models/broken-link.ts
216
233
  models/bulk-row-result.ts
217
234
  models/bulk-row.ts
@@ -240,6 +257,7 @@ models/delete-metadata-request.ts
240
257
  models/delete-request.ts
241
258
  models/delete-share-request.ts
242
259
  models/document-info.ts
260
+ models/document-insight-view.ts
243
261
  models/document-position.ts
244
262
  models/document-version-info.ts
245
263
  models/element-info.ts
@@ -248,11 +266,14 @@ models/enriched-audit-log-details.ts
248
266
  models/enriched-audit-log.ts
249
267
  models/feature-entitlement.ts
250
268
  models/file-type-stats.ts
269
+ models/filing-outcome.ts
251
270
  models/filter-input.ts
252
271
  models/folder-element-info.ts
253
272
  models/folder-response.ts
254
273
  models/index.ts
255
274
  models/ingestion-status-dto.ts
275
+ models/insight-backfill-request.ts
276
+ models/insight-backfill-status.ts
256
277
  models/instantiate-template-request.ts
257
278
  models/item-result.ts
258
279
  models/item.ts
@@ -288,6 +309,7 @@ models/restore-version-audit.ts
288
309
  models/restore-version-response.ts
289
310
  models/role-binding.ts
290
311
  models/rotate-request.ts
312
+ models/save-ai-preferences-request.ts
291
313
  models/save-ai-settings-request.ts
292
314
  models/scan-job-status-dto.ts
293
315
  models/scan-request-dto.ts
@@ -1 +1 @@
1
- 0536626c44a21a36df15d905e46d9a87cae5cd1f9ba1f6b8f3180f7bb9ab6c94
1
+ ae1ec3aaf97f1fdfd8b0b5700b9c87eabe9527c1c2aecfd12fa72d2c2c9586c7
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @openfilz-sdk/typescript-ee@1.9.6
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.6 --save
39
+ npm install @openfilz-sdk/typescript-ee@1.9.7 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -55,7 +55,7 @@ Class | Method | HTTP request | Description
55
55
  *AIChatApi* | [**chat**](docs/AIChatApi.md#chat) | **POST** /api/v1/ai/chat | Chat with AI assistant
56
56
  *AIChatApi* | [**deleteConversation**](docs/AIChatApi.md#deleteconversation) | **DELETE** /api/v1/ai/conversations/{conversationId} | Delete conversation
57
57
  *AIChatApi* | [**discard**](docs/AIChatApi.md#discard) | **POST** /api/v1/ai/reorganization/{planId}/discard | Discard a proposed reorganisation plan
58
- *AIChatApi* | [**get3**](docs/AIChatApi.md#get3) | **GET** /api/v1/ai/reorganization/{planId} | Get a reorganisation plan proposed by the AI assistant
58
+ *AIChatApi* | [**get4**](docs/AIChatApi.md#get4) | **GET** /api/v1/ai/reorganization/{planId} | Get a reorganisation plan proposed by the AI assistant
59
59
  *AIChatApi* | [**getConversationHistory**](docs/AIChatApi.md#getconversationhistory) | **GET** /api/v1/ai/conversations/{conversationId} | Get conversation history
60
60
  *AIChatApi* | [**listConversations**](docs/AIChatApi.md#listconversations) | **GET** /api/v1/ai/conversations | List conversations
61
61
  *AISettingsApi* | [**deleteSettings**](docs/AISettingsApi.md#deletesettings) | **DELETE** /api/v1/settings/ai | Reset my AI settings
@@ -110,6 +110,9 @@ Class | Method | HTTP request | Description
110
110
  *DocumentControllerApi* | [**updateDocumentMetadata**](docs/DocumentControllerApi.md#updatedocumentmetadata) | **PATCH** /api/v1/documents/{documentId}/metadata | Update document metadata
111
111
  *DocumentControllerApi* | [**uploadDocument**](docs/DocumentControllerApi.md#uploaddocument) | **POST** /api/v1/documents/upload-multiple | Upload multiple documents
112
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
113
116
  *DocumentSuggestionControllerApi* | [**getSuggestions**](docs/DocumentSuggestionControllerApi.md#getsuggestions) | **GET** /api/v1/suggestions |
114
117
  *DocumentVersionControllerApi* | [**downloadVersion**](docs/DocumentVersionControllerApi.md#downloadversion) | **GET** /api/v1/documents/{documentId}/versions/{versionId}/download | Download a specific document version
115
118
  *DocumentVersionControllerApi* | [**listVersions**](docs/DocumentVersionControllerApi.md#listversions) | **GET** /api/v1/documents/{documentId}/versions | List document versions
@@ -118,7 +121,7 @@ Class | Method | HTTP request | Description
118
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)
119
122
  *ESignApi* | [**create**](docs/ESignApi.md#create) | **POST** /api/v1/signatures | Create an envelope (sent immediately unless send=false)
120
123
  *ESignApi* | [**events**](docs/ESignApi.md#events) | **GET** /api/v1/signatures/{id}/events | Audit trail of one of my envelopes
121
- *ESignApi* | [**get2**](docs/ESignApi.md#get2) | **GET** /api/v1/signatures/{id} | Get one of my envelopes (recipients + fields)
124
+ *ESignApi* | [**get3**](docs/ESignApi.md#get3) | **GET** /api/v1/signatures/{id} | Get one of my envelopes (recipients + fields)
122
125
  *ESignApi* | [**listSent**](docs/ESignApi.md#listsent) | **GET** /api/v1/signatures | List envelopes I sent for signature
123
126
  *ESignApi* | [**listToSign**](docs/ESignApi.md#listtosign) | **GET** /api/v1/signatures/to-sign | List envelopes waiting for my signature
124
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)
@@ -182,9 +185,16 @@ Class | Method | HTTP request | Description
182
185
  *SearchAdministrationApi* | [**deleteIndex**](docs/SearchAdministrationApi.md#deleteindex) | **DELETE** /api/v1/admin/search | Delete search index
183
186
  *SearchAdministrationApi* | [**getStatus**](docs/SearchAdministrationApi.md#getstatus) | **GET** /api/v1/admin/search/status | Get reindexation status
184
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
185
189
  *SettingsApi* | [**getLicenseInfo**](docs/SettingsApi.md#getlicenseinfo) | **GET** /api/v1/settings/license | Coarse license info
186
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
187
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\")
188
198
  *TusControllerApi* | [**_options**](docs/TusControllerApi.md#_options) | **OPTIONS** /api/v1/tus | TUS capability discovery
189
199
  *TusControllerApi* | [**cancelUpload**](docs/TusControllerApi.md#cancelupload) | **DELETE** /api/v1/tus/{uploadId} | Cancel upload
190
200
  *TusControllerApi* | [**createUpload**](docs/TusControllerApi.md#createupload) | **POST** /api/v1/tus | Create new TUS upload
@@ -214,11 +224,15 @@ Class | Method | HTTP request | Description
214
224
  - [AiChatResponse](docs/AiChatResponse.md)
215
225
  - [AiConnectionTestResult](docs/AiConnectionTestResult.md)
216
226
  - [AiModelsResponse](docs/AiModelsResponse.md)
227
+ - [AiPreferencesView](docs/AiPreferencesView.md)
217
228
  - [AiSettingsResponse](docs/AiSettingsResponse.md)
218
229
  - [AncestorInfo](docs/AncestorInfo.md)
219
230
  - [ApplySignatureRequest](docs/ApplySignatureRequest.md)
220
231
  - [AuditLogDetails](docs/AuditLogDetails.md)
221
232
  - [AuditVerificationResult](docs/AuditVerificationResult.md)
233
+ - [AutoFileJobView](docs/AutoFileJobView.md)
234
+ - [AutoFileRequest](docs/AutoFileRequest.md)
235
+ - [AutoFileTicket](docs/AutoFileTicket.md)
222
236
  - [BrokenLink](docs/BrokenLink.md)
223
237
  - [BulkRow](docs/BulkRow.md)
224
238
  - [BulkRowResult](docs/BulkRowResult.md)
@@ -247,6 +261,7 @@ Class | Method | HTTP request | Description
247
261
  - [DeleteRequest](docs/DeleteRequest.md)
248
262
  - [DeleteShareRequest](docs/DeleteShareRequest.md)
249
263
  - [DocumentInfo](docs/DocumentInfo.md)
264
+ - [DocumentInsightView](docs/DocumentInsightView.md)
250
265
  - [DocumentPosition](docs/DocumentPosition.md)
251
266
  - [DocumentVersionInfo](docs/DocumentVersionInfo.md)
252
267
  - [ElementInfo](docs/ElementInfo.md)
@@ -255,10 +270,13 @@ Class | Method | HTTP request | Description
255
270
  - [EnrichedAuditLogDetails](docs/EnrichedAuditLogDetails.md)
256
271
  - [FeatureEntitlement](docs/FeatureEntitlement.md)
257
272
  - [FileTypeStats](docs/FileTypeStats.md)
273
+ - [FilingOutcome](docs/FilingOutcome.md)
258
274
  - [FilterInput](docs/FilterInput.md)
259
275
  - [FolderElementInfo](docs/FolderElementInfo.md)
260
276
  - [FolderResponse](docs/FolderResponse.md)
261
277
  - [IngestionStatusDto](docs/IngestionStatusDto.md)
278
+ - [InsightBackfillRequest](docs/InsightBackfillRequest.md)
279
+ - [InsightBackfillStatus](docs/InsightBackfillStatus.md)
262
280
  - [InstantiateTemplateRequest](docs/InstantiateTemplateRequest.md)
263
281
  - [Item](docs/Item.md)
264
282
  - [ItemResult](docs/ItemResult.md)
@@ -294,6 +312,7 @@ Class | Method | HTTP request | Description
294
312
  - [RestoreVersionResponse](docs/RestoreVersionResponse.md)
295
313
  - [RoleBinding](docs/RoleBinding.md)
296
314
  - [RotateRequest](docs/RotateRequest.md)
315
+ - [SaveAiPreferencesRequest](docs/SaveAiPreferencesRequest.md)
297
316
  - [SaveAiSettingsRequest](docs/SaveAiSettingsRequest.md)
298
317
  - [ScanJobStatusDto](docs/ScanJobStatusDto.md)
299
318
  - [ScanRequestDto](docs/ScanRequestDto.md)
package/api/aichat-api.ts CHANGED
@@ -200,9 +200,9 @@ export const AIChatApiAxiosParamCreator = function (configuration?: Configuratio
200
200
  * @param {*} [options] Override http request option.
201
201
  * @throws {RequiredError}
202
202
  */
203
- get3: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
203
+ get4: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
204
204
  // verify required parameter 'planId' is not null or undefined
205
- assertParamExists('get3', 'planId', planId)
205
+ assertParamExists('get4', 'planId', planId)
206
206
  const localVarPath = `/api/v1/ai/reorganization/{planId}`
207
207
  .replace('{planId}', encodeURIComponent(String(planId)));
208
208
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -372,10 +372,10 @@ export const AIChatApiFp = function(configuration?: Configuration) {
372
372
  * @param {*} [options] Override http request option.
373
373
  * @throws {RequiredError}
374
374
  */
375
- async get3(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>> {
376
- const localVarAxiosArgs = await localVarAxiosParamCreator.get3(planId, options);
375
+ async get4(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>> {
376
+ const localVarAxiosArgs = await localVarAxiosParamCreator.get4(planId, options);
377
377
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
378
- const localVarOperationServerBasePath = operationServerMap['AIChatApi.get3']?.[localVarOperationServerIndex]?.url;
378
+ const localVarOperationServerBasePath = operationServerMap['AIChatApi.get4']?.[localVarOperationServerIndex]?.url;
379
379
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
380
380
  },
381
381
  /**
@@ -460,8 +460,8 @@ export const AIChatApiFactory = function (configuration?: Configuration, basePat
460
460
  * @param {*} [options] Override http request option.
461
461
  * @throws {RequiredError}
462
462
  */
463
- get3(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView> {
464
- return localVarFp.get3(planId, options).then((request) => request(axios, basePath));
463
+ get4(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView> {
464
+ return localVarFp.get4(planId, options).then((request) => request(axios, basePath));
465
465
  },
466
466
  /**
467
467
  * Get all messages in a conversation
@@ -541,8 +541,8 @@ export class AIChatApi extends BaseAPI {
541
541
  * @param {*} [options] Override http request option.
542
542
  * @throws {RequiredError}
543
543
  */
544
- public get3(planId: string, options?: RawAxiosRequestConfig) {
545
- return AIChatApiFp(this.configuration).get3(planId, options).then((request) => request(this.axios, this.basePath));
544
+ public get4(planId: string, options?: RawAxiosRequestConfig) {
545
+ return AIChatApiFp(this.configuration).get4(planId, options).then((request) => request(this.axios, this.basePath));
546
546
  }
547
547
 
548
548
  /**
@@ -602,11 +602,12 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration?:
602
602
  * @summary Upload multiple documents
603
603
  * @param {Array<File>} file
604
604
  * @param {boolean} [allowDuplicateFileNames] when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
605
+ * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
605
606
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
606
607
  * @param {*} [options] Override http request option.
607
608
  * @throws {RequiredError}
608
609
  */
609
- uploadDocument: async (file: Array<File>, allowDuplicateFileNames?: boolean, parametersByFilename?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
610
+ uploadDocument: async (file: Array<File>, allowDuplicateFileNames?: boolean, autoFile?: boolean, parametersByFilename?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
610
611
  // verify required parameter 'file' is not null or undefined
611
612
  assertParamExists('uploadDocument', 'file', file)
612
613
  const localVarPath = `/api/v1/documents/upload-multiple`;
@@ -630,6 +631,10 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration?:
630
631
  localVarQueryParameter['allowDuplicateFileNames'] = allowDuplicateFileNames;
631
632
  }
632
633
 
634
+ if (autoFile !== undefined) {
635
+ localVarQueryParameter['autoFile'] = autoFile;
636
+ }
637
+
633
638
  if (file) {
634
639
  file.forEach((element) => {
635
640
  localVarFormParams.append('file', element as any);
@@ -658,12 +663,13 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration?:
658
663
  * @summary Upload a single document
659
664
  * @param {File} file
660
665
  * @param {boolean} [allowDuplicateFileNames] when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
666
+ * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
661
667
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
662
668
  * @param {string} [metadata]
663
669
  * @param {*} [options] Override http request option.
664
670
  * @throws {RequiredError}
665
671
  */
666
- uploadDocument1: async (file: File, allowDuplicateFileNames?: boolean, parentFolderId?: string, metadata?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
672
+ uploadDocument1: async (file: File, allowDuplicateFileNames?: boolean, autoFile?: boolean, parentFolderId?: string, metadata?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
667
673
  // verify required parameter 'file' is not null or undefined
668
674
  assertParamExists('uploadDocument1', 'file', file)
669
675
  const localVarPath = `/api/v1/documents/upload`;
@@ -687,6 +693,10 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration?:
687
693
  localVarQueryParameter['allowDuplicateFileNames'] = allowDuplicateFileNames;
688
694
  }
689
695
 
696
+ if (autoFile !== undefined) {
697
+ localVarQueryParameter['autoFile'] = autoFile;
698
+ }
699
+
690
700
 
691
701
  if (file !== undefined) {
692
702
  localVarFormParams.append('file', file as any);
@@ -905,12 +915,13 @@ export const DocumentControllerApiFp = function(configuration?: Configuration) {
905
915
  * @summary Upload multiple documents
906
916
  * @param {Array<File>} file
907
917
  * @param {boolean} [allowDuplicateFileNames] when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
918
+ * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
908
919
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
909
920
  * @param {*} [options] Override http request option.
910
921
  * @throws {RequiredError}
911
922
  */
912
- async uploadDocument(file: Array<File>, allowDuplicateFileNames?: boolean, parametersByFilename?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UploadResponse>>> {
913
- const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocument(file, allowDuplicateFileNames, parametersByFilename, options);
923
+ async uploadDocument(file: Array<File>, allowDuplicateFileNames?: boolean, autoFile?: boolean, parametersByFilename?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UploadResponse>>> {
924
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocument(file, allowDuplicateFileNames, autoFile, parametersByFilename, options);
914
925
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
915
926
  const localVarOperationServerBasePath = operationServerMap['DocumentControllerApi.uploadDocument']?.[localVarOperationServerIndex]?.url;
916
927
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -920,13 +931,14 @@ export const DocumentControllerApiFp = function(configuration?: Configuration) {
920
931
  * @summary Upload a single document
921
932
  * @param {File} file
922
933
  * @param {boolean} [allowDuplicateFileNames] when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
934
+ * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
923
935
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
924
936
  * @param {string} [metadata]
925
937
  * @param {*} [options] Override http request option.
926
938
  * @throws {RequiredError}
927
939
  */
928
- async uploadDocument1(file: File, allowDuplicateFileNames?: boolean, parentFolderId?: string, metadata?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadResponse>> {
929
- const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocument1(file, allowDuplicateFileNames, parentFolderId, metadata, options);
940
+ async uploadDocument1(file: File, allowDuplicateFileNames?: boolean, autoFile?: boolean, parentFolderId?: string, metadata?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadResponse>> {
941
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocument1(file, allowDuplicateFileNames, autoFile, parentFolderId, metadata, options);
930
942
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
931
943
  const localVarOperationServerBasePath = operationServerMap['DocumentControllerApi.uploadDocument1']?.[localVarOperationServerIndex]?.url;
932
944
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1085,25 +1097,27 @@ export const DocumentControllerApiFactory = function (configuration?: Configurat
1085
1097
  * @summary Upload multiple documents
1086
1098
  * @param {Array<File>} file
1087
1099
  * @param {boolean} [allowDuplicateFileNames] when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
1100
+ * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
1088
1101
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
1089
1102
  * @param {*} [options] Override http request option.
1090
1103
  * @throws {RequiredError}
1091
1104
  */
1092
- uploadDocument(file: Array<File>, allowDuplicateFileNames?: boolean, parametersByFilename?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UploadResponse>> {
1093
- return localVarFp.uploadDocument(file, allowDuplicateFileNames, parametersByFilename, options).then((request) => request(axios, basePath));
1105
+ uploadDocument(file: Array<File>, allowDuplicateFileNames?: boolean, autoFile?: boolean, parametersByFilename?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UploadResponse>> {
1106
+ return localVarFp.uploadDocument(file, allowDuplicateFileNames, autoFile, parametersByFilename, options).then((request) => request(axios, basePath));
1094
1107
  },
1095
1108
  /**
1096
1109
  * Uploads a single file, optionally with metadata and a parent folder ID.
1097
1110
  * @summary Upload a single document
1098
1111
  * @param {File} file
1099
1112
  * @param {boolean} [allowDuplicateFileNames] when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
1113
+ * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
1100
1114
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
1101
1115
  * @param {string} [metadata]
1102
1116
  * @param {*} [options] Override http request option.
1103
1117
  * @throws {RequiredError}
1104
1118
  */
1105
- uploadDocument1(file: File, allowDuplicateFileNames?: boolean, parentFolderId?: string, metadata?: string, options?: RawAxiosRequestConfig): AxiosPromise<UploadResponse> {
1106
- return localVarFp.uploadDocument1(file, allowDuplicateFileNames, parentFolderId, metadata, options).then((request) => request(axios, basePath));
1119
+ uploadDocument1(file: File, allowDuplicateFileNames?: boolean, autoFile?: boolean, parentFolderId?: string, metadata?: string, options?: RawAxiosRequestConfig): AxiosPromise<UploadResponse> {
1120
+ return localVarFp.uploadDocument1(file, allowDuplicateFileNames, autoFile, parentFolderId, metadata, options).then((request) => request(axios, basePath));
1107
1121
  },
1108
1122
  };
1109
1123
  };
@@ -1270,12 +1284,13 @@ export class DocumentControllerApi extends BaseAPI {
1270
1284
  * @summary Upload multiple documents
1271
1285
  * @param {Array<File>} file
1272
1286
  * @param {boolean} [allowDuplicateFileNames] when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
1287
+ * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
1273
1288
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
1274
1289
  * @param {*} [options] Override http request option.
1275
1290
  * @throws {RequiredError}
1276
1291
  */
1277
- public uploadDocument(file: Array<File>, allowDuplicateFileNames?: boolean, parametersByFilename?: string, options?: RawAxiosRequestConfig) {
1278
- return DocumentControllerApiFp(this.configuration).uploadDocument(file, allowDuplicateFileNames, parametersByFilename, options).then((request) => request(this.axios, this.basePath));
1292
+ public uploadDocument(file: Array<File>, allowDuplicateFileNames?: boolean, autoFile?: boolean, parametersByFilename?: string, options?: RawAxiosRequestConfig) {
1293
+ return DocumentControllerApiFp(this.configuration).uploadDocument(file, allowDuplicateFileNames, autoFile, parametersByFilename, options).then((request) => request(this.axios, this.basePath));
1279
1294
  }
1280
1295
 
1281
1296
  /**
@@ -1283,13 +1298,14 @@ export class DocumentControllerApi extends BaseAPI {
1283
1298
  * @summary Upload a single document
1284
1299
  * @param {File} file
1285
1300
  * @param {boolean} [allowDuplicateFileNames] when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
1301
+ * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
1286
1302
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
1287
1303
  * @param {string} [metadata]
1288
1304
  * @param {*} [options] Override http request option.
1289
1305
  * @throws {RequiredError}
1290
1306
  */
1291
- public uploadDocument1(file: File, allowDuplicateFileNames?: boolean, parentFolderId?: string, metadata?: string, options?: RawAxiosRequestConfig) {
1292
- return DocumentControllerApiFp(this.configuration).uploadDocument1(file, allowDuplicateFileNames, parentFolderId, metadata, options).then((request) => request(this.axios, this.basePath));
1307
+ public uploadDocument1(file: File, allowDuplicateFileNames?: boolean, autoFile?: boolean, parentFolderId?: string, metadata?: string, options?: RawAxiosRequestConfig) {
1308
+ return DocumentControllerApiFp(this.configuration).uploadDocument1(file, allowDuplicateFileNames, autoFile, parentFolderId, metadata, options).then((request) => request(this.axios, this.basePath));
1293
1309
  }
1294
1310
  }
1295
1311