@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.
Files changed (204) hide show
  1. package/.openapi-generator/FILES +50 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +43 -3
  4. package/api/esign-api.ts +9 -9
  5. package/api/smart-filing-api.ts +75 -0
  6. package/api/workflows-api.ts +1234 -0
  7. package/api.ts +1 -0
  8. package/dist/api/esign-api.d.ts +4 -4
  9. package/dist/api/esign-api.js +9 -9
  10. package/dist/api/smart-filing-api.d.ts +33 -0
  11. package/dist/api/smart-filing-api.js +70 -0
  12. package/dist/api/workflows-api.d.ts +565 -0
  13. package/dist/api/workflows-api.js +1163 -0
  14. package/dist/api.d.ts +1 -0
  15. package/dist/api.js +1 -0
  16. package/dist/esm/api/esign-api.d.ts +4 -4
  17. package/dist/esm/api/esign-api.js +9 -9
  18. package/dist/esm/api/smart-filing-api.d.ts +33 -0
  19. package/dist/esm/api/smart-filing-api.js +70 -0
  20. package/dist/esm/api/workflows-api.d.ts +565 -0
  21. package/dist/esm/api/workflows-api.js +1156 -0
  22. package/dist/esm/api.d.ts +1 -0
  23. package/dist/esm/api.js +1 -0
  24. package/dist/esm/models/audit-log-details.d.ts +12 -0
  25. package/dist/esm/models/auto-file-jobs-request.d.ts +14 -0
  26. package/dist/esm/models/auto-file-jobs-request.js +14 -0
  27. package/dist/esm/models/cancel-instance-request.d.ts +14 -0
  28. package/dist/esm/models/cancel-instance-request.js +14 -0
  29. package/dist/esm/models/complete-task-request.d.ts +15 -0
  30. package/dist/esm/models/complete-task-request.js +14 -0
  31. package/dist/esm/models/enriched-audit-log-details.d.ts +7 -1
  32. package/dist/esm/models/enriched-audit-log.d.ts +9 -0
  33. package/dist/esm/models/enriched-audit-log.js +9 -0
  34. package/dist/esm/models/index.d.ts +24 -0
  35. package/dist/esm/models/index.js +24 -0
  36. package/dist/esm/models/my-tasks-count-dto.d.ts +15 -0
  37. package/dist/esm/models/my-tasks-count-dto.js +14 -0
  38. package/dist/esm/models/notification-dto.d.ts +4 -0
  39. package/dist/esm/models/notification-dto.js +4 -0
  40. package/dist/esm/models/per-definition.d.ts +18 -0
  41. package/dist/esm/models/per-definition.js +14 -0
  42. package/dist/esm/models/reassign-task-request.d.ts +15 -0
  43. package/dist/esm/models/reassign-task-request.js +14 -0
  44. package/dist/esm/models/save-workflow-definition-request.d.ts +19 -0
  45. package/dist/esm/models/save-workflow-definition-request.js +14 -0
  46. package/dist/esm/models/search-by-audit-log-request.d.ts +9 -0
  47. package/dist/esm/models/search-by-audit-log-request.js +9 -0
  48. package/dist/esm/models/settings.d.ts +3 -0
  49. package/dist/esm/models/start-workflow-request.d.ts +20 -0
  50. package/dist/esm/models/start-workflow-request.js +14 -0
  51. package/dist/esm/models/workflow-action-failure-audit.d.ts +17 -0
  52. package/dist/esm/models/workflow-action-failure-audit.js +14 -0
  53. package/dist/esm/models/workflow-action.d.ts +25 -0
  54. package/dist/esm/models/workflow-action.js +18 -0
  55. package/dist/esm/models/workflow-assignment.d.ts +24 -0
  56. package/dist/esm/models/workflow-assignment.js +19 -0
  57. package/dist/esm/models/workflow-audit.d.ts +17 -0
  58. package/dist/esm/models/workflow-audit.js +14 -0
  59. package/dist/esm/models/workflow-definition-dto.d.ts +26 -0
  60. package/dist/esm/models/workflow-definition-dto.js +14 -0
  61. package/dist/esm/models/workflow-event-dto.d.ts +35 -0
  62. package/dist/esm/models/workflow-event-dto.js +23 -0
  63. package/dist/esm/models/workflow-instance-detail-dto.d.ts +23 -0
  64. package/dist/esm/models/workflow-instance-detail-dto.js +14 -0
  65. package/dist/esm/models/workflow-instance-dto.d.ts +35 -0
  66. package/dist/esm/models/workflow-instance-dto.js +18 -0
  67. package/dist/esm/models/workflow-instance-page.d.ts +18 -0
  68. package/dist/esm/models/workflow-instance-page.js +14 -0
  69. package/dist/esm/models/workflow-problem.d.ts +17 -0
  70. package/dist/esm/models/workflow-problem.js +14 -0
  71. package/dist/esm/models/workflow-spec.d.ts +15 -0
  72. package/dist/esm/models/workflow-spec.js +14 -0
  73. package/dist/esm/models/workflow-state.d.ts +31 -0
  74. package/dist/esm/models/workflow-state.js +18 -0
  75. package/dist/esm/models/workflow-summary-dto.d.ts +19 -0
  76. package/dist/esm/models/workflow-summary-dto.js +14 -0
  77. package/dist/esm/models/workflow-task-dto.d.ts +44 -0
  78. package/dist/esm/models/workflow-task-dto.js +18 -0
  79. package/dist/esm/models/workflow-transition.d.ts +25 -0
  80. package/dist/esm/models/workflow-transition.js +19 -0
  81. package/dist/esm/models/workflow-validation-result.d.ts +16 -0
  82. package/dist/esm/models/workflow-validation-result.js +14 -0
  83. package/dist/models/audit-log-details.d.ts +12 -0
  84. package/dist/models/auto-file-jobs-request.d.ts +14 -0
  85. package/dist/models/auto-file-jobs-request.js +15 -0
  86. package/dist/models/cancel-instance-request.d.ts +14 -0
  87. package/dist/models/cancel-instance-request.js +15 -0
  88. package/dist/models/complete-task-request.d.ts +15 -0
  89. package/dist/models/complete-task-request.js +15 -0
  90. package/dist/models/enriched-audit-log-details.d.ts +7 -1
  91. package/dist/models/enriched-audit-log.d.ts +9 -0
  92. package/dist/models/enriched-audit-log.js +9 -0
  93. package/dist/models/index.d.ts +24 -0
  94. package/dist/models/index.js +24 -0
  95. package/dist/models/my-tasks-count-dto.d.ts +15 -0
  96. package/dist/models/my-tasks-count-dto.js +15 -0
  97. package/dist/models/notification-dto.d.ts +4 -0
  98. package/dist/models/notification-dto.js +4 -0
  99. package/dist/models/per-definition.d.ts +18 -0
  100. package/dist/models/per-definition.js +15 -0
  101. package/dist/models/reassign-task-request.d.ts +15 -0
  102. package/dist/models/reassign-task-request.js +15 -0
  103. package/dist/models/save-workflow-definition-request.d.ts +19 -0
  104. package/dist/models/save-workflow-definition-request.js +15 -0
  105. package/dist/models/search-by-audit-log-request.d.ts +9 -0
  106. package/dist/models/search-by-audit-log-request.js +9 -0
  107. package/dist/models/settings.d.ts +3 -0
  108. package/dist/models/start-workflow-request.d.ts +20 -0
  109. package/dist/models/start-workflow-request.js +15 -0
  110. package/dist/models/workflow-action-failure-audit.d.ts +17 -0
  111. package/dist/models/workflow-action-failure-audit.js +15 -0
  112. package/dist/models/workflow-action.d.ts +25 -0
  113. package/dist/models/workflow-action.js +21 -0
  114. package/dist/models/workflow-assignment.d.ts +24 -0
  115. package/dist/models/workflow-assignment.js +22 -0
  116. package/dist/models/workflow-audit.d.ts +17 -0
  117. package/dist/models/workflow-audit.js +15 -0
  118. package/dist/models/workflow-definition-dto.d.ts +26 -0
  119. package/dist/models/workflow-definition-dto.js +15 -0
  120. package/dist/models/workflow-event-dto.d.ts +35 -0
  121. package/dist/models/workflow-event-dto.js +26 -0
  122. package/dist/models/workflow-instance-detail-dto.d.ts +23 -0
  123. package/dist/models/workflow-instance-detail-dto.js +15 -0
  124. package/dist/models/workflow-instance-dto.d.ts +35 -0
  125. package/dist/models/workflow-instance-dto.js +21 -0
  126. package/dist/models/workflow-instance-page.d.ts +18 -0
  127. package/dist/models/workflow-instance-page.js +15 -0
  128. package/dist/models/workflow-problem.d.ts +17 -0
  129. package/dist/models/workflow-problem.js +15 -0
  130. package/dist/models/workflow-spec.d.ts +15 -0
  131. package/dist/models/workflow-spec.js +15 -0
  132. package/dist/models/workflow-state.d.ts +31 -0
  133. package/dist/models/workflow-state.js +21 -0
  134. package/dist/models/workflow-summary-dto.d.ts +19 -0
  135. package/dist/models/workflow-summary-dto.js +15 -0
  136. package/dist/models/workflow-task-dto.d.ts +44 -0
  137. package/dist/models/workflow-task-dto.js +21 -0
  138. package/dist/models/workflow-transition.d.ts +25 -0
  139. package/dist/models/workflow-transition.js +22 -0
  140. package/dist/models/workflow-validation-result.d.ts +16 -0
  141. package/dist/models/workflow-validation-result.js +15 -0
  142. package/docs/AuditLogDetails.md +6 -0
  143. package/docs/AutoFileJobsRequest.md +20 -0
  144. package/docs/CancelInstanceRequest.md +20 -0
  145. package/docs/CompleteTaskRequest.md +22 -0
  146. package/docs/ESignApi.md +4 -4
  147. package/docs/EnrichedAuditLogDetails.md +22 -0
  148. package/docs/MyTasksCountDTO.md +22 -0
  149. package/docs/PerDefinition.md +28 -0
  150. package/docs/ReassignTaskRequest.md +22 -0
  151. package/docs/SaveWorkflowDefinitionRequest.md +28 -0
  152. package/docs/Settings.md +6 -0
  153. package/docs/SmartFilingApi.md +53 -0
  154. package/docs/StartWorkflowRequest.md +28 -0
  155. package/docs/WorkflowAction.md +26 -0
  156. package/docs/WorkflowActionFailureAudit.md +25 -0
  157. package/docs/WorkflowAssignment.md +26 -0
  158. package/docs/WorkflowAudit.md +31 -0
  159. package/docs/WorkflowDefinitionDTO.md +42 -0
  160. package/docs/WorkflowEventDTO.md +36 -0
  161. package/docs/WorkflowInstanceDTO.md +48 -0
  162. package/docs/WorkflowInstanceDetailDTO.md +28 -0
  163. package/docs/WorkflowInstancePage.md +26 -0
  164. package/docs/WorkflowProblem.md +26 -0
  165. package/docs/WorkflowSpec.md +20 -0
  166. package/docs/WorkflowState.md +36 -0
  167. package/docs/WorkflowSummaryDTO.md +28 -0
  168. package/docs/WorkflowTaskDTO.md +66 -0
  169. package/docs/WorkflowTransition.md +28 -0
  170. package/docs/WorkflowValidationResult.md +22 -0
  171. package/docs/WorkflowsApi.md +791 -0
  172. package/graphql/document.graphqls +2 -0
  173. package/models/audit-log-details.ts +12 -0
  174. package/models/auto-file-jobs-request.ts +20 -0
  175. package/models/cancel-instance-request.ts +20 -0
  176. package/models/complete-task-request.ts +21 -0
  177. package/models/enriched-audit-log-details.ts +7 -1
  178. package/models/enriched-audit-log.ts +9 -0
  179. package/models/index.ts +24 -0
  180. package/models/my-tasks-count-dto.ts +21 -0
  181. package/models/notification-dto.ts +4 -0
  182. package/models/per-definition.ts +24 -0
  183. package/models/reassign-task-request.ts +21 -0
  184. package/models/save-workflow-definition-request.ts +27 -0
  185. package/models/search-by-audit-log-request.ts +9 -0
  186. package/models/settings.ts +3 -0
  187. package/models/start-workflow-request.ts +24 -0
  188. package/models/workflow-action-failure-audit.ts +26 -0
  189. package/models/workflow-action.ts +32 -0
  190. package/models/workflow-assignment.ts +33 -0
  191. package/models/workflow-audit.ts +26 -0
  192. package/models/workflow-definition-dto.ts +34 -0
  193. package/models/workflow-event-dto.ts +42 -0
  194. package/models/workflow-instance-detail-dto.ts +33 -0
  195. package/models/workflow-instance-dto.ts +46 -0
  196. package/models/workflow-instance-page.ts +26 -0
  197. package/models/workflow-problem.ts +23 -0
  198. package/models/workflow-spec.ts +23 -0
  199. package/models/workflow-state.ts +46 -0
  200. package/models/workflow-summary-dto.ts +27 -0
  201. package/models/workflow-task-dto.ts +55 -0
  202. package/models/workflow-transition.ts +34 -0
  203. package/models/workflow-validation-result.ts +24 -0
  204. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -43,3 +43,4 @@ export * from './api/tus-controller-api';
