@openfilz-sdk/typescript-ee 1.9.8 → 1.9.10

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 (210) hide show
  1. package/.openapi-generator/FILES +54 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +45 -3
  4. package/api/aiembeddings-api.ts +201 -0
  5. package/api/esign-api.ts +9 -9
  6. package/api/workflows-api.ts +1234 -0
  7. package/api.ts +2 -0
  8. package/dist/api/aiembeddings-api.d.ts +100 -0
  9. package/dist/api/aiembeddings-api.js +200 -0
  10. package/dist/api/esign-api.d.ts +4 -4
  11. package/dist/api/esign-api.js +9 -9
  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 +2 -0
  15. package/dist/api.js +2 -0
  16. package/dist/esm/api/aiembeddings-api.d.ts +100 -0
  17. package/dist/esm/api/aiembeddings-api.js +193 -0
  18. package/dist/esm/api/esign-api.d.ts +4 -4
  19. package/dist/esm/api/esign-api.js +9 -9
  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 +2 -0
  23. package/dist/esm/api.js +2 -0
  24. package/dist/esm/models/audit-log-details.d.ts +12 -0
  25. package/dist/esm/models/cancel-instance-request.d.ts +14 -0
  26. package/dist/esm/models/cancel-instance-request.js +14 -0
  27. package/dist/esm/models/complete-task-request.d.ts +15 -0
  28. package/dist/esm/models/complete-task-request.js +14 -0
  29. package/dist/esm/models/embedding-backfill-request.d.ts +15 -0
  30. package/dist/esm/models/embedding-backfill-request.js +14 -0
  31. package/dist/esm/models/embedding-backfill-status.d.ts +23 -0
  32. package/dist/esm/models/embedding-backfill-status.js +14 -0
  33. package/dist/esm/models/enriched-audit-log-details.d.ts +7 -1
  34. package/dist/esm/models/enriched-audit-log.d.ts +9 -0
  35. package/dist/esm/models/enriched-audit-log.js +9 -0
  36. package/dist/esm/models/index.d.ts +25 -0
  37. package/dist/esm/models/index.js +25 -0
  38. package/dist/esm/models/my-tasks-count-dto.d.ts +15 -0
  39. package/dist/esm/models/my-tasks-count-dto.js +14 -0
  40. package/dist/esm/models/notification-dto.d.ts +4 -0
  41. package/dist/esm/models/notification-dto.js +4 -0
  42. package/dist/esm/models/per-definition.d.ts +18 -0
  43. package/dist/esm/models/per-definition.js +14 -0
  44. package/dist/esm/models/reassign-task-request.d.ts +15 -0
  45. package/dist/esm/models/reassign-task-request.js +14 -0
  46. package/dist/esm/models/save-workflow-definition-request.d.ts +19 -0
  47. package/dist/esm/models/save-workflow-definition-request.js +14 -0
  48. package/dist/esm/models/search-by-audit-log-request.d.ts +9 -0
  49. package/dist/esm/models/search-by-audit-log-request.js +9 -0
  50. package/dist/esm/models/settings.d.ts +3 -0
  51. package/dist/esm/models/start-workflow-request.d.ts +20 -0
  52. package/dist/esm/models/start-workflow-request.js +14 -0
  53. package/dist/esm/models/workflow-action-failure-audit.d.ts +17 -0
  54. package/dist/esm/models/workflow-action-failure-audit.js +14 -0
  55. package/dist/esm/models/workflow-action.d.ts +25 -0
  56. package/dist/esm/models/workflow-action.js +18 -0
  57. package/dist/esm/models/workflow-assignment.d.ts +24 -0
  58. package/dist/esm/models/workflow-assignment.js +19 -0
  59. package/dist/esm/models/workflow-audit.d.ts +17 -0
  60. package/dist/esm/models/workflow-audit.js +14 -0
  61. package/dist/esm/models/workflow-definition-dto.d.ts +26 -0
  62. package/dist/esm/models/workflow-definition-dto.js +14 -0
  63. package/dist/esm/models/workflow-event-dto.d.ts +35 -0
  64. package/dist/esm/models/workflow-event-dto.js +23 -0
  65. package/dist/esm/models/workflow-instance-detail-dto.d.ts +23 -0
  66. package/dist/esm/models/workflow-instance-detail-dto.js +14 -0
  67. package/dist/esm/models/workflow-instance-dto.d.ts +35 -0
  68. package/dist/esm/models/workflow-instance-dto.js +18 -0
  69. package/dist/esm/models/workflow-instance-page.d.ts +18 -0
  70. package/dist/esm/models/workflow-instance-page.js +14 -0
  71. package/dist/esm/models/workflow-problem.d.ts +17 -0
  72. package/dist/esm/models/workflow-problem.js +14 -0
  73. package/dist/esm/models/workflow-spec.d.ts +15 -0
  74. package/dist/esm/models/workflow-spec.js +14 -0
  75. package/dist/esm/models/workflow-state.d.ts +31 -0
  76. package/dist/esm/models/workflow-state.js +18 -0
  77. package/dist/esm/models/workflow-summary-dto.d.ts +19 -0
  78. package/dist/esm/models/workflow-summary-dto.js +14 -0
  79. package/dist/esm/models/workflow-task-dto.d.ts +44 -0
  80. package/dist/esm/models/workflow-task-dto.js +18 -0
  81. package/dist/esm/models/workflow-transition.d.ts +25 -0
  82. package/dist/esm/models/workflow-transition.js +19 -0
  83. package/dist/esm/models/workflow-validation-result.d.ts +16 -0
  84. package/dist/esm/models/workflow-validation-result.js +14 -0
  85. package/dist/models/audit-log-details.d.ts +12 -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/embedding-backfill-request.d.ts +15 -0
  91. package/dist/models/embedding-backfill-request.js +15 -0
  92. package/dist/models/embedding-backfill-status.d.ts +23 -0
  93. package/dist/models/embedding-backfill-status.js +15 -0
  94. package/dist/models/enriched-audit-log-details.d.ts +7 -1
  95. package/dist/models/enriched-audit-log.d.ts +9 -0
  96. package/dist/models/enriched-audit-log.js +9 -0
  97. package/dist/models/index.d.ts +25 -0
  98. package/dist/models/index.js +25 -0
  99. package/dist/models/my-tasks-count-dto.d.ts +15 -0
  100. package/dist/models/my-tasks-count-dto.js +15 -0
  101. package/dist/models/notification-dto.d.ts +4 -0
  102. package/dist/models/notification-dto.js +4 -0
  103. package/dist/models/per-definition.d.ts +18 -0
  104. package/dist/models/per-definition.js +15 -0
  105. package/dist/models/reassign-task-request.d.ts +15 -0
  106. package/dist/models/reassign-task-request.js +15 -0
  107. package/dist/models/save-workflow-definition-request.d.ts +19 -0
  108. package/dist/models/save-workflow-definition-request.js +15 -0
  109. package/dist/models/search-by-audit-log-request.d.ts +9 -0
  110. package/dist/models/search-by-audit-log-request.js +9 -0
  111. package/dist/models/settings.d.ts +3 -0
  112. package/dist/models/start-workflow-request.d.ts +20 -0
  113. package/dist/models/start-workflow-request.js +15 -0
  114. package/dist/models/workflow-action-failure-audit.d.ts +17 -0
  115. package/dist/models/workflow-action-failure-audit.js +15 -0
  116. package/dist/models/workflow-action.d.ts +25 -0
  117. package/dist/models/workflow-action.js +21 -0
  118. package/dist/models/workflow-assignment.d.ts +24 -0
  119. package/dist/models/workflow-assignment.js +22 -0
  120. package/dist/models/workflow-audit.d.ts +17 -0
  121. package/dist/models/workflow-audit.js +15 -0
  122. package/dist/models/workflow-definition-dto.d.ts +26 -0
  123. package/dist/models/workflow-definition-dto.js +15 -0
  124. package/dist/models/workflow-event-dto.d.ts +35 -0
  125. package/dist/models/workflow-event-dto.js +26 -0
  126. package/dist/models/workflow-instance-detail-dto.d.ts +23 -0
  127. package/dist/models/workflow-instance-detail-dto.js +15 -0
  128. package/dist/models/workflow-instance-dto.d.ts +35 -0
  129. package/dist/models/workflow-instance-dto.js +21 -0
  130. package/dist/models/workflow-instance-page.d.ts +18 -0
  131. package/dist/models/workflow-instance-page.js +15 -0
  132. package/dist/models/workflow-problem.d.ts +17 -0
  133. package/dist/models/workflow-problem.js +15 -0
  134. package/dist/models/workflow-spec.d.ts +15 -0
  135. package/dist/models/workflow-spec.js +15 -0
  136. package/dist/models/workflow-state.d.ts +31 -0
  137. package/dist/models/workflow-state.js +21 -0
  138. package/dist/models/workflow-summary-dto.d.ts +19 -0
  139. package/dist/models/workflow-summary-dto.js +15 -0
  140. package/dist/models/workflow-task-dto.d.ts +44 -0
  141. package/dist/models/workflow-task-dto.js +21 -0
  142. package/dist/models/workflow-transition.d.ts +25 -0
  143. package/dist/models/workflow-transition.js +22 -0
  144. package/dist/models/workflow-validation-result.d.ts +16 -0
  145. package/dist/models/workflow-validation-result.js +15 -0
  146. package/docs/AIEmbeddingsApi.md +111 -0
  147. package/docs/AuditLogDetails.md +6 -0
  148. package/docs/CancelInstanceRequest.md +20 -0
  149. package/docs/CompleteTaskRequest.md +22 -0
  150. package/docs/ESignApi.md +4 -4
  151. package/docs/EmbeddingBackfillRequest.md +22 -0
  152. package/docs/EmbeddingBackfillStatus.md +38 -0
  153. package/docs/EnrichedAuditLogDetails.md +22 -0
  154. package/docs/MyTasksCountDTO.md +22 -0
  155. package/docs/PerDefinition.md +28 -0
  156. package/docs/ReassignTaskRequest.md +22 -0
  157. package/docs/SaveWorkflowDefinitionRequest.md +28 -0
  158. package/docs/Settings.md +6 -0
  159. package/docs/StartWorkflowRequest.md +28 -0
  160. package/docs/WorkflowAction.md +26 -0
  161. package/docs/WorkflowActionFailureAudit.md +25 -0
  162. package/docs/WorkflowAssignment.md +26 -0
  163. package/docs/WorkflowAudit.md +31 -0
  164. package/docs/WorkflowDefinitionDTO.md +42 -0
  165. package/docs/WorkflowEventDTO.md +36 -0
  166. package/docs/WorkflowInstanceDTO.md +48 -0
  167. package/docs/WorkflowInstanceDetailDTO.md +28 -0
  168. package/docs/WorkflowInstancePage.md +26 -0
  169. package/docs/WorkflowProblem.md +26 -0
  170. package/docs/WorkflowSpec.md +20 -0
  171. package/docs/WorkflowState.md +36 -0
  172. package/docs/WorkflowSummaryDTO.md +28 -0
  173. package/docs/WorkflowTaskDTO.md +66 -0
  174. package/docs/WorkflowTransition.md +28 -0
  175. package/docs/WorkflowValidationResult.md +22 -0
  176. package/docs/WorkflowsApi.md +791 -0
  177. package/graphql/document.graphqls +2 -0
  178. package/models/audit-log-details.ts +12 -0
  179. package/models/cancel-instance-request.ts +20 -0
  180. package/models/complete-task-request.ts +21 -0
  181. package/models/embedding-backfill-request.ts +21 -0
  182. package/models/embedding-backfill-status.ts +29 -0
  183. package/models/enriched-audit-log-details.ts +7 -1
  184. package/models/enriched-audit-log.ts +9 -0
  185. package/models/index.ts +25 -0
  186. package/models/my-tasks-count-dto.ts +21 -0
  187. package/models/notification-dto.ts +4 -0
  188. package/models/per-definition.ts +24 -0
  189. package/models/reassign-task-request.ts +21 -0
  190. package/models/save-workflow-definition-request.ts +27 -0
  191. package/models/search-by-audit-log-request.ts +9 -0
  192. package/models/settings.ts +3 -0
  193. package/models/start-workflow-request.ts +24 -0
  194. package/models/workflow-action-failure-audit.ts +26 -0
  195. package/models/workflow-action.ts +32 -0
  196. package/models/workflow-assignment.ts +33 -0
  197. package/models/workflow-audit.ts +26 -0
  198. package/models/workflow-definition-dto.ts +34 -0
  199. package/models/workflow-event-dto.ts +42 -0
  200. package/models/workflow-instance-detail-dto.ts +33 -0
  201. package/models/workflow-instance-dto.ts +46 -0
  202. package/models/workflow-instance-page.ts +26 -0
  203. package/models/workflow-problem.ts +23 -0
  204. package/models/workflow-spec.ts +23 -0
  205. package/models/workflow-state.ts +46 -0
  206. package/models/workflow-summary-dto.ts +27 -0
  207. package/models/workflow-task-dto.ts +55 -0
  208. package/models/workflow-transition.ts +34 -0
  209. package/models/workflow-validation-result.ts +24 -0
  210. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/aichat-api';
