@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
|
@@ -12,13 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { AiPreferencesView } from '../models';
|
|
15
16
|
import type { LicenseInfo } from '../models';
|
|
17
|
+
import type { SaveAiPreferencesRequest } from '../models';
|
|
16
18
|
import type { Settings } from '../models';
|
|
17
19
|
import type { UserPreferencesRequest } from '../models';
|
|
18
20
|
/**
|
|
19
21
|
* SettingsApi - axios parameter creator
|
|
20
22
|
*/
|
|
21
23
|
export declare const SettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary The caller\'s smart-filing preferences
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
get2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22
31
|
/**
|
|
23
32
|
* License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
|
|
24
33
|
* @summary Coarse license info
|
|
@@ -33,6 +42,14 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
33
42
|
* @throws {RequiredError}
|
|
34
43
|
*/
|
|
35
44
|
getSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* A null field leaves the current value unchanged.
|
|
47
|
+
* @summary Save the caller\'s smart-filing preferences
|
|
48
|
+
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
save: (saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
53
|
/**
|
|
37
54
|
* Save user\'s language and theme preferences
|
|
38
55
|
* @summary Save user preferences
|
|
@@ -46,6 +63,13 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
46
63
|
* SettingsApi - functional programming interface
|
|
47
64
|
*/
|
|
48
65
|
export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @summary The caller\'s smart-filing preferences
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
get2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
|
|
49
73
|
/**
|
|
50
74
|
* License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
|
|
51
75
|
* @summary Coarse license info
|
|
@@ -60,6 +84,14 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
|
60
84
|
* @throws {RequiredError}
|
|
61
85
|
*/
|
|
62
86
|
getSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
87
|
+
/**
|
|
88
|
+
* A null field leaves the current value unchanged.
|
|
89
|
+
* @summary Save the caller\'s smart-filing preferences
|
|
90
|
+
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
|
|
63
95
|
/**
|
|
64
96
|
* Save user\'s language and theme preferences
|
|
65
97
|
* @summary Save user preferences
|
|
@@ -73,6 +105,13 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
|
73
105
|
* SettingsApi - factory interface
|
|
74
106
|
*/
|
|
75
107
|
export declare const SettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @summary The caller\'s smart-filing preferences
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
get2(options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
|
|
76
115
|
/**
|
|
77
116
|
* License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
|
|
78
117
|
* @summary Coarse license info
|
|
@@ -87,6 +126,14 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
|
|
|
87
126
|
* @throws {RequiredError}
|
|
88
127
|
*/
|
|
89
128
|
getSettings(options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
129
|
+
/**
|
|
130
|
+
* A null field leaves the current value unchanged.
|
|
131
|
+
* @summary Save the caller\'s smart-filing preferences
|
|
132
|
+
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
|
|
90
137
|
/**
|
|
91
138
|
* Save user\'s language and theme preferences
|
|
92
139
|
* @summary Save user preferences
|
|
@@ -100,6 +147,13 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
|
|
|
100
147
|
* SettingsApi - object-oriented interface
|
|
101
148
|
*/
|
|
102
149
|
export declare class SettingsApi extends BaseAPI {
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @summary The caller\'s smart-filing preferences
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
get2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}, any>>;
|
|
103
157
|
/**
|
|
104
158
|
* License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
|
|
105
159
|
* @summary Coarse license info
|
|
@@ -114,6 +168,14 @@ export declare class SettingsApi extends BaseAPI {
|
|
|
114
168
|
* @throws {RequiredError}
|
|
115
169
|
*/
|
|
116
170
|
getSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
|
|
171
|
+
/**
|
|
172
|
+
* A null field leaves the current value unchanged.
|
|
173
|
+
* @summary Save the caller\'s smart-filing preferences
|
|
174
|
+
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}, any>>;
|
|
117
179
|
/**
|
|
118
180
|
* Save user\'s language and theme preferences
|
|
119
181
|
* @summary Save user preferences
|
package/dist/api/settings-api.js
CHANGED
|
@@ -34,6 +34,35 @@ const base_1 = require("../base");
|
|
|
34
34
|
*/
|
|
35
35
|
const SettingsApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
return {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary The caller\'s smart-filing preferences
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
get2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
|
+
const localVarPath = `/api/v1/settings/ai/preferences`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
57
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
return {
|
|
62
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
37
66
|
/**
|
|
38
67
|
* License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
|
|
39
68
|
* @summary Coarse license info
|
|
@@ -92,6 +121,40 @@ const SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
92
121
|
options: localVarRequestOptions,
|
|
93
122
|
};
|
|
94
123
|
}),
|
|
124
|
+
/**
|
|
125
|
+
* A null field leaves the current value unchanged.
|
|
126
|
+
* @summary Save the caller\'s smart-filing preferences
|
|
127
|
+
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
save: (saveAiPreferencesRequest_1, ...args_1) => __awaiter(this, [saveAiPreferencesRequest_1, ...args_1], void 0, function* (saveAiPreferencesRequest, options = {}) {
|
|
132
|
+
// verify required parameter 'saveAiPreferencesRequest' is not null or undefined
|
|
133
|
+
(0, common_1.assertParamExists)('save', 'saveAiPreferencesRequest', saveAiPreferencesRequest);
|
|
134
|
+
const localVarPath = `/api/v1/settings/ai/preferences`;
|
|
135
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
136
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
137
|
+
let baseOptions;
|
|
138
|
+
if (configuration) {
|
|
139
|
+
baseOptions = configuration.baseOptions;
|
|
140
|
+
}
|
|
141
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
142
|
+
const localVarHeaderParameter = {};
|
|
143
|
+
const localVarQueryParameter = {};
|
|
144
|
+
// authentication keycloak_auth required
|
|
145
|
+
// http bearer authentication required
|
|
146
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
147
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
148
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
149
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
152
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveAiPreferencesRequest, localVarRequestOptions, configuration);
|
|
153
|
+
return {
|
|
154
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
155
|
+
options: localVarRequestOptions,
|
|
156
|
+
};
|
|
157
|
+
}),
|
|
95
158
|
/**
|
|
96
159
|
* Save user\'s language and theme preferences
|
|
97
160
|
* @summary Save user preferences
|
|
@@ -135,6 +198,21 @@ exports.SettingsApiAxiosParamCreator = SettingsApiAxiosParamCreator;
|
|
|
135
198
|
const SettingsApiFp = function (configuration) {
|
|
136
199
|
const localVarAxiosParamCreator = (0, exports.SettingsApiAxiosParamCreator)(configuration);
|
|
137
200
|
return {
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @summary The caller\'s smart-filing preferences
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
*/
|
|
207
|
+
get2(options) {
|
|
208
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
209
|
+
var _a, _b, _c;
|
|
210
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.get2(options);
|
|
211
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
212
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingsApi.get2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
213
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
214
|
+
});
|
|
215
|
+
},
|
|
138
216
|
/**
|
|
139
217
|
* License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
|
|
140
218
|
* @summary Coarse license info
|
|
@@ -165,6 +243,22 @@ const SettingsApiFp = function (configuration) {
|
|
|
165
243
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
166
244
|
});
|
|
167
245
|
},
|
|
246
|
+
/**
|
|
247
|
+
* A null field leaves the current value unchanged.
|
|
248
|
+
* @summary Save the caller\'s smart-filing preferences
|
|
249
|
+
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
save(saveAiPreferencesRequest, options) {
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
var _a, _b, _c;
|
|
256
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.save(saveAiPreferencesRequest, options);
|
|
257
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
258
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingsApi.save']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
259
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
260
|
+
});
|
|
261
|
+
},
|
|
168
262
|
/**
|
|
169
263
|
* Save user\'s language and theme preferences
|
|
170
264
|
* @summary Save user preferences
|
|
@@ -190,6 +284,15 @@ exports.SettingsApiFp = SettingsApiFp;
|
|
|
190
284
|
const SettingsApiFactory = function (configuration, basePath, axios) {
|
|
191
285
|
const localVarFp = (0, exports.SettingsApiFp)(configuration);
|
|
192
286
|
return {
|
|
287
|
+
/**
|
|
288
|
+
*
|
|
289
|
+
* @summary The caller\'s smart-filing preferences
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
get2(options) {
|
|
294
|
+
return localVarFp.get2(options).then((request) => request(axios, basePath));
|
|
295
|
+
},
|
|
193
296
|
/**
|
|
194
297
|
* License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
|
|
195
298
|
* @summary Coarse license info
|
|
@@ -208,6 +311,16 @@ const SettingsApiFactory = function (configuration, basePath, axios) {
|
|
|
208
311
|
getSettings(options) {
|
|
209
312
|
return localVarFp.getSettings(options).then((request) => request(axios, basePath));
|
|
210
313
|
},
|
|
314
|
+
/**
|
|
315
|
+
* A null field leaves the current value unchanged.
|
|
316
|
+
* @summary Save the caller\'s smart-filing preferences
|
|
317
|
+
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
*/
|
|
321
|
+
save(saveAiPreferencesRequest, options) {
|
|
322
|
+
return localVarFp.save(saveAiPreferencesRequest, options).then((request) => request(axios, basePath));
|
|
323
|
+
},
|
|
211
324
|
/**
|
|
212
325
|
* Save user\'s language and theme preferences
|
|
213
326
|
* @summary Save user preferences
|
|
@@ -225,6 +338,15 @@ exports.SettingsApiFactory = SettingsApiFactory;
|
|
|
225
338
|
* SettingsApi - object-oriented interface
|
|
226
339
|
*/
|
|
227
340
|
class SettingsApi extends base_1.BaseAPI {
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @summary The caller\'s smart-filing preferences
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
*/
|
|
347
|
+
get2(options) {
|
|
348
|
+
return (0, exports.SettingsApiFp)(this.configuration).get2(options).then((request) => request(this.axios, this.basePath));
|
|
349
|
+
}
|
|
228
350
|
/**
|
|
229
351
|
* License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
|
|
230
352
|
* @summary Coarse license info
|
|
@@ -243,6 +365,16 @@ class SettingsApi extends base_1.BaseAPI {
|
|
|
243
365
|
getSettings(options) {
|
|
244
366
|
return (0, exports.SettingsApiFp)(this.configuration).getSettings(options).then((request) => request(this.axios, this.basePath));
|
|
245
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* A null field leaves the current value unchanged.
|
|
370
|
+
* @summary Save the caller\'s smart-filing preferences
|
|
371
|
+
* @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
save(saveAiPreferencesRequest, options) {
|
|
376
|
+
return (0, exports.SettingsApiFp)(this.configuration).save(saveAiPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
377
|
+
}
|
|
246
378
|
/**
|
|
247
379
|
* Save user\'s language and theme preferences
|
|
248
380
|
* @summary Save user preferences
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { AutoFileJobView } from '../models';
|
|
16
|
+
import type { AutoFileRequest } from '../models';
|
|
17
|
+
import type { FilingOutcome } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* SmartFilingApi - axios parameter creator
|
|
20
|
+
*/
|
|
21
|
+
export declare const SmartFilingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* Runs smart filing for the given documents (e.g. the contents of an Inbox) and returns the job at once.
|
|
24
|
+
* @summary File existing documents on demand
|
|
25
|
+
* @param {AutoFileRequest} autoFileRequest
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
file: (autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @summary Progress and outcome of a filing job
|
|
33
|
+
* @param {string} jobId
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
job: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
41
|
+
* @param {string} documentId
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
lastFiling: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @summary Move every document the job filed back where it came from
|
|
49
|
+
* @param {string} jobId
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
undo: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @summary Move one filed document back (the chip\'s \"Move back\")
|
|
57
|
+
* @param {string} planId
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
undoFiling: (planId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* SmartFilingApi - functional programming interface
|
|
65
|
+
*/
|
|
66
|
+
export declare const SmartFilingApiFp: (configuration?: Configuration) => {
|
|
67
|
+
/**
|
|
68
|
+
* Runs smart filing for the given documents (e.g. the contents of an Inbox) and returns the job at once.
|
|
69
|
+
* @summary File existing documents on demand
|
|
70
|
+
* @param {AutoFileRequest} autoFileRequest
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @summary Progress and outcome of a filing job
|
|
78
|
+
* @param {string} jobId
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
job(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
86
|
+
* @param {string} documentId
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
lastFiling(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilingOutcome>>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @summary Move every document the job filed back where it came from
|
|
94
|
+
* @param {string} jobId
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
undo(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>>;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @summary Move one filed document back (the chip\'s \"Move back\")
|
|
102
|
+
* @param {string} planId
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
undoFiling(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilingOutcome>>;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* SmartFilingApi - factory interface
|
|
110
|
+
*/
|
|
111
|
+
export declare const SmartFilingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
112
|
+
/**
|
|
113
|
+
* Runs smart filing for the given documents (e.g. the contents of an Inbox) and returns the job at once.
|
|
114
|
+
* @summary File existing documents on demand
|
|
115
|
+
* @param {AutoFileRequest} autoFileRequest
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView>;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @summary Progress and outcome of a filing job
|
|
123
|
+
* @param {string} jobId
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
job(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView>;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
131
|
+
* @param {string} documentId
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
lastFiling(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<FilingOutcome>;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @summary Move every document the job filed back where it came from
|
|
139
|
+
* @param {string} jobId
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
undo(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView>;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @summary Move one filed document back (the chip\'s \"Move back\")
|
|
147
|
+
* @param {string} planId
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
undoFiling(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<FilingOutcome>;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* SmartFilingApi - object-oriented interface
|
|
155
|
+
*/
|
|
156
|
+
export declare class SmartFilingApi extends BaseAPI {
|
|
157
|
+
/**
|
|
158
|
+
* Runs smart filing for the given documents (e.g. the contents of an Inbox) and returns the job at once.
|
|
159
|
+
* @summary File existing documents on demand
|
|
160
|
+
* @param {AutoFileRequest} autoFileRequest
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView, any, {}, any>>;
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @summary Progress and outcome of a filing job
|
|
168
|
+
* @param {string} jobId
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
job(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView, any, {}, any>>;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
176
|
+
* @param {string} documentId
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
lastFiling(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FilingOutcome, any, {}, any>>;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @summary Move every document the job filed back where it came from
|
|
184
|
+
* @param {string} jobId
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
undo(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView, any, {}, any>>;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @summary Move one filed document back (the chip\'s \"Move back\")
|
|
192
|
+
* @param {string} planId
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
undoFiling(planId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FilingOutcome, any, {}, any>>;
|
|
197
|
+
}
|