@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.
Files changed (192) hide show
  1. package/.openapi-generator/FILES +48 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +41 -3
  4. package/api/esign-api.ts +9 -9
  5. package/api/workflows-api.ts +1234 -0
  6. package/api.ts +1 -0
  7. package/dist/api/esign-api.d.ts +4 -4
  8. package/dist/api/esign-api.js +9 -9
  9. package/dist/api/workflows-api.d.ts +565 -0
  10. package/dist/api/workflows-api.js +1163 -0
  11. package/dist/api.d.ts +1 -0
  12. package/dist/api.js +1 -0
  13. package/dist/esm/api/esign-api.d.ts +4 -4
  14. package/dist/esm/api/esign-api.js +9 -9
  15. package/dist/esm/api/workflows-api.d.ts +565 -0
  16. package/dist/esm/api/workflows-api.js +1156 -0
  17. package/dist/esm/api.d.ts +1 -0
  18. package/dist/esm/api.js +1 -0
  19. package/dist/esm/models/audit-log-details.d.ts +12 -0
  20. package/dist/esm/models/cancel-instance-request.d.ts +14 -0
  21. package/dist/esm/models/cancel-instance-request.js +14 -0
  22. package/dist/esm/models/complete-task-request.d.ts +15 -0
  23. package/dist/esm/models/complete-task-request.js +14 -0
  24. package/dist/esm/models/enriched-audit-log-details.d.ts +7 -1
  25. package/dist/esm/models/enriched-audit-log.d.ts +9 -0
  26. package/dist/esm/models/enriched-audit-log.js +9 -0
  27. package/dist/esm/models/index.d.ts +23 -0
  28. package/dist/esm/models/index.js +23 -0
  29. package/dist/esm/models/my-tasks-count-dto.d.ts +15 -0
  30. package/dist/esm/models/my-tasks-count-dto.js +14 -0
  31. package/dist/esm/models/notification-dto.d.ts +4 -0
  32. package/dist/esm/models/notification-dto.js +4 -0
  33. package/dist/esm/models/per-definition.d.ts +18 -0
  34. package/dist/esm/models/per-definition.js +14 -0
  35. package/dist/esm/models/reassign-task-request.d.ts +15 -0
  36. package/dist/esm/models/reassign-task-request.js +14 -0
  37. package/dist/esm/models/save-workflow-definition-request.d.ts +19 -0
  38. package/dist/esm/models/save-workflow-definition-request.js +14 -0
  39. package/dist/esm/models/search-by-audit-log-request.d.ts +9 -0
  40. package/dist/esm/models/search-by-audit-log-request.js +9 -0
  41. package/dist/esm/models/settings.d.ts +3 -0
  42. package/dist/esm/models/start-workflow-request.d.ts +20 -0
  43. package/dist/esm/models/start-workflow-request.js +14 -0
  44. package/dist/esm/models/workflow-action-failure-audit.d.ts +17 -0
  45. package/dist/esm/models/workflow-action-failure-audit.js +14 -0
  46. package/dist/esm/models/workflow-action.d.ts +25 -0
  47. package/dist/esm/models/workflow-action.js +18 -0
  48. package/dist/esm/models/workflow-assignment.d.ts +24 -0
  49. package/dist/esm/models/workflow-assignment.js +19 -0
  50. package/dist/esm/models/workflow-audit.d.ts +17 -0
  51. package/dist/esm/models/workflow-audit.js +14 -0
  52. package/dist/esm/models/workflow-definition-dto.d.ts +26 -0
  53. package/dist/esm/models/workflow-definition-dto.js +14 -0
  54. package/dist/esm/models/workflow-event-dto.d.ts +35 -0
  55. package/dist/esm/models/workflow-event-dto.js +23 -0
  56. package/dist/esm/models/workflow-instance-detail-dto.d.ts +23 -0
  57. package/dist/esm/models/workflow-instance-detail-dto.js +14 -0
  58. package/dist/esm/models/workflow-instance-dto.d.ts +35 -0
  59. package/dist/esm/models/workflow-instance-dto.js +18 -0
  60. package/dist/esm/models/workflow-instance-page.d.ts +18 -0
  61. package/dist/esm/models/workflow-instance-page.js +14 -0
  62. package/dist/esm/models/workflow-problem.d.ts +17 -0
  63. package/dist/esm/models/workflow-problem.js +14 -0
  64. package/dist/esm/models/workflow-spec.d.ts +15 -0
  65. package/dist/esm/models/workflow-spec.js +14 -0
  66. package/dist/esm/models/workflow-state.d.ts +31 -0
  67. package/dist/esm/models/workflow-state.js +18 -0
  68. package/dist/esm/models/workflow-summary-dto.d.ts +19 -0
  69. package/dist/esm/models/workflow-summary-dto.js +14 -0
  70. package/dist/esm/models/workflow-task-dto.d.ts +44 -0
  71. package/dist/esm/models/workflow-task-dto.js +18 -0
  72. package/dist/esm/models/workflow-transition.d.ts +25 -0
  73. package/dist/esm/models/workflow-transition.js +19 -0
  74. package/dist/esm/models/workflow-validation-result.d.ts +16 -0
  75. package/dist/esm/models/workflow-validation-result.js +14 -0
  76. package/dist/models/audit-log-details.d.ts +12 -0
  77. package/dist/models/cancel-instance-request.d.ts +14 -0
  78. package/dist/models/cancel-instance-request.js +15 -0
  79. package/dist/models/complete-task-request.d.ts +15 -0
  80. package/dist/models/complete-task-request.js +15 -0
  81. package/dist/models/enriched-audit-log-details.d.ts +7 -1
  82. package/dist/models/enriched-audit-log.d.ts +9 -0
  83. package/dist/models/enriched-audit-log.js +9 -0
  84. package/dist/models/index.d.ts +23 -0
  85. package/dist/models/index.js +23 -0
  86. package/dist/models/my-tasks-count-dto.d.ts +15 -0
  87. package/dist/models/my-tasks-count-dto.js +15 -0
  88. package/dist/models/notification-dto.d.ts +4 -0
  89. package/dist/models/notification-dto.js +4 -0
  90. package/dist/models/per-definition.d.ts +18 -0
  91. package/dist/models/per-definition.js +15 -0
  92. package/dist/models/reassign-task-request.d.ts +15 -0
  93. package/dist/models/reassign-task-request.js +15 -0
  94. package/dist/models/save-workflow-definition-request.d.ts +19 -0
  95. package/dist/models/save-workflow-definition-request.js +15 -0
  96. package/dist/models/search-by-audit-log-request.d.ts +9 -0
  97. package/dist/models/search-by-audit-log-request.js +9 -0
  98. package/dist/models/settings.d.ts +3 -0
  99. package/dist/models/start-workflow-request.d.ts +20 -0
  100. package/dist/models/start-workflow-request.js +15 -0
  101. package/dist/models/workflow-action-failure-audit.d.ts +17 -0
  102. package/dist/models/workflow-action-failure-audit.js +15 -0
  103. package/dist/models/workflow-action.d.ts +25 -0
  104. package/dist/models/workflow-action.js +21 -0
  105. package/dist/models/workflow-assignment.d.ts +24 -0
  106. package/dist/models/workflow-assignment.js +22 -0
  107. package/dist/models/workflow-audit.d.ts +17 -0
  108. package/dist/models/workflow-audit.js +15 -0
  109. package/dist/models/workflow-definition-dto.d.ts +26 -0
  110. package/dist/models/workflow-definition-dto.js +15 -0
  111. package/dist/models/workflow-event-dto.d.ts +35 -0
  112. package/dist/models/workflow-event-dto.js +26 -0
  113. package/dist/models/workflow-instance-detail-dto.d.ts +23 -0
  114. package/dist/models/workflow-instance-detail-dto.js +15 -0
  115. package/dist/models/workflow-instance-dto.d.ts +35 -0
  116. package/dist/models/workflow-instance-dto.js +21 -0
  117. package/dist/models/workflow-instance-page.d.ts +18 -0
  118. package/dist/models/workflow-instance-page.js +15 -0
  119. package/dist/models/workflow-problem.d.ts +17 -0
  120. package/dist/models/workflow-problem.js +15 -0
  121. package/dist/models/workflow-spec.d.ts +15 -0
  122. package/dist/models/workflow-spec.js +15 -0
  123. package/dist/models/workflow-state.d.ts +31 -0
  124. package/dist/models/workflow-state.js +21 -0
  125. package/dist/models/workflow-summary-dto.d.ts +19 -0
  126. package/dist/models/workflow-summary-dto.js +15 -0
  127. package/dist/models/workflow-task-dto.d.ts +44 -0
  128. package/dist/models/workflow-task-dto.js +21 -0
  129. package/dist/models/workflow-transition.d.ts +25 -0
  130. package/dist/models/workflow-transition.js +22 -0
  131. package/dist/models/workflow-validation-result.d.ts +16 -0
  132. package/dist/models/workflow-validation-result.js +15 -0
  133. package/docs/AuditLogDetails.md +6 -0
  134. package/docs/CancelInstanceRequest.md +20 -0
  135. package/docs/CompleteTaskRequest.md +22 -0
  136. package/docs/ESignApi.md +4 -4
  137. package/docs/EnrichedAuditLogDetails.md +22 -0
  138. package/docs/MyTasksCountDTO.md +22 -0
  139. package/docs/PerDefinition.md +28 -0
  140. package/docs/ReassignTaskRequest.md +22 -0
  141. package/docs/SaveWorkflowDefinitionRequest.md +28 -0
  142. package/docs/Settings.md +6 -0
  143. package/docs/StartWorkflowRequest.md +28 -0
  144. package/docs/WorkflowAction.md +26 -0
  145. package/docs/WorkflowActionFailureAudit.md +25 -0
  146. package/docs/WorkflowAssignment.md +26 -0
  147. package/docs/WorkflowAudit.md +31 -0
  148. package/docs/WorkflowDefinitionDTO.md +42 -0
  149. package/docs/WorkflowEventDTO.md +36 -0
  150. package/docs/WorkflowInstanceDTO.md +48 -0
  151. package/docs/WorkflowInstanceDetailDTO.md +28 -0
  152. package/docs/WorkflowInstancePage.md +26 -0
  153. package/docs/WorkflowProblem.md +26 -0
  154. package/docs/WorkflowSpec.md +20 -0
  155. package/docs/WorkflowState.md +36 -0
  156. package/docs/WorkflowSummaryDTO.md +28 -0
  157. package/docs/WorkflowTaskDTO.md +66 -0
  158. package/docs/WorkflowTransition.md +28 -0
  159. package/docs/WorkflowValidationResult.md +22 -0
  160. package/docs/WorkflowsApi.md +791 -0
  161. package/graphql/document.graphqls +2 -0
  162. package/models/audit-log-details.ts +12 -0
  163. package/models/cancel-instance-request.ts +20 -0
  164. package/models/complete-task-request.ts +21 -0
  165. package/models/enriched-audit-log-details.ts +7 -1
  166. package/models/enriched-audit-log.ts +9 -0
  167. package/models/index.ts +23 -0
  168. package/models/my-tasks-count-dto.ts +21 -0
  169. package/models/notification-dto.ts +4 -0
  170. package/models/per-definition.ts +24 -0
  171. package/models/reassign-task-request.ts +21 -0
  172. package/models/save-workflow-definition-request.ts +27 -0
  173. package/models/search-by-audit-log-request.ts +9 -0
  174. package/models/settings.ts +3 -0
  175. package/models/start-workflow-request.ts +24 -0
  176. package/models/workflow-action-failure-audit.ts +26 -0
  177. package/models/workflow-action.ts +32 -0
  178. package/models/workflow-assignment.ts +33 -0
  179. package/models/workflow-audit.ts +26 -0
  180. package/models/workflow-definition-dto.ts +34 -0
  181. package/models/workflow-event-dto.ts +42 -0
  182. package/models/workflow-instance-detail-dto.ts +33 -0
  183. package/models/workflow-instance-dto.ts +46 -0
  184. package/models/workflow-instance-page.ts +26 -0
  185. package/models/workflow-problem.ts +23 -0
  186. package/models/workflow-spec.ts +23 -0
  187. package/models/workflow-state.ts +46 -0
  188. package/models/workflow-summary-dto.ts +27 -0
  189. package/models/workflow-task-dto.ts +55 -0
  190. package/models/workflow-transition.ts +34 -0
  191. package/models/workflow-validation-result.ts +24 -0
  192. package/package.json +1 -1
