@openfilz-sdk/typescript-ee 1.9.10 → 1.9.11
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 +2 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +4 -2
- package/api/smart-filing-api.ts +75 -0
- package/dist/api/smart-filing-api.d.ts +33 -0
- package/dist/api/smart-filing-api.js +70 -0
- package/dist/esm/api/smart-filing-api.d.ts +33 -0
- package/dist/esm/api/smart-filing-api.js +70 -0
- package/dist/esm/models/auto-file-jobs-request.d.ts +14 -0
- package/dist/esm/models/auto-file-jobs-request.js +14 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/auto-file-jobs-request.d.ts +14 -0
- package/dist/models/auto-file-jobs-request.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/docs/AutoFileJobsRequest.md +20 -0
- package/docs/SmartFilingApi.md +53 -0
- package/models/auto-file-jobs-request.ts +20 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -56,6 +56,7 @@ docs/ApplySignatureRequest.md
|
|
|
56
56
|
docs/AuditLogDetails.md
|
|
57
57
|
docs/AuditVerificationResult.md
|
|
58
58
|
docs/AutoFileJobView.md
|
|
59
|
+
docs/AutoFileJobsRequest.md
|
|
59
60
|
docs/AutoFileRequest.md
|
|
60
61
|
docs/AutoFileTicket.md
|
|
61
62
|
docs/BrokenLink.md
|
|
@@ -258,6 +259,7 @@ models/apply-signature-request.ts
|
|
|
258
259
|
models/audit-log-details.ts
|
|
259
260
|
models/audit-verification-result.ts
|
|
260
261
|
models/auto-file-job-view.ts
|
|
262
|
+
models/auto-file-jobs-request.ts
|
|
261
263
|
models/auto-file-request.ts
|
|
262
264
|
models/auto-file-ticket.ts
|
|
263
265
|
models/broken-link.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c6542df1a7dca342928d6cac68641b89057f85d48f2afc7b29ae0acce68a4853
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript-ee@1.9.
|
|
1
|
+
## @openfilz-sdk/typescript-ee@1.9.11
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript-ee@1.9.
|
|
39
|
+
npm install @openfilz-sdk/typescript-ee@1.9.11 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -196,6 +196,7 @@ Class | Method | HTTP request | Description
|
|
|
196
196
|
*SettingsApi* | [**saveSettings**](docs/SettingsApi.md#savesettings) | **PUT** /api/v1/settings | Save user preferences
|
|
197
197
|
*SmartFilingApi* | [**file**](docs/SmartFilingApi.md#file) | **POST** /api/v1/ai/auto-file | File existing documents on demand
|
|
198
198
|
*SmartFilingApi* | [**job**](docs/SmartFilingApi.md#job) | **GET** /api/v1/ai/auto-file/{jobId} | Progress and outcome of a filing job
|
|
199
|
+
*SmartFilingApi* | [**jobs**](docs/SmartFilingApi.md#jobs) | **POST** /api/v1/ai/auto-file/jobs | Progress and outcome of several filing jobs
|
|
199
200
|
*SmartFilingApi* | [**lastFiling**](docs/SmartFilingApi.md#lastfiling) | **GET** /api/v1/ai/auto-file/document/{documentId} | The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
200
201
|
*SmartFilingApi* | [**undo**](docs/SmartFilingApi.md#undo) | **POST** /api/v1/ai/auto-file/{jobId}/undo | Move every document the job filed back where it came from
|
|
201
202
|
*SmartFilingApi* | [**undoFiling**](docs/SmartFilingApi.md#undofiling) | **POST** /api/v1/ai/auto-file/filing/{planId}/undo | Move one filed document back (the chip\'s \"Move back\")
|
|
@@ -250,6 +251,7 @@ Class | Method | HTTP request | Description
|
|
|
250
251
|
- [AuditLogDetails](docs/AuditLogDetails.md)
|
|
251
252
|
- [AuditVerificationResult](docs/AuditVerificationResult.md)
|
|
252
253
|
- [AutoFileJobView](docs/AutoFileJobView.md)
|
|
254
|
+
- [AutoFileJobsRequest](docs/AutoFileJobsRequest.md)
|
|
253
255
|
- [AutoFileRequest](docs/AutoFileRequest.md)
|
|
254
256
|
- [AutoFileTicket](docs/AutoFileTicket.md)
|
|
255
257
|
- [BrokenLink](docs/BrokenLink.md)
|
package/api/smart-filing-api.ts
CHANGED
|
@@ -24,6 +24,8 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import type { AutoFileJobView } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
+
import type { AutoFileJobsRequest } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
27
29
|
import type { AutoFileRequest } from '../models';
|
|
28
30
|
// @ts-ignore
|
|
29
31
|
import type { FilingOutcome } from '../models';
|
|
@@ -109,6 +111,45 @@ export const SmartFilingApiAxiosParamCreator = function (configuration?: Configu
|
|
|
109
111
|
options: localVarRequestOptions,
|
|
110
112
|
};
|
|
111
113
|
},
|
|
114
|
+
/**
|
|
115
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
116
|
+
* @summary Progress and outcome of several filing jobs
|
|
117
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
jobs: async (autoFileJobsRequest: AutoFileJobsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
122
|
+
// verify required parameter 'autoFileJobsRequest' is not null or undefined
|
|
123
|
+
assertParamExists('jobs', 'autoFileJobsRequest', autoFileJobsRequest)
|
|
124
|
+
const localVarPath = `/api/v1/ai/auto-file/jobs`;
|
|
125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
127
|
+
let baseOptions;
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
133
|
+
const localVarHeaderParameter = {} as any;
|
|
134
|
+
const localVarQueryParameter = {} as any;
|
|
135
|
+
|
|
136
|
+
// authentication keycloak_auth required
|
|
137
|
+
// http bearer authentication required
|
|
138
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
139
|
+
|
|
140
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
141
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
142
|
+
|
|
143
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
144
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
145
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
146
|
+
localVarRequestOptions.data = serializeDataIfNeeded(autoFileJobsRequest, localVarRequestOptions, configuration)
|
|
147
|
+
|
|
148
|
+
return {
|
|
149
|
+
url: toPathString(localVarUrlObj),
|
|
150
|
+
options: localVarRequestOptions,
|
|
151
|
+
};
|
|
152
|
+
},
|
|
112
153
|
/**
|
|
113
154
|
*
|
|
114
155
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -258,6 +299,19 @@ export const SmartFilingApiFp = function(configuration?: Configuration) {
|
|
|
258
299
|
const localVarOperationServerBasePath = operationServerMap['SmartFilingApi.job']?.[localVarOperationServerIndex]?.url;
|
|
259
300
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
260
301
|
},
|
|
302
|
+
/**
|
|
303
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
304
|
+
* @summary Progress and outcome of several filing jobs
|
|
305
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
306
|
+
* @param {*} [options] Override http request option.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
*/
|
|
309
|
+
async jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AutoFileJobView>>> {
|
|
310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.jobs(autoFileJobsRequest, options);
|
|
311
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
312
|
+
const localVarOperationServerBasePath = operationServerMap['SmartFilingApi.jobs']?.[localVarOperationServerIndex]?.url;
|
|
313
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
314
|
+
},
|
|
261
315
|
/**
|
|
262
316
|
*
|
|
263
317
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -326,6 +380,16 @@ export const SmartFilingApiFactory = function (configuration?: Configuration, ba
|
|
|
326
380
|
job(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView> {
|
|
327
381
|
return localVarFp.job(jobId, options).then((request) => request(axios, basePath));
|
|
328
382
|
},
|
|
383
|
+
/**
|
|
384
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
385
|
+
* @summary Progress and outcome of several filing jobs
|
|
386
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
387
|
+
* @param {*} [options] Override http request option.
|
|
388
|
+
* @throws {RequiredError}
|
|
389
|
+
*/
|
|
390
|
+
jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutoFileJobView>> {
|
|
391
|
+
return localVarFp.jobs(autoFileJobsRequest, options).then((request) => request(axios, basePath));
|
|
392
|
+
},
|
|
329
393
|
/**
|
|
330
394
|
*
|
|
331
395
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -385,6 +449,17 @@ export class SmartFilingApi extends BaseAPI {
|
|
|
385
449
|
return SmartFilingApiFp(this.configuration).job(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
386
450
|
}
|
|
387
451
|
|
|
452
|
+
/**
|
|
453
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
454
|
+
* @summary Progress and outcome of several filing jobs
|
|
455
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
public jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig) {
|
|
460
|
+
return SmartFilingApiFp(this.configuration).jobs(autoFileJobsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
461
|
+
}
|
|
462
|
+
|
|
388
463
|
/**
|
|
389
464
|
*
|
|
390
465
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { AutoFileJobView } from '../models';
|
|
16
|
+
import type { AutoFileJobsRequest } from '../models';
|
|
16
17
|
import type { AutoFileRequest } from '../models';
|
|
17
18
|
import type { FilingOutcome } from '../models';
|
|
18
19
|
/**
|
|
@@ -35,6 +36,14 @@ export declare const SmartFilingApiAxiosParamCreator: (configuration?: Configura
|
|
|
35
36
|
* @throws {RequiredError}
|
|
36
37
|
*/
|
|
37
38
|
job: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
+
/**
|
|
40
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
41
|
+
* @summary Progress and outcome of several filing jobs
|
|
42
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
jobs: (autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
47
|
/**
|
|
39
48
|
*
|
|
40
49
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -80,6 +89,14 @@ export declare const SmartFilingApiFp: (configuration?: Configuration) => {
|
|
|
80
89
|
* @throws {RequiredError}
|
|
81
90
|
*/
|
|
82
91
|
job(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>>;
|
|
92
|
+
/**
|
|
93
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
94
|
+
* @summary Progress and outcome of several filing jobs
|
|
95
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AutoFileJobView>>>;
|
|
83
100
|
/**
|
|
84
101
|
*
|
|
85
102
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -125,6 +142,14 @@ export declare const SmartFilingApiFactory: (configuration?: Configuration, base
|
|
|
125
142
|
* @throws {RequiredError}
|
|
126
143
|
*/
|
|
127
144
|
job(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView>;
|
|
145
|
+
/**
|
|
146
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
147
|
+
* @summary Progress and outcome of several filing jobs
|
|
148
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutoFileJobView>>;
|
|
128
153
|
/**
|
|
129
154
|
*
|
|
130
155
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -170,6 +195,14 @@ export declare class SmartFilingApi extends BaseAPI {
|
|
|
170
195
|
* @throws {RequiredError}
|
|
171
196
|
*/
|
|
172
197
|
job(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView, any, {}, any>>;
|
|
198
|
+
/**
|
|
199
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
200
|
+
* @summary Progress and outcome of several filing jobs
|
|
201
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView[], any, {}, any>>;
|
|
173
206
|
/**
|
|
174
207
|
*
|
|
175
208
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -101,6 +101,40 @@ const SmartFilingApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
options: localVarRequestOptions,
|
|
102
102
|
};
|
|
103
103
|
}),
|
|
104
|
+
/**
|
|
105
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
106
|
+
* @summary Progress and outcome of several filing jobs
|
|
107
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
jobs: (autoFileJobsRequest_1, ...args_1) => __awaiter(this, [autoFileJobsRequest_1, ...args_1], void 0, function* (autoFileJobsRequest, options = {}) {
|
|
112
|
+
// verify required parameter 'autoFileJobsRequest' is not null or undefined
|
|
113
|
+
(0, common_1.assertParamExists)('jobs', 'autoFileJobsRequest', autoFileJobsRequest);
|
|
114
|
+
const localVarPath = `/api/v1/ai/auto-file/jobs`;
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
// authentication keycloak_auth required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
128
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
129
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
131
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
132
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(autoFileJobsRequest, localVarRequestOptions, configuration);
|
|
133
|
+
return {
|
|
134
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
135
|
+
options: localVarRequestOptions,
|
|
136
|
+
};
|
|
137
|
+
}),
|
|
104
138
|
/**
|
|
105
139
|
*
|
|
106
140
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -241,6 +275,22 @@ const SmartFilingApiFp = function (configuration) {
|
|
|
241
275
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
242
276
|
});
|
|
243
277
|
},
|
|
278
|
+
/**
|
|
279
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
280
|
+
* @summary Progress and outcome of several filing jobs
|
|
281
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
282
|
+
* @param {*} [options] Override http request option.
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
*/
|
|
285
|
+
jobs(autoFileJobsRequest, options) {
|
|
286
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
287
|
+
var _a, _b, _c;
|
|
288
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.jobs(autoFileJobsRequest, options);
|
|
289
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
290
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SmartFilingApi.jobs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
291
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
292
|
+
});
|
|
293
|
+
},
|
|
244
294
|
/**
|
|
245
295
|
*
|
|
246
296
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -318,6 +368,16 @@ const SmartFilingApiFactory = function (configuration, basePath, axios) {
|
|
|
318
368
|
job(jobId, options) {
|
|
319
369
|
return localVarFp.job(jobId, options).then((request) => request(axios, basePath));
|
|
320
370
|
},
|
|
371
|
+
/**
|
|
372
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
373
|
+
* @summary Progress and outcome of several filing jobs
|
|
374
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
jobs(autoFileJobsRequest, options) {
|
|
379
|
+
return localVarFp.jobs(autoFileJobsRequest, options).then((request) => request(axios, basePath));
|
|
380
|
+
},
|
|
321
381
|
/**
|
|
322
382
|
*
|
|
323
383
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -375,6 +435,16 @@ class SmartFilingApi extends base_1.BaseAPI {
|
|
|
375
435
|
job(jobId, options) {
|
|
376
436
|
return (0, exports.SmartFilingApiFp)(this.configuration).job(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
377
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
440
|
+
* @summary Progress and outcome of several filing jobs
|
|
441
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
442
|
+
* @param {*} [options] Override http request option.
|
|
443
|
+
* @throws {RequiredError}
|
|
444
|
+
*/
|
|
445
|
+
jobs(autoFileJobsRequest, options) {
|
|
446
|
+
return (0, exports.SmartFilingApiFp)(this.configuration).jobs(autoFileJobsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
447
|
+
}
|
|
378
448
|
/**
|
|
379
449
|
*
|
|
380
450
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { AutoFileJobView } from '../models';
|
|
16
|
+
import type { AutoFileJobsRequest } from '../models';
|
|
16
17
|
import type { AutoFileRequest } from '../models';
|
|
17
18
|
import type { FilingOutcome } from '../models';
|
|
18
19
|
/**
|
|
@@ -35,6 +36,14 @@ export declare const SmartFilingApiAxiosParamCreator: (configuration?: Configura
|
|
|
35
36
|
* @throws {RequiredError}
|
|
36
37
|
*/
|
|
37
38
|
job: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
+
/**
|
|
40
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
41
|
+
* @summary Progress and outcome of several filing jobs
|
|
42
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
jobs: (autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
47
|
/**
|
|
39
48
|
*
|
|
40
49
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -80,6 +89,14 @@ export declare const SmartFilingApiFp: (configuration?: Configuration) => {
|
|
|
80
89
|
* @throws {RequiredError}
|
|
81
90
|
*/
|
|
82
91
|
job(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>>;
|
|
92
|
+
/**
|
|
93
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
94
|
+
* @summary Progress and outcome of several filing jobs
|
|
95
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AutoFileJobView>>>;
|
|
83
100
|
/**
|
|
84
101
|
*
|
|
85
102
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -125,6 +142,14 @@ export declare const SmartFilingApiFactory: (configuration?: Configuration, base
|
|
|
125
142
|
* @throws {RequiredError}
|
|
126
143
|
*/
|
|
127
144
|
job(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView>;
|
|
145
|
+
/**
|
|
146
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
147
|
+
* @summary Progress and outcome of several filing jobs
|
|
148
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutoFileJobView>>;
|
|
128
153
|
/**
|
|
129
154
|
*
|
|
130
155
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -170,6 +195,14 @@ export declare class SmartFilingApi extends BaseAPI {
|
|
|
170
195
|
* @throws {RequiredError}
|
|
171
196
|
*/
|
|
172
197
|
job(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView, any, {}, any>>;
|
|
198
|
+
/**
|
|
199
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
200
|
+
* @summary Progress and outcome of several filing jobs
|
|
201
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
jobs(autoFileJobsRequest: AutoFileJobsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView[], any, {}, any>>;
|
|
173
206
|
/**
|
|
174
207
|
*
|
|
175
208
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -98,6 +98,40 @@ export const SmartFilingApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
options: localVarRequestOptions,
|
|
99
99
|
};
|
|
100
100
|
}),
|
|
101
|
+
/**
|
|
102
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
103
|
+
* @summary Progress and outcome of several filing jobs
|
|
104
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
jobs: (autoFileJobsRequest_1, ...args_1) => __awaiter(this, [autoFileJobsRequest_1, ...args_1], void 0, function* (autoFileJobsRequest, options = {}) {
|
|
109
|
+
// verify required parameter 'autoFileJobsRequest' is not null or undefined
|
|
110
|
+
assertParamExists('jobs', 'autoFileJobsRequest', autoFileJobsRequest);
|
|
111
|
+
const localVarPath = `/api/v1/ai/auto-file/jobs`;
|
|
112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
113
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
114
|
+
let baseOptions;
|
|
115
|
+
if (configuration) {
|
|
116
|
+
baseOptions = configuration.baseOptions;
|
|
117
|
+
}
|
|
118
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
+
const localVarHeaderParameter = {};
|
|
120
|
+
const localVarQueryParameter = {};
|
|
121
|
+
// authentication keycloak_auth required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
124
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
125
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
129
|
+
localVarRequestOptions.data = serializeDataIfNeeded(autoFileJobsRequest, localVarRequestOptions, configuration);
|
|
130
|
+
return {
|
|
131
|
+
url: toPathString(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
}),
|
|
101
135
|
/**
|
|
102
136
|
*
|
|
103
137
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -237,6 +271,22 @@ export const SmartFilingApiFp = function (configuration) {
|
|
|
237
271
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
238
272
|
});
|
|
239
273
|
},
|
|
274
|
+
/**
|
|
275
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
276
|
+
* @summary Progress and outcome of several filing jobs
|
|
277
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
jobs(autoFileJobsRequest, options) {
|
|
282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
283
|
+
var _a, _b, _c;
|
|
284
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.jobs(autoFileJobsRequest, options);
|
|
285
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
286
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SmartFilingApi.jobs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
287
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
288
|
+
});
|
|
289
|
+
},
|
|
240
290
|
/**
|
|
241
291
|
*
|
|
242
292
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -313,6 +363,16 @@ export const SmartFilingApiFactory = function (configuration, basePath, axios) {
|
|
|
313
363
|
job(jobId, options) {
|
|
314
364
|
return localVarFp.job(jobId, options).then((request) => request(axios, basePath));
|
|
315
365
|
},
|
|
366
|
+
/**
|
|
367
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
368
|
+
* @summary Progress and outcome of several filing jobs
|
|
369
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
jobs(autoFileJobsRequest, options) {
|
|
374
|
+
return localVarFp.jobs(autoFileJobsRequest, options).then((request) => request(axios, basePath));
|
|
375
|
+
},
|
|
316
376
|
/**
|
|
317
377
|
*
|
|
318
378
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -369,6 +429,16 @@ export class SmartFilingApi extends BaseAPI {
|
|
|
369
429
|
job(jobId, options) {
|
|
370
430
|
return SmartFilingApiFp(this.configuration).job(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
371
431
|
}
|
|
432
|
+
/**
|
|
433
|
+
* Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
434
|
+
* @summary Progress and outcome of several filing jobs
|
|
435
|
+
* @param {AutoFileJobsRequest} autoFileJobsRequest
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
jobs(autoFileJobsRequest, options) {
|
|
440
|
+
return SmartFilingApiFp(this.configuration).jobs(autoFileJobsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
441
|
+
}
|
|
372
442
|
/**
|
|
373
443
|
*
|
|
374
444
|
* @summary The latest filing record of a document (the \"Filed by OpenFilz\" chip)
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export interface AutoFileJobsRequest {
|
|
13
|
+
'jobIds'?: Array<string>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|
|
@@ -10,6 +10,7 @@ export * from './apply-signature-request';
|
|
|
10
10
|
export * from './audit-log-details';
|
|
11
11
|
export * from './audit-verification-result';
|
|
12
12
|
export * from './auto-file-job-view';
|
|
13
|
+
export * from './auto-file-jobs-request';
|
|
13
14
|
export * from './auto-file-request';
|
|
14
15
|
export * from './auto-file-ticket';
|
|
15
16
|
export * from './broken-link';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export * from './apply-signature-request';
|
|
|
10
10
|
export * from './audit-log-details';
|
|
11
11
|
export * from './audit-verification-result';
|
|
12
12
|
export * from './auto-file-job-view';
|
|
13
|
+
export * from './auto-file-jobs-request';
|
|
13
14
|
export * from './auto-file-request';
|
|
14
15
|
export * from './auto-file-ticket';
|
|
15
16
|
export * from './broken-link';
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export interface AutoFileJobsRequest {
|
|
13
|
+
'jobIds'?: Array<string>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './apply-signature-request';
|
|
|
10
10
|
export * from './audit-log-details';
|
|
11
11
|
export * from './audit-verification-result';
|
|
12
12
|
export * from './auto-file-job-view';
|
|
13
|
+
export * from './auto-file-jobs-request';
|
|
13
14
|
export * from './auto-file-request';
|
|
14
15
|
export * from './auto-file-ticket';
|
|
15
16
|
export * from './broken-link';
|
package/dist/models/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./apply-signature-request"), exports);
|
|
|
26
26
|
__exportStar(require("./audit-log-details"), exports);
|
|
27
27
|
__exportStar(require("./audit-verification-result"), exports);
|
|
28
28
|
__exportStar(require("./auto-file-job-view"), exports);
|
|
29
|
+
__exportStar(require("./auto-file-jobs-request"), exports);
|
|
29
30
|
__exportStar(require("./auto-file-request"), exports);
|
|
30
31
|
__exportStar(require("./auto-file-ticket"), exports);
|
|
31
32
|
__exportStar(require("./broken-link"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AutoFileJobsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**jobIds** | **Array<string>** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AutoFileJobsRequest } from '@openfilz-sdk/typescript-ee';
|
|
14
|
+
|
|
15
|
+
const instance: AutoFileJobsRequest = {
|
|
16
|
+
jobIds,
|
|
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)
|
package/docs/SmartFilingApi.md
CHANGED
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost:8081*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**file**](#file) | **POST** /api/v1/ai/auto-file | File existing documents on demand|
|
|
8
8
|
|[**job**](#job) | **GET** /api/v1/ai/auto-file/{jobId} | Progress and outcome of a filing job|
|
|
9
|
+
|[**jobs**](#jobs) | **POST** /api/v1/ai/auto-file/jobs | Progress and outcome of several filing jobs|
|
|
9
10
|
|[**lastFiling**](#lastfiling) | **GET** /api/v1/ai/auto-file/document/{documentId} | The latest filing record of a document (the \"Filed by OpenFilz\" chip)|
|
|
10
11
|
|[**undo**](#undo) | **POST** /api/v1/ai/auto-file/{jobId}/undo | Move every document the job filed back where it came from|
|
|
11
12
|
|[**undoFiling**](#undofiling) | **POST** /api/v1/ai/auto-file/filing/{planId}/undo | Move one filed document back (the chip\'s \"Move back\")|
|
|
@@ -105,6 +106,58 @@ const { status, data } = await apiInstance.job(
|
|
|
105
106
|
- **Accept**: application/json
|
|
106
107
|
|
|
107
108
|
|
|
109
|
+
### HTTP response details
|
|
110
|
+
| Status code | Description | Response headers |
|
|
111
|
+
|-------------|-------------|------------------|
|
|
112
|
+
|**200** | OK | - |
|
|
113
|
+
|
|
114
|
+
[[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)
|
|
115
|
+
|
|
116
|
+
# **jobs**
|
|
117
|
+
> Array<AutoFileJobView> jobs(autoFileJobsRequest)
|
|
118
|
+
|
|
119
|
+
Follows a whole upload batch in one call: the browser sends one upload request per file, so a batch leaves as many jobs to poll. Jobs that do not exist, or belong to somebody else, are left out of the answer rather than failing it. A POST because a batch of ids does not fit in a query string.
|
|
120
|
+
|
|
121
|
+
### Example
|
|
122
|
+
|
|
123
|
+
```typescript
|
|
124
|
+
import {
|
|
125
|
+
SmartFilingApi,
|
|
126
|
+
Configuration,
|
|
127
|
+
AutoFileJobsRequest
|
|
128
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
129
|
+
|
|
130
|
+
const configuration = new Configuration();
|
|
131
|
+
const apiInstance = new SmartFilingApi(configuration);
|
|
132
|
+
|
|
133
|
+
let autoFileJobsRequest: AutoFileJobsRequest; //
|
|
134
|
+
|
|
135
|
+
const { status, data } = await apiInstance.jobs(
|
|
136
|
+
autoFileJobsRequest
|
|
137
|
+
);
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Parameters
|
|
141
|
+
|
|
142
|
+
|Name | Type | Description | Notes|
|
|
143
|
+
|------------- | ------------- | ------------- | -------------|
|
|
144
|
+
| **autoFileJobsRequest** | **AutoFileJobsRequest**| | |
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Return type
|
|
148
|
+
|
|
149
|
+
**Array<AutoFileJobView>**
|
|
150
|
+
|
|
151
|
+
### Authorization
|
|
152
|
+
|
|
153
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
154
|
+
|
|
155
|
+
### HTTP request headers
|
|
156
|
+
|
|
157
|
+
- **Content-Type**: application/json
|
|
158
|
+
- **Accept**: application/json
|
|
159
|
+
|
|
160
|
+
|
|
108
161
|
### HTTP response details
|
|
109
162
|
| Status code | Description | Response headers |
|
|
110
163
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface AutoFileJobsRequest {
|
|
18
|
+
'jobIds'?: Array<string>;
|
|
19
|
+
}
|
|
20
|
+
|
package/models/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './apply-signature-request';
|
|
|
10
10
|
export * from './audit-log-details';
|
|
11
11
|
export * from './audit-verification-result';
|
|
12
12
|
export * from './auto-file-job-view';
|
|
13
|
+
export * from './auto-file-jobs-request';
|
|
13
14
|
export * from './auto-file-request';
|
|
14
15
|
export * from './auto-file-ticket';
|
|
15
16
|
export * from './broken-link';
|