@openfilz-sdk/typescript 1.3.3 → 1.3.5

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 (146) hide show
  1. package/.openapi-generator/FILES +32 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +30 -3
  4. package/api/aichat-api.ts +228 -0
  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 +103 -0
  12. package/dist/api/aichat-api.js +213 -0
  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 +103 -0
  26. package/dist/esm/api/aichat-api.js +213 -0
  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 +133 -1
  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 +14 -0
  52. package/dist/esm/models/index.js +14 -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/item-result.d.ts +16 -0
  58. package/dist/esm/models/item-result.js +14 -0
  59. package/dist/esm/models/item.d.ts +21 -0
  60. package/dist/esm/models/item.js +14 -0
  61. package/dist/esm/models/reorganization-apply-request.d.ts +14 -0
  62. package/dist/esm/models/reorganization-apply-request.js +14 -0
  63. package/dist/esm/models/reorganization-apply-result.d.ts +22 -0
  64. package/dist/esm/models/reorganization-apply-result.js +14 -0
  65. package/dist/esm/models/reorganization-plan-view.d.ts +28 -0
  66. package/dist/esm/models/reorganization-plan-view.js +14 -0
  67. package/dist/esm/models/save-ai-preferences-request.d.ts +15 -0
  68. package/dist/esm/models/save-ai-preferences-request.js +14 -0
  69. package/dist/esm/models/settings.d.ts +2 -0
  70. package/dist/esm/models/tus-finalize-request.d.ts +1 -0
  71. package/dist/esm/models/upload-response.d.ts +2 -0
  72. package/dist/models/ai-preferences-view.d.ts +16 -0
  73. package/dist/models/ai-preferences-view.js +15 -0
  74. package/dist/models/auto-file-job-view.d.ts +25 -0
  75. package/dist/models/auto-file-job-view.js +15 -0
  76. package/dist/models/auto-file-request.d.ts +15 -0
  77. package/dist/models/auto-file-request.js +15 -0
  78. package/dist/models/auto-file-ticket.d.ts +15 -0
  79. package/dist/models/auto-file-ticket.js +15 -0
  80. package/dist/models/document-insight-view.d.ts +33 -0
  81. package/dist/models/document-insight-view.js +15 -0
  82. package/dist/models/filing-outcome.d.ts +25 -0
  83. package/dist/models/filing-outcome.js +15 -0
  84. package/dist/models/index.d.ts +14 -0
  85. package/dist/models/index.js +14 -0
  86. package/dist/models/insight-backfill-request.d.ts +15 -0
  87. package/dist/models/insight-backfill-request.js +15 -0
  88. package/dist/models/insight-backfill-status.d.ts +23 -0
  89. package/dist/models/insight-backfill-status.js +15 -0
  90. package/dist/models/item-result.d.ts +16 -0
  91. package/dist/models/item-result.js +15 -0
  92. package/dist/models/item.d.ts +21 -0
  93. package/dist/models/item.js +15 -0
  94. package/dist/models/reorganization-apply-request.d.ts +14 -0
  95. package/dist/models/reorganization-apply-request.js +15 -0
  96. package/dist/models/reorganization-apply-result.d.ts +22 -0
  97. package/dist/models/reorganization-apply-result.js +15 -0
  98. package/dist/models/reorganization-plan-view.d.ts +28 -0
  99. package/dist/models/reorganization-plan-view.js +15 -0
  100. package/dist/models/save-ai-preferences-request.d.ts +15 -0
  101. package/dist/models/save-ai-preferences-request.js +15 -0
  102. package/dist/models/settings.d.ts +2 -0
  103. package/dist/models/tus-finalize-request.d.ts +1 -0
  104. package/dist/models/upload-response.d.ts +2 -0
  105. package/docs/AIChatApi.md +159 -0
  106. package/docs/AiPreferencesView.md +24 -0
  107. package/docs/AutoFileJobView.md +40 -0
  108. package/docs/AutoFileRequest.md +22 -0
  109. package/docs/AutoFileTicket.md +22 -0
  110. package/docs/DocumentControllerApi.md +6 -0
  111. package/docs/DocumentInsightView.md +54 -0
  112. package/docs/DocumentInsightsApi.md +163 -0
  113. package/docs/ESignApi.md +4 -4
  114. package/docs/FilingOutcome.md +42 -0
  115. package/docs/InsightBackfillRequest.md +22 -0
  116. package/docs/InsightBackfillStatus.md +38 -0
  117. package/docs/Item.md +34 -0
  118. package/docs/ItemResult.md +24 -0
  119. package/docs/ReorganizationApplyRequest.md +20 -0
  120. package/docs/ReorganizationApplyResult.md +34 -0
  121. package/docs/ReorganizationPlanView.md +44 -0
  122. package/docs/SaveAiPreferencesRequest.md +22 -0
  123. package/docs/Settings.md +4 -0
  124. package/docs/SettingsApi.md +97 -0
  125. package/docs/SmartFilingApi.md +264 -0
  126. package/docs/TusFinalizeRequest.md +2 -0
  127. package/docs/UploadResponse.md +2 -0
  128. package/models/ai-preferences-view.ts +22 -0
  129. package/models/auto-file-job-view.ts +33 -0
  130. package/models/auto-file-request.ts +21 -0
  131. package/models/auto-file-ticket.ts +21 -0
  132. package/models/document-insight-view.ts +37 -0
  133. package/models/filing-outcome.ts +31 -0
  134. package/models/index.ts +14 -0
  135. package/models/insight-backfill-request.ts +21 -0
  136. package/models/insight-backfill-status.ts +29 -0
  137. package/models/item-result.ts +22 -0
  138. package/models/item.ts +27 -0
  139. package/models/reorganization-apply-request.ts +20 -0
  140. package/models/reorganization-apply-result.ts +30 -0
  141. package/models/reorganization-plan-view.ts +38 -0
  142. package/models/save-ai-preferences-request.ts +21 -0
  143. package/models/settings.ts +2 -0
  144. package/models/tus-finalize-request.ts +1 -0
  145. package/models/upload-response.ts +4 -0
  146. package/package.json +1 -1
