@approvio/api 0.0.1 → 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 (102) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +4 -17
  3. package/{generated/openapi/model/add-group-entities-request.ts → dist/add-group-entities-request.d.ts} +3 -6
  4. package/dist/add-group-entities-request.js +3 -0
  5. package/dist/add-group-entities-request.js.map +1 -0
  6. package/{generated/openapi/model/and-rule.ts → dist/and-rule.d.ts} +7 -11
  7. package/dist/and-rule.js +10 -0
  8. package/dist/and-rule.js.map +1 -0
  9. package/{generated/openapi/model/api-error-details-inner.ts → dist/api-error-details-inner.d.ts} +3 -6
  10. package/dist/api-error-details-inner.js +14 -0
  11. package/dist/api-error-details-inner.js.map +1 -0
  12. package/{generated/openapi/model/api-error.ts → dist/api-error.d.ts} +3 -6
  13. package/dist/api-error.js +3 -0
  14. package/dist/api-error.js.map +1 -0
  15. package/{generated/openapi/model/approval-rule.ts → dist/approval-rule.d.ts} +4 -7
  16. package/dist/approval-rule.js +3 -0
  17. package/dist/approval-rule.js.map +1 -0
  18. package/{generated/openapi/model/can-vote-response.ts → dist/can-vote-response.d.ts} +4 -7
  19. package/dist/can-vote-response.js +14 -0
  20. package/dist/can-vote-response.js.map +1 -0
  21. package/{generated/openapi/model/entity-membership-add.ts → dist/entity-membership-add.d.ts} +3 -6
  22. package/dist/entity-membership-add.js +3 -0
  23. package/dist/entity-membership-add.js.map +1 -0
  24. package/{generated/openapi/model/entity-membership-remove.ts → dist/entity-membership-remove.d.ts} +3 -6
  25. package/dist/entity-membership-remove.js +3 -0
  26. package/dist/entity-membership-remove.js.map +1 -0
  27. package/{generated/openapi/model/entity-reference.ts → dist/entity-reference.d.ts} +3 -6
  28. package/dist/entity-reference.js +14 -0
  29. package/dist/entity-reference.js.map +1 -0
  30. package/{generated/openapi/model/group-create.ts → dist/group-create.d.ts} +3 -6
  31. package/dist/group-create.js +14 -0
  32. package/dist/group-create.js.map +1 -0
  33. package/{generated/openapi/model/group-membership.ts → dist/group-membership.d.ts} +3 -6
  34. package/dist/group-membership.js +3 -0
  35. package/dist/group-membership.js.map +1 -0
  36. package/{generated/openapi/model/group-requirement-rule.ts → dist/group-requirement-rule.d.ts} +7 -11
  37. package/dist/group-requirement-rule.js +21 -0
  38. package/dist/group-requirement-rule.js.map +1 -0
  39. package/{generated/openapi/model/group.ts → dist/group.d.ts} +3 -6
  40. package/dist/group.js +14 -0
  41. package/dist/group.js.map +1 -0
  42. package/{generated/openapi/model/index.ts → dist/index.d.ts} +4 -2
  43. package/dist/index.js +50 -0
  44. package/dist/index.js.map +1 -0
  45. package/{generated/openapi/model/list-group-entities-200-response.ts → dist/list-group-entities-200-response.d.ts} +3 -6
  46. package/dist/list-group-entities-200-response.js +3 -0
  47. package/dist/list-group-entities-200-response.js.map +1 -0
  48. package/{generated/openapi/model/list-groups-200-response.ts → dist/list-groups-200-response.d.ts} +3 -6
  49. package/dist/list-groups-200-response.js +3 -0
  50. package/dist/list-groups-200-response.js.map +1 -0
  51. package/{generated/openapi/model/list-users-200-response.ts → dist/list-users-200-response.d.ts} +3 -6
  52. package/dist/list-users-200-response.js +3 -0
  53. package/dist/list-users-200-response.js.map +1 -0
  54. package/{generated/openapi/model/list-workflows-200-response.ts → dist/list-workflows-200-response.d.ts} +3 -6
  55. package/dist/list-workflows-200-response.js +3 -0
  56. package/dist/list-workflows-200-response.js.map +1 -0
  57. package/{generated/openapi/model/models.ts → dist/models.d.ts} +4 -1
  58. package/dist/models.js +47 -0
  59. package/dist/models.js.map +1 -0
  60. package/{generated/openapi/model/or-rule.ts → dist/or-rule.d.ts} +7 -11
  61. package/dist/or-rule.js +10 -0
  62. package/dist/or-rule.js.map +1 -0
  63. package/{generated/openapi/model/pagination.ts → dist/pagination.d.ts} +3 -6
  64. package/dist/pagination.js +14 -0
  65. package/dist/pagination.js.map +1 -0
  66. package/{generated/openapi/model/remove-group-entities-request.ts → dist/remove-group-entities-request.d.ts} +3 -6
  67. package/dist/remove-group-entities-request.js +3 -0
  68. package/dist/remove-group-entities-request.js.map +1 -0
  69. package/{generated/openapi/model/user-create.ts → dist/user-create.d.ts} +3 -6
  70. package/dist/user-create.js +14 -0
  71. package/dist/user-create.js.map +1 -0
  72. package/{generated/openapi/model/user-summary.ts → dist/user-summary.d.ts} +3 -6
  73. package/dist/user-summary.js +14 -0
  74. package/dist/user-summary.js.map +1 -0
  75. package/{generated/openapi/model/user.ts → dist/user.d.ts} +3 -6
  76. package/dist/user.js +14 -0
  77. package/dist/user.js.map +1 -0
  78. package/dist/vote-approve.d.ts +27 -0
  79. package/dist/vote-approve.js +21 -0
  80. package/dist/vote-approve.js.map +1 -0
  81. package/{generated/openapi/model/vote-mode.ts → dist/vote-mode.d.ts} +3 -6
  82. package/dist/vote-mode.js +14 -0
  83. package/dist/vote-mode.js.map +1 -0
  84. package/dist/vote-veto.d.ts +23 -0
  85. package/dist/vote-veto.js +21 -0
  86. package/dist/vote-veto.js.map +1 -0
  87. package/dist/vote-withdraw.d.ts +23 -0
  88. package/dist/vote-withdraw.js +21 -0
  89. package/dist/vote-withdraw.js.map +1 -0
  90. package/{generated/openapi/model/workflow-create.ts → dist/workflow-create.d.ts} +3 -6
  91. package/dist/workflow-create.js +3 -0
  92. package/dist/workflow-create.js.map +1 -0
  93. package/dist/workflow-vote-request-vote-type.d.ts +19 -0
  94. package/dist/workflow-vote-request-vote-type.js +3 -0
  95. package/dist/workflow-vote-request-vote-type.js.map +1 -0
  96. package/{generated/openapi/model/workflow-vote-request.ts → dist/workflow-vote-request.d.ts} +6 -13
  97. package/dist/workflow-vote-request.js +3 -0
  98. package/dist/workflow-vote-request.js.map +1 -0
  99. package/{generated/openapi/model/workflow.ts → dist/workflow.d.ts} +3 -6
  100. package/dist/workflow.js +3 -0
  101. package/dist/workflow.js.map +1 -0
  102. package/package.json +11 -6
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`.
@@ -72,9 +60,8 @@ To publish this package to an NPM registry:
72
60
  yarn login
73
61
  ```
