@approvio/api 0.0.4 → 0.0.6

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.
Files changed (64) hide show
  1. package/dist/add-group-entities-request.d.ts +1 -1
  2. package/dist/and-rule.d.ts +1 -1
  3. package/dist/api-error-details-inner.d.ts +1 -1
  4. package/dist/api-error-details-inner.js +1 -1
  5. package/dist/api-error.d.ts +1 -1
  6. package/dist/approval-rule.d.ts +1 -1
  7. package/dist/can-vote-response.d.ts +6 -2
  8. package/dist/can-vote-response.js +1 -1
  9. package/dist/email-action.d.ts +1 -1
  10. package/dist/email-action.js +1 -1
  11. package/dist/entity-membership-add.d.ts +1 -1
  12. package/dist/entity-membership-remove.d.ts +1 -1
  13. package/dist/entity-reference.d.ts +1 -1
  14. package/dist/entity-reference.js +1 -1
  15. package/dist/group-create.d.ts +1 -1
  16. package/dist/group-create.js +1 -1
  17. package/dist/group-membership.d.ts +1 -1
  18. package/dist/group-requirement-rule.d.ts +1 -1
  19. package/dist/group-requirement-rule.js +1 -1
  20. package/dist/group.d.ts +1 -1
  21. package/dist/group.js +1 -1
  22. package/dist/index.d.ts +1 -0
  23. package/dist/index.js +1 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/list-group-entities-200-response.d.ts +1 -1
  26. package/dist/list-groups-200-response.d.ts +1 -1
  27. package/dist/list-users-200-response.d.ts +1 -1
  28. package/dist/list-workflow-templates-200-response.d.ts +1 -1
  29. package/dist/list-workflows-200-response.d.ts +1 -1
  30. package/dist/models.d.ts +1 -0
  31. package/dist/models.js +1 -0
  32. package/dist/models.js.map +1 -1
  33. package/dist/or-rule.d.ts +1 -1
  34. package/dist/pagination.d.ts +1 -1
  35. package/dist/pagination.js +1 -1
  36. package/dist/remove-group-entities-request.d.ts +1 -1
  37. package/dist/user-create.d.ts +1 -1
  38. package/dist/user-create.js +1 -1
  39. package/dist/user-summary.d.ts +1 -1
  40. package/dist/user-summary.js +1 -1
  41. package/dist/user.d.ts +1 -1
  42. package/dist/user.js +1 -1
  43. package/dist/vote-approve.d.ts +1 -1
  44. package/dist/vote-approve.js +1 -1
  45. package/dist/vote-veto.d.ts +1 -1
  46. package/dist/vote-veto.js +1 -1
  47. package/dist/vote-withdraw.d.ts +1 -1
  48. package/dist/vote-withdraw.js +1 -1
  49. package/dist/workflow-action.d.ts +1 -1
  50. package/dist/workflow-create.d.ts +5 -3
  51. package/dist/workflow-create.js +11 -0
  52. package/dist/workflow-create.js.map +1 -1
  53. package/dist/workflow-ref.d.ts +18 -0
  54. package/dist/workflow-ref.js +3 -0
  55. package/dist/workflow-ref.js.map +1 -0
  56. package/dist/workflow-template-create.d.ts +1 -1
  57. package/dist/workflow-template-summary.d.ts +1 -1
  58. package/dist/workflow-template-summary.js +1 -1
  59. package/dist/workflow-template-update.d.ts +1 -1
  60. package/dist/workflow-template.d.ts +1 -1
  61. package/dist/workflow-vote-request-vote-type.d.ts +1 -1
  62. package/dist/workflow-vote-request.d.ts +1 -1
  63. package/dist/workflow.d.ts +11 -3
  64. package/package.json +1 -1
@@ -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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,11 @@ export interface CanVoteResponse {
15
15
  */
16
16
  canVote: boolean;
17
17
  /**
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.
18
+ * Indicates the voting status for the user on this workflow.
19
19
  */
20
20
  voteStatus: string;
21
+ /**
22
+ * Reason why the entity cannot vote on the workflow. The value is only set if \'canVote\' is false.
23
+ */
24
+ cantVoteReason?: string;
21
25
  }
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/group.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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/group.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.3
6
+ * The version of the OpenAPI document: 0.0.6
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -14,6 +14,7 @@ export * from './user';
14
14
  export * from './user-create';