@@ -8,6 +8,7 @@ api/aisettings-api.ts
8
8
  api/audit-controller-api.ts
9
9
  api/dashboard-api.ts
10
10
  api/document-controller-api.ts
11
+ api/document-insights-api.ts
11
12
  api/document-suggestion-controller-api.ts
12
13
  api/document-version-controller-api.ts
13
14
  api/esign-api.ts
@@ -19,6 +20,7 @@ api/folder-controller-api.ts
19
20
  api/mcp-discovery-controller-api.ts
20
21
  api/pdftools-api.ts
21
22
  api/settings-api.ts
23
+ api/smart-filing-api.ts
22
24
  api/tus-controller-api.ts
23
25
  base.ts
24
26
  common.ts
@@ -30,6 +32,7 @@ docs/AiChatRequest.md
30
32
  docs/AiChatResponse.md
31
33
  docs/AiConnectionTestResult.md
32
34
  docs/AiModelsResponse.md
35
+ docs/AiPreferencesView.md
33
36
  docs/AiSettingsResponse.md
34
37
  docs/AncestorInfo.md
35
38
  docs/ApplySignatureRequest.md
@@ -38,6 +41,9 @@ docs/AuditLog.md
38
41
  docs/AuditLogDetails.md
39
42
  docs/AuditLogDetailsOneOf.md
40
43
  docs/AuditVerificationResult.md
44
+ docs/AutoFileJobView.md
45
+ docs/AutoFileRequest.md
46
+ docs/AutoFileTicket.md
41
47
  docs/BrokenLink.md
42
48
  docs/CloudSignatureSubscription.md
43
49
  docs/CopyAudit.md
