@openfilz-sdk/typescript-ee 1.9.6 → 1.9.8
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 +26 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +27 -4
- package/api/aichat-api.ts +82 -9
- package/api/document-controller-api.ts +30 -14
- package/api/document-insights-api.ts +357 -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 +37 -4
- package/dist/api/aichat-api.js +77 -9
- 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 +170 -0
- package/dist/api/document-insights-api.js +346 -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 +37 -4
- package/dist/esm/api/aichat-api.js +77 -9
- 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 +170 -0
- package/dist/esm/api/document-insights-api.js +339 -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 +11 -0
- package/dist/esm/models/index.js +11 -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/insight-category-update.d.ts +14 -0
- package/dist/esm/models/insight-category-update.js +14 -0
- package/dist/esm/models/reorganization-by-kind-request.d.ts +14 -0
- package/dist/esm/models/reorganization-by-kind-request.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 +3 -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 +11 -0
- package/dist/models/index.js +11 -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/insight-category-update.d.ts +14 -0
- package/dist/models/insight-category-update.js +15 -0
- package/dist/models/reorganization-by-kind-request.d.ts +14 -0
- package/dist/models/reorganization-by-kind-request.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 +3 -0
- package/dist/models/tus-finalize-request.d.ts +1 -0
- package/dist/models/upload-response.d.ts +2 -0
- package/docs/AIChatApi.md +57 -4
- 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 +219 -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/InsightCategoryUpdate.md +20 -0
- package/docs/ReorganizationByKindRequest.md +20 -0
- package/docs/SaveAiPreferencesRequest.md +22 -0
- package/docs/Settings.md +6 -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 +11 -0
- package/models/insight-backfill-request.ts +21 -0
- package/models/insight-backfill-status.ts +29 -0
- package/models/insight-category-update.ts +20 -0
- package/models/reorganization-by-kind-request.ts +20 -0
- package/models/save-ai-preferences-request.ts +21 -0
- package/models/settings.ts +3 -0
- package/models/tus-finalize-request.ts +1 -0
- package/models/upload-response.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
# SmartFilingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8081*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**file**](#file) | **POST** /api/v1/ai/auto-file | File existing documents on demand|
|
|
8
|
+
|[**job**](#job) | **GET** /api/v1/ai/auto-file/{jobId} | Progress and outcome of a filing job|
|
|
9
|
+
|[**lastFiling**](#lastfiling) | **GET** /api/v1/ai/auto-file/document/{documentId} | The latest filing record of a document (the \"Filed by OpenFilz\" chip)|
|
|
10
|
+
|[**undo**](#undo) | **POST** /api/v1/ai/auto-file/{jobId}/undo | Move every document the job filed back where it came from|
|
|
11
|
+
|[**undoFiling**](#undofiling) | **POST** /api/v1/ai/auto-file/filing/{planId}/undo | Move one filed document back (the chip\'s \"Move back\")|
|
|
12
|
+
|
|
13
|
+
# **file**
|
|
14
|
+
> AutoFileJobView file(autoFileRequest)
|
|
15
|
+
|
|
16
|
+
Runs smart filing for the given documents (e.g. the contents of an Inbox) and returns the job at once.
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import {
|
|
22
|
+
SmartFilingApi,
|
|
23
|
+
Configuration,
|
|
24
|
+
AutoFileRequest
|
|
25
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
26
|
+
|
|
27
|
+
const configuration = new Configuration();
|
|
28
|
+
const apiInstance = new SmartFilingApi(configuration);
|
|
29
|
+
|
|
30
|
+
let autoFileRequest: AutoFileRequest; //
|
|
31
|
+
|
|
32
|
+
const { status, data } = await apiInstance.file(
|
|
33
|
+
autoFileRequest
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
|Name | Type | Description | Notes|
|
|
40
|
+
|------------- | ------------- | ------------- | -------------|
|
|
41
|
+
| **autoFileRequest** | **AutoFileRequest**| | |
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
**AutoFileJobView**
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: application/json
|
|
55
|
+
- **Accept**: application/json
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### HTTP response details
|
|
59
|
+
| Status code | Description | Response headers |
|
|
60
|
+
|-------------|-------------|------------------|
|
|
61
|
+
|**200** | OK | - |
|
|
62
|
+
|
|
63
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
64
|
+
|
|
65
|
+
# **job**
|
|
66
|
+
> AutoFileJobView job()
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
SmartFilingApi,
|
|
74
|
+
Configuration
|
|
75
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
76
|
+
|
|
77
|
+
const configuration = new Configuration();
|
|
78
|
+
const apiInstance = new SmartFilingApi(configuration);
|
|
79
|
+
|
|
80
|
+
let jobId: string; // (default to undefined)
|
|
81
|
+
|
|
82
|
+
const { status, data } = await apiInstance.job(
|
|
83
|
+
jobId
|
|
84
|
+
);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Parameters
|
|
88
|
+
|
|
89
|
+
|Name | Type | Description | Notes|
|
|
90
|
+
|------------- | ------------- | ------------- | -------------|
|
|
91
|
+
| **jobId** | [**string**] | | defaults to undefined|
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
### Return type
|
|
95
|
+
|
|
96
|
+
**AutoFileJobView**
|
|
97
|
+
|
|
98
|
+
### Authorization
|
|
99
|
+
|
|
100
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
101
|
+
|
|
102
|
+
### HTTP request headers
|
|
103
|
+
|
|
104
|
+
- **Content-Type**: Not defined
|
|
105
|
+
- **Accept**: application/json
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### HTTP response details
|
|
109
|
+
| Status code | Description | Response headers |
|
|
110
|
+
|-------------|-------------|------------------|
|
|
111
|
+
|**200** | OK | - |
|
|
112
|
+
|
|
113
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
114
|
+
|
|
115
|
+
# **lastFiling**
|
|
116
|
+
> FilingOutcome lastFiling()
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Example
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
import {
|
|
123
|
+
SmartFilingApi,
|
|
124
|
+
Configuration
|
|
125
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
126
|
+
|
|
127
|
+
const configuration = new Configuration();
|
|
128
|
+
const apiInstance = new SmartFilingApi(configuration);
|
|
129
|
+
|
|
130
|
+
let documentId: string; // (default to undefined)
|
|
131
|
+
|
|
132
|
+
const { status, data } = await apiInstance.lastFiling(
|
|
133
|
+
documentId
|
|
134
|
+
);
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Parameters
|
|
138
|
+
|
|
139
|
+
|Name | Type | Description | Notes|
|
|
140
|
+
|------------- | ------------- | ------------- | -------------|
|
|
141
|
+
| **documentId** | [**string**] | | defaults to undefined|
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### Return type
|
|
145
|
+
|
|
146
|
+
**FilingOutcome**
|
|
147
|
+
|
|
148
|
+
### Authorization
|
|
149
|
+
|
|
150
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
151
|
+
|
|
152
|
+
### HTTP request headers
|
|
153
|
+
|
|
154
|
+
- **Content-Type**: Not defined
|
|
155
|
+
- **Accept**: application/json
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
### HTTP response details
|
|
159
|
+
| Status code | Description | Response headers |
|
|
160
|
+
|-------------|-------------|------------------|
|
|
161
|
+
|**200** | OK | - |
|
|
162
|
+
|
|
163
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
164
|
+
|
|
165
|
+
# **undo**
|
|
166
|
+
> AutoFileJobView undo()
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
### Example
|
|
170
|
+
|
|
171
|
+
```typescript
|
|
172
|
+
import {
|
|
173
|
+
SmartFilingApi,
|
|
174
|
+
Configuration
|
|
175
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
176
|
+
|
|
177
|
+
const configuration = new Configuration();
|
|
178
|
+
const apiInstance = new SmartFilingApi(configuration);
|
|
179
|
+
|
|
180
|
+
let jobId: string; // (default to undefined)
|
|
181
|
+
|
|
182
|
+
const { status, data } = await apiInstance.undo(
|
|
183
|
+
jobId
|
|
184
|
+
);
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Parameters
|
|
188
|
+
|
|
189
|
+
|Name | Type | Description | Notes|
|
|
190
|
+
|------------- | ------------- | ------------- | -------------|
|
|
191
|
+
| **jobId** | [**string**] | | defaults to undefined|
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### Return type
|
|
195
|
+
|
|
196
|
+
**AutoFileJobView**
|
|
197
|
+
|
|
198
|
+
### Authorization
|
|
199
|
+
|
|
200
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
201
|
+
|
|
202
|
+
### HTTP request headers
|
|
203
|
+
|
|
204
|
+
- **Content-Type**: Not defined
|
|
205
|
+
- **Accept**: application/json
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### HTTP response details
|
|
209
|
+
| Status code | Description | Response headers |
|
|
210
|
+
|-------------|-------------|------------------|
|
|
211
|
+
|**200** | OK | - |
|
|
212
|
+
|
|
213
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
214
|
+
|
|
215
|
+
# **undoFiling**
|
|
216
|
+
> FilingOutcome undoFiling()
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### Example
|
|
220
|
+
|
|
221
|
+
```typescript
|
|
222
|
+
import {
|
|
223
|
+
SmartFilingApi,
|
|
224
|
+
Configuration
|
|
225
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
226
|
+
|
|
227
|
+
const configuration = new Configuration();
|
|
228
|
+
const apiInstance = new SmartFilingApi(configuration);
|
|
229
|
+
|
|
230
|
+
let planId: string; // (default to undefined)
|
|
231
|
+
|
|
232
|
+
const { status, data } = await apiInstance.undoFiling(
|
|
233
|
+
planId
|
|
234
|
+
);
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Parameters
|
|
238
|
+
|
|
239
|
+
|Name | Type | Description | Notes|
|
|
240
|
+
|------------- | ------------- | ------------- | -------------|
|
|
241
|
+
| **planId** | [**string**] | | defaults to undefined|
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
### Return type
|
|
245
|
+
|
|
246
|
+
**FilingOutcome**
|
|
247
|
+
|
|
248
|
+
### Authorization
|
|
249
|
+
|
|
250
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
251
|
+
|
|
252
|
+
### HTTP request headers
|
|
253
|
+
|
|
254
|
+
- **Content-Type**: Not defined
|
|
255
|
+
- **Accept**: application/json
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
### HTTP response details
|
|
259
|
+
| Status code | Description | Response headers |
|
|
260
|
+
|-------------|-------------|------------------|
|
|
261
|
+
|**200** | OK | - |
|
|
262
|
+
|
|
263
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
264
|
+
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**parentFolderId** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**metadata** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
11
11
|
**allowDuplicateFileNames** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
**autoFile** | **boolean** | | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const instance: TusFinalizeRequest = {
|
|
|
20
21
|
parentFolderId,
|
|
21
22
|
metadata,
|
|
22
23
|
allowDuplicateFileNames,
|
|
24
|
+
autoFile,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|
package/docs/UploadResponse.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**size** | **number** | | [optional] [default to undefined]
|
|
12
12
|
**errorType** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**errorMessage** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**autoFile** | [**AutoFileTicket**](AutoFileTicket.md) | | [optional] [default to undefined]
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -24,6 +25,7 @@ const instance: UploadResponse = {
|
|
|
24
25
|
size,
|
|
25
26
|
errorType,
|
|
26
27
|
errorMessage,
|
|
28
|
+
autoFile,
|
|
27
29
|
};
|
|
28
30
|
```
|
|
29
31
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface AiPreferencesView {
|
|
18
|
+
'autoFileAvailable'?: boolean;
|
|
19
|
+
'autoFile'?: boolean;
|
|
20
|
+
'autoFileNewFolders'?: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { FilingOutcome } from './filing-outcome';
|
|
19
|
+
|
|
20
|
+
export interface AutoFileJobView {
|
|
21
|
+
'jobId'?: string;
|
|
22
|
+
'createdBy'?: string;
|
|
23
|
+
'status'?: string;
|
|
24
|
+
'total'?: number;
|
|
25
|
+
'filed'?: number;
|
|
26
|
+
'skipped'?: number;
|
|
27
|
+
'failed'?: number;
|
|
28
|
+
'pending'?: number;
|
|
29
|
+
'items'?: Array<FilingOutcome>;
|
|
30
|
+
'createdAt'?: string;
|
|
31
|
+
'finishedAt'?: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface AutoFileRequest {
|
|
18
|
+
'documentIds'?: Array<string>;
|
|
19
|
+
'allowNewFolders'?: boolean;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface AutoFileTicket {
|
|
18
|
+
'jobId'?: string;
|
|
19
|
+
'status'?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface DocumentInsightView {
|
|
18
|
+
'documentId'?: string;
|
|
19
|
+
'fileTitle'?: string;
|
|
20
|
+
'fileAuthor'?: string;
|
|
21
|
+
'fileCreatedAt'?: string;
|
|
22
|
+
'fileModifiedAt'?: string;
|
|
23
|
+
'pageCount'?: number;
|
|
24
|
+
'language'?: string;
|
|
25
|
+
'category'?: string;
|
|
26
|
+
'summary'?: string;
|
|
27
|
+
'keywords'?: Array<string>;
|
|
28
|
+
'entities'?: { [key: string]: any; };
|
|
29
|
+
'tier'?: number;
|
|
30
|
+
'model'?: string;
|
|
31
|
+
'promptVersion'?: number;
|
|
32
|
+
'status'?: string;
|
|
33
|
+
'error'?: string;
|
|
34
|
+
'createdAt'?: string;
|
|
35
|
+
'updatedAt'?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface FilingOutcome {
|
|
18
|
+
'documentId'?: string;
|
|
19
|
+
'name'?: string;
|
|
20
|
+
'status'?: string;
|
|
21
|
+
'fromFolderId'?: string;
|
|
22
|
+
'fromPath'?: string;
|
|
23
|
+
'toFolderId'?: string;
|
|
24
|
+
'toPath'?: string;
|
|
25
|
+
'stage'?: string;
|
|
26
|
+
'confidence'?: number;
|
|
27
|
+
'reason'?: string;
|
|
28
|
+
'planId'?: string;
|
|
29
|
+
'decidedAt'?: string;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -3,11 +3,15 @@ export * from './ai-chat-request';
|
|
|
3
3
|
export * from './ai-chat-response';
|
|
4
4
|
export * from './ai-connection-test-result';
|
|
5
5
|
export * from './ai-models-response';
|
|
6
|
+
export * from './ai-preferences-view';
|
|
6
7
|
export * from './ai-settings-response';
|
|
7
8
|
export * from './ancestor-info';
|
|
8
9
|
export * from './apply-signature-request';
|
|
9
10
|
export * from './audit-log-details';
|
|
10
11
|
export * from './audit-verification-result';
|
|
12
|
+
export * from './auto-file-job-view';
|
|
13
|
+
export * from './auto-file-request';
|
|
14
|
+
export * from './auto-file-ticket';
|
|
11
15
|
export * from './broken-link';
|
|
12
16
|
export * from './bulk-row';
|
|
13
17
|
export * from './bulk-row-result';
|
|
@@ -36,6 +40,7 @@ export * from './delete-metadata-request';
|
|
|
36
40
|
export * from './delete-request';
|
|
37
41
|
export * from './delete-share-request';
|
|
38
42
|
export * from './document-info';
|
|
43
|
+
export * from './document-insight-view';
|
|
39
44
|
export * from './document-position';
|
|
40
45
|
export * from './document-version-info';
|
|
41
46
|
export * from './element-info';
|
|
@@ -44,10 +49,14 @@ export * from './enriched-audit-log';
|
|
|
44
49
|
export * from './enriched-audit-log-details';
|
|
45
50
|
export * from './feature-entitlement';
|
|
46
51
|
export * from './file-type-stats';
|
|
52
|
+
export * from './filing-outcome';
|
|
47
53
|
export * from './filter-input';
|
|
48
54
|
export * from './folder-element-info';
|
|
49
55
|
export * from './folder-response';
|
|
50
56
|
export * from './ingestion-status-dto';
|
|
57
|
+
export * from './insight-backfill-request';
|
|
58
|
+
export * from './insight-backfill-status';
|
|
59
|
+
export * from './insight-category-update';
|
|
51
60
|
export * from './instantiate-template-request';
|
|
52
61
|
export * from './item';
|
|
53
62
|
export * from './item-result';
|
|
@@ -76,6 +85,7 @@ export * from './rename-audit';
|
|
|
76
85
|
export * from './rename-request';
|
|
77
86
|
export * from './reorganization-apply-request';
|
|
78
87
|
export * from './reorganization-apply-result';
|
|
88
|
+
export * from './reorganization-by-kind-request';
|
|
79
89
|
export * from './reorganization-plan-view';
|
|
80
90
|
export * from './replace-audit';
|
|
81
91
|
export * from './response';
|
|
@@ -83,6 +93,7 @@ export * from './restore-version-audit';
|
|
|
83
93
|
export * from './restore-version-response';
|
|
84
94
|
export * from './role-binding';
|
|
85
95
|
export * from './rotate-request';
|
|
96
|
+
export * from './save-ai-preferences-request';
|
|
86
97
|
export * from './save-ai-settings-request';
|
|
87
98
|
export * from './scan-job-status-dto';
|
|
88
99
|
export * from './scan-request-dto';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface InsightBackfillRequest {
|
|
18
|
+
'folderId'?: string;
|
|
19
|
+
'force'?: boolean;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface InsightBackfillStatus {
|
|
18
|
+
'jobId'?: string;
|
|
19
|
+
'folderId'?: string;
|
|
20
|
+
'force'?: boolean;
|
|
21
|
+
'status'?: string;
|
|
22
|
+
'total'?: number;
|
|
23
|
+
'done'?: number;
|
|
24
|
+
'failed'?: number;
|
|
25
|
+
'skipped'?: number;
|
|
26
|
+
'startedAt'?: string;
|
|
27
|
+
'finishedAt'?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface InsightCategoryUpdate {
|
|
18
|
+
'category'?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface ReorganizationByKindRequest {
|
|
18
|
+
'rootFolderId'?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface SaveAiPreferencesRequest {
|
|
18
|
+
'autoFile'?: boolean;
|
|
19
|
+
'autoFileNewFolders'?: boolean;
|
|
20
|
+
}
|
|
21
|
+
|
package/models/settings.ts
CHANGED
|
@@ -23,6 +23,9 @@ export interface Settings {
|
|
|
23
23
|
'thumbnailsActive'?: boolean;
|
|
24
24
|
'aiActive'?: boolean;
|
|
25
25
|
'aiUserSettingsEnabled'?: boolean;
|
|
26
|
+
'aiInsightsActive'?: boolean;
|
|
27
|
+
'aiInsightsCategories'?: Array<string>;
|
|
28
|
+
'aiAutoFileActive'?: boolean;
|
|
26
29
|
'signatureActive'?: boolean;
|
|
27
30
|
'pdfToolsActive'?: boolean;
|
|
28
31
|
'signatureRequesterRoleRequired'?: boolean;
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { AutoFileTicket } from './auto-file-ticket';
|
|
16
19
|
|
|
17
20
|
export interface UploadResponse {
|
|
18
21
|
'id'?: string;
|
|
@@ -21,5 +24,6 @@ export interface UploadResponse {
|
|
|
21
24
|
'size'?: number;
|
|
22
25
|
'errorType'?: string;
|
|
23
26
|
'errorMessage'?: string;
|
|
27
|
+
'autoFile'?: AutoFileTicket;
|
|
24
28
|
}
|
|
25
29
|
|