@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,219 @@
|
|
|
1
|
+
# DocumentInsightsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8081*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**backfill**](#backfill) | **POST** /api/v1/ai/insights/backfill | Enrich existing documents|
|
|
8
|
+
|[**backfillStatus**](#backfillstatus) | **GET** /api/v1/ai/insights/backfill/{jobId} | Progress of a backfill job|
|
|
9
|
+
|[**getInsights**](#getinsights) | **GET** /api/v1/documents/{documentId}/insights | Get the insights of a document|
|
|
10
|
+
|[**setCategory**](#setcategory) | **PATCH** /api/v1/documents/{documentId}/insights | Correct the kind of a document|
|
|
11
|
+
|
|
12
|
+
# **backfill**
|
|
13
|
+
> InsightBackfillStatus backfill()
|
|
14
|
+
|
|
15
|
+
Queues every FILE without a tier-2 insight (or with an older prompt version when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}.
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
DocumentInsightsApi,
|
|
22
|
+
Configuration,
|
|
23
|
+
InsightBackfillRequest
|
|
24
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
25
|
+
|
|
26
|
+
const configuration = new Configuration();
|
|
27
|
+
const apiInstance = new DocumentInsightsApi(configuration);
|
|
28
|
+
|
|
29
|
+
let insightBackfillRequest: InsightBackfillRequest; // (optional)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.backfill(
|
|
32
|
+
insightBackfillRequest
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **insightBackfillRequest** | **InsightBackfillRequest**| | |
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Return type
|
|
44
|
+
|
|
45
|
+
**InsightBackfillStatus**
|
|
46
|
+
|
|
47
|
+
### Authorization
|
|
48
|
+
|
|
49
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
50
|
+
|
|
51
|
+
### HTTP request headers
|
|
52
|
+
|
|
53
|
+
- **Content-Type**: application/json
|
|
54
|
+
- **Accept**: application/json
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### HTTP response details
|
|
58
|
+
| Status code | Description | Response headers |
|
|
59
|
+
|-------------|-------------|------------------|
|
|
60
|
+
|**200** | OK | - |
|
|
61
|
+
|
|
62
|
+
[[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)
|
|
63
|
+
|
|
64
|
+
# **backfillStatus**
|
|
65
|
+
> InsightBackfillStatus backfillStatus()
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Example
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
import {
|
|
72
|
+
DocumentInsightsApi,
|
|
73
|
+
Configuration
|
|
74
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
75
|
+
|
|
76
|
+
const configuration = new Configuration();
|
|
77
|
+
const apiInstance = new DocumentInsightsApi(configuration);
|
|
78
|
+
|
|
79
|
+
let jobId: string; // (default to undefined)
|
|
80
|
+
|
|
81
|
+
const { status, data } = await apiInstance.backfillStatus(
|
|
82
|
+
jobId
|
|
83
|
+
);
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
|Name | Type | Description | Notes|
|
|
89
|
+
|------------- | ------------- | ------------- | -------------|
|
|
90
|
+
| **jobId** | [**string**] | | defaults to undefined|
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Return type
|
|
94
|
+
|
|
95
|
+
**InsightBackfillStatus**
|
|
96
|
+
|
|
97
|
+
### Authorization
|
|
98
|
+
|
|
99
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
100
|
+
|
|
101
|
+
### HTTP request headers
|
|
102
|
+
|
|
103
|
+
- **Content-Type**: Not defined
|
|
104
|
+
- **Accept**: application/json
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### HTTP response details
|
|
108
|
+
| Status code | Description | Response headers |
|
|
109
|
+
|-------------|-------------|------------------|
|
|
110
|
+
|**200** | OK | - |
|
|
111
|
+
|
|
112
|
+
[[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)
|
|
113
|
+
|
|
114
|
+
# **getInsights**
|
|
115
|
+
> DocumentInsightView getInsights()
|
|
116
|
+
|
|
117
|
+
Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
|
|
118
|
+
|
|
119
|
+
### Example
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
import {
|
|
123
|
+
DocumentInsightsApi,
|
|
124
|
+
Configuration
|
|
125
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
126
|
+
|
|
127
|
+
const configuration = new Configuration();
|
|
128
|
+
const apiInstance = new DocumentInsightsApi(configuration);
|
|
129
|
+
|
|
130
|
+
let documentId: string; // (default to undefined)
|
|
131
|
+
|
|
132
|
+
const { status, data } = await apiInstance.getInsights(
|
|
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
|
+
**DocumentInsightView**
|
|
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
|
+
# **setCategory**
|
|
166
|
+
> DocumentInsightView setCategory(insightCategoryUpdate)
|
|
167
|
+
|
|
168
|
+
Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
|
|
169
|
+
|
|
170
|
+
### Example
|
|
171
|
+
|
|
172
|
+
```typescript
|
|
173
|
+
import {
|
|
174
|
+
DocumentInsightsApi,
|
|
175
|
+
Configuration,
|
|
176
|
+
InsightCategoryUpdate
|
|
177
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
178
|
+
|
|
179
|
+
const configuration = new Configuration();
|
|
180
|
+
const apiInstance = new DocumentInsightsApi(configuration);
|
|
181
|
+
|
|
182
|
+
let documentId: string; // (default to undefined)
|
|
183
|
+
let insightCategoryUpdate: InsightCategoryUpdate; //
|
|
184
|
+
|
|
185
|
+
const { status, data } = await apiInstance.setCategory(
|
|
186
|
+
documentId,
|
|
187
|
+
insightCategoryUpdate
|
|
188
|
+
);
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Parameters
|
|
192
|
+
|
|
193
|
+
|Name | Type | Description | Notes|
|
|
194
|
+
|------------- | ------------- | ------------- | -------------|
|
|
195
|
+
| **insightCategoryUpdate** | **InsightCategoryUpdate**| | |
|
|
196
|
+
| **documentId** | [**string**] | | defaults to undefined|
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
### Return type
|
|
200
|
+
|
|
201
|
+
**DocumentInsightView**
|
|
202
|
+
|
|
203
|
+
### Authorization
|
|
204
|
+
|
|
205
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
206
|
+
|
|
207
|
+
### HTTP request headers
|
|
208
|
+
|
|
209
|
+
- **Content-Type**: application/json
|
|
210
|
+
- **Accept**: application/json
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### HTTP response details
|
|
214
|
+
| Status code | Description | Response headers |
|
|
215
|
+
|-------------|-------------|------------------|
|
|
216
|
+
|**200** | OK | - |
|
|
217
|
+
|
|
218
|
+
[[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)
|
|
219
|
+
|
package/docs/ESignApi.md
CHANGED
|
@@ -8,7 +8,7 @@ All URIs are relative to *http://localhost:8081*
|
|
|
8
8
|
|[**cloudSubscription**](#cloudsubscription) | **GET** /api/v1/signatures/cloud-subscription | Cloud Signing subscription and month-to-date usage (openfilz-cloud seal provider only)|
|
|
9
9
|
|[**create**](#create) | **POST** /api/v1/signatures | Create an envelope (sent immediately unless send=false)|
|
|
10
10
|
|[**events**](#events) | **GET** /api/v1/signatures/{id}/events | Audit trail of one of my envelopes|
|
|
11
|
-
|[**
|
|
11
|
+
|[**get3**](#get3) | **GET** /api/v1/signatures/{id} | Get one of my envelopes (recipients + fields)|
|
|
12
12
|
|[**listSent**](#listsent) | **GET** /api/v1/signatures | List envelopes I sent for signature|
|
|
13
13
|
|[**listToSign**](#listtosign) | **GET** /api/v1/signatures/to-sign | List envelopes waiting for my signature|
|
|
14
14
|
|[**resend**](#resend) | **POST** /api/v1/signatures/{id}/recipients/{recipientId}/resend | Resend the signing link to a recipient (new token, previous one revoked)|
|
|
@@ -209,8 +209,8 @@ const { status, data } = await apiInstance.events(
|
|
|
209
209
|
|
|
210
210
|
[[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)
|
|
211
211
|
|
|
212
|
-
# **
|
|
213
|
-
> SignatureEnvelopeDTO
|
|
212
|
+
# **get3**
|
|
213
|
+
> SignatureEnvelopeDTO get3()
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
### Example
|
|
@@ -226,7 +226,7 @@ const apiInstance = new ESignApi(configuration);
|
|
|
226
226
|
|
|
227
227
|
let id: string; // (default to undefined)
|
|
228
228
|
|
|
229
|
-
const { status, data } = await apiInstance.
|
|
229
|
+
const { status, data } = await apiInstance.get3(
|
|
230
230
|
id
|
|
231
231
|
);
|
|
232
232
|
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# FilingOutcome
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**documentId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**fromFolderId** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**fromPath** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**toFolderId** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**toPath** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**stage** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**confidence** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**reason** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**planId** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**decidedAt** | **string** | | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { FilingOutcome } from '@openfilz-sdk/typescript-ee';
|
|
25
|
+
|
|
26
|
+
const instance: FilingOutcome = {
|
|
27
|
+
documentId,
|
|
28
|
+
name,
|
|
29
|
+
status,
|
|
30
|
+
fromFolderId,
|
|
31
|
+
fromPath,
|
|
32
|
+
toFolderId,
|
|
33
|
+
toPath,
|
|
34
|
+
stage,
|
|
35
|
+
confidence,
|
|
36
|
+
reason,
|
|
37
|
+
planId,
|
|
38
|
+
decidedAt,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# InsightBackfillRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**folderId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**force** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { InsightBackfillRequest } from '@openfilz-sdk/typescript-ee';
|
|
15
|
+
|
|
16
|
+
const instance: InsightBackfillRequest = {
|
|
17
|
+
folderId,
|
|
18
|
+
force,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# InsightBackfillStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**jobId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**folderId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**force** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**done** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**failed** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**skipped** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**startedAt** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**finishedAt** | **string** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { InsightBackfillStatus } from '@openfilz-sdk/typescript-ee';
|
|
23
|
+
|
|
24
|
+
const instance: InsightBackfillStatus = {
|
|
25
|
+
jobId,
|
|
26
|
+
folderId,
|
|
27
|
+
force,
|
|
28
|
+
status,
|
|
29
|
+
total,
|
|
30
|
+
done,
|
|
31
|
+
failed,
|
|
32
|
+
skipped,
|
|
33
|
+
startedAt,
|
|
34
|
+
finishedAt,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# InsightCategoryUpdate
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**category** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { InsightCategoryUpdate } from '@openfilz-sdk/typescript-ee';
|
|
14
|
+
|
|
15
|
+
const instance: InsightCategoryUpdate = {
|
|
16
|
+
category,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ReorganizationByKindRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**rootFolderId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ReorganizationByKindRequest } from '@openfilz-sdk/typescript-ee';
|
|
14
|
+
|
|
15
|
+
const instance: ReorganizationByKindRequest = {
|
|
16
|
+
rootFolderId,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SaveAiPreferencesRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**autoFile** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
**autoFileNewFolders** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SaveAiPreferencesRequest } from '@openfilz-sdk/typescript-ee';
|
|
15
|
+
|
|
16
|
+
const instance: SaveAiPreferencesRequest = {
|
|
17
|
+
autoFile,
|
|
18
|
+
autoFileNewFolders,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Settings.md
CHANGED
|
@@ -13,6 +13,9 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**thumbnailsActive** | **boolean** | | [optional] [default to undefined]
|
|
14
14
|
**aiActive** | **boolean** | | [optional] [default to undefined]
|
|
15
15
|
**aiUserSettingsEnabled** | **boolean** | | [optional] [default to undefined]
|
|
16
|
+
**aiInsightsActive** | **boolean** | | [optional] [default to undefined]
|
|
17
|
+
**aiInsightsCategories** | **Array<string>** | | [optional] [default to undefined]
|
|
18
|
+
**aiAutoFileActive** | **boolean** | | [optional] [default to undefined]
|
|
16
19
|
**signatureActive** | **boolean** | | [optional] [default to undefined]
|
|
17
20
|
**pdfToolsActive** | **boolean** | | [optional] [default to undefined]
|
|
18
21
|
**signatureRequesterRoleRequired** | **boolean** | | [optional] [default to undefined]
|
|
@@ -41,6 +44,9 @@ const instance: Settings = {
|
|
|
41
44
|
thumbnailsActive,
|
|
42
45
|
aiActive,
|
|
43
46
|
aiUserSettingsEnabled,
|
|
47
|
+
aiInsightsActive,
|
|
48
|
+
aiInsightsCategories,
|
|
49
|
+
aiAutoFileActive,
|
|
44
50
|
signatureActive,
|
|
45
51
|
pdfToolsActive,
|
|
46
52
|
signatureRequesterRoleRequired,
|
package/docs/SettingsApi.md
CHANGED
|
@@ -4,10 +4,55 @@ All URIs are relative to *http://localhost:8081*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**get2**](#get2) | **GET** /api/v1/settings/ai/preferences | The caller\'s smart-filing preferences|
|
|
7
8
|
|[**getLicenseInfo**](#getlicenseinfo) | **GET** /api/v1/settings/license | Coarse license info|
|
|
8
9
|
|[**getSettings**](#getsettings) | **GET** /api/v1/settings | Get user\'s settings|
|
|
10
|
+
|[**save**](#save) | **PUT** /api/v1/settings/ai/preferences | Save the caller\'s smart-filing preferences|
|
|
9
11
|
|[**saveSettings**](#savesettings) | **PUT** /api/v1/settings | Save user preferences|
|
|
10
12
|
|
|
13
|
+
# **get2**
|
|
14
|
+
> AiPreferencesView get2()
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
SettingsApi,
|
|
22
|
+
Configuration
|
|
23
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new SettingsApi(configuration);
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.get2();
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Parameters
|
|
32
|
+
This endpoint does not have any parameters.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Return type
|
|
36
|
+
|
|
37
|
+
**AiPreferencesView**
|
|
38
|
+
|
|
39
|
+
### Authorization
|
|
40
|
+
|
|
41
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
42
|
+
|
|
43
|
+
### HTTP request headers
|
|
44
|
+
|
|
45
|
+
- **Content-Type**: Not defined
|
|
46
|
+
- **Accept**: application/json
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### HTTP response details
|
|
50
|
+
| Status code | Description | Response headers |
|
|
51
|
+
|-------------|-------------|------------------|
|
|
52
|
+
|**200** | OK | - |
|
|
53
|
+
|
|
54
|
+
[[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)
|
|
55
|
+
|
|
11
56
|
# **getLicenseInfo**
|
|
12
57
|
> LicenseInfo getLicenseInfo()
|
|
13
58
|
|
|
@@ -89,6 +134,58 @@ This endpoint does not have any parameters.
|
|
|
89
134
|
- **Accept**: */*
|
|
90
135
|
|
|
91
136
|
|
|
137
|
+
### HTTP response details
|
|
138
|
+
| Status code | Description | Response headers |
|
|
139
|
+
|-------------|-------------|------------------|
|
|
140
|
+
|**200** | OK | - |
|
|
141
|
+
|
|
142
|
+
[[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)
|
|
143
|
+
|
|
144
|
+
# **save**
|
|
145
|
+
> AiPreferencesView save(saveAiPreferencesRequest)
|
|
146
|
+
|
|
147
|
+
A null field leaves the current value unchanged.
|
|
148
|
+
|
|
149
|
+
### Example
|
|
150
|
+
|
|
151
|
+
```typescript
|
|
152
|
+
import {
|
|
153
|
+
SettingsApi,
|
|
154
|
+
Configuration,
|
|
155
|
+
SaveAiPreferencesRequest
|
|
156
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
157
|
+
|
|
158
|
+
const configuration = new Configuration();
|
|
159
|
+
const apiInstance = new SettingsApi(configuration);
|
|
160
|
+
|
|
161
|
+
let saveAiPreferencesRequest: SaveAiPreferencesRequest; //
|
|
162
|
+
|
|
163
|
+
const { status, data } = await apiInstance.save(
|
|
164
|
+
saveAiPreferencesRequest
|
|
165
|
+
);
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Parameters
|
|
169
|
+
|
|
170
|
+
|Name | Type | Description | Notes|
|
|
171
|
+
|------------- | ------------- | ------------- | -------------|
|
|
172
|
+
| **saveAiPreferencesRequest** | **SaveAiPreferencesRequest**| | |
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Return type
|
|
176
|
+
|
|
177
|
+
**AiPreferencesView**
|
|
178
|
+
|
|
179
|
+
### Authorization
|
|
180
|
+
|
|
181
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
182
|
+
|
|
183
|
+
### HTTP request headers
|
|
184
|
+
|
|
185
|
+
- **Content-Type**: application/json
|
|
186
|
+
- **Accept**: application/json
|
|
187
|
+
|
|
188
|
+
|
|
92
189
|
### HTTP response details
|
|
93
190
|
| Status code | Description | Response headers |
|
|
94
191
|
|-------------|-------------|------------------|
|