@approvio/api 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) 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/auth-message-response.d.ts +17 -0
  8. package/dist/auth-message-response.js +14 -0
  9. package/dist/auth-message-response.js.map +1 -0
  10. package/dist/bound-role.d.ts +26 -0
  11. package/dist/bound-role.js +3 -0
  12. package/dist/bound-role.js.map +1 -0
  13. package/dist/can-vote-response.d.ts +1 -1
  14. package/dist/can-vote-response.js +1 -1
  15. package/dist/email-action.d.ts +1 -1
  16. package/dist/email-action.js +1 -1
  17. package/dist/entity-membership-add.d.ts +1 -1
  18. package/dist/entity-membership-remove.d.ts +1 -1
  19. package/dist/entity-reference.d.ts +1 -1
  20. package/dist/entity-reference.js +1 -1
  21. package/dist/group-create.d.ts +1 -1
  22. package/dist/group-create.js +1 -1
  23. package/dist/group-membership.d.ts +1 -1
  24. package/dist/group-requirement-rule.d.ts +1 -1
  25. package/dist/group-requirement-rule.js +1 -1
  26. package/dist/group-scope.d.ts +27 -0
  27. package/dist/group-scope.js +21 -0
  28. package/dist/group-scope.js.map +1 -0
  29. package/dist/group.d.ts +1 -1
  30. package/dist/group.js +1 -1
  31. package/dist/index.d.ts +20 -0
  32. package/dist/index.html +742 -0
  33. package/dist/index.js +20 -0
  34. package/dist/index.js.map +1 -1
  35. package/dist/list-group-entities-200-response.d.ts +1 -1
  36. package/dist/list-groups-200-response.d.ts +1 -1
  37. package/dist/list-organization-admins-200-response.d.ts +17 -0
  38. package/dist/list-organization-admins-200-response.js +3 -0
  39. package/dist/list-organization-admins-200-response.js.map +1 -0
  40. package/dist/list-organization-admins-for-org-200-response.d.ts +17 -0
  41. package/dist/list-organization-admins-for-org-200-response.js +3 -0
  42. package/dist/list-organization-admins-for-org-200-response.js.map +1 -0
  43. package/dist/list-spaces-200-response.d.ts +17 -0
  44. package/dist/list-spaces-200-response.js +3 -0
  45. package/dist/list-spaces-200-response.js.map +1 -0
  46. package/dist/list-users-200-response.d.ts +1 -1
  47. package/dist/list-workflow-templates-200-response.d.ts +1 -1
  48. package/dist/list-workflows-200-response.d.ts +1 -1
  49. package/dist/models.d.ts +4 -0
  50. package/dist/models.js +4 -0
  51. package/dist/models.js.map +1 -1
  52. package/dist/or-rule.d.ts +1 -1
  53. package/dist/org-scope.d.ts +23 -0
  54. package/dist/org-scope.js +21 -0
  55. package/dist/org-scope.js.map +1 -0
  56. package/dist/organization-admin-create.d.ts +17 -0
  57. package/dist/organization-admin-create.js +14 -0
  58. package/dist/organization-admin-create.js.map +1 -0
  59. package/dist/organization-admin-remove.d.ts +17 -0
  60. package/dist/organization-admin-remove.js +14 -0
  61. package/dist/organization-admin-remove.js.map +1 -0
  62. package/dist/organization-admin.d.ts +25 -0
  63. package/dist/organization-admin.js +14 -0
  64. package/dist/organization-admin.js.map +1 -0
  65. package/dist/pagination.d.ts +1 -1
  66. package/dist/pagination.js +1 -1
  67. package/dist/remove-group-entities-request.d.ts +1 -1
  68. package/dist/role-scope.d.ts +24 -0
  69. package/dist/role-scope.js +3 -0
  70. package/dist/role-scope.js.map +1 -0
  71. package/dist/role.d.ts +26 -0
  72. package/dist/role.js +3 -0
  73. package/dist/role.js.map +1 -0
  74. package/dist/space-create.d.ts +21 -0
  75. package/dist/space-create.js +14 -0
  76. package/dist/space-create.js.map +1 -0
  77. package/dist/space-scope.d.ts +27 -0
  78. package/dist/space-scope.js +21 -0
  79. package/dist/space-scope.js.map +1 -0
  80. package/dist/space.d.ts +33 -0
  81. package/dist/space.js +14 -0
  82. package/dist/space.js.map +1 -0
  83. package/dist/token-request.d.ts +21 -0
  84. package/dist/token-request.js +14 -0
  85. package/dist/token-request.js.map +1 -0
  86. package/dist/token-response.d.ts +17 -0
  87. package/dist/token-response.js +14 -0
  88. package/dist/token-response.js.map +1 -0
  89. package/dist/user-create.d.ts +1 -1
  90. package/dist/user-create.js +1 -1
  91. package/dist/user-summary.d.ts +1 -1
  92. package/dist/user-summary.js +1 -1
  93. package/dist/user.d.ts +1 -1
  94. package/dist/user.js +1 -1
  95. package/dist/vote-approve.d.ts +2 -2
  96. package/dist/vote-approve.js +1 -1
  97. package/dist/vote-veto.d.ts +1 -1
  98. package/dist/vote-veto.js +1 -1
  99. package/dist/vote-withdraw.d.ts +1 -1
  100. package/dist/vote-withdraw.js +1 -1
  101. package/dist/workflow-action.d.ts +1 -1
  102. package/dist/workflow-create.d.ts +1 -1
  103. package/dist/workflow-create.js +1 -1
  104. package/dist/workflow-ref.d.ts +1 -1
  105. package/dist/workflow-template-create.d.ts +1 -1
  106. package/dist/workflow-template-delete.d.ts +17 -0
  107. package/dist/workflow-template-delete.js +14 -0
  108. package/dist/workflow-template-delete.js.map +1 -0
  109. package/dist/workflow-template-deprecate.d.ts +17 -0
  110. package/dist/workflow-template-deprecate.js +14 -0
  111. package/dist/workflow-template-deprecate.js.map +1 -0
  112. package/dist/workflow-template-scope.d.ts +27 -0
  113. package/dist/workflow-template-scope.js +21 -0
  114. package/dist/workflow-template-scope.js.map +1 -0
  115. package/dist/workflow-template-summary.d.ts +5 -1
  116. package/dist/workflow-template-summary.js +1 -1
  117. package/dist/workflow-template-update.d.ts +5 -5
  118. package/dist/workflow-template.d.ts +21 -1
  119. package/dist/workflow-template.js +9 -0
  120. package/dist/workflow-template.js.map +1 -1
  121. package/dist/workflow-vote-request-vote-type.d.ts +1 -1
  122. package/dist/workflow-vote-request.d.ts +1 -1
  123. package/dist/workflow.d.ts +1 -1
  124. package/package.json +3 -1
