@approvio/api 0.0.6 → 0.0.8
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/dist/add-group-entities-request.d.ts +1 -1
- package/dist/and-rule.d.ts +1 -1
- package/dist/api-error-details-inner.d.ts +1 -1
- package/dist/api-error-details-inner.js +1 -1
- package/dist/api-error.d.ts +1 -1
- package/dist/approval-rule.d.ts +1 -1
- package/dist/auth-message-response.d.ts +17 -0
- package/dist/auth-message-response.js +14 -0
- package/dist/auth-message-response.js.map +1 -0
- package/dist/bound-role.d.ts +26 -0
- package/dist/bound-role.js +3 -0
- package/dist/bound-role.js.map +1 -0
- package/dist/can-vote-response.d.ts +1 -1
- package/dist/can-vote-response.js +1 -1
- package/dist/email-action.d.ts +1 -1
- package/dist/email-action.js +1 -1
- package/dist/entity-membership-add.d.ts +1 -1
- package/dist/entity-membership-remove.d.ts +1 -1
- package/dist/entity-reference.d.ts +1 -1
- package/dist/entity-reference.js +1 -1
- package/dist/group-create.d.ts +1 -1
- package/dist/group-create.js +1 -1
- package/dist/group-membership.d.ts +1 -1
- package/dist/group-requirement-rule.d.ts +1 -1
- package/dist/group-requirement-rule.js +1 -1
- package/dist/group-scope.d.ts +27 -0
- package/dist/group-scope.js +21 -0
- package/dist/group-scope.js.map +1 -0
- package/dist/group.d.ts +1 -1
- package/dist/group.js +1 -1
- package/dist/index.d.ts +20 -0
- package/dist/index.html +742 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/dist/list-group-entities-200-response.d.ts +1 -1
- package/dist/list-groups-200-response.d.ts +1 -1
- package/dist/list-organization-admins-200-response.d.ts +17 -0
- package/dist/list-organization-admins-200-response.js +3 -0
- package/dist/list-organization-admins-200-response.js.map +1 -0
- package/dist/list-organization-admins-for-org-200-response.d.ts +17 -0
- package/dist/list-organization-admins-for-org-200-response.js +3 -0
- package/dist/list-organization-admins-for-org-200-response.js.map +1 -0
- package/dist/list-spaces-200-response.d.ts +17 -0
- package/dist/list-spaces-200-response.js +3 -0
- package/dist/list-spaces-200-response.js.map +1 -0
- package/dist/list-users-200-response.d.ts +1 -1
- package/dist/list-workflow-templates-200-response.d.ts +1 -1
- package/dist/list-workflows-200-response.d.ts +1 -1
- package/dist/models.d.ts +4 -0
- package/dist/models.js +4 -0
- package/dist/models.js.map +1 -1
- package/dist/or-rule.d.ts +1 -1
- package/dist/org-scope.d.ts +23 -0
- package/dist/org-scope.js +21 -0
- package/dist/org-scope.js.map +1 -0
- package/dist/organization-admin-create.d.ts +17 -0
- package/dist/organization-admin-create.js +14 -0
- package/dist/organization-admin-create.js.map +1 -0
- package/dist/organization-admin-remove.d.ts +17 -0
- package/dist/organization-admin-remove.js +14 -0
- package/dist/organization-admin-remove.js.map +1 -0
- package/dist/organization-admin.d.ts +25 -0
- package/dist/organization-admin.js +14 -0
- package/dist/organization-admin.js.map +1 -0
- package/dist/pagination.d.ts +1 -1
- package/dist/pagination.js +1 -1
- package/dist/remove-group-entities-request.d.ts +1 -1
- package/dist/role-scope.d.ts +24 -0
- package/dist/role-scope.js +3 -0
- package/dist/role-scope.js.map +1 -0
- package/dist/role.d.ts +26 -0
- package/dist/role.js +3 -0
- package/dist/role.js.map +1 -0
- package/dist/space-create.d.ts +21 -0
- package/dist/space-create.js +14 -0
- package/dist/space-create.js.map +1 -0
- package/dist/space-scope.d.ts +27 -0
- package/dist/space-scope.js +21 -0
- package/dist/space-scope.js.map +1 -0
- package/dist/space.d.ts +33 -0
- package/dist/space.js +14 -0
- package/dist/space.js.map +1 -0
- package/dist/token-request.d.ts +21 -0
- package/dist/token-request.js +14 -0
- package/dist/token-request.js.map +1 -0
- package/dist/token-response.d.ts +17 -0
- package/dist/token-response.js +14 -0
- package/dist/token-response.js.map +1 -0
- package/dist/user-create.d.ts +1 -1
- package/dist/user-create.js +1 -1
- package/dist/user-summary.d.ts +1 -1
- package/dist/user-summary.js +1 -1
- package/dist/user.d.ts +1 -1
- package/dist/user.js +1 -1
- package/dist/vote-approve.d.ts +2 -2
- package/dist/vote-approve.js +1 -1
- package/dist/vote-veto.d.ts +1 -1
- package/dist/vote-veto.js +1 -1
- package/dist/vote-withdraw.d.ts +1 -1
- package/dist/vote-withdraw.js +1 -1
- package/dist/workflow-action.d.ts +1 -1
- package/dist/workflow-create.d.ts +1 -1
- package/dist/workflow-create.js +1 -1
- package/dist/workflow-ref.d.ts +1 -1
- package/dist/workflow-template-create.d.ts +1 -1
- package/dist/workflow-template-delete.d.ts +17 -0
- package/dist/workflow-template-delete.js +14 -0
- package/dist/workflow-template-delete.js.map +1 -0
- package/dist/workflow-template-deprecate.d.ts +17 -0
- package/dist/workflow-template-deprecate.js +14 -0
- package/dist/workflow-template-deprecate.js.map +1 -0
- package/dist/workflow-template-scope.d.ts +27 -0
- package/dist/workflow-template-scope.js +21 -0
- package/dist/workflow-template-scope.js.map +1 -0
- package/dist/workflow-template-summary.d.ts +5 -1
- package/dist/workflow-template-summary.js +1 -1
- package/dist/workflow-template-update.d.ts +5 -5
- package/dist/workflow-template.d.ts +21 -1
- package/dist/workflow-template.js +9 -0
- package/dist/workflow-template.js.map +1 -1
- package/dist/workflow-vote-request-vote-type.d.ts +1 -1
- package/dist/workflow-vote-request.d.ts +1 -1
- package/dist/workflow.d.ts +1 -1
- package/package.json +3 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space-scope.js","sourceRoot":"","sources":["../generated/openapi/model/space-scope.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAaH,IAAiB,UAAU,CAK1B;AALD,WAAiB,UAAU;IAEV,mBAAQ,GAAG;QACpB,KAAK,EAAE,OAAmB;KAC7B,CAAC;AACN,CAAC,EALgB,UAAU,0BAAV,UAAU,QAK1B"}
|
package/dist/space.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Approval System API
|
|
3
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
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 Space {
|
|
13
|
+
/**
|
|
14
|
+
* Unique identifier for the space
|
|
15
|
+
*/
|
|
16
|
+
readonly id: string;
|
|
17
|
+
/**
|
|
18
|
+
* Name of the space (max 255 characters)
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Description of the space (max 2048 characters)
|
|
23
|
+
*/
|
|
24
|
+
description?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Timestamp when the space was created
|
|
27
|
+
*/
|
|
28
|
+
readonly createdAt: string;
|
|
29
|
+
/**
|
|
30
|
+
* Timestamp when the space was last updated
|
|
31
|
+
*/
|
|
32
|
+
readonly updatedAt: string;
|
|
33
|
+
}
|
package/dist/space.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, groups, and organizational spaces with role-based access control.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
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=space.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.js","sourceRoot":"","sources":["../generated/openapi/model/space.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Approval System API
|
|
3
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
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 TokenRequest {
|
|
13
|
+
/**
|
|
14
|
+
* Authorization code received from OIDC provider
|
|
15
|
+
*/
|
|
16
|
+
code: string;
|
|
17
|
+
/**
|
|
18
|
+
* State parameter used for CSRF protection
|
|
19
|
+
*/
|
|
20
|
+
state: string;
|
|
21
|
+
}
|
|
@@ -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.8
|
|
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=token-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token-request.js","sourceRoot":"","sources":["../generated/openapi/model/token-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Approval System API
|
|
3
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
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 TokenResponse {
|
|
13
|
+
/**
|
|
14
|
+
* JWT token containing user information and roles
|
|
15
|
+
*/
|
|
16
|
+
token: string;
|
|
17
|
+
}
|
|
@@ -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.8
|
|
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=token-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token-response.js","sourceRoot":"","sources":["../generated/openapi/model/token-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
package/dist/user-create.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/user-create.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Workflow Approval System API
|
|
4
4
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.0.
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/user-summary.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/user-summary.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Workflow Approval System API
|
|
4
4
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.0.
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/user.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/user.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Workflow Approval System API
|
|
4
4
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.0.
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/vote-approve.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,7 +15,7 @@ export interface VoteApprove {
|
|
|
15
15
|
*/
|
|
16
16
|
type: VoteApprove.TypeEnum;
|
|
17
17
|
/**
|
|
18
|
-
* List of group IDs the vote is cast for.
|
|
18
|
+
* List of group IDs the vote is cast for. The voter must be a member of these groups with appropriate role (approver, admin, or owner) to cast votes for them.
|
|
19
19
|
*/
|
|
20
20
|
votedForGroups: Array<string>;
|
|
21
21
|
}
|
package/dist/vote-approve.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Workflow Approval System API
|
|
4
4
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.0.
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/vote-veto.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/vote-veto.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Workflow Approval System API
|
|
4
4
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.0.
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/vote-withdraw.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/vote-withdraw.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Workflow Approval System API
|
|
4
4
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.0.
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/workflow-create.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Workflow Approval System API
|
|
4
4
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.0.
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/workflow-ref.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Approval System API
|
|
3
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.6
|
|
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 WorkflowTemplateDelete {
|
|
13
|
+
/**
|
|
14
|
+
* If true, all in-progress workflows associated with this template will be canceled.
|
|
15
|
+
*/
|
|
16
|
+
cancelWorkflows?: boolean;
|
|
17
|
+
}
|
|
@@ -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.6
|
|
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=workflow-template-delete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-template-delete.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template-delete.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Approval System API
|
|
3
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
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 WorkflowTemplateDeprecate {
|
|
13
|
+
/**
|
|
14
|
+
* If true, all in-progress workflows associated with this template will be canceled. This affects the allowVotingOnDeprecatedTemplate setting: when true, voting is disabled on the deprecated template.
|
|
15
|
+
*/
|
|
16
|
+
cancelWorkflows?: boolean;
|
|
17
|
+
}
|
|
@@ -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.8
|
|
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=workflow-template-deprecate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-template-deprecate.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template-deprecate.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Approval System API
|
|
3
|
+
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
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 WorkflowTemplateScope {
|
|
13
|
+
/**
|
|
14
|
+
* Workflow template scope
|
|
15
|
+
*/
|
|
16
|
+
type: WorkflowTemplateScope.TypeEnum;
|
|
17
|
+
/**
|
|
18
|
+
* ID of the workflow template
|
|
19
|
+
*/
|
|
20
|
+
workflowTemplateId: string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace WorkflowTemplateScope {
|
|
23
|
+
type TypeEnum = 'workflow_template';
|
|
24
|
+
const TypeEnum: {
|
|
25
|
+
WorkflowTemplate: TypeEnum;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -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, groups, and organizational spaces with role-based access control.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
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.WorkflowTemplateScope = void 0;
|
|
15
|
+
var WorkflowTemplateScope;
|
|
16
|
+
(function (WorkflowTemplateScope) {
|
|
17
|
+
WorkflowTemplateScope.TypeEnum = {
|
|
18
|
+
WorkflowTemplate: 'workflow_template'
|
|
19
|
+
};
|
|
20
|
+
})(WorkflowTemplateScope || (exports.WorkflowTemplateScope = WorkflowTemplateScope = {}));
|
|
21
|
+
//# sourceMappingURL=workflow-template-scope.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-template-scope.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template-scope.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAaH,IAAiB,qBAAqB,CAKrC;AALD,WAAiB,qBAAqB;IAErB,8BAAQ,GAAG;QACpB,gBAAgB,EAAE,mBAA+B;KACpD,CAAC;AACN,CAAC,EALgB,qBAAqB,qCAArB,qBAAqB,QAKrC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,6 +18,10 @@ export interface WorkflowTemplateSummary {
|
|
|
18
18
|
* User-friendly name for the workflow template.
|
|
19
19
|
*/
|
|
20
20
|
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Version of the workflow template.
|
|
23
|
+
*/
|
|
24
|
+
version: string;
|
|
21
25
|
/**
|
|
22
26
|
* Detailed description of the workflow template.
|
|
23
27
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Workflow Approval System API
|
|
4
4
|
* API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.0.
|
|
6
|
+
* The version of the OpenAPI document: 0.0.8
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
import { WorkflowAction } from './workflow-action';
|
|
13
13
|
import { ApprovalRule } from './approval-rule';
|
|
14
14
|
export interface WorkflowTemplateUpdate {
|
|
15
|
-
/**
|
|
16
|
-
* User-friendly name for the workflow template
|
|
17
|
-
*/
|
|
18
|
-
name?: string;
|
|
19
15
|
/**
|
|
20
16
|
* Detailed description of the workflow template
|
|
21
17
|
*/
|
|
@@ -33,4 +29,8 @@ export interface WorkflowTemplateUpdate {
|
|
|
33
29
|
* Default expiry time for workflows created from this template (in hours, max 1 year)
|
|
34
30
|
*/
|
|
35
31
|
defaultExpiresInHours?: number;
|
|
32
|
+
/**
|
|
33
|
+
* If true, all in-progress workflows associated with this template will be canceled when creating a new version. This affects the allowVotingOnDeprecatedTemplate setting: when true, voting is disabled on the deprecated template.
|
|
34
|
+
*/
|
|
35
|
+
cancelWorkflows?: boolean;
|
|
36
36
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,10 +20,22 @@ export interface WorkflowTemplate {
|
|
|
20
20
|
* User-friendly name for the workflow template
|
|
21
21
|
*/
|
|
22
22
|
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* Version of the workflow template. \"latest\" for active templates, numeric for versioned templates
|
|
25
|
+
*/
|
|
26
|
+
version: string;
|
|
23
27
|
/**
|
|
24
28
|
* Detailed description of the workflow template
|
|
25
29
|
*/
|
|
26
30
|
description?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Lifecycle status of the template: * ACTIVE - Template can be referenced to create new workflows * PENDING_DEPRECATION - Template has been deprecated but there are still active workflows (intermediate status for async deprecation) * DEPRECATED - Template cannot be referenced for new workflows, voting may still be allowed based on settings
|
|
33
|
+
*/
|
|
34
|
+
status: WorkflowTemplate.StatusEnum;
|
|
35
|
+
/**
|
|
36
|
+
* Whether voting is allowed on workflows using this template when it\'s deprecated
|
|
37
|
+
*/
|
|
38
|
+
allowVotingOnDeprecatedTemplate: boolean;
|
|
27
39
|
approvalRule: ApprovalRule;
|
|
28
40
|
/**
|
|
29
41
|
* Additional custom metadata for the workflow template
|
|
@@ -46,3 +58,11 @@ export interface WorkflowTemplate {
|
|
|
46
58
|
*/
|
|
47
59
|
updatedAt: string;
|
|
48
60
|
}
|
|
61
|
+
export declare namespace WorkflowTemplate {
|
|
62
|
+
type StatusEnum = 'ACTIVE' | 'PENDING_DEPRECATION' | 'DEPRECATED';
|
|
63
|
+
const StatusEnum: {
|
|
64
|
+
Active: StatusEnum;
|
|
65
|
+
PendingDeprecation: StatusEnum;
|
|
66
|
+
Deprecated: StatusEnum;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkflowTemplate = void 0;
|
|
4
|
+
var WorkflowTemplate;
|
|
5
|
+
(function (WorkflowTemplate) {
|
|
6
|
+
WorkflowTemplate.StatusEnum = {
|
|
7
|
+
Active: 'ACTIVE',
|
|
8
|
+
PendingDeprecation: 'PENDING_DEPRECATION',
|
|
9
|
+
Deprecated: 'DEPRECATED'
|
|
10
|
+
};
|
|
11
|
+
})(WorkflowTemplate || (exports.WorkflowTemplate = WorkflowTemplate = {}));
|
|
3
12
|
//# sourceMappingURL=workflow-template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-template.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"workflow-template.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template.ts"],"names":[],"mappings":";;;AA8DA,IAAiB,gBAAgB,CAOhC;AAPD,WAAiB,gBAAgB;IAEhB,2BAAU,GAAG;QACtB,MAAM,EAAE,QAAsB;QAC9B,kBAAkB,EAAE,qBAAmC;QACvD,UAAU,EAAE,YAA0B;KACzC,CAAC;AACN,CAAC,EAPgB,gBAAgB,gCAAhB,gBAAgB,QAOhC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/workflow.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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: 0.0.
|
|
5
|
+
* The version of the OpenAPI document: 0.0.8
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@approvio/api",
|
|
3
3
|
"author": "Giovanni Baratta",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.8",
|
|
6
6
|
"private": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
@@ -18,10 +18,12 @@
|
|
|
18
18
|
"generate:index": "./scripts/generate-index.sh",
|
|
19
19
|
"lint:api": "spectral lint openapi.yaml --ruleset .spectral.yaml",
|
|
20
20
|
"build": "tsc -p tsconfig.build.json",
|
|
21
|
+
"generate:docs": "redocly build-docs openapi.yaml --output ./dist/index.html",
|
|
21
22
|
"prepublishOnly": "yarn generate:api"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
25
|
"@openapitools/openapi-generator-cli": "2.20.2",
|
|
26
|
+
"@redocly/cli": "1.34.4",
|
|
25
27
|
"@stoplight/spectral-cli": "6.15.0",
|
|
26
28
|
"typescript": "5.7.3"
|
|
27
29
|
},
|