@venturialstd/workflow 0.1.91 → 0.1.92

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 (508) hide show
  1. package/README.md +238 -238
  2. package/dist/modules/capa/actions/cancel-transaction.action.d.ts +3 -0
  3. package/dist/modules/capa/actions/cancel-transaction.action.d.ts.map +1 -0
  4. package/dist/modules/capa/actions/cancel-transaction.action.js +58 -0
  5. package/dist/modules/capa/actions/cancel-transaction.action.js.map +1 -0
  6. package/dist/modules/capa/actions/create-cross-ramp-quote.action.d.ts +3 -0
  7. package/dist/modules/capa/actions/create-cross-ramp-quote.action.d.ts.map +1 -0
  8. package/dist/modules/capa/actions/create-cross-ramp-quote.action.js +143 -0
  9. package/dist/modules/capa/actions/create-cross-ramp-quote.action.js.map +1 -0
  10. package/dist/modules/capa/actions/create-cross-ramp.action.d.ts +3 -0
  11. package/dist/modules/capa/actions/create-cross-ramp.action.d.ts.map +1 -0
  12. package/dist/modules/capa/actions/create-cross-ramp.action.js +158 -0
  13. package/dist/modules/capa/actions/create-cross-ramp.action.js.map +1 -0
  14. package/dist/modules/capa/actions/create-kyb-verification-link.action.d.ts +3 -0
  15. package/dist/modules/capa/actions/create-kyb-verification-link.action.d.ts.map +1 -0
  16. package/dist/modules/capa/actions/create-kyb-verification-link.action.js +50 -0
  17. package/dist/modules/capa/actions/create-kyb-verification-link.action.js.map +1 -0
  18. package/dist/modules/capa/actions/create-kyc-verification-link.action.d.ts +3 -0
  19. package/dist/modules/capa/actions/create-kyc-verification-link.action.d.ts.map +1 -0
  20. package/dist/modules/capa/actions/create-kyc-verification-link.action.js +50 -0
  21. package/dist/modules/capa/actions/create-kyc-verification-link.action.js.map +1 -0
  22. package/dist/modules/capa/actions/create-off-ramp.action.d.ts +3 -0
  23. package/dist/modules/capa/actions/create-off-ramp.action.d.ts.map +1 -0
  24. package/dist/modules/capa/actions/create-off-ramp.action.js +195 -0
  25. package/dist/modules/capa/actions/create-off-ramp.action.js.map +1 -0
  26. package/dist/modules/capa/actions/create-on-ramp.action.d.ts +3 -0
  27. package/dist/modules/capa/actions/create-on-ramp.action.d.ts.map +1 -0
  28. package/dist/modules/capa/actions/create-on-ramp.action.js +195 -0
  29. package/dist/modules/capa/actions/create-on-ramp.action.js.map +1 -0
  30. package/dist/modules/capa/actions/create-quote.action.d.ts +3 -0
  31. package/dist/modules/capa/actions/create-quote.action.d.ts.map +1 -0
  32. package/dist/modules/capa/actions/create-quote.action.js +156 -0
  33. package/dist/modules/capa/actions/create-quote.action.js.map +1 -0
  34. package/dist/modules/capa/actions/create-receiver.action.d.ts +3 -0
  35. package/dist/modules/capa/actions/create-receiver.action.d.ts.map +1 -0
  36. package/dist/modules/capa/actions/create-receiver.action.js +217 -0
  37. package/dist/modules/capa/actions/create-receiver.action.js.map +1 -0
  38. package/dist/modules/capa/actions/create-user-kyc.action.d.ts +3 -0
  39. package/dist/modules/capa/actions/create-user-kyc.action.d.ts.map +1 -0
  40. package/dist/modules/capa/actions/create-user-kyc.action.js +90 -0
  41. package/dist/modules/capa/actions/create-user-kyc.action.js.map +1 -0
  42. package/dist/modules/capa/actions/create-user.action.d.ts +3 -0
  43. package/dist/modules/capa/actions/create-user.action.d.ts.map +1 -0
  44. package/dist/modules/capa/actions/create-user.action.js +110 -0
  45. package/dist/modules/capa/actions/create-user.action.js.map +1 -0
  46. package/dist/modules/capa/actions/delete-receiver.action.d.ts +3 -0
  47. package/dist/modules/capa/actions/delete-receiver.action.d.ts.map +1 -0
  48. package/dist/modules/capa/actions/delete-receiver.action.js +56 -0
  49. package/dist/modules/capa/actions/delete-receiver.action.js.map +1 -0
  50. package/dist/modules/capa/actions/get-cross-ramp-quote.action.d.ts +3 -0
  51. package/dist/modules/capa/actions/get-cross-ramp-quote.action.d.ts.map +1 -0
  52. package/dist/modules/capa/actions/get-cross-ramp-quote.action.js +143 -0
  53. package/dist/modules/capa/actions/get-cross-ramp-quote.action.js.map +1 -0
  54. package/dist/modules/capa/actions/get-kyb-details.action.d.ts +3 -0
  55. package/dist/modules/capa/actions/get-kyb-details.action.d.ts.map +1 -0
  56. package/dist/modules/capa/actions/get-kyb-details.action.js +64 -0
  57. package/dist/modules/capa/actions/get-kyb-details.action.js.map +1 -0
  58. package/dist/modules/capa/actions/get-kyc-details.action.d.ts +3 -0
  59. package/dist/modules/capa/actions/get-kyc-details.action.d.ts.map +1 -0
  60. package/dist/modules/capa/actions/get-kyc-details.action.js +100 -0
  61. package/dist/modules/capa/actions/get-kyc-details.action.js.map +1 -0
  62. package/dist/modules/capa/actions/get-mock-testing-guide.action.d.ts +3 -0
  63. package/dist/modules/capa/actions/get-mock-testing-guide.action.d.ts.map +1 -0
  64. package/dist/modules/capa/actions/get-mock-testing-guide.action.js +23 -0
  65. package/dist/modules/capa/actions/get-mock-testing-guide.action.js.map +1 -0
  66. package/dist/modules/capa/actions/get-quote.action.d.ts +3 -0
  67. package/dist/modules/capa/actions/get-quote.action.d.ts.map +1 -0
  68. package/dist/modules/capa/actions/get-quote.action.js +156 -0
  69. package/dist/modules/capa/actions/get-quote.action.js.map +1 -0
  70. package/dist/modules/capa/actions/get-user-agreements.action.d.ts +3 -0
  71. package/dist/modules/capa/actions/get-user-agreements.action.d.ts.map +1 -0
  72. package/dist/modules/capa/actions/get-user-agreements.action.js +40 -0
  73. package/dist/modules/capa/actions/get-user-agreements.action.js.map +1 -0
  74. package/dist/modules/capa/actions/index.d.ts +23 -0
  75. package/dist/modules/capa/actions/index.d.ts.map +1 -0
  76. package/dist/modules/capa/actions/index.js +39 -0
  77. package/dist/modules/capa/actions/index.js.map +1 -0
  78. package/dist/modules/capa/actions/list-receivers.action.d.ts +3 -0
  79. package/dist/modules/capa/actions/list-receivers.action.d.ts.map +1 -0
  80. package/dist/modules/capa/actions/list-receivers.action.js +51 -0
  81. package/dist/modules/capa/actions/list-receivers.action.js.map +1 -0
  82. package/dist/modules/capa/actions/list-transactions.action.d.ts +3 -0
  83. package/dist/modules/capa/actions/list-transactions.action.d.ts.map +1 -0
  84. package/dist/modules/capa/actions/list-transactions.action.js +125 -0
  85. package/dist/modules/capa/actions/list-transactions.action.js.map +1 -0
  86. package/dist/modules/capa/actions/request-document-signature.action.d.ts +3 -0
  87. package/dist/modules/capa/actions/request-document-signature.action.d.ts.map +1 -0
  88. package/dist/modules/capa/actions/request-document-signature.action.js +50 -0
  89. package/dist/modules/capa/actions/request-document-signature.action.js.map +1 -0
  90. package/dist/modules/capa/actions/update-webhook-settings.action.d.ts +3 -0
  91. package/dist/modules/capa/actions/update-webhook-settings.action.d.ts.map +1 -0
  92. package/dist/modules/capa/actions/update-webhook-settings.action.js +52 -0
  93. package/dist/modules/capa/actions/update-webhook-settings.action.js.map +1 -0
  94. package/dist/modules/capa/auth/capa-auth.service.d.ts +8 -0
  95. package/dist/modules/capa/auth/capa-auth.service.d.ts.map +1 -0
  96. package/dist/modules/capa/auth/capa-auth.service.js +94 -0
  97. package/dist/modules/capa/auth/capa-auth.service.js.map +1 -0
  98. package/dist/modules/capa/auth/index.d.ts +2 -0
  99. package/dist/modules/capa/auth/index.d.ts.map +1 -0
  100. package/dist/modules/{inbestgo → capa}/auth/index.js +1 -1
  101. package/dist/modules/capa/auth/index.js.map +1 -0
  102. package/dist/modules/capa/capa-nest.module.d.ts +3 -0
  103. package/dist/modules/capa/capa-nest.module.d.ts.map +1 -0
  104. package/dist/modules/capa/capa-nest.module.js +72 -0
  105. package/dist/modules/capa/capa-nest.module.js.map +1 -0
  106. package/dist/modules/capa/capa.module.d.ts +3 -0
  107. package/dist/modules/capa/capa.module.d.ts.map +1 -0
  108. package/dist/modules/capa/capa.module.js +42 -0
  109. package/dist/modules/capa/capa.module.js.map +1 -0
  110. package/dist/modules/capa/credentials.d.ts +3 -0
  111. package/dist/modules/capa/credentials.d.ts.map +1 -0
  112. package/dist/modules/capa/credentials.js +46 -0
  113. package/dist/modules/capa/credentials.js.map +1 -0
  114. package/dist/modules/capa/services/cancel-transaction.service.d.ts +9 -0
  115. package/dist/modules/capa/services/cancel-transaction.service.d.ts.map +1 -0
  116. package/dist/modules/capa/services/cancel-transaction.service.js +45 -0
  117. package/dist/modules/capa/services/cancel-transaction.service.js.map +1 -0
  118. package/dist/modules/capa/services/create-cross-ramp-quote.service.d.ts +9 -0
  119. package/dist/modules/capa/services/create-cross-ramp-quote.service.d.ts.map +1 -0
  120. package/dist/modules/capa/services/create-cross-ramp-quote.service.js +75 -0
  121. package/dist/modules/capa/services/create-cross-ramp-quote.service.js.map +1 -0
  122. package/dist/modules/capa/services/create-cross-ramp.service.d.ts +9 -0
  123. package/dist/modules/capa/services/create-cross-ramp.service.d.ts.map +1 -0
  124. package/dist/modules/capa/services/create-cross-ramp.service.js +66 -0
  125. package/dist/modules/capa/services/create-cross-ramp.service.js.map +1 -0
  126. package/dist/modules/capa/services/create-kyb-verification-link.service.d.ts +9 -0
  127. package/dist/modules/capa/services/create-kyb-verification-link.service.d.ts.map +1 -0
  128. package/dist/modules/capa/services/create-kyb-verification-link.service.js +47 -0
  129. package/dist/modules/capa/services/create-kyb-verification-link.service.js.map +1 -0
  130. package/dist/modules/capa/services/create-kyc-verification-link.service.d.ts +9 -0
  131. package/dist/modules/capa/services/create-kyc-verification-link.service.d.ts.map +1 -0
  132. package/dist/modules/capa/services/create-kyc-verification-link.service.js +47 -0
  133. package/dist/modules/capa/services/create-kyc-verification-link.service.js.map +1 -0
  134. package/dist/modules/capa/services/create-off-ramp.service.d.ts +9 -0
  135. package/dist/modules/capa/services/create-off-ramp.service.d.ts.map +1 -0
  136. package/dist/modules/capa/services/create-off-ramp.service.js +80 -0
  137. package/dist/modules/capa/services/create-off-ramp.service.js.map +1 -0
  138. package/dist/modules/capa/services/create-on-ramp.service.d.ts +9 -0
  139. package/dist/modules/capa/services/create-on-ramp.service.d.ts.map +1 -0
  140. package/dist/modules/capa/services/create-on-ramp.service.js +80 -0
  141. package/dist/modules/capa/services/create-on-ramp.service.js.map +1 -0
  142. package/dist/modules/capa/services/create-quote.service.d.ts +9 -0
  143. package/dist/modules/capa/services/create-quote.service.d.ts.map +1 -0
  144. package/dist/modules/capa/services/create-quote.service.js +77 -0
  145. package/dist/modules/capa/services/create-quote.service.js.map +1 -0
  146. package/dist/modules/capa/services/create-receiver.service.d.ts +9 -0
  147. package/dist/modules/capa/services/create-receiver.service.d.ts.map +1 -0
  148. package/dist/modules/capa/services/create-receiver.service.js +79 -0
  149. package/dist/modules/capa/services/create-receiver.service.js.map +1 -0
  150. package/dist/modules/capa/services/create-user-kyc.service.d.ts +9 -0
  151. package/dist/modules/capa/services/create-user-kyc.service.d.ts.map +1 -0
  152. package/dist/modules/capa/services/create-user-kyc.service.js +54 -0
  153. package/dist/modules/capa/services/create-user-kyc.service.js.map +1 -0
  154. package/dist/modules/capa/services/create-user.service.d.ts +9 -0
  155. package/dist/modules/capa/services/create-user.service.d.ts.map +1 -0
  156. package/dist/modules/capa/services/create-user.service.js +57 -0
  157. package/dist/modules/capa/services/create-user.service.js.map +1 -0
  158. package/dist/modules/capa/services/delete-receiver.service.d.ts +9 -0
  159. package/dist/modules/capa/services/delete-receiver.service.d.ts.map +1 -0
  160. package/dist/modules/capa/services/delete-receiver.service.js +47 -0
  161. package/dist/modules/capa/services/delete-receiver.service.js.map +1 -0
  162. package/dist/modules/capa/services/get-cross-ramp-quote.service.d.ts +9 -0
  163. package/dist/modules/capa/services/get-cross-ramp-quote.service.d.ts.map +1 -0
  164. package/dist/modules/capa/services/get-cross-ramp-quote.service.js +75 -0
  165. package/dist/modules/capa/services/get-cross-ramp-quote.service.js.map +1 -0
  166. package/dist/modules/capa/services/get-kyb-details.service.d.ts +9 -0
  167. package/dist/modules/capa/services/get-kyb-details.service.d.ts.map +1 -0
  168. package/dist/modules/capa/services/get-kyb-details.service.js +46 -0
  169. package/dist/modules/capa/services/get-kyb-details.service.js.map +1 -0
  170. package/dist/modules/capa/services/get-kyc-details.service.d.ts +9 -0
  171. package/dist/modules/capa/services/get-kyc-details.service.d.ts.map +1 -0
  172. package/dist/modules/capa/services/get-kyc-details.service.js +52 -0
  173. package/dist/modules/capa/services/get-kyc-details.service.js.map +1 -0
  174. package/dist/modules/capa/services/get-mock-testing-guide.service.d.ts +9 -0
  175. package/dist/modules/capa/services/get-mock-testing-guide.service.d.ts.map +1 -0
  176. package/dist/modules/capa/services/get-mock-testing-guide.service.js +37 -0
  177. package/dist/modules/capa/services/get-mock-testing-guide.service.js.map +1 -0
  178. package/dist/modules/capa/services/get-quote.service.d.ts +9 -0
  179. package/dist/modules/capa/services/get-quote.service.d.ts.map +1 -0
  180. package/dist/modules/capa/services/get-quote.service.js +77 -0
  181. package/dist/modules/capa/services/get-quote.service.js.map +1 -0
  182. package/dist/modules/capa/services/get-user-agreements.service.d.ts +9 -0
  183. package/dist/modules/capa/services/get-user-agreements.service.d.ts.map +1 -0
  184. package/dist/modules/capa/services/get-user-agreements.service.js +42 -0
  185. package/dist/modules/capa/services/get-user-agreements.service.js.map +1 -0
  186. package/dist/modules/capa/services/index.d.ts +23 -0
  187. package/dist/modules/capa/services/index.d.ts.map +1 -0
  188. package/dist/modules/capa/services/index.js +39 -0
  189. package/dist/modules/capa/services/index.js.map +1 -0
  190. package/dist/modules/capa/services/list-receivers.service.d.ts +9 -0
  191. package/dist/modules/capa/services/list-receivers.service.d.ts.map +1 -0
  192. package/dist/modules/capa/services/list-receivers.service.js +45 -0
  193. package/dist/modules/capa/services/list-receivers.service.js.map +1 -0
  194. package/dist/modules/capa/services/list-transactions.service.d.ts +9 -0
  195. package/dist/modules/capa/services/list-transactions.service.d.ts.map +1 -0
  196. package/dist/modules/capa/services/list-transactions.service.js +58 -0
  197. package/dist/modules/capa/services/list-transactions.service.js.map +1 -0
  198. package/dist/modules/capa/services/request-document-signature.service.d.ts +9 -0
  199. package/dist/modules/capa/services/request-document-signature.service.d.ts.map +1 -0
  200. package/dist/modules/capa/services/request-document-signature.service.js +46 -0
  201. package/dist/modules/capa/services/request-document-signature.service.js.map +1 -0
  202. package/dist/modules/capa/services/update-webhook-settings.service.d.ts +9 -0
  203. package/dist/modules/capa/services/update-webhook-settings.service.d.ts.map +1 -0
  204. package/dist/modules/capa/services/update-webhook-settings.service.js +47 -0
  205. package/dist/modules/capa/services/update-webhook-settings.service.js.map +1 -0
  206. package/dist/modules/capa/triggers/index.d.ts +3 -0
  207. package/dist/modules/capa/triggers/index.d.ts.map +1 -0
  208. package/dist/modules/capa/triggers/index.js +5 -0
  209. package/dist/modules/capa/triggers/index.js.map +1 -0
  210. package/dist/modules/capa/utils/capa-credentials.util.d.ts +4 -0
  211. package/dist/modules/capa/utils/capa-credentials.util.d.ts.map +1 -0
  212. package/dist/modules/capa/utils/capa-credentials.util.js +24 -0
  213. package/dist/modules/capa/utils/capa-credentials.util.js.map +1 -0
  214. package/dist/modules/capa/utils/capa-query.util.d.ts +4 -0
  215. package/dist/modules/capa/utils/capa-query.util.d.ts.map +1 -0
  216. package/dist/modules/capa/utils/capa-query.util.js +55 -0
  217. package/dist/modules/capa/utils/capa-query.util.js.map +1 -0
  218. package/dist/modules/circle/actions/index.d.ts +0 -1
  219. package/dist/modules/circle/actions/index.d.ts.map +1 -1
  220. package/dist/modules/circle/actions/index.js +0 -1
  221. package/dist/modules/circle/actions/index.js.map +1 -1
  222. package/dist/modules/circle/circle-nest.module.d.ts.map +1 -1
  223. package/dist/modules/circle/circle-nest.module.js +0 -2
  224. package/dist/modules/circle/circle-nest.module.js.map +1 -1
  225. package/dist/modules/circle/circle.module.d.ts.map +1 -1
  226. package/dist/modules/circle/circle.module.js +0 -1
  227. package/dist/modules/circle/circle.module.js.map +1 -1
  228. package/dist/modules/circle/services/index.d.ts +0 -1
  229. package/dist/modules/circle/services/index.d.ts.map +1 -1
  230. package/dist/modules/circle/services/index.js +0 -1
  231. package/dist/modules/circle/services/index.js.map +1 -1
  232. package/dist/modules/conditional/actions/index.d.ts +0 -1
  233. package/dist/modules/conditional/actions/index.d.ts.map +1 -1
  234. package/dist/modules/conditional/actions/index.js +0 -1
  235. package/dist/modules/conditional/actions/index.js.map +1 -1
  236. package/dist/modules/conditional/conditional-nest.module.d.ts.map +1 -1
  237. package/dist/modules/conditional/conditional-nest.module.js +2 -7
  238. package/dist/modules/conditional/conditional-nest.module.js.map +1 -1
  239. package/dist/modules/conditional/conditional.module.js +1 -1
  240. package/dist/modules/conditional/conditional.module.js.map +1 -1
  241. package/dist/modules/conditional/services/evaluate-condition.service.d.ts.map +1 -1
  242. package/dist/modules/conditional/services/evaluate-condition.service.js +1 -11
  243. package/dist/modules/conditional/services/evaluate-condition.service.js.map +1 -1
  244. package/dist/modules/conditional/services/index.d.ts +0 -1
  245. package/dist/modules/conditional/services/index.d.ts.map +1 -1
  246. package/dist/modules/conditional/services/index.js +0 -1
  247. package/dist/modules/conditional/services/index.js.map +1 -1
  248. package/dist/modules/fintech/actions/add-balance.action.js +4 -4
  249. package/dist/modules/fintech/actions/add-balance.action.js.map +1 -1
  250. package/dist/modules/fintech/actions/create-operation.action.d.ts.map +1 -1
  251. package/dist/modules/fintech/actions/create-operation.action.js +12 -33
  252. package/dist/modules/fintech/actions/create-operation.action.js.map +1 -1
  253. package/dist/modules/fintech/actions/create-transaction.action.d.ts.map +1 -1
  254. package/dist/modules/fintech/actions/create-transaction.action.js +8 -30
  255. package/dist/modules/fintech/actions/create-transaction.action.js.map +1 -1
  256. package/dist/modules/fintech/actions/index.d.ts +0 -8
  257. package/dist/modules/fintech/actions/index.d.ts.map +1 -1
  258. package/dist/modules/fintech/actions/index.js +0 -8
  259. package/dist/modules/fintech/actions/index.js.map +1 -1
  260. package/dist/modules/fintech/actions/subtract-balance.action.js +4 -4
  261. package/dist/modules/fintech/actions/subtract-balance.action.js.map +1 -1
  262. package/dist/modules/fintech/fintech-nest.module.d.ts.map +1 -1
  263. package/dist/modules/fintech/fintech-nest.module.js +0 -16
  264. package/dist/modules/fintech/fintech-nest.module.js.map +1 -1
  265. package/dist/modules/fintech/fintech.module.d.ts.map +1 -1
  266. package/dist/modules/fintech/fintech.module.js +1 -9
  267. package/dist/modules/fintech/fintech.module.js.map +1 -1
  268. package/dist/modules/fintech/services/create-operation.service.d.ts.map +1 -1
  269. package/dist/modules/fintech/services/create-operation.service.js +2 -6
  270. package/dist/modules/fintech/services/create-operation.service.js.map +1 -1
  271. package/dist/modules/fintech/services/create-transaction.service.d.ts.map +1 -1
  272. package/dist/modules/fintech/services/create-transaction.service.js +2 -6
  273. package/dist/modules/fintech/services/create-transaction.service.js.map +1 -1
  274. package/dist/modules/fintech/services/get-operation.service.d.ts.map +1 -1
  275. package/dist/modules/fintech/services/get-operation.service.js +1 -3
  276. package/dist/modules/fintech/services/get-operation.service.js.map +1 -1
  277. package/dist/modules/fintech/services/get-transaction.service.d.ts.map +1 -1
  278. package/dist/modules/fintech/services/get-transaction.service.js +1 -3
  279. package/dist/modules/fintech/services/get-transaction.service.js.map +1 -1
  280. package/dist/modules/fintech/services/index.d.ts +0 -8
  281. package/dist/modules/fintech/services/index.d.ts.map +1 -1
  282. package/dist/modules/fintech/services/index.js +0 -8
  283. package/dist/modules/fintech/services/index.js.map +1 -1
  284. package/dist/modules/fintech/services/update-operation-status.service.d.ts.map +1 -1
  285. package/dist/modules/fintech/services/update-operation-status.service.js +1 -3
  286. package/dist/modules/fintech/services/update-operation-status.service.js.map +1 -1
  287. package/dist/modules/index.d.ts +1 -1
  288. package/dist/modules/index.d.ts.map +1 -1
  289. package/dist/modules/index.js +5 -5
  290. package/dist/modules/index.js.map +1 -1
  291. package/dist/modules/session/actions/index.d.ts +0 -2
  292. package/dist/modules/session/actions/index.d.ts.map +1 -1
  293. package/dist/modules/session/actions/index.js +0 -2
  294. package/dist/modules/session/actions/index.js.map +1 -1
  295. package/dist/modules/session/services/index.d.ts +0 -2
  296. package/dist/modules/session/services/index.d.ts.map +1 -1
  297. package/dist/modules/session/services/index.js +0 -2
  298. package/dist/modules/session/services/index.js.map +1 -1
  299. package/dist/modules/session/services/set-session-variable.service.d.ts +3 -3
  300. package/dist/modules/session/services/set-session-variable.service.d.ts.map +1 -1
  301. package/dist/modules/session/services/set-session-variable.service.js +5 -5
  302. package/dist/modules/session/services/set-session-variable.service.js.map +1 -1
  303. package/dist/modules/session/session-nest.module.d.ts.map +1 -1
  304. package/dist/modules/session/session-nest.module.js +2 -2
  305. package/dist/modules/session/session-nest.module.js.map +1 -1
  306. package/dist/modules/session/session.module.js +1 -1
  307. package/dist/modules/session/session.module.js.map +1 -1
  308. package/dist/modules/toolbox/actions/index.d.ts +0 -1
  309. package/dist/modules/toolbox/actions/index.d.ts.map +1 -1
  310. package/dist/modules/toolbox/actions/index.js +0 -1
  311. package/dist/modules/toolbox/actions/index.js.map +1 -1
  312. package/dist/modules/toolbox/services/index.d.ts +0 -1
  313. package/dist/modules/toolbox/services/index.d.ts.map +1 -1
  314. package/dist/modules/toolbox/services/index.js +0 -1
  315. package/dist/modules/toolbox/services/index.js.map +1 -1
  316. package/dist/modules/toolbox/toolbox-nest.module.d.ts.map +1 -1
  317. package/dist/modules/toolbox/toolbox-nest.module.js +2 -12
  318. package/dist/modules/toolbox/toolbox-nest.module.js.map +1 -1
  319. package/dist/modules/toolbox/toolbox.module.d.ts.map +1 -1
  320. package/dist/modules/toolbox/toolbox.module.js +1 -1
  321. package/dist/modules/toolbox/toolbox.module.js.map +1 -1
  322. package/dist/modules/types.d.ts +0 -1
  323. package/dist/modules/types.d.ts.map +1 -1
  324. package/dist/modules/types.js.map +1 -1
  325. package/dist/modules/user/actions/get-or-create-user.action.d.ts.map +1 -1
  326. package/dist/modules/user/actions/get-or-create-user.action.js +2 -12
  327. package/dist/modules/user/actions/get-or-create-user.action.js.map +1 -1
  328. package/dist/modules/user/services/get-or-create-user.service.d.ts.map +1 -1
  329. package/dist/modules/user/services/get-or-create-user.service.js +3 -42
  330. package/dist/modules/user/services/get-or-create-user.service.js.map +1 -1
  331. package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts +0 -2
  332. package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts.map +1 -1
  333. package/dist/modules/webhook/controllers/webhook-receiver.controller.js +0 -14
  334. package/dist/modules/webhook/controllers/webhook-receiver.controller.js.map +1 -1
  335. package/dist/services/workflow-execution.service.d.ts +3 -3
  336. package/dist/services/workflow-execution.service.d.ts.map +1 -1
  337. package/dist/services/workflow-execution.service.js +14 -52
  338. package/dist/services/workflow-execution.service.js.map +1 -1
  339. package/dist/workflow-core.module.d.ts.map +1 -1
  340. package/dist/workflow-core.module.js +0 -5
  341. package/dist/workflow-core.module.js.map +1 -1
  342. package/dist/workflow.module.d.ts.map +1 -1
  343. package/dist/workflow.module.js +3 -0
  344. package/dist/workflow.module.js.map +1 -1
  345. package/package.json +102 -102
  346. package/dist/controllers/workflow-sse.controller.d.ts +0 -8
  347. package/dist/controllers/workflow-sse.controller.d.ts.map +0 -1
  348. package/dist/controllers/workflow-sse.controller.js +0 -46
  349. package/dist/controllers/workflow-sse.controller.js.map +0 -1
  350. package/dist/modules/circle/actions/get-token.action.d.ts +0 -3
  351. package/dist/modules/circle/actions/get-token.action.d.ts.map +0 -1
  352. package/dist/modules/circle/actions/get-token.action.js +0 -94
  353. package/dist/modules/circle/actions/get-token.action.js.map +0 -1
  354. package/dist/modules/circle/services/get-token.service.d.ts +0 -8
  355. package/dist/modules/circle/services/get-token.service.d.ts.map +0 -1
  356. package/dist/modules/circle/services/get-token.service.js +0 -51
  357. package/dist/modules/circle/services/get-token.service.js.map +0 -1
  358. package/dist/modules/conditional/actions/map-value.action.d.ts +0 -3
  359. package/dist/modules/conditional/actions/map-value.action.d.ts.map +0 -1
  360. package/dist/modules/conditional/actions/map-value.action.js +0 -122
  361. package/dist/modules/conditional/actions/map-value.action.js.map +0 -1
  362. package/dist/modules/conditional/services/map-value.service.d.ts +0 -5
  363. package/dist/modules/conditional/services/map-value.service.d.ts.map +0 -1
  364. package/dist/modules/conditional/services/map-value.service.js +0 -108
  365. package/dist/modules/conditional/services/map-value.service.js.map +0 -1
  366. package/dist/modules/fintech/actions/complete-remittance.action.d.ts +0 -3
  367. package/dist/modules/fintech/actions/complete-remittance.action.d.ts.map +0 -1
  368. package/dist/modules/fintech/actions/complete-remittance.action.js +0 -93
  369. package/dist/modules/fintech/actions/complete-remittance.action.js.map +0 -1
  370. package/dist/modules/fintech/actions/create-remittance.action.d.ts +0 -3
  371. package/dist/modules/fintech/actions/create-remittance.action.d.ts.map +0 -1
  372. package/dist/modules/fintech/actions/create-remittance.action.js +0 -208
  373. package/dist/modules/fintech/actions/create-remittance.action.js.map +0 -1
  374. package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.d.ts +0 -3
  375. package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.d.ts.map +0 -1
  376. package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.js +0 -80
  377. package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.js.map +0 -1
  378. package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.d.ts +0 -3
  379. package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.d.ts.map +0 -1
  380. package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.js +0 -122
  381. package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.js.map +0 -1
  382. package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.d.ts +0 -3
  383. package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.d.ts.map +0 -1
  384. package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.js +0 -113
  385. package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.js.map +0 -1
  386. package/dist/modules/fintech/actions/get-remittance-by-id.action.d.ts +0 -3
  387. package/dist/modules/fintech/actions/get-remittance-by-id.action.d.ts.map +0 -1
  388. package/dist/modules/fintech/actions/get-remittance-by-id.action.js +0 -83
  389. package/dist/modules/fintech/actions/get-remittance-by-id.action.js.map +0 -1
  390. package/dist/modules/fintech/actions/get-remittance-by-reference.action.d.ts +0 -3
  391. package/dist/modules/fintech/actions/get-remittance-by-reference.action.d.ts.map +0 -1
  392. package/dist/modules/fintech/actions/get-remittance-by-reference.action.js +0 -65
  393. package/dist/modules/fintech/actions/get-remittance-by-reference.action.js.map +0 -1
  394. package/dist/modules/fintech/actions/process-remittance-step.action.d.ts +0 -3
  395. package/dist/modules/fintech/actions/process-remittance-step.action.d.ts.map +0 -1
  396. package/dist/modules/fintech/actions/process-remittance-step.action.js +0 -119
  397. package/dist/modules/fintech/actions/process-remittance-step.action.js.map +0 -1
  398. package/dist/modules/fintech/services/complete-remittance.service.d.ts +0 -8
  399. package/dist/modules/fintech/services/complete-remittance.service.d.ts.map +0 -1
  400. package/dist/modules/fintech/services/complete-remittance.service.js +0 -52
  401. package/dist/modules/fintech/services/complete-remittance.service.js.map +0 -1
  402. package/dist/modules/fintech/services/create-remittance.service.d.ts +0 -8
  403. package/dist/modules/fintech/services/create-remittance.service.d.ts.map +0 -1
  404. package/dist/modules/fintech/services/create-remittance.service.js +0 -65
  405. package/dist/modules/fintech/services/create-remittance.service.js.map +0 -1
  406. package/dist/modules/fintech/services/get-currency-by-type-and-code.service.d.ts +0 -8
  407. package/dist/modules/fintech/services/get-currency-by-type-and-code.service.d.ts.map +0 -1
  408. package/dist/modules/fintech/services/get-currency-by-type-and-code.service.js +0 -47
  409. package/dist/modules/fintech/services/get-currency-by-type-and-code.service.js.map +0 -1
  410. package/dist/modules/fintech/services/get-latest-remittances-by-account.service.d.ts +0 -8
  411. package/dist/modules/fintech/services/get-latest-remittances-by-account.service.d.ts.map +0 -1
  412. package/dist/modules/fintech/services/get-latest-remittances-by-account.service.js +0 -127
  413. package/dist/modules/fintech/services/get-latest-remittances-by-account.service.js.map +0 -1
  414. package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.d.ts +0 -8
  415. package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.d.ts.map +0 -1
  416. package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.js +0 -61
  417. package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.js.map +0 -1
  418. package/dist/modules/fintech/services/get-remittance-by-id.service.d.ts +0 -8
  419. package/dist/modules/fintech/services/get-remittance-by-id.service.d.ts.map +0 -1
  420. package/dist/modules/fintech/services/get-remittance-by-id.service.js +0 -48
  421. package/dist/modules/fintech/services/get-remittance-by-id.service.js.map +0 -1
  422. package/dist/modules/fintech/services/get-remittance-by-reference.service.d.ts +0 -8
  423. package/dist/modules/fintech/services/get-remittance-by-reference.service.d.ts.map +0 -1
  424. package/dist/modules/fintech/services/get-remittance-by-reference.service.js +0 -48
  425. package/dist/modules/fintech/services/get-remittance-by-reference.service.js.map +0 -1
  426. package/dist/modules/fintech/services/process-remittance-step.service.d.ts +0 -8
  427. package/dist/modules/fintech/services/process-remittance-step.service.d.ts.map +0 -1
  428. package/dist/modules/fintech/services/process-remittance-step.service.js +0 -59
  429. package/dist/modules/fintech/services/process-remittance-step.service.js.map +0 -1
  430. package/dist/modules/inbestgo/actions/create-transaction.action.d.ts +0 -3
  431. package/dist/modules/inbestgo/actions/create-transaction.action.d.ts.map +0 -1
  432. package/dist/modules/inbestgo/actions/create-transaction.action.js +0 -132
  433. package/dist/modules/inbestgo/actions/create-transaction.action.js.map +0 -1
  434. package/dist/modules/inbestgo/actions/index.d.ts +0 -3
  435. package/dist/modules/inbestgo/actions/index.d.ts.map +0 -1
  436. package/dist/modules/inbestgo/actions/index.js +0 -19
  437. package/dist/modules/inbestgo/actions/index.js.map +0 -1
  438. package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.d.ts +0 -3
  439. package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.d.ts.map +0 -1
  440. package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.js +0 -76
  441. package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.js.map +0 -1
  442. package/dist/modules/inbestgo/auth/inbestgo-auth.service.d.ts +0 -8
  443. package/dist/modules/inbestgo/auth/inbestgo-auth.service.d.ts.map +0 -1
  444. package/dist/modules/inbestgo/auth/inbestgo-auth.service.js +0 -75
  445. package/dist/modules/inbestgo/auth/inbestgo-auth.service.js.map +0 -1
  446. package/dist/modules/inbestgo/auth/index.d.ts +0 -2
  447. package/dist/modules/inbestgo/auth/index.d.ts.map +0 -1
  448. package/dist/modules/inbestgo/auth/index.js.map +0 -1
  449. package/dist/modules/inbestgo/credentials.d.ts +0 -3
  450. package/dist/modules/inbestgo/credentials.d.ts.map +0 -1
  451. package/dist/modules/inbestgo/credentials.js +0 -32
  452. package/dist/modules/inbestgo/credentials.js.map +0 -1
  453. package/dist/modules/inbestgo/inbestgo-nest.module.d.ts +0 -3
  454. package/dist/modules/inbestgo/inbestgo-nest.module.d.ts.map +0 -1
  455. package/dist/modules/inbestgo/inbestgo-nest.module.js +0 -29
  456. package/dist/modules/inbestgo/inbestgo-nest.module.js.map +0 -1
  457. package/dist/modules/inbestgo/inbestgo.module.d.ts +0 -3
  458. package/dist/modules/inbestgo/inbestgo.module.d.ts.map +0 -1
  459. package/dist/modules/inbestgo/inbestgo.module.js +0 -21
  460. package/dist/modules/inbestgo/inbestgo.module.js.map +0 -1
  461. package/dist/modules/inbestgo/services/create-transaction.service.d.ts +0 -8
  462. package/dist/modules/inbestgo/services/create-transaction.service.d.ts.map +0 -1
  463. package/dist/modules/inbestgo/services/create-transaction.service.js +0 -78
  464. package/dist/modules/inbestgo/services/create-transaction.service.js.map +0 -1
  465. package/dist/modules/inbestgo/services/index.d.ts +0 -3
  466. package/dist/modules/inbestgo/services/index.d.ts.map +0 -1
  467. package/dist/modules/inbestgo/services/index.js +0 -19
  468. package/dist/modules/inbestgo/services/index.js.map +0 -1
  469. package/dist/modules/inbestgo/services/lookup-user-by-phone.service.d.ts +0 -8
  470. package/dist/modules/inbestgo/services/lookup-user-by-phone.service.d.ts.map +0 -1
  471. package/dist/modules/inbestgo/services/lookup-user-by-phone.service.js +0 -54
  472. package/dist/modules/inbestgo/services/lookup-user-by-phone.service.js.map +0 -1
  473. package/dist/modules/session/actions/get-session-by-key.action.d.ts +0 -3
  474. package/dist/modules/session/actions/get-session-by-key.action.d.ts.map +0 -1
  475. package/dist/modules/session/actions/get-session-by-key.action.js +0 -104
  476. package/dist/modules/session/actions/get-session-by-key.action.js.map +0 -1
  477. package/dist/modules/session/actions/save-context-by-key.action.d.ts +0 -3
  478. package/dist/modules/session/actions/save-context-by-key.action.d.ts.map +0 -1
  479. package/dist/modules/session/actions/save-context-by-key.action.js +0 -72
  480. package/dist/modules/session/actions/save-context-by-key.action.js.map +0 -1
  481. package/dist/modules/session/services/get-session-by-key.service.d.ts +0 -22
  482. package/dist/modules/session/services/get-session-by-key.service.d.ts.map +0 -1
  483. package/dist/modules/session/services/get-session-by-key.service.js +0 -62
  484. package/dist/modules/session/services/get-session-by-key.service.js.map +0 -1
  485. package/dist/modules/session/services/save-context-by-key.service.d.ts +0 -10
  486. package/dist/modules/session/services/save-context-by-key.service.d.ts.map +0 -1
  487. package/dist/modules/session/services/save-context-by-key.service.js +0 -63
  488. package/dist/modules/session/services/save-context-by-key.service.js.map +0 -1
  489. package/dist/modules/toolbox/actions/empty-action.action.d.ts +0 -3
  490. package/dist/modules/toolbox/actions/empty-action.action.d.ts.map +0 -1
  491. package/dist/modules/toolbox/actions/empty-action.action.js +0 -29
  492. package/dist/modules/toolbox/actions/empty-action.action.js.map +0 -1
  493. package/dist/modules/toolbox/services/empty-action.service.d.ts +0 -6
  494. package/dist/modules/toolbox/services/empty-action.service.d.ts.map +0 -1
  495. package/dist/modules/toolbox/services/empty-action.service.js +0 -28
  496. package/dist/modules/toolbox/services/empty-action.service.js.map +0 -1
  497. package/dist/modules/user/actions/get-or-create-user-by-params.action.d.ts +0 -3
  498. package/dist/modules/user/actions/get-or-create-user-by-params.action.d.ts.map +0 -1
  499. package/dist/modules/user/actions/get-or-create-user-by-params.action.js +0 -284
  500. package/dist/modules/user/actions/get-or-create-user-by-params.action.js.map +0 -1
  501. package/dist/modules/user/services/get-or-create-user-by-params.service.d.ts +0 -8
  502. package/dist/modules/user/services/get-or-create-user-by-params.service.d.ts.map +0 -1
  503. package/dist/modules/user/services/get-or-create-user-by-params.service.js +0 -175
  504. package/dist/modules/user/services/get-or-create-user-by-params.service.js.map +0 -1
  505. package/dist/services/workflow-sse.service.d.ts +0 -29
  506. package/dist/services/workflow-sse.service.d.ts.map +0 -1
  507. package/dist/services/workflow-sse.service.js +0 -155
  508. package/dist/services/workflow-sse.service.js.map +0 -1
