@approvio/api 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -15
  3. package/dist/add-group-entities-request.d.ts +1 -1
  4. package/dist/and-rule.d.ts +1 -1
  5. package/dist/api-error-details-inner.d.ts +1 -1
  6. package/dist/api-error-details-inner.js +1 -1
  7. package/dist/api-error.d.ts +1 -1
  8. package/dist/approval-rule.d.ts +1 -1
  9. package/dist/can-vote-response.d.ts +2 -2
  10. package/dist/can-vote-response.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 +4 -0
  23. package/dist/index.js +4 -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-workflows-200-response.d.ts +1 -1
  29. package/dist/models.d.ts +4 -1
  30. package/dist/models.js +4 -1
  31. package/dist/models.js.map +1 -1
  32. package/dist/or-rule.d.ts +1 -1
  33. package/dist/pagination.d.ts +1 -1
  34. package/dist/pagination.js +1 -1
  35. package/dist/remove-group-entities-request.d.ts +1 -1
  36. package/dist/user-create.d.ts +1 -1
  37. package/dist/user-create.js +1 -1
  38. package/dist/user-summary.d.ts +1 -1
  39. package/dist/user-summary.js +1 -1
  40. package/dist/user.d.ts +1 -1
  41. package/dist/user.js +1 -1
  42. package/dist/vote-approve.d.ts +27 -0
  43. package/dist/vote-approve.js +21 -0
  44. package/dist/vote-approve.js.map +1 -0
  45. package/dist/vote-mode.d.ts +1 -1
  46. package/dist/vote-mode.js +1 -1
  47. package/dist/vote-veto.d.ts +23 -0
  48. package/dist/vote-veto.js +21 -0
  49. package/dist/vote-veto.js.map +1 -0
  50. package/dist/vote-withdraw.d.ts +23 -0
  51. package/dist/vote-withdraw.js +21 -0
  52. package/dist/vote-withdraw.js.map +1 -0
  53. package/dist/workflow-create.d.ts +1 -1
  54. package/dist/workflow-vote-request-vote-type.d.ts +19 -0
  55. package/dist/workflow-vote-request-vote-type.js +3 -0
  56. package/dist/workflow-vote-request-vote-type.js.map +1 -0
  57. package/dist/workflow-vote-request.d.ts +4 -8
  58. package/dist/workflow.d.ts +1 -1
  59. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Giovanni Baratta
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -36,28 +36,16 @@ yarn lint:api
36
36
 
37
37
  To link this package for local development in another project (e.g., `approvio-frontend`):
38
38
 
39
- 1. Navigate to the `approvio-api` directory:
40
-
41
- ```bash
42
- cd approvio-api
43
- ```
44
-
45
- 2. Run `yarn link` to create a global symlink:
46
-
47
- ```bash
48
- yarn link
49
- ```
50
-
51
- 3. Navigate to your consuming project (e.g., `approvio-frontend`):
39
+ 1. Navigate to your consuming project (e.g., `approvio-frontend`):
52
40
 
53
41
  ```bash
54
42
  cd ../approvio-frontend
55
43
  ```
56
44
 
57
- 4. Link the `approvio-api` package:
45
+ 1. Link the `approvio-api` package:
58
46
 
59
47
  ```bash
60
- yarn link @approvio/api
48
+ yarn link "<path-to-approvio-api>"
61
49
  ```
62
50
 
63
51
  Now, your consuming project will use the locally linked version of `@approvio/api`.
@@ -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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
6
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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 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. Relevant only if \'canVote\' is true or if the user had voting rights previously.
19
19
  */
20
20
  voteStatus: string;
21
21
  }
@@ -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.1
6
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
6
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
6
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
6
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
6
+ * The version of the OpenAPI document: 0.0.3
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
@@ -17,12 +17,16 @@ export * from './add-group-entities-request';
17
17
  export * from './models';
18
18
  export * from './group';
19
19
  export * from './group-requirement-rule';
20
+ export * from './vote-veto';
21
+ export * from './vote-withdraw';
20
22
  export * from './list-workflows-200-response';
21
23
  export * from './group-membership';
22
24
  export * from './list-groups-200-response';
25
+ export * from './workflow-vote-request-vote-type';
23
26
  export * from './vote-mode';
24
27
  export * from './entity-membership-remove';
25
28
  export * from './workflow';
26
29
  export * from './or-rule';
27
30
  export * from './user-summary';
28
31
  export * from './entity-reference';
32
+ export * from './vote-approve';
package/dist/index.js CHANGED
@@ -34,13 +34,17 @@ __exportStar(require("./add-group-entities-request"), exports);
34
34
  __exportStar(require("./models"), exports);
35
35
  __exportStar(require("./group"), exports);
36
36
  __exportStar(require("./group-requirement-rule"), exports);
37
+ __exportStar(require("./vote-veto"), exports);
38
+ __exportStar(require("./vote-withdraw"), exports);
37
39
  __exportStar(require("./list-workflows-200-response"), exports);
