@approvio/api 0.0.5 → 0.0.7
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/can-vote-response.d.ts +6 -2
- 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.d.ts +1 -1
- package/dist/group.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.html +742 -0
- package/dist/index.js +2 -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-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 +1 -0
- package/dist/models.js +1 -0
- package/dist/models.js.map +1 -1
- package/dist/or-rule.d.ts +1 -1
- 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/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-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 +5 -1
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./can-vote-response"), exports);
|
|
|
26
26
|
__exportStar(require("./list-group-entities-200-response"), exports);
|
|
27
27
|
__exportStar(require("./workflow-template-update"), exports);
|
|
28
28
|
__exportStar(require("./api-error"), exports);
|
|
29
|
+
__exportStar(require("./workflow-template-delete"), exports);
|
|
29
30
|
__exportStar(require("./approval-rule"), exports);
|
|
30
31
|
__exportStar(require("./user"), exports);
|
|
31
32
|
__exportStar(require("./user-create"), exports);
|
|
@@ -37,6 +38,7 @@ __exportStar(require("./add-group-entities-request"), exports);
|
|
|
37
38
|
__exportStar(require("./workflow-template-create"), exports);
|
|
38
39
|
__exportStar(require("./models"), exports);
|
|
39
40
|
__exportStar(require("./group"), exports);
|
|
41
|
+
__exportStar(require("./workflow-template-deprecate"), exports);
|
|
40
42
|
__exportStar(require("./group-requirement-rule"), exports);
|
|
41
43
|
__exportStar(require("./vote-veto"), exports);
|
|
42
44
|
__exportStar(require("./vote-withdraw"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +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,iDAA+B;AAC/B,sDAAoC;AACpC,qEAAmD;AACnD,6DAA2C;AAC3C,8CAA4B;AAC5B,kDAAgC;AAChC,yCAAuB;AACvB,gDAA8B;AAC9B,0DAAwC;AACxC,4DAA0C;AAC1C,iDAA+B;AAC/B,kEAAgD;AAChD,+DAA6C;AAC7C,6DAA2C;AAC3C,2CAAyB;AACzB,0CAAwB;AACxB,2DAAyC;AACzC,8CAA4B;AAC5B,kDAAgC;AAChC,gEAA8C;AAC9C,qDAAmC;AACnC,yEAAuD;AACvD,6DAA2C;AAC3C,oEAAkD;AAClD,8CAA4B;AAC5B,6DAA2C;AAC3C,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,8DAA4C"}
|
|
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,iDAA+B;AAC/B,sDAAoC;AACpC,qEAAmD;AACnD,6DAA2C;AAC3C,8CAA4B;AAC5B,6DAA2C;AAC3C,kDAAgC;AAChC,yCAAuB;AACvB,gDAA8B;AAC9B,0DAAwC;AACxC,4DAA0C;AAC1C,iDAA+B;AAC/B,kEAAgD;AAChD,+DAA6C;AAC7C,6DAA2C;AAC3C,2CAAyB;AACzB,0CAAwB;AACxB,gEAA8C;AAC9C,2DAAyC;AACzC,8CAA4B;AAC5B,kDAAgC;AAChC,gEAA8C;AAC9C,qDAAmC;AACnC,yEAAuD;AACvD,6DAA2C;AAC3C,oEAAkD;AAClD,8CAA4B;AAC5B,6DAA2C;AAC3C,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,8DAA4C"}
|
|
@@ -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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from './workflow-create';
|
|
|
32
32
|
export * from './workflow-ref';
|
|
33
33
|
export * from './workflow-template';
|
|
34
34
|
export * from './workflow-template-create';
|
|
35
|
+
export * from './workflow-template-deprecate';
|
|
35
36
|
export * from './workflow-template-summary';
|
|
36
37
|
export * from './workflow-template-update';
|
|
37
38
|
export * from './workflow-vote-request';
|
package/dist/models.js
CHANGED
|
@@ -48,6 +48,7 @@ __exportStar(require("./workflow-create"), exports);
|
|
|
48
48
|
__exportStar(require("./workflow-ref"), exports);
|
|
49
49
|
__exportStar(require("./workflow-template"), exports);
|
|
50
50
|
__exportStar(require("./workflow-template-create"), exports);
|
|
51
|
+
__exportStar(require("./workflow-template-deprecate"), exports);
|
|
51
52
|
__exportStar(require("./workflow-template-summary"), exports);
|
|
52
53
|
__exportStar(require("./workflow-template-update"), exports);
|
|
53
54
|
__exportStar(require("./workflow-vote-request"), exports);
|
package/dist/models.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../generated/openapi/model/models.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,4DAA0C;AAC1C,+DAA6C;AAC7C,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,iDAA+B;AAC/B,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,0CAAwB;AACxB,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC;AACzC,qEAAmD;AACnD,6DAA2C;AAC3C,4DAA0C;AAC1C,yEAAuD;AACvD,gEAA8C;AAC9C,4CAA0B;AAC1B,+CAA6B;AAC7B,kEAAgD;AAChD,yCAAuB;AACvB,gDAA8B;AAC9B,iDAA+B;AAC/B,iDAA+B;AAC/B,8CAA4B;AAC5B,kDAAgC;AAChC,6CAA2B;AAC3B,oDAAkC;AAClC,oDAAkC;AAClC,iDAA+B;AAC/B,sDAAoC;AACpC,6DAA2C;AAC3C,8DAA4C;AAC5C,6DAA2C;AAC3C,0DAAwC;AACxC,oEAAkD"}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../generated/openapi/model/models.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,4DAA0C;AAC1C,+DAA6C;AAC7C,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,iDAA+B;AAC/B,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,0CAAwB;AACxB,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC;AACzC,qEAAmD;AACnD,6DAA2C;AAC3C,4DAA0C;AAC1C,yEAAuD;AACvD,gEAA8C;AAC9C,4CAA0B;AAC1B,+CAA6B;AAC7B,kEAAgD;AAChD,yCAAuB;AACvB,gDAA8B;AAC9B,iDAA+B;AAC/B,iDAA+B;AAC/B,8CAA4B;AAC5B,kDAAgC;AAChC,6CAA2B;AAC3B,oDAAkC;AAClC,oDAAkC;AAClC,iDAA+B;AAC/B,sDAAoC;AACpC,6DAA2C;AAC3C,gEAA8C;AAC9C,8DAA4C;AAC5C,6DAA2C;AAC3C,0DAAwC;AACxC,oEAAkD"}
|
package/dist/or-rule.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.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/pagination.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.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/pagination.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.7
|
|
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.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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"}
|
|
@@ -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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -44,4 +44,8 @@ export interface Workflow {
|
|
|
44
44
|
* Last update timestamp
|
|
45
45
|
*/
|
|
46
46
|
updatedAt: string;
|
|
47
|
+
/**
|
|
48
|
+
* Expiry timestamp
|
|
49
|
+
*/
|
|
50
|
+
readonly expiresAt?: string;
|
|
47
51
|
}
|
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.7",
|
|
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
|
},
|