@approvio/api 0.0.29 → 0.0.31

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 (313) hide show
  1. package/README.md +12 -1
  2. package/dist/mocks/index.cjs +137 -0
  3. package/dist/mocks/index.d.cts +44 -0
  4. package/dist/mocks/index.d.mts +44 -0
  5. package/dist/mocks/index.mjs +118 -0
  6. package/dist/src/index.cjs +1494 -0
  7. package/dist/src/index.d.cts +1434 -0
  8. package/dist/src/index.d.mts +1434 -0
  9. package/dist/src/index.mjs +1356 -0
  10. package/dist/workflow-create-DVgNnx0X.d.mts +506 -0
  11. package/dist/workflow-create-Dgj7wWZs.d.cts +506 -0
  12. package/package.json +54 -13
  13. package/dist/add-group-entities-request.d.ts +0 -21
  14. package/dist/add-group-entities-request.js +0 -3
  15. package/dist/add-group-entities-request.js.map +0 -1
  16. package/dist/agent-challenge-request.d.ts +0 -17
  17. package/dist/agent-challenge-request.js +0 -14
  18. package/dist/agent-challenge-request.js.map +0 -1
  19. package/dist/agent-challenge-response.d.ts +0 -17
  20. package/dist/agent-challenge-response.js +0 -14
  21. package/dist/agent-challenge-response.js.map +0 -1
  22. package/dist/agent-get200-response.d.ts +0 -29
  23. package/dist/agent-get200-response.js +0 -14
  24. package/dist/agent-get200-response.js.map +0 -1
  25. package/dist/agent-public-details.d.ts +0 -29
  26. package/dist/agent-public-details.js +0 -14
  27. package/dist/agent-public-details.js.map +0 -1
  28. package/dist/agent-registration-request.d.ts +0 -17
  29. package/dist/agent-registration-request.js +0 -14
  30. package/dist/agent-registration-request.js.map +0 -1
  31. package/dist/agent-registration-response.d.ts +0 -33
  32. package/dist/agent-registration-response.js +0 -14
  33. package/dist/agent-registration-response.js.map +0 -1
  34. package/dist/agent-summary.d.ts +0 -21
  35. package/dist/agent-summary.js +0 -14
  36. package/dist/agent-summary.js.map +0 -1
  37. package/dist/agent-token-request.d.ts +0 -35
  38. package/dist/agent-token-request.js +0 -24
  39. package/dist/agent-token-request.js.map +0 -1
  40. package/dist/agent-token-response.d.ts +0 -21
  41. package/dist/agent-token-response.js +0 -14
  42. package/dist/agent-token-response.js.map +0 -1
  43. package/dist/and-rule.d.ts +0 -31
  44. package/dist/and-rule.js +0 -10
  45. package/dist/and-rule.js.map +0 -1
  46. package/dist/api-error-details-inner.d.ts +0 -15
  47. package/dist/api-error-details-inner.js +0 -14
  48. package/dist/api-error-details-inner.js.map +0 -1
  49. package/dist/api-error.d.ts +0 -23
  50. package/dist/api-error.js +0 -3
  51. package/dist/api-error.js.map +0 -1
  52. package/dist/approval-rule.d.ts +0 -23
  53. package/dist/approval-rule.js +0 -3
  54. package/dist/approval-rule.js.map +0 -1
  55. package/dist/auth-message-response.d.ts +0 -29
  56. package/dist/auth-message-response.js +0 -14
  57. package/dist/auth-message-response.js.map +0 -1
  58. package/dist/bound-role.d.ts +0 -34
  59. package/dist/bound-role.js +0 -3
  60. package/dist/bound-role.js.map +0 -1
  61. package/dist/can-vote-response.d.ts +0 -29
  62. package/dist/can-vote-response.js +0 -14
  63. package/dist/can-vote-response.js.map +0 -1
  64. package/dist/email-action.d.ts +0 -30
  65. package/dist/email-action.js +0 -21
  66. package/dist/email-action.js.map +0 -1
  67. package/dist/entity-membership-add.d.ts +0 -15
  68. package/dist/entity-membership-add.js +0 -3
  69. package/dist/entity-membership-add.js.map +0 -1
  70. package/dist/entity-membership-remove.d.ts +0 -15
  71. package/dist/entity-membership-remove.js +0 -3
  72. package/dist/entity-membership-remove.js.map +0 -1
  73. package/dist/entity-reference.d.ts +0 -21
  74. package/dist/entity-reference.js +0 -14
  75. package/dist/entity-reference.js.map +0 -1
  76. package/dist/failed-auth-response.d.ts +0 -17
  77. package/dist/failed-auth-response.js +0 -14
  78. package/dist/failed-auth-response.js.map +0 -1
  79. package/dist/get-entity-info-200-response.d.ts +0 -19
  80. package/dist/get-entity-info-200-response.js +0 -3
  81. package/dist/get-entity-info-200-response.js.map +0 -1
  82. package/dist/get-user-info-200-response.d.ts +0 -19
  83. package/dist/get-user-info-200-response.js +0 -3
  84. package/dist/get-user-info-200-response.js.map +0 -1
  85. package/dist/get-workflow-params.d.ts +0 -17
  86. package/dist/get-workflow-params.js +0 -14
  87. package/dist/get-workflow-params.js.map +0 -1
  88. package/dist/get-workflow-votes-200-response.d.ts +0 -15
  89. package/dist/get-workflow-votes-200-response.js +0 -3
  90. package/dist/get-workflow-votes-200-response.js.map +0 -1
  91. package/dist/group-create.d.ts +0 -21
  92. package/dist/group-create.js +0 -14
  93. package/dist/group-create.js.map +0 -1
  94. package/dist/group-info.d.ts +0 -15
  95. package/dist/group-info.js +0 -14
  96. package/dist/group-info.js.map +0 -1
  97. package/dist/group-membership.d.ts +0 -19
  98. package/dist/group-membership.js +0 -3
  99. package/dist/group-membership.js.map +0 -1
  100. package/dist/group-requirement-rule.d.ts +0 -38
  101. package/dist/group-requirement-rule.js +0 -21
  102. package/dist/group-requirement-rule.js.map +0 -1
  103. package/dist/group-scope.d.ts +0 -30
  104. package/dist/group-scope.js +0 -21
  105. package/dist/group-scope.js.map +0 -1
  106. package/dist/group.d.ts +0 -37
  107. package/dist/group.js +0 -14
  108. package/dist/group.js.map +0 -1
  109. package/dist/health-response.d.ts +0 -21
  110. package/dist/health-response.js +0 -14
  111. package/dist/health-response.js.map +0 -1
  112. package/dist/index.d.ts +0 -99
  113. package/dist/index.html +0 -1274
  114. package/dist/index.js +0 -117
  115. package/dist/index.js.map +0 -1
  116. package/dist/initiate-cli-login-200-response.d.ts +0 -14
  117. package/dist/initiate-cli-login-200-response.js +0 -14
  118. package/dist/initiate-cli-login-200-response.js.map +0 -1
  119. package/dist/initiate-cli-login-request.d.ts +0 -17
  120. package/dist/initiate-cli-login-request.js +0 -14
  121. package/dist/initiate-cli-login-request.js.map +0 -1
  122. package/dist/list-agents-200-response.d.ts +0 -17
  123. package/dist/list-agents-200-response.js +0 -3
  124. package/dist/list-agents-200-response.js.map +0 -1
  125. package/dist/list-agents-params.d.ts +0 -21
  126. package/dist/list-agents-params.js +0 -14
  127. package/dist/list-agents-params.js.map +0 -1
  128. package/dist/list-group-entities-200-response.d.ts +0 -17
  129. package/dist/list-group-entities-200-response.js +0 -3
  130. package/dist/list-group-entities-200-response.js.map +0 -1
  131. package/dist/list-groups-200-response.d.ts +0 -17
  132. package/dist/list-groups-200-response.js +0 -3
  133. package/dist/list-groups-200-response.js.map +0 -1
  134. package/dist/list-organization-admins-200-response.d.ts +0 -17
  135. package/dist/list-organization-admins-200-response.js +0 -3
  136. package/dist/list-organization-admins-200-response.js.map +0 -1
  137. package/dist/list-organization-admins-for-org-200-response.d.ts +0 -17
  138. package/dist/list-organization-admins-for-org-200-response.js +0 -3
  139. package/dist/list-organization-admins-for-org-200-response.js.map +0 -1
  140. package/dist/list-role-templates-200-response.d.ts +0 -15
  141. package/dist/list-role-templates-200-response.js +0 -3
  142. package/dist/list-role-templates-200-response.js.map +0 -1
  143. package/dist/list-spaces-200-response.d.ts +0 -17
  144. package/dist/list-spaces-200-response.js +0 -3
  145. package/dist/list-spaces-200-response.js.map +0 -1
  146. package/dist/list-users-200-response.d.ts +0 -17
  147. package/dist/list-users-200-response.js +0 -3
  148. package/dist/list-users-200-response.js.map +0 -1
  149. package/dist/list-workflow-templates-200-response.d.ts +0 -17
  150. package/dist/list-workflow-templates-200-response.js +0 -3
  151. package/dist/list-workflow-templates-200-response.js.map +0 -1
  152. package/dist/list-workflow-templates-params.d.ts +0 -25
  153. package/dist/list-workflow-templates-params.js +0 -14
  154. package/dist/list-workflow-templates-params.js.map +0 -1
  155. package/dist/list-workflows-200-response.d.ts +0 -17
  156. package/dist/list-workflows-200-response.js +0 -3
  157. package/dist/list-workflows-200-response.js.map +0 -1
  158. package/dist/list-workflows-params.d.ts +0 -33
  159. package/dist/list-workflows-params.js +0 -14
  160. package/dist/list-workflows-params.js.map +0 -1
  161. package/dist/models.d.ts +0 -86
  162. package/dist/models.js +0 -103
  163. package/dist/models.js.map +0 -1
  164. package/dist/oidc-callback-request.d.ts +0 -21
  165. package/dist/oidc-callback-request.js +0 -14
  166. package/dist/oidc-callback-request.js.map +0 -1
  167. package/dist/or-rule.d.ts +0 -31
  168. package/dist/or-rule.js +0 -10
  169. package/dist/or-rule.js.map +0 -1
  170. package/dist/org-scope.d.ts +0 -26
  171. package/dist/org-scope.js +0 -21
  172. package/dist/org-scope.js.map +0 -1
  173. package/dist/organization-admin-create.d.ts +0 -17
  174. package/dist/organization-admin-create.js +0 -14
  175. package/dist/organization-admin-create.js.map +0 -1
  176. package/dist/organization-admin-remove.d.ts +0 -17
  177. package/dist/organization-admin-remove.js +0 -14
  178. package/dist/organization-admin-remove.js.map +0 -1
  179. package/dist/organization-admin.d.ts +0 -25
  180. package/dist/organization-admin.js +0 -14
  181. package/dist/organization-admin.js.map +0 -1
  182. package/dist/pagination.d.ts +0 -25
  183. package/dist/pagination.js +0 -14
  184. package/dist/pagination.js.map +0 -1
  185. package/dist/privileged-token-exchange-request.d.ts +0 -29
  186. package/dist/privileged-token-exchange-request.js +0 -14
  187. package/dist/privileged-token-exchange-request.js.map +0 -1
  188. package/dist/privileged-token-response.d.ts +0 -17
  189. package/dist/privileged-token-response.js +0 -14
  190. package/dist/privileged-token-response.js.map +0 -1
  191. package/dist/refresh-token-request.d.ts +0 -17
  192. package/dist/refresh-token-request.js +0 -14
  193. package/dist/refresh-token-request.js.map +0 -1
  194. package/dist/remove-group-entities-request.d.ts +0 -21
  195. package/dist/remove-group-entities-request.js +0 -3
  196. package/dist/remove-group-entities-request.js.map +0 -1
  197. package/dist/role-assignment-item.d.ts +0 -22
  198. package/dist/role-assignment-item.js +0 -3
  199. package/dist/role-assignment-item.js.map +0 -1
  200. package/dist/role-assignment-request.d.ts +0 -21
  201. package/dist/role-assignment-request.js +0 -3
  202. package/dist/role-assignment-request.js.map +0 -1
  203. package/dist/role-operation-item.d.ts +0 -22
  204. package/dist/role-operation-item.js +0 -3
  205. package/dist/role-operation-item.js.map +0 -1
  206. package/dist/role-operation-request.d.ts +0 -21
  207. package/dist/role-operation-request.js +0 -3
  208. package/dist/role-operation-request.js.map +0 -1
  209. package/dist/role-removal-request.d.ts +0 -21
  210. package/dist/role-removal-request.js +0 -3
  211. package/dist/role-removal-request.js.map +0 -1
  212. package/dist/role-scope.d.ts +0 -24
  213. package/dist/role-scope.js +0 -3
  214. package/dist/role-scope.js.map +0 -1
  215. package/dist/role-template.d.ts +0 -25
  216. package/dist/role-template.js +0 -14
  217. package/dist/role-template.js.map +0 -1
  218. package/dist/role.d.ts +0 -26
  219. package/dist/role.js +0 -3
  220. package/dist/role.js.map +0 -1
  221. package/dist/space-create.d.ts +0 -21
  222. package/dist/space-create.js +0 -14
  223. package/dist/space-create.js.map +0 -1
  224. package/dist/space-scope.d.ts +0 -30
  225. package/dist/space-scope.js +0 -21
  226. package/dist/space-scope.js.map +0 -1
  227. package/dist/space.d.ts +0 -33
  228. package/dist/space.js +0 -14
  229. package/dist/space.js.map +0 -1
  230. package/dist/step-up-operation.d.ts +0 -19
  231. package/dist/step-up-operation.js +0 -19
  232. package/dist/step-up-operation.js.map +0 -1
  233. package/dist/step-up-token-request.d.ts +0 -25
  234. package/dist/step-up-token-request.js +0 -3
  235. package/dist/step-up-token-request.js.map +0 -1
  236. package/dist/successful-auth-response.d.ts +0 -29
  237. package/dist/successful-auth-response.js +0 -14
  238. package/dist/successful-auth-response.js.map +0 -1
  239. package/dist/token-request.d.ts +0 -21
  240. package/dist/token-request.js +0 -14
  241. package/dist/token-request.js.map +0 -1
  242. package/dist/token-response.d.ts +0 -21
  243. package/dist/token-response.js +0 -14
  244. package/dist/token-response.js.map +0 -1
  245. package/dist/user-create.d.ts +0 -25
  246. package/dist/user-create.js +0 -14
  247. package/dist/user-create.js.map +0 -1
  248. package/dist/user-summary.d.ts +0 -25
  249. package/dist/user-summary.js +0 -14
  250. package/dist/user-summary.js.map +0 -1
  251. package/dist/user.d.ts +0 -33
  252. package/dist/user.js +0 -14
  253. package/dist/user.js.map +0 -1
  254. package/dist/vote-approve.d.ts +0 -27
  255. package/dist/vote-approve.js +0 -21
  256. package/dist/vote-approve.js.map +0 -1
  257. package/dist/vote-mode.d.ts +0 -17
  258. package/dist/vote-mode.js +0 -14
  259. package/dist/vote-mode.js.map +0 -1
  260. package/dist/vote-veto.d.ts +0 -23
  261. package/dist/vote-veto.js +0 -21
  262. package/dist/vote-veto.js.map +0 -1
  263. package/dist/vote-withdraw.d.ts +0 -23
  264. package/dist/vote-withdraw.js +0 -21
  265. package/dist/vote-withdraw.js.map +0 -1
  266. package/dist/webhook-action.d.ts +0 -46
  267. package/dist/webhook-action.js +0 -26
  268. package/dist/webhook-action.js.map +0 -1
  269. package/dist/workflow-action.d.ts +0 -22
  270. package/dist/workflow-action.js +0 -3
  271. package/dist/workflow-action.js.map +0 -1
  272. package/dist/workflow-create.d.ts +0 -29
  273. package/dist/workflow-create.js +0 -14
  274. package/dist/workflow-create.js.map +0 -1
  275. package/dist/workflow-include.d.ts +0 -18
  276. package/dist/workflow-include.js +0 -18
  277. package/dist/workflow-include.js.map +0 -1
  278. package/dist/workflow-ref.d.ts +0 -18
  279. package/dist/workflow-ref.js +0 -3
  280. package/dist/workflow-ref.js.map +0 -1
  281. package/dist/workflow-template-create.d.ts +0 -40
  282. package/dist/workflow-template-create.js +0 -3
  283. package/dist/workflow-template-create.js.map +0 -1
  284. package/dist/workflow-template-delete.d.ts +0 -17
  285. package/dist/workflow-template-delete.js +0 -14
  286. package/dist/workflow-template-delete.js.map +0 -1
  287. package/dist/workflow-template-deprecate.d.ts +0 -17
  288. package/dist/workflow-template-deprecate.js +0 -14
  289. package/dist/workflow-template-deprecate.js.map +0 -1
  290. package/dist/workflow-template-scope.d.ts +0 -30
  291. package/dist/workflow-template-scope.js +0 -21
  292. package/dist/workflow-template-scope.js.map +0 -1
  293. package/dist/workflow-template-summary.d.ts +0 -37
  294. package/dist/workflow-template-summary.js +0 -14
  295. package/dist/workflow-template-summary.js.map +0 -1
  296. package/dist/workflow-template-update.d.ts +0 -36
  297. package/dist/workflow-template-update.js +0 -3
  298. package/dist/workflow-template-update.js.map +0 -1
  299. package/dist/workflow-template.d.ts +0 -72
  300. package/dist/workflow-template.js +0 -12
  301. package/dist/workflow-template.js.map +0 -1
  302. package/dist/workflow-vote-request-vote-type.d.ts +0 -19
  303. package/dist/workflow-vote-request-vote-type.js +0 -3
  304. package/dist/workflow-vote-request-vote-type.js.map +0 -1
  305. package/dist/workflow-vote-request.d.ts +0 -19
  306. package/dist/workflow-vote-request.js +0 -3
  307. package/dist/workflow-vote-request.js.map +0 -1
  308. package/dist/workflow-vote.d.ts +0 -37
  309. package/dist/workflow-vote.js +0 -14
  310. package/dist/workflow-vote.js.map +0 -1
  311. package/dist/workflow.d.ts +0 -51
  312. package/dist/workflow.js +0 -3
  313. package/dist/workflow.js.map +0 -1