@@ -1,132 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createTransactionAction = void 0;
4
- const types_1 = require("../../types");
5
- const create_transaction_service_1 = require("../services/create-transaction.service");
6
- exports.createTransactionAction = {
7
- key: 'create-transaction',
8
- name: 'Create Transaction',
9
- description: 'Create a transaction in Inbestgo',
10
- category: types_1.NODE_CATEGORY.ACTION,
11
- icon: '💸',
12
- serviceClass: create_transaction_service_1.CreateTransactionService,
13
- inputs: [
14
- {
15
- id: 'phoneNumber',
16
- name: 'Phone Number',
17
- description: 'The user phone number',
18
- type: types_1.FIELD_TYPE.STRING,
19
- validation: {
20
- required: true,
21
- },
22
- placeholder: '+1234567890',
23
- },
24
- {
25
- id: 'transactionId',
26
- name: 'Transaction ID',
27
- description: 'The unique transaction identifier',
28
- type: types_1.FIELD_TYPE.STRING,
29
- validation: {
30
- required: true,
31
- },
32
- placeholder: 'tx-123',
33
- },
34
- {
35
- id: 'txHash',
36
- name: 'Transaction Hash',
37
- description: 'The blockchain transaction hash',
38
- type: types_1.FIELD_TYPE.STRING,
39
- validation: {
40
- required: true,
41
- },
42
- placeholder: '0x...',
43
- },
44
- {
45
- id: 'blockchain',
46
- name: 'Blockchain',
47
- description: 'The blockchain network',
48
- type: types_1.FIELD_TYPE.STRING,
49
- validation: {
50
- required: true,
51
- },
52
- placeholder: 'ethereum',
53
- },
54
- {
55
- id: 'token',
56
- name: 'Token',
57
- description: 'The token symbol',
58
- type: types_1.FIELD_TYPE.STRING,
59
- validation: {
60
- required: true,
61
- },
62
- placeholder: 'USDC',
63
- },
64
- {
65
- id: 'amount',
66
- name: 'Amount',
67
- description: 'The transaction amount',
68
- type: types_1.FIELD_TYPE.STRING,
69
- validation: {
70
- required: true,
71
- },
72
- placeholder: '100.00',
73
- },
74
- ],
75
- outputs: [
76
- {
77
- id: 'id',
78
- name: 'Database ID',
79
- description: 'The internal database ID',
80
- type: types_1.FIELD_TYPE.STRING,
81
- },
82
- {
83
- id: 'success',
84
- name: 'Success',
85
- description: 'Whether the transaction was created successfully',
86
- type: types_1.FIELD_TYPE.BOOLEAN,
87
- },
88
- {
89
- id: 'status',
90
- name: 'Status',
91
- description: 'The transaction status (INITIATED, SUCCEEDED, FAILED)',
92
- type: types_1.FIELD_TYPE.STRING,
93
- },
94
- {
95
- id: 'message',
96
- name: 'Message',
97
- description: 'Response message from Inbestgo',
98
- type: types_1.FIELD_TYPE.STRING,
99
- },
100
- {
101
- id: 'transactionId',
102
- name: 'Transaction ID',
103
- description: 'The transaction ID',
104
- type: types_1.FIELD_TYPE.STRING,
105
- },
106
- {
107
- id: 'txHash',
108
- name: 'Transaction Hash',
109
- description: 'The blockchain transaction hash',
110
- type: types_1.FIELD_TYPE.STRING,
111
- },
112
- {
113
- id: 'blockchain',
114
- name: 'Blockchain',
115
- description: 'The blockchain network',
116
- type: types_1.FIELD_TYPE.STRING,
117
- },
118
- {
119
- id: 'token',
120
- name: 'Token',
121
- description: 'The token symbol',
122
- type: types_1.FIELD_TYPE.STRING,
123
- },
124
- {
125
- id: 'amount',
126
- name: 'Amount',
127
- description: 'The transaction amount',
128
- type: types_1.FIELD_TYPE.STRING,
129
- },
130
- ],
131
- };
132
- //# sourceMappingURL=create-transaction.action.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-transaction.action.js","sourceRoot":"","sources":["../../../../src/modules/inbestgo/actions/create-transaction.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,uFAAkF;AAErE,QAAA,uBAAuB,GAA0B;IAC5D,GAAG,EAAE,oBAAoB;IACzB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,kCAAkC;IAC/C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,qDAEa;IAC3B,MAAM,EAAE;QACN;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,aAAa;SAC3B;QACD;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,QAAQ;SACtB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,UAAU;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,MAAM;SACpB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,QAAQ;SACtB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kDAAkD;YAC/D,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uDAAuD;YACpE,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './lookup-user-by-phone.action';
2
- export * from './create-transaction.action';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inbestgo/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./lookup-user-by-phone.action"), exports);
18
- __exportStar(require("./create-transaction.action"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inbestgo/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,8DAA4C"}
@@ -1,3 +0,0 @@
1
- import { WorkflowActionTrigger } from '../../types';
2
- export declare const lookupUserByPhoneAction: WorkflowActionTrigger;
3
- //# sourceMappingURL=lookup-user-by-phone.action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lookup-user-by-phone.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/inbestgo/actions/lookup-user-by-phone.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,uBAAuB,EAAE,qBAuErC,CAAC"}
@@ -1,76 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.lookupUserByPhoneAction = void 0;
4
- const types_1 = require("../../types");
5
- const lookup_user_by_phone_service_1 = require("../services/lookup-user-by-phone.service");
6
- exports.lookupUserByPhoneAction = {
7
- key: 'lookup-user-by-phone',
8
- name: 'Lookup User by Phone',
9
- description: 'Lookup an Inbestgo user by phone number',
10
- category: types_1.NODE_CATEGORY.ACTION,
11
- icon: '🔍',
12
- serviceClass: lookup_user_by_phone_service_1.LookupUserByPhoneService,
13
- inputs: [
14
- {
15
- id: 'phoneNumber',
16
- name: 'Phone Number',
17
- description: 'The phone number to lookup (with country code)',
18
- type: types_1.FIELD_TYPE.STRING,
19
- validation: {
20
- required: true,
21
- },
22
- placeholder: '+1234567890',
23
- },
24
- ],
25
- outputs: [
26
- {
27
- id: 'id',
28
- name: 'Database ID',
29
- description: 'The internal database ID',
30
- type: types_1.FIELD_TYPE.STRING,
31
- },
32
- {
33
- id: 'userId',
34
- name: 'Inbestgo User ID',
35
- description: 'The Inbestgo user ID',
36
- type: types_1.FIELD_TYPE.STRING,
37
- },
38
- {
39
- id: 'phoneNumber',
40
- name: 'Phone Number',
41
- description: 'The user phone number',
42
- type: types_1.FIELD_TYPE.STRING,
43
- },
44
- {
45
- id: 'email',
46
- name: 'Email',
47
- description: 'The user email address',
48
- type: types_1.FIELD_TYPE.STRING,
49
- },
50
- {
51
- id: 'firstName',
52
- name: 'First Name',
53
- description: 'The user first name',
54
- type: types_1.FIELD_TYPE.STRING,
55
- },
56
- {
57
- id: 'lastName',
58
- name: 'Last Name',
59
- description: 'The user last name',
60
- type: types_1.FIELD_TYPE.STRING,
61
- },
62
- {
63
- id: 'status',
64
- name: 'Status',
65
- description: 'The user status (NOT_REGISTERED, CREATED, KYC_INITIATED, KYC_COMPLETED)',
66
- type: types_1.FIELD_TYPE.STRING,
67
- },
68
- {
69
- id: 'found',
70
- name: 'Found',
71
- description: 'Whether the user was found in Inbestgo',
72
- type: types_1.FIELD_TYPE.BOOLEAN,
73
- },
74
- ],
75
- };
76
- //# sourceMappingURL=lookup-user-by-phone.action.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lookup-user-by-phone.action.js","sourceRoot":"","sources":["../../../../src/modules/inbestgo/actions/lookup-user-by-phone.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,2FAAoF;AAEvE,QAAA,uBAAuB,GAA0B;IAC5D,GAAG,EAAE,sBAAsB;IAC3B,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,yCAAyC;IACtD,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,uDAEa;IAC3B,MAAM,EAAE;QACN;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,gDAAgD;YAC7D,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,aAAa;SAC3B;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,WAAW;YACf,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yEAAyE;YACtF,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;KACF;CACF,CAAC"}
@@ -1,8 +0,0 @@
1
- import { HttpService } from '@nestjs/axios';
2
- import { CredentialAuthResult, IWorkflowCredentialAuthService } from '../../types';
3
- export declare class InbestgoAuthService implements IWorkflowCredentialAuthService {
4
- private readonly httpService;
5
- constructor(httpService: HttpService);
6
- authenticate(credentials: Record<string, unknown>): Promise<CredentialAuthResult>;
7
- }
8
- //# sourceMappingURL=inbestgo-auth.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inbestgo-auth.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/inbestgo/auth/inbestgo-auth.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAYnF,qBACa,mBAAoB,YAAW,8BAA8B;IAC5D,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,WAAW;IAE/C,YAAY,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAsDxF"}
@@ -1,75 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.InbestgoAuthService = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const axios_1 = require("@nestjs/axios");
15
- var INBESTGO_ENVIRONMENTS;
16
- (function (INBESTGO_ENVIRONMENTS) {
17
- INBESTGO_ENVIRONMENTS["SANDBOX"] = "SANDBOX";
18
- INBESTGO_ENVIRONMENTS["PRODUCTION"] = "PRODUCTION";
19
- })(INBESTGO_ENVIRONMENTS || (INBESTGO_ENVIRONMENTS = {}));
20
- const INBESTGO_BASE_URL = {
21
- [INBESTGO_ENVIRONMENTS.SANDBOX]: 'https://api.integrations.inbestgoapp.com',
22
- [INBESTGO_ENVIRONMENTS.PRODUCTION]: 'https://api.integrations.inbestgoapp.com',
23
- };
24
- let InbestgoAuthService = class InbestgoAuthService {
25
- httpService;
26
- constructor(httpService) {
27
- this.httpService = httpService;
28
- }
29
- async authenticate(credentials) {
30
- const apiKey = credentials.apiKey;
31
- const environment = credentials.environment || 'SANDBOX';
32
- if (!apiKey) {
33
- return {
34
- success: false,
35
- message: 'API Key is required',
36
- };
37
- }
38
- try {
39
- const baseUrl = INBESTGO_BASE_URL[environment];
40
- const response = await this.httpService.axiosRef.get(`${baseUrl}/ommacash/user?phoneNumber=+1234567890`, {
41
- headers: {
42
- 'x-api-key': apiKey,
43
- },
44
- });
45
- return {
46
- success: true,
47
- message: 'Inbestgo credentials validated successfully',
48
- };
49
- }
50
- catch (error) {
51
- if (error.response?.status === 401 || error.response?.status === 403) {
52
- return {
53
- success: false,
54
- message: 'Invalid API Key',
55
- };
56
- }
57
- if (error.response?.status === 404) {
58
- return {
59
- success: true,
60
- message: 'Inbestgo credentials validated successfully',
61
- };
62
- }
63
- return {
64
- success: false,
65
- message: `Failed to validate credentials: ${error.message}`,
66
- };
67
- }
68
- }
69
- };
70
- exports.InbestgoAuthService = InbestgoAuthService;
71
- exports.InbestgoAuthService = InbestgoAuthService = __decorate([
72
- (0, common_1.Injectable)(),
73
- __metadata("design:paramtypes", [axios_1.HttpService])
74
- ], InbestgoAuthService);
75
- //# sourceMappingURL=inbestgo-auth.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inbestgo-auth.service.js","sourceRoot":"","sources":["../../../../src/modules/inbestgo/auth/inbestgo-auth.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yCAA4C;AAI5C,IAAK,qBAGJ;AAHD,WAAK,qBAAqB;IACxB,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;AAC3B,CAAC,EAHI,qBAAqB,KAArB,qBAAqB,QAGzB;AAED,MAAM,iBAAiB,GAA0C;IAC/D,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,0CAA0C;IAC3E,CAAC,qBAAqB,CAAC,UAAU,CAAC,EAAE,0CAA0C;CAC/E,CAAC;AAGK,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IACD;IAA7B,YAA6B,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;IAAG,CAAC;IAEzD,KAAK,CAAC,YAAY,CAAC,WAAoC;QACrD,MAAM,MAAM,GAAG,WAAW,CAAC,MAAgB,CAAC;QAC5C,MAAM,WAAW,GAAI,WAAW,CAAC,WAAsB,IAAI,SAAS,CAAC;QAErE,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,qBAAqB;aAC/B,CAAC;QACJ,CAAC;QAED,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,iBAAiB,CAAC,WAAoC,CAAC,CAAC;YAIxE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAClD,GAAG,OAAO,wCAAwC,EAClD;gBACE,OAAO,EAAE;oBACP,WAAW,EAAE,MAAM;iBACpB;aACF,CACF,CAAC;YAGF,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,6CAA6C;aACvD,CAAC;QACJ,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YAEpB,IAAI,KAAK,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,EAAE,CAAC;gBACrE,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,iBAAiB;iBAC3B,CAAC;YACJ,CAAC;YAID,IAAI,KAAK,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,EAAE,CAAC;gBACnC,OAAO;oBACL,OAAO,EAAE,IAAI;oBACb,OAAO,EAAE,6CAA6C;iBACvD,CAAC;YACJ,CAAC;YAED,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,mCAAmC,KAAK,CAAC,OAAO,EAAE;aAC5D,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAA;AAzDY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;qCAE+B,mBAAW;GAD1C,mBAAmB,CAyD/B"}
@@ -1,2 +0,0 @@
1
- export * from './inbestgo-auth.service';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inbestgo/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inbestgo/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
@@ -1,3 +0,0 @@
1
- import { CredentialFieldDefinition } from '../types';
2
- export declare const inbestgoCredentials: CredentialFieldDefinition[];
3
- //# sourceMappingURL=credentials.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../src/modules/inbestgo/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAc,MAAM,UAAU,CAAC;AAEjE,eAAO,MAAM,mBAAmB,EAAE,yBAAyB,EA0B1D,CAAC"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.inbestgoCredentials = void 0;
4
- const types_1 = require("../types");
5
- exports.inbestgoCredentials = [
6
- {
7
- id: 'apiKey',
8
- name: 'API Key',
9
- description: 'Inbestgo API Key for authentication',
10
- type: types_1.FIELD_TYPE.STRING,
11
- validation: {
12
- required: true,
13
- minLength: 1,
14
- },
15
- placeholder: 'Enter your Inbestgo API key',
16
- sensitive: true,
17
- required: true,
18
- },
19
- {
20
- id: 'environment',
21
- name: 'Environment',
22
- description: 'Inbestgo environment (SANDBOX or PRODUCTION)',
23
- type: types_1.FIELD_TYPE.STRING,
24
- validation: {
25
- required: true,
26
- },
27
- placeholder: 'SANDBOX',
28
- sensitive: false,
29
- required: true,
30
- },
31
- ];
32
- //# sourceMappingURL=credentials.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../src/modules/inbestgo/credentials.ts"],"names":[],"mappings":";;;AAAA,oCAAiE;AAEpD,QAAA,mBAAmB,GAAgC;IAC9D;QACE,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,qCAAqC;QAClD,IAAI,EAAE,kBAAU,CAAC,MAAM;QACvB,UAAU,EAAE;YACV,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,CAAC;SACb;QACD,WAAW,EAAE,6BAA6B;QAC1C,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,IAAI;KACf;IACD;QACE,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,8CAA8C;QAC3D,IAAI,EAAE,kBAAU,CAAC,MAAM;QACvB,UAAU,EAAE;YACV,QAAQ,EAAE,IAAI;SACf;QACD,WAAW,EAAE,SAAS;QACtB,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,IAAI;KACf;CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare class InbestgoNestModule {
2
- }
3
- //# sourceMappingURL=inbestgo-nest.module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inbestgo-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/inbestgo/inbestgo-nest.module.ts"],"names":[],"mappings":"AAOA,qBASa,kBAAkB;CAAG"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.InbestgoNestModule = void 0;
10
- const common_1 = require("@nestjs/common");
11
- const inbestgo_1 = require("@venturialstd/inbestgo");
12
- const axios_1 = require("@nestjs/axios");
13
- const auth_1 = require("./auth");
14
- const services_1 = require("./services");
15
- let InbestgoNestModule = class InbestgoNestModule {
16
- };
17
- exports.InbestgoNestModule = InbestgoNestModule;
18
- exports.InbestgoNestModule = InbestgoNestModule = __decorate([
19
- (0, common_1.Module)({
20
- imports: [inbestgo_1.InbestgoModule, axios_1.HttpModule],
21
- providers: [
22
- services_1.LookupUserByPhoneService,
23
- services_1.CreateTransactionService,
24
- auth_1.InbestgoAuthService,
25
- ],
26
- exports: [services_1.LookupUserByPhoneService, services_1.CreateTransactionService, auth_1.InbestgoAuthService],
27
- })
28
- ], InbestgoNestModule);
29
- //# sourceMappingURL=inbestgo-nest.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inbestgo-nest.module.js","sourceRoot":"","sources":["../../../src/modules/inbestgo/inbestgo-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,qDAAwD;AACxD,yCAA2C;AAE3C,iCAA6C;AAC7C,yCAAgF;AAWzE,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAAG,CAAA;AAArB,gDAAkB;6BAAlB,kBAAkB;IAT9B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,yBAAc,EAAE,kBAAU,CAAC;QACrC,SAAS,EAAE;YACT,mCAAwB;YACxB,mCAAwB;YACxB,0BAAmB;SACpB;QACD,OAAO,EAAE,CAAC,mCAAwB,EAAE,mCAAwB,EAAE,0BAAmB,CAAC;KACnF,CAAC;GACW,kBAAkB,CAAG"}
@@ -1,3 +0,0 @@
1
- import { WorkflowModuleDefinition } from '../types';
2
- export declare const inbestgoModule: WorkflowModuleDefinition;
3
- //# sourceMappingURL=inbestgo.module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inbestgo.module.d.ts","sourceRoot":"","sources":["../../../src/modules/inbestgo/inbestgo.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAKpF,eAAO,MAAM,cAAc,EAAE,wBAkB5B,CAAC"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.inbestgoModule = void 0;
4
- const actions_1 = require("./actions");
5
- const inbestgo_auth_service_1 = require("./auth/inbestgo-auth.service");
6
- const credentials_1 = require("./credentials");
7
- exports.inbestgoModule = {
8
- key: 'inbestgo',
9
- name: 'Inbestgo',
10
- description: 'Integration with Inbestgo investment platform for user management and transaction tracking',
11
- icon: '📈',
12
- version: '1.0.0',
13
- credentialFields: credentials_1.inbestgoCredentials,
14
- authServiceClass: inbestgo_auth_service_1.InbestgoAuthService,
15
- actions: [
16
- actions_1.lookupUserByPhoneAction,
17
- actions_1.createTransactionAction,
18
- ],
19
- triggers: [],
20
- };
21
- //# sourceMappingURL=inbestgo.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inbestgo.module.js","sourceRoot":"","sources":["../../../src/modules/inbestgo/inbestgo.module.ts"],"names":[],"mappings":";;;AACA,uCAA6E;AAC7E,wEAAmE;AACnE,+CAAoD;AAEvC,QAAA,cAAc,GAA6B;IACtD,GAAG,EAAE,UAAU;IACf,IAAI,EAAE,UAAU;IAChB,WAAW,EACT,4FAA4F;IAC9F,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,iCAAmB;IACrC,gBAAgB,EAAE,2CAEiB;IACnC,OAAO,EAAE;QAEP,iCAAuB;QAEvB,iCAAuB;KACxB;IACD,QAAQ,EAAE,EAAE;CACb,CAAC"}
@@ -1,8 +0,0 @@
1
- import { InbestgoTransactionService } from '@venturialstd/inbestgo';
2
- import { IWorkflowActionService, WorkflowActionContext } from '../../types';
3
- export declare class CreateTransactionService implements IWorkflowActionService {
4
- private readonly inbestgoTransactionService;
5
- constructor(inbestgoTransactionService: InbestgoTransactionService);
6
- perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
7
- }
8
- //# sourceMappingURL=create-transaction.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-transaction.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/inbestgo/services/create-transaction.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAyB,MAAM,wBAAwB,CAAC;AAE3F,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,wBAAyB,YAAW,sBAAsB;IACzD,OAAO,CAAC,QAAQ,CAAC,0BAA0B;gBAA1B,0BAA0B,EAAE,0BAA0B;IAE7E,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAwEpC"}
@@ -1,78 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateTransactionService = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const inbestgo_1 = require("@venturialstd/inbestgo");
15
- let CreateTransactionService = class CreateTransactionService {
16
- inbestgoTransactionService;
17
- constructor(inbestgoTransactionService) {
18
- this.inbestgoTransactionService = inbestgoTransactionService;
19
- }
20
- async perform(inputs, context) {
21
- const phoneNumber = inputs.phoneNumber;
22
- const transactionId = inputs.transactionId;
23
- const txHash = inputs.txHash;
24
- const blockchain = inputs.blockchain;
25
- const token = inputs.token;
26
- const amount = inputs.amount;
27
- if (!phoneNumber) {
28
- throw new Error('Phone number is required');
29
- }
30
- if (!transactionId) {
31
- throw new Error('Transaction ID is required');
32
- }
33
- if (!txHash) {
34
- throw new Error('Transaction hash is required');
35
- }
36
- if (!blockchain) {
37
- throw new Error('Blockchain is required');
38
- }
39
- if (!token) {
40
- throw new Error('Token is required');
41
- }
42
- if (!amount) {
43
- throw new Error('Amount is required');
44
- }
45
- const credentials = context.credentials;
46
- if (!credentials) {
47
- throw new Error('Inbestgo credentials are required');
48
- }
49
- const apiKey = credentials.apiKey;
50
- const environment = credentials.environment || 'SANDBOX';
51
- try {
52
- const transaction = await this.inbestgoTransactionService.createTransaction(phoneNumber, transactionId, txHash, blockchain, token, amount, apiKey, environment);
53
- if (!transaction) {
54
- throw new Error('Failed to create transaction');
55
- }
56
- return {
57
- id: transaction.id,
58
- success: transaction.status !== 'FAILED',
59
- status: transaction.status,
60
- transactionId: transaction.transactionId,
61
- txHash: transaction.txHash,
62
- blockchain: transaction.blockchain,
63
- token: transaction.token,
64
- amount: transaction.amount,
65
- message: transaction.description || 'Transaction created successfully',
66
- };
67
- }
68
- catch (error) {
69
- throw new Error(`Failed to create transaction: ${error.message}`);
70
- }
71
- }
72
- };
73
- exports.CreateTransactionService = CreateTransactionService;
74
- exports.CreateTransactionService = CreateTransactionService = __decorate([
75
- (0, common_1.Injectable)(),
76
- __metadata("design:paramtypes", [inbestgo_1.InbestgoTransactionService])
77
- ], CreateTransactionService);
78
- //# sourceMappingURL=create-transaction.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-transaction.service.js","sourceRoot":"","sources":["../../../../src/modules/inbestgo/services/create-transaction.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,qDAA2F;AAKpF,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACN;IAA7B,YAA6B,0BAAsD;QAAtD,+BAA0B,GAA1B,0BAA0B,CAA4B;IAAG,CAAC;IAEvF,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,OAA8B;QAE9B,MAAM,WAAW,GAAG,MAAM,CAAC,WAAqB,CAAC;QACjD,MAAM,aAAa,GAAG,MAAM,CAAC,aAAuB,CAAC;QACrD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAgB,CAAC;QACvC,MAAM,UAAU,GAAG,MAAM,CAAC,UAAoB,CAAC;QAC/C,MAAM,KAAK,GAAG,MAAM,CAAC,KAAe,CAAC;QACrC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAgB,CAAC;QAEvC,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;QAED,IAAI,CAAC,aAAa,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACvC,CAAC;QAED,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;QACxC,CAAC;QAGD,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;QACxC,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;QACvD,CAAC;QAED,MAAM,MAAM,GAAG,WAAW,CAAC,MAAgB,CAAC;QAC5C,MAAM,WAAW,GAAI,WAAW,CAAC,WAAsB,IAAI,SAAS,CAAC;QAErE,IAAI,CAAC;YACH,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,0BAA0B,CAAC,iBAAiB,CACzE,WAAW,EACX,aAAa,EACb,MAAM,EACN,UAAU,EACV,KAAK,EACL,MAAM,EACN,MAAM,EACN,WAAoC,CACrC,CAAC;YAEF,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;YAClD,CAAC;YAED,OAAO;gBACL,EAAE,EAAE,WAAW,CAAC,EAAE;gBAClB,OAAO,EAAE,WAAW,CAAC,MAAM,KAAK,QAAQ;gBACxC,MAAM,EAAE,WAAW,CAAC,MAAM;gBAC1B,aAAa,EAAE,WAAW,CAAC,aAAa;gBACxC,MAAM,EAAE,WAAW,CAAC,MAAM;gBAC1B,UAAU,EAAE,WAAW,CAAC,UAAU;gBAClC,KAAK,EAAE,WAAW,CAAC,KAAK;gBACxB,MAAM,EAAE,WAAW,CAAC,MAAM;gBAC1B,OAAO,EAAE,WAAW,CAAC,WAAW,IAAI,kCAAkC;aACvE,CAAC;QACJ,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,MAAM,IAAI,KAAK,CAAC,iCAAiC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;QACpE,CAAC;IACH,CAAC;CACF,CAAA;AA9EY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,mBAAU,GAAE;qCAE8C,qCAA0B;GADxE,wBAAwB,CA8EpC"}
@@ -1,3 +0,0 @@
1
- export * from './lookup-user-by-phone.service';
2
- export * from './create-transaction.service';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inbestgo/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./lookup-user-by-phone.service"), exports);
18
- __exportStar(require("./create-transaction.service"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inbestgo/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,+DAA6C"}
@@ -1,8 +0,0 @@
1
- import { InbestgoUserService } from '@venturialstd/inbestgo';
2
- import { IWorkflowActionService, WorkflowActionContext } from '../../types';
3
- export declare class LookupUserByPhoneService implements IWorkflowActionService {
4
- private readonly inbestgoUserService;
5
- constructor(inbestgoUserService: InbestgoUserService);
6
- perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
7
- }
8
- //# sourceMappingURL=lookup-user-by-phone.service.d.ts.map