@approvio/api 0.0.1 → 0.0.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.
- package/LICENSE +21 -0
- package/README.md +4 -17
- package/{generated/openapi/model/add-group-entities-request.ts → dist/add-group-entities-request.d.ts} +3 -6
- package/dist/add-group-entities-request.js +3 -0
- package/dist/add-group-entities-request.js.map +1 -0
- package/{generated/openapi/model/and-rule.ts → dist/and-rule.d.ts} +7 -11
- package/dist/and-rule.js +10 -0
- package/dist/and-rule.js.map +1 -0
- package/{generated/openapi/model/api-error-details-inner.ts → dist/api-error-details-inner.d.ts} +3 -6
- package/dist/api-error-details-inner.js +14 -0
- package/dist/api-error-details-inner.js.map +1 -0
- package/{generated/openapi/model/api-error.ts → dist/api-error.d.ts} +3 -6
- package/dist/api-error.js +3 -0
- package/dist/api-error.js.map +1 -0
- package/{generated/openapi/model/approval-rule.ts → dist/approval-rule.d.ts} +4 -7
- package/dist/approval-rule.js +3 -0
- package/dist/approval-rule.js.map +1 -0
- package/{generated/openapi/model/can-vote-response.ts → dist/can-vote-response.d.ts} +4 -7
- package/dist/can-vote-response.js +14 -0
- package/dist/can-vote-response.js.map +1 -0
- package/{generated/openapi/model/entity-membership-add.ts → dist/entity-membership-add.d.ts} +3 -6
- package/dist/entity-membership-add.js +3 -0
- package/dist/entity-membership-add.js.map +1 -0
- package/{generated/openapi/model/entity-membership-remove.ts → dist/entity-membership-remove.d.ts} +3 -6
- package/dist/entity-membership-remove.js +3 -0
- package/dist/entity-membership-remove.js.map +1 -0
- package/{generated/openapi/model/entity-reference.ts → dist/entity-reference.d.ts} +3 -6
- package/dist/entity-reference.js +14 -0
- package/dist/entity-reference.js.map +1 -0
- package/{generated/openapi/model/group-create.ts → dist/group-create.d.ts} +3 -6
- package/dist/group-create.js +14 -0
- package/dist/group-create.js.map +1 -0
- package/{generated/openapi/model/group-membership.ts → dist/group-membership.d.ts} +3 -6
- package/dist/group-membership.js +3 -0
- package/dist/group-membership.js.map +1 -0
- package/{generated/openapi/model/group-requirement-rule.ts → dist/group-requirement-rule.d.ts} +7 -11
- package/dist/group-requirement-rule.js +21 -0
- package/dist/group-requirement-rule.js.map +1 -0
- package/{generated/openapi/model/group.ts → dist/group.d.ts} +3 -6
- package/dist/group.js +14 -0
- package/dist/group.js.map +1 -0
- package/{generated/openapi/model/index.ts → dist/index.d.ts} +4 -2
- package/dist/index.js +50 -0
- package/dist/index.js.map +1 -0
- package/{generated/openapi/model/list-group-entities-200-response.ts → dist/list-group-entities-200-response.d.ts} +3 -6
- package/dist/list-group-entities-200-response.js +3 -0
- package/dist/list-group-entities-200-response.js.map +1 -0
- package/{generated/openapi/model/list-groups-200-response.ts → dist/list-groups-200-response.d.ts} +3 -6
- package/dist/list-groups-200-response.js +3 -0
- package/dist/list-groups-200-response.js.map +1 -0
- package/{generated/openapi/model/list-users-200-response.ts → dist/list-users-200-response.d.ts} +3 -6
- package/dist/list-users-200-response.js +3 -0
- package/dist/list-users-200-response.js.map +1 -0
- package/{generated/openapi/model/list-workflows-200-response.ts → dist/list-workflows-200-response.d.ts} +3 -6
- package/dist/list-workflows-200-response.js +3 -0
- package/dist/list-workflows-200-response.js.map +1 -0
- package/{generated/openapi/model/models.ts → dist/models.d.ts} +4 -1
- package/dist/models.js +47 -0
- package/dist/models.js.map +1 -0
- package/{generated/openapi/model/or-rule.ts → dist/or-rule.d.ts} +7 -11
- package/dist/or-rule.js +10 -0
- package/dist/or-rule.js.map +1 -0
- package/{generated/openapi/model/pagination.ts → dist/pagination.d.ts} +3 -6
- package/dist/pagination.js +14 -0
- package/dist/pagination.js.map +1 -0
- package/{generated/openapi/model/remove-group-entities-request.ts → dist/remove-group-entities-request.d.ts} +3 -6
- package/dist/remove-group-entities-request.js +3 -0
- package/dist/remove-group-entities-request.js.map +1 -0
- package/{generated/openapi/model/user-create.ts → dist/user-create.d.ts} +3 -6
- package/dist/user-create.js +14 -0
- package/dist/user-create.js.map +1 -0
- package/{generated/openapi/model/user-summary.ts → dist/user-summary.d.ts} +3 -6
- package/dist/user-summary.js +14 -0
- package/dist/user-summary.js.map +1 -0
- package/{generated/openapi/model/user.ts → dist/user.d.ts} +3 -6
- package/dist/user.js +14 -0
- package/dist/user.js.map +1 -0
- package/dist/vote-approve.d.ts +27 -0
- package/dist/vote-approve.js +21 -0
- package/dist/vote-approve.js.map +1 -0
- package/{generated/openapi/model/vote-mode.ts → dist/vote-mode.d.ts} +3 -6
- package/dist/vote-mode.js +14 -0
- package/dist/vote-mode.js.map +1 -0
- package/dist/vote-veto.d.ts +23 -0
- package/dist/vote-veto.js +21 -0
- package/dist/vote-veto.js.map +1 -0
- package/dist/vote-withdraw.d.ts +23 -0
- package/dist/vote-withdraw.js +21 -0
- package/dist/vote-withdraw.js.map +1 -0
- package/{generated/openapi/model/workflow-create.ts → dist/workflow-create.d.ts} +3 -6
- package/dist/workflow-create.js +3 -0
- package/dist/workflow-create.js.map +1 -0
- package/dist/workflow-vote-request-vote-type.d.ts +19 -0
- package/dist/workflow-vote-request-vote-type.js +3 -0
- package/dist/workflow-vote-request-vote-type.js.map +1 -0
- package/{generated/openapi/model/workflow-vote-request.ts → dist/workflow-vote-request.d.ts} +6 -13
- package/dist/workflow-vote-request.js +3 -0
- package/dist/workflow-vote-request.js.map +1 -0
- package/{generated/openapi/model/workflow.ts → dist/workflow.d.ts} +3 -6
- package/dist/workflow.js +3 -0
- package/dist/workflow.js.map +1 -0
- package/package.json +11 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Giovanni Baratta
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -36,28 +36,16 @@ yarn lint:api
|
|
|
36
36
|
|
|
37
37
|
To link this package for local development in another project (e.g., `approvio-frontend`):
|
|
38
38
|
|
|
39
|
-
1. Navigate to
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
cd approvio-api
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
2. Run `yarn link` to create a global symlink:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
yarn link
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
3. Navigate to your consuming project (e.g., `approvio-frontend`):
|
|
39
|
+
1. Navigate to your consuming project (e.g., `approvio-frontend`):
|
|
52
40
|
|
|
53
41
|
```bash
|
|
54
42
|
cd ../approvio-frontend
|
|
55
43
|
```
|
|
56
44
|
|
|
57
|
-
|
|
45
|
+
1. Link the `approvio-api` package:
|
|
58
46
|
|
|
59
47
|
```bash
|
|
60
|
-
yarn link
|
|
48
|
+
yarn link "<path-to-approvio-api>"
|
|
61
49
|
```
|
|
62
50
|
|
|
63
51
|
Now, your consuming project will use the locally linked version of `@approvio/api`.
|
|
@@ -72,9 +60,8 @@ To publish this package to an NPM registry:
|
|
|
72
60
|
yarn login
|
|
73
61
|
```
|
|
74
62
|
|
|
75
|
-
|
|
76
63
|
1. Run `yarn publish`:
|
|
77
64
|
|
|
78
65
|
```bash
|
|
79
|
-
yarn publish
|
|
66
|
+
yarn publish --access public
|
|
80
67
|
```
|
|
@@ -2,23 +2,20 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { EntityMembershipAdd } from './entity-membership-add';
|
|
13
|
-
|
|
14
|
-
|
|
15
13
|
/**
|
|
16
14
|
* Defines operations to add entities within a group
|
|
17
15
|
*/
|
|
18
|
-
export interface AddGroupEntitiesRequest {
|
|
16
|
+
export interface AddGroupEntitiesRequest {
|
|
19
17
|
/**
|
|
20
18
|
* List of entities to add to the group.
|
|
21
19
|
*/
|
|
22
20
|
entities: Array<EntityMembershipAdd>;
|
|
23
21
|
}
|
|
24
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-group-entities-request.js","sourceRoot":"","sources":["../generated/openapi/model/add-group-entities-request.ts"],"names":[],"mappings":""}
|
|
@@ -2,20 +2,18 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ApprovalRule } from './approval-rule';
|
|
13
|
-
|
|
14
|
-
|
|
15
13
|
/**
|
|
16
14
|
* An AND rule requiring all nested rules to be satisfied.
|
|
17
15
|
*/
|
|
18
|
-
export interface AndRule {
|
|
16
|
+
export interface AndRule {
|
|
19
17
|
/**
|
|
20
18
|
* Rule type (AND)
|
|
21
19
|
*/
|
|
@@ -25,11 +23,9 @@ export interface AndRule {
|
|
|
25
23
|
*/
|
|
26
24
|
rules: Array<ApprovalRule>;
|
|
27
25
|
}
|
|
28
|
-
export namespace AndRule {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
And:
|
|
26
|
+
export declare namespace AndRule {
|
|
27
|
+
type TypeEnum = 'AND';
|
|
28
|
+
const TypeEnum: {
|
|
29
|
+
And: TypeEnum;
|
|
32
30
|
};
|
|
33
31
|
}
|
|
34
|
-
|
|
35
|
-
|
package/dist/and-rule.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AndRule = void 0;
|
|
4
|
+
var AndRule;
|
|
5
|
+
(function (AndRule) {
|
|
6
|
+
AndRule.TypeEnum = {
|
|
7
|
+
And: 'AND'
|
|
8
|
+
};
|
|
9
|
+
})(AndRule || (exports.AndRule = AndRule = {}));
|
|
10
|
+
//# sourceMappingURL=and-rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"and-rule.js","sourceRoot":"","sources":["../generated/openapi/model/and-rule.ts"],"names":[],"mappings":";;;AA2BA,IAAiB,OAAO,CAKvB;AALD,WAAiB,OAAO;IAEP,gBAAQ,GAAG;QACpB,GAAG,EAAE,KAAiB;KACzB,CAAC;AACN,CAAC,EALgB,OAAO,uBAAP,OAAO,QAKvB"}
|
package/{generated/openapi/model/api-error-details-inner.ts → dist/api-error-details-inner.d.ts}
RENAMED
|
@@ -2,17 +2,14 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface APIErrorDetailsInner {
|
|
12
|
+
export interface APIErrorDetailsInner {
|
|
15
13
|
field?: string;
|
|
16
14
|
message?: string;
|
|
17
15
|
}
|
|
18
|
-
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.3
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=api-error-details-inner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-error-details-inner.js","sourceRoot":"","sources":["../generated/openapi/model/api-error-details-inner.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -2,17 +2,15 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { APIErrorDetailsInner } from './api-error-details-inner';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export interface APIError {
|
|
13
|
+
export interface APIError {
|
|
16
14
|
/**
|
|
17
15
|
* Error code
|
|
18
16
|
*/
|
|
@@ -23,4 +21,3 @@ export interface APIError {
|
|
|
23
21
|
message?: string;
|
|
24
22
|
details?: Array<APIErrorDetailsInner>;
|
|
25
23
|
}
|
|
26
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-error.js","sourceRoot":"","sources":["../generated/openapi/model/api-error.ts"],"names":[],"mappings":""}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -12,15 +12,12 @@
|
|
|
12
12
|
import { AndRule } from './and-rule';
|
|
13
13
|
import { OrRule } from './or-rule';
|
|
14
14
|
import { GroupRequirementRule } from './group-requirement-rule';
|
|
15
|
-
|
|
16
|
-
|
|
17
15
|
/**
|
|
18
|
-
* Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
|
|
16
|
+
* Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
|
|
19
17
|
*/
|
|
20
18
|
/**
|
|
21
19
|
* @type ApprovalRule
|
|
22
|
-
* Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
|
|
20
|
+
* Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
|
|
23
21
|
* @export
|
|
24
22
|
*/
|
|
25
23
|
export type ApprovalRule = AndRule | GroupRequirementRule | OrRule;
|
|
26
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-rule.js","sourceRoot":"","sources":["../generated/openapi/model/approval-rule.ts"],"names":[],"mappings":""}
|
|
@@ -2,23 +2,20 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface CanVoteResponse {
|
|
12
|
+
export interface CanVoteResponse {
|
|
15
13
|
/**
|
|
16
14
|
* True if the authenticated entity can currently vote on the workflow, false otherwise.
|
|
17
15
|
*/
|
|
18
16
|
canVote: boolean;
|
|
19
17
|
/**
|
|
20
|
-
* Indicates the voting status for the user on this workflow.
|
|
18
|
+
* Indicates the voting status for the user on this workflow. Relevant only if \'canVote\' is true or if the user had voting rights previously.
|
|
21
19
|
*/
|
|
22
20
|
voteStatus: string;
|
|
23
21
|
}
|
|
24
|
-
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.3
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=can-vote-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"can-vote-response.js","sourceRoot":"","sources":["../generated/openapi/model/can-vote-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
package/{generated/openapi/model/entity-membership-add.ts → dist/entity-membership-add.d.ts}
RENAMED
|
@@ -2,21 +2,18 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { EntityReference } from './entity-reference';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export interface EntityMembershipAdd {
|
|
13
|
+
export interface EntityMembershipAdd {
|
|
16
14
|
entity: EntityReference;
|
|
17
15
|
/**
|
|
18
16
|
* Role assigned to the entity within the group.
|
|
19
17
|
*/
|
|
20
18
|
role: string;
|
|
21
19
|
}
|
|
22
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-membership-add.js","sourceRoot":"","sources":["../generated/openapi/model/entity-membership-add.ts"],"names":[],"mappings":""}
|
package/{generated/openapi/model/entity-membership-remove.ts → dist/entity-membership-remove.d.ts}
RENAMED
|
@@ -2,17 +2,14 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { EntityReference } from './entity-reference';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export interface EntityMembershipRemove {
|
|
13
|
+
export interface EntityMembershipRemove {
|
|
16
14
|
entity: EntityReference;
|
|
17
15
|
}
|
|
18
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-membership-remove.js","sourceRoot":"","sources":["../generated/openapi/model/entity-membership-remove.ts"],"names":[],"mappings":""}
|
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface EntityReference {
|
|
12
|
+
export interface EntityReference {
|
|
15
13
|
/**
|
|
16
14
|
* The type of the entity being referenced.
|
|
17
15
|
*/
|
|
@@ -21,4 +19,3 @@ export interface EntityReference {
|
|
|
21
19
|
*/
|
|
22
20
|
entityId: string;
|
|
23
21
|
}
|
|
24
|
-
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.3
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=entity-reference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-reference.js","sourceRoot":"","sources":["../generated/openapi/model/entity-reference.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface GroupCreate {
|
|
12
|
+
export interface GroupCreate {
|
|
15
13
|
/**
|
|
16
14
|
* Name of the group
|
|
17
15
|
*/
|
|
@@ -21,4 +19,3 @@ export interface GroupCreate {
|
|
|
21
19
|
*/
|
|
22
20
|
description?: string;
|
|
23
21
|
}
|
|
24
|
-
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.3
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=group-create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group-create.js","sourceRoot":"","sources":["../generated/openapi/model/group-create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -2,17 +2,15 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { EntityReference } from './entity-reference';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export interface GroupMembership {
|
|
13
|
+
export interface GroupMembership {
|
|
16
14
|
entity: EntityReference;
|
|
17
15
|
/**
|
|
18
16
|
* The role of the entity within the group.
|
|
@@ -23,4 +21,3 @@ export interface GroupMembership {
|
|
|
23
21
|
*/
|
|
24
22
|
readonly addedAt: string;
|
|
25
23
|
}
|
|
26
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group-membership.js","sourceRoot":"","sources":["../generated/openapi/model/group-membership.ts"],"names":[],"mappings":""}
|
package/{generated/openapi/model/group-requirement-rule.ts → dist/group-requirement-rule.d.ts}
RENAMED
|
@@ -2,19 +2,17 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
/**
|
|
15
13
|
* Requires a minimum number of approvals from a specific group.
|
|
16
14
|
*/
|
|
17
|
-
export interface GroupRequirementRule {
|
|
15
|
+
export interface GroupRequirementRule {
|
|
18
16
|
/**
|
|
19
17
|
* Rule type (GROUP_REQUIREMENT)
|
|
20
18
|
*/
|
|
@@ -28,11 +26,9 @@ export interface GroupRequirementRule {
|
|
|
28
26
|
*/
|
|
29
27
|
minCount: number;
|
|
30
28
|
}
|
|
31
|
-
export namespace GroupRequirementRule {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
GroupRequirement:
|
|
29
|
+
export declare namespace GroupRequirementRule {
|
|
30
|
+
type TypeEnum = 'GROUP_REQUIREMENT';
|
|
31
|
+
const TypeEnum: {
|
|
32
|
+
GroupRequirement: TypeEnum;
|
|
35
33
|
};
|
|
36
34
|
}
|
|
37
|
-
|
|
38
|
-
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.3
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.GroupRequirementRule = void 0;
|
|
15
|
+
var GroupRequirementRule;
|
|
16
|
+
(function (GroupRequirementRule) {
|
|
17
|
+
GroupRequirementRule.TypeEnum = {
|
|
18
|
+
GroupRequirement: 'GROUP_REQUIREMENT'
|
|
19
|
+
};
|
|
20
|
+
})(GroupRequirementRule || (exports.GroupRequirementRule = GroupRequirementRule = {}));
|
|
21
|
+
//# sourceMappingURL=group-requirement-rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group-requirement-rule.js","sourceRoot":"","sources":["../generated/openapi/model/group-requirement-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAoBH,IAAiB,oBAAoB,CAKpC;AALD,WAAiB,oBAAoB;IAEpB,6BAAQ,GAAG;QACpB,gBAAgB,EAAE,mBAA+B;KACpD,CAAC;AACN,CAAC,EALgB,oBAAoB,oCAApB,oBAAoB,QAKpC"}
|
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
* Workflow Approval System API
|
|
3
3
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface Group {
|
|
12
|
+
export interface Group {
|
|
15
13
|
/**
|
|
16
14
|
* Unique identifier for the group
|
|
17
15
|
*/
|
|
@@ -37,4 +35,3 @@ export interface Group {
|
|
|
37
35
|
*/
|
|
38
36
|
updatedAt: string;
|
|
39
37
|
}
|
|
40
|
-
|
package/dist/group.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Approval System API
|
|
4
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.3
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
//# sourceMappingURL=group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../generated/openapi/model/group.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
// Auto-generated index file
|
|
2
|
-
|
|
3
1
|
export * from './workflow-create';
|
|
4
2
|
export * from './list-users-200-response';
|
|
5
3
|
export * from './group-create';
|
|
@@ -19,12 +17,16 @@ export * from './add-group-entities-request';
|
|
|
19
17
|
export * from './models';
|
|
20
18
|
export * from './group';
|
|
21
19
|
export * from './group-requirement-rule';
|
|
20
|
+
export * from './vote-veto';
|
|
21
|
+
export * from './vote-withdraw';
|
|
22
22
|
export * from './list-workflows-200-response';
|
|
23
23
|
export * from './group-membership';
|
|
24
24
|
export * from './list-groups-200-response';
|
|
25
|
+
export * from './workflow-vote-request-vote-type';
|
|
25
26
|
export * from './vote-mode';
|
|
26
27
|
export * from './entity-membership-remove';
|
|
27
28
|
export * from './workflow';
|
|
28
29
|
export * from './or-rule';
|
|
29
30
|
export * from './user-summary';
|
|
30
31
|
export * from './entity-reference';
|
|
32
|
+
export * from './vote-approve';
|