@openfilz-sdk/typescript-ee 1.9.8 → 1.9.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/.openapi-generator/FILES +54 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +45 -3
  4. package/api/aiembeddings-api.ts +201 -0
  5. package/api/esign-api.ts +9 -9
  6. package/api/workflows-api.ts +1234 -0
  7. package/api.ts +2 -0
  8. package/dist/api/aiembeddings-api.d.ts +100 -0
  9. package/dist/api/aiembeddings-api.js +200 -0
  10. package/dist/api/esign-api.d.ts +4 -4
  11. package/dist/api/esign-api.js +9 -9
  12. package/dist/api/workflows-api.d.ts +565 -0
  13. package/dist/api/workflows-api.js +1163 -0
  14. package/dist/api.d.ts +2 -0
  15. package/dist/api.js +2 -0
  16. package/dist/esm/api/aiembeddings-api.d.ts +100 -0
  17. package/dist/esm/api/aiembeddings-api.js +193 -0
  18. package/dist/esm/api/esign-api.d.ts +4 -4
  19. package/dist/esm/api/esign-api.js +9 -9
  20. package/dist/esm/api/workflows-api.d.ts +565 -0
  21. package/dist/esm/api/workflows-api.js +1156 -0
  22. package/dist/esm/api.d.ts +2 -0
  23. package/dist/esm/api.js +2 -0
  24. package/dist/esm/models/audit-log-details.d.ts +12 -0
  25. package/dist/esm/models/cancel-instance-request.d.ts +14 -0
  26. package/dist/esm/models/cancel-instance-request.js +14 -0
  27. package/dist/esm/models/complete-task-request.d.ts +15 -0
  28. package/dist/esm/models/complete-task-request.js +14 -0
  29. package/dist/esm/models/embedding-backfill-request.d.ts +15 -0
  30. package/dist/esm/models/embedding-backfill-request.js +14 -0
  31. package/dist/esm/models/embedding-backfill-status.d.ts +23 -0
  32. package/dist/esm/models/embedding-backfill-status.js +14 -0
  33. package/dist/esm/models/enriched-audit-log-details.d.ts +7 -1
  34. package/dist/esm/models/enriched-audit-log.d.ts +9 -0
  35. package/dist/esm/models/enriched-audit-log.js +9 -0
  36. package/dist/esm/models/index.d.ts +25 -0
  37. package/dist/esm/models/index.js +25 -0
  38. package/dist/esm/models/my-tasks-count-dto.d.ts +15 -0
  39. package/dist/esm/models/my-tasks-count-dto.js +14 -0
  40. package/dist/esm/models/notification-dto.d.ts +4 -0
  41. package/dist/esm/models/notification-dto.js +4 -0
  42. package/dist/esm/models/per-definition.d.ts +18 -0
  43. package/dist/esm/models/per-definition.js +14 -0
  44. package/dist/esm/models/reassign-task-request.d.ts +15 -0
  45. package/dist/esm/models/reassign-task-request.js +14 -0
  46. package/dist/esm/models/save-workflow-definition-request.d.ts +19 -0
  47. package/dist/esm/models/save-workflow-definition-request.js +14 -0
  48. package/dist/esm/models/search-by-audit-log-request.d.ts +9 -0
  49. package/dist/esm/models/search-by-audit-log-request.js +9 -0
  50. package/dist/esm/models/settings.d.ts +3 -0
  51. package/dist/esm/models/start-workflow-request.d.ts +20 -0
  52. package/dist/esm/models/start-workflow-request.js +14 -0
  53. package/dist/esm/models/workflow-action-failure-audit.d.ts +17 -0
  54. package/dist/esm/models/workflow-action-failure-audit.js +14 -0
  55. package/dist/esm/models/workflow-action.d.ts +25 -0
  56. package/dist/esm/models/workflow-action.js +18 -0
  57. package/dist/esm/models/workflow-assignment.d.ts +24 -0
  58. package/dist/esm/models/workflow-assignment.js +19 -0
  59. package/dist/esm/models/workflow-audit.d.ts +17 -0
  60. package/dist/esm/models/workflow-audit.js +14 -0
  61. package/dist/esm/models/workflow-definition-dto.d.ts +26 -0
  62. package/dist/esm/models/workflow-definition-dto.js +14 -0
  63. package/dist/esm/models/workflow-event-dto.d.ts +35 -0
  64. package/dist/esm/models/workflow-event-dto.js +23 -0
  65. package/dist/esm/models/workflow-instance-detail-dto.d.ts +23 -0
  66. package/dist/esm/models/workflow-instance-detail-dto.js +14 -0
  67. package/dist/esm/models/workflow-instance-dto.d.ts +35 -0
  68. package/dist/esm/models/workflow-instance-dto.js +18 -0
  69. package/dist/esm/models/workflow-instance-page.d.ts +18 -0
  70. package/dist/esm/models/workflow-instance-page.js +14 -0
  71. package/dist/esm/models/workflow-problem.d.ts +17 -0
  72. package/dist/esm/models/workflow-problem.js +14 -0
  73. package/dist/esm/models/workflow-spec.d.ts +15 -0
  74. package/dist/esm/models/workflow-spec.js +14 -0
  75. package/dist/esm/models/workflow-state.d.ts +31 -0
  76. package/dist/esm/models/workflow-state.js +18 -0
  77. package/dist/esm/models/workflow-summary-dto.d.ts +19 -0
  78. package/dist/esm/models/workflow-summary-dto.js +14 -0
  79. package/dist/esm/models/workflow-task-dto.d.ts +44 -0
  80. package/dist/esm/models/workflow-task-dto.js +18 -0
  81. package/dist/esm/models/workflow-transition.d.ts +25 -0
  82. package/dist/esm/models/workflow-transition.js +19 -0
  83. package/dist/esm/models/workflow-validation-result.d.ts +16 -0
  84. package/dist/esm/models/workflow-validation-result.js +14 -0
  85. package/dist/models/audit-log-details.d.ts +12 -0
  86. package/dist/models/cancel-instance-request.d.ts +14 -0
  87. package/dist/models/cancel-instance-request.js +15 -0
  88. package/dist/models/complete-task-request.d.ts +15 -0
  89. package/dist/models/complete-task-request.js +15 -0
  90. package/dist/models/embedding-backfill-request.d.ts +15 -0
  91. package/dist/models/embedding-backfill-request.js +15 -0
  92. package/dist/models/embedding-backfill-status.d.ts +23 -0
  93. package/dist/models/embedding-backfill-status.js +15 -0
  94. package/dist/models/enriched-audit-log-details.d.ts +7 -1
  95. package/dist/models/enriched-audit-log.d.ts +9 -0
  96. package/dist/models/enriched-audit-log.js +9 -0
  97. package/dist/models/index.d.ts +25 -0
  98. package/dist/models/index.js +25 -0
  99. package/dist/models/my-tasks-count-dto.d.ts +15 -0
  100. package/dist/models/my-tasks-count-dto.js +15 -0
  101. package/dist/models/notification-dto.d.ts +4 -0
  102. package/dist/models/notification-dto.js +4 -0
  103. package/dist/models/per-definition.d.ts +18 -0
  104. package/dist/models/per-definition.js +15 -0
  105. package/dist/models/reassign-task-request.d.ts +15 -0
  106. package/dist/models/reassign-task-request.js +15 -0
  107. package/dist/models/save-workflow-definition-request.d.ts +19 -0
  108. package/dist/models/save-workflow-definition-request.js +15 -0
  109. package/dist/models/search-by-audit-log-request.d.ts +9 -0
  110. package/dist/models/search-by-audit-log-request.js +9 -0
  111. package/dist/models/settings.d.ts +3 -0
  112. package/dist/models/start-workflow-request.d.ts +20 -0
  113. package/dist/models/start-workflow-request.js +15 -0
  114. package/dist/models/workflow-action-failure-audit.d.ts +17 -0
  115. package/dist/models/workflow-action-failure-audit.js +15 -0
  116. package/dist/models/workflow-action.d.ts +25 -0
  117. package/dist/models/workflow-action.js +21 -0
  118. package/dist/models/workflow-assignment.d.ts +24 -0
  119. package/dist/models/workflow-assignment.js +22 -0
  120. package/dist/models/workflow-audit.d.ts +17 -0
  121. package/dist/models/workflow-audit.js +15 -0
  122. package/dist/models/workflow-definition-dto.d.ts +26 -0
  123. package/dist/models/workflow-definition-dto.js +15 -0
  124. package/dist/models/workflow-event-dto.d.ts +35 -0
  125. package/dist/models/workflow-event-dto.js +26 -0
  126. package/dist/models/workflow-instance-detail-dto.d.ts +23 -0
  127. package/dist/models/workflow-instance-detail-dto.js +15 -0
  128. package/dist/models/workflow-instance-dto.d.ts +35 -0
  129. package/dist/models/workflow-instance-dto.js +21 -0
  130. package/dist/models/workflow-instance-page.d.ts +18 -0
  131. package/dist/models/workflow-instance-page.js +15 -0
  132. package/dist/models/workflow-problem.d.ts +17 -0
  133. package/dist/models/workflow-problem.js +15 -0
  134. package/dist/models/workflow-spec.d.ts +15 -0
  135. package/dist/models/workflow-spec.js +15 -0
  136. package/dist/models/workflow-state.d.ts +31 -0
  137. package/dist/models/workflow-state.js +21 -0
  138. package/dist/models/workflow-summary-dto.d.ts +19 -0
  139. package/dist/models/workflow-summary-dto.js +15 -0
  140. package/dist/models/workflow-task-dto.d.ts +44 -0
  141. package/dist/models/workflow-task-dto.js +21 -0
  142. package/dist/models/workflow-transition.d.ts +25 -0
  143. package/dist/models/workflow-transition.js +22 -0
  144. package/dist/models/workflow-validation-result.d.ts +16 -0
  145. package/dist/models/workflow-validation-result.js +15 -0
  146. package/docs/AIEmbeddingsApi.md +111 -0
  147. package/docs/AuditLogDetails.md +6 -0
  148. package/docs/CancelInstanceRequest.md +20 -0
  149. package/docs/CompleteTaskRequest.md +22 -0
  150. package/docs/ESignApi.md +4 -4
  151. package/docs/EmbeddingBackfillRequest.md +22 -0
  152. package/docs/EmbeddingBackfillStatus.md +38 -0
  153. package/docs/EnrichedAuditLogDetails.md +22 -0
  154. package/docs/MyTasksCountDTO.md +22 -0
  155. package/docs/PerDefinition.md +28 -0
  156. package/docs/ReassignTaskRequest.md +22 -0
  157. package/docs/SaveWorkflowDefinitionRequest.md +28 -0
  158. package/docs/Settings.md +6 -0
  159. package/docs/StartWorkflowRequest.md +28 -0
  160. package/docs/WorkflowAction.md +26 -0
  161. package/docs/WorkflowActionFailureAudit.md +25 -0
  162. package/docs/WorkflowAssignment.md +26 -0
  163. package/docs/WorkflowAudit.md +31 -0
  164. package/docs/WorkflowDefinitionDTO.md +42 -0
  165. package/docs/WorkflowEventDTO.md +36 -0
  166. package/docs/WorkflowInstanceDTO.md +48 -0
  167. package/docs/WorkflowInstanceDetailDTO.md +28 -0
  168. package/docs/WorkflowInstancePage.md +26 -0
  169. package/docs/WorkflowProblem.md +26 -0
  170. package/docs/WorkflowSpec.md +20 -0
  171. package/docs/WorkflowState.md +36 -0
  172. package/docs/WorkflowSummaryDTO.md +28 -0
  173. package/docs/WorkflowTaskDTO.md +66 -0
  174. package/docs/WorkflowTransition.md +28 -0
  175. package/docs/WorkflowValidationResult.md +22 -0
  176. package/docs/WorkflowsApi.md +791 -0
  177. package/graphql/document.graphqls +2 -0
  178. package/models/audit-log-details.ts +12 -0
  179. package/models/cancel-instance-request.ts +20 -0
  180. package/models/complete-task-request.ts +21 -0
  181. package/models/embedding-backfill-request.ts +21 -0
  182. package/models/embedding-backfill-status.ts +29 -0
  183. package/models/enriched-audit-log-details.ts +7 -1
  184. package/models/enriched-audit-log.ts +9 -0
  185. package/models/index.ts +25 -0
  186. package/models/my-tasks-count-dto.ts +21 -0
  187. package/models/notification-dto.ts +4 -0
  188. package/models/per-definition.ts +24 -0
  189. package/models/reassign-task-request.ts +21 -0
  190. package/models/save-workflow-definition-request.ts +27 -0
  191. package/models/search-by-audit-log-request.ts +9 -0
  192. package/models/settings.ts +3 -0
  193. package/models/start-workflow-request.ts +24 -0
  194. package/models/workflow-action-failure-audit.ts +26 -0
  195. package/models/workflow-action.ts +32 -0
  196. package/models/workflow-assignment.ts +33 -0
  197. package/models/workflow-audit.ts +26 -0
  198. package/models/workflow-definition-dto.ts +34 -0
  199. package/models/workflow-event-dto.ts +42 -0
  200. package/models/workflow-instance-detail-dto.ts +33 -0
  201. package/models/workflow-instance-dto.ts +46 -0
  202. package/models/workflow-instance-page.ts +26 -0
  203. package/models/workflow-problem.ts +23 -0
  204. package/models/workflow-spec.ts +23 -0
  205. package/models/workflow-state.ts +46 -0
  206. package/models/workflow-summary-dto.ts +27 -0
  207. package/models/workflow-task-dto.ts +55 -0
  208. package/models/workflow-transition.ts +34 -0
  209. package/models/workflow-validation-result.ts +24 -0
  210. package/package.json +1 -1