@@ -56,6 +62,8 @@ docs/DeleteMetadataRequest.md
56
62
  docs/DeleteRequest.md
57
63
  docs/DocumentControllerApi.md
58
64
  docs/DocumentInfo.md
65
+ docs/DocumentInsightView.md
66
+ docs/DocumentInsightsApi.md
59
67
  docs/DocumentPosition.md
60
68
  docs/DocumentSuggestionControllerApi.md
61
69
  docs/DocumentVersionControllerApi.md
@@ -67,11 +75,16 @@ docs/ElementInfo.md
67
75
  docs/FavoritesApi.md
68
76
  docs/FileControllerApi.md
69
77
  docs/FileTypeStats.md
78
+ docs/FilingOutcome.md
70
79
  docs/FilterInput.md
71
80
  docs/FolderControllerApi.md
72
81
  docs/FolderElementInfo.md
73
82
  docs/FolderResponse.md
83
+ docs/InsightBackfillRequest.md
84
+ docs/InsightBackfillStatus.md
74
85
  docs/InstantiateTemplateRequest.md
86
+ docs/Item.md
87
+ docs/ItemResult.md
75
88
  docs/ListAiModelsRequest.md
76
89
  docs/McpDiscoveryControllerApi.md
77
90
  docs/MergeRequest.md
@@ -91,11 +104,15 @@ docs/PdfTransformAudit.md
91
104
  docs/PublicSignatureView.md
92
105
  docs/RenameAudit.md
93
106
  docs/RenameRequest.md
107
+ docs/ReorganizationApplyRequest.md
108
+ docs/ReorganizationApplyResult.md
109
+ docs/ReorganizationPlanView.md
94
110
  docs/ReplaceAudit.md
95
111
  docs/RestoreVersionAudit.md
96
112
  docs/RestoreVersionResponse.md
97
113
  docs/RoleBinding.md
98
114
  docs/RotateRequest.md
115
+ docs/SaveAiPreferencesRequest.md
99
116
  docs/SaveAiSettingsRequest.md
100
117
  docs/SearchByAuditLogRequest.md
101
118
  docs/SearchByMetadataRequest.md
@@ -114,6 +131,7 @@ docs/SignatureTemplateDTO.md
114
131
  docs/SignatureTemplateField.md
115
132
  docs/SignatureTemplateRequest.md
116
133
  docs/SignatureTemplateRole.md
134
+ docs/SmartFilingApi.md
117
135
  docs/SortInput.md
118
136
  docs/SplitOutput.md
119
137
  docs/SplitRequest.md
@@ -135,6 +153,7 @@ models/ai-chat-request.ts
135
153
  models/ai-chat-response.ts
136
154
  models/ai-connection-test-result.ts
137
155
  models/ai-models-response.ts
156
+ models/ai-preferences-view.ts
138
157
  models/ai-settings-response.ts
139
158
  models/ancestor-info.ts
140
159
  models/apply-signature-request.ts
@@ -142,6 +161,9 @@ models/audit-log-details-one-of.ts
142
161
  models/audit-log-details.ts
143
162
  models/audit-log.ts
144
163
  models/audit-verification-result.ts
164
+ models/auto-file-job-view.ts
165
+ models/auto-file-request.ts
166
+ models/auto-file-ticket.ts
145
167
  models/broken-link.ts
146
168
  models/cloud-signature-subscription.ts
147
169
  models/copy-audit.ts
@@ -158,15 +180,21 @@ models/delete-metadata-audit.ts
158
180
  models/delete-metadata-request.ts
159
181
  models/delete-request.ts
160
182
  models/document-info.ts
183
+ models/document-insight-view.ts
161
184
  models/document-position.ts
162
185
  models/document-version-info.ts
163
186
  models/element-info.ts
164
187
  models/file-type-stats.ts
188
+ models/filing-outcome.ts
165
189
  models/filter-input.ts