@@ -0,0 +1,17 @@
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 { AuditLogDetails } from './audit-log-details';
13
+ /**
14
+ * @type WorkflowAudit
15
+ * type=workflow
16
+ */
17
+ export type WorkflowAudit = AuditLogDetails;
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,26 @@
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 { WorkflowSpec } from './workflow-spec';
13
+ export interface WorkflowDefinitionDTO {
14
+ 'id'?: string;
15
+ 'name'?: string;
16
+ 'description'?: string;
17
+ 'active'?: boolean;
18
+ 'spec'?: WorkflowSpec;
19
+ 'triggerFolderIds'?: Array<string>;
20
+ 'version'?: number;
21
+ 'createdBy'?: string;
22
+ 'createdAt'?: string;
23
+ 'updatedAt'?: string;
24
+ 'runningCount'?: number;
25
+ 'canEdit'?: boolean;
26
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,35 @@
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
+ export interface WorkflowEventDTO {
13
+ 'id'?: string;
14
+ 'type'?: WorkflowEventDTOTypeEnum;
15
+ 'fromState'?: string;
16
+ 'toState'?: string;
17
+ 'transitionKey'?: string;
18
+ 'actor'?: string;
19
+ 'comment'?: string;
20
+ 'details'?: {
21
+ [key: string]: any;
22
+ };
23
+ 'createdAt'?: string;
24
+ }
25
+ export declare const WorkflowEventDTOTypeEnum: {
26
+ readonly Started: "STARTED";
27
+ readonly Transitioned: "TRANSITIONED";
28
+ readonly ActionApplied: "ACTION_APPLIED";
29
+ readonly ActionFailed: "ACTION_FAILED";
30
+ readonly Reassigned: "REASSIGNED";
31
+ readonly Reminded: "REMINDED";
32
+ readonly Completed: "COMPLETED";
33
+ readonly Cancelled: "CANCELLED";
34
+ };
35
+ export type WorkflowEventDTOTypeEnum = typeof WorkflowEventDTOTypeEnum[keyof typeof WorkflowEventDTOTypeEnum];
@@ -0,0 +1,23 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const WorkflowEventDTOTypeEnum = {
15
+ Started: 'STARTED',
16
+ Transitioned: 'TRANSITIONED',
17
+ ActionApplied: 'ACTION_APPLIED',
18
+ ActionFailed: 'ACTION_FAILED',
19
+ Reassigned: 'REASSIGNED',
20
+ Reminded: 'REMINDED',
21
+ Completed: 'COMPLETED',
22
+ Cancelled: 'CANCELLED',
23
+ };
@@ -0,0 +1,23 @@
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 { WorkflowEventDTO } from './workflow-event-dto';
13
+ import type { WorkflowInstanceDTO } from './workflow-instance-dto';
14
+ import type { WorkflowSpec } from './workflow-spec';
15
+ export interface WorkflowInstanceDetailDTO {
16
+ 'instance'?: WorkflowInstanceDTO;
17
+ 'spec'?: WorkflowSpec;
18
+ 'assignments'?: {
19
+ [key: string]: Array<string>;
20
+ };
21
+ 'history'?: Array<WorkflowEventDTO>;
22
+ 'canManage'?: boolean;
23
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,35 @@
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 { WorkflowTaskDTO } from './workflow-task-dto';
13
+ export interface WorkflowInstanceDTO {
14
+ 'id'?: string;
15
+ 'definitionId'?: string;
16
+ 'definitionName'?: string;
17
+ 'definitionVersion'?: number;
18
+ 'documentId'?: string;
19
+ 'documentName'?: string;
20
+ 'status'?: WorkflowInstanceDTOStatusEnum;
21
+ 'currentStateKey'?: string;
22
+ 'currentStateLabel'?: string;
23
+ 'currentStateColor'?: string;
24
+ 'startedBy'?: string;
25
+ 'startedAt'?: string;
26
+ 'updatedAt'?: string;
27
+ 'completedAt'?: string;
28
+ 'currentTask'?: WorkflowTaskDTO;
29
+ }
30
+ export declare const WorkflowInstanceDTOStatusEnum: {
31
+ readonly Running: "RUNNING";
32
+ readonly Completed: "COMPLETED";
33
+ readonly Cancelled: "CANCELLED";
34
+ };
35
+ export type WorkflowInstanceDTOStatusEnum = typeof WorkflowInstanceDTOStatusEnum[keyof typeof WorkflowInstanceDTOStatusEnum];
@@ -0,0 +1,18 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const WorkflowInstanceDTOStatusEnum = {
15
+ Running: 'RUNNING',
16
+ Completed: 'COMPLETED',
17
+ Cancelled: 'CANCELLED',
18
+ };
@@ -0,0 +1,18 @@
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 { WorkflowInstanceDTO } from './workflow-instance-dto';
13
+ export interface WorkflowInstancePage {
14
+ 'items'?: Array<WorkflowInstanceDTO>;
15
+ 'total'?: number;
16
+ 'page'?: number;
17
+ 'size'?: number;
18
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,17 @@
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
+ export interface WorkflowProblem {
13
+ 'path'?: string;
14
+ 'code'?: string;
15
+ 'message'?: string;
16
+ 'args'?: Array<string>;
17
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,15 @@
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 { WorkflowState } from './workflow-state';
13
+ export interface WorkflowSpec {
14
+ 'states'?: Array<WorkflowState>;
15
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,31 @@
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 { WorkflowAction } from './workflow-action';
13
+ import type { WorkflowAssignment } from './workflow-assignment';
14
+ import type { WorkflowTransition } from './workflow-transition';
15
+ export interface WorkflowState {
16
+ 'key'?: string;
17
+ 'label'?: string;
18
+ 'kind'?: WorkflowStateKindEnum;
19
+ 'color'?: string;
20
+ 'assignees'?: WorkflowAssignment;
21
+ 'dueInDays'?: number;
22
+ 'transitions'?: Array<WorkflowTransition>;
23
+ 'onEnter'?: Array<WorkflowAction>;
24
+ 'end'?: boolean;
25
+ }
26
+ export declare const WorkflowStateKindEnum: {
27
+ readonly Start: "START";
28
+ readonly Step: "STEP";
29
+ readonly End: "END";
30
+ };
31
+ export type WorkflowStateKindEnum = typeof WorkflowStateKindEnum[keyof typeof WorkflowStateKindEnum];
@@ -0,0 +1,18 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const WorkflowStateKindEnum = {
15
+ Start: 'START',
16
+ Step: 'STEP',
17
+ End: 'END',
18
+ };
@@ -0,0 +1,19 @@
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 { PerDefinition } from './per-definition';
13
+ export interface WorkflowSummaryDTO {
14
+ 'running'?: number;
15
+ 'completed'?: number;
16
+ 'cancelled'?: number;
17
+ 'overdue'?: number;
18
+ 'byDefinition'?: Array<PerDefinition>;
19
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,44 @@
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 { WorkflowTransition } from './workflow-transition';
13
+ export interface WorkflowTaskDTO {
14
+ 'id'?: string;
15
+ 'instanceId'?: string;
16
+ 'definitionId'?: string;
17
+ 'definitionName'?: string;
18
+ 'documentId'?: string;
19
+ 'documentName'?: string;
20
+ 'stateKey'?: string;
21
+ 'stateLabel'?: string;
22
+ 'stateColor'?: string;
23
+ 'status'?: WorkflowTaskDTOStatusEnum;
24
+ 'candidates'?: Array<string>;
25
+ 'candidateRole'?: string;
26
+ 'startedBy'?: string;
27
+ 'createdAt'?: string;
28
+ 'dueAt'?: string;
29
+ 'overdue'?: boolean;
30
+ 'completedAt'?: string;
31
+ 'completedBy'?: string;
32
+ 'transitionKey'?: string;
33
+ 'comment'?: string;
34
+ 'transitions'?: Array<WorkflowTransition>;
35
+ 'previousComment'?: string;
36
+ 'previousActor'?: string;
37
+ 'mine'?: boolean;
38
+ }
39
+ export declare const WorkflowTaskDTOStatusEnum: {
40
+ readonly Open: "OPEN";
41
+ readonly Done: "DONE";
42
+ readonly Cancelled: "CANCELLED";
43
+ };
44
+ export type WorkflowTaskDTOStatusEnum = typeof WorkflowTaskDTOStatusEnum[keyof typeof WorkflowTaskDTOStatusEnum];
@@ -0,0 +1,18 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const WorkflowTaskDTOStatusEnum = {
15
+ Open: 'OPEN',
16
+ Done: 'DONE',
17
+ Cancelled: 'CANCELLED',
18
+ };
@@ -0,0 +1,25 @@
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
+ export interface WorkflowTransition {
13
+ 'key'?: string;
14
+ 'label'?: string;
15
+ 'to'?: string;
16
+ 'style'?: WorkflowTransitionStyleEnum;
17
+ 'requireComment'?: boolean;
18
+ }
19
+ export declare const WorkflowTransitionStyleEnum: {
20
+ readonly Primary: "PRIMARY";
21
+ readonly Success: "SUCCESS";
22
+ readonly Danger: "DANGER";
23
+ readonly Neutral: "NEUTRAL";
24
+ };
25
+ export type WorkflowTransitionStyleEnum = typeof WorkflowTransitionStyleEnum[keyof typeof WorkflowTransitionStyleEnum];
@@ -0,0 +1,19 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const WorkflowTransitionStyleEnum = {
15
+ Primary: 'PRIMARY',
16
+ Success: 'SUCCESS',
17
+ Danger: 'DANGER',
18
+ Neutral: 'NEUTRAL',
19
+ };
@@ -0,0 +1,16 @@
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 { WorkflowProblem } from './workflow-problem';
13
+ export interface WorkflowValidationResult {
14
+ 'valid'?: boolean;
15
+ 'problems'?: Array<WorkflowProblem>;
16
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -10,5 +10,17 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export interface AuditLogDetails {
13
+ /**
14
+ * Workflow instance this action was part of, when a workflow caused it
15
+ */
16
+ 'workflowInstanceId'?: string;
17
+ /**
18
+ * Name of the workflow that caused this action
19
+ */
20
+ 'workflow'?: string;
21
+ /**
22
+ * Label of the workflow status whose entry caused this action
23
+ */
24
+ 'workflowState'?: string;
13
25
  'type': string;
14
26
  }
@@ -0,0 +1,14 @@
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
+ export interface CancelInstanceRequest {
13
+ 'comment'?: string;
14
+ }
@@ -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,15 @@
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
+ export interface CompleteTaskRequest {
13
+ 'transitionKey': string;
14
+ 'comment'?: string;
15
+ }
@@ -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 });
@@ -20,6 +20,8 @@ import type { ReplaceAudit } from './replace-audit';
20
20
  import type { RestoreVersionAudit } from './restore-version-audit';
21
21
  import type { UpdateMetadataAudit } from './update-metadata-audit';
22
22
  import type { UploadAudit } from './upload-audit';
23
+ import type { WorkflowActionFailureAudit } from './workflow-action-failure-audit';
24
+ import type { WorkflowAudit } from './workflow-audit';
23
25
  /**
24
26
  * @type EnrichedAuditLogDetails
25
27
  */
@@ -45,4 +47,8 @@ export type EnrichedAuditLogDetails = {
45
47
  type: 'updateMetadata';
46
48
  } & UpdateMetadataAudit | {
47
49
  type: 'upload';
48
- } & UploadAudit;
50
+ } & UploadAudit | {
51
+ type: 'workflow';
52
+ } & WorkflowAudit | {
53
+ type: 'workflowActionFailure';
54
+ } & WorkflowActionFailureAudit;