package/dist/index.js CHANGED
@@ -16,37 +16,56 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  };
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  __exportStar(require("./workflow-create"), exports);
19
+ __exportStar(require("./organization-admin-remove"), exports);
20
+ __exportStar(require("./role-scope"), exports);
19
21
  __exportStar(require("./list-users-200-response"), exports);
20
22
  __exportStar(require("./group-create"), exports);
21
23
  __exportStar(require("./pagination"), exports);
22
24
  __exportStar(require("./and-rule"), exports);
23
25
  __exportStar(require("./entity-membership-add"), exports);
24
26
  __exportStar(require("./email-action"), exports);
27
+ __exportStar(require("./org-scope"), exports);
28
+ __exportStar(require("./organization-admin"), exports);
25
29
  __exportStar(require("./can-vote-response"), exports);
26
30
  __exportStar(require("./list-group-entities-200-response"), exports);
27
31
  __exportStar(require("./workflow-template-update"), exports);
28
32
  __exportStar(require("./api-error"), exports);
33
+ __exportStar(require("./workflow-template-delete"), exports);
29
34
  __exportStar(require("./approval-rule"), exports);
30
35
  __exportStar(require("./user"), exports);
31
36
  __exportStar(require("./user-create"), exports);
37
+ __exportStar(require("./auth-message-response"), exports);
32
38
  __exportStar(require("./workflow-vote-request"), exports);