74
62
 
75
-
76
63
  1. Run `yarn publish`:
77
64
 
78
65
  ```bash
79
- yarn publish
66
+ yarn publish --access public
80
67
  ```
@@ -2,23 +2,20 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { EntityMembershipAdd } from './entity-membership-add';
13
-
14
-
15
13
  /**
16
14
  * Defines operations to add entities within a group
17
15
  */
18
- export interface AddGroupEntitiesRequest {
16
+ export interface AddGroupEntitiesRequest {
19
17
  /**
20
18
  * List of entities to add to the group.
21
19
  */
22
20
  entities: Array<EntityMembershipAdd>;
23
21
  }
24
-
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=add-group-entities-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-group-entities-request.js","sourceRoot":"","sources":["../generated/openapi/model/add-group-entities-request.ts"],"names":[],"mappings":""}
@@ -2,20 +2,18 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ApprovalRule } from './approval-rule';
13
-
14
-
15
13
  /**
16
14
  * An AND rule requiring all nested rules to be satisfied.
17
15
  */
18
- export interface AndRule {
16
+ export interface AndRule {
19
17
  /**
20
18
  * Rule type (AND)
21
19
  */
@@ -25,11 +23,9 @@ export interface AndRule {
25
23
  */
26
24
  rules: Array<ApprovalRule>;
27
25
  }
28
- export namespace AndRule {
29
- export type TypeEnum = 'AND';
30
- export const TypeEnum = {
31
- And: 'AND' as TypeEnum
26
+ export declare namespace AndRule {
27
+ type TypeEnum = 'AND';
28
+ const TypeEnum: {
29
+ And: TypeEnum;
32
30
  };
33
31
  }
34
-
35
-
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AndRule = void 0;
4
+ var AndRule;
5
+ (function (AndRule) {
6
+ AndRule.TypeEnum = {
7
+ And: 'AND'
8
+ };
9
+ })(AndRule || (exports.AndRule = AndRule = {}));
10
+ //# sourceMappingURL=and-rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"and-rule.js","sourceRoot":"","sources":["../generated/openapi/model/and-rule.ts"],"names":[],"mappings":";;;AA2BA,IAAiB,OAAO,CAKvB;AALD,WAAiB,OAAO;IAEP,gBAAQ,GAAG;QACpB,GAAG,EAAE,KAAiB;KACzB,CAAC;AACN,CAAC,EALgB,OAAO,uBAAP,OAAO,QAKvB"}
@@ -2,17 +2,14 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
-
13
-
14
- export interface APIErrorDetailsInner {
12
+ export interface APIErrorDetailsInner {
15
13
  field?: string;
16
14
  message?: string;
17
15
  }
18
-
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.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
+ //# sourceMappingURL=api-error-details-inner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-error-details-inner.js","sourceRoot":"","sources":["../generated/openapi/model/api-error-details-inner.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -2,17 +2,15 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { APIErrorDetailsInner } from './api-error-details-inner';
13
-
14
-
15
- export interface APIError {
13
+ export interface APIError {
16
14
  /**
17
15
  * Error code
18
16
  */
@@ -23,4 +21,3 @@ export interface APIError {
23
21
  message?: string;
24
22
  details?: Array<APIErrorDetailsInner>;
25
23
  }
26
-
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=api-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-error.js","sourceRoot":"","sources":["../generated/openapi/model/api-error.ts"],"names":[],"mappings":""}
@@ -2,8 +2,8 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -12,15 +12,12 @@
12
12
  import { AndRule } from './and-rule';
13
13
  import { OrRule } from './or-rule';
14
14
  import { GroupRequirementRule } from './group-requirement-rule';
15
-
16
-
17
15
  /**
18
- * Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
16
+ * Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
19
17
  */
20
18
  /**
21
19
  * @type ApprovalRule
22
- * Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
20
+ * Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
23
21
  * @export
24
22
  */
25
23
  export type ApprovalRule = AndRule | GroupRequirementRule | OrRule;
26
-
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=approval-rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"approval-rule.js","sourceRoot":"","sources":["../generated/openapi/model/approval-rule.ts"],"names":[],"mappings":""}
@@ -2,23 +2,20 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
-
13
-
14
- export interface CanVoteResponse {
12
+ export interface CanVoteResponse {
15
13
  /**
16
14
  * True if the authenticated entity can currently vote on the workflow, false otherwise.
17
15
  */
18
16
  canVote: boolean;
19
17
  /**
20
- * Indicates the voting status for the user on this workflow. Relevant only if \'canVote\' is true or if the user had voting rights previously.
18
+ * Indicates the voting status for the user on this workflow. Relevant only if \'canVote\' is true or if the user had voting rights previously.
21
19
  */
22
20
  voteStatus: string;
23
21
  }
24
-
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.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
+ //# sourceMappingURL=can-vote-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"can-vote-response.js","sourceRoot":"","sources":["../generated/openapi/model/can-vote-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -2,21 +2,18 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { EntityReference } from './entity-reference';
13
-
14
-
15
- export interface EntityMembershipAdd {
13
+ export interface EntityMembershipAdd {
16
14
  entity: EntityReference;
17
15
  /**
18
16
  * Role assigned to the entity within the group.
19
17
  */
20
18
  role: string;
21
19
  }
22
-
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entity-membership-add.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-membership-add.js","sourceRoot":"","sources":["../generated/openapi/model/entity-membership-add.ts"],"names":[],"mappings":""}
@@ -2,17 +2,14 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { EntityReference } from './entity-reference';
13
-
14
-
15
- export interface EntityMembershipRemove {
13
+ export interface EntityMembershipRemove {
16
14
  entity: EntityReference;
17
15
  }
18
-
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entity-membership-remove.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-membership-remove.js","sourceRoot":"","sources":["../generated/openapi/model/entity-membership-remove.ts"],"names":[],"mappings":""}
@@ -2,16 +2,14 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
-
13
-
14
- export interface EntityReference {
12
+ export interface EntityReference {
15
13
  /**
16
14
  * The type of the entity being referenced.
17
15
  */
@@ -21,4 +19,3 @@ export interface EntityReference {
21
19
  */
22
20
  entityId: string;
23
21
  }
24
-
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.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
+ //# sourceMappingURL=entity-reference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-reference.js","sourceRoot":"","sources":["../generated/openapi/model/entity-reference.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -2,16 +2,14 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
-
13
-
14
- export interface GroupCreate {
12
+ export interface GroupCreate {
15
13
  /**
16
14
  * Name of the group
17
15
  */
@@ -21,4 +19,3 @@ export interface GroupCreate {
21
19
  */
22
20
  description?: string;
23
21
  }
24
-
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.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
+ //# sourceMappingURL=group-create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-create.js","sourceRoot":"","sources":["../generated/openapi/model/group-create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -2,17 +2,15 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { EntityReference } from './entity-reference';
13
-
14
-
15
- export interface GroupMembership {
13
+ export interface GroupMembership {
16
14
  entity: EntityReference;
17
15
  /**
18
16
  * The role of the entity within the group.
@@ -23,4 +21,3 @@ export interface GroupMembership {
23
21
  */
24
22
  readonly addedAt: string;
25
23
  }
26
-
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=group-membership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-membership.js","sourceRoot":"","sources":["../generated/openapi/model/group-membership.ts"],"names":[],"mappings":""}
@@ -2,19 +2,17 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
-
13
-
14
12
  /**
15
13
  * Requires a minimum number of approvals from a specific group.
16
14
  */
17
- export interface GroupRequirementRule {
15
+ export interface GroupRequirementRule {
18
16
  /**
19
17
  * Rule type (GROUP_REQUIREMENT)
20
18
  */
@@ -28,11 +26,9 @@ export interface GroupRequirementRule {
28
26
  */
29
27
  minCount: number;
30
28
  }
31
- export namespace GroupRequirementRule {
32
- export type TypeEnum = 'GROUP_REQUIREMENT';
33
- export const TypeEnum = {
34
- GroupRequirement: 'GROUP_REQUIREMENT' as TypeEnum
29
+ export declare namespace GroupRequirementRule {
30
+ type TypeEnum = 'GROUP_REQUIREMENT';
31
+ const TypeEnum: {
32
+ GroupRequirement: TypeEnum;
35
33
  };
36
34
  }
37
-
38
-
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.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.GroupRequirementRule = void 0;
15
+ var GroupRequirementRule;
16
+ (function (GroupRequirementRule) {
17
+ GroupRequirementRule.TypeEnum = {
18
+ GroupRequirement: 'GROUP_REQUIREMENT'
19
+ };
20
+ })(GroupRequirementRule || (exports.GroupRequirementRule = GroupRequirementRule = {}));
21
+ //# sourceMappingURL=group-requirement-rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-requirement-rule.js","sourceRoot":"","sources":["../generated/openapi/model/group-requirement-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAoBH,IAAiB,oBAAoB,CAKpC;AALD,WAAiB,oBAAoB;IAEpB,6BAAQ,GAAG;QACpB,gBAAgB,EAAE,mBAA+B;KACpD,CAAC;AACN,CAAC,EALgB,oBAAoB,oCAApB,oBAAoB,QAKpC"}
@@ -2,16 +2,14 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
5
+ * The version of the OpenAPI document: 0.0.3
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
-
13
-
14
- export interface Group {
12
+ export interface Group {
15
13
  /**
16
14
  * Unique identifier for the group
17
15
  */
@@ -37,4 +35,3 @@ export interface Group {
37
35
  */
38
36
  updatedAt: string;
39
37
  }
40
-
package/dist/group.js ADDED
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.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
+ //# sourceMappingURL=group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.js","sourceRoot":"","sources":["../generated/openapi/model/group.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -1,5 +1,3 @@
1
- // Auto-generated index file
2
-
3
1
  export * from './workflow-create';
4
2
  export * from './list-users-200-response';
5
3
  export * from './group-create';
@@ -19,12 +17,16 @@ export * from './add-group-entities-request';
19
17
  export * from './models';
20
18
  export * from './group';
21
19
  export * from './group-requirement-rule';
20
+ export * from './vote-veto';
21
+ export * from './vote-withdraw';
22
22
  export * from './list-workflows-200-response';
23
23
  export * from './group-membership';
24
24
  export * from './list-groups-200-response';
25
+ export * from './workflow-vote-request-vote-type';
25
26
  export * from './vote-mode';
26
27
  export * from './entity-membership-remove';
27
28
  export * from './workflow';
28
29
  export * from './or-rule';
29
30
  export * from './user-summary';
30
31
  export * from './entity-reference';
32
+ export * from './vote-approve';