43
43
  export * from './api/upload-token-controller-api';
44
44
  export * from './api/user-privacy-api';
45
45
  export * from './api/webhook-proxy-controller-api';
46
+ export * from './api/workflows-api';
package/dist/api.js CHANGED
@@ -61,3 +61,4 @@ __exportStar(require("./api/tus-controller-api"), exports);
61
61
  __exportStar(require("./api/upload-token-controller-api"), exports);
62
62
  __exportStar(require("./api/user-privacy-api"), exports);
63
63
  __exportStar(require("./api/webhook-proxy-controller-api"), exports);
64
+ __exportStar(require("./api/workflows-api"), exports);
@@ -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
- cancel: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
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
- cancel(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
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
- cancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
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
- cancel(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
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)
@@ -38,9 +38,9 @@ export const ESignApiAxiosParamCreator = function (configuration) {
38
38
  * @param {*} [options] Override http request option.
39
39
  * @throws {RequiredError}
40
40
  */
41
- cancel: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
41
+ cancel1: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
42
42
  // verify required parameter 'id' is not null or undefined
43
- assertParamExists('cancel', 'id', id);
43
+ assertParamExists('cancel1', 'id', id);
44
44
  const localVarPath = `/api/v1/signatures/{id}/cancel`
45
45
  .replace('{id}', encodeURIComponent(String(id)));
46
46
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -373,12 +373,12 @@ export const ESignApiFp = function (configuration) {
373
373
  * @param {*} [options] Override http request option.
374
374
  * @throws {RequiredError}
375
375
  */
376
- cancel(id, options) {
376
+ cancel1(id, options) {
377
377
  return __awaiter(this, void 0, void 0, function* () {
378
378
  var _a, _b, _c;
379
- const localVarAxiosArgs = yield localVarAxiosParamCreator.cancel(id, options);
379
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cancel1(id, options);
380
380
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
381
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignApi.cancel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
381
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignApi.cancel1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
382
382
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
383
383
  });
384
384
  },
@@ -540,8 +540,8 @@ export const ESignApiFactory = function (configuration, basePath, axios) {
540
540
  * @param {*} [options] Override http request option.
541
541
  * @throws {RequiredError}
542
542
  */
543
- cancel(id, options) {
544
- return localVarFp.cancel(id, options).then((request) => request(axios, basePath));
543
+ cancel1(id, options) {
544
+ return localVarFp.cancel1(id, options).then((request) => request(axios, basePath));
545
545
  },
546
546
  /**
547
547
  *
@@ -645,8 +645,8 @@ export class ESignApi extends BaseAPI {
645
645
  * @param {*} [options] Override http request option.
646
646
  * @throws {RequiredError}
647
647
  */
648
- cancel(id, options) {
649
- return ESignApiFp(this.configuration).cancel(id, options).then((request) => request(this.axios, this.basePath));
648
+ cancel1(id, options) {
649
+ return ESignApiFp(this.configuration).cancel1(id, options).then((request) => request(this.axios, this.basePath));
650
650
  }
651
651
  /**
652
652
  *
@@ -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)