@embedworkflow/sdk 1.0.0

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 (314) hide show
  1. package/README.md +45 -0
  2. package/dist/api/accounts-api.d.ts +172 -0
  3. package/dist/api/accounts-api.js +267 -0
  4. package/dist/api/action-types-api.d.ts +359 -0
  5. package/dist/api/action-types-api.js +571 -0
  6. package/dist/api/actions-api.d.ts +421 -0
  7. package/dist/api/actions-api.js +650 -0
  8. package/dist/api/app-connections-api.d.ts +295 -0
  9. package/dist/api/app-connections-api.js +461 -0
  10. package/dist/api/available-apps-api.d.ts +133 -0
  11. package/dist/api/available-apps-api.js +207 -0
  12. package/dist/api/data-fields-api.d.ts +173 -0
  13. package/dist/api/data-fields-api.js +267 -0
  14. package/dist/api/events-api.d.ts +100 -0
  15. package/dist/api/events-api.js +152 -0
  16. package/dist/api/executions-api.d.ts +196 -0
  17. package/dist/api/executions-api.js +303 -0
  18. package/dist/api/installed-apps-api.d.ts +219 -0
  19. package/dist/api/installed-apps-api.js +343 -0
  20. package/dist/api/payments-api.d.ts +100 -0
  21. package/dist/api/payments-api.js +152 -0
  22. package/dist/api/triggers-api.d.ts +232 -0
  23. package/dist/api/triggers-api.js +365 -0
  24. package/dist/api/users-api.d.ts +276 -0
  25. package/dist/api/users-api.js +433 -0
  26. package/dist/api/workflows-api.d.ts +605 -0
  27. package/dist/api/workflows-api.js +940 -0
  28. package/dist/api.d.ts +24 -0
  29. package/dist/api.js +42 -0
  30. package/dist/base.d.ts +66 -0
  31. package/dist/base.js +65 -0
  32. package/dist/common.d.ts +65 -0
  33. package/dist/common.js +161 -0
  34. package/dist/configuration.d.ts +91 -0
  35. package/dist/configuration.js +43 -0
  36. package/dist/esm/api/accounts-api.d.ts +172 -0
  37. package/dist/esm/api/accounts-api.js +260 -0
  38. package/dist/esm/api/action-types-api.d.ts +359 -0
  39. package/dist/esm/api/action-types-api.js +564 -0
  40. package/dist/esm/api/actions-api.d.ts +421 -0
  41. package/dist/esm/api/actions-api.js +643 -0
  42. package/dist/esm/api/app-connections-api.d.ts +295 -0
  43. package/dist/esm/api/app-connections-api.js +454 -0
  44. package/dist/esm/api/available-apps-api.d.ts +133 -0
  45. package/dist/esm/api/available-apps-api.js +200 -0
  46. package/dist/esm/api/data-fields-api.d.ts +173 -0
  47. package/dist/esm/api/data-fields-api.js +260 -0
  48. package/dist/esm/api/events-api.d.ts +100 -0
  49. package/dist/esm/api/events-api.js +145 -0
  50. package/dist/esm/api/executions-api.d.ts +196 -0
  51. package/dist/esm/api/executions-api.js +296 -0
  52. package/dist/esm/api/installed-apps-api.d.ts +219 -0
  53. package/dist/esm/api/installed-apps-api.js +336 -0
  54. package/dist/esm/api/payments-api.d.ts +100 -0
  55. package/dist/esm/api/payments-api.js +145 -0
  56. package/dist/esm/api/triggers-api.d.ts +232 -0
  57. package/dist/esm/api/triggers-api.js +358 -0
  58. package/dist/esm/api/users-api.d.ts +276 -0
  59. package/dist/esm/api/users-api.js +426 -0
  60. package/dist/esm/api/workflows-api.d.ts +605 -0
  61. package/dist/esm/api/workflows-api.js +933 -0
  62. package/dist/esm/api.d.ts +24 -0
  63. package/dist/esm/api.js +26 -0
  64. package/dist/esm/base.d.ts +66 -0
  65. package/dist/esm/base.js +60 -0
  66. package/dist/esm/common.d.ts +65 -0
  67. package/dist/esm/common.js +149 -0
  68. package/dist/esm/configuration.d.ts +91 -0
  69. package/dist/esm/configuration.js +39 -0
  70. package/dist/esm/index.d.ts +79 -0
  71. package/dist/esm/index.js +88 -0
  72. package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.d.ts +75 -0
  73. package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.js +25 -0
  74. package/dist/esm/models/api-v1-action-types-post-request-icon-draft.d.ts +36 -0
  75. package/dist/esm/models/api-v1-action-types-post-request-icon-draft.js +14 -0
  76. package/dist/esm/models/api-v1-action-types-post-request.d.ts +105 -0
  77. package/dist/esm/models/api-v1-action-types-post-request.js +14 -0
  78. package/dist/esm/models/api-v1-app-connections-post-request.d.ts +42 -0
  79. package/dist/esm/models/api-v1-app-connections-post-request.js +14 -0
  80. package/dist/esm/models/clone-workflow201-response.d.ts +183 -0
  81. package/dist/esm/models/clone-workflow201-response.js +17 -0
  82. package/dist/esm/models/create-user-token-request.d.ts +31 -0
  83. package/dist/esm/models/create-user-token-request.js +14 -0
  84. package/dist/esm/models/create-user-token200-response.d.ts +24 -0
  85. package/dist/esm/models/create-user-token200-response.js +14 -0
  86. package/dist/esm/models/create-workflow-request-template-draft-nodes-inner.d.ts +132 -0
  87. package/dist/esm/models/create-workflow-request-template-draft-nodes-inner.js +25 -0
  88. package/dist/esm/models/create-workflow-request-template-draft.d.ts +31 -0
  89. package/dist/esm/models/create-workflow-request-template-draft.js +14 -0
  90. package/dist/esm/models/create-workflow-request.d.ts +67 -0
  91. package/dist/esm/models/create-workflow-request.js +14 -0
  92. package/dist/esm/models/delete-workflow200-response-one-of.d.ts +24 -0
  93. package/dist/esm/models/delete-workflow200-response-one-of.js +14 -0
  94. package/dist/esm/models/delete-workflow200-response-one-of1.d.ts +24 -0
  95. package/dist/esm/models/delete-workflow200-response-one-of1.js +14 -0
  96. package/dist/esm/models/delete-workflow200-response.d.ts +19 -0
  97. package/dist/esm/models/delete-workflow200-response.js +14 -0
  98. package/dist/esm/models/discard-workflow-draft-request.d.ts +30 -0
  99. package/dist/esm/models/discard-workflow-draft-request.js +14 -0
  100. package/dist/esm/models/execute-workflow-request.d.ts +43 -0
  101. package/dist/esm/models/execute-workflow-request.js +17 -0
  102. package/dist/esm/models/execute-workflow201-response.d.ts +122 -0
  103. package/dist/esm/models/execute-workflow201-response.js +14 -0
  104. package/dist/esm/models/import-configuration-request-schema.d.ts +19 -0
  105. package/dist/esm/models/import-configuration-request-schema.js +14 -0
  106. package/dist/esm/models/import-configuration-request.d.ts +38 -0
  107. package/dist/esm/models/import-configuration-request.js +18 -0
  108. package/dist/esm/models/import-configuration201-response.d.ts +48 -0
  109. package/dist/esm/models/import-configuration201-response.js +14 -0
  110. package/dist/esm/models/index.d.ts +59 -0
  111. package/dist/esm/models/index.js +59 -0
  112. package/dist/esm/models/install-app-request.d.ts +30 -0
  113. package/dist/esm/models/install-app-request.js +14 -0
  114. package/dist/esm/models/list-action-types200-response-collection-inner.d.ts +260 -0
  115. package/dist/esm/models/list-action-types200-response-collection-inner.js +27 -0
  116. package/dist/esm/models/list-action-types200-response-meta.d.ts +36 -0
  117. package/dist/esm/models/list-action-types200-response-meta.js +14 -0
  118. package/dist/esm/models/list-action-types200-response.d.ts +32 -0
  119. package/dist/esm/models/list-action-types200-response.js +14 -0
  120. package/dist/esm/models/list-actions200-response-collection-inner.d.ts +144 -0
  121. package/dist/esm/models/list-actions200-response-collection-inner.js +14 -0
  122. package/dist/esm/models/list-actions200-response.d.ts +32 -0
  123. package/dist/esm/models/list-actions200-response.js +14 -0
  124. package/dist/esm/models/list-app-connections200-response-collection-inner.d.ts +66 -0
  125. package/dist/esm/models/list-app-connections200-response-collection-inner.js +14 -0
  126. package/dist/esm/models/list-app-connections200-response.d.ts +32 -0
  127. package/dist/esm/models/list-app-connections200-response.js +14 -0
  128. package/dist/esm/models/list-available-apps200-response-collection-inner.d.ts +66 -0
  129. package/dist/esm/models/list-available-apps200-response-collection-inner.js +14 -0
  130. package/dist/esm/models/list-available-apps200-response.d.ts +32 -0
  131. package/dist/esm/models/list-available-apps200-response.js +14 -0
  132. package/dist/esm/models/list-data-fields-type-parameter.d.ts +16 -0
  133. package/dist/esm/models/list-data-fields-type-parameter.js +14 -0
  134. package/dist/esm/models/list-data-fields200-response-collection-inner.d.ts +84 -0
  135. package/dist/esm/models/list-data-fields200-response-collection-inner.js +14 -0
  136. package/dist/esm/models/list-data-fields200-response.d.ts +32 -0
  137. package/dist/esm/models/list-data-fields200-response.js +14 -0
  138. package/dist/esm/models/list-events200-response-collection-inner.d.ts +78 -0
  139. package/dist/esm/models/list-events200-response-collection-inner.js +14 -0
  140. package/dist/esm/models/list-events200-response.d.ts +32 -0
  141. package/dist/esm/models/list-events200-response.js +14 -0
  142. package/dist/esm/models/list-installed-apps200-response-collection-inner.d.ts +114 -0
  143. package/dist/esm/models/list-installed-apps200-response-collection-inner.js +14 -0
  144. package/dist/esm/models/list-installed-apps200-response.d.ts +32 -0
  145. package/dist/esm/models/list-installed-apps200-response.js +14 -0
  146. package/dist/esm/models/list-triggers200-response-collection-inner.d.ts +102 -0
  147. package/dist/esm/models/list-triggers200-response-collection-inner.js +14 -0
  148. package/dist/esm/models/list-triggers200-response.d.ts +32 -0
  149. package/dist/esm/models/list-triggers200-response.js +14 -0
  150. package/dist/esm/models/list-users200-response-collection-inner.d.ts +84 -0
  151. package/dist/esm/models/list-users200-response-collection-inner.js +14 -0
  152. package/dist/esm/models/list-users200-response.d.ts +32 -0
  153. package/dist/esm/models/list-users200-response.js +14 -0
  154. package/dist/esm/models/list-workflow-executions200-response.d.ts +32 -0
  155. package/dist/esm/models/list-workflow-executions200-response.js +14 -0
  156. package/dist/esm/models/list-workflow-versions200-response-collection-inner.d.ts +60 -0
  157. package/dist/esm/models/list-workflow-versions200-response-collection-inner.js +14 -0
  158. package/dist/esm/models/list-workflow-versions200-response.d.ts +32 -0
  159. package/dist/esm/models/list-workflow-versions200-response.js +14 -0
  160. package/dist/esm/models/publish-workflow-request.d.ts +24 -0
  161. package/dist/esm/models/publish-workflow-request.js +14 -0
  162. package/dist/esm/models/retrieve-account200-response.d.ts +92 -0
  163. package/dist/esm/models/retrieve-account200-response.js +14 -0
  164. package/dist/esm/models/retrieve-action-type404-response.d.ts +36 -0
  165. package/dist/esm/models/retrieve-action-type404-response.js +14 -0
  166. package/dist/esm/models/retrieve-available-app200-response.d.ts +74 -0
  167. package/dist/esm/models/retrieve-available-app200-response.js +14 -0
  168. package/dist/esm/models/retrieve-execution200-response.d.ts +136 -0
  169. package/dist/esm/models/retrieve-execution200-response.js +14 -0
  170. package/dist/esm/models/retrieve-installed-app200-response.d.ts +122 -0
  171. package/dist/esm/models/retrieve-installed-app200-response.js +14 -0
  172. package/dist/esm/models/retrieve-workflow200-response.d.ts +215 -0
  173. package/dist/esm/models/retrieve-workflow200-response.js +17 -0
  174. package/dist/esm/models/retry-action-request.d.ts +31 -0
  175. package/dist/esm/models/retry-action-request.js +14 -0
  176. package/dist/esm/models/stop-executions-request.d.ts +31 -0
  177. package/dist/esm/models/stop-executions-request.js +14 -0
  178. package/dist/esm/models/trigger-workflow-request.d.ts +50 -0
  179. package/dist/esm/models/trigger-workflow-request.js +14 -0
  180. package/dist/esm/models/update-account-request-user-data-schema-inner.d.ts +48 -0
  181. package/dist/esm/models/update-account-request-user-data-schema-inner.js +14 -0
  182. package/dist/esm/models/update-account-request.d.ts +75 -0
  183. package/dist/esm/models/update-account-request.js +14 -0
  184. package/dist/esm/models/update-action-type-request.d.ts +30 -0
  185. package/dist/esm/models/update-action-type-request.js +14 -0
  186. package/dist/esm/models/update-installed-app-request.d.ts +24 -0
  187. package/dist/esm/models/update-installed-app-request.js +14 -0
  188. package/dist/esm/models/update-workflow-request.d.ts +79 -0
  189. package/dist/esm/models/update-workflow-request.js +14 -0
  190. package/dist/esm/models/upsert-user-request.d.ts +44 -0
  191. package/dist/esm/models/upsert-user-request.js +14 -0
  192. package/dist/index.d.ts +79 -0
  193. package/dist/index.js +106 -0
  194. package/dist/models/api-v1-action-types-post-request-form-draft-inner.d.ts +75 -0
  195. package/dist/models/api-v1-action-types-post-request-form-draft-inner.js +28 -0
  196. package/dist/models/api-v1-action-types-post-request-icon-draft.d.ts +36 -0
  197. package/dist/models/api-v1-action-types-post-request-icon-draft.js +15 -0
  198. package/dist/models/api-v1-action-types-post-request.d.ts +105 -0
  199. package/dist/models/api-v1-action-types-post-request.js +15 -0
  200. package/dist/models/api-v1-app-connections-post-request.d.ts +42 -0
  201. package/dist/models/api-v1-app-connections-post-request.js +15 -0
  202. package/dist/models/clone-workflow201-response.d.ts +183 -0
  203. package/dist/models/clone-workflow201-response.js +20 -0
  204. package/dist/models/create-user-token-request.d.ts +31 -0
  205. package/dist/models/create-user-token-request.js +15 -0
  206. package/dist/models/create-user-token200-response.d.ts +24 -0
  207. package/dist/models/create-user-token200-response.js +15 -0
  208. package/dist/models/create-workflow-request-template-draft-nodes-inner.d.ts +132 -0
  209. package/dist/models/create-workflow-request-template-draft-nodes-inner.js +28 -0
  210. package/dist/models/create-workflow-request-template-draft.d.ts +31 -0
  211. package/dist/models/create-workflow-request-template-draft.js +15 -0
  212. package/dist/models/create-workflow-request.d.ts +67 -0
  213. package/dist/models/create-workflow-request.js +15 -0
  214. package/dist/models/delete-workflow200-response-one-of.d.ts +24 -0
  215. package/dist/models/delete-workflow200-response-one-of.js +15 -0
  216. package/dist/models/delete-workflow200-response-one-of1.d.ts +24 -0
  217. package/dist/models/delete-workflow200-response-one-of1.js +15 -0
  218. package/dist/models/delete-workflow200-response.d.ts +19 -0
  219. package/dist/models/delete-workflow200-response.js +15 -0
  220. package/dist/models/discard-workflow-draft-request.d.ts +30 -0
  221. package/dist/models/discard-workflow-draft-request.js +15 -0
  222. package/dist/models/execute-workflow-request.d.ts +43 -0
  223. package/dist/models/execute-workflow-request.js +20 -0
  224. package/dist/models/execute-workflow201-response.d.ts +122 -0
  225. package/dist/models/execute-workflow201-response.js +15 -0
  226. package/dist/models/import-configuration-request-schema.d.ts +19 -0
  227. package/dist/models/import-configuration-request-schema.js +15 -0
  228. package/dist/models/import-configuration-request.d.ts +38 -0
  229. package/dist/models/import-configuration-request.js +21 -0
  230. package/dist/models/import-configuration201-response.d.ts +48 -0
  231. package/dist/models/import-configuration201-response.js +15 -0
  232. package/dist/models/index.d.ts +59 -0
  233. package/dist/models/index.js +75 -0
  234. package/dist/models/install-app-request.d.ts +30 -0
  235. package/dist/models/install-app-request.js +15 -0
  236. package/dist/models/list-action-types200-response-collection-inner.d.ts +260 -0
  237. package/dist/models/list-action-types200-response-collection-inner.js +30 -0
  238. package/dist/models/list-action-types200-response-meta.d.ts +36 -0
  239. package/dist/models/list-action-types200-response-meta.js +15 -0
  240. package/dist/models/list-action-types200-response.d.ts +32 -0
  241. package/dist/models/list-action-types200-response.js +15 -0
  242. package/dist/models/list-actions200-response-collection-inner.d.ts +144 -0
  243. package/dist/models/list-actions200-response-collection-inner.js +15 -0
  244. package/dist/models/list-actions200-response.d.ts +32 -0
  245. package/dist/models/list-actions200-response.js +15 -0
  246. package/dist/models/list-app-connections200-response-collection-inner.d.ts +66 -0
  247. package/dist/models/list-app-connections200-response-collection-inner.js +15 -0
  248. package/dist/models/list-app-connections200-response.d.ts +32 -0
  249. package/dist/models/list-app-connections200-response.js +15 -0
  250. package/dist/models/list-available-apps200-response-collection-inner.d.ts +66 -0
  251. package/dist/models/list-available-apps200-response-collection-inner.js +15 -0
  252. package/dist/models/list-available-apps200-response.d.ts +32 -0
  253. package/dist/models/list-available-apps200-response.js +15 -0
  254. package/dist/models/list-data-fields-type-parameter.d.ts +16 -0
  255. package/dist/models/list-data-fields-type-parameter.js +15 -0
  256. package/dist/models/list-data-fields200-response-collection-inner.d.ts +84 -0
  257. package/dist/models/list-data-fields200-response-collection-inner.js +15 -0
  258. package/dist/models/list-data-fields200-response.d.ts +32 -0
  259. package/dist/models/list-data-fields200-response.js +15 -0
  260. package/dist/models/list-events200-response-collection-inner.d.ts +78 -0
  261. package/dist/models/list-events200-response-collection-inner.js +15 -0
  262. package/dist/models/list-events200-response.d.ts +32 -0
  263. package/dist/models/list-events200-response.js +15 -0
  264. package/dist/models/list-installed-apps200-response-collection-inner.d.ts +114 -0
  265. package/dist/models/list-installed-apps200-response-collection-inner.js +15 -0
  266. package/dist/models/list-installed-apps200-response.d.ts +32 -0
  267. package/dist/models/list-installed-apps200-response.js +15 -0
  268. package/dist/models/list-triggers200-response-collection-inner.d.ts +102 -0
  269. package/dist/models/list-triggers200-response-collection-inner.js +15 -0
  270. package/dist/models/list-triggers200-response.d.ts +32 -0
  271. package/dist/models/list-triggers200-response.js +15 -0
  272. package/dist/models/list-users200-response-collection-inner.d.ts +84 -0
  273. package/dist/models/list-users200-response-collection-inner.js +15 -0
  274. package/dist/models/list-users200-response.d.ts +32 -0
  275. package/dist/models/list-users200-response.js +15 -0
  276. package/dist/models/list-workflow-executions200-response.d.ts +32 -0
  277. package/dist/models/list-workflow-executions200-response.js +15 -0
  278. package/dist/models/list-workflow-versions200-response-collection-inner.d.ts +60 -0
  279. package/dist/models/list-workflow-versions200-response-collection-inner.js +15 -0
  280. package/dist/models/list-workflow-versions200-response.d.ts +32 -0
  281. package/dist/models/list-workflow-versions200-response.js +15 -0
  282. package/dist/models/publish-workflow-request.d.ts +24 -0
  283. package/dist/models/publish-workflow-request.js +15 -0
  284. package/dist/models/retrieve-account200-response.d.ts +92 -0
  285. package/dist/models/retrieve-account200-response.js +15 -0
  286. package/dist/models/retrieve-action-type404-response.d.ts +36 -0
  287. package/dist/models/retrieve-action-type404-response.js +15 -0
  288. package/dist/models/retrieve-available-app200-response.d.ts +74 -0
  289. package/dist/models/retrieve-available-app200-response.js +15 -0
  290. package/dist/models/retrieve-execution200-response.d.ts +136 -0
  291. package/dist/models/retrieve-execution200-response.js +15 -0
  292. package/dist/models/retrieve-installed-app200-response.d.ts +122 -0
  293. package/dist/models/retrieve-installed-app200-response.js +15 -0
  294. package/dist/models/retrieve-workflow200-response.d.ts +215 -0
  295. package/dist/models/retrieve-workflow200-response.js +20 -0
  296. package/dist/models/retry-action-request.d.ts +31 -0
  297. package/dist/models/retry-action-request.js +15 -0
  298. package/dist/models/stop-executions-request.d.ts +31 -0
  299. package/dist/models/stop-executions-request.js +15 -0
  300. package/dist/models/trigger-workflow-request.d.ts +50 -0
  301. package/dist/models/trigger-workflow-request.js +15 -0
  302. package/dist/models/update-account-request-user-data-schema-inner.d.ts +48 -0
  303. package/dist/models/update-account-request-user-data-schema-inner.js +15 -0
  304. package/dist/models/update-account-request.d.ts +75 -0
  305. package/dist/models/update-account-request.js +15 -0
  306. package/dist/models/update-action-type-request.d.ts +30 -0
  307. package/dist/models/update-action-type-request.js +15 -0
  308. package/dist/models/update-installed-app-request.d.ts +24 -0
  309. package/dist/models/update-installed-app-request.js +15 -0
  310. package/dist/models/update-workflow-request.d.ts +79 -0
  311. package/dist/models/update-workflow-request.js +15 -0
  312. package/dist/models/upsert-user-request.d.ts +44 -0
  313. package/dist/models/upsert-user-request.js +15 -0
  314. package/package.json +38 -0
