@openfilz-sdk/typescript 1.3.22 → 1.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +5 -2
- package/dist/esm/models/audit-log.d.ts +1 -0
- package/dist/esm/models/audit-log.js +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +1 -0
- package/dist/esm/models/search-by-audit-log-request.js +1 -0
- package/dist/esm/models/vote.d.ts +17 -0
- package/dist/esm/models/vote.js +14 -0
- package/dist/esm/models/workflow-event-dto.d.ts +1 -0
- package/dist/esm/models/workflow-event-dto.js +1 -0
- package/dist/esm/models/workflow-review-progress-dto.d.ts +27 -0
- package/dist/esm/models/workflow-review-progress-dto.js +18 -0
- package/dist/esm/models/workflow-review.d.ts +22 -0
- package/dist/esm/models/workflow-review.js +18 -0
- package/dist/esm/models/workflow-state.d.ts +2 -0
- package/dist/esm/models/workflow-task-dto.d.ts +2 -0
- package/dist/models/audit-log.d.ts +1 -0
- package/dist/models/audit-log.js +1 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/search-by-audit-log-request.d.ts +1 -0
- package/dist/models/search-by-audit-log-request.js +1 -0
- package/dist/models/vote.d.ts +17 -0
- package/dist/models/vote.js +15 -0
- package/dist/models/workflow-event-dto.d.ts +1 -0
- package/dist/models/workflow-event-dto.js +1 -0
- package/dist/models/workflow-review-progress-dto.d.ts +27 -0
- package/dist/models/workflow-review-progress-dto.js +21 -0
- package/dist/models/workflow-review.d.ts +22 -0
- package/dist/models/workflow-review.js +21 -0
- package/dist/models/workflow-state.d.ts +2 -0
- package/dist/models/workflow-task-dto.d.ts +2 -0
- package/docs/Vote.md +26 -0
- package/docs/WorkflowReview.md +24 -0
- package/docs/WorkflowReviewProgressDTO.md +32 -0
- package/docs/WorkflowState.md +2 -0
- package/docs/WorkflowTaskDTO.md +2 -0
- package/models/audit-log.ts +1 -0
- package/models/index.ts +3 -0
- package/models/search-by-audit-log-request.ts +1 -0
- package/models/vote.ts +23 -0
- package/models/workflow-event-dto.ts +1 -0
- package/models/workflow-review-progress-dto.ts +38 -0
- package/models/workflow-review.ts +31 -0
- package/models/workflow-state.ts +4 -0
- package/models/workflow-task-dto.ts +4 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -166,6 +166,7 @@ docs/UpdateMetadataRequest.md
|
|
|
166
166
|
docs/UploadAudit.md
|
|
167
167
|
docs/UploadResponse.md
|
|
168
168
|
docs/VerifyOtpRequest.md
|
|
169
|
+
docs/Vote.md
|
|
169
170
|
docs/WorkflowAction.md
|
|
170
171
|
docs/WorkflowActionFailureAudit.md
|
|
171
172
|
docs/WorkflowAssignment.md
|
|
@@ -176,6 +177,8 @@ docs/WorkflowInstanceDTO.md
|
|
|
176
177
|
docs/WorkflowInstanceDetailDTO.md
|
|
177
178
|
docs/WorkflowInstancePage.md
|
|
178
179
|
docs/WorkflowProblem.md
|
|
180
|
+
docs/WorkflowReview.md
|
|
181
|
+
docs/WorkflowReviewProgressDTO.md
|
|
179
182
|
docs/WorkflowSpec.md
|
|
180
183
|
docs/WorkflowState.md
|
|
181
184
|
docs/WorkflowSummaryDTO.md
|
|
@@ -305,6 +308,7 @@ models/update-metadata-request.ts
|
|
|
305
308
|
models/upload-audit.ts
|
|
306
309
|
models/upload-response.ts
|
|
307
310
|
models/verify-otp-request.ts
|
|
311
|
+
models/vote.ts
|
|
308
312
|
models/workflow-action-failure-audit.ts
|
|
309
313
|
models/workflow-action.ts
|
|
310
314
|
models/workflow-assignment.ts
|
|
@@ -315,6 +319,8 @@ models/workflow-instance-detail-dto.ts
|
|
|
315
319
|
models/workflow-instance-dto.ts
|
|
316
320
|
models/workflow-instance-page.ts
|
|
317
321
|
models/workflow-problem.ts
|
|
322
|
+
models/workflow-review-progress-dto.ts
|
|
323
|
+
models/workflow-review.ts
|
|
318
324
|
models/workflow-spec.ts
|
|
319
325
|
models/workflow-state.ts
|
|
320
326
|
models/workflow-summary-dto.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b89a6b2f79b8b0f8622ce0aa1aebecb0d115fe3714c8d6e3141d1127f12a0af8
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript@1.3.
|
|
1
|
+
## @openfilz-sdk/typescript@1.3.23
|
|
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@1.3.
|
|
39
|
+
npm install @openfilz-sdk/typescript@1.3.23 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -298,6 +298,7 @@ Class | Method | HTTP request | Description
|
|
|
298
298
|
- [UploadAudit](docs/UploadAudit.md)
|
|
299
299
|
- [UploadResponse](docs/UploadResponse.md)
|
|
300
300
|
- [VerifyOtpRequest](docs/VerifyOtpRequest.md)
|
|
301
|
+
- [Vote](docs/Vote.md)
|
|
301
302
|
- [WorkflowAction](docs/WorkflowAction.md)
|
|
302
303
|
- [WorkflowActionFailureAudit](docs/WorkflowActionFailureAudit.md)
|
|
303
304
|
- [WorkflowAssignment](docs/WorkflowAssignment.md)
|
|
@@ -308,6 +309,8 @@ Class | Method | HTTP request | Description
|
|
|
308
309
|
- [WorkflowInstanceDetailDTO](docs/WorkflowInstanceDetailDTO.md)
|
|
309
310
|
- [WorkflowInstancePage](docs/WorkflowInstancePage.md)
|
|
310
311
|
- [WorkflowProblem](docs/WorkflowProblem.md)
|
|
312
|
+
- [WorkflowReview](docs/WorkflowReview.md)
|
|
313
|
+
- [WorkflowReviewProgressDTO](docs/WorkflowReviewProgressDTO.md)
|
|
311
314
|
- [WorkflowSpec](docs/WorkflowSpec.md)
|
|
312
315
|
- [WorkflowState](docs/WorkflowState.md)
|
|
313
316
|
- [WorkflowSummaryDTO](docs/WorkflowSummaryDTO.md)
|
|
@@ -60,6 +60,7 @@ export declare const AuditLogActionEnum: {
|
|
|
60
60
|
readonly PdfTransform: "PDF_TRANSFORM";
|
|
61
61
|
readonly WorkflowStarted: "WORKFLOW_STARTED";
|
|
62
62
|
readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
|
|
63
|
+
readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
|
|
63
64
|
readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
|
|
64
65
|
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
65
66
|
readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
|
|
@@ -48,6 +48,7 @@ export const AuditLogActionEnum = {
|
|
|
48
48
|
PdfTransform: 'PDF_TRANSFORM',
|
|
49
49
|
WorkflowStarted: 'WORKFLOW_STARTED',
|
|
50
50
|
WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
|
|
51
|
+
WorkflowReviewed: 'WORKFLOW_REVIEWED',
|
|
51
52
|
WorkflowCompleted: 'WORKFLOW_COMPLETED',
|
|
52
53
|
WorkflowCancelled: 'WORKFLOW_CANCELLED',
|
|
53
54
|
WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
|
|
@@ -117,6 +117,7 @@ export * from './update-metadata-request';
|
|
|
117
117
|
export * from './upload-audit';
|
|
118
118
|
export * from './upload-response';
|
|
119
119
|
export * from './verify-otp-request';
|
|
120
|
+
export * from './vote';
|
|
120
121
|
export * from './workflow-action';
|
|
121
122
|
export * from './workflow-action-failure-audit';
|
|
122
123
|
export * from './workflow-assignment';
|
|
@@ -127,6 +128,8 @@ export * from './workflow-instance-dto';
|
|
|
127
128
|
export * from './workflow-instance-detail-dto';
|
|
128
129
|
export * from './workflow-instance-page';
|
|
129
130
|
export * from './workflow-problem';
|
|
131
|
+
export * from './workflow-review';
|
|
132
|
+
export * from './workflow-review-progress-dto';
|
|
130
133
|
export * from './workflow-spec';
|
|
131
134
|
export * from './workflow-state';
|
|
132
135
|
export * from './workflow-summary-dto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -117,6 +117,7 @@ export * from './update-metadata-request';
|
|
|
117
117
|
export * from './upload-audit';
|
|
118
118
|
export * from './upload-response';
|
|
119
119
|
export * from './verify-otp-request';
|
|
120
|
+
export * from './vote';
|
|
120
121
|
export * from './workflow-action';
|
|
121
122
|
export * from './workflow-action-failure-audit';
|
|
122
123
|
export * from './workflow-assignment';
|
|
@@ -127,6 +128,8 @@ export * from './workflow-instance-dto';
|
|
|
127
128
|
export * from './workflow-instance-detail-dto';
|
|
128
129
|
export * from './workflow-instance-page';
|
|
129
130
|
export * from './workflow-problem';
|
|
131
|
+
export * from './workflow-review';
|
|
132
|
+
export * from './workflow-review-progress-dto';
|
|
130
133
|
export * from './workflow-spec';
|
|
131
134
|
export * from './workflow-state';
|
|
132
135
|
export * from './workflow-summary-dto';
|
|
@@ -78,6 +78,7 @@ export declare const SearchByAuditLogRequestActionEnum: {
|
|
|
78
78
|
readonly PdfTransform: "PDF_TRANSFORM";
|
|
79
79
|
readonly WorkflowStarted: "WORKFLOW_STARTED";
|
|
80
80
|
readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
|
|
81
|
+
readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
|
|
81
82
|
readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
|
|
82
83
|
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
83
84
|
readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
|
|
@@ -52,6 +52,7 @@ export const SearchByAuditLogRequestActionEnum = {
|
|
|
52
52
|
PdfTransform: 'PDF_TRANSFORM',
|
|
53
53
|
WorkflowStarted: 'WORKFLOW_STARTED',
|
|
54
54
|
WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
|
|
55
|
+
WorkflowReviewed: 'WORKFLOW_REVIEWED',
|
|
55
56
|
WorkflowCompleted: 'WORKFLOW_COMPLETED',
|
|
56
57
|
WorkflowCancelled: 'WORKFLOW_CANCELLED',
|
|
57
58
|
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";
|
|
@@ -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";
|
|
@@ -60,6 +60,7 @@ export declare const AuditLogActionEnum: {
|
|
|
60
60
|
readonly PdfTransform: "PDF_TRANSFORM";
|
|
61
61
|
readonly WorkflowStarted: "WORKFLOW_STARTED";
|
|
62
62
|
readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
|
|
63
|
+
readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
|
|
63
64
|
readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
|
|
64
65
|
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
65
66
|
readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
|
package/dist/models/audit-log.js
CHANGED
|
@@ -51,6 +51,7 @@ exports.AuditLogActionEnum = {
|
|
|
51
51
|
PdfTransform: 'PDF_TRANSFORM',
|
|
52
52
|
WorkflowStarted: 'WORKFLOW_STARTED',
|
|
53
53
|
WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
|
|
54
|
+
WorkflowReviewed: 'WORKFLOW_REVIEWED',
|
|
54
55
|
WorkflowCompleted: 'WORKFLOW_COMPLETED',
|
|
55
56
|
WorkflowCancelled: 'WORKFLOW_CANCELLED',
|
|
56
57
|
WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
|
package/dist/models/index.d.ts
CHANGED
|
@@ -117,6 +117,7 @@ export * from './update-metadata-request';
|
|
|
117
117
|
export * from './upload-audit';
|
|
118
118
|
export * from './upload-response';
|
|
119
119
|
export * from './verify-otp-request';
|
|
120
|
+
export * from './vote';
|
|
120
121
|
export * from './workflow-action';
|
|
121
122
|
export * from './workflow-action-failure-audit';
|
|
122
123
|
export * from './workflow-assignment';
|
|
@@ -127,6 +128,8 @@ export * from './workflow-instance-dto';
|
|
|
127
128
|
export * from './workflow-instance-detail-dto';
|
|
128
129
|
export * from './workflow-instance-page';
|
|
129
130
|
export * from './workflow-problem';
|
|
131
|
+
export * from './workflow-review';
|
|
132
|
+
export * from './workflow-review-progress-dto';
|
|
130
133
|
export * from './workflow-spec';
|
|
131
134
|
export * from './workflow-state';
|
|
132
135
|
export * from './workflow-summary-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -133,6 +133,7 @@ __exportStar(require("./update-metadata-request"), exports);
|
|
|
133
133
|
__exportStar(require("./upload-audit"), exports);
|
|
134
134
|
__exportStar(require("./upload-response"), exports);
|
|
135
135
|
__exportStar(require("./verify-otp-request"), exports);
|
|
136
|
+
__exportStar(require("./vote"), exports);
|
|
136
137
|
__exportStar(require("./workflow-action"), exports);
|
|
137
138
|
__exportStar(require("./workflow-action-failure-audit"), exports);
|
|
138
139
|
__exportStar(require("./workflow-assignment"), exports);
|
|
@@ -143,6 +144,8 @@ __exportStar(require("./workflow-instance-dto"), exports);
|
|
|
143
144
|
__exportStar(require("./workflow-instance-detail-dto"), exports);
|
|
144
145
|
__exportStar(require("./workflow-instance-page"), exports);
|
|
145
146
|
__exportStar(require("./workflow-problem"), exports);
|
|
147
|
+
__exportStar(require("./workflow-review"), exports);
|
|
148
|
+
__exportStar(require("./workflow-review-progress-dto"), exports);
|
|
146
149
|
__exportStar(require("./workflow-spec"), exports);
|
|
147
150
|
__exportStar(require("./workflow-state"), exports);
|
|
148
151
|
__exportStar(require("./workflow-summary-dto"), exports);
|
|
@@ -78,6 +78,7 @@ export declare const SearchByAuditLogRequestActionEnum: {
|
|
|
78
78
|
readonly PdfTransform: "PDF_TRANSFORM";
|
|
79
79
|
readonly WorkflowStarted: "WORKFLOW_STARTED";
|
|
80
80
|
readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
|
|
81
|
+
readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
|
|
81
82
|
readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
|
|
82
83
|
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
83
84
|
readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
|
|
@@ -55,6 +55,7 @@ exports.SearchByAuditLogRequestActionEnum = {
|
|
|
55
55
|
PdfTransform: 'PDF_TRANSFORM',
|
|
56
56
|
WorkflowStarted: 'WORKFLOW_STARTED',
|
|
57
57
|
WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
|
|
58
|
+
WorkflowReviewed: 'WORKFLOW_REVIEWED',
|
|
58
59
|
WorkflowCompleted: 'WORKFLOW_COMPLETED',
|
|
59
60
|
WorkflowCancelled: 'WORKFLOW_CANCELLED',
|
|
60
61
|
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';
|
|
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';
|
|
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<Vote>**](Vote.md) | | [optional] [default to undefined]
|
|
14
|
+
**pending** | **Array<string>** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { WorkflowReviewProgressDTO } from '@openfilz-sdk/typescript';
|
|
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)
|
package/docs/WorkflowState.md
CHANGED
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**dueInDays** | **number** | | [optional] [default to undefined]
|
|
14
14
|
**transitions** | [**Array<WorkflowTransition>**](WorkflowTransition.md) | | [optional] [default to undefined]
|
|
15
15
|
**onEnter** | [**Array<WorkflowAction>**](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
|
```
|
package/docs/WorkflowTaskDTO.md
CHANGED
|
@@ -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
|
|
package/models/audit-log.ts
CHANGED
|
@@ -68,6 +68,7 @@ export const AuditLogActionEnum = {
|
|
|
68
68
|
PdfTransform: 'PDF_TRANSFORM',
|
|
69
69
|
WorkflowStarted: 'WORKFLOW_STARTED',
|
|
70
70
|
WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
|
|
71
|
+
WorkflowReviewed: 'WORKFLOW_REVIEWED',
|
|
71
72
|
WorkflowCompleted: 'WORKFLOW_COMPLETED',
|
|
72
73
|
WorkflowCancelled: 'WORKFLOW_CANCELLED',
|
|
73
74
|
WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
|
package/models/index.ts
CHANGED
|
@@ -117,6 +117,7 @@ export * from './update-metadata-request';
|
|
|
117
117
|
export * from './upload-audit';
|
|
118
118
|
export * from './upload-response';
|
|
119
119
|
export * from './verify-otp-request';
|
|
120
|
+
export * from './vote';
|
|
120
121
|
export * from './workflow-action';
|
|
121
122
|
export * from './workflow-action-failure-audit';
|
|
122
123
|
export * from './workflow-assignment';
|
|
@@ -127,6 +128,8 @@ export * from './workflow-instance-dto';
|
|
|
127
128
|
export * from './workflow-instance-detail-dto';
|
|
128
129
|
export * from './workflow-instance-page';
|
|
129
130
|
export * from './workflow-problem';
|
|
131
|
+
export * from './workflow-review';
|
|
132
|
+
export * from './workflow-review-progress-dto';
|
|
130
133
|
export * from './workflow-spec';
|
|
131
134
|
export * from './workflow-state';
|
|
132
135
|
export * from './workflow-summary-dto';
|
|
@@ -83,6 +83,7 @@ export const SearchByAuditLogRequestActionEnum = {
|
|
|
83
83
|
PdfTransform: 'PDF_TRANSFORM',
|
|
84
84
|
WorkflowStarted: 'WORKFLOW_STARTED',
|
|
85
85
|
WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
|
|
86
|
+
WorkflowReviewed: 'WORKFLOW_REVIEWED',
|
|
86
87
|
WorkflowCompleted: 'WORKFLOW_COMPLETED',
|
|
87
88
|
WorkflowCancelled: 'WORKFLOW_CANCELLED',
|
|
88
89
|
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
|
+
|
|
@@ -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
|
+
|
package/models/workflow-state.ts
CHANGED
|
@@ -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 = {
|