@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,24 @@
1
+ /**
2
+ * API V1
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 * from './api/accounts-api';
13
+ export * from './api/action-types-api';
14
+ export * from './api/actions-api';
15
+ export * from './api/app-connections-api';
16
+ export * from './api/available-apps-api';
17
+ export * from './api/data-fields-api';
18
+ export * from './api/events-api';
19
+ export * from './api/executions-api';
20
+ export * from './api/installed-apps-api';
21
+ export * from './api/payments-api';
22
+ export * from './api/triggers-api';
23
+ export * from './api/users-api';
24
+ export * from './api/workflows-api';
@@ -0,0 +1,26 @@
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
+ export * from './api/accounts-api';
15
+ export * from './api/action-types-api';
16
+ export * from './api/actions-api';
17
+ export * from './api/app-connections-api';
18
+ export * from './api/available-apps-api';
19
+ export * from './api/data-fields-api';
20
+ export * from './api/events-api';
21
+ export * from './api/executions-api';
22
+ export * from './api/installed-apps-api';
23
+ export * from './api/payments-api';
24
+ export * from './api/triggers-api';
25
+ export * from './api/users-api';
26
+ export * from './api/workflows-api';
@@ -0,0 +1,66 @@
1
+ /**
2
+ * API V1
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 type { Configuration } from './configuration';
13
+ import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ export declare const BASE_PATH: string;
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const COLLECTION_FORMATS: {
20
+ csv: string;
21
+ ssv: string;
22
+ tsv: string;
23
+ pipes: string;
24
+ };
25
+ /**
26
+ *
27
+ * @export
28
+ * @interface RequestArgs
29
+ */
30
+ export interface RequestArgs {
31
+ url: string;
32
+ options: RawAxiosRequestConfig;
33
+ }
34
+ /**
35
+ *
36
+ * @export
37
+ * @class BaseAPI
38
+ */
39
+ export declare class BaseAPI {
40
+ protected basePath: string;
41
+ protected axios: AxiosInstance;
42
+ protected configuration: Configuration | undefined;
43
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
+ }
45
+ /**
46
+ *
47
+ * @export
48
+ * @class RequiredError
49
+ * @extends {Error}
50
+ */
51
+ export declare class RequiredError extends Error {
52
+ field: string;
53
+ constructor(field: string, msg?: string);
54
+ }
55
+ interface ServerMap {
56
+ [key: string]: {
57
+ url: string;
58
+ description: string;
59
+ }[];
60
+ }
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export declare const operationServerMap: ServerMap;
66
+ export {};
@@ -0,0 +1,60 @@
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
+ import globalAxios from 'axios';
15
+ export const BASE_PATH = "https://www.embedworkflow.com".replace(/\/+$/, "");
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const COLLECTION_FORMATS = {
21
+ csv: ",",
22
+ ssv: " ",
23
+ tsv: "\t",
24
+ pipes: "|",
25
+ };
26
+ /**
27
+ *
28
+ * @export
29
+ * @class BaseAPI
30
+ */
31
+ export class BaseAPI {
32
+ constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
33
+ var _a;
34
+ this.basePath = basePath;
35
+ this.axios = axios;
36
+ if (configuration) {
37
+ this.configuration = configuration;
38
+ this.basePath = (_a = configuration.basePath) !== null && _a !== void 0 ? _a : basePath;
39
+ }
40
+ }
41
+ }
42
+ ;
43
+ /**
44
+ *
45
+ * @export
46
+ * @class RequiredError
47
+ * @extends {Error}
48
+ */
49
+ export class RequiredError extends Error {
50
+ constructor(field, msg) {
51
+ super(msg);
52
+ this.field = field;
53
+ this.name = "RequiredError";
54
+ }
55
+ }
56
+ /**
57
+ *
58
+ * @export
59
+ */
60
+ export const operationServerMap = {};
@@ -0,0 +1,65 @@
1
+ /**
2
+ * API V1
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 type { Configuration } from "./configuration";
13
+ import type { RequestArgs } from "./base";
14
+ import type { AxiosInstance, AxiosResponse } from 'axios';
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const DUMMY_BASE_URL = "https://example.com";
20
+ /**
21
+ *
22
+ * @throws {RequiredError}
23
+ * @export
24
+ */
25
+ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
+ /**
27
+ *
28
+ * @export
29
+ */
30
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
+ /**
32
+ *
33
+ * @export
34
+ */
35
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
+ /**
37
+ *
38
+ * @export
39
+ */
40
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
+ /**
42
+ *
43
+ * @export
44
+ */
45
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
+ /**
47
+ *
48
+ * @export
49
+ */
50
+ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
+ /**
52
+ *
53
+ * @export
54
+ */
55
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
+ /**
57
+ *
58
+ * @export
59
+ */
60
+ export declare const toPathString: (url: URL) => string;
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -0,0 +1,149 @@
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 { RequiredError } from "./base";
24
+ /**
25
+ *
26
+ * @export
27
+ */
28
+ export const DUMMY_BASE_URL = 'https://example.com';
29
+ /**
30
+ *
31
+ * @throws {RequiredError}
32
+ * @export
33
+ */
34
+ export const assertParamExists = function (functionName, paramName, paramValue) {
35
+ if (paramValue === null || paramValue === undefined) {
36
+ throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
37
+ }
38
+ };
39
+ /**
40
+ *
41
+ * @export
42
+ */
43
+ export const setApiKeyToObject = function (object, keyParamName, configuration) {
44
+ return __awaiter(this, void 0, void 0, function* () {
45
+ if (configuration && configuration.apiKey) {
46
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
47
+ ? yield configuration.apiKey(keyParamName)
48
+ : yield configuration.apiKey;
49
+ object[keyParamName] = localVarApiKeyValue;
50
+ }
51
+ });
52
+ };
53
+ /**
54
+ *
55
+ * @export
56
+ */
57
+ export const setBasicAuthToObject = function (object, configuration) {
58
+ if (configuration && (configuration.username || configuration.password)) {
59
+ object["auth"] = { username: configuration.username, password: configuration.password };
60
+ }
61
+ };
62
+ /**
63
+ *
64
+ * @export
65
+ */
66
+ export const setBearerAuthToObject = function (object, configuration) {
67
+ return __awaiter(this, void 0, void 0, function* () {
68
+ if (configuration && configuration.accessToken) {
69
+ const accessToken = typeof configuration.accessToken === 'function'
70
+ ? yield configuration.accessToken()
71
+ : yield configuration.accessToken;
72
+ object["Authorization"] = "Bearer " + accessToken;
73
+ }
74
+ });
75
+ };
76
+ /**
77
+ *
78
+ * @export
79
+ */
80
+ export const setOAuthToObject = function (object, name, scopes, configuration) {
81
+ return __awaiter(this, void 0, void 0, function* () {
82
+ if (configuration && configuration.accessToken) {
83
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
84
+ ? yield configuration.accessToken(name, scopes)
85
+ : yield configuration.accessToken;
86
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
87
+ }
88
+ });
89
+ };
90
+ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
91
+ if (parameter == null)
92
+ return;
93
+ if (typeof parameter === "object") {
94
+ if (Array.isArray(parameter)) {
95
+ parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
96
+ }
97
+ else {
98
+ Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
99
+ }
100
+ }
101
+ else {
102
+ if (urlSearchParams.has(key)) {
103
+ urlSearchParams.append(key, parameter);
104
+ }
105
+ else {
106
+ urlSearchParams.set(key, parameter);
107
+ }
108
+ }
109
+ }
110
+ /**
111
+ *
112
+ * @export
113
+ */
114
+ export const setSearchParams = function (url, ...objects) {
115
+ const searchParams = new URLSearchParams(url.search);
116
+ setFlattenedQueryParams(searchParams, objects);
117
+ url.search = searchParams.toString();
118
+ };
119
+ /**
120
+ *
121
+ * @export
122
+ */
123
+ export const serializeDataIfNeeded = function (value, requestOptions, configuration) {
124
+ const nonString = typeof value !== 'string';
125
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
126
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
127
+ : nonString;
128
+ return needsSerialization
129
+ ? JSON.stringify(value !== undefined ? value : {})
130
+ : (value || "");
131
+ };
132
+ /**
133
+ *
134
+ * @export
135
+ */
136
+ export const toPathString = function (url) {
137
+ return url.pathname + url.search + url.hash;
138
+ };
139
+ /**
140
+ *
141
+ * @export
142
+ */
143
+ export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
144
+ return (axios = globalAxios, basePath = BASE_PATH) => {
145
+ var _a;
146
+ const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
147
+ return axios.request(axiosRequestArgs);
148
+ };
149
+ };
@@ -0,0 +1,91 @@
1
+ /**
2
+ * API V1
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 ConfigurationParameters {
13
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
+ username?: string;
15
+ password?: string;
16
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
17
+ basePath?: string;
18
+ serverIndex?: number;
19
+ baseOptions?: any;
20
+ formDataCtor?: new () => any;
21
+ }
22
+ export declare class Configuration {
23
+ /**
24
+ * parameter for apiKey security
25
+ * @param name security name
26
+ * @memberof Configuration
27
+ */
28
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
+ /**
30
+ * parameter for basic security
31
+ *
32
+ * @type {string}
33
+ * @memberof Configuration
34
+ */
35
+ username?: string;
36
+ /**
37
+ * parameter for basic security
38
+ *
39
+ * @type {string}
40
+ * @memberof Configuration
41
+ */
42
+ password?: string;
43
+ /**
44
+ * parameter for oauth2 security
45
+ * @param name security name
46
+ * @param scopes oauth2 scope
47
+ * @memberof Configuration
48
+ */
49
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
50
+ /**
51
+ * override base path
52
+ *
53
+ * @type {string}
54
+ * @memberof Configuration
55
+ */
56
+ basePath?: string;
57
+ /**
58
+ * override server index
59
+ *
60
+ * @type {number}
61
+ * @memberof Configuration
62
+ */
63
+ serverIndex?: number;
64
+ /**
65
+ * base options for axios calls
66
+ *
67
+ * @type {any}
68
+ * @memberof Configuration
69
+ */
70
+ baseOptions?: any;
71
+ /**
72
+ * The FormData constructor that will be used to create multipart form data
73
+ * requests. You can inject this here so that execution environments that
74
+ * do not support the FormData class can still run the generated client.
75
+ *
76
+ * @type {new () => FormData}
77
+ */
78
+ formDataCtor?: new () => any;
79
+ constructor(param?: ConfigurationParameters);
80
+ /**
81
+ * Check if the given MIME is a JSON MIME.
82
+ * JSON MIME examples:
83
+ * application/json
84
+ * application/json; charset=UTF8
85
+ * APPLICATION/JSON
86
+ * application/vnd.company+json
87
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
88
+ * @return True if the given MIME is JSON, false otherwise.
89
+ */
90
+ isJsonMime(mime: string): boolean;
91
+ }
@@ -0,0 +1,39 @@
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
+ export class Configuration {
15
+ constructor(param = {}) {
16
+ this.apiKey = param.apiKey;
17
+ this.username = param.username;
18
+ this.password = param.password;
19
+ this.accessToken = param.accessToken;
20
+ this.basePath = param.basePath;
21
+ this.serverIndex = param.serverIndex;
22
+ this.baseOptions = param.baseOptions;
23
+ this.formDataCtor = param.formDataCtor;
24
+ }
25
+ /**
26
+ * Check if the given MIME is a JSON MIME.
27
+ * JSON MIME examples:
28
+ * application/json
29
+ * application/json; charset=UTF8
30
+ * APPLICATION/JSON
31
+ * application/vnd.company+json
32
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
33
+ * @return True if the given MIME is JSON, false otherwise.
34
+ */
35
+ isJsonMime(mime) {
36
+ const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
37
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
38
+ }
39
+ }
@@ -0,0 +1,79 @@
1
+ /**
2
+ * API V1
3
+ *
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
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
+ /**
15
+ * API V1
16
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
17
+ *
18
+ * The version of the OpenAPI document: v1
19
+ *
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ */
25
+ export * from "./api";
26
+ export * from "./configuration";
27
+ export * from "./models";
28
+ import { Configuration } from './configuration';
29
+ import { AccountsApi } from './api';
30
+ import { ActionTypesApi } from './api';
31
+ import { ActionsApi } from './api';
32
+ import { AppConnectionsApi } from './api';
33
+ import { AvailableAppsApi } from './api';
34
+ import { DataFieldsApi } from './api';
35
+ import { EventsApi } from './api';
36
+ import { ExecutionsApi } from './api';
37
+ import { InstalledAppsApi } from './api';
38
+ import { PaymentsApi } from './api';
39
+ import { TriggersApi } from './api';
40
+ import { UsersApi } from './api';
41
+ import { WorkflowsApi } from './api';
42
+ /**
43
+ * EmbedWorkflow API Client
44
+ *
45
+ * Simple wrapper for the EmbedWorkflow API that handles configuration
46
+ * and provides easy access to all API endpoints.
47
+ *
48
+ * @example
49
+ * ```typescript
50
+ * const client = new EmbedWorkflowClient('your-api-key');
51
+ * const workflows = await client.workflows.apiV1WorkflowsGet();
52
+ * ```
53
+ */
54
+ export declare class EmbedWorkflowClient {
55
+ private config;
56
+ readonly accounts: AccountsApi;
57
+ readonly actionTypes: ActionTypesApi;
58
+ readonly actions: ActionsApi;
59
+ readonly appConnections: AppConnectionsApi;
60
+ readonly availableApps: AvailableAppsApi;
61
+ readonly dataFields: DataFieldsApi;
62
+ readonly events: EventsApi;
63
+ readonly executions: ExecutionsApi;
64
+ readonly installedApps: InstalledAppsApi;
65
+ readonly payments: PaymentsApi;
66
+ readonly triggers: TriggersApi;
67
+ readonly users: UsersApi;
68
+ readonly workflows: WorkflowsApi;
69
+ /**
70
+ * Create a new EmbedWorkflow client
71
+ * @param apiKey - Your EmbedWorkflow API key
72
+ * @param basePath - Optional custom base path (defaults to https://api.embedworkflow.com)
73
+ */
74
+ constructor(apiKey: string, basePath?: string);
75
+ /**
76
+ * Get the underlying configuration object
77
+ */
78
+ getConfiguration(): Configuration;
79
+ }
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * API V1
5
+ *
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ *
9
+ * The version of the OpenAPI document: v1
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ /**
17
+ * API V1
18
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
19
+ *
20
+ * The version of the OpenAPI document: v1
21
+ *
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ */
27
+ export * from "./api";
28
+ export * from "./configuration";
29
+ export * from "./models";
30
+ // Custom convenience wrapper for easier SDK usage
31
+ import { Configuration } from './configuration';
32
+ import { AccountsApi } from './api';
33
+ import { ActionTypesApi } from './api';
34
+ import { ActionsApi } from './api';
35
+ import { AppConnectionsApi } from './api';
36
+ import { AvailableAppsApi } from './api';
37
+ import { DataFieldsApi } from './api';
38
+ import { EventsApi } from './api';
39
+ import { ExecutionsApi } from './api';
40
+ import { InstalledAppsApi } from './api';
41
+ import { PaymentsApi } from './api';
42
+ import { TriggersApi } from './api';
43
+ import { UsersApi } from './api';
44
+ import { WorkflowsApi } from './api';
45
+ /**
46
+ * EmbedWorkflow API Client
47
+ *
48
+ * Simple wrapper for the EmbedWorkflow API that handles configuration
49
+ * and provides easy access to all API endpoints.
50
+ *
51
+ * @example
52
+ * ```typescript
53
+ * const client = new EmbedWorkflowClient('your-api-key');
54
+ * const workflows = await client.workflows.apiV1WorkflowsGet();
55
+ * ```
56
+ */
57
+ export class EmbedWorkflowClient {
58
+ /**
59
+ * Create a new EmbedWorkflow client
60
+ * @param apiKey - Your EmbedWorkflow API key
61
+ * @param basePath - Optional custom base path (defaults to https://api.embedworkflow.com)
62
+ */
63
+ constructor(apiKey, basePath) {
64
+ this.config = new Configuration({
65
+ basePath: basePath || 'https://embedworkflow.com',
66
+ accessToken: apiKey,
67
+ });
68
+ this.accounts = new AccountsApi(this.config);
69
+ this.actionTypes = new ActionTypesApi(this.config);
70
+ this.actions = new ActionsApi(this.config);
71
+ this.appConnections = new AppConnectionsApi(this.config);
72
+ this.availableApps = new AvailableAppsApi(this.config);
73
+ this.dataFields = new DataFieldsApi(this.config);
74
+ this.events = new EventsApi(this.config);
75
+ this.executions = new ExecutionsApi(this.config);
76
+ this.installedApps = new InstalledAppsApi(this.config);
77
+ this.payments = new PaymentsApi(this.config);
78
+ this.triggers = new TriggersApi(this.config);
79
+ this.users = new UsersApi(this.config);
80
+ this.workflows = new WorkflowsApi(this.config);
81
+ }
82
+ /**
83
+ * Get the underlying configuration object
84
+ */
85
+ getConfiguration() {
86
+ return this.config;
87
+ }
88
+ }