33
39
  __exportStar(require("./api-error-details-inner"), exports);
40
+ __exportStar(require("./group-scope"), exports);
34
41
  __exportStar(require("./workflow-ref"), exports);
35
42
  __exportStar(require("./remove-group-entities-request"), exports);
43
+ __exportStar(require("./list-organization-admins-200-response"), exports);
36
44
  __exportStar(require("./add-group-entities-request"), exports);
45
+ __exportStar(require("./token-response"), exports);
37
46
  __exportStar(require("./workflow-template-create"), exports);
38
47
  __exportStar(require("./models"), exports);
48
+ __exportStar(require("./organization-admin-create"), exports);
49
+ __exportStar(require("./space"), exports);
39
50
  __exportStar(require("./group"), exports);
51
+ __exportStar(require("./list-spaces-200-response"), exports);
52
+ __exportStar(require("./workflow-template-deprecate"), exports);
40
53
  __exportStar(require("./group-requirement-rule"), exports);
41
54
  __exportStar(require("./vote-veto"), exports);
42
55
  __exportStar(require("./vote-withdraw"), exports);
43
56
  __exportStar(require("./list-workflows-200-response"), exports);
44
57
  __exportStar(require("./group-membership"), exports);
58
+ __exportStar(require("./role"), exports);
45
59
  __exportStar(require("./list-workflow-templates-200-response"), exports);
46
60
  __exportStar(require("./list-groups-200-response"), exports);
61
+ __exportStar(require("./space-scope"), exports);
62
+ __exportStar(require("./space-create"), exports);
47
63
  __exportStar(require("./workflow-vote-request-vote-type"), exports);
48
64
  __exportStar(require("./vote-mode"), exports);
65
+ __exportStar(require("./list-organization-admins-for-org-200-response"), exports);
66
+ __exportStar(require("./workflow-template-scope"), exports);
49
67
  __exportStar(require("./entity-membership-remove"), exports);
68
+ __exportStar(require("./bound-role"), exports);
50
69
  __exportStar(require("./workflow"), exports);
51
70
  __exportStar(require("./workflow-action"), exports);
52
71
  __exportStar(require("./or-rule"), exports);
@@ -54,5 +73,6 @@ __exportStar(require("./user-summary"), exports);
54
73
  __exportStar(require("./entity-reference"), exports);
55
74
  __exportStar(require("./vote-approve"), exports);
56
75
  __exportStar(require("./workflow-template"), exports);
76
+ __exportStar(require("./token-request"), exports);
57
77
  __exportStar(require("./workflow-template-summary"), exports);
