@venturialstd/workflow 0.1.113 → 0.1.115

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 (630) hide show
  1. package/README.md +238 -238
  2. package/dist/index.d.ts +0 -1
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +0 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/modules/capa/actions/cancel-transaction.action.d.ts +3 -0
  7. package/dist/modules/capa/actions/cancel-transaction.action.d.ts.map +1 -0
  8. package/dist/modules/capa/actions/cancel-transaction.action.js +58 -0
  9. package/dist/modules/capa/actions/cancel-transaction.action.js.map +1 -0
  10. package/dist/modules/capa/actions/create-cross-ramp-quote.action.d.ts +3 -0
  11. package/dist/modules/capa/actions/create-cross-ramp-quote.action.d.ts.map +1 -0
  12. package/dist/modules/capa/actions/create-cross-ramp-quote.action.js +143 -0
  13. package/dist/modules/capa/actions/create-cross-ramp-quote.action.js.map +1 -0
  14. package/dist/modules/capa/actions/create-cross-ramp.action.d.ts +3 -0
  15. package/dist/modules/capa/actions/create-cross-ramp.action.d.ts.map +1 -0
  16. package/dist/modules/capa/actions/create-cross-ramp.action.js +158 -0
  17. package/dist/modules/capa/actions/create-cross-ramp.action.js.map +1 -0
  18. package/dist/modules/capa/actions/create-kyb-verification-link.action.d.ts +3 -0
  19. package/dist/modules/capa/actions/create-kyb-verification-link.action.d.ts.map +1 -0
  20. package/dist/modules/capa/actions/create-kyb-verification-link.action.js +50 -0
  21. package/dist/modules/capa/actions/create-kyb-verification-link.action.js.map +1 -0
  22. package/dist/modules/capa/actions/create-kyc-verification-link.action.d.ts +3 -0
  23. package/dist/modules/capa/actions/create-kyc-verification-link.action.d.ts.map +1 -0
  24. package/dist/modules/capa/actions/create-kyc-verification-link.action.js +50 -0
  25. package/dist/modules/capa/actions/create-kyc-verification-link.action.js.map +1 -0
  26. package/dist/modules/capa/actions/create-off-ramp.action.d.ts +3 -0
  27. package/dist/modules/capa/actions/create-off-ramp.action.d.ts.map +1 -0
  28. package/dist/modules/capa/actions/create-off-ramp.action.js +195 -0
  29. package/dist/modules/capa/actions/create-off-ramp.action.js.map +1 -0
  30. package/dist/modules/capa/actions/create-on-ramp.action.d.ts +3 -0
  31. package/dist/modules/capa/actions/create-on-ramp.action.d.ts.map +1 -0
  32. package/dist/modules/capa/actions/create-on-ramp.action.js +195 -0
  33. package/dist/modules/capa/actions/create-on-ramp.action.js.map +1 -0
  34. package/dist/modules/capa/actions/create-quote.action.d.ts +3 -0
  35. package/dist/modules/capa/actions/create-quote.action.d.ts.map +1 -0
  36. package/dist/modules/capa/actions/create-quote.action.js +156 -0
  37. package/dist/modules/capa/actions/create-quote.action.js.map +1 -0
  38. package/dist/modules/capa/actions/create-receiver.action.d.ts +3 -0
  39. package/dist/modules/capa/actions/create-receiver.action.d.ts.map +1 -0
  40. package/dist/modules/capa/actions/create-receiver.action.js +217 -0
  41. package/dist/modules/capa/actions/create-receiver.action.js.map +1 -0
  42. package/dist/modules/capa/actions/create-user-kyc.action.d.ts +3 -0
  43. package/dist/modules/capa/actions/create-user-kyc.action.d.ts.map +1 -0
  44. package/dist/modules/capa/actions/create-user-kyc.action.js +90 -0
  45. package/dist/modules/capa/actions/create-user-kyc.action.js.map +1 -0
  46. package/dist/modules/capa/actions/create-user.action.d.ts +3 -0
  47. package/dist/modules/capa/actions/create-user.action.d.ts.map +1 -0
  48. package/dist/modules/capa/actions/create-user.action.js +110 -0
  49. package/dist/modules/capa/actions/create-user.action.js.map +1 -0
  50. package/dist/modules/capa/actions/delete-receiver.action.d.ts +3 -0
  51. package/dist/modules/capa/actions/delete-receiver.action.d.ts.map +1 -0
  52. package/dist/modules/capa/actions/delete-receiver.action.js +56 -0
  53. package/dist/modules/capa/actions/delete-receiver.action.js.map +1 -0
  54. package/dist/modules/capa/actions/get-cross-ramp-quote.action.d.ts +3 -0
  55. package/dist/modules/capa/actions/get-cross-ramp-quote.action.d.ts.map +1 -0
  56. package/dist/modules/capa/actions/get-cross-ramp-quote.action.js +143 -0
  57. package/dist/modules/capa/actions/get-cross-ramp-quote.action.js.map +1 -0
  58. package/dist/modules/capa/actions/get-kyb-details.action.d.ts +3 -0
  59. package/dist/modules/capa/actions/get-kyb-details.action.d.ts.map +1 -0
  60. package/dist/modules/capa/actions/get-kyb-details.action.js +64 -0
  61. package/dist/modules/capa/actions/get-kyb-details.action.js.map +1 -0
  62. package/dist/modules/capa/actions/get-kyc-details.action.d.ts +3 -0
  63. package/dist/modules/capa/actions/get-kyc-details.action.d.ts.map +1 -0
  64. package/dist/modules/capa/actions/get-kyc-details.action.js +100 -0
  65. package/dist/modules/capa/actions/get-kyc-details.action.js.map +1 -0
  66. package/dist/modules/capa/actions/get-mock-testing-guide.action.d.ts +3 -0
  67. package/dist/modules/capa/actions/get-mock-testing-guide.action.d.ts.map +1 -0
  68. package/dist/modules/capa/actions/get-mock-testing-guide.action.js +23 -0
  69. package/dist/modules/capa/actions/get-mock-testing-guide.action.js.map +1 -0
  70. package/dist/modules/capa/actions/get-quote.action.d.ts +3 -0
  71. package/dist/modules/capa/actions/get-quote.action.d.ts.map +1 -0
  72. package/dist/modules/capa/actions/get-quote.action.js +156 -0
  73. package/dist/modules/capa/actions/get-quote.action.js.map +1 -0
  74. package/dist/modules/capa/actions/get-user-agreements.action.d.ts +3 -0
  75. package/dist/modules/capa/actions/get-user-agreements.action.d.ts.map +1 -0
  76. package/dist/modules/capa/actions/get-user-agreements.action.js +40 -0
  77. package/dist/modules/capa/actions/get-user-agreements.action.js.map +1 -0
  78. package/dist/modules/capa/actions/index.d.ts +23 -0
  79. package/dist/modules/capa/actions/index.d.ts.map +1 -0
  80. package/dist/modules/capa/actions/index.js +39 -0
  81. package/dist/modules/capa/actions/index.js.map +1 -0
  82. package/dist/modules/capa/actions/list-receivers.action.d.ts +3 -0
  83. package/dist/modules/capa/actions/list-receivers.action.d.ts.map +1 -0
  84. package/dist/modules/capa/actions/list-receivers.action.js +51 -0
  85. package/dist/modules/capa/actions/list-receivers.action.js.map +1 -0
  86. package/dist/modules/capa/actions/list-transactions.action.d.ts +3 -0
  87. package/dist/modules/capa/actions/list-transactions.action.d.ts.map +1 -0
  88. package/dist/modules/capa/actions/list-transactions.action.js +125 -0
  89. package/dist/modules/capa/actions/list-transactions.action.js.map +1 -0
  90. package/dist/modules/capa/actions/request-document-signature.action.d.ts +3 -0
  91. package/dist/modules/capa/actions/request-document-signature.action.d.ts.map +1 -0
  92. package/dist/modules/capa/actions/request-document-signature.action.js +50 -0
  93. package/dist/modules/capa/actions/request-document-signature.action.js.map +1 -0
  94. package/dist/modules/capa/actions/update-webhook-settings.action.d.ts +3 -0
  95. package/dist/modules/capa/actions/update-webhook-settings.action.d.ts.map +1 -0
  96. package/dist/modules/capa/actions/update-webhook-settings.action.js +52 -0
  97. package/dist/modules/capa/actions/update-webhook-settings.action.js.map +1 -0
  98. package/dist/modules/capa/auth/capa-auth.service.d.ts +8 -0
  99. package/dist/modules/capa/auth/capa-auth.service.d.ts.map +1 -0
  100. package/dist/modules/capa/auth/capa-auth.service.js +94 -0
  101. package/dist/modules/capa/auth/capa-auth.service.js.map +1 -0
  102. package/dist/modules/capa/auth/index.d.ts +2 -0
  103. package/dist/modules/capa/auth/index.d.ts.map +1 -0
  104. package/dist/modules/{chatbot/triggers → capa/auth}/index.js +1 -1
  105. package/dist/modules/capa/auth/index.js.map +1 -0
  106. package/dist/modules/capa/capa-nest.module.d.ts +3 -0
  107. package/dist/modules/capa/capa-nest.module.d.ts.map +1 -0
  108. package/dist/modules/capa/capa-nest.module.js +72 -0
  109. package/dist/modules/capa/capa-nest.module.js.map +1 -0
  110. package/dist/modules/capa/capa.module.d.ts +3 -0
  111. package/dist/modules/capa/capa.module.d.ts.map +1 -0
  112. package/dist/modules/capa/capa.module.js +42 -0
  113. package/dist/modules/capa/capa.module.js.map +1 -0
  114. package/dist/modules/capa/credentials.d.ts +3 -0
  115. package/dist/modules/capa/credentials.d.ts.map +1 -0
  116. package/dist/modules/capa/credentials.js +46 -0
  117. package/dist/modules/capa/credentials.js.map +1 -0
  118. package/dist/modules/capa/services/cancel-transaction.service.d.ts +9 -0
  119. package/dist/modules/capa/services/cancel-transaction.service.d.ts.map +1 -0
  120. package/dist/modules/capa/services/cancel-transaction.service.js +45 -0
  121. package/dist/modules/capa/services/cancel-transaction.service.js.map +1 -0
  122. package/dist/modules/capa/services/create-cross-ramp-quote.service.d.ts +9 -0
  123. package/dist/modules/capa/services/create-cross-ramp-quote.service.d.ts.map +1 -0
  124. package/dist/modules/capa/services/create-cross-ramp-quote.service.js +75 -0
  125. package/dist/modules/capa/services/create-cross-ramp-quote.service.js.map +1 -0
  126. package/dist/modules/capa/services/create-cross-ramp.service.d.ts +9 -0
  127. package/dist/modules/capa/services/create-cross-ramp.service.d.ts.map +1 -0
  128. package/dist/modules/capa/services/create-cross-ramp.service.js +66 -0
  129. package/dist/modules/capa/services/create-cross-ramp.service.js.map +1 -0
  130. package/dist/modules/capa/services/create-kyb-verification-link.service.d.ts +9 -0
  131. package/dist/modules/capa/services/create-kyb-verification-link.service.d.ts.map +1 -0
  132. package/dist/modules/capa/services/create-kyb-verification-link.service.js +47 -0
  133. package/dist/modules/capa/services/create-kyb-verification-link.service.js.map +1 -0
  134. package/dist/modules/capa/services/create-kyc-verification-link.service.d.ts +9 -0
  135. package/dist/modules/capa/services/create-kyc-verification-link.service.d.ts.map +1 -0
  136. package/dist/modules/capa/services/create-kyc-verification-link.service.js +47 -0
  137. package/dist/modules/capa/services/create-kyc-verification-link.service.js.map +1 -0
  138. package/dist/modules/capa/services/create-off-ramp.service.d.ts +9 -0
  139. package/dist/modules/capa/services/create-off-ramp.service.d.ts.map +1 -0
  140. package/dist/modules/capa/services/create-off-ramp.service.js +80 -0
  141. package/dist/modules/capa/services/create-off-ramp.service.js.map +1 -0
  142. package/dist/modules/capa/services/create-on-ramp.service.d.ts +9 -0
  143. package/dist/modules/capa/services/create-on-ramp.service.d.ts.map +1 -0
  144. package/dist/modules/capa/services/create-on-ramp.service.js +80 -0
  145. package/dist/modules/capa/services/create-on-ramp.service.js.map +1 -0
  146. package/dist/modules/capa/services/create-quote.service.d.ts +9 -0
  147. package/dist/modules/capa/services/create-quote.service.d.ts.map +1 -0
  148. package/dist/modules/capa/services/create-quote.service.js +77 -0
  149. package/dist/modules/capa/services/create-quote.service.js.map +1 -0
  150. package/dist/modules/capa/services/create-receiver.service.d.ts +9 -0
  151. package/dist/modules/capa/services/create-receiver.service.d.ts.map +1 -0
  152. package/dist/modules/capa/services/create-receiver.service.js +79 -0
  153. package/dist/modules/capa/services/create-receiver.service.js.map +1 -0
  154. package/dist/modules/capa/services/create-user-kyc.service.d.ts +9 -0
  155. package/dist/modules/capa/services/create-user-kyc.service.d.ts.map +1 -0
  156. package/dist/modules/capa/services/create-user-kyc.service.js +54 -0
  157. package/dist/modules/capa/services/create-user-kyc.service.js.map +1 -0
  158. package/dist/modules/capa/services/create-user.service.d.ts +9 -0
  159. package/dist/modules/capa/services/create-user.service.d.ts.map +1 -0
  160. package/dist/modules/capa/services/create-user.service.js +57 -0
  161. package/dist/modules/capa/services/create-user.service.js.map +1 -0
  162. package/dist/modules/capa/services/delete-receiver.service.d.ts +9 -0
  163. package/dist/modules/capa/services/delete-receiver.service.d.ts.map +1 -0
  164. package/dist/modules/capa/services/delete-receiver.service.js +47 -0
  165. package/dist/modules/capa/services/delete-receiver.service.js.map +1 -0
  166. package/dist/modules/capa/services/get-cross-ramp-quote.service.d.ts +9 -0
  167. package/dist/modules/capa/services/get-cross-ramp-quote.service.d.ts.map +1 -0
  168. package/dist/modules/capa/services/get-cross-ramp-quote.service.js +75 -0
  169. package/dist/modules/capa/services/get-cross-ramp-quote.service.js.map +1 -0
  170. package/dist/modules/capa/services/get-kyb-details.service.d.ts +9 -0
  171. package/dist/modules/capa/services/get-kyb-details.service.d.ts.map +1 -0
  172. package/dist/modules/capa/services/get-kyb-details.service.js +46 -0
  173. package/dist/modules/capa/services/get-kyb-details.service.js.map +1 -0
  174. package/dist/modules/capa/services/get-kyc-details.service.d.ts +9 -0
  175. package/dist/modules/capa/services/get-kyc-details.service.d.ts.map +1 -0
  176. package/dist/modules/capa/services/get-kyc-details.service.js +52 -0
  177. package/dist/modules/capa/services/get-kyc-details.service.js.map +1 -0
  178. package/dist/modules/capa/services/get-mock-testing-guide.service.d.ts +9 -0
  179. package/dist/modules/capa/services/get-mock-testing-guide.service.d.ts.map +1 -0
  180. package/dist/modules/capa/services/get-mock-testing-guide.service.js +37 -0
  181. package/dist/modules/capa/services/get-mock-testing-guide.service.js.map +1 -0
  182. package/dist/modules/capa/services/get-quote.service.d.ts +9 -0
  183. package/dist/modules/capa/services/get-quote.service.d.ts.map +1 -0
  184. package/dist/modules/capa/services/get-quote.service.js +77 -0
  185. package/dist/modules/capa/services/get-quote.service.js.map +1 -0
  186. package/dist/modules/capa/services/get-user-agreements.service.d.ts +9 -0
  187. package/dist/modules/capa/services/get-user-agreements.service.d.ts.map +1 -0
  188. package/dist/modules/capa/services/get-user-agreements.service.js +42 -0
  189. package/dist/modules/capa/services/get-user-agreements.service.js.map +1 -0
  190. package/dist/modules/capa/services/index.d.ts +23 -0
  191. package/dist/modules/capa/services/index.d.ts.map +1 -0
  192. package/dist/modules/capa/services/index.js +39 -0
  193. package/dist/modules/capa/services/index.js.map +1 -0
  194. package/dist/modules/capa/services/list-receivers.service.d.ts +9 -0
  195. package/dist/modules/capa/services/list-receivers.service.d.ts.map +1 -0
  196. package/dist/modules/capa/services/list-receivers.service.js +45 -0
  197. package/dist/modules/capa/services/list-receivers.service.js.map +1 -0
  198. package/dist/modules/capa/services/list-transactions.service.d.ts +9 -0
  199. package/dist/modules/capa/services/list-transactions.service.d.ts.map +1 -0
  200. package/dist/modules/capa/services/list-transactions.service.js +58 -0
  201. package/dist/modules/capa/services/list-transactions.service.js.map +1 -0
  202. package/dist/modules/capa/services/request-document-signature.service.d.ts +9 -0
  203. package/dist/modules/capa/services/request-document-signature.service.d.ts.map +1 -0
  204. package/dist/modules/capa/services/request-document-signature.service.js +46 -0
  205. package/dist/modules/capa/services/request-document-signature.service.js.map +1 -0
  206. package/dist/modules/capa/services/update-webhook-settings.service.d.ts +9 -0
  207. package/dist/modules/capa/services/update-webhook-settings.service.d.ts.map +1 -0
  208. package/dist/modules/capa/services/update-webhook-settings.service.js +47 -0
  209. package/dist/modules/capa/services/update-webhook-settings.service.js.map +1 -0
  210. package/dist/modules/capa/triggers/index.d.ts +3 -0
  211. package/dist/modules/capa/triggers/index.d.ts.map +1 -0
  212. package/dist/modules/capa/triggers/index.js +5 -0
  213. package/dist/modules/capa/triggers/index.js.map +1 -0
  214. package/dist/modules/capa/utils/capa-credentials.util.d.ts +4 -0
  215. package/dist/modules/capa/utils/capa-credentials.util.d.ts.map +1 -0
  216. package/dist/modules/capa/utils/capa-credentials.util.js +24 -0
  217. package/dist/modules/capa/utils/capa-credentials.util.js.map +1 -0
  218. package/dist/modules/capa/utils/capa-query.util.d.ts +4 -0
  219. package/dist/modules/capa/utils/capa-query.util.d.ts.map +1 -0
  220. package/dist/modules/capa/utils/capa-query.util.js +55 -0
  221. package/dist/modules/capa/utils/capa-query.util.js.map +1 -0
  222. package/dist/modules/chatgpt/actions/chat-completion.action.d.ts +3 -0
  223. package/dist/modules/chatgpt/actions/chat-completion.action.d.ts.map +1 -0
  224. package/dist/modules/chatgpt/actions/chat-completion.action.js +168 -0
  225. package/dist/modules/chatgpt/actions/chat-completion.action.js.map +1 -0
  226. package/dist/modules/chatgpt/actions/create-embedding.action.d.ts +3 -0
  227. package/dist/modules/chatgpt/actions/create-embedding.action.d.ts.map +1 -0
  228. package/dist/modules/chatgpt/actions/create-embedding.action.js +71 -0
  229. package/dist/modules/chatgpt/actions/create-embedding.action.js.map +1 -0
  230. package/dist/modules/chatgpt/actions/generate-image.action.d.ts +3 -0
  231. package/dist/modules/chatgpt/actions/generate-image.action.d.ts.map +1 -0
  232. package/dist/modules/chatgpt/actions/generate-image.action.js +103 -0
  233. package/dist/modules/chatgpt/actions/generate-image.action.js.map +1 -0
  234. package/dist/modules/chatgpt/actions/index.d.ts +6 -0
  235. package/dist/modules/chatgpt/actions/index.d.ts.map +1 -0
  236. package/dist/modules/{chatbot/services → chatgpt/actions}/index.js +5 -4
  237. package/dist/modules/chatgpt/actions/index.js.map +1 -0
  238. package/dist/modules/chatgpt/actions/speech-to-text.action.d.ts +3 -0
  239. package/dist/modules/chatgpt/actions/speech-to-text.action.d.ts.map +1 -0
  240. package/dist/modules/chatgpt/actions/speech-to-text.action.js +83 -0
  241. package/dist/modules/chatgpt/actions/speech-to-text.action.js.map +1 -0
  242. package/dist/modules/chatgpt/actions/text-to-speech.action.d.ts +3 -0
  243. package/dist/modules/chatgpt/actions/text-to-speech.action.d.ts.map +1 -0
  244. package/dist/modules/chatgpt/actions/text-to-speech.action.js +111 -0
  245. package/dist/modules/chatgpt/actions/text-to-speech.action.js.map +1 -0
  246. package/dist/modules/chatgpt/auth/chatgpt-auth.service.d.ts +5 -0
  247. package/dist/modules/chatgpt/auth/chatgpt-auth.service.d.ts.map +1 -0
  248. package/dist/modules/chatgpt/auth/chatgpt-auth.service.js +68 -0
  249. package/dist/modules/chatgpt/auth/chatgpt-auth.service.js.map +1 -0
  250. package/dist/modules/chatgpt/chatgpt-nest.module.d.ts +3 -0
  251. package/dist/modules/chatgpt/chatgpt-nest.module.d.ts.map +1 -0
  252. package/dist/modules/chatgpt/chatgpt-nest.module.js +37 -0
  253. package/dist/modules/chatgpt/chatgpt-nest.module.js.map +1 -0
  254. package/dist/modules/chatgpt/chatgpt.module.d.ts +3 -0
  255. package/dist/modules/chatgpt/chatgpt.module.d.ts.map +1 -0
  256. package/dist/modules/chatgpt/chatgpt.module.js +24 -0
  257. package/dist/modules/chatgpt/chatgpt.module.js.map +1 -0
  258. package/dist/modules/chatgpt/constants/chatgpt-completion.constants.d.ts +4 -0
  259. package/dist/modules/chatgpt/constants/chatgpt-completion.constants.d.ts.map +1 -0
  260. package/dist/modules/chatgpt/constants/chatgpt-completion.constants.js +32 -0
  261. package/dist/modules/chatgpt/constants/chatgpt-completion.constants.js.map +1 -0
  262. package/dist/modules/chatgpt/credentials.d.ts +3 -0
  263. package/dist/modules/chatgpt/credentials.d.ts.map +1 -0
  264. package/dist/modules/chatgpt/credentials.js +32 -0
  265. package/dist/modules/chatgpt/credentials.js.map +1 -0
  266. package/dist/modules/chatgpt/services/chat-completion.service.d.ts +12 -0
  267. package/dist/modules/chatgpt/services/chat-completion.service.d.ts.map +1 -0
  268. package/dist/modules/chatgpt/services/chat-completion.service.js +151 -0
  269. package/dist/modules/chatgpt/services/chat-completion.service.js.map +1 -0
  270. package/dist/modules/chatgpt/services/create-embedding.service.d.ts +8 -0
  271. package/dist/modules/chatgpt/services/create-embedding.service.d.ts.map +1 -0
  272. package/dist/modules/chatgpt/services/create-embedding.service.js +65 -0
  273. package/dist/modules/chatgpt/services/create-embedding.service.js.map +1 -0
  274. package/dist/modules/chatgpt/services/generate-image.service.d.ts +8 -0
  275. package/dist/modules/chatgpt/services/generate-image.service.d.ts.map +1 -0
  276. package/dist/modules/chatgpt/services/generate-image.service.js +56 -0
  277. package/dist/modules/chatgpt/services/generate-image.service.js.map +1 -0
  278. package/dist/modules/chatgpt/services/index.d.ts +6 -0
  279. package/dist/modules/chatgpt/services/index.d.ts.map +1 -0
  280. package/dist/modules/chatgpt/services/index.js +22 -0
  281. package/dist/modules/chatgpt/services/index.js.map +1 -0
  282. package/dist/modules/chatgpt/services/speech-to-text.service.d.ts +8 -0
  283. package/dist/modules/chatgpt/services/speech-to-text.service.d.ts.map +1 -0
  284. package/dist/modules/chatgpt/services/speech-to-text.service.js +54 -0
  285. package/dist/modules/chatgpt/services/speech-to-text.service.js.map +1 -0
  286. package/dist/modules/chatgpt/services/text-to-speech.service.d.ts +8 -0
  287. package/dist/modules/chatgpt/services/text-to-speech.service.d.ts.map +1 -0
  288. package/dist/modules/chatgpt/services/text-to-speech.service.js +55 -0
  289. package/dist/modules/chatgpt/services/text-to-speech.service.js.map +1 -0
  290. package/dist/modules/inbestgo/auth/inbestgo-auth.service.d.ts.map +1 -1
  291. package/dist/modules/inbestgo/auth/inbestgo-auth.service.js.map +1 -1
  292. package/dist/modules/inbestgo/services/lookup-user-by-phone.service.d.ts.map +1 -1
  293. package/dist/modules/inbestgo/services/lookup-user-by-phone.service.js.map +1 -1
  294. package/dist/modules/index.d.ts +3 -1
  295. package/dist/modules/index.d.ts.map +1 -1
  296. package/dist/modules/index.js +13 -5
  297. package/dist/modules/index.js.map +1 -1
  298. package/dist/modules/slack/actions/add-reaction.action.d.ts +3 -0
  299. package/dist/modules/slack/actions/add-reaction.action.d.ts.map +1 -0
  300. package/dist/modules/slack/actions/add-reaction.action.js +63 -0
  301. package/dist/modules/slack/actions/add-reaction.action.js.map +1 -0
  302. package/dist/modules/slack/actions/archive-conversation.action.d.ts +3 -0
  303. package/dist/modules/slack/actions/archive-conversation.action.d.ts.map +1 -0
  304. package/dist/modules/slack/actions/archive-conversation.action.js +41 -0
  305. package/dist/modules/slack/actions/archive-conversation.action.js.map +1 -0
  306. package/dist/modules/slack/actions/complete-upload-external.action.d.ts +3 -0
  307. package/dist/modules/slack/actions/complete-upload-external.action.d.ts.map +1 -0
  308. package/dist/modules/slack/actions/complete-upload-external.action.js +76 -0
  309. package/dist/modules/slack/actions/complete-upload-external.action.js.map +1 -0
  310. package/dist/modules/slack/actions/create-conversation.action.d.ts +3 -0
  311. package/dist/modules/slack/actions/create-conversation.action.d.ts.map +1 -0
  312. package/dist/modules/slack/actions/create-conversation.action.js +67 -0
  313. package/dist/modules/slack/actions/create-conversation.action.js.map +1 -0
  314. package/dist/modules/slack/actions/create-reminder.action.d.ts +3 -0
  315. package/dist/modules/slack/actions/create-reminder.action.d.ts.map +1 -0
  316. package/dist/modules/slack/actions/create-reminder.action.js +68 -0
  317. package/dist/modules/slack/actions/create-reminder.action.js.map +1 -0
  318. package/dist/modules/slack/actions/delete-message.action.d.ts +3 -0
  319. package/dist/modules/slack/actions/delete-message.action.d.ts.map +1 -0
  320. package/dist/modules/slack/actions/delete-message.action.js +74 -0
  321. package/dist/modules/slack/actions/delete-message.action.js.map +1 -0
  322. package/dist/modules/slack/actions/get-conversation-history.action.d.ts +3 -0
  323. package/dist/modules/slack/actions/get-conversation-history.action.d.ts.map +1 -0
  324. package/dist/modules/slack/actions/get-conversation-history.action.js +116 -0
  325. package/dist/modules/slack/actions/get-conversation-history.action.js.map +1 -0
  326. package/dist/modules/slack/actions/get-conversation-info.action.d.ts +3 -0
  327. package/dist/modules/slack/actions/get-conversation-info.action.d.ts.map +1 -0
  328. package/dist/modules/slack/actions/get-conversation-info.action.js +67 -0
  329. package/dist/modules/slack/actions/get-conversation-info.action.js.map +1 -0
  330. package/dist/modules/slack/actions/get-message-permalink.action.d.ts +3 -0
  331. package/dist/modules/slack/actions/get-message-permalink.action.d.ts.map +1 -0
  332. package/dist/modules/slack/actions/get-message-permalink.action.js +64 -0
  333. package/dist/modules/slack/actions/get-message-permalink.action.js.map +1 -0
  334. package/dist/modules/slack/actions/get-team-info.action.d.ts +3 -0
  335. package/dist/modules/slack/actions/get-team-info.action.d.ts.map +1 -0
  336. package/dist/modules/slack/actions/get-team-info.action.js +46 -0
  337. package/dist/modules/slack/actions/get-team-info.action.js.map +1 -0
  338. package/dist/modules/slack/actions/get-thread-replies.action.d.ts +3 -0
  339. package/dist/modules/slack/actions/get-thread-replies.action.d.ts.map +1 -0
  340. package/dist/modules/slack/actions/get-thread-replies.action.js +121 -0
  341. package/dist/modules/slack/actions/get-thread-replies.action.js.map +1 -0
  342. package/dist/modules/slack/actions/get-upload-url-external.action.d.ts +3 -0
  343. package/dist/modules/slack/actions/get-upload-url-external.action.d.ts.map +1 -0
  344. package/dist/modules/slack/actions/get-upload-url-external.action.js +64 -0
  345. package/dist/modules/slack/actions/get-upload-url-external.action.js.map +1 -0
  346. package/dist/modules/slack/actions/get-user-info.action.d.ts +3 -0
  347. package/dist/modules/slack/actions/get-user-info.action.d.ts.map +1 -0
  348. package/dist/modules/slack/actions/get-user-info.action.js +57 -0
  349. package/dist/modules/slack/actions/get-user-info.action.js.map +1 -0
  350. package/dist/modules/slack/actions/index.d.ts +30 -0
  351. package/dist/modules/slack/actions/index.d.ts.map +1 -0
  352. package/dist/modules/slack/actions/index.js +46 -0
  353. package/dist/modules/slack/actions/index.js.map +1 -0
  354. package/dist/modules/slack/actions/invite-to-conversation.action.d.ts +3 -0
  355. package/dist/modules/slack/actions/invite-to-conversation.action.d.ts.map +1 -0
  356. package/dist/modules/slack/actions/invite-to-conversation.action.js +58 -0
  357. package/dist/modules/slack/actions/invite-to-conversation.action.js.map +1 -0
  358. package/dist/modules/slack/actions/join-conversation.action.d.ts +3 -0
  359. package/dist/modules/slack/actions/join-conversation.action.d.ts.map +1 -0
  360. package/dist/modules/slack/actions/join-conversation.action.js +53 -0
  361. package/dist/modules/slack/actions/join-conversation.action.js.map +1 -0
  362. package/dist/modules/slack/actions/list-conversations.action.d.ts +3 -0
  363. package/dist/modules/slack/actions/list-conversations.action.d.ts.map +1 -0
  364. package/dist/modules/slack/actions/list-conversations.action.js +93 -0
  365. package/dist/modules/slack/actions/list-conversations.action.js.map +1 -0
  366. package/dist/modules/slack/actions/list-emoji.action.d.ts +3 -0
  367. package/dist/modules/slack/actions/list-emoji.action.d.ts.map +1 -0
  368. package/dist/modules/slack/actions/list-emoji.action.js +41 -0
  369. package/dist/modules/slack/actions/list-emoji.action.js.map +1 -0
  370. package/dist/modules/slack/actions/list-files.action.d.ts +3 -0
  371. package/dist/modules/slack/actions/list-files.action.d.ts.map +1 -0
  372. package/dist/modules/slack/actions/list-files.action.js +142 -0
  373. package/dist/modules/slack/actions/list-files.action.js.map +1 -0
  374. package/dist/modules/slack/actions/list-users.action.d.ts +3 -0
  375. package/dist/modules/slack/actions/list-users.action.d.ts.map +1 -0
  376. package/dist/modules/slack/actions/list-users.action.js +88 -0
  377. package/dist/modules/slack/actions/list-users.action.js.map +1 -0
  378. package/dist/modules/slack/actions/lookup-user-by-email.action.d.ts +3 -0
  379. package/dist/modules/slack/actions/lookup-user-by-email.action.d.ts.map +1 -0
  380. package/dist/modules/slack/actions/lookup-user-by-email.action.js +46 -0
  381. package/dist/modules/slack/actions/lookup-user-by-email.action.js.map +1 -0
  382. package/dist/modules/slack/actions/open-view.action.d.ts +3 -0
  383. package/dist/modules/slack/actions/open-view.action.d.ts.map +1 -0
  384. package/dist/modules/slack/actions/open-view.action.js +57 -0
  385. package/dist/modules/slack/actions/open-view.action.js.map +1 -0
  386. package/dist/modules/slack/actions/pin-message.action.d.ts +3 -0
  387. package/dist/modules/slack/actions/pin-message.action.d.ts.map +1 -0
  388. package/dist/modules/slack/actions/pin-message.action.js +71 -0
  389. package/dist/modules/slack/actions/pin-message.action.js.map +1 -0
  390. package/dist/modules/slack/actions/post-message.action.d.ts +3 -0
  391. package/dist/modules/slack/actions/post-message.action.d.ts.map +1 -0
  392. package/dist/modules/slack/actions/post-message.action.js +183 -0
  393. package/dist/modules/slack/actions/post-message.action.js.map +1 -0
  394. package/dist/modules/slack/actions/remove-reaction.action.d.ts +3 -0
  395. package/dist/modules/slack/actions/remove-reaction.action.d.ts.map +1 -0
  396. package/dist/modules/slack/actions/remove-reaction.action.js +63 -0
  397. package/dist/modules/slack/actions/remove-reaction.action.js.map +1 -0
  398. package/dist/modules/slack/actions/schedule-message.action.d.ts +3 -0
  399. package/dist/modules/slack/actions/schedule-message.action.d.ts.map +1 -0
  400. package/dist/modules/slack/actions/schedule-message.action.js +96 -0
  401. package/dist/modules/slack/actions/schedule-message.action.js.map +1 -0
  402. package/dist/modules/slack/actions/search-messages.action.d.ts +3 -0
  403. package/dist/modules/slack/actions/search-messages.action.d.ts.map +1 -0
  404. package/dist/modules/slack/actions/search-messages.action.js +116 -0
  405. package/dist/modules/slack/actions/search-messages.action.js.map +1 -0
  406. package/dist/modules/slack/actions/set-conversation-topic.action.d.ts +3 -0
  407. package/dist/modules/slack/actions/set-conversation-topic.action.d.ts.map +1 -0
  408. package/dist/modules/slack/actions/set-conversation-topic.action.js +59 -0
  409. package/dist/modules/slack/actions/set-conversation-topic.action.js.map +1 -0
  410. package/dist/modules/slack/actions/update-message.action.d.ts +3 -0
  411. package/dist/modules/slack/actions/update-message.action.d.ts.map +1 -0
  412. package/dist/modules/slack/actions/update-message.action.js +139 -0
  413. package/dist/modules/slack/actions/update-message.action.js.map +1 -0
  414. package/dist/modules/slack/actions/upload-file.action.d.ts +3 -0
  415. package/dist/modules/slack/actions/upload-file.action.d.ts.map +1 -0
  416. package/dist/modules/slack/actions/upload-file.action.js +114 -0
  417. package/dist/modules/slack/actions/upload-file.action.js.map +1 -0
  418. package/dist/modules/slack/auth/index.d.ts +2 -0
  419. package/dist/modules/slack/auth/index.d.ts.map +1 -0
  420. package/dist/modules/{chatbot/actions → slack/auth}/index.js +1 -3
  421. package/dist/modules/slack/auth/index.js.map +1 -0
  422. package/dist/modules/slack/auth/slack-auth.service.d.ts +8 -0
  423. package/dist/modules/slack/auth/slack-auth.service.d.ts.map +1 -0
  424. package/dist/modules/slack/auth/slack-auth.service.js +78 -0
  425. package/dist/modules/slack/auth/slack-auth.service.js.map +1 -0
  426. package/dist/modules/slack/credentials.d.ts +3 -0
  427. package/dist/modules/slack/credentials.d.ts.map +1 -0
  428. package/dist/modules/slack/credentials.js +20 -0
  429. package/dist/modules/slack/credentials.js.map +1 -0
  430. package/dist/modules/slack/services/add-reaction.service.d.ts +8 -0
  431. package/dist/modules/slack/services/add-reaction.service.d.ts.map +1 -0
  432. package/dist/modules/slack/services/add-reaction.service.js +52 -0
  433. package/dist/modules/slack/services/add-reaction.service.js.map +1 -0
  434. package/dist/modules/slack/services/archive-conversation.service.d.ts +8 -0
  435. package/dist/modules/slack/services/archive-conversation.service.d.ts.map +1 -0
  436. package/dist/modules/slack/services/archive-conversation.service.js +42 -0
  437. package/dist/modules/slack/services/archive-conversation.service.js.map +1 -0
  438. package/dist/modules/slack/services/complete-upload-external.service.d.ts +8 -0
  439. package/dist/modules/slack/services/complete-upload-external.service.d.ts.map +1 -0
  440. package/dist/modules/slack/services/complete-upload-external.service.js +49 -0
  441. package/dist/modules/slack/services/complete-upload-external.service.js.map +1 -0
  442. package/dist/modules/slack/services/create-conversation.service.d.ts +8 -0
  443. package/dist/modules/slack/services/create-conversation.service.d.ts.map +1 -0
  444. package/dist/modules/slack/services/create-conversation.service.js +47 -0
  445. package/dist/modules/slack/services/create-conversation.service.js.map +1 -0
  446. package/dist/modules/slack/services/create-reminder.service.d.ts +8 -0
  447. package/dist/modules/slack/services/create-reminder.service.d.ts.map +1 -0
  448. package/dist/modules/slack/services/create-reminder.service.js +50 -0
  449. package/dist/modules/slack/services/create-reminder.service.js.map +1 -0
  450. package/dist/modules/slack/services/delete-message.service.d.ts +8 -0
  451. package/dist/modules/slack/services/delete-message.service.d.ts.map +1 -0
  452. package/dist/modules/slack/services/delete-message.service.js +51 -0
  453. package/dist/modules/slack/services/delete-message.service.js.map +1 -0
  454. package/dist/modules/slack/services/get-conversation-history.service.d.ts +8 -0
  455. package/dist/modules/slack/services/get-conversation-history.service.d.ts.map +1 -0
  456. package/dist/modules/slack/services/get-conversation-history.service.js +56 -0
  457. package/dist/modules/slack/services/get-conversation-history.service.js.map +1 -0
  458. package/dist/modules/slack/services/get-conversation-info.service.d.ts +8 -0
  459. package/dist/modules/slack/services/get-conversation-info.service.d.ts.map +1 -0
  460. package/dist/modules/slack/services/get-conversation-info.service.js +47 -0
  461. package/dist/modules/slack/services/get-conversation-info.service.js.map +1 -0
  462. package/dist/modules/slack/services/get-message-permalink.service.d.ts +8 -0
  463. package/dist/modules/slack/services/get-message-permalink.service.d.ts.map +1 -0
  464. package/dist/modules/slack/services/get-message-permalink.service.js +49 -0
  465. package/dist/modules/slack/services/get-message-permalink.service.js.map +1 -0
  466. package/dist/modules/slack/services/get-team-info.service.d.ts +8 -0
  467. package/dist/modules/slack/services/get-team-info.service.d.ts.map +1 -0
  468. package/dist/modules/slack/services/get-team-info.service.js +40 -0
  469. package/dist/modules/slack/services/get-team-info.service.js.map +1 -0
  470. package/dist/modules/slack/services/get-thread-replies.service.d.ts +8 -0
  471. package/dist/modules/slack/services/get-thread-replies.service.d.ts.map +1 -0
  472. package/dist/modules/slack/services/get-thread-replies.service.js +60 -0
  473. package/dist/modules/slack/services/get-thread-replies.service.js.map +1 -0
  474. package/dist/modules/slack/services/get-upload-url-external.service.d.ts +8 -0
  475. package/dist/modules/slack/services/get-upload-url-external.service.d.ts.map +1 -0
  476. package/dist/modules/slack/services/get-upload-url-external.service.js +49 -0
  477. package/dist/modules/slack/services/get-upload-url-external.service.js.map +1 -0
  478. package/dist/modules/slack/services/get-user-info.service.d.ts +8 -0
  479. package/dist/modules/slack/services/get-user-info.service.d.ts.map +1 -0
  480. package/dist/modules/slack/services/get-user-info.service.js +45 -0
  481. package/dist/modules/slack/services/get-user-info.service.js.map +1 -0
  482. package/dist/modules/slack/services/index.d.ts +31 -0
  483. package/dist/modules/slack/services/index.d.ts.map +1 -0
  484. package/dist/modules/slack/services/index.js +47 -0
  485. package/dist/modules/slack/services/index.js.map +1 -0
  486. package/dist/modules/slack/services/invite-to-conversation.service.d.ts +8 -0
  487. package/dist/modules/slack/services/invite-to-conversation.service.d.ts.map +1 -0
  488. package/dist/modules/slack/services/invite-to-conversation.service.js +49 -0
  489. package/dist/modules/slack/services/invite-to-conversation.service.js.map +1 -0
  490. package/dist/modules/slack/services/join-conversation.service.d.ts +8 -0
  491. package/dist/modules/slack/services/join-conversation.service.d.ts.map +1 -0
  492. package/dist/modules/slack/services/join-conversation.service.js +44 -0
  493. package/dist/modules/slack/services/join-conversation.service.js.map +1 -0
  494. package/dist/modules/slack/services/list-conversations.service.d.ts +8 -0
  495. package/dist/modules/slack/services/list-conversations.service.d.ts.map +1 -0
  496. package/dist/modules/slack/services/list-conversations.service.js +49 -0
  497. package/dist/modules/slack/services/list-conversations.service.js.map +1 -0
  498. package/dist/modules/slack/services/list-emoji.service.d.ts +8 -0
  499. package/dist/modules/slack/services/list-emoji.service.d.ts.map +1 -0
  500. package/dist/modules/slack/services/list-emoji.service.js +38 -0
  501. package/dist/modules/slack/services/list-emoji.service.js.map +1 -0
  502. package/dist/modules/slack/services/list-files.service.d.ts +8 -0
  503. package/dist/modules/slack/services/list-files.service.d.ts.map +1 -0
  504. package/dist/modules/slack/services/list-files.service.js +59 -0
  505. package/dist/modules/slack/services/list-files.service.js.map +1 -0
  506. package/dist/modules/slack/services/list-users.service.d.ts +8 -0
  507. package/dist/modules/slack/services/list-users.service.d.ts.map +1 -0
  508. package/dist/modules/slack/services/list-users.service.js +48 -0
  509. package/dist/modules/slack/services/list-users.service.js.map +1 -0
  510. package/dist/modules/slack/services/lookup-user-by-email.service.d.ts +8 -0
  511. package/dist/modules/slack/services/lookup-user-by-email.service.d.ts.map +1 -0
  512. package/dist/modules/slack/services/lookup-user-by-email.service.js +43 -0
  513. package/dist/modules/slack/services/lookup-user-by-email.service.js.map +1 -0
  514. package/dist/modules/slack/services/message-received.service.d.ts +30 -0
  515. package/dist/modules/slack/services/message-received.service.d.ts.map +1 -0
  516. package/dist/modules/slack/services/message-received.service.js +220 -0
  517. package/dist/modules/slack/services/message-received.service.js.map +1 -0
  518. package/dist/modules/slack/services/open-view.service.d.ts +8 -0
  519. package/dist/modules/slack/services/open-view.service.d.ts.map +1 -0
  520. package/dist/modules/slack/services/open-view.service.js +48 -0
  521. package/dist/modules/slack/services/open-view.service.js.map +1 -0
  522. package/dist/modules/slack/services/pin-message.service.d.ts +8 -0
  523. package/dist/modules/slack/services/pin-message.service.d.ts.map +1 -0
  524. package/dist/modules/slack/services/pin-message.service.js +51 -0
  525. package/dist/modules/slack/services/pin-message.service.js.map +1 -0
  526. package/dist/modules/slack/services/post-message.service.d.ts +8 -0
  527. package/dist/modules/slack/services/post-message.service.d.ts.map +1 -0
  528. package/dist/modules/slack/services/post-message.service.js +72 -0
  529. package/dist/modules/slack/services/post-message.service.js.map +1 -0
  530. package/dist/modules/slack/services/remove-reaction.service.d.ts +8 -0
  531. package/dist/modules/slack/services/remove-reaction.service.d.ts.map +1 -0
  532. package/dist/modules/slack/services/remove-reaction.service.js +52 -0
  533. package/dist/modules/slack/services/remove-reaction.service.js.map +1 -0
  534. package/dist/modules/slack/services/schedule-message.service.d.ts +8 -0
  535. package/dist/modules/slack/services/schedule-message.service.d.ts.map +1 -0
  536. package/dist/modules/slack/services/schedule-message.service.js +59 -0
  537. package/dist/modules/slack/services/schedule-message.service.js.map +1 -0
  538. package/dist/modules/slack/services/search-messages.service.d.ts +8 -0
  539. package/dist/modules/slack/services/search-messages.service.d.ts.map +1 -0
  540. package/dist/modules/slack/services/search-messages.service.js +54 -0
  541. package/dist/modules/slack/services/search-messages.service.js.map +1 -0
  542. package/dist/modules/slack/services/set-conversation-topic.service.d.ts +8 -0
  543. package/dist/modules/slack/services/set-conversation-topic.service.d.ts.map +1 -0
  544. package/dist/modules/slack/services/set-conversation-topic.service.js +48 -0
  545. package/dist/modules/slack/services/set-conversation-topic.service.js.map +1 -0
  546. package/dist/modules/slack/services/update-message.service.d.ts +8 -0
  547. package/dist/modules/slack/services/update-message.service.d.ts.map +1 -0
  548. package/dist/modules/slack/services/update-message.service.js +66 -0
  549. package/dist/modules/slack/services/update-message.service.js.map +1 -0
  550. package/dist/modules/slack/services/upload-file.service.d.ts +8 -0
  551. package/dist/modules/slack/services/upload-file.service.d.ts.map +1 -0
  552. package/dist/modules/slack/services/upload-file.service.js +66 -0
  553. package/dist/modules/slack/services/upload-file.service.js.map +1 -0
  554. package/dist/modules/slack/slack-nest.module.d.ts +3 -0
  555. package/dist/modules/slack/slack-nest.module.d.ts.map +1 -0
  556. package/dist/modules/slack/slack-nest.module.js +89 -0
  557. package/dist/modules/slack/slack-nest.module.js.map +1 -0
  558. package/dist/modules/slack/slack.module.d.ts +3 -0
  559. package/dist/modules/slack/slack.module.d.ts.map +1 -0
  560. package/dist/modules/slack/slack.module.js +49 -0
  561. package/dist/modules/slack/slack.module.js.map +1 -0
  562. package/dist/modules/slack/triggers/index.d.ts +3 -0
  563. package/dist/modules/slack/triggers/index.d.ts.map +1 -0
  564. package/dist/modules/slack/triggers/index.js +8 -0
  565. package/dist/modules/slack/triggers/index.js.map +1 -0
  566. package/dist/modules/slack/triggers/message-received.trigger.d.ts +3 -0
  567. package/dist/modules/slack/triggers/message-received.trigger.d.ts.map +1 -0
  568. package/dist/modules/slack/triggers/message-received.trigger.js +122 -0
  569. package/dist/modules/slack/triggers/message-received.trigger.js.map +1 -0
  570. package/dist/modules/slack/utils/slack-credentials.util.d.ts +4 -0
  571. package/dist/modules/slack/utils/slack-credentials.util.d.ts.map +1 -0
  572. package/dist/modules/slack/utils/slack-credentials.util.js +13 -0
  573. package/dist/modules/slack/utils/slack-credentials.util.js.map +1 -0
  574. package/dist/workflow.module.d.ts.map +1 -1
  575. package/dist/workflow.module.js +9 -3
  576. package/dist/workflow.module.js.map +1 -1
  577. package/package.json +106 -102
  578. package/dist/modules/chatbot/actions/ask-question.action.d.ts +0 -3
  579. package/dist/modules/chatbot/actions/ask-question.action.d.ts.map +0 -1
  580. package/dist/modules/chatbot/actions/ask-question.action.js +0 -42
  581. package/dist/modules/chatbot/actions/ask-question.action.js.map +0 -1
  582. package/dist/modules/chatbot/actions/index.d.ts +0 -4
  583. package/dist/modules/chatbot/actions/index.d.ts.map +0 -1
  584. package/dist/modules/chatbot/actions/index.js.map +0 -1
  585. package/dist/modules/chatbot/actions/send-buttons.action.d.ts +0 -3
  586. package/dist/modules/chatbot/actions/send-buttons.action.d.ts.map +0 -1
  587. package/dist/modules/chatbot/actions/send-buttons.action.js +0 -67
  588. package/dist/modules/chatbot/actions/send-buttons.action.js.map +0 -1
  589. package/dist/modules/chatbot/actions/send-message.action.d.ts +0 -3
  590. package/dist/modules/chatbot/actions/send-message.action.d.ts.map +0 -1
  591. package/dist/modules/chatbot/actions/send-message.action.js +0 -52
  592. package/dist/modules/chatbot/actions/send-message.action.js.map +0 -1
  593. package/dist/modules/chatbot/chatbot-nest.module.d.ts +0 -3
  594. package/dist/modules/chatbot/chatbot-nest.module.d.ts.map +0 -1
  595. package/dist/modules/chatbot/chatbot-nest.module.js +0 -21
  596. package/dist/modules/chatbot/chatbot-nest.module.js.map +0 -1
  597. package/dist/modules/chatbot/chatbot.module.d.ts +0 -3
  598. package/dist/modules/chatbot/chatbot.module.d.ts.map +0 -1
  599. package/dist/modules/chatbot/chatbot.module.js +0 -17
  600. package/dist/modules/chatbot/chatbot.module.js.map +0 -1
  601. package/dist/modules/chatbot/credentials.d.ts +0 -3
  602. package/dist/modules/chatbot/credentials.d.ts.map +0 -1
  603. package/dist/modules/chatbot/credentials.js +0 -5
  604. package/dist/modules/chatbot/credentials.js.map +0 -1
  605. package/dist/modules/chatbot/services/ask-question.service.d.ts +0 -5
  606. package/dist/modules/chatbot/services/ask-question.service.d.ts.map +0 -1
  607. package/dist/modules/chatbot/services/ask-question.service.js +0 -25
  608. package/dist/modules/chatbot/services/ask-question.service.js.map +0 -1
  609. package/dist/modules/chatbot/services/index.d.ts +0 -5
  610. package/dist/modules/chatbot/services/index.d.ts.map +0 -1
  611. package/dist/modules/chatbot/services/index.js.map +0 -1
  612. package/dist/modules/chatbot/services/send-buttons.service.d.ts +0 -5
  613. package/dist/modules/chatbot/services/send-buttons.service.d.ts.map +0 -1
  614. package/dist/modules/chatbot/services/send-buttons.service.js +0 -25
  615. package/dist/modules/chatbot/services/send-buttons.service.js.map +0 -1
  616. package/dist/modules/chatbot/services/send-message.service.d.ts +0 -5
  617. package/dist/modules/chatbot/services/send-message.service.d.ts.map +0 -1
  618. package/dist/modules/chatbot/services/send-message.service.js +0 -27
  619. package/dist/modules/chatbot/services/send-message.service.js.map +0 -1
  620. package/dist/modules/chatbot/services/user-responded.service.d.ts +0 -5
  621. package/dist/modules/chatbot/services/user-responded.service.d.ts.map +0 -1
  622. package/dist/modules/chatbot/services/user-responded.service.js +0 -25
  623. package/dist/modules/chatbot/services/user-responded.service.js.map +0 -1
  624. package/dist/modules/chatbot/triggers/index.d.ts +0 -2
  625. package/dist/modules/chatbot/triggers/index.d.ts.map +0 -1
  626. package/dist/modules/chatbot/triggers/index.js.map +0 -1
  627. package/dist/modules/chatbot/triggers/user-responded.trigger.d.ts +0 -3
  628. package/dist/modules/chatbot/triggers/user-responded.trigger.d.ts.map +0 -1
  629. package/dist/modules/chatbot/triggers/user-responded.trigger.js +0 -45
  630. package/dist/modules/chatbot/triggers/user-responded.trigger.js.map +0 -1
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.uploadFileAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const upload_file_service_1 = require("../services/upload-file.service");
6
+ exports.uploadFileAction = {
7
+ key: 'upload-file',
8
+ name: 'Upload File',
9
+ description: 'Upload a file to Slack (⚠️ Deprecated - Use get-upload-url-external + complete-upload-external instead)',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '📎',
12
+ serviceClass: upload_file_service_1.UploadFileService,
13
+ inputs: [
14
+ {
15
+ id: 'channels',
16
+ name: 'Channels',
17
+ description: 'Comma-separated list of channel names or IDs where the file will be shared',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: false,
21
+ },
22
+ placeholder: 'C1234567890,C0987654321',
23
+ },
24
+ {
25
+ id: 'content',
26
+ name: 'Content',
27
+ description: 'File contents via a POST variable (required if file not provided)',
28
+ type: types_1.FIELD_TYPE.STRING,
29
+ validation: {
30
+ required: false,
31
+ },
32
+ },
33
+ {
34
+ id: 'file',
35
+ name: 'File',
36
+ description: 'File contents (required if content not provided)',
37
+ type: types_1.FIELD_TYPE.OBJECT,
38
+ validation: {
39
+ required: false,
40
+ },
41
+ },
42
+ {
43
+ id: 'filename',
44
+ name: 'Filename',
45
+ description: 'Filename of file',
46
+ type: types_1.FIELD_TYPE.STRING,
47
+ validation: {
48
+ required: false,
49
+ },
50
+ placeholder: 'document.pdf',
51
+ },
52
+ {
53
+ id: 'filetype',
54
+ name: 'File Type',
55
+ description: 'A file type identifier (e.g., "pdf")',
56
+ type: types_1.FIELD_TYPE.STRING,
57
+ validation: {
58
+ required: false,
59
+ },
60
+ placeholder: 'pdf',
61
+ },
62
+ {
63
+ id: 'initialComment',
64
+ name: 'Initial Comment',
65
+ description: 'The message text introducing the file',
66
+ type: types_1.FIELD_TYPE.STRING,
67
+ validation: {
68
+ required: false,
69
+ },
70
+ placeholder: 'Check out this file',
71
+ },
72
+ {
73
+ id: 'title',
74
+ name: 'Title',
75
+ description: 'Title of file',
76
+ type: types_1.FIELD_TYPE.STRING,
77
+ validation: {
78
+ required: false,
79
+ },
80
+ placeholder: 'Important Document',
81
+ },
82
+ {
83
+ id: 'threadTs',
84
+ name: 'Thread Timestamp',
85
+ description: 'Provide another message\'s ts value to upload this file as a reply',
86
+ type: types_1.FIELD_TYPE.STRING,
87
+ validation: {
88
+ required: false,
89
+ },
90
+ placeholder: '1234567890.123456',
91
+ },
92
+ ],
93
+ outputs: [
94
+ {
95
+ id: 'ok',
96
+ name: 'OK',
97
+ description: 'Whether the operation was successful',
98
+ type: types_1.FIELD_TYPE.BOOLEAN,
99
+ },
100
+ {
101
+ id: 'file',
102
+ name: 'File',
103
+ description: 'File object',
104
+ type: types_1.FIELD_TYPE.OBJECT,
105
+ },
106
+ {
107
+ id: 'error',
108
+ name: 'Error',
109
+ description: 'Error message if operation failed',
110
+ type: types_1.FIELD_TYPE.STRING,
111
+ },
112
+ ],
113
+ };
114
+ //# sourceMappingURL=upload-file.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-file.action.js","sourceRoot":"","sources":["../../../../src/modules/slack/actions/upload-file.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,yEAAoE;AAEvD,QAAA,gBAAgB,GAA0B;IACrD,GAAG,EAAE,aAAa;IAClB,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,yGAAyG;IACtH,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,uCAAuE;IACrF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,4EAA4E;YACzF,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,yBAAyB;SACvC;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mEAAmE;YAChF,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,kDAAkD;YAC/D,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,cAAc;SAC5B;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,KAAK;SACnB;QACD;YACE,EAAE,EAAE,gBAAgB;YACpB,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,qBAAqB;SACnC;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,oBAAoB;SAClC;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,oEAAoE;YACjF,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,mBAAmB;SACjC;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './slack-auth.service';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/slack/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -14,7 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ask-question.action"), exports);
18
- __exportStar(require("./send-buttons.action"), exports);
19
- __exportStar(require("./send-message.action"), exports);
17
+ __exportStar(require("./slack-auth.service"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/slack/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
@@ -0,0 +1,8 @@
1
+ import { SlackAuthService as SlackAuthServicePackage } from '@venturialstd/slack';
2
+ import { CredentialAuthResult, IWorkflowCredentialAuthService } from '../../types';
3
+ export declare class SlackAuthService implements IWorkflowCredentialAuthService {
4
+ private readonly slackAuthService;
5
+ constructor(slackAuthService: SlackAuthServicePackage);
6
+ authenticate(credentials: Record<string, unknown>): Promise<CredentialAuthResult>;
7
+ }
8
+ //# sourceMappingURL=slack-auth.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slack-auth.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/slack/auth/slack-auth.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAe,MAAM,qBAAqB,CAAC;AAE/F,OAAO,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAEnF,qBACa,gBAAiB,YAAW,8BAA8B;IACzD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,uBAAuB;IAEhE,YAAY,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAwDxF"}
@@ -0,0 +1,78 @@
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.SlackAuthService = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const slack_1 = require("@venturialstd/slack");
15
+ let SlackAuthService = class SlackAuthService {
16
+ slackAuthService;
17
+ constructor(slackAuthService) {
18
+ this.slackAuthService = slackAuthService;
19
+ }
20
+ async authenticate(credentials) {
21
+ try {
22
+ const botToken = credentials.botToken;
23
+ if (!botToken || botToken.trim().length === 0) {
24
+ return {
25
+ success: false,
26
+ message: 'Bot Token is required',
27
+ error: 'MISSING_BOT_TOKEN',
28
+ };
29
+ }
30
+ const config = {
31
+ botToken,
32
+ };
33
+ try {
34
+ const result = await this.slackAuthService.test(config, {});
35
+ if (result.ok) {
36
+ return {
37
+ success: true,
38
+ message: `Credentials validated successfully. Connected as ${result.user} (${result.team})`,
39
+ };
40
+ }
41
+ return {
42
+ success: false,
43
+ message: result.error || 'Authentication failed',
44
+ error: result.error || 'AUTH_ERROR',
45
+ };
46
+ }
47
+ catch (error) {
48
+ const errorMessage = error instanceof Error ? error.message : 'Unknown error';
49
+ const statusCode = error.statusCode;
50
+ if (statusCode === 401 || errorMessage.includes('invalid_auth')) {
51
+ return {
52
+ success: false,
53
+ message: 'Invalid Bot Token',
54
+ error: 'INVALID_BOT_TOKEN',
55
+ };
56
+ }
57
+ return {
58
+ success: false,
59
+ message: `Failed to validate credentials: ${errorMessage}`,
60
+ error: 'VALIDATION_ERROR',
61
+ };
62
+ }
63
+ }
64
+ catch (error) {
65
+ return {
66
+ success: false,
67
+ message: error instanceof Error ? error.message : 'Unknown error occurred',
68
+ error: 'AUTH_ERROR',
69
+ };
70
+ }
71
+ }
72
+ };
73
+ exports.SlackAuthService = SlackAuthService;
74
+ exports.SlackAuthService = SlackAuthService = __decorate([
75
+ (0, common_1.Injectable)(),
76
+ __metadata("design:paramtypes", [slack_1.SlackAuthService])
77
+ ], SlackAuthService);
78
+ //# sourceMappingURL=slack-auth.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slack-auth.service.js","sourceRoot":"","sources":["../../../../src/modules/slack/auth/slack-auth.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA+F;AAKxF,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IACE;IAA7B,YAA6B,gBAAyC;QAAzC,qBAAgB,GAAhB,gBAAgB,CAAyB;IAAG,CAAC;IAE1E,KAAK,CAAC,YAAY,CAAC,WAAoC;QACrD,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAkB,CAAC;YAEhD,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC9C,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,uBAAuB;oBAChC,KAAK,EAAE,mBAAmB;iBAC3B,CAAC;YACJ,CAAC;YAED,MAAM,MAAM,GAAgB;gBAC1B,QAAQ;aACT,CAAC;YAEF,IAAI,CAAC;gBACH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;gBAC5D,IAAI,MAAM,CAAC,EAAE,EAAE,CAAC;oBACd,OAAO;wBACL,OAAO,EAAE,IAAI;wBACb,OAAO,EAAE,oDAAoD,MAAM,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,GAAG;qBAC5F,CAAC;gBACJ,CAAC;gBAED,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI,uBAAuB;oBAChD,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,YAAY;iBACpC,CAAC;YACJ,CAAC;YAAC,OAAO,KAAc,EAAE,CAAC;gBACxB,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC;gBAC9E,MAAM,UAAU,GAAI,KAAiC,CAAC,UAAU,CAAC;gBAEjE,IAAI,UAAU,KAAK,GAAG,IAAI,YAAY,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC;oBAChE,OAAO;wBACL,OAAO,EAAE,KAAK;wBACd,OAAO,EAAE,mBAAmB;wBAC5B,KAAK,EAAE,mBAAmB;qBAC3B,CAAC;gBACJ,CAAC;gBAED,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,mCAAmC,YAAY,EAAE;oBAC1D,KAAK,EAAE,kBAAkB;iBAC1B,CAAC;YACJ,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,wBAAwB;gBAC1E,KAAK,EAAE,YAAY;aACpB,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAA;AA3DY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;qCAEoC,wBAAuB;GAD3D,gBAAgB,CA2D5B"}
@@ -0,0 +1,3 @@
1
+ import { CredentialFieldDefinition } from '../types';
2
+ export declare const slackCredentials: CredentialFieldDefinition[];
3
+ //# sourceMappingURL=credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../src/modules/slack/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAc,MAAM,UAAU,CAAC;AAEjE,eAAO,MAAM,gBAAgB,EAAE,yBAAyB,EAcvD,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.slackCredentials = void 0;
4
+ const types_1 = require("../types");
5
+ exports.slackCredentials = [
6
+ {
7
+ id: 'botToken',
8
+ name: 'Bot Token',
9
+ description: 'Slack Bot User OAuth Token for API authentication',
10
+ type: types_1.FIELD_TYPE.STRING,
11
+ validation: {
12
+ required: true,
13
+ minLength: 1,
14
+ },
15
+ placeholder: 'xoxb-your-bot-token',
16
+ sensitive: true,
17
+ required: true,
18
+ },
19
+ ];
20
+ //# sourceMappingURL=credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../src/modules/slack/credentials.ts"],"names":[],"mappings":";;;AAAA,oCAAiE;AAEpD,QAAA,gBAAgB,GAAgC;IAC3D;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,mDAAmD;QAChE,IAAI,EAAE,kBAAU,CAAC,MAAM;QACvB,UAAU,EAAE;YACV,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,CAAC;SACb;QACD,WAAW,EAAE,qBAAqB;QAClC,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,IAAI;KACf;CACF,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { SlackReactionsService } from '@venturialstd/slack';
2
+ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
3
+ export declare class AddReactionService implements IWorkflowActionService {
4
+ private readonly slackReactionsService;
5
+ constructor(slackReactionsService: SlackReactionsService);
6
+ perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
7
+ }
8
+ //# sourceMappingURL=add-reaction.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-reaction.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/slack/services/add-reaction.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAyB,MAAM,qBAAqB,CAAC;AAEnF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG5E,qBACa,kBAAmB,YAAW,sBAAsB;IACnD,OAAO,CAAC,QAAQ,CAAC,qBAAqB;gBAArB,qBAAqB,EAAE,qBAAqB;IAEnE,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;CAgCpC"}
@@ -0,0 +1,52 @@
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.AddReactionService = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const slack_1 = require("@venturialstd/slack");
15
+ const slack_credentials_util_1 = require("../utils/slack-credentials.util");
16
+ let AddReactionService = class AddReactionService {
17
+ slackReactionsService;
18
+ constructor(slackReactionsService) {
19
+ this.slackReactionsService = slackReactionsService;
20
+ }
21
+ async perform(inputs, context) {
22
+ const channel = inputs.channel;
23
+ const timestamp = inputs.timestamp;
24
+ const name = inputs.name;
25
+ if (!channel) {
26
+ throw new Error('Channel is required');
27
+ }
28
+ if (!timestamp) {
29
+ throw new Error('Message timestamp is required');
30
+ }
31
+ if (!name) {
32
+ throw new Error('Reaction name is required');
33
+ }
34
+ const config = (0, slack_credentials_util_1.getSlackConfigFromContext)(context);
35
+ const args = {
36
+ channel,
37
+ timestamp,
38
+ name,
39
+ };
40
+ const result = await this.slackReactionsService.add(config, args);
41
+ return {
42
+ ok: result.ok,
43
+ error: result.error,
44
+ };
45
+ }
46
+ };
47
+ exports.AddReactionService = AddReactionService;
48
+ exports.AddReactionService = AddReactionService = __decorate([
49
+ (0, common_1.Injectable)(),
50
+ __metadata("design:paramtypes", [slack_1.SlackReactionsService])
51
+ ], AddReactionService);
52
+ //# sourceMappingURL=add-reaction.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-reaction.service.js","sourceRoot":"","sources":["../../../../src/modules/slack/services/add-reaction.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAAmF;AAGnF,4EAA4E;AAGrE,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IACA;IAA7B,YAA6B,qBAA4C;QAA5C,0BAAqB,GAArB,qBAAqB,CAAuB;IAAG,CAAC;IAE7E,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,OAA8B;QAE9B,MAAM,OAAO,GAAG,MAAM,CAAC,OAAiB,CAAC;QACzC,MAAM,SAAS,GAAG,MAAM,CAAC,SAAmB,CAAC;QAC7C,MAAM,IAAI,GAAG,MAAM,CAAC,IAAc,CAAC;QAEnC,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;QACzC,CAAC;QAED,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QAED,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QAED,MAAM,MAAM,GAAG,IAAA,kDAAyB,EAAC,OAAO,CAAC,CAAC;QAElD,MAAM,IAAI,GAA0B;YAClC,OAAO;YACP,SAAS;YACT,IAAI;SACL,CAAC;QAEF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAElE,OAAO;YACL,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;IACJ,CAAC;CACF,CAAA;AAtCY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;qCAEyC,6BAAqB;GAD9D,kBAAkB,CAsC9B"}
@@ -0,0 +1,8 @@
1
+ import { SlackConversationsService } from '@venturialstd/slack';
2
+ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
3
+ export declare class ArchiveConversationService implements IWorkflowActionService {
4
+ private readonly slackConversationsService;
5
+ constructor(slackConversationsService: SlackConversationsService);
6
+ perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
7
+ }
8
+ //# sourceMappingURL=archive-conversation.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archive-conversation.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/slack/services/archive-conversation.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAiC,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAE/F,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG5E,qBACa,0BAA2B,YAAW,sBAAsB;IAC3D,OAAO,CAAC,QAAQ,CAAC,yBAAyB;gBAAzB,yBAAyB,EAAE,yBAAyB;IAE3E,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;CAoBpC"}
@@ -0,0 +1,42 @@
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.ArchiveConversationService = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const slack_1 = require("@venturialstd/slack");
15
+ const slack_credentials_util_1 = require("../utils/slack-credentials.util");
16
+ let ArchiveConversationService = class ArchiveConversationService {
17
+ slackConversationsService;
18
+ constructor(slackConversationsService) {
19
+ this.slackConversationsService = slackConversationsService;
20
+ }
21
+ async perform(inputs, context) {
22
+ const channel = inputs.channel;
23
+ if (!channel) {
24
+ throw new Error('Channel is required');
25
+ }
26
+ const config = (0, slack_credentials_util_1.getSlackConfigFromContext)(context);
27
+ const args = {
28
+ channel,
29
+ };
30
+ const result = await this.slackConversationsService.archive(config, args);
31
+ return {
32
+ ok: result.ok,
33
+ error: result.error,
34
+ };
35
+ }
36
+ };
37
+ exports.ArchiveConversationService = ArchiveConversationService;
38
+ exports.ArchiveConversationService = ArchiveConversationService = __decorate([
39
+ (0, common_1.Injectable)(),
40
+ __metadata("design:paramtypes", [slack_1.SlackConversationsService])
41
+ ], ArchiveConversationService);
42
+ //# sourceMappingURL=archive-conversation.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archive-conversation.service.js","sourceRoot":"","sources":["../../../../src/modules/slack/services/archive-conversation.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA+F;AAG/F,4EAA4E;AAGrE,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACR;IAA7B,YAA6B,yBAAoD;QAApD,8BAAyB,GAAzB,yBAAyB,CAA2B;IAAG,CAAC;IAErF,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,OAA8B;QAE9B,MAAM,OAAO,GAAG,MAAM,CAAC,OAAiB,CAAC;QAEzC,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;QACzC,CAAC;QAED,MAAM,MAAM,GAAG,IAAA,kDAAyB,EAAC,OAAO,CAAC,CAAC;QAElD,MAAM,IAAI,GAAkC;YAC1C,OAAO;SACR,CAAC;QAEF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAE1E,OAAO;YACL,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;IACJ,CAAC;CACF,CAAA;AA1BY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,mBAAU,GAAE;qCAE6C,iCAAyB;GADtE,0BAA0B,CA0BtC"}
@@ -0,0 +1,8 @@
1
+ import { SlackFilesService } from '@venturialstd/slack';
2
+ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
3
+ export declare class CompleteUploadExternalService implements IWorkflowActionService {
4
+ private readonly slackFilesService;
5
+ constructor(slackFilesService: SlackFilesService);
6
+ perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
7
+ }
8
+ //# sourceMappingURL=complete-upload-external.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"complete-upload-external.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/slack/services/complete-upload-external.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAwC,MAAM,qBAAqB,CAAC;AAE9F,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG5E,qBACa,6BAA8B,YAAW,sBAAsB;IAC9D,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,iBAAiB;IAE3D,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;CA2BpC"}
@@ -0,0 +1,49 @@
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.CompleteUploadExternalService = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const slack_1 = require("@venturialstd/slack");
15
+ const slack_credentials_util_1 = require("../utils/slack-credentials.util");
16
+ let CompleteUploadExternalService = class CompleteUploadExternalService {
17
+ slackFilesService;
18
+ constructor(slackFilesService) {
19
+ this.slackFilesService = slackFilesService;
20
+ }
21
+ async perform(inputs, context) {
22
+ const files = inputs.files;
23
+ const channelId = inputs.channelId;
24
+ const initialComment = inputs.initialComment;
25
+ const threadTs = inputs.threadTs;
26
+ if (!files || !Array.isArray(files) || files.length === 0) {
27
+ throw new Error('Files array is required and must not be empty');
28
+ }
29
+ const config = (0, slack_credentials_util_1.getSlackConfigFromContext)(context);
30
+ const args = {
31
+ files: files,
32
+ ...(channelId && { channel_id: channelId }),
33
+ ...(initialComment && { initial_comment: initialComment }),
34
+ ...(threadTs && { thread_ts: threadTs }),
35
+ };
36
+ const result = await this.slackFilesService.completeUploadExternal(config, args);
37
+ return {
38
+ ok: result.ok,
39
+ files: result.files,
40
+ error: result.error,
41
+ };
42
+ }
43
+ };
44
+ exports.CompleteUploadExternalService = CompleteUploadExternalService;
45
+ exports.CompleteUploadExternalService = CompleteUploadExternalService = __decorate([
46
+ (0, common_1.Injectable)(),
47
+ __metadata("design:paramtypes", [slack_1.SlackFilesService])
48
+ ], CompleteUploadExternalService);
49
+ //# sourceMappingURL=complete-upload-external.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"complete-upload-external.service.js","sourceRoot":"","sources":["../../../../src/modules/slack/services/complete-upload-external.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA8F;AAG9F,4EAA4E;AAGrE,IAAM,6BAA6B,GAAnC,MAAM,6BAA6B;IACX;IAA7B,YAA6B,iBAAoC;QAApC,sBAAiB,GAAjB,iBAAiB,CAAmB;IAAG,CAAC;IAErE,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,OAA8B;QAE9B,MAAM,KAAK,GAAG,MAAM,CAAC,KAA8C,CAAC;QACpE,MAAM,SAAS,GAAG,MAAM,CAAC,SAA+B,CAAC;QACzD,MAAM,cAAc,GAAG,MAAM,CAAC,cAAoC,CAAC;QACnE,MAAM,QAAQ,GAAG,MAAM,CAAC,QAA8B,CAAC;QAEvD,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC1D,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;QACnE,CAAC;QAED,MAAM,MAAM,GAAG,IAAA,kDAAyB,EAAC,OAAO,CAAC,CAAC;QAElD,MAAM,IAAI,GAAyC;YACjD,KAAK,EAAE,KAAY;YACnB,GAAG,CAAC,SAAS,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;YAC3C,GAAG,CAAC,cAAc,IAAI,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC;YAC1D,GAAG,CAAC,QAAQ,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;SACD,CAAC;QAE1C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAEjF,OAAO;YACL,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;IACJ,CAAC;CACF,CAAA;AAjCY,sEAA6B;wCAA7B,6BAA6B;IADzC,IAAA,mBAAU,GAAE;qCAEqC,yBAAiB;GADtD,6BAA6B,CAiCzC"}
@@ -0,0 +1,8 @@
1
+ import { SlackConversationsService } from '@venturialstd/slack';
2
+ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
3
+ export declare class CreateConversationService implements IWorkflowActionService {
4
+ private readonly slackConversationsService;
5
+ constructor(slackConversationsService: SlackConversationsService);
6
+ perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
7
+ }
8
+ //# sourceMappingURL=create-conversation.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-conversation.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/slack/services/create-conversation.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAgC,MAAM,qBAAqB,CAAC;AAE9F,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG5E,qBACa,yBAA0B,YAAW,sBAAsB;IAC1D,OAAO,CAAC,QAAQ,CAAC,yBAAyB;gBAAzB,yBAAyB,EAAE,yBAAyB;IAE3E,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;CAyBpC"}
@@ -0,0 +1,47 @@
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.CreateConversationService = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const slack_1 = require("@venturialstd/slack");
15
+ const slack_credentials_util_1 = require("../utils/slack-credentials.util");
16
+ let CreateConversationService = class CreateConversationService {
17
+ slackConversationsService;
18
+ constructor(slackConversationsService) {
19
+ this.slackConversationsService = slackConversationsService;
20
+ }
21
+ async perform(inputs, context) {
22
+ const name = inputs.name;
23
+ const isPrivate = inputs.isPrivate;
24
+ const teamId = inputs.teamId;
25
+ if (!name) {
26
+ throw new Error('Channel name is required');
27
+ }
28
+ const config = (0, slack_credentials_util_1.getSlackConfigFromContext)(context);
29
+ const args = {
30
+ name,
31
+ ...(isPrivate !== undefined && { is_private: isPrivate }),
32
+ ...(teamId && { team_id: teamId }),
33
+ };
34
+ const result = await this.slackConversationsService.create(config, args);
35
+ return {
36
+ ok: result.ok,
37
+ channel: result.channel,
38
+ error: result.error,
39
+ };
40
+ }
41
+ };
42
+ exports.CreateConversationService = CreateConversationService;
43
+ exports.CreateConversationService = CreateConversationService = __decorate([
44
+ (0, common_1.Injectable)(),
45
+ __metadata("design:paramtypes", [slack_1.SlackConversationsService])
46
+ ], CreateConversationService);
47
+ //# sourceMappingURL=create-conversation.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-conversation.service.js","sourceRoot":"","sources":["../../../../src/modules/slack/services/create-conversation.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA8F;AAG9F,4EAA4E;AAGrE,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IACP;IAA7B,YAA6B,yBAAoD;QAApD,8BAAyB,GAAzB,yBAAyB,CAA2B;IAAG,CAAC;IAErF,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,OAA8B;QAE9B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAc,CAAC;QACnC,MAAM,SAAS,GAAG,MAAM,CAAC,SAAgC,CAAC;QAC1D,MAAM,MAAM,GAAG,MAAM,CAAC,MAA4B,CAAC;QAEnD,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;QAED,MAAM,MAAM,GAAG,IAAA,kDAAyB,EAAC,OAAO,CAAC,CAAC;QAElD,MAAM,IAAI,GAAiC;YACzC,IAAI;YACJ,GAAG,CAAC,SAAS,KAAK,SAAS,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;YACzD,GAAG,CAAC,MAAM,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;SACnC,CAAC;QAEF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAEzE,OAAO;YACL,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;IACJ,CAAC;CACF,CAAA;AA/BY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,mBAAU,GAAE;qCAE6C,iCAAyB;GADtE,yBAAyB,CA+BrC"}
@@ -0,0 +1,8 @@
1
+ import { SlackRemindersService } from '@venturialstd/slack';
2
+ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
3
+ export declare class CreateReminderService implements IWorkflowActionService {
4
+ private readonly slackRemindersService;
5
+ constructor(slackRemindersService: SlackRemindersService);
6
+ perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
7
+ }
8
+ //# sourceMappingURL=create-reminder.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-reminder.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/slack/services/create-reminder.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAyB,MAAM,qBAAqB,CAAC;AAEnF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG5E,qBACa,qBAAsB,YAAW,sBAAsB;IACtD,OAAO,CAAC,QAAQ,CAAC,qBAAqB;gBAArB,qBAAqB,EAAE,qBAAqB;IAEnE,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;CA6BpC"}
@@ -0,0 +1,50 @@
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.CreateReminderService = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const slack_1 = require("@venturialstd/slack");
15
+ const slack_credentials_util_1 = require("../utils/slack-credentials.util");
16
+ let CreateReminderService = class CreateReminderService {
17
+ slackRemindersService;
18
+ constructor(slackRemindersService) {
19
+ this.slackRemindersService = slackRemindersService;
20
+ }
21
+ async perform(inputs, context) {
22
+ const text = inputs.text;
23
+ const time = inputs.time;
24
+ const user = inputs.user;
25
+ if (!text) {
26
+ throw new Error('Reminder text is required');
27
+ }
28
+ if (!time) {
29
+ throw new Error('Reminder time is required');
30
+ }
31
+ const config = (0, slack_credentials_util_1.getSlackConfigFromContext)(context);
32
+ const args = {
33
+ text,
34
+ time: typeof time === 'string' ? time : time.toString(),
35
+ ...(user && { user }),
36
+ };
37
+ const result = await this.slackRemindersService.add(config, args);
38
+ return {
39
+ ok: result.ok,
40
+ reminder: result.reminder,
41
+ error: result.error,
42
+ };
43
+ }
44
+ };
45
+ exports.CreateReminderService = CreateReminderService;
46
+ exports.CreateReminderService = CreateReminderService = __decorate([
47
+ (0, common_1.Injectable)(),
48
+ __metadata("design:paramtypes", [slack_1.SlackRemindersService])
49
+ ], CreateReminderService);
50
+ //# sourceMappingURL=create-reminder.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-reminder.service.js","sourceRoot":"","sources":["../../../../src/modules/slack/services/create-reminder.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAAmF;AAGnF,4EAA4E;AAGrE,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IACH;IAA7B,YAA6B,qBAA4C;QAA5C,0BAAqB,GAArB,qBAAqB,CAAuB;IAAG,CAAC;IAE7E,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,OAA8B;QAE9B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAc,CAAC;QACnC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAuB,CAAC;QAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,IAA0B,CAAC;QAE/C,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QAED,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QAED,MAAM,MAAM,GAAG,IAAA,kDAAyB,EAAC,OAAO,CAAC,CAAC;QAElD,MAAM,IAAI,GAA0B;YAClC,IAAI;YACJ,IAAI,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE;YACvD,GAAG,CAAC,IAAI,IAAI,EAAE,IAAI,EAAE,CAAC;SACtB,CAAC;QAEF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAElE,OAAO;YACL,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;IACJ,CAAC;CACF,CAAA;AAnCY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,mBAAU,GAAE;qCAEyC,6BAAqB;GAD9D,qBAAqB,CAmCjC"}
@@ -0,0 +1,8 @@
1
+ import { SlackChatService } from '@venturialstd/slack';
2
+ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
3
+ export declare class DeleteMessageService implements IWorkflowActionService {
4
+ private readonly slackChatService;
5
+ constructor(slackChatService: SlackChatService);
6
+ perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
7
+ }
8
+ //# sourceMappingURL=delete-message.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-message.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/slack/services/delete-message.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAuB,MAAM,qBAAqB,CAAC;AAE5E,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG5E,qBACa,oBAAqB,YAAW,sBAAsB;IACrD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,gBAAgB;IAEzD,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;CA8BpC"}