@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/api.ts CHANGED
@@ -48,4 +48,5 @@ export * from './api/tus-controller-api';
48
48
  export * from './api/upload-token-controller-api';
49
49
  export * from './api/user-privacy-api';
50
50
  export * from './api/webhook-proxy-controller-api';
51
+ export * from './api/workflows-api';
51
52
 
@@ -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)
@@ -41,9 +41,9 @@ const ESignApiAxiosParamCreator = function (configuration) {
41
41
  * @param {*} [options] Override http request option.
42
42
  * @throws {RequiredError}
43
43
  */
44
- cancel: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
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)('cancel', 'id', id);
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
- cancel(id, options) {
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.cancel(id, options);
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.cancel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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
- cancel(id, options) {
549
- return localVarFp.cancel(id, options).then((request) => request(axios, basePath));
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
- cancel(id, options) {
655
- return (0, exports.ESignApiFp)(this.configuration).cancel(id, options).then((request) => request(this.axios, this.basePath));
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)