13
+ export * from './api/aiembeddings-api';
13
14
  export * from './api/aisettings-api';
14
15
  export * from './api/collaboration-audit-controller-api';
15
16
  export * from './api/collaboration-controller-api';
@@ -42,3 +43,4 @@ export * from './api/tus-controller-api';
42
43
  export * from './api/upload-token-controller-api';
43
44
  export * from './api/user-privacy-api';
44
45
  export * from './api/webhook-proxy-controller-api';
46
+ export * from './api/workflows-api';
package/dist/api.js CHANGED
@@ -28,6 +28,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/aichat-api"), exports);
31
+ __exportStar(require("./api/aiembeddings-api"), exports);
31
32
  __exportStar(require("./api/aisettings-api"), exports);
32
33
  __exportStar(require("./api/collaboration-audit-controller-api"), exports);
33
34
  __exportStar(require("./api/collaboration-controller-api"), exports);
@@ -60,3 +61,4 @@ __exportStar(require("./api/tus-controller-api"), exports);
60
61
  __exportStar(require("./api/upload-token-controller-api"), exports);
61
62
  __exportStar(require("./api/user-privacy-api"), exports);
62
63
  __exportStar(require("./api/webhook-proxy-controller-api"), exports);
64
+ __exportStar(require("./api/workflows-api"), exports);
@@ -0,0 +1,100 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { EmbeddingBackfillRequest } from '../models';
16
+ import type { EmbeddingBackfillStatus } from '../models';
17
+ /**
18
+ * AIEmbeddingsApi - axios parameter creator
19
+ */
20
+ export declare const AIEmbeddingsApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch.
23
+ * @summary Embed existing documents
24
+ * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest]
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ backfill1: (embeddingBackfillRequest?: EmbeddingBackfillRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ /**
30
+ *
31
+ * @summary Progress of an embedding backfill job
32
+ * @param {string} jobId
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ backfillStatus1: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
+ };
38
+ /**
39
+ * AIEmbeddingsApi - functional programming interface
40
+ */
41
+ export declare const AIEmbeddingsApiFp: (configuration?: Configuration) => {
42
+ /**
43
+ * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch.
44
+ * @summary Embed existing documents
45
+ * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest]
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ backfill1(embeddingBackfillRequest?: EmbeddingBackfillRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmbeddingBackfillStatus>>;
50
+ /**
51
+ *
52
+ * @summary Progress of an embedding backfill job
53
+ * @param {string} jobId
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ backfillStatus1(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmbeddingBackfillStatus>>;
58
+ };
59
+ /**
60
+ * AIEmbeddingsApi - factory interface
61
+ */
62
+ export declare const AIEmbeddingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
63
+ /**
64
+ * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch.
65
+ * @summary Embed existing documents
66
+ * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest]
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ */
70
+ backfill1(embeddingBackfillRequest?: EmbeddingBackfillRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmbeddingBackfillStatus>;
71
+ /**
72
+ *
73
+ * @summary Progress of an embedding backfill job
74
+ * @param {string} jobId
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ backfillStatus1(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<EmbeddingBackfillStatus>;
79
+ };
80
+ /**
81
+ * AIEmbeddingsApi - object-oriented interface
82
+ */
83
+ export declare class AIEmbeddingsApi extends BaseAPI {
84
+ /**
85
+ * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch.
86
+ * @summary Embed existing documents
87
+ * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest]
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ backfill1(embeddingBackfillRequest?: EmbeddingBackfillRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmbeddingBackfillStatus, any, {}, any>>;
92
+ /**
93
+ *
94
+ * @summary Progress of an embedding backfill job
95
+ * @param {string} jobId
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ backfillStatus1(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmbeddingBackfillStatus, any, {}, any>>;
100
+ }
@@ -0,0 +1,193 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * AIEmbeddingsApi - axios parameter creator
31
+ */
32
+ export const AIEmbeddingsApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch.
36
+ * @summary Embed existing documents
37
+ * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest]
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ backfill1: (embeddingBackfillRequest_1, ...args_1) => __awaiter(this, [embeddingBackfillRequest_1, ...args_1], void 0, function* (embeddingBackfillRequest, options = {}) {
42
+ const localVarPath = `/api/v1/ai/embeddings/backfill`;
43
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
45
+ let baseOptions;
46
+ if (configuration) {
47
+ baseOptions = configuration.baseOptions;
48
+ }
49
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
50
+ const localVarHeaderParameter = {};
51
+ const localVarQueryParameter = {};
52
+ // authentication keycloak_auth required
53
+ // http bearer authentication required
54
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
55
+ localVarHeaderParameter['Content-Type'] = 'application/json';
56
+ localVarHeaderParameter['Accept'] = 'application/json';
57
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
59
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
60
+ localVarRequestOptions.data = serializeDataIfNeeded(embeddingBackfillRequest, localVarRequestOptions, configuration);
61
+ return {
62
+ url: toPathString(localVarUrlObj),
63
+ options: localVarRequestOptions,
64
+ };
65
+ }),
66
+ /**
67
+ *
68
+ * @summary Progress of an embedding backfill job
69
+ * @param {string} jobId
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ backfillStatus1: (jobId_1, ...args_1) => __awaiter(this, [jobId_1, ...args_1], void 0, function* (jobId, options = {}) {
74
+ // verify required parameter 'jobId' is not null or undefined
75
+ assertParamExists('backfillStatus1', 'jobId', jobId);
76
+ const localVarPath = `/api/v1/ai/embeddings/backfill/{jobId}`
77
+ .replace('{jobId}', encodeURIComponent(String(jobId)));
78
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
79
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80
+ let baseOptions;
81
+ if (configuration) {
82
+ baseOptions = configuration.baseOptions;
83
+ }
84
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
85
+ const localVarHeaderParameter = {};
86
+ const localVarQueryParameter = {};
87
+ // authentication keycloak_auth required
88
+ // http bearer authentication required
89
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
90
+ localVarHeaderParameter['Accept'] = 'application/json';
91
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
92
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
93
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
94
+ return {
95
+ url: toPathString(localVarUrlObj),
96
+ options: localVarRequestOptions,
97
+ };
98
+ }),
99
+ };
100
+ };
101
+ /**
102
+ * AIEmbeddingsApi - functional programming interface
103
+ */
104
+ export const AIEmbeddingsApiFp = function (configuration) {
105
+ const localVarAxiosParamCreator = AIEmbeddingsApiAxiosParamCreator(configuration);
106
+ return {
107
+ /**
108
+ * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch.
109
+ * @summary Embed existing documents
110
+ * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest]
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ backfill1(embeddingBackfillRequest, options) {
115
+ return __awaiter(this, void 0, void 0, function* () {
116
+ var _a, _b, _c;
117
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backfill1(embeddingBackfillRequest, options);
118
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
119
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIEmbeddingsApi.backfill1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
120
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
121
+ });
122
+ },
123
+ /**
124
+ *
125
+ * @summary Progress of an embedding backfill job
126
+ * @param {string} jobId
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ backfillStatus1(jobId, options) {
131
+ return __awaiter(this, void 0, void 0, function* () {
132
+ var _a, _b, _c;
133
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backfillStatus1(jobId, options);
134
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
135
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIEmbeddingsApi.backfillStatus1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
136
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
137
+ });
138
+ },
139
+ };
140
+ };
141
+ /**
142
+ * AIEmbeddingsApi - factory interface
143
+ */
144
+ export const AIEmbeddingsApiFactory = function (configuration, basePath, axios) {
145
+ const localVarFp = AIEmbeddingsApiFp(configuration);
146
+ return {
147
+ /**
148
+ * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch.
149
+ * @summary Embed existing documents
150
+ * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest]
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ backfill1(embeddingBackfillRequest, options) {
155
+ return localVarFp.backfill1(embeddingBackfillRequest, options).then((request) => request(axios, basePath));
156
+ },
157
+ /**
158
+ *
159
+ * @summary Progress of an embedding backfill job
160
+ * @param {string} jobId
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ backfillStatus1(jobId, options) {
165
+ return localVarFp.backfillStatus1(jobId, options).then((request) => request(axios, basePath));
166
+ },
167
+ };
168
+ };
169
+ /**
170
+ * AIEmbeddingsApi - object-oriented interface
171
+ */
172
+ export class AIEmbeddingsApi extends BaseAPI {
173
+ /**
174
+ * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch.
175
+ * @summary Embed existing documents
176
+ * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest]
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ */
180
+ backfill1(embeddingBackfillRequest, options) {
181
+ return AIEmbeddingsApiFp(this.configuration).backfill1(embeddingBackfillRequest, options).then((request) => request(this.axios, this.basePath));
182
+ }
183
+ /**
184
+ *
185
+ * @summary Progress of an embedding backfill job
186
+ * @param {string} jobId
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ backfillStatus1(jobId, options) {
191
+ return AIEmbeddingsApiFp(this.configuration).backfillStatus1(jobId, options).then((request) => request(this.axios, this.basePath));
192
+ }
193
+ }
@@ -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
  *