15
15
  export * from './workflow-vote-request';
16
16
  export * from './api-error-details-inner';
17
+ export * from './workflow-ref';
17
18
  export * from './remove-group-entities-request';
18
19
  export * from './add-group-entities-request';
19
20
  export * from './workflow-template-create';
package/dist/index.js CHANGED
@@ -31,6 +31,7 @@ __exportStar(require("./user"), exports);
31
31
  __exportStar(require("./user-create"), exports);
32
32
  __exportStar(require("./workflow-vote-request"), exports);
33
33
  __exportStar(require("./api-error-details-inner"), exports);
34
+ __exportStar(require("./workflow-ref"), exports);
34
35
  __exportStar(require("./remove-group-entities-request"), exports);
35
36
  __exportStar(require("./add-group-entities-request"), exports);
36
37
  __exportStar(require("./workflow-template-create"), 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,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,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"}
@@ -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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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
@@ -29,6 +29,7 @@ export * from './vote-withdraw';
29
29
  export * from './workflow';
30
30
  export * from './workflow-action';
31
31
  export * from './workflow-create';
32
+ export * from './workflow-ref';
32
33
  export * from './workflow-template';
33
34
  export * from './workflow-template-create';
34
35
  export * from './workflow-template-summary';
package/dist/models.js CHANGED
@@ -45,6 +45,7 @@ __exportStar(require("./vote-withdraw"), exports);
45
45
  __exportStar(require("./workflow"), exports);
46
46
  __exportStar(require("./workflow-action"), exports);
47
47
  __exportStar(require("./workflow-create"), exports);
48
+ __exportStar(require("./workflow-ref"), exports);
48
49
  __exportStar(require("./workflow-template"), exports);
49
50
  __exportStar(require("./workflow-template-create"), exports);
50
51
  __exportStar(require("./workflow-template-summary"), exports);
@@ -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,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,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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,14 +2,13 @@
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
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
- import { ApprovalRule } from './approval-rule';
13
12
  export interface WorkflowCreate {
14
13
  /**
15
14
  * User-friendly name for the workflow
@@ -23,5 +22,8 @@ export interface WorkflowCreate {
23
22
  * Additional custom metadata for the workflow
24
23
  */
25
24
  metadata?: object;
26
- approvalRule: ApprovalRule;
25
+ /**
26
+ * The unique identifier of the workflow template to use as parent
27
+ */
28
+ workflowTemplateId: string;
27
29
  }
@@ -1,3 +1,14 @@
1
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
+ */
2
13
  Object.defineProperty(exports, "__esModule", { value: true });
3
14
  //# sourceMappingURL=workflow-create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-create.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-create.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"workflow-create.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -0,0 +1,18 @@
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
+ import { WorkflowTemplate } from './workflow-template';
13
+ /**
14
+ * Referenced objects (optional, controlled by include query parameters)
15
+ */
16
+ export interface WorkflowRef {
17
+ workflowTemplate?: WorkflowTemplate;
18
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workflow-ref.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-ref.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-ref.ts"],"names":[],"mappings":""}
@@ -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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3
6
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
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.3
5
+ * The version of the OpenAPI document: 0.0.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,14 +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: 0.0.3
5
+ * The version of the OpenAPI document: 0.0.6
6
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
- import { ApprovalRule } from './approval-rule';
12
+ import { WorkflowRef } from './workflow-ref';
13
13
  export interface Workflow {
14
14
  /**
15
15
  * Unique identifier for the workflow
@@ -27,11 +27,15 @@ export interface Workflow {
27
27
  * Current status of the workflow
28
28
  */
29
29
  status: string;
30
- approvalRule: ApprovalRule;
30
+ /**
31
+ * The unique identifier of the workflow template used as parent
32
+ */
33
+ workflowTemplateId: string;
31
34
  /**
32
35
  * Additional custom metadata for the workflow
33
36
  */
34
37
  metadata: object;
38
+ ref?: WorkflowRef;
35
39
  /**
36
40
  * Creation timestamp
37
41
  */
@@ -40,4 +44,8 @@ export interface Workflow {
40
44
  * Last update timestamp
41
45
  */
42
46
  updatedAt: string;
47
+ /**
48
+ * Expiry timestamp
49
+ */
50
+ readonly expiresAt?: string;
43
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.4",
5
+ "version": "0.0.6",
6
6
  "private": false,
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",