@@ -0,0 +1,643 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * API V1
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * ActionsApi - axios parameter creator
31
+ * @export
32
+ */
33
+ export const ActionsApiAxiosParamCreator = function (configuration) {
34
+ return {
35
+ /**
36
+ *
37
+ * @summary List actions
38
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
39
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
40
+ * @param {number} [limit] Number of items to return (max 100)
41
+ * @param {string} [status] Filter results by status
42
+ * @param {string} [executionId] Filter results by execution id
43
+ * @param {string} [workflowId] Filter results by workflow id
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ listActions: (startingAfter, endingBefore, limit, status, executionId, workflowId, options = {}) => __awaiter(this, void 0, void 0, function* () {
48
+ const localVarPath = `/api/v1/actions`;
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ }
55
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
56
+ const localVarHeaderParameter = {};
57
+ const localVarQueryParameter = {};
58
+ // authentication bearer required
59
+ // http bearer authentication required
60
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
61
+ if (startingAfter !== undefined) {
62
+ localVarQueryParameter['starting_after'] = startingAfter;
63
+ }
64
+ if (endingBefore !== undefined) {
65
+ localVarQueryParameter['ending_before'] = endingBefore;
66
+ }
67
+ if (limit !== undefined) {
68
+ localVarQueryParameter['limit'] = limit;
69
+ }
70
+ if (status !== undefined) {
71
+ localVarQueryParameter['status'] = status;
72
+ }
73
+ if (executionId !== undefined) {
74
+ localVarQueryParameter['execution_id'] = executionId;
75
+ }
76
+ if (workflowId !== undefined) {
77
+ localVarQueryParameter['workflow_id'] = workflowId;
78
+ }
79
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
81
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
82
+ return {
83
+ url: toPathString(localVarUrlObj),
84
+ options: localVarRequestOptions,
85
+ };
86
+ }),
87
+ /**
88
+ *
89
+ * @summary List completed actions
90
+ * @param {string} status Filter results by status
91
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
92
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
93
+ * @param {number} [limit] Number of items to return (max 100)
94
+ * @param {string} [executionId] Filter results by execution id
95
+ * @param {string} [workflowId] Filter results by workflow id
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ listCompletedActions: (status, startingAfter, endingBefore, limit, executionId, workflowId, options = {}) => __awaiter(this, void 0, void 0, function* () {
100
+ // verify required parameter 'status' is not null or undefined
101
+ assertParamExists('listCompletedActions', 'status', status);
102
+ const localVarPath = `/api/v1/actions/completed`
103
+ .replace(`{${"status"}}`, encodeURIComponent(String(status)));
104
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
105
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
106
+ let baseOptions;
107
+ if (configuration) {
108
+ baseOptions = configuration.baseOptions;
109
+ }
110
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
111
+ const localVarHeaderParameter = {};
112
+ const localVarQueryParameter = {};
113
+ // authentication bearer required
114
+ // http bearer authentication required
115
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
116
+ if (startingAfter !== undefined) {
117
+ localVarQueryParameter['starting_after'] = startingAfter;
118
+ }
119
+ if (endingBefore !== undefined) {
120
+ localVarQueryParameter['ending_before'] = endingBefore;
121
+ }
122
+ if (limit !== undefined) {
123
+ localVarQueryParameter['limit'] = limit;
124
+ }
125
+ if (executionId !== undefined) {
126
+ localVarQueryParameter['execution_id'] = executionId;
127
+ }
128
+ if (workflowId !== undefined) {
129
+ localVarQueryParameter['workflow_id'] = workflowId;
130
+ }
131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
134
+ return {
135
+ url: toPathString(localVarUrlObj),
136
+ options: localVarRequestOptions,
137
+ };
138
+ }),
139
+ /**
140
+ *
141
+ * @summary List failed actions
142
+ * @param {string} status Filter results by status
143
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
144
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
145
+ * @param {number} [limit] Number of items to return (max 100)
146
+ * @param {string} [executionId] Filter results by execution id
147
+ * @param {string} [workflowId] Filter results by workflow id
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ listFailedActions: (status, startingAfter, endingBefore, limit, executionId, workflowId, options = {}) => __awaiter(this, void 0, void 0, function* () {
152
+ // verify required parameter 'status' is not null or undefined
153
+ assertParamExists('listFailedActions', 'status', status);
154
+ const localVarPath = `/api/v1/actions/failed`
155
+ .replace(`{${"status"}}`, encodeURIComponent(String(status)));
156
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
157
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
158
+ let baseOptions;
159
+ if (configuration) {
160
+ baseOptions = configuration.baseOptions;
161
+ }
162
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
163
+ const localVarHeaderParameter = {};
164
+ const localVarQueryParameter = {};
165
+ // authentication bearer required
166
+ // http bearer authentication required
167
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
168
+ if (startingAfter !== undefined) {
169
+ localVarQueryParameter['starting_after'] = startingAfter;
170
+ }
171
+ if (endingBefore !== undefined) {
172
+ localVarQueryParameter['ending_before'] = endingBefore;
173
+ }
174
+ if (limit !== undefined) {
175
+ localVarQueryParameter['limit'] = limit;
176
+ }
177
+ if (executionId !== undefined) {
178
+ localVarQueryParameter['execution_id'] = executionId;
179
+ }
180
+ if (workflowId !== undefined) {
181
+ localVarQueryParameter['workflow_id'] = workflowId;
182
+ }
183
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
184
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
185
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
186
+ return {
187
+ url: toPathString(localVarUrlObj),
188
+ options: localVarRequestOptions,
189
+ };
190
+ }),
191
+ /**
192
+ *
193
+ * @summary List scheduled actions
194
+ * @param {string} status Filter results by status
195
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
196
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
197
+ * @param {number} [limit] Number of items to return (max 100)
198
+ * @param {string} [executionId] Filter results by execution id
199
+ * @param {string} [workflowId] Filter results by workflow id
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ listScheduledActions: (status, startingAfter, endingBefore, limit, executionId, workflowId, options = {}) => __awaiter(this, void 0, void 0, function* () {
204
+ // verify required parameter 'status' is not null or undefined
205
+ assertParamExists('listScheduledActions', 'status', status);
206
+ const localVarPath = `/api/v1/actions/scheduled`
207
+ .replace(`{${"status"}}`, encodeURIComponent(String(status)));
208
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
209
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
210
+ let baseOptions;
211
+ if (configuration) {
212
+ baseOptions = configuration.baseOptions;
213
+ }
214
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
215
+ const localVarHeaderParameter = {};
216
+ const localVarQueryParameter = {};
217
+ // authentication bearer required
218
+ // http bearer authentication required
219
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
220
+ if (startingAfter !== undefined) {
221
+ localVarQueryParameter['starting_after'] = startingAfter;
222
+ }
223
+ if (endingBefore !== undefined) {
224
+ localVarQueryParameter['ending_before'] = endingBefore;
225
+ }
226
+ if (limit !== undefined) {
227
+ localVarQueryParameter['limit'] = limit;
228
+ }
229
+ if (executionId !== undefined) {
230
+ localVarQueryParameter['execution_id'] = executionId;
231
+ }
232
+ if (workflowId !== undefined) {
233
+ localVarQueryParameter['workflow_id'] = workflowId;
234
+ }
235
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
236
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
237
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
238
+ return {
239
+ url: toPathString(localVarUrlObj),
240
+ options: localVarRequestOptions,
241
+ };
242
+ }),
243
+ /**
244
+ *
245
+ * @summary List workflow actions
246
+ * @param {string} workflowId Filter results by workflow id
247
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
248
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
249
+ * @param {number} [limit] Number of items to return (max 100)
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ listWorkflowActions: (workflowId, startingAfter, endingBefore, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
254
+ // verify required parameter 'workflowId' is not null or undefined
255
+ assertParamExists('listWorkflowActions', 'workflowId', workflowId);
256
+ const localVarPath = `/api/v1/workflows/{workflow_id}/actions`
257
+ .replace(`{${"workflow_id"}}`, encodeURIComponent(String(workflowId)));
258
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
259
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
260
+ let baseOptions;
261
+ if (configuration) {
262
+ baseOptions = configuration.baseOptions;
263
+ }
264
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
265
+ const localVarHeaderParameter = {};
266
+ const localVarQueryParameter = {};
267
+ // authentication bearer required
268
+ // http bearer authentication required
269
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
270
+ if (startingAfter !== undefined) {
271
+ localVarQueryParameter['starting_after'] = startingAfter;
272
+ }
273
+ if (endingBefore !== undefined) {
274
+ localVarQueryParameter['ending_before'] = endingBefore;
275
+ }
276
+ if (limit !== undefined) {
277
+ localVarQueryParameter['limit'] = limit;
278
+ }
279
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
280
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
281
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
282
+ return {
283
+ url: toPathString(localVarUrlObj),
284
+ options: localVarRequestOptions,
285
+ };
286
+ }),
287
+ /**
288
+ *
289
+ * @summary Retry action
290
+ * @param {string} hashid Action\'s hashid
291
+ * @param {RetryActionRequest} [retryActionRequest]
292
+ * @param {*} [options] Override http request option.
293
+ * @throws {RequiredError}
294
+ */
295
+ retryAction: (hashid, retryActionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
296
+ // verify required parameter 'hashid' is not null or undefined
297
+ assertParamExists('retryAction', 'hashid', hashid);
298
+ const localVarPath = `/api/v1/actions/{hashid}/retry`
299
+ .replace(`{${"hashid"}}`, encodeURIComponent(String(hashid)));
300
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
301
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
302
+ let baseOptions;
303
+ if (configuration) {
304
+ baseOptions = configuration.baseOptions;
305
+ }
306
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
307
+ const localVarHeaderParameter = {};
308
+ const localVarQueryParameter = {};
309
+ // authentication bearer required
310
+ // http bearer authentication required
311
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
312
+ localVarHeaderParameter['Content-Type'] = 'application/json';
313
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
314
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
315
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
316
+ localVarRequestOptions.data = serializeDataIfNeeded(retryActionRequest, localVarRequestOptions, configuration);
317
+ return {
318
+ url: toPathString(localVarUrlObj),
319
+ options: localVarRequestOptions,
320
+ };
321
+ }),
322
+ };
323
+ };
324
+ /**
325
+ * ActionsApi - functional programming interface
326
+ * @export
327
+ */
328
+ export const ActionsApiFp = function (configuration) {
329
+ const localVarAxiosParamCreator = ActionsApiAxiosParamCreator(configuration);
330
+ return {
331
+ /**
332
+ *
333
+ * @summary List actions
334
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
335
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
336
+ * @param {number} [limit] Number of items to return (max 100)
337
+ * @param {string} [status] Filter results by status
338
+ * @param {string} [executionId] Filter results by execution id
339
+ * @param {string} [workflowId] Filter results by workflow id
340
+ * @param {*} [options] Override http request option.
341
+ * @throws {RequiredError}
342
+ */
343
+ listActions(startingAfter, endingBefore, limit, status, executionId, workflowId, options) {
344
+ var _a, _b, _c;
345
+ return __awaiter(this, void 0, void 0, function* () {
346
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listActions(startingAfter, endingBefore, limit, status, executionId, workflowId, options);
347
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
348
+ const operationBasePath = (_c = (_b = operationServerMap['ActionsApi.listActions']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
349
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
350
+ });
351
+ },
352
+ /**
353
+ *
354
+ * @summary List completed actions
355
+ * @param {string} status Filter results by status
356
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
357
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
358
+ * @param {number} [limit] Number of items to return (max 100)
359
+ * @param {string} [executionId] Filter results by execution id
360
+ * @param {string} [workflowId] Filter results by workflow id
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ listCompletedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options) {
365
+ var _a, _b, _c;
366
+ return __awaiter(this, void 0, void 0, function* () {
367
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCompletedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options);
368
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
369
+ const operationBasePath = (_c = (_b = operationServerMap['ActionsApi.listCompletedActions']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
370
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
371
+ });
372
+ },
373
+ /**
374
+ *
375
+ * @summary List failed actions
376
+ * @param {string} status Filter results by status
377
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
378
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
379
+ * @param {number} [limit] Number of items to return (max 100)
380
+ * @param {string} [executionId] Filter results by execution id
381
+ * @param {string} [workflowId] Filter results by workflow id
382
+ * @param {*} [options] Override http request option.
383
+ * @throws {RequiredError}
384
+ */
385
+ listFailedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options) {
386
+ var _a, _b, _c;
387
+ return __awaiter(this, void 0, void 0, function* () {
388
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listFailedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options);
389
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
390
+ const operationBasePath = (_c = (_b = operationServerMap['ActionsApi.listFailedActions']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
391
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
392
+ });
393
+ },
394
+ /**
395
+ *
396
+ * @summary List scheduled actions
397
+ * @param {string} status Filter results by status
398
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
399
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
400
+ * @param {number} [limit] Number of items to return (max 100)
401
+ * @param {string} [executionId] Filter results by execution id
402
+ * @param {string} [workflowId] Filter results by workflow id
403
+ * @param {*} [options] Override http request option.
404
+ * @throws {RequiredError}
405
+ */
406
+ listScheduledActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options) {
407
+ var _a, _b, _c;
408
+ return __awaiter(this, void 0, void 0, function* () {
409
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listScheduledActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options);
410
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
411
+ const operationBasePath = (_c = (_b = operationServerMap['ActionsApi.listScheduledActions']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
412
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
413
+ });
414
+ },
415
+ /**
416
+ *
417
+ * @summary List workflow actions
418
+ * @param {string} workflowId Filter results by workflow id
419
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
420
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
421
+ * @param {number} [limit] Number of items to return (max 100)
422
+ * @param {*} [options] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ listWorkflowActions(workflowId, startingAfter, endingBefore, limit, options) {
426
+ var _a, _b, _c;
427
+ return __awaiter(this, void 0, void 0, function* () {
428
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listWorkflowActions(workflowId, startingAfter, endingBefore, limit, options);
429
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
430
+ const operationBasePath = (_c = (_b = operationServerMap['ActionsApi.listWorkflowActions']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
431
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
432
+ });
433
+ },
434
+ /**
435
+ *
436
+ * @summary Retry action
437
+ * @param {string} hashid Action\'s hashid
438
+ * @param {RetryActionRequest} [retryActionRequest]
439
+ * @param {*} [options] Override http request option.
440
+ * @throws {RequiredError}
441
+ */
442
+ retryAction(hashid, retryActionRequest, options) {
443
+ var _a, _b, _c;
444
+ return __awaiter(this, void 0, void 0, function* () {
445
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.retryAction(hashid, retryActionRequest, options);
446
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
447
+ const operationBasePath = (_c = (_b = operationServerMap['ActionsApi.retryAction']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
448
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
449
+ });
450
+ },
451
+ };
452
+ };
453
+ /**
454
+ * ActionsApi - factory interface
455
+ * @export
456
+ */
457
+ export const ActionsApiFactory = function (configuration, basePath, axios) {
458
+ const localVarFp = ActionsApiFp(configuration);
459
+ return {
460
+ /**
461
+ *
462
+ * @summary List actions
463
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
464
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
465
+ * @param {number} [limit] Number of items to return (max 100)
466
+ * @param {string} [status] Filter results by status
467
+ * @param {string} [executionId] Filter results by execution id
468
+ * @param {string} [workflowId] Filter results by workflow id
469
+ * @param {*} [options] Override http request option.
470
+ * @throws {RequiredError}
471
+ */
472
+ listActions(startingAfter, endingBefore, limit, status, executionId, workflowId, options) {
473
+ return localVarFp.listActions(startingAfter, endingBefore, limit, status, executionId, workflowId, options).then((request) => request(axios, basePath));
474
+ },
475
+ /**
476
+ *
477
+ * @summary List completed actions
478
+ * @param {string} status Filter results by status
479
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
480
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
481
+ * @param {number} [limit] Number of items to return (max 100)
482
+ * @param {string} [executionId] Filter results by execution id
483
+ * @param {string} [workflowId] Filter results by workflow id
484
+ * @param {*} [options] Override http request option.
485
+ * @throws {RequiredError}
486
+ */
487
+ listCompletedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options) {
488
+ return localVarFp.listCompletedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options).then((request) => request(axios, basePath));
489
+ },
490
+ /**
491
+ *
492
+ * @summary List failed actions
493
+ * @param {string} status Filter results by status
494
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
495
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
496
+ * @param {number} [limit] Number of items to return (max 100)
497
+ * @param {string} [executionId] Filter results by execution id
498
+ * @param {string} [workflowId] Filter results by workflow id
499
+ * @param {*} [options] Override http request option.
500
+ * @throws {RequiredError}
501
+ */
502
+ listFailedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options) {
503
+ return localVarFp.listFailedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options).then((request) => request(axios, basePath));
504
+ },
505
+ /**
506
+ *
507
+ * @summary List scheduled actions
508
+ * @param {string} status Filter results by status
509
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
510
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
511
+ * @param {number} [limit] Number of items to return (max 100)
512
+ * @param {string} [executionId] Filter results by execution id
513
+ * @param {string} [workflowId] Filter results by workflow id
514
+ * @param {*} [options] Override http request option.
515
+ * @throws {RequiredError}
516
+ */
517
+ listScheduledActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options) {
518
+ return localVarFp.listScheduledActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options).then((request) => request(axios, basePath));
519
+ },
520
+ /**
521
+ *
522
+ * @summary List workflow actions
523
+ * @param {string} workflowId Filter results by workflow id
524
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
525
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
526
+ * @param {number} [limit] Number of items to return (max 100)
527
+ * @param {*} [options] Override http request option.
528
+ * @throws {RequiredError}
529
+ */
530
+ listWorkflowActions(workflowId, startingAfter, endingBefore, limit, options) {
531
+ return localVarFp.listWorkflowActions(workflowId, startingAfter, endingBefore, limit, options).then((request) => request(axios, basePath));
532
+ },
533
+ /**
534
+ *
535
+ * @summary Retry action
536
+ * @param {string} hashid Action\'s hashid
537
+ * @param {RetryActionRequest} [retryActionRequest]
538
+ * @param {*} [options] Override http request option.
539
+ * @throws {RequiredError}
540
+ */
541
+ retryAction(hashid, retryActionRequest, options) {
542
+ return localVarFp.retryAction(hashid, retryActionRequest, options).then((request) => request(axios, basePath));
543
+ },
544
+ };
545
+ };
546
+ /**
547
+ * ActionsApi - object-oriented interface
548
+ * @export
549
+ * @class ActionsApi
550
+ * @extends {BaseAPI}
551
+ */
552
+ export class ActionsApi extends BaseAPI {
553
+ /**
554
+ *
555
+ * @summary List actions
556
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
557
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
558
+ * @param {number} [limit] Number of items to return (max 100)
559
+ * @param {string} [status] Filter results by status
560
+ * @param {string} [executionId] Filter results by execution id
561
+ * @param {string} [workflowId] Filter results by workflow id
562
+ * @param {*} [options] Override http request option.
563
+ * @throws {RequiredError}
564
+ * @memberof ActionsApi
565
+ */
566
+ listActions(startingAfter, endingBefore, limit, status, executionId, workflowId, options) {
567
+ return ActionsApiFp(this.configuration).listActions(startingAfter, endingBefore, limit, status, executionId, workflowId, options).then((request) => request(this.axios, this.basePath));
568
+ }
569
+ /**
570
+ *
571
+ * @summary List completed actions
572
+ * @param {string} status Filter results by status
573
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
574
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
575
+ * @param {number} [limit] Number of items to return (max 100)
576
+ * @param {string} [executionId] Filter results by execution id
577
+ * @param {string} [workflowId] Filter results by workflow id
578
+ * @param {*} [options] Override http request option.
579
+ * @throws {RequiredError}
580
+ * @memberof ActionsApi
581
+ */
582
+ listCompletedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options) {
583
+ return ActionsApiFp(this.configuration).listCompletedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options).then((request) => request(this.axios, this.basePath));
584
+ }
585
+ /**
586
+ *
587
+ * @summary List failed actions
588
+ * @param {string} status Filter results by status
589
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
590
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
591
+ * @param {number} [limit] Number of items to return (max 100)
592
+ * @param {string} [executionId] Filter results by execution id
593
+ * @param {string} [workflowId] Filter results by workflow id
594
+ * @param {*} [options] Override http request option.
595
+ * @throws {RequiredError}
596
+ * @memberof ActionsApi
597
+ */
598
+ listFailedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options) {
599
+ return ActionsApiFp(this.configuration).listFailedActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options).then((request) => request(this.axios, this.basePath));
600
+ }
601
+ /**
602
+ *
603
+ * @summary List scheduled actions
604
+ * @param {string} status Filter results by status
605
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
606
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
607
+ * @param {number} [limit] Number of items to return (max 100)
608
+ * @param {string} [executionId] Filter results by execution id
609
+ * @param {string} [workflowId] Filter results by workflow id
610
+ * @param {*} [options] Override http request option.
611
+ * @throws {RequiredError}
612
+ * @memberof ActionsApi
613
+ */
614
+ listScheduledActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options) {
615
+ return ActionsApiFp(this.configuration).listScheduledActions(status, startingAfter, endingBefore, limit, executionId, workflowId, options).then((request) => request(this.axios, this.basePath));
616
+ }
617
+ /**
618
+ *
619
+ * @summary List workflow actions
620
+ * @param {string} workflowId Filter results by workflow id
621
+ * @param {string} [startingAfter] Cursor for pagination - return results after this ID
622
+ * @param {string} [endingBefore] Cursor for pagination - return results before this ID
623
+ * @param {number} [limit] Number of items to return (max 100)
624
+ * @param {*} [options] Override http request option.
625
+ * @throws {RequiredError}
626
+ * @memberof ActionsApi
627
+ */
628
+ listWorkflowActions(workflowId, startingAfter, endingBefore, limit, options) {
629
+ return ActionsApiFp(this.configuration).listWorkflowActions(workflowId, startingAfter, endingBefore, limit, options).then((request) => request(this.axios, this.basePath));
630
+ }
631
+ /**
632
+ *
633
+ * @summary Retry action
634
+ * @param {string} hashid Action\'s hashid
635
+ * @param {RetryActionRequest} [retryActionRequest]
636
+ * @param {*} [options] Override http request option.
637
+ * @throws {RequiredError}
638
+ * @memberof ActionsApi
639
+ */
640
+ retryAction(hashid, retryActionRequest, options) {
641
+ return ActionsApiFp(this.configuration).retryAction(hashid, retryActionRequest, options).then((request) => request(this.axios, this.basePath));
642
+ }
643
+ }