@openfilz-sdk/typescript-ee 1.9.9 → 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 +48 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +41 -3
- package/api/esign-api.ts +9 -9
- package/api/workflows-api.ts +1234 -0
- package/api.ts +1 -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 +1 -0
- package/dist/api.js +1 -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 +1 -0
- package/dist/esm/api.js +1 -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/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 +23 -0
- package/dist/esm/models/index.js +23 -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/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 +23 -0
- package/dist/models/index.js +23 -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/AuditLogDetails.md +6 -0
- package/docs/CancelInstanceRequest.md +20 -0
- package/docs/CompleteTaskRequest.md +22 -0
- package/docs/ESignApi.md +4 -4
- 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/enriched-audit-log-details.ts +7 -1
- package/models/enriched-audit-log.ts +9 -0
- package/models/index.ts +23 -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,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)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# WorkflowEventDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**fromState** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**toState** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**transitionKey** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**actor** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**comment** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**details** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
16
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { WorkflowEventDTO } from '@openfilz-sdk/typescript-ee';
|
|
22
|
+
|
|
23
|
+
const instance: WorkflowEventDTO = {
|
|
24
|
+
id,
|
|
25
|
+
type,
|
|
26
|
+
fromState,
|
|
27
|
+
toState,
|
|
28
|
+
transitionKey,
|
|
29
|
+
actor,
|
|
30
|
+
comment,
|
|
31
|
+
details,
|
|
32
|
+
createdAt,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[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,48 @@
|
|
|
1
|
+
# WorkflowInstanceDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**definitionId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**definitionName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**definitionVersion** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**documentId** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**documentName** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**currentStateKey** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**currentStateLabel** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**currentStateColor** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**startedBy** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**startedAt** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**completedAt** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**currentTask** | [**WorkflowTaskDTO**](WorkflowTaskDTO.md) | | [optional] [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { WorkflowInstanceDTO } from '@openfilz-sdk/typescript-ee';
|
|
28
|
+
|
|
29
|
+
const instance: WorkflowInstanceDTO = {
|
|
30
|
+
id,
|
|
31
|
+
definitionId,
|
|
32
|
+
definitionName,
|
|
33
|
+
definitionVersion,
|
|
34
|
+
documentId,
|
|
35
|
+
documentName,
|
|
36
|
+
status,
|
|
37
|
+
currentStateKey,
|
|
38
|
+
currentStateLabel,
|
|
39
|
+
currentStateColor,
|
|
40
|
+
startedBy,
|
|
41
|
+
startedAt,
|
|
42
|
+
updatedAt,
|
|
43
|
+
completedAt,
|
|
44
|
+
currentTask,
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[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
|
+
# WorkflowInstanceDetailDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**instance** | [**WorkflowInstanceDTO**](WorkflowInstanceDTO.md) | | [optional] [default to undefined]
|
|
9
|
+
**spec** | [**WorkflowSpec**](WorkflowSpec.md) | | [optional] [default to undefined]
|
|
10
|
+
**assignments** | **{ [key: string]: Array<string>; }** | | [optional] [default to undefined]
|
|
11
|
+
**history** | [**Array<WorkflowEventDTO>**](WorkflowEventDTO.md) | | [optional] [default to undefined]
|
|
12
|
+
**canManage** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { WorkflowInstanceDetailDTO } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: WorkflowInstanceDetailDTO = {
|
|
20
|
+
instance,
|
|
21
|
+
spec,
|
|
22
|
+
assignments,
|
|
23
|
+
history,
|
|
24
|
+
canManage,
|
|
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
|
+
# WorkflowInstancePage
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**items** | [**Array<WorkflowInstanceDTO>**](WorkflowInstanceDTO.md) | | [optional] [default to undefined]
|
|
9
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**page** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**size** | **number** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { WorkflowInstancePage } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: WorkflowInstancePage = {
|
|
19
|
+
items,
|
|
20
|
+
total,
|
|
21
|
+
page,
|
|
22
|
+
size,
|
|
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,26 @@
|
|
|
1
|
+
# WorkflowProblem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**path** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**args** | **Array<string>** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { WorkflowProblem } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: WorkflowProblem = {
|
|
19
|
+
path,
|
|
20
|
+
code,
|
|
21
|
+
message,
|
|
22
|
+
args,
|
|
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,20 @@
|
|
|
1
|
+
# WorkflowSpec
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**states** | [**Array<WorkflowState>**](WorkflowState.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { WorkflowSpec } from '@openfilz-sdk/typescript-ee';
|
|
14
|
+
|
|
15
|
+
const instance: WorkflowSpec = {
|
|
16
|
+
states,
|
|
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,36 @@
|
|
|
1
|
+
# WorkflowState
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**key** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**kind** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**color** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**assignees** | [**WorkflowAssignment**](WorkflowAssignment.md) | | [optional] [default to undefined]
|
|
13
|
+
**dueInDays** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**transitions** | [**Array<WorkflowTransition>**](WorkflowTransition.md) | | [optional] [default to undefined]
|
|
15
|
+
**onEnter** | [**Array<WorkflowAction>**](WorkflowAction.md) | | [optional] [default to undefined]
|
|
16
|
+
**end** | **boolean** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { WorkflowState } from '@openfilz-sdk/typescript-ee';
|
|
22
|
+
|
|
23
|
+
const instance: WorkflowState = {
|
|
24
|
+
key,
|
|
25
|
+
label,
|
|
26
|
+
kind,
|
|
27
|
+
color,
|
|
28
|
+
assignees,
|
|
29
|
+
dueInDays,
|
|
30
|
+
transitions,
|
|
31
|
+
onEnter,
|
|
32
|
+
end,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[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
|
+
# WorkflowSummaryDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**running** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**completed** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**cancelled** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**overdue** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**byDefinition** | [**Array<PerDefinition>**](PerDefinition.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { WorkflowSummaryDTO } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: WorkflowSummaryDTO = {
|
|
20
|
+
running,
|
|
21
|
+
completed,
|
|
22
|
+
cancelled,
|
|
23
|
+
overdue,
|
|
24
|
+
byDefinition,
|
|
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,66 @@
|
|
|
1
|
+
# WorkflowTaskDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**instanceId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**definitionId** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**definitionName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**documentId** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**documentName** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**stateKey** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**stateLabel** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**stateColor** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**candidates** | **Array<string>** | | [optional] [default to undefined]
|
|
19
|
+
**candidateRole** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**startedBy** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**dueAt** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**overdue** | **boolean** | | [optional] [default to undefined]
|
|
24
|
+
**completedAt** | **string** | | [optional] [default to undefined]
|
|
25
|
+
**completedBy** | **string** | | [optional] [default to undefined]
|
|
26
|
+
**transitionKey** | **string** | | [optional] [default to undefined]
|
|
27
|
+
**comment** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**transitions** | [**Array<WorkflowTransition>**](WorkflowTransition.md) | | [optional] [default to undefined]
|
|
29
|
+
**previousComment** | **string** | | [optional] [default to undefined]
|
|
30
|
+
**previousActor** | **string** | | [optional] [default to undefined]
|
|
31
|
+
**mine** | **boolean** | | [optional] [default to undefined]
|
|
32
|
+
|
|
33
|
+
## Example
|
|
34
|
+
|
|
35
|
+
```typescript
|
|
36
|
+
import { WorkflowTaskDTO } from '@openfilz-sdk/typescript-ee';
|
|
37
|
+
|
|
38
|
+
const instance: WorkflowTaskDTO = {
|
|
39
|
+
id,
|
|
40
|
+
instanceId,
|
|
41
|
+
definitionId,
|
|
42
|
+
definitionName,
|
|
43
|
+
documentId,
|
|
44
|
+
documentName,
|
|
45
|
+
stateKey,
|
|
46
|
+
stateLabel,
|
|
47
|
+
stateColor,
|
|
48
|
+
status,
|
|
49
|
+
candidates,
|
|
50
|
+
candidateRole,
|
|
51
|
+
startedBy,
|
|
52
|
+
createdAt,
|
|
53
|
+
dueAt,
|
|
54
|
+
overdue,
|
|
55
|
+
completedAt,
|
|
56
|
+
completedBy,
|
|
57
|
+
transitionKey,
|
|
58
|
+
comment,
|
|
59
|
+
transitions,
|
|
60
|
+
previousComment,
|
|
61
|
+
previousActor,
|
|
62
|
+
mine,
|
|
63
|
+
};
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
[[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
|
+
# WorkflowTransition
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**key** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**to** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**style** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**requireComment** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { WorkflowTransition } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: WorkflowTransition = {
|
|
20
|
+
key,
|
|
21
|
+
label,
|
|
22
|
+
to,
|
|
23
|
+
style,
|
|
24
|
+
requireComment,
|
|
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
|
+
# WorkflowValidationResult
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**valid** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
**problems** | [**Array<WorkflowProblem>**](WorkflowProblem.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { WorkflowValidationResult } from '@openfilz-sdk/typescript-ee';
|
|
15
|
+
|
|
16
|
+
const instance: WorkflowValidationResult = {
|
|
17
|
+
valid,
|
|
18
|
+
problems,
|
|
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)
|