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