58
78
  //# 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,iDAA+B;AAC/B,sDAAoC;AACpC,qEAAmD;AACnD,6DAA2C;AAC3C,8CAA4B;AAC5B,kDAAgC;AAChC,yCAAuB;AACvB,gDAA8B;AAC9B,0DAAwC;AACxC,4DAA0C;AAC1C,iDAA+B;AAC/B,kEAAgD;AAChD,+DAA6C;AAC7C,6DAA2C;AAC3C,2CAAyB;AACzB,0CAAwB;AACxB,2DAAyC;AACzC,8CAA4B;AAC5B,kDAAgC;AAChC,gEAA8C;AAC9C,qDAAmC;AACnC,yEAAuD;AACvD,6DAA2C;AAC3C,oEAAkD;AAClD,8CAA4B;AAC5B,6DAA2C;AAC3C,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,8DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../generated/openapi/model/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;;;;;;;;;;;;;;;;AAE5B,oDAAkC;AAClC,8DAA4C;AAC5C,+CAA6B;AAC7B,4DAA0C;AAC1C,iDAA+B;AAC/B,+CAA6B;AAC7B,6CAA2B;AAC3B,0DAAwC;AACxC,iDAA+B;AAC/B,8CAA4B;AAC5B,uDAAqC;AACrC,sDAAoC;AACpC,qEAAmD;AACnD,6DAA2C;AAC3C,8CAA4B;AAC5B,6DAA2C;AAC3C,kDAAgC;AAChC,yCAAuB;AACvB,gDAA8B;AAC9B,0DAAwC;AACxC,0DAAwC;AACxC,4DAA0C;AAC1C,gDAA8B;AAC9B,iDAA+B;AAC/B,kEAAgD;AAChD,0EAAwD;AACxD,+DAA6C;AAC7C,mDAAiC;AACjC,6DAA2C;AAC3C,2CAAyB;AACzB,8DAA4C;AAC5C,0CAAwB;AACxB,0CAAwB;AACxB,6DAA2C;AAC3C,gEAA8C;AAC9C,2DAAyC;AACzC,8CAA4B;AAC5B,kDAAgC;AAChC,gEAA8C;AAC9C,qDAAmC;AACnC,yCAAuB;AACvB,yEAAuD;AACvD,6DAA2C;AAC3C,gDAA8B;AAC9B,iDAA+B;AAC/B,oEAAkD;AAClD,8CAA4B;AAC5B,kFAAgE;AAChE,4DAA0C;AAC1C,6DAA2C;AAC3C,+CAA6B;AAC7B,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,kDAAgC;AAChC,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.6