166
190
  models/folder-element-info.ts
167
191
  models/folder-response.ts
168
192
  models/index.ts
193
+ models/insight-backfill-request.ts
194
+ models/insight-backfill-status.ts
169
195
  models/instantiate-template-request.ts
196
+ models/item-result.ts
197
+ models/item.ts
170
198
  models/list-ai-models-request.ts
171
199
  models/merge-request.ts
172
200
  models/merge-source.ts
@@ -184,11 +212,15 @@ models/pdf-transform-audit.ts
184
212
  models/public-signature-view.ts
185
213
  models/rename-audit.ts
186
214
  models/rename-request.ts
215
+ models/reorganization-apply-request.ts
216
+ models/reorganization-apply-result.ts
217
+ models/reorganization-plan-view.ts
187
218
  models/replace-audit.ts
188
219
  models/restore-version-audit.ts
189
220
  models/restore-version-response.ts
190
221
  models/role-binding.ts
191
222
  models/rotate-request.ts
223
+ models/save-ai-preferences-request.ts
192
224
  models/save-ai-settings-request.ts
193
225
  models/search-by-audit-log-request.ts
194
226
  models/search-by-metadata-request.ts
@@ -1 +1 @@
1
- 3bf25d3469e139ab811b0cbf0da759c57985be541678a259a937869a80c9d460
1
+ 43c5d04dd3991a7d4b0c4722474c62b97f9244205cf7bc869b7596cb0bca5568
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @openfilz-sdk/typescript@1.3.3
1
+ ## @openfilz-sdk/typescript@1.3.5
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@1.3.3 --save
39
+ npm install @openfilz-sdk/typescript@1.3.5 --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* | [**get3**](docs/AIChatApi.md#get3) | **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
@@ -79,6 +82,9 @@ Class | Method | HTTP request | Description
79
82
  *DocumentControllerApi* | [**updateDocumentMetadata**](docs/DocumentControllerApi.md#updatedocumentmetadata) | **PATCH** /api/v1/documents/{documentId}/metadata | Update document metadata
80
83
  *DocumentControllerApi* | [**uploadDocument**](docs/DocumentControllerApi.md#uploaddocument) | **POST** /api/v1/documents/upload-multiple | Upload multiple documents
81
84
  *DocumentControllerApi* | [**uploadDocument1**](docs/DocumentControllerApi.md#uploaddocument1) | **POST** /api/v1/documents/upload | Upload a single document
85
+ *DocumentInsightsApi* | [**backfill**](docs/DocumentInsightsApi.md#backfill) | **POST** /api/v1/ai/insights/backfill | Enrich existing documents
86
+ *DocumentInsightsApi* | [**backfillStatus**](docs/DocumentInsightsApi.md#backfillstatus) | **GET** /api/v1/ai/insights/backfill/{jobId} | Progress of a backfill job
87
+ *DocumentInsightsApi* | [**getInsights**](docs/DocumentInsightsApi.md#getinsights) | **GET** /api/v1/documents/{documentId}/insights | Get the insights of a document
82
88
  *DocumentSuggestionControllerApi* | [**getSuggestions**](docs/DocumentSuggestionControllerApi.md#getsuggestions) | **GET** /api/v1/suggestions |
83
89
  *DocumentVersionControllerApi* | [**downloadVersion**](docs/DocumentVersionControllerApi.md#downloadversion) | **GET** /api/v1/documents/{documentId}/versions/{versionId}/download | Download a specific document version
84
90
  *DocumentVersionControllerApi* | [**listVersions**](docs/DocumentVersionControllerApi.md#listversions) | **GET** /api/v1/documents/{documentId}/versions | List document versions
@@ -87,7 +93,7 @@ Class | Method | HTTP request | Description
87
93
  *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)
88
94
  *ESignApi* | [**create**](docs/ESignApi.md#create) | **POST** /api/v1/signatures | Create an envelope (sent immediately unless send=false)
89
95
  *ESignApi* | [**events**](docs/ESignApi.md#events) | **GET** /api/v1/signatures/{id}/events | Audit trail of one of my envelopes
90
- *ESignApi* | [**get1**](docs/ESignApi.md#get1) | **GET** /api/v1/signatures/{id} | Get one of my envelopes (recipients + fields)
96
+ *ESignApi* | [**get2**](docs/ESignApi.md#get2) | **GET** /api/v1/signatures/{id} | Get one of my envelopes (recipients + fields)
91
97
  *ESignApi* | [**listSent**](docs/ESignApi.md#listsent) | **GET** /api/v1/signatures | List envelopes I sent for signature
92
98
  *ESignApi* | [**listToSign**](docs/ESignApi.md#listtosign) | **GET** /api/v1/signatures/to-sign | List envelopes waiting for my signature
93
99
  *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)
@@ -128,7 +134,14 @@ Class | Method | HTTP request | Description
128
134
  *PDFToolsApi* | [**organize**](docs/PDFToolsApi.md#organize) | **POST** /api/v1/pdf/organize | Reorganise the pages of a PDF
129
135
  *PDFToolsApi* | [**rotate**](docs/PDFToolsApi.md#rotate) | **POST** /api/v1/pdf/rotate | Rotate pages
130
136
  *PDFToolsApi* | [**split**](docs/PDFToolsApi.md#split) | **POST** /api/v1/pdf/split | Split a PDF
137
+ *SettingsApi* | [**get1**](docs/SettingsApi.md#get1) | **GET** /api/v1/settings/ai/preferences | The caller\'s smart-filing preferences
131
138
  *SettingsApi* | [**getSettings1**](docs/SettingsApi.md#getsettings1) | **GET** /api/v1/settings | Get user\'s settings
139
+ *SettingsApi* | [**save**](docs/SettingsApi.md#save) | **PUT** /api/v1/settings/ai/preferences | Save the caller\'s smart-filing preferences
140
+ *SmartFilingApi* | [**file**](docs/SmartFilingApi.md#file) | **POST** /api/v1/ai/auto-file | File existing documents on demand
141
+ *SmartFilingApi* | [**job**](docs/SmartFilingApi.md#job) | **GET** /api/v1/ai/auto-file/{jobId} | Progress and outcome of a filing job
142
+ *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)
143
+ *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
144
+ *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\")
132
145
  *TusControllerApi* | [**_options**](docs/TusControllerApi.md#_options) | **OPTIONS** /api/v1/tus | TUS capability discovery
133
146
  *TusControllerApi* | [**cancelUpload**](docs/TusControllerApi.md#cancelupload) | **DELETE** /api/v1/tus/{uploadId} | Cancel upload
134
147
  *TusControllerApi* | [**createUpload**](docs/TusControllerApi.md#createupload) | **POST** /api/v1/tus | Create new TUS upload
@@ -147,6 +160,7 @@ Class | Method | HTTP request | Description
147
160
  - [AiChatResponse](docs/AiChatResponse.md)
148
161
  - [AiConnectionTestResult](docs/AiConnectionTestResult.md)
149
162
  - [AiModelsResponse](docs/AiModelsResponse.md)
163
+ - [AiPreferencesView](docs/AiPreferencesView.md)
150
164
  - [AiSettingsResponse](docs/AiSettingsResponse.md)
151
165
  - [AncestorInfo](docs/AncestorInfo.md)
152
166
  - [ApplySignatureRequest](docs/ApplySignatureRequest.md)
@@ -154,6 +168,9 @@ Class | Method | HTTP request | Description
154
168
  - [AuditLogDetails](docs/AuditLogDetails.md)
155
169
  - [AuditLogDetailsOneOf](docs/AuditLogDetailsOneOf.md)
156
170
  - [AuditVerificationResult](docs/AuditVerificationResult.md)
171
+ - [AutoFileJobView](docs/AutoFileJobView.md)
172
+ - [AutoFileRequest](docs/AutoFileRequest.md)
173
+ - [AutoFileTicket](docs/AutoFileTicket.md)
157
174
  - [BrokenLink](docs/BrokenLink.md)
158
175
  - [CloudSignatureSubscription](docs/CloudSignatureSubscription.md)
159
176
  - [CopyAudit](docs/CopyAudit.md)
@@ -170,14 +187,20 @@ Class | Method | HTTP request | Description
170
187
  - [DeleteMetadataRequest](docs/DeleteMetadataRequest.md)
171
188
  - [DeleteRequest](docs/DeleteRequest.md)
172
189
  - [DocumentInfo](docs/DocumentInfo.md)
190
+ - [DocumentInsightView](docs/DocumentInsightView.md)
173
191
  - [DocumentPosition](docs/DocumentPosition.md)
174
192
  - [DocumentVersionInfo](docs/DocumentVersionInfo.md)
175
193
  - [ElementInfo](docs/ElementInfo.md)
176
194
  - [FileTypeStats](docs/FileTypeStats.md)
195
+ - [FilingOutcome](docs/FilingOutcome.md)
177
196
  - [FilterInput](docs/FilterInput.md)
178
197
  - [FolderElementInfo](docs/FolderElementInfo.md)
179
198
  - [FolderResponse](docs/FolderResponse.md)
199
+ - [InsightBackfillRequest](docs/InsightBackfillRequest.md)
200
+ - [InsightBackfillStatus](docs/InsightBackfillStatus.md)
180
201
  - [InstantiateTemplateRequest](docs/InstantiateTemplateRequest.md)
202
+ - [Item](docs/Item.md)
203
+ - [ItemResult](docs/ItemResult.md)
181
204
  - [ListAiModelsRequest](docs/ListAiModelsRequest.md)
182
205
  - [MergeRequest](docs/MergeRequest.md)
183
206
  - [MergeSource](docs/MergeSource.md)
@@ -195,11 +218,15 @@ Class | Method | HTTP request | Description
195
218
  - [PublicSignatureView](docs/PublicSignatureView.md)
196
219
  - [RenameAudit](docs/RenameAudit.md)
197
220
  - [RenameRequest](docs/RenameRequest.md)
221
+ - [ReorganizationApplyRequest](docs/ReorganizationApplyRequest.md)
222
+ - [ReorganizationApplyResult](docs/ReorganizationApplyResult.md)
223
+ - [ReorganizationPlanView](docs/ReorganizationPlanView.md)
198
224
  - [ReplaceAudit](docs/ReplaceAudit.md)
199
225
  - [RestoreVersionAudit](docs/RestoreVersionAudit.md)
200
226
  - [RestoreVersionResponse](docs/RestoreVersionResponse.md)
201
227
  - [RoleBinding](docs/RoleBinding.md)
202
228
  - [RotateRequest](docs/RotateRequest.md)
229
+ - [SaveAiPreferencesRequest](docs/SaveAiPreferencesRequest.md)
203
230
  - [SaveAiSettingsRequest](docs/SaveAiSettingsRequest.md)
204
231
  - [SearchByAuditLogRequest](docs/SearchByAuditLogRequest.md)
205
232
  - [SearchByMetadataRequest](docs/SearchByMetadataRequest.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
+ get3: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
204
+ // verify required parameter 'planId' is not null or undefined
205
+ assertParamExists('get3', '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 get3(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>> {
376
+ const localVarAxiosArgs = await localVarAxiosParamCreator.get3(planId, options);
377
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
378
+ const localVarOperationServerBasePath = operationServerMap['AIChatApi.get3']?.[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
+ get3(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView> {
464
+ return localVarFp.get3(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 get3(planId: string, options?: RawAxiosRequestConfig) {
545
+ return AIChatApiFp(this.configuration).get3(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