@openfilz-sdk/typescript-ee 1.10.2 → 1.10.3

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 (50) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +5 -2
  4. package/dist/esm/models/enriched-audit-log.d.ts +1 -0
  5. package/dist/esm/models/enriched-audit-log.js +1 -0
  6. package/dist/esm/models/index.d.ts +3 -0
  7. package/dist/esm/models/index.js +3 -0
  8. package/dist/esm/models/search-by-audit-log-request.d.ts +1 -0
  9. package/dist/esm/models/search-by-audit-log-request.js +1 -0
  10. package/dist/esm/models/vote.d.ts +17 -0
  11. package/dist/esm/models/vote.js +14 -0
  12. package/dist/esm/models/workflow-event-dto.d.ts +1 -0
  13. package/dist/esm/models/workflow-event-dto.js +1 -0
  14. package/dist/esm/models/workflow-review-progress-dto.d.ts +27 -0
  15. package/dist/esm/models/workflow-review-progress-dto.js +18 -0
  16. package/dist/esm/models/workflow-review.d.ts +22 -0
  17. package/dist/esm/models/workflow-review.js +18 -0
  18. package/dist/esm/models/workflow-state.d.ts +2 -0
  19. package/dist/esm/models/workflow-task-dto.d.ts +2 -0
  20. package/dist/models/enriched-audit-log.d.ts +1 -0
  21. package/dist/models/enriched-audit-log.js +1 -0
  22. package/dist/models/index.d.ts +3 -0
  23. package/dist/models/index.js +3 -0
  24. package/dist/models/search-by-audit-log-request.d.ts +1 -0
  25. package/dist/models/search-by-audit-log-request.js +1 -0
  26. package/dist/models/vote.d.ts +17 -0
  27. package/dist/models/vote.js +15 -0
  28. package/dist/models/workflow-event-dto.d.ts +1 -0
  29. package/dist/models/workflow-event-dto.js +1 -0
  30. package/dist/models/workflow-review-progress-dto.d.ts +27 -0
  31. package/dist/models/workflow-review-progress-dto.js +21 -0
  32. package/dist/models/workflow-review.d.ts +22 -0
  33. package/dist/models/workflow-review.js +21 -0
  34. package/dist/models/workflow-state.d.ts +2 -0
  35. package/dist/models/workflow-task-dto.d.ts +2 -0
  36. package/docs/Vote.md +26 -0
  37. package/docs/WorkflowReview.md +24 -0
  38. package/docs/WorkflowReviewProgressDTO.md +32 -0
  39. package/docs/WorkflowState.md +2 -0
  40. package/docs/WorkflowTaskDTO.md +2 -0
  41. package/models/enriched-audit-log.ts +1 -0
  42. package/models/index.ts +3 -0
  43. package/models/search-by-audit-log-request.ts +1 -0
  44. package/models/vote.ts +23 -0
  45. package/models/workflow-event-dto.ts +1 -0
  46. package/models/workflow-review-progress-dto.ts +38 -0
  47. package/models/workflow-review.ts +31 -0
  48. package/models/workflow-state.ts +4 -0
  49. package/models/workflow-task-dto.ts +4 -0
  50. package/package.json +1 -1
@@ -277,6 +277,7 @@ docs/UserPrivacyApi.md
277
277
  docs/UserPrivacyDTO.md
278
278
  docs/UserRegistrationRequest.md
279
279
  docs/VerifyOtpRequest.md
280
+ docs/Vote.md
280
281
  docs/WebhookProxyControllerApi.md
281
282
  docs/WorkflowAction.md
282
283
  docs/WorkflowActionFailureAudit.md
@@ -288,6 +289,8 @@ docs/WorkflowInstanceDTO.md
288
289
  docs/WorkflowInstanceDetailDTO.md
289
290
  docs/WorkflowInstancePage.md
290
291
  docs/WorkflowProblem.md
292
+ docs/WorkflowReview.md
293
+ docs/WorkflowReviewProgressDTO.md
291
294
  docs/WorkflowSpec.md
292
295
  docs/WorkflowState.md
293
296
  docs/WorkflowSummaryDTO.md
@@ -483,6 +486,7 @@ models/user-preferences-request.ts
483
486
  models/user-privacy-dto.ts
484
487
  models/user-registration-request.ts
485
488
  models/verify-otp-request.ts
489
+ models/vote.ts
486
490
  models/workflow-action-failure-audit.ts