5
+ * The version of the OpenAPI document: 0.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 0.0.6
5
+ * The version of the OpenAPI document: 0.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
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 { Pagination } from './pagination';
13
+ import { OrganizationAdmin } from './organization-admin';
14
+ export interface ListOrganizationAdmins200Response {
15
+ data: Array<OrganizationAdmin>;
16
+ pagination: Pagination;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=list-organization-admins-200-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-organization-admins-200-response.js","sourceRoot":"","sources":["../generated/openapi/model/list-organization-admins-200-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Pagination } from './pagination';
13
+ import { OrganizationAdmin } from './organization-admin';
14
+ export interface ListOrganizationAdminsForOrg200Response {
15
+ data: Array<OrganizationAdmin>;
16
+ pagination: Pagination;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=list-organization-admins-for-org-200-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-organization-admins-for-org-200-response.js","sourceRoot":"","sources":["../generated/openapi/model/list-organization-admins-for-org-200-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Space } from './space';
13
+ import { Pagination } from './pagination';
14
+ export interface ListSpaces200Response {
15
+ data: Array<Space>;
16
+ pagination: Pagination;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=list-spaces-200-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-spaces-200-response.js","sourceRoot":"","sources":["../generated/openapi/model/list-spaces-200-response.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.6
5
+ * The version of the OpenAPI document: 0.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 0.0.6
5
+ * The version of the OpenAPI document: 0.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 0.0.6
5
+ * The version of the OpenAPI document: 0.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/models.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './api-error-details-inner';
3
3
  export * from './add-group-entities-request';
4
4
  export * from './and-rule';
5
5
  export * from './approval-rule';
6
+ export * from './auth-message-response';
6
7
  export * from './can-vote-response';
7
8
  export * from './email-action';
8
9
  export * from './entity-membership-add';
@@ -20,6 +21,8 @@ export * from './list-workflows-200-response';
20
21
  export * from './or-rule';
21
22
  export * from './pagination';
22
23
  export * from './remove-group-entities-request';
24
+ export * from './token-request';
25
+ export * from './token-response';
23
26
  export * from './user';
24
27
  export * from './user-create';
25
28
  export * from './user-summary';
@@ -32,6 +35,7 @@ export * from './workflow-create';
32
35
  export * from './workflow-ref';
33
36
  export * from './workflow-template';
34
37
  export * from './workflow-template-create';
38
+ export * from './workflow-template-deprecate';
35
39
  export * from './workflow-template-summary';
36
40
  export * from './workflow-template-update';
37
41
  export * from './workflow-vote-request';
package/dist/models.js CHANGED
@@ -19,6 +19,7 @@ __exportStar(require("./api-error-details-inner"), exports);
19
19
  __exportStar(require("./add-group-entities-request"), exports);
20
20
  __exportStar(require("./and-rule"), exports);
21
21
  __exportStar(require("./approval-rule"), exports);
22
+ __exportStar(require("./auth-message-response"), exports);
22
23
  __exportStar(require("./can-vote-response"), exports);
23
24
  __exportStar(require("./email-action"), exports);
24
25
  __exportStar(require("./entity-membership-add"), exports);
@@ -36,6 +37,8 @@ __exportStar(require("./list-workflows-200-response"), exports);
36
37
  __exportStar(require("./or-rule"), exports);
37
38
  __exportStar(require("./pagination"), exports);
38
39
  __exportStar(require("./remove-group-entities-request"), exports);
40
+ __exportStar(require("./token-request"), exports);
41
+ __exportStar(require("./token-response"), exports);
39
42
  __exportStar(require("./user"), exports);
40
43
  __exportStar(require("./user-create"), exports);
41
44
  __exportStar(require("./user-summary"), exports);
@@ -48,6 +51,7 @@ __exportStar(require("./workflow-create"), exports);
48
51
  __exportStar(require("./workflow-ref"), exports);
49
52
  __exportStar(require("./workflow-template"), exports);
50
53
  __exportStar(require("./workflow-template-create"), exports);
54
+ __exportStar(require("./workflow-template-deprecate"), exports);
51
55
  __exportStar(require("./workflow-template-summary"), exports);
52
56
  __exportStar(require("./workflow-template-update"), exports);
53
57
  __exportStar(require("./workflow-vote-request"), 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,iDAA+B;AAC/B,sDAAoC;AACpC,6DAA2C;AAC3C,8DAA4C;AAC5C,6DAA2C;AAC3C,0DAAwC;AACxC,oEAAkD"}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../generated/openapi/model/models.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,4DAA0C;AAC1C,+DAA6C;AAC7C,6CAA2B;AAC3B,kDAAgC;AAChC,0DAAwC;AACxC,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,kDAAgC;AAChC,mDAAiC;AACjC,yCAAuB;AACvB,gDAA8B;AAC9B,iDAA+B;AAC/B,iDAA+B;AAC/B,8CAA4B;AAC5B,kDAAgC;AAChC,6CAA2B;AAC3B,oDAAkC;AAClC,oDAAkC;AAClC,iDAA+B;AAC/B,sDAAoC;AACpC,6DAA2C;AAC3C,gEAA8C;AAC9C,8DAA4C;AAC5C,6DAA2C;AAC3C,0DAAwC;AACxC,oEAAkD"}
package/dist/or-rule.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 0.0.6
5
+ * The version of the OpenAPI document: 0.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface OrgScope {
13
+ /**
14
+ * Organization scope
15
+ */
16
+ type: OrgScope.TypeEnum;
17
+ }
18
+ export declare namespace OrgScope {
19
+ type TypeEnum = 'org';
20
+ const TypeEnum: {
21
+ Org: 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, groups, and organizational spaces with role-based access control.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.8
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.OrgScope = void 0;
15
+ var OrgScope;
16
+ (function (OrgScope) {
17
+ OrgScope.TypeEnum = {
18
+ Org: 'org'
19
+ };
20
+ })(OrgScope || (exports.OrgScope = OrgScope = {}));
21
+ //# sourceMappingURL=org-scope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"org-scope.js","sourceRoot":"","sources":["../generated/openapi/model/org-scope.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AASH,IAAiB,QAAQ,CAKxB;AALD,WAAiB,QAAQ;IAER,iBAAQ,GAAG;QACpB,GAAG,EAAE,KAAiB;KACzB,CAAC;AACN,CAAC,EALgB,QAAQ,wBAAR,QAAQ,QAKxB"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface OrganizationAdminCreate {
13
+ /**
14
+ * Email address of the organization administrator
15
+ */
16
+ email: string;
17
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.8
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ //# sourceMappingURL=organization-admin-create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-admin-create.js","sourceRoot":"","sources":["../generated/openapi/model/organization-admin-create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface OrganizationAdminRemove {
13
+ /**
14
+ * The unique identifier of the user to remove from organization admins
15
+ */
16
+ userId: string;
17
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.8
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ //# sourceMappingURL=organization-admin-remove.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-admin-remove.js","sourceRoot":"","sources":["../generated/openapi/model/organization-admin-remove.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface OrganizationAdmin {
13
+ /**
14
+ * Unique identifier of the user who is an organization admin
15
+ */
16
+ readonly userId: string;
17
+ /**
18
+ * Email address of the organization administrator
19
+ */
20
+ email: string;
21
+ /**
22
+ * Timestamp when the admin was created
23
+ */
24
+ readonly createdAt: string;
25
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.8
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ //# sourceMappingURL=organization-admin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-admin.js","sourceRoot":"","sources":["../generated/openapi/model/organization-admin.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -2,7 +2,7 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 0.0.6
5
+ * The version of the OpenAPI document: 0.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Workflow Approval System API
4
4
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
5
  *
6
- * The version of the OpenAPI document: 0.0.6
6
+ * The version of the OpenAPI document: 0.0.8
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Workflow Approval System API
3
3
  * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
4
  *
5
- * The version of the OpenAPI document: 0.0.6
5
+ * The version of the OpenAPI document: 0.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { OrgScope } from './org-scope';
13
+ import { GroupScope } from './group-scope';
14
+ import { SpaceScope } from './space-scope';
15
+ import { WorkflowTemplateScope } from './workflow-template-scope';
16
+ /**
17
+ * Defines the scope where a role applies
18
+ */
19
+ /**
20
+ * @type RoleScope
21
+ * Defines the scope where a role applies
22
+ * @export
23
+ */
24
+ export type RoleScope = GroupScope | OrgScope | SpaceScope | WorkflowTemplateScope;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=role-scope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-scope.js","sourceRoot":"","sources":["../generated/openapi/model/role-scope.ts"],"names":[],"mappings":""}
package/dist/role.d.ts ADDED
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { RoleScope } from './role-scope';
13
+ /**
14
+ * A role definition bound to a specific scope with permissions
15
+ */
16
+ export interface Role {
17
+ /**
18
+ * Name of the role (max 100 characters)
19
+ */
20
+ name: string;
21
+ /**
22
+ * List of permissions granted by this role
23
+ */
24
+ permissions: Array<string>;
25
+ scope: RoleScope;
26
+ }
package/dist/role.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=role.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role.js","sourceRoot":"","sources":["../generated/openapi/model/role.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface SpaceCreate {
13
+ /**
14
+ * Name of the space (max 255 characters)
15
+ */
16
+ name: string;
17
+ /**
18
+ * Description of the space (max 2048 characters)
19
+ */
20
+ description?: string;
21
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.8
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ //# sourceMappingURL=space-create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"space-create.js","sourceRoot":"","sources":["../generated/openapi/model/space-create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Workflow Approval System API
3
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.8
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface SpaceScope {
13
+ /**
14
+ * Space scope
15
+ */
16
+ type: SpaceScope.TypeEnum;
17
+ /**
18
+ * ID of the space
19
+ */
20
+ spaceId: string;
21
+ }
22
+ export declare namespace SpaceScope {
23
+ type TypeEnum = 'space';
24
+ const TypeEnum: {
25
+ Space: TypeEnum;
26
+ };
27
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * Workflow Approval System API
4
+ * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, groups, and organizational spaces with role-based access control.
5
+ *
6
+ * The version of the OpenAPI document: 0.0.8
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.SpaceScope = void 0;
15
+ var SpaceScope;
16
+ (function (SpaceScope) {
17
+ SpaceScope.TypeEnum = {
18
+ Space: 'space'
19
+ };
20
+ })(SpaceScope || (exports.SpaceScope = SpaceScope = {}));
21
+ //# sourceMappingURL=space-scope.js.map