38
40
  __exportStar(require("./group-membership"), exports);
39
41
  __exportStar(require("./list-groups-200-response"), exports);
42
+ __exportStar(require("./workflow-vote-request-vote-type"), exports);
40
43
  __exportStar(require("./vote-mode"), exports);
41
44
  __exportStar(require("./entity-membership-remove"), exports);
42
45
  __exportStar(require("./workflow"), exports);
43
46
  __exportStar(require("./or-rule"), exports);
44
47
  __exportStar(require("./user-summary"), exports);
45
48
  __exportStar(require("./entity-reference"), exports);
49
+ __exportStar(require("./vote-approve"), exports);
46
50
  //# sourceMappingURL=index.js.map
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,sDAAoC;AACpC,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,yCAAuB;AACvB,gDAA8B;AAC9B,0DAAwC;AACxC,4DAA0C;AAC1C,kEAAgD;AAChD,+DAA6C;AAC7C,2CAAyB;AACzB,0CAAwB;AACxB,2DAAyC;AACzC,gEAA8C;AAC9C,qDAAmC;AACnC,6DAA2C;AAC3C,8CAA4B;AAC5B,6DAA2C;AAC3C,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../generated/openapi/model/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;;;;;;;;;;;;;;;;AAE5B,oDAAkC;AAClC,4DAA0C;AAC1C,iDAA+B;AAC/B,+CAA6B;AAC7B,6CAA2B;AAC3B,0DAAwC;AACxC,sDAAoC;AACpC,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,yCAAuB;AACvB,gDAA8B;AAC9B,0DAAwC;AACxC,4DAA0C;AAC1C,kEAAgD;AAChD,+DAA6C;AAC7C,2CAAyB;AACzB,0CAAwB;AACxB,2DAAyC;AACzC,8CAA4B;AAC5B,kDAAgC;AAChC,gEAA8C;AAC9C,qDAAmC;AACnC,6DAA2C;AAC3C,oEAAkD;AAClD,8CAA4B;AAC5B,6DAA2C;AAC3C,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B"}
@@ -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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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
@@ -21,7 +21,10 @@ export * from './remove-group-entities-request';
21
21
  export * from './user';
22
22
  export * from './user-create';
23
23
  export * from './user-summary';
24
- export * from './vote-mode';
24
+ export * from './vote-approve';
25
+ export * from './vote-veto';
26
+ export * from './vote-withdraw';
25
27
  export * from './workflow';
26
28
  export * from './workflow-create';
27
29
  export * from './workflow-vote-request';
30
+ export * from './workflow-vote-request-vote-type';
package/dist/models.js CHANGED
@@ -37,8 +37,11 @@ __exportStar(require("./remove-group-entities-request"), exports);
37
37
  __exportStar(require("./user"), exports);
38
38
  __exportStar(require("./user-create"), exports);
39
39
  __exportStar(require("./user-summary"), exports);
40
- __exportStar(require("./vote-mode"), exports);
40
+ __exportStar(require("./vote-approve"), exports);
41
+ __exportStar(require("./vote-veto"), exports);
42
+ __exportStar(require("./vote-withdraw"), exports);
41
43
  __exportStar(require("./workflow"), exports);
42
44
  __exportStar(require("./workflow-create"), exports);
43
45
  __exportStar(require("./workflow-vote-request"), exports);
46
+ __exportStar(require("./workflow-vote-request-vote-type"), exports);
44
47
  //# sourceMappingURL=models.js.map