487
491
  models/workflow-action.ts
488
492
  models/workflow-assignment.ts
@@ -493,6 +497,8 @@ models/workflow-instance-detail-dto.ts
493
497
  models/workflow-instance-dto.ts
494
498
  models/workflow-instance-page.ts
495
499
  models/workflow-problem.ts
500
+ models/workflow-review-progress-dto.ts
501
+ models/workflow-review.ts
496
502
  models/workflow-spec.ts
497
503
  models/workflow-state.ts
498
504
  models/workflow-summary-dto.ts
@@ -1 +1 @@
1
- bf133f217b04ffec8198f31eeb5f4d6f3b76f5beea9634f630c1822ce2957585
1
+ aaaac9fc3a735e9dc14c9ededaed4ffbba613180cc9d256dae1a1373508a8942
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @openfilz-sdk/typescript-ee@1.10.2
1
+ ## @openfilz-sdk/typescript-ee@1.10.3
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @openfilz-sdk/typescript-ee@1.10.2 --save
39
+ npm install @openfilz-sdk/typescript-ee@1.10.3 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -462,6 +462,7 @@ Class | Method | HTTP request | Description
462
462
  - [UserPrivacyDTO](docs/UserPrivacyDTO.md)
463
463
  - [UserRegistrationRequest](docs/UserRegistrationRequest.md)
464
464
  - [VerifyOtpRequest](docs/VerifyOtpRequest.md)
465
+ - [Vote](docs/Vote.md)
465
466
  - [WorkflowAction](docs/WorkflowAction.md)
466
467
  - [WorkflowActionFailureAudit](docs/WorkflowActionFailureAudit.md)
467
468
  - [WorkflowAssignment](docs/WorkflowAssignment.md)
@@ -472,6 +473,8 @@ Class | Method | HTTP request | Description
472
473
  - [WorkflowInstanceDetailDTO](docs/WorkflowInstanceDetailDTO.md)
473
474
  - [WorkflowInstancePage](docs/WorkflowInstancePage.md)
474
475
  - [WorkflowProblem](docs/WorkflowProblem.md)
476
+ - [WorkflowReview](docs/WorkflowReview.md)
477
+ - [WorkflowReviewProgressDTO](docs/WorkflowReviewProgressDTO.md)
475
478
  - [WorkflowSpec](docs/WorkflowSpec.md)
476
479
  - [WorkflowState](docs/WorkflowState.md)
477
480
  - [WorkflowSummaryDTO](docs/WorkflowSummaryDTO.md)
