@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
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# AIEmbeddingsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8081*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**backfill1**](#backfill1) | **POST** /api/v1/ai/embeddings/backfill | Embed existing documents|
|
|
8
|
+
|[**backfillStatus1**](#backfillstatus1) | **GET** /api/v1/ai/embeddings/backfill/{jobId} | Progress of an embedding backfill job|
|
|
9
|
+
|
|
10
|
+
# **backfill1**
|
|
11
|
+
> EmbeddingBackfillStatus backfill1()
|
|
12
|
+
|
|
13
|
+
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.
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
AIEmbeddingsApi,
|
|
20
|
+
Configuration,
|
|
21
|
+
EmbeddingBackfillRequest
|
|
22
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new AIEmbeddingsApi(configuration);
|
|
26
|
+
|
|
27
|
+
let embeddingBackfillRequest: EmbeddingBackfillRequest; // (optional)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.backfill1(
|
|
30
|
+
embeddingBackfillRequest
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **embeddingBackfillRequest** | **EmbeddingBackfillRequest**| | |
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**EmbeddingBackfillStatus**
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: application/json
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### HTTP response details
|
|
56
|
+
| Status code | Description | Response headers |
|
|
57
|
+
|-------------|-------------|------------------|
|
|
58
|
+
|**200** | OK | - |
|
|
59
|
+
|
|
60
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
61
|
+
|
|
62
|
+
# **backfillStatus1**
|
|
63
|
+
> EmbeddingBackfillStatus backfillStatus1()
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Example
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
import {
|
|
70
|
+
AIEmbeddingsApi,
|
|
71
|
+
Configuration
|
|
72
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
73
|
+
|
|
74
|
+
const configuration = new Configuration();
|
|
75
|
+
const apiInstance = new AIEmbeddingsApi(configuration);
|
|
76
|
+
|
|
77
|
+
let jobId: string; // (default to undefined)
|
|
78
|
+
|
|
79
|
+
const { status, data } = await apiInstance.backfillStatus1(
|
|
80
|
+
jobId
|
|
81
|
+
);
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Parameters
|
|
85
|
+
|
|
86
|
+
|Name | Type | Description | Notes|
|
|
87
|
+
|------------- | ------------- | ------------- | -------------|
|
|
88
|
+
| **jobId** | [**string**] | | defaults to undefined|
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Return type
|
|
92
|
+
|
|
93
|
+
**EmbeddingBackfillStatus**
|
|
94
|
+
|
|
95
|
+
### Authorization
|
|
96
|
+
|
|
97
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
98
|
+
|
|
99
|
+
### HTTP request headers
|
|
100
|
+
|
|
101
|
+
- **Content-Type**: Not defined
|
|
102
|
+
- **Accept**: application/json
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### HTTP response details
|
|
106
|
+
| Status code | Description | Response headers |
|
|
107
|
+
|-------------|-------------|------------------|
|
|
108
|
+
|**200** | OK | - |
|
|
109
|
+
|
|
110
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
111
|
+
|
package/docs/AuditLogDetails.md
CHANGED
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**workflowInstanceId** | **string** | Workflow instance this action was part of, when a workflow caused it | [optional] [default to undefined]
|
|
9
|
+
**workflow** | **string** | Name of the workflow that caused this action | [optional] [default to undefined]
|
|
10
|
+
**workflowState** | **string** | Label of the workflow status whose entry caused this action | [optional] [default to undefined]
|
|
8
11
|
**type** | **string** | | [default to undefined]
|
|
9
12
|
|
|
10
13
|
## Example
|
|
@@ -13,6 +16,9 @@ Name | Type | Description | Notes
|
|
|
13
16
|
import { AuditLogDetails } from '@openfilz-sdk/typescript-ee';
|
|
14
17
|
|
|
15
18
|
const instance: AuditLogDetails = {
|
|
19
|
+
workflowInstanceId,
|
|
20
|
+
workflow,
|
|
21
|
+
workflowState,
|
|
16
22
|
type,
|
|
17
23
|
};
|
|
18
24
|
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CancelInstanceRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**comment** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { CancelInstanceRequest } from '@openfilz-sdk/typescript-ee';
|
|
14
|
+
|
|
15
|
+
const instance: CancelInstanceRequest = {
|
|
16
|
+
comment,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CompleteTaskRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**transitionKey** | **string** | | [default to undefined]
|
|
9
|
+
**comment** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { CompleteTaskRequest } from '@openfilz-sdk/typescript-ee';
|
|
15
|
+
|
|
16
|
+
const instance: CompleteTaskRequest = {
|
|
17
|
+
transitionKey,
|
|
18
|
+
comment,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ESignApi.md
CHANGED
|
@@ -4,7 +4,7 @@ All URIs are relative to *http://localhost:8081*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**
|
|
7
|
+
|[**cancel1**](#cancel1) | **POST** /api/v1/signatures/{id}/cancel | Cancel a non-terminal envelope|
|
|
8
8
|
|[**cloudSubscription**](#cloudsubscription) | **GET** /api/v1/signatures/cloud-subscription | Cloud Signing subscription and month-to-date usage (openfilz-cloud seal provider only)|
|
|
9
9
|
|[**create**](#create) | **POST** /api/v1/signatures | Create an envelope (sent immediately unless send=false)|
|
|
10
10
|
|[**events**](#events) | **GET** /api/v1/signatures/{id}/events | Audit trail of one of my envelopes|
|
|
@@ -15,8 +15,8 @@ All URIs are relative to *http://localhost:8081*
|
|
|
15
15
|
|[**send**](#send) | **POST** /api/v1/signatures/{id}/send | Send a DRAFT envelope|
|
|
16
16
|
|[**signedDocument**](#signeddocument) | **GET** /api/v1/signatures/{id}/signed-document | Download the sealed PDF of a completed envelope|
|
|
17
17
|
|
|
18
|
-
# **
|
|
19
|
-
> SignatureEnvelopeDTO
|
|
18
|
+
# **cancel1**
|
|
19
|
+
> SignatureEnvelopeDTO cancel1()
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
### Example
|
|
@@ -32,7 +32,7 @@ const apiInstance = new ESignApi(configuration);
|
|
|
32
32
|
|
|
33
33
|
let id: string; // (default to undefined)
|
|
34
34
|
|
|
35
|
-
const { status, data } = await apiInstance.
|
|
35
|
+
const { status, data } = await apiInstance.cancel1(
|
|
36
36
|
id
|
|
37
37
|
);
|
|
38
38
|
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# EmbeddingBackfillRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**folderId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**force** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { EmbeddingBackfillRequest } from '@openfilz-sdk/typescript-ee';
|
|
15
|
+
|
|
16
|
+
const instance: EmbeddingBackfillRequest = {
|
|
17
|
+
folderId,
|
|
18
|
+
force,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# EmbeddingBackfillStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**jobId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**folderId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**force** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**done** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**failed** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**skipped** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**startedAt** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**finishedAt** | **string** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { EmbeddingBackfillStatus } from '@openfilz-sdk/typescript-ee';
|
|
23
|
+
|
|
24
|
+
const instance: EmbeddingBackfillStatus = {
|
|
25
|
+
jobId,
|
|
26
|
+
folderId,
|
|
27
|
+
force,
|
|
28
|
+
status,
|
|
29
|
+
total,
|
|
30
|
+
done,
|
|
31
|
+
failed,
|
|
32
|
+
skipped,
|
|
33
|
+
startedAt,
|
|
34
|
+
finishedAt,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**workflowInstanceId** | **string** | Workflow instance this action was part of, when a workflow caused it | [optional] [default to undefined]
|
|
9
|
+
**workflow** | **string** | Workflow definition name | [optional] [default to undefined]
|
|
10
|
+
**workflowState** | **string** | Label of the workflow status whose entry caused this action | [optional] [default to undefined]
|
|
8
11
|
**type** | **string** | | [default to undefined]
|
|
9
12
|
**sourceFileId** | **string** | | [optional] [default to undefined]
|
|
10
13
|
**targetFolderId** | **string** | | [optional] [default to undefined]
|
|
@@ -23,6 +26,14 @@ Name | Type | Description | Notes
|
|
|
23
26
|
**restoredFromDate** | **string** | Creation date of the restored version | [optional] [default to undefined]
|
|
24
27
|
**updatedMetadata** | **{ [key: string]: any; }** | Updated Metadata | [optional] [default to undefined]
|
|
25
28
|
**parentFolderId** | **string** | | [optional] [default to undefined]
|
|
29
|
+
**action** | **string** | Action that failed (MOVE_TO_FOLDER, SET_METADATA, NOTIFY) | [optional] [default to undefined]
|
|
30
|
+
**target** | **string** | What it targeted: the destination folder, the metadata keys, the recipients | [optional] [default to undefined]
|
|
31
|
+
**error** | **string** | Why it failed | [optional] [default to undefined]
|
|
32
|
+
**instanceId** | **string** | Workflow instance | [optional] [default to undefined]
|
|
33
|
+
**fromState** | **string** | Status left (null on start) | [optional] [default to undefined]
|
|
34
|
+
**toState** | **string** | Status entered | [optional] [default to undefined]
|
|
35
|
+
**transition** | **string** | Transition taken | [optional] [default to undefined]
|
|
36
|
+
**comment** | **string** | Decision comment | [optional] [default to undefined]
|
|
26
37
|
|
|
27
38
|
## Example
|
|
28
39
|
|
|
@@ -30,6 +41,9 @@ Name | Type | Description | Notes
|
|
|
30
41
|
import { EnrichedAuditLogDetails } from '@openfilz-sdk/typescript-ee';
|
|
31
42
|
|
|
32
43
|
const instance: EnrichedAuditLogDetails = {
|
|
44
|
+
workflowInstanceId,
|
|
45
|
+
workflow,
|
|
46
|
+
workflowState,
|
|
33
47
|
type,
|
|
34
48
|
sourceFileId,
|
|
35
49
|
targetFolderId,
|
|
@@ -48,6 +62,14 @@ const instance: EnrichedAuditLogDetails = {
|
|
|
48
62
|
restoredFromDate,
|
|
49
63
|
updatedMetadata,
|
|
50
64
|
parentFolderId,
|
|
65
|
+
action,
|
|
66
|
+
target,
|
|
67
|
+
error,
|
|
68
|
+
instanceId,
|
|
69
|
+
fromState,
|
|
70
|
+
toState,
|
|
71
|
+
transition,
|
|
72
|
+
comment,
|
|
51
73
|
};
|
|
52
74
|
```
|
|
53
75
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# MyTasksCountDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**count** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**overdue** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MyTasksCountDTO } from '@openfilz-sdk/typescript-ee';
|
|
15
|
+
|
|
16
|
+
const instance: MyTasksCountDTO = {
|
|
17
|
+
count,
|
|
18
|
+
overdue,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# PerDefinition
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**definitionId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**definitionName** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**running** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**completed** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**cancelled** | **number** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PerDefinition } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: PerDefinition = {
|
|
20
|
+
definitionId,
|
|
21
|
+
definitionName,
|
|
22
|
+
running,
|
|
23
|
+
completed,
|
|
24
|
+
cancelled,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ReassignTaskRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**emails** | **Array<string>** | | [default to undefined]
|
|
9
|
+
**comment** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ReassignTaskRequest } from '@openfilz-sdk/typescript-ee';
|
|
15
|
+
|
|
16
|
+
const instance: ReassignTaskRequest = {
|
|
17
|
+
emails,
|
|
18
|
+
comment,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# SaveWorkflowDefinitionRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**active** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**spec** | [**WorkflowSpec**](WorkflowSpec.md) | | [default to undefined]
|
|
12
|
+
**triggerFolderIds** | **Array<string>** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { SaveWorkflowDefinitionRequest } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: SaveWorkflowDefinitionRequest = {
|
|
20
|
+
name,
|
|
21
|
+
description,
|
|
22
|
+
active,
|
|
23
|
+
spec,
|
|
24
|
+
triggerFolderIds,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Settings.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**theme** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**thumbnailsActive** | **boolean** | | [optional] [default to undefined]
|
|
14
14
|
**aiActive** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
**aiChatActive** | **boolean** | | [optional] [default to undefined]
|
|
15
16
|
**aiUserSettingsEnabled** | **boolean** | | [optional] [default to undefined]
|
|
16
17
|
**aiInsightsActive** | **boolean** | | [optional] [default to undefined]
|
|
17
18
|
**aiInsightsCategories** | **Array<string>** | | [optional] [default to undefined]
|
|
@@ -22,6 +23,8 @@ Name | Type | Description | Notes
|
|
|
22
23
|
**signatureAuthMethods** | **Array<string>** | | [optional] [default to undefined]
|
|
23
24
|
**signatureRemindersActive** | **boolean** | | [optional] [default to undefined]
|
|
24
25
|
**signatureCloudActive** | **boolean** | | [optional] [default to undefined]
|
|
26
|
+
**workflowsActive** | **boolean** | | [optional] [default to undefined]
|
|
27
|
+
**workflowDesignerRoleRequired** | **boolean** | | [optional] [default to undefined]
|
|
25
28
|
**demoMode** | **boolean** | | [optional] [default to undefined]
|
|
26
29
|
**sealProvider** | **string** | | [optional] [default to undefined]
|
|
27
30
|
**mcpActive** | **boolean** | | [optional] [default to undefined]
|
|
@@ -43,6 +46,7 @@ const instance: Settings = {
|
|
|
43
46
|
theme,
|
|
44
47
|
thumbnailsActive,
|
|
45
48
|
aiActive,
|
|
49
|
+
aiChatActive,
|
|
46
50
|
aiUserSettingsEnabled,
|
|
47
51
|
aiInsightsActive,
|
|
48
52
|
aiInsightsCategories,
|
|
@@ -53,6 +57,8 @@ const instance: Settings = {
|
|
|
53
57
|
signatureAuthMethods,
|
|
54
58
|
signatureRemindersActive,
|
|
55
59
|
signatureCloudActive,
|
|
60
|
+
workflowsActive,
|
|
61
|
+
workflowDesignerRoleRequired,
|
|
56
62
|
demoMode,
|
|
57
63
|
sealProvider,
|
|
58
64
|
mcpActive,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# StartWorkflowRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**definitionId** | **string** | | [default to undefined]
|
|
9
|
+
**documentId** | **string** | | [default to undefined]
|
|
10
|
+
**assignments** | **{ [key: string]: Array<string>; }** | | [optional] [default to undefined]
|
|
11
|
+
**transitionKey** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**comment** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { StartWorkflowRequest } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: StartWorkflowRequest = {
|
|
20
|
+
definitionId,
|
|
21
|
+
documentId,
|
|
22
|
+
assignments,
|
|
23
|
+
transitionKey,
|
|
24
|
+
comment,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# WorkflowAction
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**folderId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**entries** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
11
|
+
**emails** | **Array<string>** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { WorkflowAction } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: WorkflowAction = {
|
|
19
|
+
type,
|
|
20
|
+
folderId,
|
|
21
|
+
entries,
|
|
22
|
+
emails,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# WorkflowActionFailureAudit
|
|
2
|
+
|
|
3
|
+
type=workflowActionFailure
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**action** | **string** | Action that failed (MOVE_TO_FOLDER, SET_METADATA, NOTIFY) | [optional] [default to undefined]
|
|
10
|
+
**target** | **string** | What it targeted: the destination folder, the metadata keys, the recipients | [optional] [default to undefined]
|
|
11
|
+
**error** | **string** | Why it failed | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { WorkflowActionFailureAudit } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: WorkflowActionFailureAudit = {
|
|
19
|
+
action,
|
|
20
|
+
target,
|
|
21
|
+
error,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# WorkflowAssignment
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**emails** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
**role** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { WorkflowAssignment } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: WorkflowAssignment = {
|
|
19
|
+
type,
|
|
20
|
+
emails,
|
|
21
|
+
role,
|
|
22
|
+
label,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WorkflowAudit
|
|
2
|
+
|
|
3
|
+
type=workflow
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**workflow** | **string** | Workflow definition name | [optional] [default to undefined]
|
|
10
|
+
**instanceId** | **string** | Workflow instance | [optional] [default to undefined]
|
|
11
|
+
**fromState** | **string** | Status left (null on start) | [optional] [default to undefined]
|
|
12
|
+
**toState** | **string** | Status entered | [optional] [default to undefined]
|
|
13
|
+
**transition** | **string** | Transition taken | [optional] [default to undefined]
|
|
14
|
+
**comment** | **string** | Decision comment | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { WorkflowAudit } from '@openfilz-sdk/typescript-ee';
|
|
20
|
+
|
|
21
|
+
const instance: WorkflowAudit = {
|
|
22
|
+
workflow,
|
|
23
|
+
instanceId,
|
|
24
|
+
fromState,
|
|
25
|
+
toState,
|
|
26
|
+
transition,
|
|
27
|
+
comment,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# WorkflowDefinitionDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**active** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
**spec** | [**WorkflowSpec**](WorkflowSpec.md) | | [optional] [default to undefined]
|
|
13
|
+
**triggerFolderIds** | **Array<string>** | | [optional] [default to undefined]
|
|
14
|
+
**version** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**createdBy** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**runningCount** | **number** | | [optional] [default to undefined]
|
|
19
|
+
**canEdit** | **boolean** | | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { WorkflowDefinitionDTO } from '@openfilz-sdk/typescript-ee';
|
|
25
|
+
|
|
26
|
+
const instance: WorkflowDefinitionDTO = {
|
|
27
|
+
id,
|
|
28
|
+
name,
|
|
29
|
+
description,
|
|
30
|
+
active,
|
|
31
|
+
spec,
|
|
32
|
+
triggerFolderIds,
|
|
33
|
+
version,
|
|
34
|
+
createdBy,
|
|
35
|
+
createdAt,
|
|
36
|
+
updatedAt,
|
|
37
|
+
runningCount,
|
|
38
|
+
canEdit,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|