@openfilz-sdk/typescript-ee 1.9.5 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +32 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +30 -3
- package/api/aichat-api.ts +228 -0
- package/api/document-controller-api.ts +30 -14
- package/api/document-insights-api.ts +275 -0
- package/api/esign-api.ts +9 -9
- package/api/settings-api.ts +142 -0
- package/api/smart-filing-api.ts +421 -0
- package/api.ts +2 -0
- package/dist/api/aichat-api.d.ts +103 -0
- package/dist/api/aichat-api.js +213 -0
- package/dist/api/document-controller-api.d.ts +16 -8
- package/dist/api/document-controller-api.js +28 -14
- package/dist/api/document-insights-api.d.ts +133 -0
- package/dist/api/document-insights-api.js +269 -0
- package/dist/api/esign-api.d.ts +4 -4
- package/dist/api/esign-api.js +9 -9
- package/dist/api/settings-api.d.ts +62 -0
- package/dist/api/settings-api.js +132 -0
- package/dist/api/smart-filing-api.d.ts +197 -0
- package/dist/api/smart-filing-api.js +409 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/aichat-api.d.ts +103 -0
- package/dist/esm/api/aichat-api.js +213 -0
- package/dist/esm/api/document-controller-api.d.ts +16 -8
- package/dist/esm/api/document-controller-api.js +28 -14
- package/dist/esm/api/document-insights-api.d.ts +133 -0
- package/dist/esm/api/document-insights-api.js +262 -0
- package/dist/esm/api/esign-api.d.ts +4 -4
- package/dist/esm/api/esign-api.js +9 -9
- package/dist/esm/api/settings-api.d.ts +62 -0
- package/dist/esm/api/settings-api.js +132 -0
- package/dist/esm/api/smart-filing-api.d.ts +197 -0
- package/dist/esm/api/smart-filing-api.js +402 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/ai-preferences-view.d.ts +16 -0
- package/dist/esm/models/ai-preferences-view.js +14 -0
- package/dist/esm/models/auto-file-job-view.d.ts +25 -0
- package/dist/esm/models/auto-file-job-view.js +14 -0
- package/dist/esm/models/auto-file-request.d.ts +15 -0
- package/dist/esm/models/auto-file-request.js +14 -0
- package/dist/esm/models/auto-file-ticket.d.ts +15 -0
- package/dist/esm/models/auto-file-ticket.js +14 -0
- package/dist/esm/models/document-insight-view.d.ts +33 -0
- package/dist/esm/models/document-insight-view.js +14 -0
- package/dist/esm/models/filing-outcome.d.ts +25 -0
- package/dist/esm/models/filing-outcome.js +14 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/models/insight-backfill-request.d.ts +15 -0
- package/dist/esm/models/insight-backfill-request.js +14 -0
- package/dist/esm/models/insight-backfill-status.d.ts +23 -0
- package/dist/esm/models/insight-backfill-status.js +14 -0
- package/dist/esm/models/item-result.d.ts +16 -0
- package/dist/esm/models/item-result.js +14 -0
- package/dist/esm/models/item.d.ts +21 -0
- package/dist/esm/models/item.js +14 -0
- package/dist/esm/models/reorganization-apply-request.d.ts +14 -0
- package/dist/esm/models/reorganization-apply-request.js +14 -0
- package/dist/esm/models/reorganization-apply-result.d.ts +22 -0
- package/dist/esm/models/reorganization-apply-result.js +14 -0
- package/dist/esm/models/reorganization-plan-view.d.ts +28 -0
- package/dist/esm/models/reorganization-plan-view.js +14 -0
- package/dist/esm/models/save-ai-preferences-request.d.ts +15 -0
- package/dist/esm/models/save-ai-preferences-request.js +14 -0
- package/dist/esm/models/settings.d.ts +2 -0
- package/dist/esm/models/tus-finalize-request.d.ts +1 -0
- package/dist/esm/models/upload-response.d.ts +2 -0
- package/dist/models/ai-preferences-view.d.ts +16 -0
- package/dist/models/ai-preferences-view.js +15 -0
- package/dist/models/auto-file-job-view.d.ts +25 -0
- package/dist/models/auto-file-job-view.js +15 -0
- package/dist/models/auto-file-request.d.ts +15 -0
- package/dist/models/auto-file-request.js +15 -0
- package/dist/models/auto-file-ticket.d.ts +15 -0
- package/dist/models/auto-file-ticket.js +15 -0
- package/dist/models/document-insight-view.d.ts +33 -0
- package/dist/models/document-insight-view.js +15 -0
- package/dist/models/filing-outcome.d.ts +25 -0
- package/dist/models/filing-outcome.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/insight-backfill-request.d.ts +15 -0
- package/dist/models/insight-backfill-request.js +15 -0
- package/dist/models/insight-backfill-status.d.ts +23 -0
- package/dist/models/insight-backfill-status.js +15 -0
- package/dist/models/item-result.d.ts +16 -0
- package/dist/models/item-result.js +15 -0
- package/dist/models/item.d.ts +21 -0
- package/dist/models/item.js +15 -0
- package/dist/models/reorganization-apply-request.d.ts +14 -0
- package/dist/models/reorganization-apply-request.js +15 -0
- package/dist/models/reorganization-apply-result.d.ts +22 -0
- package/dist/models/reorganization-apply-result.js +15 -0
- package/dist/models/reorganization-plan-view.d.ts +28 -0
- package/dist/models/reorganization-plan-view.js +15 -0
- package/dist/models/save-ai-preferences-request.d.ts +15 -0
- package/dist/models/save-ai-preferences-request.js +15 -0
- package/dist/models/settings.d.ts +2 -0
- package/dist/models/tus-finalize-request.d.ts +1 -0
- package/dist/models/upload-response.d.ts +2 -0
- package/docs/AIChatApi.md +159 -0
- package/docs/AiPreferencesView.md +24 -0
- package/docs/AutoFileJobView.md +40 -0
- package/docs/AutoFileRequest.md +22 -0
- package/docs/AutoFileTicket.md +22 -0
- package/docs/DocumentControllerApi.md +6 -0
- package/docs/DocumentInsightView.md +54 -0
- package/docs/DocumentInsightsApi.md +163 -0
- package/docs/ESignApi.md +4 -4
- package/docs/FilingOutcome.md +42 -0
- package/docs/InsightBackfillRequest.md +22 -0
- package/docs/InsightBackfillStatus.md +38 -0
- package/docs/Item.md +34 -0
- package/docs/ItemResult.md +24 -0
- package/docs/ReorganizationApplyRequest.md +20 -0
- package/docs/ReorganizationApplyResult.md +34 -0
- package/docs/ReorganizationPlanView.md +44 -0
- package/docs/SaveAiPreferencesRequest.md +22 -0
- package/docs/Settings.md +4 -0
- package/docs/SettingsApi.md +97 -0
- package/docs/SmartFilingApi.md +264 -0
- package/docs/TusFinalizeRequest.md +2 -0
- package/docs/UploadResponse.md +2 -0
- package/models/ai-preferences-view.ts +22 -0
- package/models/auto-file-job-view.ts +33 -0
- package/models/auto-file-request.ts +21 -0
- package/models/auto-file-ticket.ts +21 -0
- package/models/document-insight-view.ts +37 -0
- package/models/filing-outcome.ts +31 -0
- package/models/index.ts +14 -0
- package/models/insight-backfill-request.ts +21 -0
- package/models/insight-backfill-status.ts +29 -0
- package/models/item-result.ts +22 -0
- package/models/item.ts +27 -0
- package/models/reorganization-apply-request.ts +20 -0
- package/models/reorganization-apply-result.ts +30 -0
- package/models/reorganization-plan-view.ts +38 -0
- package/models/save-ai-preferences-request.ts +21 -0
- package/models/settings.ts +2 -0
- package/models/tus-finalize-request.ts +1 -0
- package/models/upload-response.ts +4 -0
- package/package.json +1 -1
|
@@ -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,8 @@ 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
|
+
**aiAutoFileActive** | **boolean** | | [optional] [default to undefined]
|
|
16
18
|
**signatureActive** | **boolean** | | [optional] [default to undefined]
|
|
17
19
|
**pdfToolsActive** | **boolean** | | [optional] [default to undefined]
|
|
18
20
|
**signatureRequesterRoleRequired** | **boolean** | | [optional] [default to undefined]
|
|
@@ -41,6 +43,8 @@ const instance: Settings = {
|
|
|
41
43
|
thumbnailsActive,
|
|
42
44
|
aiActive,
|
|
43
45
|
aiUserSettingsEnabled,
|
|
46
|
+
aiInsightsActive,
|
|
47
|
+
aiAutoFileActive,
|
|
44
48
|
signatureActive,
|
|
45
49
|
pdfToolsActive,
|
|
46
50
|
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
|
|-------------|-------------|------------------|
|
|
@@ -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,11 +49,16 @@ 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';
|
|
51
59
|
export * from './instantiate-template-request';
|
|
60
|
+
export * from './item';
|
|
61
|
+
export * from './item-result';
|
|
52
62
|
export * from './license-info';
|
|
53
63
|
export * from './list-ai-models-request';
|
|
54
64
|
export * from './mcp-agent-token-info';
|
|
@@ -72,12 +82,16 @@ export * from './pdf-transform-audit';
|
|
|
72
82
|
export * from './public-signature-view';
|
|
73
83
|
export * from './rename-audit';
|
|
74
84
|
export * from './rename-request';
|
|
85
|
+
export * from './reorganization-apply-request';
|
|
86
|
+
export * from './reorganization-apply-result';
|
|
87
|
+
export * from './reorganization-plan-view';
|
|
75
88
|
export * from './replace-audit';
|
|
76
89
|
export * from './response';
|
|
77
90
|
export * from './restore-version-audit';
|
|
78
91
|
export * from './restore-version-response';
|
|
79
92
|
export * from './role-binding';
|
|
80
93
|
export * from './rotate-request';
|
|
94
|
+
export * from './save-ai-preferences-request';
|
|
81
95
|
export * from './save-ai-settings-request';
|
|
82
96
|
export * from './scan-job-status-dto';
|
|
83
97
|
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
|
+
|