@@ -1,25 +0,0 @@
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.29
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 UserCreate {
13
- /**
14
- * User\'s display name.
15
- */
16
- displayName: string;
17
- /**
18
- * User\'s email address (must be unique).
19
- */
20
- email: string;
21
- /**
22
- * Role assigned to the user within the organization.
23
- */
24
- orgRole: string;
25
- }
@@ -1,14 +0,0 @@
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.29
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=user-create.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-create.js","sourceRoot":"","sources":["../generated/openapi/model/user-create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -1,25 +0,0 @@
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.29
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 UserSummary {
13
- /**
14
- * Internal unique identifier for the user.
15
- */
16
- readonly id: string;
17
- /**
18
- * User\'s display name.
19
- */
20
- displayName: string;
21
- /**
22
- * User\'s email address.
23
- */
24
- email: string;
25
- }
@@ -1,14 +0,0 @@
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.29
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=user-summary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-summary.js","sourceRoot":"","sources":["../generated/openapi/model/user-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
package/dist/user.d.ts DELETED
@@ -1,33 +0,0 @@
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.29
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 User {
13
- /**
14
- * Internal unique identifier for the user.
15
- */
16
- readonly id: string;
17
- /**
18
- * User\'s display name.
19
- */
20
- displayName: string;
21
- /**
22
- * User\'s email address.
23
- */
24
- email: string;
25
- /**
26
- * Role assigned to the user within the organization.
27
- */
28
- orgRole: string;
29
- /**
30
- * Timestamp when the user was created.
31
- */
32
- readonly createdAt: string;
33
- }
package/dist/user.js DELETED
@@ -1,14 +0,0 @@
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.29
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=user.js.map
package/dist/user.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../generated/openapi/model/user.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -1,27 +0,0 @@
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.29
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. The voter must be a member of these groups with appropriate role (approver, admin, or owner) to cast votes for them.
19
- */
20
- votedForGroups: Array<string>;
21
- }
22
- export declare namespace VoteApprove {
23
- type TypeEnum = 'APPROVE';
24
- const TypeEnum: {
25
- Approve: TypeEnum;
26
- };
27
- }
@@ -1,21 +0,0 @@
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.29
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
@@ -1 +0,0 @@
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"}
@@ -1,17 +0,0 @@
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: 1.0.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
- export interface VoteMode {
13
- /**
14
- * Specifies the mode of voting. VOTE_FOR_ALL means the vote applies based on the user\'s direct eligibility. VOTE_FOR_GROUPS (future) would imply voting on behalf of specific groups.
15
- */
16
- type: string;
17
- }
package/dist/vote-mode.js DELETED
@@ -1,14 +0,0 @@
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: 1.0.0
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=vote-mode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vote-mode.js","sourceRoot":"","sources":["../generated/openapi/model/vote-mode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -1,23 +0,0 @@
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.29
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
- }
package/dist/vote-veto.js DELETED
@@ -1,21 +0,0 @@
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.29
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
@@ -1 +0,0 @@
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"}
@@ -1,23 +0,0 @@
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.29
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
- }
@@ -1,21 +0,0 @@
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.29
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
@@ -1 +0,0 @@
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"}
@@ -1,46 +0,0 @@
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.29
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
- /**
13
- * Calls a webhook when workflow is approved
14
- */
15
- export interface WebhookAction {
16
- /**
17
- * Action type (WEBHOOK)
18
- */
19
- type: WebhookAction.TypeEnum;
20
- /**
21
- * The URL to call
22
- */
23
- url: string;
24
- /**
25
- * HTTP method to use
26
- */
27
- method?: WebhookAction.MethodEnum;
28
- /**
29
- * Optional headers to send with the request
30
- */
31
- headers?: {
32
- [key: string]: string;
33
- };
34
- }
35
- export declare namespace WebhookAction {
36
- type TypeEnum = 'WEBHOOK';
37
- const TypeEnum: {
38
- Webhook: TypeEnum;
39
- };
40
- type MethodEnum = 'POST' | 'PUT' | 'GET';
41
- const MethodEnum: {
42
- Post: MethodEnum;
43
- Put: MethodEnum;
44
- Get: MethodEnum;
45
- };
46
- }
@@ -1,26 +0,0 @@
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.29
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.WebhookAction = void 0;
15
- var WebhookAction;
16
- (function (WebhookAction) {
17
- WebhookAction.TypeEnum = {
18
- Webhook: 'WEBHOOK'
19
- };
20
- WebhookAction.MethodEnum = {
21
- Post: 'POST',
22
- Put: 'PUT',
23
- Get: 'GET'
24
- };
25
- })(WebhookAction || (exports.WebhookAction = WebhookAction = {}));
26
- //# sourceMappingURL=webhook-action.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"webhook-action.js","sourceRoot":"","sources":["../generated/openapi/model/webhook-action.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAwBH,IAAiB,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAEb,sBAAQ,GAAG;QACpB,OAAO,EAAE,SAAqB;KACjC,CAAC;IAEW,wBAAU,GAAG;QACtB,IAAI,EAAE,MAAoB;QAC1B,GAAG,EAAE,KAAmB;QACxB,GAAG,EAAE,KAAmB;KAC3B,CAAC;AACN,CAAC,EAXgB,aAAa,6BAAb,aAAa,QAW7B"}
@@ -1,22 +0,0 @@
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.29
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 { WebhookAction } from './webhook-action';
13
- import { EmailAction } from './email-action';
14
- /**
15
- * Configuration for actions to be executed when workflow is approved. Currently supports email actions.
16
- */
17
- /**
18
- * @type WorkflowAction
19
- * Configuration for actions to be executed when workflow is approved. Currently supports email actions.
20
- * @export
21
- */
22
- export type WorkflowAction = EmailAction | WebhookAction;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=workflow-action.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-action.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-action.ts"],"names":[],"mappings":""}
@@ -1,29 +0,0 @@
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.29
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 WorkflowCreate {
13
- /**
14
- * User-friendly name for the workflow
15
- */
16
- name: string;
17
- /**
18
- * Detailed description of the workflow
19
- */
20
- description?: string;
21
- /**
22
- * Additional custom metadata for the workflow
23
- */
24
- metadata?: object;
25
- /**
26
- * The unique identifier of the workflow template to use as parent
27
- */
28
- workflowTemplateId: string;
29
- }
@@ -1,14 +0,0 @@
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.29
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- //# sourceMappingURL=workflow-create.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-create.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -1,18 +0,0 @@
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.20
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
- /**
13
- * Related objects to include in the workflow response
14
- */
15
- export type WorkflowInclude = 'workflow-template';
16
- export declare const WorkflowInclude: {
17
- WorkflowTemplate: WorkflowInclude;
18
- };
@@ -1,18 +0,0 @@
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.20
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.WorkflowInclude = void 0;
15
- exports.WorkflowInclude = {
16
- WorkflowTemplate: 'workflow-template'
17
- };
18
- //# sourceMappingURL=workflow-include.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-include.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-include.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAQU,QAAA,eAAe,GAAG;IAC3B,gBAAgB,EAAE,mBAAsC;CAC3D,CAAC"}
@@ -1,18 +0,0 @@
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.29
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { WorkflowTemplate } from './workflow-template';
13
- /**
14
- * Referenced objects (optional, controlled by include query parameters)
15
- */
16
- export interface WorkflowRef {
17
- workflowTemplate?: WorkflowTemplate;
18
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=workflow-ref.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-ref.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-ref.ts"],"names":[],"mappings":""}
@@ -1,40 +0,0 @@
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.29
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 { WorkflowAction } from './workflow-action';
13
- import { ApprovalRule } from './approval-rule';
14
- export interface WorkflowTemplateCreate {
15
- /**
16
- * User-friendly name for the workflow template
17
- */
18
- name: string;
19
- /**
20
- * Detailed description of the workflow template
21
- */
22
- description?: string;
23
- /**
24
- * Additional custom metadata for the workflow template
25
- */
26
- metadata?: object;
27
- approvalRule: ApprovalRule;
28
- /**
29
- * Actions to be executed when workflow is approved
30
- */
31
- actions?: Array<WorkflowAction>;
32
- /**
33
- * Default expiry time for workflows created from this template (in hours, max 1 year)
34
- */
35
- defaultExpiresInHours?: number;
36
- /**
37
- * ID of the space to which this workflow template belongs
38
- */
39
- spaceId: string;
40
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=workflow-template-create.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-template-create.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template-create.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- /**
2
- * Workflow Approval System API
3
- * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
4
- *
5
- * The version of the OpenAPI document: 0.0.6
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export interface WorkflowTemplateDelete {
13
- /**
14
- * If true, all in-progress workflows associated with this template will be canceled.
15
- */
16
- cancelWorkflows?: boolean;
17
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /**
3
- * Workflow Approval System API
4
- * API for a SaaS platform that allows customers to manage approvals for generic workflows, users, and groups.
5
- *
6
- * The version of the OpenAPI document: 0.0.6
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- //# sourceMappingURL=workflow-template-delete.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-template-delete.js","sourceRoot":"","sources":["../generated/openapi/model/workflow-template-delete.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}