@@ -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 WorkflowAction {
13
+ 'type'?: WorkflowActionTypeEnum;
14
+ 'folderId'?: string;
15
+ 'entries'?: {
16
+ [key: string]: any;
17
+ };
18
+ 'emails'?: Array<string>;
19
+ }
20
+ export declare const WorkflowActionTypeEnum: {
21
+ readonly MoveToFolder: "MOVE_TO_FOLDER";
22
+ readonly SetMetadata: "SET_METADATA";
23
+ readonly Notify: "NOTIFY";
24
+ };
25
+ export type WorkflowActionTypeEnum = typeof WorkflowActionTypeEnum[keyof typeof WorkflowActionTypeEnum];
@@ -0,0 +1,21 @@
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 });
16
+ exports.WorkflowActionTypeEnum = void 0;
17
+ exports.WorkflowActionTypeEnum = {
18
+ MoveToFolder: 'MOVE_TO_FOLDER',
19
+ SetMetadata: 'SET_METADATA',
20
+ Notify: 'NOTIFY',
21
+ };
@@ -0,0 +1,24 @@
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 WorkflowAssignment {
13
+ 'type'?: WorkflowAssignmentTypeEnum;
14
+ 'emails'?: Array<string>;
15
+ 'role'?: string;
16
+ 'label'?: string;
17
+ }
18
+ export declare const WorkflowAssignmentTypeEnum: {
19
+ readonly Initiator: "INITIATOR";
20
+ readonly Users: "USERS";
21
+ readonly Role: "ROLE";
22
+ readonly ChosenAtStart: "CHOSEN_AT_START";
23
+ };
24
+ export type WorkflowAssignmentTypeEnum = typeof WorkflowAssignmentTypeEnum[keyof typeof WorkflowAssignmentTypeEnum];
@@ -0,0 +1,22 @@
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 });
16
+ exports.WorkflowAssignmentTypeEnum = void 0;
17
+ exports.WorkflowAssignmentTypeEnum = {
18
+ Initiator: 'INITIATOR',
19
+ Users: 'USERS',
20
+ Role: 'ROLE',
21
+ ChosenAtStart: 'CHOSEN_AT_START',
22
+ };
@@ -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,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,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,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,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,26 @@
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 });
16
+ exports.WorkflowEventDTOTypeEnum = void 0;
17
+ exports.WorkflowEventDTOTypeEnum = {
18
+ Started: 'STARTED',
19
+ Transitioned: 'TRANSITIONED',
20
+ ActionApplied: 'ACTION_APPLIED',
21
+ ActionFailed: 'ACTION_FAILED',
22
+ Reassigned: 'REASSIGNED',
23
+ Reminded: 'REMINDED',
24
+ Completed: 'COMPLETED',
25
+ Cancelled: 'CANCELLED',
26
+ };
@@ -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,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,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,21 @@
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 });
16
+ exports.WorkflowInstanceDTOStatusEnum = void 0;
17
+ exports.WorkflowInstanceDTOStatusEnum = {
18
+ Running: 'RUNNING',
19
+ Completed: 'COMPLETED',
20
+ Cancelled: 'CANCELLED',
21
+ };
@@ -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,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,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,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
+ import type { WorkflowState } from './workflow-state';
13
+ export interface WorkflowSpec {
14
+ 'states'?: Array<WorkflowState>;
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 });
@@ -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,21 @@
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 });
16
+ exports.WorkflowStateKindEnum = void 0;
17
+ exports.WorkflowStateKindEnum = {
18
+ Start: 'START',
19
+ Step: 'STEP',
20
+ End: 'END',
21
+ };
@@ -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,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,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,21 @@
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 });
16
+ exports.WorkflowTaskDTOStatusEnum = void 0;
17
+ exports.WorkflowTaskDTOStatusEnum = {
18
+ Open: 'OPEN',
19
+ Done: 'DONE',
20
+ Cancelled: 'CANCELLED',
21
+ };
@@ -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,22 @@
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 });
16
+ exports.WorkflowTransitionStyleEnum = void 0;
17
+ exports.WorkflowTransitionStyleEnum = {
18
+ Primary: 'PRIMARY',
19
+ Success: 'SUCCESS',
20
+ Danger: 'DANGER',
21
+ Neutral: 'NEUTRAL',
22
+ };
@@ -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
+ }