@openfilz-sdk/typescript-ee 1.9.9 → 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 +50 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +43 -3
- package/api/esign-api.ts +9 -9
- package/api/smart-filing-api.ts +75 -0
- package/api/workflows-api.ts +1234 -0
- package/api.ts +1 -0
- package/dist/api/esign-api.d.ts +4 -4
- package/dist/api/esign-api.js +9 -9
- package/dist/api/smart-filing-api.d.ts +33 -0
- package/dist/api/smart-filing-api.js +70 -0
- package/dist/api/workflows-api.d.ts +565 -0
- package/dist/api/workflows-api.js +1163 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/esm/api/esign-api.d.ts +4 -4
- package/dist/esm/api/esign-api.js +9 -9
- package/dist/esm/api/smart-filing-api.d.ts +33 -0
- package/dist/esm/api/smart-filing-api.js +70 -0
- package/dist/esm/api/workflows-api.d.ts +565 -0
- package/dist/esm/api/workflows-api.js +1156 -0
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/models/audit-log-details.d.ts +12 -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/cancel-instance-request.d.ts +14 -0
- package/dist/esm/models/cancel-instance-request.js +14 -0
- package/dist/esm/models/complete-task-request.d.ts +15 -0
- package/dist/esm/models/complete-task-request.js +14 -0
- package/dist/esm/models/enriched-audit-log-details.d.ts +7 -1
- package/dist/esm/models/enriched-audit-log.d.ts +9 -0
- package/dist/esm/models/enriched-audit-log.js +9 -0
- package/dist/esm/models/index.d.ts +24 -0
- package/dist/esm/models/index.js +24 -0
- package/dist/esm/models/my-tasks-count-dto.d.ts +15 -0
- package/dist/esm/models/my-tasks-count-dto.js +14 -0
- package/dist/esm/models/notification-dto.d.ts +4 -0
- package/dist/esm/models/notification-dto.js +4 -0
- package/dist/esm/models/per-definition.d.ts +18 -0
- package/dist/esm/models/per-definition.js +14 -0
- package/dist/esm/models/reassign-task-request.d.ts +15 -0
- package/dist/esm/models/reassign-task-request.js +14 -0
- package/dist/esm/models/save-workflow-definition-request.d.ts +19 -0
- package/dist/esm/models/save-workflow-definition-request.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +9 -0
- package/dist/esm/models/search-by-audit-log-request.js +9 -0
- package/dist/esm/models/settings.d.ts +3 -0
- package/dist/esm/models/start-workflow-request.d.ts +20 -0
- package/dist/esm/models/start-workflow-request.js +14 -0
- package/dist/esm/models/workflow-action-failure-audit.d.ts +17 -0
- package/dist/esm/models/workflow-action-failure-audit.js +14 -0
- package/dist/esm/models/workflow-action.d.ts +25 -0
- package/dist/esm/models/workflow-action.js +18 -0
- package/dist/esm/models/workflow-assignment.d.ts +24 -0
- package/dist/esm/models/workflow-assignment.js +19 -0
- package/dist/esm/models/workflow-audit.d.ts +17 -0
- package/dist/esm/models/workflow-audit.js +14 -0
- package/dist/esm/models/workflow-definition-dto.d.ts +26 -0
- package/dist/esm/models/workflow-definition-dto.js +14 -0
- package/dist/esm/models/workflow-event-dto.d.ts +35 -0
- package/dist/esm/models/workflow-event-dto.js +23 -0
- package/dist/esm/models/workflow-instance-detail-dto.d.ts +23 -0
- package/dist/esm/models/workflow-instance-detail-dto.js +14 -0
- package/dist/esm/models/workflow-instance-dto.d.ts +35 -0
- package/dist/esm/models/workflow-instance-dto.js +18 -0
- package/dist/esm/models/workflow-instance-page.d.ts +18 -0
- package/dist/esm/models/workflow-instance-page.js +14 -0
- package/dist/esm/models/workflow-problem.d.ts +17 -0
- package/dist/esm/models/workflow-problem.js +14 -0
- package/dist/esm/models/workflow-spec.d.ts +15 -0
- package/dist/esm/models/workflow-spec.js +14 -0
- package/dist/esm/models/workflow-state.d.ts +31 -0
- package/dist/esm/models/workflow-state.js +18 -0
- package/dist/esm/models/workflow-summary-dto.d.ts +19 -0
- package/dist/esm/models/workflow-summary-dto.js +14 -0
- package/dist/esm/models/workflow-task-dto.d.ts +44 -0
- package/dist/esm/models/workflow-task-dto.js +18 -0
- package/dist/esm/models/workflow-transition.d.ts +25 -0
- package/dist/esm/models/workflow-transition.js +19 -0
- package/dist/esm/models/workflow-validation-result.d.ts +16 -0
- package/dist/esm/models/workflow-validation-result.js +14 -0
- package/dist/models/audit-log-details.d.ts +12 -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/cancel-instance-request.d.ts +14 -0
- package/dist/models/cancel-instance-request.js +15 -0
- package/dist/models/complete-task-request.d.ts +15 -0
- package/dist/models/complete-task-request.js +15 -0
- package/dist/models/enriched-audit-log-details.d.ts +7 -1
- package/dist/models/enriched-audit-log.d.ts +9 -0
- package/dist/models/enriched-audit-log.js +9 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/dist/models/my-tasks-count-dto.d.ts +15 -0
- package/dist/models/my-tasks-count-dto.js +15 -0
- package/dist/models/notification-dto.d.ts +4 -0
- package/dist/models/notification-dto.js +4 -0
- package/dist/models/per-definition.d.ts +18 -0
- package/dist/models/per-definition.js +15 -0
- package/dist/models/reassign-task-request.d.ts +15 -0
- package/dist/models/reassign-task-request.js +15 -0
- package/dist/models/save-workflow-definition-request.d.ts +19 -0
- package/dist/models/save-workflow-definition-request.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +9 -0
- package/dist/models/search-by-audit-log-request.js +9 -0
- package/dist/models/settings.d.ts +3 -0
- package/dist/models/start-workflow-request.d.ts +20 -0
- package/dist/models/start-workflow-request.js +15 -0
- package/dist/models/workflow-action-failure-audit.d.ts +17 -0
- package/dist/models/workflow-action-failure-audit.js +15 -0
- package/dist/models/workflow-action.d.ts +25 -0
- package/dist/models/workflow-action.js +21 -0
- package/dist/models/workflow-assignment.d.ts +24 -0
- package/dist/models/workflow-assignment.js +22 -0
- package/dist/models/workflow-audit.d.ts +17 -0
- package/dist/models/workflow-audit.js +15 -0
- package/dist/models/workflow-definition-dto.d.ts +26 -0
- package/dist/models/workflow-definition-dto.js +15 -0
- package/dist/models/workflow-event-dto.d.ts +35 -0
- package/dist/models/workflow-event-dto.js +26 -0
- package/dist/models/workflow-instance-detail-dto.d.ts +23 -0
- package/dist/models/workflow-instance-detail-dto.js +15 -0
- package/dist/models/workflow-instance-dto.d.ts +35 -0
- package/dist/models/workflow-instance-dto.js +21 -0
- package/dist/models/workflow-instance-page.d.ts +18 -0
- package/dist/models/workflow-instance-page.js +15 -0
- package/dist/models/workflow-problem.d.ts +17 -0
- package/dist/models/workflow-problem.js +15 -0
- package/dist/models/workflow-spec.d.ts +15 -0
- package/dist/models/workflow-spec.js +15 -0
- package/dist/models/workflow-state.d.ts +31 -0
- package/dist/models/workflow-state.js +21 -0
- package/dist/models/workflow-summary-dto.d.ts +19 -0
- package/dist/models/workflow-summary-dto.js +15 -0
- package/dist/models/workflow-task-dto.d.ts +44 -0
- package/dist/models/workflow-task-dto.js +21 -0
- package/dist/models/workflow-transition.d.ts +25 -0
- package/dist/models/workflow-transition.js +22 -0
- package/dist/models/workflow-validation-result.d.ts +16 -0
- package/dist/models/workflow-validation-result.js +15 -0
- package/docs/AuditLogDetails.md +6 -0
- package/docs/AutoFileJobsRequest.md +20 -0
- package/docs/CancelInstanceRequest.md +20 -0
- package/docs/CompleteTaskRequest.md +22 -0
- package/docs/ESignApi.md +4 -4
- package/docs/EnrichedAuditLogDetails.md +22 -0
- package/docs/MyTasksCountDTO.md +22 -0
- package/docs/PerDefinition.md +28 -0
- package/docs/ReassignTaskRequest.md +22 -0
- package/docs/SaveWorkflowDefinitionRequest.md +28 -0
- package/docs/Settings.md +6 -0
- package/docs/SmartFilingApi.md +53 -0
- package/docs/StartWorkflowRequest.md +28 -0
- package/docs/WorkflowAction.md +26 -0
- package/docs/WorkflowActionFailureAudit.md +25 -0
- package/docs/WorkflowAssignment.md +26 -0
- package/docs/WorkflowAudit.md +31 -0
- package/docs/WorkflowDefinitionDTO.md +42 -0
- package/docs/WorkflowEventDTO.md +36 -0
- package/docs/WorkflowInstanceDTO.md +48 -0
- package/docs/WorkflowInstanceDetailDTO.md +28 -0
- package/docs/WorkflowInstancePage.md +26 -0
- package/docs/WorkflowProblem.md +26 -0
- package/docs/WorkflowSpec.md +20 -0
- package/docs/WorkflowState.md +36 -0
- package/docs/WorkflowSummaryDTO.md +28 -0
- package/docs/WorkflowTaskDTO.md +66 -0
- package/docs/WorkflowTransition.md +28 -0
- package/docs/WorkflowValidationResult.md +22 -0
- package/docs/WorkflowsApi.md +791 -0
- package/graphql/document.graphqls +2 -0
- package/models/audit-log-details.ts +12 -0
- package/models/auto-file-jobs-request.ts +20 -0
- package/models/cancel-instance-request.ts +20 -0
- package/models/complete-task-request.ts +21 -0
- package/models/enriched-audit-log-details.ts +7 -1
- package/models/enriched-audit-log.ts +9 -0
- package/models/index.ts +24 -0
- package/models/my-tasks-count-dto.ts +21 -0
- package/models/notification-dto.ts +4 -0
- package/models/per-definition.ts +24 -0
- package/models/reassign-task-request.ts +21 -0
- package/models/save-workflow-definition-request.ts +27 -0
- package/models/search-by-audit-log-request.ts +9 -0
- package/models/settings.ts +3 -0
- package/models/start-workflow-request.ts +24 -0
- package/models/workflow-action-failure-audit.ts +26 -0
- package/models/workflow-action.ts +32 -0
- package/models/workflow-assignment.ts +33 -0
- package/models/workflow-audit.ts +26 -0
- package/models/workflow-definition-dto.ts +34 -0
- package/models/workflow-event-dto.ts +42 -0
- package/models/workflow-instance-detail-dto.ts +33 -0
- package/models/workflow-instance-dto.ts +46 -0
- package/models/workflow-instance-page.ts +26 -0
- package/models/workflow-problem.ts +23 -0
- package/models/workflow-spec.ts +23 -0
- package/models/workflow-state.ts +46 -0
- package/models/workflow-summary-dto.ts +27 -0
- package/models/workflow-task-dto.ts +55 -0
- package/models/workflow-transition.ts +34 -0
- package/models/workflow-validation-result.ts +24 -0
- package/package.json +1 -1
package/api.ts
CHANGED
package/dist/api/esign-api.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const ESignApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
cancel1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @summary Cloud Signing subscription and month-to-date usage (openfilz-cloud seal provider only)
|
|
@@ -111,7 +111,7 @@ export declare const ESignApiFp: (configuration?: Configuration) => {
|
|
|
111
111
|
* @param {*} [options] Override http request option.
|
|
112
112
|
* @throws {RequiredError}
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
cancel1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
|
|
115
115
|
/**
|
|
116
116
|
*
|
|
117
117
|
* @summary Cloud Signing subscription and month-to-date usage (openfilz-cloud seal provider only)
|
|
@@ -195,7 +195,7 @@ export declare const ESignApiFactory: (configuration?: Configuration, basePath?:
|
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
cancel1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
|
|
199
199
|
/**
|
|
200
200
|
*
|
|
201
201
|
* @summary Cloud Signing subscription and month-to-date usage (openfilz-cloud seal provider only)
|
|
@@ -279,7 +279,7 @@ export declare class ESignApi extends BaseAPI {
|
|
|
279
279
|
* @param {*} [options] Override http request option.
|
|
280
280
|
* @throws {RequiredError}
|
|
281
281
|
*/
|
|
282
|
-
|
|
282
|
+
cancel1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
|
|
283
283
|
/**
|
|
284
284
|
*
|
|
285
285
|
* @summary Cloud Signing subscription and month-to-date usage (openfilz-cloud seal provider only)
|
package/dist/api/esign-api.js
CHANGED
|
@@ -41,9 +41,9 @@ const ESignApiAxiosParamCreator = function (configuration) {
|
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
cancel1: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
45
45
|
// verify required parameter 'id' is not null or undefined
|
|
46
|
-
(0, common_1.assertParamExists)('
|
|
46
|
+
(0, common_1.assertParamExists)('cancel1', 'id', id);
|
|
47
47
|
const localVarPath = `/api/v1/signatures/{id}/cancel`
|
|
48
48
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
49
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -377,12 +377,12 @@ const ESignApiFp = function (configuration) {
|
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
*/
|
|
380
|
-
|
|
380
|
+
cancel1(id, options) {
|
|
381
381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
382
382
|
var _a, _b, _c;
|
|
383
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
383
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancel1(id, options);
|
|
384
384
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
385
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignApi.
|
|
385
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignApi.cancel1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
386
386
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
387
387
|
});
|
|
388
388
|
},
|
|
@@ -545,8 +545,8 @@ const ESignApiFactory = function (configuration, basePath, axios) {
|
|
|
545
545
|
* @param {*} [options] Override http request option.
|
|
546
546
|
* @throws {RequiredError}
|
|
547
547
|
*/
|
|
548
|
-
|
|
549
|
-
return localVarFp.
|
|
548
|
+
cancel1(id, options) {
|
|
549
|
+
return localVarFp.cancel1(id, options).then((request) => request(axios, basePath));
|
|
550
550
|
},
|
|
551
551
|
/**
|
|
552
552
|
*
|
|
@@ -651,8 +651,8 @@ class ESignApi extends base_1.BaseAPI {
|
|
|
651
651
|
* @param {*} [options] Override http request option.
|
|
652
652
|
* @throws {RequiredError}
|
|
653
653
|
*/
|
|
654
|
-
|
|
655
|
-
return (0, exports.ESignApiFp)(this.configuration).
|
|
654
|
+
cancel1(id, options) {
|
|
655
|
+
return (0, exports.ESignApiFp)(this.configuration).cancel1(id, options).then((request) => request(this.axios, this.basePath));
|
|
656
656
|
}
|
|
657
657
|
/**
|
|
658
658
|
*
|
|
@@ -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)
|