@@ -52,6 +52,7 @@ export declare const EnrichedAuditLogActionEnum: {
52
52
  readonly PdfTransform: "PDF_TRANSFORM";
53
53
  readonly WorkflowStarted: "WORKFLOW_STARTED";
54
54
  readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
55
+ readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
55
56
  readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
56
57
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
57
58
  readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
@@ -38,6 +38,7 @@ export const EnrichedAuditLogActionEnum = {
38
38
  PdfTransform: 'PDF_TRANSFORM',
39
39
  WorkflowStarted: 'WORKFLOW_STARTED',
40
40
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
41
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
41
42
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
42
43
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
43
44
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
@@ -183,6 +183,7 @@ export * from './user-preferences-request';
183
183
  export * from './user-privacy-dto';
184
184
  export * from './user-registration-request';
185
185
  export * from './verify-otp-request';
186
+ export * from './vote';
186
187
  export * from './workflow-action';
187
188
  export * from './workflow-action-failure-audit';
188
189
  export * from './workflow-assignment';
@@ -193,6 +194,8 @@ export * from './workflow-instance-dto';
193
194
  export * from './workflow-instance-detail-dto';
194
195
  export * from './workflow-instance-page';
195
196
  export * from './workflow-problem';
197
+ export * from './workflow-review';
198
+ export * from './workflow-review-progress-dto';
196
199
  export * from './workflow-spec';
197
200
  export * from './workflow-state';
198
201
  export * from './workflow-summary-dto';
@@ -183,6 +183,7 @@ export * from './user-preferences-request';
183
183
  export * from './user-privacy-dto';
184
184
  export * from './user-registration-request';
185
185
  export * from './verify-otp-request';
186
+ export * from './vote';
186
187
  export * from './workflow-action';
187
188
  export * from './workflow-action-failure-audit';
188
189
  export * from './workflow-assignment';
@@ -193,6 +194,8 @@ export * from './workflow-instance-dto';
193
194
  export * from './workflow-instance-detail-dto';
194
195
  export * from './workflow-instance-page';
195
196
  export * from './workflow-problem';
197
+ export * from './workflow-review';
198
+ export * from './workflow-review-progress-dto';
196
199
  export * from './workflow-spec';
197
200
  export * from './workflow-state';
198
201
  export * from './workflow-summary-dto';
@@ -68,6 +68,7 @@ export declare const SearchByAuditLogRequestActionEnum: {
68
68
  readonly PdfTransform: "PDF_TRANSFORM";
69
69
  readonly WorkflowStarted: "WORKFLOW_STARTED";
70
70
  readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
71
+ readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
71
72
  readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
72
73
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
73
74
  readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
@@ -42,6 +42,7 @@ export const SearchByAuditLogRequestActionEnum = {
42
42
  PdfTransform: 'PDF_TRANSFORM',
43
43
  WorkflowStarted: 'WORKFLOW_STARTED',
44
44
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
45
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
45
46
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
46
47
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
47
48
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
@@ -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 Vote {
13
+ 'reviewer'?: string;
14
+ 'transitionKey'?: string;
15
+ 'comment'?: string;
16
+ 'at'?: 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 {};
@@ -25,6 +25,7 @@ export interface WorkflowEventDTO {
25
25
  export declare const WorkflowEventDTOTypeEnum: {
26
26
  readonly Started: "STARTED";
27
27
  readonly Transitioned: "TRANSITIONED";
28
+ readonly Reviewed: "REVIEWED";
28
29
  readonly ActionApplied: "ACTION_APPLIED";
29
30
  readonly ActionFailed: "ACTION_FAILED";
30
31
  readonly Reassigned: "REASSIGNED";
@@ -14,6 +14,7 @@
14
14
  export const WorkflowEventDTOTypeEnum = {
15
15
  Started: 'STARTED',
16
16
  Transitioned: 'TRANSITIONED',
17
+ Reviewed: 'REVIEWED',
17
18
  ActionApplied: 'ACTION_APPLIED',
18
19
  ActionFailed: 'ACTION_FAILED',
19
20
  Reassigned: 'REASSIGNED',
@@ -0,0 +1,27 @@
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 { Vote } from './vote';
13
+ export interface WorkflowReviewProgressDTO {
14
+ 'rule'?: WorkflowReviewProgressDTORuleEnum;
15
+ 'quorum'?: number;
16
+ 'approveTransition'?: string;
17
+ 'total'?: number;
18
+ 'approvals'?: number;
19
+ 'votes'?: Array<Vote>;
20
+ 'pending'?: Array<string>;
21
+ }
22
+ export declare const WorkflowReviewProgressDTORuleEnum: {
23
+ readonly All: "ALL";
24
+ readonly FirstRejection: "FIRST_REJECTION";
25
+ readonly Quorum: "QUORUM";
26
+ };
27
+ export type WorkflowReviewProgressDTORuleEnum = typeof WorkflowReviewProgressDTORuleEnum[keyof typeof WorkflowReviewProgressDTORuleEnum];
@@ -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 WorkflowReviewProgressDTORuleEnum = {
15
+ All: 'ALL',
16
+ FirstRejection: 'FIRST_REJECTION',
17
+ Quorum: 'QUORUM',
18
+ };
@@ -0,0 +1,22 @@
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 WorkflowReview {
13
+ 'rule'?: WorkflowReviewRuleEnum;
14
+ 'quorum'?: number;
15
+ 'approveTransition'?: string;
16
+ }
17
+ export declare const WorkflowReviewRuleEnum: {
18
+ readonly All: "ALL";
19
+ readonly FirstRejection: "FIRST_REJECTION";
20
+ readonly Quorum: "QUORUM";
21
+ };
22
+ export type WorkflowReviewRuleEnum = typeof WorkflowReviewRuleEnum[keyof typeof WorkflowReviewRuleEnum];
@@ -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 WorkflowReviewRuleEnum = {
15
+ All: 'ALL',
16
+ FirstRejection: 'FIRST_REJECTION',
17
+ Quorum: 'QUORUM',
18
+ };
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { WorkflowAction } from './workflow-action';
13
13
  import type { WorkflowAssignment } from './workflow-assignment';
14
+ import type { WorkflowReview } from './workflow-review';
14
15
  import type { WorkflowTransition } from './workflow-transition';
15
16
  export interface WorkflowState {
16
17
  'key'?: string;
@@ -21,6 +22,7 @@ export interface WorkflowState {
21
22
  'dueInDays'?: number;
22
23
  'transitions'?: Array<WorkflowTransition>;
23
24
  'onEnter'?: Array<WorkflowAction>;
25
+ 'review'?: WorkflowReview;
24
26
  'end'?: boolean;
25
27
  }
26
28
  export declare const WorkflowStateKindEnum: {
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { WorkflowReviewProgressDTO } from './workflow-review-progress-dto';
12
13
  import type { WorkflowTransition } from './workflow-transition';
13
14
  export interface WorkflowTaskDTO {
14
15
  'id'?: string;
@@ -35,6 +36,7 @@ export interface WorkflowTaskDTO {
35
36
  'previousComment'?: string;
36
37
  'previousActor'?: string;
37
38
  'mine'?: boolean;
39
+ 'review'?: WorkflowReviewProgressDTO;
38
40
  }
39
41
  export declare const WorkflowTaskDTOStatusEnum: {
40
42
  readonly Open: "OPEN";
@@ -52,6 +52,7 @@ export declare const EnrichedAuditLogActionEnum: {
52
52
  readonly PdfTransform: "PDF_TRANSFORM";
53
53
  readonly WorkflowStarted: "WORKFLOW_STARTED";
54
54
  readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
55
+ readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
55
56
  readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
56
57
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
57
58
  readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
@@ -41,6 +41,7 @@ exports.EnrichedAuditLogActionEnum = {
41
41
  PdfTransform: 'PDF_TRANSFORM',
42
42
  WorkflowStarted: 'WORKFLOW_STARTED',
43
43
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
44
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
44
45
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
45
46
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
46
47
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
@@ -183,6 +183,7 @@ export * from './user-preferences-request';
183
183
  export * from './user-privacy-dto';
184
184
  export * from './user-registration-request';
185
185
  export * from './verify-otp-request';
186
+ export * from './vote';
186
187
  export * from './workflow-action';
187
188
  export * from './workflow-action-failure-audit';
188
189
  export * from './workflow-assignment';
@@ -193,6 +194,8 @@ export * from './workflow-instance-dto';
193
194
  export * from './workflow-instance-detail-dto';
194
195
  export * from './workflow-instance-page';
195
196
  export * from './workflow-problem';
197
+ export * from './workflow-review';
198
+ export * from './workflow-review-progress-dto';
196
199
  export * from './workflow-spec';
197
200
  export * from './workflow-state';
198
201
  export * from './workflow-summary-dto';
@@ -199,6 +199,7 @@ __exportStar(require("./user-preferences-request"), exports);
199
199
  __exportStar(require("./user-privacy-dto"), exports);
200
200
  __exportStar(require("./user-registration-request"), exports);
201
201
  __exportStar(require("./verify-otp-request"), exports);
202
+ __exportStar(require("./vote"), exports);
202
203
  __exportStar(require("./workflow-action"), exports);
203
204
  __exportStar(require("./workflow-action-failure-audit"), exports);
204
205
  __exportStar(require("./workflow-assignment"), exports);
@@ -209,6 +210,8 @@ __exportStar(require("./workflow-instance-dto"), exports);
209
210
  __exportStar(require("./workflow-instance-detail-dto"), exports);
210
211
  __exportStar(require("./workflow-instance-page"), exports);
211
212
  __exportStar(require("./workflow-problem"), exports);
213
+ __exportStar(require("./workflow-review"), exports);
214
+ __exportStar(require("./workflow-review-progress-dto"), exports);
212
215
  __exportStar(require("./workflow-spec"), exports);
213
216
  __exportStar(require("./workflow-state"), exports);
214
217
  __exportStar(require("./workflow-summary-dto"), exports);
@@ -68,6 +68,7 @@ export declare const SearchByAuditLogRequestActionEnum: {
68
68
  readonly PdfTransform: "PDF_TRANSFORM";
69
69
  readonly WorkflowStarted: "WORKFLOW_STARTED";
70
70
  readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
71
+ readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
71
72
  readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
72
73
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
73
74
  readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
@@ -45,6 +45,7 @@ exports.SearchByAuditLogRequestActionEnum = {
45
45
  PdfTransform: 'PDF_TRANSFORM',
46
46
  WorkflowStarted: 'WORKFLOW_STARTED',
47
47
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
48
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
48
49
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
49
50
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
50
51
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
@@ -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 Vote {
13
+ 'reviewer'?: string;
14
+ 'transitionKey'?: string;
15
+ 'comment'?: string;
16
+ 'at'?: 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 });
@@ -25,6 +25,7 @@ export interface WorkflowEventDTO {
25
25
  export declare const WorkflowEventDTOTypeEnum: {
26
26
  readonly Started: "STARTED";
27
27
  readonly Transitioned: "TRANSITIONED";
28
+ readonly Reviewed: "REVIEWED";
28
29
  readonly ActionApplied: "ACTION_APPLIED";
29
30
  readonly ActionFailed: "ACTION_FAILED";
30
31
  readonly Reassigned: "REASSIGNED";
@@ -17,6 +17,7 @@ exports.WorkflowEventDTOTypeEnum = void 0;
17
17
  exports.WorkflowEventDTOTypeEnum = {
18
18
  Started: 'STARTED',
19
19
  Transitioned: 'TRANSITIONED',
20
+ Reviewed: 'REVIEWED',
20
21
  ActionApplied: 'ACTION_APPLIED',
21
22
  ActionFailed: 'ACTION_FAILED',
22
23
  Reassigned: 'REASSIGNED',
@@ -0,0 +1,27 @@
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 { Vote } from './vote';
13
+ export interface WorkflowReviewProgressDTO {
14
+ 'rule'?: WorkflowReviewProgressDTORuleEnum;
15
+ 'quorum'?: number;
16
+ 'approveTransition'?: string;
17
+ 'total'?: number;
18
+ 'approvals'?: number;
19
+ 'votes'?: Array<Vote>;
20
+ 'pending'?: Array<string>;
21
+ }
22
+ export declare const WorkflowReviewProgressDTORuleEnum: {
23
+ readonly All: "ALL";
24
+ readonly FirstRejection: "FIRST_REJECTION";
25
+ readonly Quorum: "QUORUM";
26
+ };
27
+ export type WorkflowReviewProgressDTORuleEnum = typeof WorkflowReviewProgressDTORuleEnum[keyof typeof WorkflowReviewProgressDTORuleEnum];
@@ -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.WorkflowReviewProgressDTORuleEnum = void 0;
17
+ exports.WorkflowReviewProgressDTORuleEnum = {
18
+ All: 'ALL',
19
+ FirstRejection: 'FIRST_REJECTION',
20
+ Quorum: 'QUORUM',
21
+ };
@@ -0,0 +1,22 @@
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 WorkflowReview {
13
+ 'rule'?: WorkflowReviewRuleEnum;
14
+ 'quorum'?: number;
15
+ 'approveTransition'?: string;
16
+ }
17
+ export declare const WorkflowReviewRuleEnum: {
18
+ readonly All: "ALL";
19
+ readonly FirstRejection: "FIRST_REJECTION";
20
+ readonly Quorum: "QUORUM";
21
+ };
22
+ export type WorkflowReviewRuleEnum = typeof WorkflowReviewRuleEnum[keyof typeof WorkflowReviewRuleEnum];
@@ -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.WorkflowReviewRuleEnum = void 0;
17
+ exports.WorkflowReviewRuleEnum = {
18
+ All: 'ALL',
19
+ FirstRejection: 'FIRST_REJECTION',
20
+ Quorum: 'QUORUM',
21
+ };
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { WorkflowAction } from './workflow-action';
13
13
  import type { WorkflowAssignment } from './workflow-assignment';
14
+ import type { WorkflowReview } from './workflow-review';
14
15
  import type { WorkflowTransition } from './workflow-transition';
15
16
  export interface WorkflowState {
16
17
  'key'?: string;
@@ -21,6 +22,7 @@ export interface WorkflowState {
21
22
  'dueInDays'?: number;
22
23
  'transitions'?: Array<WorkflowTransition>;
23
24
  'onEnter'?: Array<WorkflowAction>;
25
+ 'review'?: WorkflowReview;
24
26
  'end'?: boolean;
25
27
  }
26
28
  export declare const WorkflowStateKindEnum: {
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { WorkflowReviewProgressDTO } from './workflow-review-progress-dto';
12
13
  import type { WorkflowTransition } from './workflow-transition';
13
14
  export interface WorkflowTaskDTO {
14
15
  'id'?: string;
@@ -35,6 +36,7 @@ export interface WorkflowTaskDTO {
35
36
  'previousComment'?: string;
36
37
  'previousActor'?: string;
37
38
  'mine'?: boolean;
39
+ 'review'?: WorkflowReviewProgressDTO;
38
40
  }
39
41
  export declare const WorkflowTaskDTOStatusEnum: {
40
42
  readonly Open: "OPEN";
package/docs/Vote.md ADDED
@@ -0,0 +1,26 @@
1
+ # Vote
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **reviewer** | **string** | | [optional] [default to undefined]
9
+ **transitionKey** | **string** | | [optional] [default to undefined]
10
+ **comment** | **string** | | [optional] [default to undefined]
11
+ **at** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { Vote } from '@openfilz-sdk/typescript-ee';
17
+
18
+ const instance: Vote = {
19
+ reviewer,
20
+ transitionKey,
21
+ comment,
22
+ at,
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,24 @@
1
+ # WorkflowReview
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **rule** | **string** | | [optional] [default to undefined]
9
+ **quorum** | **number** | | [optional] [default to undefined]
10
+ **approveTransition** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { WorkflowReview } from '@openfilz-sdk/typescript-ee';
16
+
17
+ const instance: WorkflowReview = {
18
+ rule,
19
+ quorum,
20
+ approveTransition,
21
+ };
22
+ ```
23
+
24
+ [[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,32 @@
1
+ # WorkflowReviewProgressDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **rule** | **string** | | [optional] [default to undefined]
9
+ **quorum** | **number** | | [optional] [default to undefined]
10
+ **approveTransition** | **string** | | [optional] [default to undefined]
11
+ **total** | **number** | | [optional] [default to undefined]
12
+ **approvals** | **number** | | [optional] [default to undefined]
13
+ **votes** | [**Array&lt;Vote&gt;**](Vote.md) | | [optional] [default to undefined]
14
+ **pending** | **Array&lt;string&gt;** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { WorkflowReviewProgressDTO } from '@openfilz-sdk/typescript-ee';
20
+
21
+ const instance: WorkflowReviewProgressDTO = {
22
+ rule,
23
+ quorum,
24
+ approveTransition,
25
+ total,
26
+ approvals,
27
+ votes,
28
+ pending,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **dueInDays** | **number** | | [optional] [default to undefined]
14
14
  **transitions** | [**Array&lt;WorkflowTransition&gt;**](WorkflowTransition.md) | | [optional] [default to undefined]
15
15
  **onEnter** | [**Array&lt;WorkflowAction&gt;**](WorkflowAction.md) | | [optional] [default to undefined]
16
+ **review** | [**WorkflowReview**](WorkflowReview.md) | | [optional] [default to undefined]
16
17
  **end** | **boolean** | | [optional] [default to undefined]
17
18
 
18
19
  ## Example
@@ -29,6 +30,7 @@ const instance: WorkflowState = {
29
30
  dueInDays,
30
31
  transitions,
31
32
  onEnter,
33
+ review,
32
34
  end,
33
35
  };
34
36
  ```
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
29
29
  **previousComment** | **string** | | [optional] [default to undefined]
30
30
  **previousActor** | **string** | | [optional] [default to undefined]
31
31
  **mine** | **boolean** | | [optional] [default to undefined]
32
+ **review** | [**WorkflowReviewProgressDTO**](WorkflowReviewProgressDTO.md) | | [optional] [default to undefined]
32
33
 
33
34
  ## Example
34
35
 
@@ -60,6 +61,7 @@ const instance: WorkflowTaskDTO = {
60
61
  previousComment,
61
62
  previousActor,
62
63
  mine,
64
+ review,
63
65
  };
64
66
  ```
65
67
 
@@ -60,6 +60,7 @@ export const EnrichedAuditLogActionEnum = {
60
60
  PdfTransform: 'PDF_TRANSFORM',
61
61
  WorkflowStarted: 'WORKFLOW_STARTED',
62
62
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
63
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
63
64
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
64
65
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
65
66
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
package/models/index.ts CHANGED
@@ -183,6 +183,7 @@ export * from './user-preferences-request';
183
183
  export * from './user-privacy-dto';
184
184
  export * from './user-registration-request';
185
185
  export * from './verify-otp-request';
186
+ export * from './vote';
186
187
  export * from './workflow-action';
187
188
  export * from './workflow-action-failure-audit';
188
189
  export * from './workflow-assignment';
@@ -193,6 +194,8 @@ export * from './workflow-instance-dto';
193
194
  export * from './workflow-instance-detail-dto';
194
195
  export * from './workflow-instance-page';
195
196
  export * from './workflow-problem';
197
+ export * from './workflow-review';
198
+ export * from './workflow-review-progress-dto';
196
199
  export * from './workflow-spec';
197
200
  export * from './workflow-state';
198
201
  export * from './workflow-summary-dto';
@@ -73,6 +73,7 @@ export const SearchByAuditLogRequestActionEnum = {
73
73
  PdfTransform: 'PDF_TRANSFORM',
74
74
  WorkflowStarted: 'WORKFLOW_STARTED',
75
75
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
76
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
76
77
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
77
78
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
78
79
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
package/models/vote.ts ADDED
@@ -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
+
15
+
16
+
17
+ export interface Vote {
18
+ 'reviewer'?: string;
19
+ 'transitionKey'?: string;
20
+ 'comment'?: string;
21
+ 'at'?: string;
22
+ }
23
+
@@ -29,6 +29,7 @@ export interface WorkflowEventDTO {
29
29
  export const WorkflowEventDTOTypeEnum = {
30
30
  Started: 'STARTED',
31
31
  Transitioned: 'TRANSITIONED',
32
+ Reviewed: 'REVIEWED',
32
33
  ActionApplied: 'ACTION_APPLIED',
33
34
  ActionFailed: 'ACTION_FAILED',
34
35
  Reassigned: 'REASSIGNED',
@@ -0,0 +1,38 @@
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
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { Vote } from './vote';
19
+
20
+ export interface WorkflowReviewProgressDTO {
21
+ 'rule'?: WorkflowReviewProgressDTORuleEnum;
22
+ 'quorum'?: number;
23
+ 'approveTransition'?: string;
24
+ 'total'?: number;
25
+ 'approvals'?: number;
26
+ 'votes'?: Array<Vote>;
27
+ 'pending'?: Array<string>;
28
+ }
29
+
30
+ export const WorkflowReviewProgressDTORuleEnum = {
31
+ All: 'ALL',
32
+ FirstRejection: 'FIRST_REJECTION',
33
+ Quorum: 'QUORUM',
34
+ } as const;
35
+
36
+ export type WorkflowReviewProgressDTORuleEnum = typeof WorkflowReviewProgressDTORuleEnum[keyof typeof WorkflowReviewProgressDTORuleEnum];
37
+
38
+
@@ -0,0 +1,31 @@
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
+
15
+
16
+
17
+ export interface WorkflowReview {
18
+ 'rule'?: WorkflowReviewRuleEnum;
19
+ 'quorum'?: number;
20
+ 'approveTransition'?: string;
21
+ }
22
+
23
+ export const WorkflowReviewRuleEnum = {
24
+ All: 'ALL',
25
+ FirstRejection: 'FIRST_REJECTION',
26
+ Quorum: 'QUORUM',
27
+ } as const;
28
+
29
+ export type WorkflowReviewRuleEnum = typeof WorkflowReviewRuleEnum[keyof typeof WorkflowReviewRuleEnum];
30
+
31
+
@@ -21,6 +21,9 @@ import type { WorkflowAction } from './workflow-action';
21
21
  import type { WorkflowAssignment } from './workflow-assignment';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
+ import type { WorkflowReview } from './workflow-review';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
24
27
  import type { WorkflowTransition } from './workflow-transition';
25
28
 
26
29
  export interface WorkflowState {
@@ -32,6 +35,7 @@ export interface WorkflowState {
32
35
  'dueInDays'?: number;
33
36
  'transitions'?: Array<WorkflowTransition>;
34
37
  'onEnter'?: Array<WorkflowAction>;
38
+ 'review'?: WorkflowReview;
35
39
  'end'?: boolean;
36
40
  }
37
41
 
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { WorkflowReviewProgressDTO } from './workflow-review-progress-dto';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import type { WorkflowTransition } from './workflow-transition';
@@ -42,6 +45,7 @@ export interface WorkflowTaskDTO {
42
45
  'previousComment'?: string;
43
46
  'previousActor'?: string;
44
47
  'mine'?: boolean;
48
+ 'review'?: WorkflowReviewProgressDTO;
45
49
  }
46
50
 
47
51
  export const WorkflowTaskDTOStatusEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfilz-sdk/typescript-ee",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "description": "OpenAPI client for @openfilz-sdk/typescript-ee",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {