@approvio/api 0.0.30 → 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 (276) 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 +53 -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-registration-request.d.ts +0 -17
  26. package/dist/agent-registration-request.js +0 -14
  27. package/dist/agent-registration-request.js.map +0 -1
  28. package/dist/agent-registration-response.d.ts +0 -33
  29. package/dist/agent-registration-response.js +0 -14
  30. package/dist/agent-registration-response.js.map +0 -1
  31. package/dist/agent-summary.d.ts +0 -21
  32. package/dist/agent-summary.js +0 -14
  33. package/dist/agent-summary.js.map +0 -1
  34. package/dist/agent-token-request.d.ts +0 -35
  35. package/dist/agent-token-request.js +0 -24
  36. package/dist/agent-token-request.js.map +0 -1
  37. package/dist/agent-token-response.d.ts +0 -21
  38. package/dist/agent-token-response.js +0 -14
  39. package/dist/agent-token-response.js.map +0 -1
  40. package/dist/and-rule.d.ts +0 -31
  41. package/dist/and-rule.js +0 -10
  42. package/dist/and-rule.js.map +0 -1
  43. package/dist/api-error-details-inner.d.ts +0 -15
  44. package/dist/api-error-details-inner.js +0 -14
  45. package/dist/api-error-details-inner.js.map +0 -1
  46. package/dist/api-error.d.ts +0 -23
  47. package/dist/api-error.js +0 -3
  48. package/dist/api-error.js.map +0 -1
  49. package/dist/approval-rule.d.ts +0 -23
  50. package/dist/approval-rule.js +0 -3
  51. package/dist/approval-rule.js.map +0 -1
  52. package/dist/can-vote-response.d.ts +0 -29
  53. package/dist/can-vote-response.js +0 -14
  54. package/dist/can-vote-response.js.map +0 -1
  55. package/dist/email-action.d.ts +0 -30
  56. package/dist/email-action.js +0 -21
  57. package/dist/email-action.js.map +0 -1
  58. package/dist/entity-membership-add.d.ts +0 -15
  59. package/dist/entity-membership-add.js +0 -3
  60. package/dist/entity-membership-add.js.map +0 -1
  61. package/dist/entity-membership-remove.d.ts +0 -15
  62. package/dist/entity-membership-remove.js +0 -3
  63. package/dist/entity-membership-remove.js.map +0 -1
  64. package/dist/entity-reference.d.ts +0 -21
  65. package/dist/entity-reference.js +0 -14
  66. package/dist/entity-reference.js.map +0 -1
  67. package/dist/failed-auth-response.d.ts +0 -17
  68. package/dist/failed-auth-response.js +0 -14
  69. package/dist/failed-auth-response.js.map +0 -1
  70. package/dist/get-entity-info-200-response.d.ts +0 -19
  71. package/dist/get-entity-info-200-response.js +0 -3
  72. package/dist/get-entity-info-200-response.js.map +0 -1
  73. package/dist/get-workflow-params.d.ts +0 -17
  74. package/dist/get-workflow-params.js +0 -14
  75. package/dist/get-workflow-params.js.map +0 -1
  76. package/dist/get-workflow-votes-200-response.d.ts +0 -15
  77. package/dist/get-workflow-votes-200-response.js +0 -3
  78. package/dist/get-workflow-votes-200-response.js.map +0 -1
  79. package/dist/group-create.d.ts +0 -21
  80. package/dist/group-create.js +0 -14
  81. package/dist/group-create.js.map +0 -1
  82. package/dist/group-info.d.ts +0 -15
  83. package/dist/group-info.js +0 -14
  84. package/dist/group-info.js.map +0 -1
  85. package/dist/group-membership.d.ts +0 -19
  86. package/dist/group-membership.js +0 -3
  87. package/dist/group-membership.js.map +0 -1
  88. package/dist/group-requirement-rule.d.ts +0 -38
  89. package/dist/group-requirement-rule.js +0 -21
  90. package/dist/group-requirement-rule.js.map +0 -1
  91. package/dist/group-scope.d.ts +0 -30
  92. package/dist/group-scope.js +0 -21
  93. package/dist/group-scope.js.map +0 -1
  94. package/dist/group.d.ts +0 -37
  95. package/dist/group.js +0 -14
  96. package/dist/group.js.map +0 -1
  97. package/dist/health-response.d.ts +0 -21
  98. package/dist/health-response.js +0 -14
  99. package/dist/health-response.js.map +0 -1
  100. package/dist/index.d.ts +0 -87
  101. package/dist/index.js +0 -105
  102. package/dist/index.js.map +0 -1
  103. package/dist/initiate-cli-login-200-response.d.ts +0 -14
  104. package/dist/initiate-cli-login-200-response.js +0 -14
  105. package/dist/initiate-cli-login-200-response.js.map +0 -1
  106. package/dist/initiate-cli-login-request.d.ts +0 -17
  107. package/dist/initiate-cli-login-request.js +0 -14
  108. package/dist/initiate-cli-login-request.js.map +0 -1
  109. package/dist/list-agents-200-response.d.ts +0 -17
  110. package/dist/list-agents-200-response.js +0 -3
  111. package/dist/list-agents-200-response.js.map +0 -1
  112. package/dist/list-agents-params.d.ts +0 -21
  113. package/dist/list-agents-params.js +0 -14
  114. package/dist/list-agents-params.js.map +0 -1
  115. package/dist/list-group-entities-200-response.d.ts +0 -17
  116. package/dist/list-group-entities-200-response.js +0 -3
  117. package/dist/list-group-entities-200-response.js.map +0 -1
  118. package/dist/list-groups-200-response.d.ts +0 -17
  119. package/dist/list-groups-200-response.js +0 -3
  120. package/dist/list-groups-200-response.js.map +0 -1
  121. package/dist/list-organization-admins-for-org-200-response.d.ts +0 -17
  122. package/dist/list-organization-admins-for-org-200-response.js +0 -3
  123. package/dist/list-organization-admins-for-org-200-response.js.map +0 -1
  124. package/dist/list-role-templates-200-response.d.ts +0 -15
  125. package/dist/list-role-templates-200-response.js +0 -3
  126. package/dist/list-role-templates-200-response.js.map +0 -1
  127. package/dist/list-spaces-200-response.d.ts +0 -17
  128. package/dist/list-spaces-200-response.js +0 -3
  129. package/dist/list-spaces-200-response.js.map +0 -1
  130. package/dist/list-users-200-response.d.ts +0 -17
  131. package/dist/list-users-200-response.js +0 -3
  132. package/dist/list-users-200-response.js.map +0 -1
  133. package/dist/list-workflow-templates-200-response.d.ts +0 -17
  134. package/dist/list-workflow-templates-200-response.js +0 -3
  135. package/dist/list-workflow-templates-200-response.js.map +0 -1
  136. package/dist/list-workflow-templates-params.d.ts +0 -25
  137. package/dist/list-workflow-templates-params.js +0 -14
  138. package/dist/list-workflow-templates-params.js.map +0 -1
  139. package/dist/list-workflows-200-response.d.ts +0 -17
  140. package/dist/list-workflows-200-response.js +0 -3
  141. package/dist/list-workflows-200-response.js.map +0 -1
  142. package/dist/list-workflows-params.d.ts +0 -33
  143. package/dist/list-workflows-params.js +0 -14
  144. package/dist/list-workflows-params.js.map +0 -1
  145. package/dist/models.d.ts +0 -86
  146. package/dist/models.js +0 -103
  147. package/dist/models.js.map +0 -1
  148. package/dist/oidc-callback-request.d.ts +0 -21
  149. package/dist/oidc-callback-request.js +0 -14
  150. package/dist/oidc-callback-request.js.map +0 -1
  151. package/dist/or-rule.d.ts +0 -31
  152. package/dist/or-rule.js +0 -10
  153. package/dist/or-rule.js.map +0 -1
  154. package/dist/org-scope.d.ts +0 -26
  155. package/dist/org-scope.js +0 -21
  156. package/dist/org-scope.js.map +0 -1
  157. package/dist/organization-admin-create.d.ts +0 -17
  158. package/dist/organization-admin-create.js +0 -14
  159. package/dist/organization-admin-create.js.map +0 -1
  160. package/dist/organization-admin-remove.d.ts +0 -17
  161. package/dist/organization-admin-remove.js +0 -14
  162. package/dist/organization-admin-remove.js.map +0 -1
  163. package/dist/organization-admin.d.ts +0 -25
  164. package/dist/organization-admin.js +0 -14
  165. package/dist/organization-admin.js.map +0 -1
  166. package/dist/pagination.d.ts +0 -25
  167. package/dist/pagination.js +0 -14
  168. package/dist/pagination.js.map +0 -1
  169. package/dist/privileged-token-exchange-request.d.ts +0 -29
  170. package/dist/privileged-token-exchange-request.js +0 -14
  171. package/dist/privileged-token-exchange-request.js.map +0 -1
  172. package/dist/privileged-token-response.d.ts +0 -17
  173. package/dist/privileged-token-response.js +0 -14
  174. package/dist/privileged-token-response.js.map +0 -1
  175. package/dist/refresh-token-request.d.ts +0 -17
  176. package/dist/refresh-token-request.js +0 -14
  177. package/dist/refresh-token-request.js.map +0 -1
  178. package/dist/remove-group-entities-request.d.ts +0 -21
  179. package/dist/remove-group-entities-request.js +0 -3
  180. package/dist/remove-group-entities-request.js.map +0 -1
  181. package/dist/role-assignment-request.d.ts +0 -21
  182. package/dist/role-assignment-request.js +0 -3
  183. package/dist/role-assignment-request.js.map +0 -1
  184. package/dist/role-operation-item.d.ts +0 -22
  185. package/dist/role-operation-item.js +0 -3
  186. package/dist/role-operation-item.js.map +0 -1
  187. package/dist/role-operation-request.d.ts +0 -21
  188. package/dist/role-operation-request.js +0 -3
  189. package/dist/role-operation-request.js.map +0 -1
  190. package/dist/role-removal-request.d.ts +0 -21
  191. package/dist/role-removal-request.js +0 -3
  192. package/dist/role-removal-request.js.map +0 -1
  193. package/dist/role-scope.d.ts +0 -24
  194. package/dist/role-scope.js +0 -3
  195. package/dist/role-scope.js.map +0 -1
  196. package/dist/role-template.d.ts +0 -25
  197. package/dist/role-template.js +0 -14
  198. package/dist/role-template.js.map +0 -1
  199. package/dist/space-create.d.ts +0 -21
  200. package/dist/space-create.js +0 -14
  201. package/dist/space-create.js.map +0 -1
  202. package/dist/space-scope.d.ts +0 -30
  203. package/dist/space-scope.js +0 -21
  204. package/dist/space-scope.js.map +0 -1
  205. package/dist/space.d.ts +0 -33
  206. package/dist/space.js +0 -14
  207. package/dist/space.js.map +0 -1
  208. package/dist/successful-auth-response.d.ts +0 -29
  209. package/dist/successful-auth-response.js +0 -14
  210. package/dist/successful-auth-response.js.map +0 -1
  211. package/dist/token-request.d.ts +0 -21
  212. package/dist/token-request.js +0 -14
  213. package/dist/token-request.js.map +0 -1
  214. package/dist/token-response.d.ts +0 -21
  215. package/dist/token-response.js +0 -14
  216. package/dist/token-response.js.map +0 -1
  217. package/dist/user-create.d.ts +0 -25
  218. package/dist/user-create.js +0 -14
  219. package/dist/user-create.js.map +0 -1
  220. package/dist/user-summary.d.ts +0 -25
  221. package/dist/user-summary.js +0 -14
  222. package/dist/user-summary.js.map +0 -1
  223. package/dist/user.d.ts +0 -33
  224. package/dist/user.js +0 -14
  225. package/dist/user.js.map +0 -1
  226. package/dist/vote-approve.d.ts +0 -27
  227. package/dist/vote-approve.js +0 -21
  228. package/dist/vote-approve.js.map +0 -1
  229. package/dist/vote-veto.d.ts +0 -23
  230. package/dist/vote-veto.js +0 -21
  231. package/dist/vote-veto.js.map +0 -1
  232. package/dist/vote-withdraw.d.ts +0 -23
  233. package/dist/vote-withdraw.js +0 -21
  234. package/dist/vote-withdraw.js.map +0 -1
  235. package/dist/webhook-action.d.ts +0 -46
  236. package/dist/webhook-action.js +0 -26
  237. package/dist/webhook-action.js.map +0 -1
  238. package/dist/workflow-action.d.ts +0 -22
  239. package/dist/workflow-action.js +0 -3
  240. package/dist/workflow-action.js.map +0 -1
  241. package/dist/workflow-create.d.ts +0 -29
  242. package/dist/workflow-create.js +0 -14
  243. package/dist/workflow-create.js.map +0 -1
  244. package/dist/workflow-ref.d.ts +0 -18
  245. package/dist/workflow-ref.js +0 -3
  246. package/dist/workflow-ref.js.map +0 -1
  247. package/dist/workflow-template-create.d.ts +0 -40
  248. package/dist/workflow-template-create.js +0 -3
  249. package/dist/workflow-template-create.js.map +0 -1
  250. package/dist/workflow-template-deprecate.d.ts +0 -17
  251. package/dist/workflow-template-deprecate.js +0 -14
  252. package/dist/workflow-template-deprecate.js.map +0 -1
  253. package/dist/workflow-template-scope.d.ts +0 -30
  254. package/dist/workflow-template-scope.js +0 -21
  255. package/dist/workflow-template-scope.js.map +0 -1
  256. package/dist/workflow-template-summary.d.ts +0 -37
  257. package/dist/workflow-template-summary.js +0 -14
  258. package/dist/workflow-template-summary.js.map +0 -1
  259. package/dist/workflow-template-update.d.ts +0 -36
  260. package/dist/workflow-template-update.js +0 -3
  261. package/dist/workflow-template-update.js.map +0 -1
  262. package/dist/workflow-template.d.ts +0 -72
  263. package/dist/workflow-template.js +0 -12
  264. package/dist/workflow-template.js.map +0 -1
  265. package/dist/workflow-vote-request-vote-type.d.ts +0 -19
  266. package/dist/workflow-vote-request-vote-type.js +0 -3
  267. package/dist/workflow-vote-request-vote-type.js.map +0 -1
  268. package/dist/workflow-vote-request.d.ts +0 -19
  269. package/dist/workflow-vote-request.js +0 -3
  270. package/dist/workflow-vote-request.js.map +0 -1
  271. package/dist/workflow-vote.d.ts +0 -37
  272. package/dist/workflow-vote.js +0 -14
  273. package/dist/workflow-vote.js.map +0 -1
  274. package/dist/workflow.d.ts +0 -51
  275. package/dist/workflow.js +0 -3
  276. package/dist/workflow.js.map +0 -1
@@ -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 AgentGet200Response {
13
- /**
14
- * Unique identifier for the agent
15
- */
16
- id: string;
17
- /**
18
- * Name of the agent
19
- */
20
- agentName: string;
21
- /**
22
- * RSA public key in base64 encoded PEM format for the agent
23
- */
24
- publicKey: string;
25
- /**
26
- * Timestamp when the agent was registered
27
- */
28
- createdAt: 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=agent-get200-response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-get200-response.js","sourceRoot":"","sources":["../generated/openapi/model/agent-get200-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -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.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 AgentRegistrationRequest {
13
- /**
14
- * Unique name for the agent (must be unique across the system)
15
- */
16
- agentName: string;
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.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=agent-registration-request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-registration-request.js","sourceRoot":"","sources":["../generated/openapi/model/agent-registration-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -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 AgentRegistrationResponse {
13
- /**
14
- * Unique identifier for the registered agent
15
- */
16
- agentId: string;
17
- /**
18
- * Name of the registered agent
19
- */
20
- agentName: string;
21
- /**
22
- * RSA public key in base64 encoded PEM format for the agent
23
- */
24
- publicKey: string;
25
- /**
26
- * RSA private key in base64 encoded PEM format for the agent (store securely!)
27
- */
28
- privateKey: string;
29
- /**
30
- * Timestamp when the agent was registered
31
- */
32
- readonly createdAt: string;
33
- }
@@ -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=agent-registration-response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-registration-response.js","sourceRoot":"","sources":["../generated/openapi/model/agent-registration-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -1,21 +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 AgentSummary {
13
- /**
14
- * Unique identifier for the agent
15
- */
16
- id: string;
17
- /**
18
- * Name of the agent
19
- */
20
- name: string;
21
- }
@@ -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=agent-summary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-summary.js","sourceRoot":"","sources":["../generated/openapi/model/agent-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -1,35 +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 AgentTokenRequest {
13
- /**
14
- * OAuth 2.0 grant type for JWT Bearer profile
15
- */
16
- grantType: AgentTokenRequest.GrantTypeEnum;
17
- /**
18
- * OAuth 2.0 client assertion type for JWT Bearer profile
19
- */
20
- clientAssertionType: AgentTokenRequest.ClientAssertionTypeEnum;
21
- /**
22
- * JWT assertion signed with the agent\'s private key using RS256 algorithm. **JWT Header:** ```json { \"alg\": \"RS256\", \"typ\": \"JWT\" } ``` **JWT Payload:** ```json { \"iss\": \"agent-name\", \"sub\": \"agent-name\", \"aud\": \"authorization-server-identifier\", \"exp\": 1640995200, \"jti\": \"nonce-from-challenge\", \"iat\": 1640991600 } ``` **Requirements:** - Must be signed with agent\'s private key using RS256 - JWT ID (jti) must match nonce from server\'s challenge - Issuer (iss) and subject (sub) must be the agent name - Audience (aud) must be the authorization server identifier - Agent identity is extracted from the issuer claim
23
- */
24
- clientAssertion: string;
25
- }
26
- export declare namespace AgentTokenRequest {
27
- type GrantTypeEnum = 'urn:ietf:params:oauth:grant-type:jwt-bearer';
28
- const GrantTypeEnum: {
29
- UrnietfparamsoauthgrantTypejwtBearer: GrantTypeEnum;
30
- };
31
- type ClientAssertionTypeEnum = 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer';
32
- const ClientAssertionTypeEnum: {
33
- UrnietfparamsoauthclientAssertionTypejwtBearer: ClientAssertionTypeEnum;
34
- };
35
- }
@@ -1,24 +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.AgentTokenRequest = void 0;
15
- var AgentTokenRequest;
16
- (function (AgentTokenRequest) {
17
- AgentTokenRequest.GrantTypeEnum = {
18
- UrnietfparamsoauthgrantTypejwtBearer: 'urn:ietf:params:oauth:grant-type:jwt-bearer'
19
- };
20
- AgentTokenRequest.ClientAssertionTypeEnum = {
21
- UrnietfparamsoauthclientAssertionTypejwtBearer: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer'
22
- };
23
- })(AgentTokenRequest || (exports.AgentTokenRequest = AgentTokenRequest = {}));
24
- //# sourceMappingURL=agent-token-request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-token-request.js","sourceRoot":"","sources":["../generated/openapi/model/agent-token-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAiBH,IAAiB,iBAAiB,CASjC;AATD,WAAiB,iBAAiB;IAEjB,+BAAa,GAAG;QACzB,oCAAoC,EAAE,6CAA8D;KACvG,CAAC;IAEW,yCAAuB,GAAG;QACnC,8CAA8C,EAAE,wDAAmF;KACtI,CAAC;AACN,CAAC,EATgB,iBAAiB,iCAAjB,iBAAiB,QASjC"}
@@ -1,21 +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 AgentTokenResponse {
13
- /**
14
- * JWT token for the authenticated agent
15
- */
16
- accessToken: string;
17
- /**
18
- * Refresh token used to obtain a new access token
19
- */
20
- refreshToken: string;
21
- }
@@ -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=agent-token-response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-token-response.js","sourceRoot":"","sources":["../generated/openapi/model/agent-token-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -1,31 +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 { ApprovalRule } from './approval-rule';
13
- /**
14
- * An AND rule requiring all nested rules to be satisfied.
15
- */
16
- export interface AndRule {
17
- /**
18
- * Rule type (AND)
19
- */
20
- type: AndRule.TypeEnum;
21
- /**
22
- * List of rules that must all be satisfied. Cannot be empty.
23
- */
24
- rules: Array<ApprovalRule>;
25
- }
26
- export declare namespace AndRule {
27
- type TypeEnum = 'AND';
28
- const TypeEnum: {
29
- And: TypeEnum;
30
- };
31
- }
package/dist/and-rule.js DELETED
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,15 +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 APIErrorDetailsInner {
13
- field?: string;
14
- message?: string;
15
- }
@@ -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=api-error-details-inner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-error-details-inner.js","sourceRoot":"","sources":["../generated/openapi/model/api-error-details-inner.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
- import { APIErrorDetailsInner } from './api-error-details-inner';
13
- export interface APIError {
14
- /**
15
- * Error code
16
- */
17
- code?: string;
18
- /**
19
- * Error message
20
- */
21
- message?: string;
22
- details?: Array<APIErrorDetailsInner>;
23
- }
package/dist/api-error.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=api-error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-error.js","sourceRoot":"","sources":["../generated/openapi/model/api-error.ts"],"names":[],"mappings":""}
@@ -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
- import { AndRule } from './and-rule';
13
- import { OrRule } from './or-rule';
14
- import { GroupRequirementRule } from './group-requirement-rule';
15
- /**
16
- * Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
17
- */
18
- /**
19
- * @type ApprovalRule
20
- * Configuration of approval rules. Can be a boolean operator (AND/OR) combining nested rules, or a specific requirement (minimum count from a group).
21
- * @export
22
- */
23
- export type ApprovalRule = AndRule | GroupRequirementRule | OrRule;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=approval-rule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-rule.js","sourceRoot":"","sources":["../generated/openapi/model/approval-rule.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 CanVoteResponse {
13
- /**
14
- * True if the authenticated entity can currently vote on the workflow, false otherwise.
15
- */
16
- canVote: boolean;
17
- /**
18
- * Indicates the voting status for the user on this workflow.
19
- */
20
- voteStatus: string;
21
- /**
22
- * Reason why the entity cannot vote on the workflow. The value is only set if \'canVote\' is false.
23
- */
24
- cantVoteReason?: string;
25
- /**
26
- * Indicates whether a high-privilege token is required to cast a vote for the entity.
27
- */
28
- requireHighPrivilege?: boolean;
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=can-vote-response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"can-vote-response.js","sourceRoot":"","sources":["../generated/openapi/model/can-vote-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -1,30 +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
- * Sends an email when workflow is approved
14
- */
15
- export interface EmailAction {
16
- /**
17
- * Action type (EMAIL)
18
- */
19
- type: EmailAction.TypeEnum;
20
- /**
21
- * List of email addresses to send the notification to
22
- */
23
- recipients: Array<string>;
24
- }
25
- export declare namespace EmailAction {
26
- type TypeEnum = 'EMAIL';
27
- const TypeEnum: {
28
- Email: TypeEnum;
29
- };
30
- }
@@ -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.EmailAction = void 0;
15
- var EmailAction;
16
- (function (EmailAction) {
17
- EmailAction.TypeEnum = {
18
- Email: 'EMAIL'
19
- };
20
- })(EmailAction || (exports.EmailAction = EmailAction = {}));
21
- //# sourceMappingURL=email-action.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"email-action.js","sourceRoot":"","sources":["../generated/openapi/model/email-action.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAgBH,IAAiB,WAAW,CAK3B;AALD,WAAiB,WAAW;IAEX,oBAAQ,GAAG;QACpB,KAAK,EAAE,OAAmB;KAC7B,CAAC;AACN,CAAC,EALgB,WAAW,2BAAX,WAAW,QAK3B"}
@@ -1,15 +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 { EntityReference } from './entity-reference';
13
- export interface EntityMembershipAdd {
14
- entity: EntityReference;
15
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=entity-membership-add.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity-membership-add.js","sourceRoot":"","sources":["../generated/openapi/model/entity-membership-add.ts"],"names":[],"mappings":""}
@@ -1,15 +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 { EntityReference } from './entity-reference';
13
- export interface EntityMembershipRemove {
14
- entity: EntityReference;
15
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=entity-membership-remove.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity-membership-remove.js","sourceRoot":"","sources":["../generated/openapi/model/entity-membership-remove.ts"],"names":[],"mappings":""}
@@ -1,21 +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 EntityReference {
13
- /**
14
- * The type of the entity being referenced.
15
- */
16
- entityType: string;
17
- /**
18
- * The unique identifier (UUID) of the entity.
19
- */
20
- entityId: string;
21
- }
@@ -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=entity-reference.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity-reference.js","sourceRoot":"","sources":["../generated/openapi/model/entity-reference.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}