@approvio/api 0.0.1 → 0.0.2
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/README.md +1 -2
- 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} +0 -2
- package/dist/index.js +46 -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/dist/models.js +44 -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/{generated/openapi/model/vote-mode.ts → dist/vote-mode.d.ts} +4 -7
- package/dist/vote-mode.js +14 -0
- package/dist/vote-mode.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/{generated/openapi/model/workflow-vote-request.ts → dist/workflow-vote-request.d.ts} +3 -6
- 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/{generated/openapi/model/models.ts → dist/models.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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. Relevant only if \'canVote\' is true or if the user had voting rights previously.
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Auto-generated index file
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./workflow-create"), exports);
|
|
19
|
+
__exportStar(require("./list-users-200-response"), exports);
|
|
20
|
+
__exportStar(require("./group-create"), exports);
|
|
21
|
+
__exportStar(require("./pagination"), exports);
|
|
22
|
+
__exportStar(require("./and-rule"), exports);
|
|
23
|
+
__exportStar(require("./entity-membership-add"), exports);
|
|
24
|
+
__exportStar(require("./can-vote-response"), exports);
|
|
25
|
+
__exportStar(require("./list-group-entities-200-response"), exports);
|
|
26
|
+
__exportStar(require("./api-error"), exports);
|
|
27
|
+
__exportStar(require("./approval-rule"), exports);
|
|
28
|
+
__exportStar(require("./user"), exports);
|
|
29
|
+
__exportStar(require("./user-create"), exports);
|
|
30
|
+
__exportStar(require("./workflow-vote-request"), exports);
|
|
31
|
+
__exportStar(require("./api-error-details-inner"), exports);
|
|
32
|
+
__exportStar(require("./remove-group-entities-request"), exports);
|
|
33
|
+
__exportStar(require("./add-group-entities-request"), exports);
|
|
34
|
+
__exportStar(require("./models"), exports);
|
|
35
|
+
__exportStar(require("./group"), exports);
|
|
36
|
+
__exportStar(require("./group-requirement-rule"), exports);
|
|
37
|
+
__exportStar(require("./list-workflows-200-response"), exports);
|
|
38
|
+
__exportStar(require("./group-membership"), exports);
|
|
39
|
+
__exportStar(require("./list-groups-200-response"), exports);
|
|
40
|
+
__exportStar(require("./vote-mode"), exports);
|
|
41
|
+
__exportStar(require("./entity-membership-remove"), exports);
|
|
42
|
+
__exportStar(require("./workflow"), exports);
|
|
43
|
+
__exportStar(require("./or-rule"), exports);
|
|
44
|
+
__exportStar(require("./user-summary"), exports);
|
|
45
|
+
__exportStar(require("./entity-reference"), exports);
|
|
46
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../generated/openapi/model/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;;;;;;;;;;;;;;;;AAE5B,oDAAkC;AAClC,4DAA0C;AAC1C,iDAA+B;AAC/B,+CAA6B;AAC7B,6CAA2B;AAC3B,0DAAwC;AACxC,sDAAoC;AACpC,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,yCAAuB;AACvB,gDAA8B;AAC9B,0DAAwC;AACxC,4DAA0C;AAC1C,kEAAgD;AAChD,+DAA6C;AAC7C,2CAAyB;AACzB,0CAAwB;AACxB,2DAAyC;AACzC,gEAA8C;AAC9C,qDAAmC;AACnC,6DAA2C;AAC3C,8CAA4B;AAC5B,6DAA2C;AAC3C,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC"}
|
|
@@ -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.1
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Pagination } from './pagination';
|
|
13
13
|
import { GroupMembership } from './group-membership';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export interface ListGroupEntities200Response {
|
|
14
|
+
export interface ListGroupEntities200Response {
|
|
17
15
|
entities: Array<GroupMembership>;
|
|
18
16
|
pagination: Pagination;
|
|
19
17
|
}
|
|
20
|
-
|