@@ -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,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,0CAAwB;AACxB,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC;AACzC,qEAAmD;AACnD,6DAA2C;AAC3C,4DAA0C;AAC1C,gEAA8C;AAC9C,4CAA0B;AAC1B,+CAA6B;AAC7B,kEAAgD;AAChD,yCAAuB;AACvB,gDAA8B;AAC9B,iDAA+B;AAC/B,8CAA4B;AAC5B,6CAA2B;AAC3B,oDAAkC;AAClC,0DAAwC"}
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,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,0CAAwB;AACxB,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC;AACzC,qEAAmD;AACnD,6DAA2C;AAC3C,4DAA0C;AAC1C,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,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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
6
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
6
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
6
+ * The version of the OpenAPI document: 0.0.3
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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.1
6
+ * The version of the OpenAPI document: 0.0.3
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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, and groups.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.3
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 VoteApprove {
13
+ /**
14
+ * Vote type (APPROVE)
15
+ */
16
+ type: VoteApprove.TypeEnum;
17
+ /**
18
+ * List of group IDs the vote is cast for.
19
+ */
20
+ votedForGroups: Array<string>;
21
+ }
22
+ export declare namespace VoteApprove {
23
+ type TypeEnum = 'APPROVE';
24
+ const TypeEnum: {
25
+ Approve: 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, and groups.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.3
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.VoteApprove = void 0;
15
+ var VoteApprove;
16
+ (function (VoteApprove) {
17
+ VoteApprove.TypeEnum = {
18
+ Approve: 'APPROVE'
19
+ };
20
+ })(VoteApprove || (exports.VoteApprove = VoteApprove = {}));
21
+ //# sourceMappingURL=vote-approve.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vote-approve.js","sourceRoot":"","sources":["../generated/openapi/model/vote-approve.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAaH,IAAiB,WAAW,CAK3B;AALD,WAAiB,WAAW;IAEX,oBAAQ,GAAG;QACpB,OAAO,EAAE,SAAqB;KACjC,CAAC;AACN,CAAC,EALgB,WAAW,2BAAX,WAAW,QAK3B"}
@@ -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.1
5
+ * The version of the OpenAPI document: 1.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/vote-mode.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.1
6
+ * The version of the OpenAPI document: 1.0.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,23 @@
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.3
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 VoteVeto {
13
+ /**
14
+ * Vote type (VETO)
15
+ */
16
+ type: VoteVeto.TypeEnum;
17
+ }
18
+ export declare namespace VoteVeto {
19
+ type TypeEnum = 'VETO';
20
+ const TypeEnum: {
21
+ Veto: TypeEnum;
22
+ };
23
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.3
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.VoteVeto = void 0;
15
+ var VoteVeto;
16
+ (function (VoteVeto) {
17
+ VoteVeto.TypeEnum = {
18
+ Veto: 'VETO'
19
+ };
20
+ })(VoteVeto || (exports.VoteVeto = VoteVeto = {}));
21
+ //# sourceMappingURL=vote-veto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vote-veto.js","sourceRoot":"","sources":["../generated/openapi/model/vote-veto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AASH,IAAiB,QAAQ,CAKxB;AALD,WAAiB,QAAQ;IAER,iBAAQ,GAAG;QACpB,IAAI,EAAE,MAAkB;KAC3B,CAAC;AACN,CAAC,EALgB,QAAQ,wBAAR,QAAQ,QAKxB"}
@@ -0,0 +1,23 @@
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.3
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 VoteWithdraw {
13
+ /**
14
+ * Vote type (WITHDRAW)
15
+ */
16
+ type: VoteWithdraw.TypeEnum;
17
+ }
18
+ export declare namespace VoteWithdraw {
19
+ type TypeEnum = 'WITHDRAW';
20
+ const TypeEnum: {
21
+ Withdraw: TypeEnum;
22
+ };
23
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.3
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.VoteWithdraw = void 0;
15
+ var VoteWithdraw;
16
+ (function (VoteWithdraw) {
17
+ VoteWithdraw.TypeEnum = {
18
+ Withdraw: 'WITHDRAW'
19
+ };
20
+ })(VoteWithdraw || (exports.VoteWithdraw = VoteWithdraw = {}));
21
+ //# sourceMappingURL=vote-withdraw.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vote-withdraw.js","sourceRoot":"","sources":["../generated/openapi/model/vote-withdraw.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AASH,IAAiB,YAAY,CAK5B;AALD,WAAiB,YAAY;IAEZ,qBAAQ,GAAG;QACpB,QAAQ,EAAE,UAAsB;KACnC,CAAC;AACN,CAAC,EALgB,YAAY,4BAAZ,YAAY,QAK5B"}
@@ -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.1
5
+ * The version of the OpenAPI document: 0.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,19 @@
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.3
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 { VoteVeto } from './vote-veto';
13
+ import { VoteWithdraw } from './vote-withdraw';
14
+ import { VoteApprove } from './vote-approve';
15
+ /**
16
+ * @type WorkflowVoteRequestVoteType
17
+ * @export
18
+ */
19
+ export type WorkflowVoteRequestVoteType = VoteApprove | VoteVeto | VoteWithdraw;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workflow-vote-request-vote-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-vote-request-vote-type.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-vote-request-vote-type.ts"],"names":[],"mappings":""}
@@ -2,22 +2,18 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 0.0.1
5
+ * The version of the OpenAPI document: 0.0.3
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 { VoteMode } from './vote-mode';
12
+ import { WorkflowVoteRequestVoteType } from './workflow-vote-request-vote-type';
13
13
  export interface WorkflowVoteRequest {
14
14
  /**
15
- * The type of vote to cast.
16
- */
17
- voteType: string;
18
- voteMode: VoteMode;
19
- /**
20
- * Optional reason for the vote. Can be used for approval comments or decline reasons.
15
+ * Optional reason for the vote. Can be used for approval comments or reject reasons.
21
16
  */
22
17
  reason?: string;
18
+ voteType: WorkflowVoteRequestVoteType;
23
19
  }
@@ -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.1
5
+ * The version of the OpenAPI document: 0.0.3
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.2",
5
+ "version": "0.0.3",
6
6
  "private": false,
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",