@venturialstd/workflow 0.1.1 → 0.1.3

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 (258) hide show
  1. package/dist/constants/workflow.constant.d.ts +2 -1
  2. package/dist/constants/workflow.constant.d.ts.map +1 -1
  3. package/dist/constants/workflow.constant.js +1 -0
  4. package/dist/constants/workflow.constant.js.map +1 -1
  5. package/dist/dtos/create-workflow-webhook.dto.d.ts +9 -0
  6. package/dist/dtos/create-workflow-webhook.dto.d.ts.map +1 -0
  7. package/dist/dtos/create-workflow-webhook.dto.js +48 -0
  8. package/dist/dtos/create-workflow-webhook.dto.js.map +1 -0
  9. package/dist/dtos/index.d.ts +1 -0
  10. package/dist/dtos/index.d.ts.map +1 -1
  11. package/dist/dtos/index.js +1 -0
  12. package/dist/dtos/index.js.map +1 -1
  13. package/dist/entities/workflow-webhook.entity.d.ts +22 -0
  14. package/dist/entities/workflow-webhook.entity.d.ts.map +1 -0
  15. package/dist/entities/workflow-webhook.entity.js +103 -0
  16. package/dist/entities/workflow-webhook.entity.js.map +1 -0
  17. package/dist/index.d.ts +3 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +3 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/modules/conditional/services/evaluate-condition.service.d.ts.map +1 -1
  22. package/dist/modules/conditional/services/evaluate-condition.service.js +39 -23
  23. package/dist/modules/conditional/services/evaluate-condition.service.js.map +1 -1
  24. package/dist/modules/index.d.ts +1 -0
  25. package/dist/modules/index.d.ts.map +1 -1
  26. package/dist/modules/index.js +5 -1
  27. package/dist/modules/index.js.map +1 -1
  28. package/dist/modules/twilio/actions/cancel-verification.action.d.ts +3 -0
  29. package/dist/modules/twilio/actions/cancel-verification.action.d.ts.map +1 -0
  30. package/dist/modules/twilio/actions/cancel-verification.action.js +56 -0
  31. package/dist/modules/twilio/actions/cancel-verification.action.js.map +1 -0
  32. package/dist/modules/twilio/actions/create-conversation.action.d.ts +3 -0
  33. package/dist/modules/twilio/actions/create-conversation.action.d.ts.map +1 -0
  34. package/dist/modules/twilio/actions/create-conversation.action.js +79 -0
  35. package/dist/modules/twilio/actions/create-conversation.action.js.map +1 -0
  36. package/dist/modules/twilio/actions/create-video-room.action.d.ts +3 -0
  37. package/dist/modules/twilio/actions/create-video-room.action.d.ts.map +1 -0
  38. package/dist/modules/twilio/actions/create-video-room.action.js +89 -0
  39. package/dist/modules/twilio/actions/create-video-room.action.js.map +1 -0
  40. package/dist/modules/twilio/actions/delete-call.action.d.ts +3 -0
  41. package/dist/modules/twilio/actions/delete-call.action.d.ts.map +1 -0
  42. package/dist/modules/twilio/actions/delete-call.action.js +40 -0
  43. package/dist/modules/twilio/actions/delete-call.action.js.map +1 -0
  44. package/dist/modules/twilio/actions/delete-message.action.d.ts +3 -0
  45. package/dist/modules/twilio/actions/delete-message.action.d.ts.map +1 -0
  46. package/dist/modules/twilio/actions/delete-message.action.js +40 -0
  47. package/dist/modules/twilio/actions/delete-message.action.js.map +1 -0
  48. package/dist/modules/twilio/actions/fetch-call-recordings.action.d.ts +3 -0
  49. package/dist/modules/twilio/actions/fetch-call-recordings.action.d.ts.map +1 -0
  50. package/dist/modules/twilio/actions/fetch-call-recordings.action.js +46 -0
  51. package/dist/modules/twilio/actions/fetch-call-recordings.action.js.map +1 -0
  52. package/dist/modules/twilio/actions/fetch-call.action.d.ts +3 -0
  53. package/dist/modules/twilio/actions/fetch-call.action.d.ts.map +1 -0
  54. package/dist/modules/twilio/actions/fetch-call.action.js +52 -0
  55. package/dist/modules/twilio/actions/fetch-call.action.js.map +1 -0
  56. package/dist/modules/twilio/actions/fetch-message.action.d.ts +3 -0
  57. package/dist/modules/twilio/actions/fetch-message.action.d.ts.map +1 -0
  58. package/dist/modules/twilio/actions/fetch-message.action.js +58 -0
  59. package/dist/modules/twilio/actions/fetch-message.action.js.map +1 -0
  60. package/dist/modules/twilio/actions/fetch-verification.action.d.ts +3 -0
  61. package/dist/modules/twilio/actions/fetch-verification.action.d.ts.map +1 -0
  62. package/dist/modules/twilio/actions/fetch-verification.action.js +62 -0
  63. package/dist/modules/twilio/actions/fetch-verification.action.js.map +1 -0
  64. package/dist/modules/twilio/actions/generate-twiml-dial.action.d.ts +3 -0
  65. package/dist/modules/twilio/actions/generate-twiml-dial.action.d.ts.map +1 -0
  66. package/dist/modules/twilio/actions/generate-twiml-dial.action.js +72 -0
  67. package/dist/modules/twilio/actions/generate-twiml-dial.action.js.map +1 -0
  68. package/dist/modules/twilio/actions/generate-twiml-say.action.d.ts +3 -0
  69. package/dist/modules/twilio/actions/generate-twiml-say.action.d.ts.map +1 -0
  70. package/dist/modules/twilio/actions/generate-twiml-say.action.js +68 -0
  71. package/dist/modules/twilio/actions/generate-twiml-say.action.js.map +1 -0
  72. package/dist/modules/twilio/actions/index.d.ts +20 -0
  73. package/dist/modules/twilio/actions/index.d.ts.map +1 -1
  74. package/dist/modules/twilio/actions/index.js +20 -0
  75. package/dist/modules/twilio/actions/index.js.map +1 -1
  76. package/dist/modules/twilio/actions/list-calls.action.d.ts +3 -0
  77. package/dist/modules/twilio/actions/list-calls.action.d.ts.map +1 -0
  78. package/dist/modules/twilio/actions/list-calls.action.js +80 -0
  79. package/dist/modules/twilio/actions/list-calls.action.js.map +1 -0
  80. package/dist/modules/twilio/actions/list-messages.action.d.ts +3 -0
  81. package/dist/modules/twilio/actions/list-messages.action.d.ts.map +1 -0
  82. package/dist/modules/twilio/actions/list-messages.action.js +89 -0
  83. package/dist/modules/twilio/actions/list-messages.action.js.map +1 -0
  84. package/dist/modules/twilio/actions/lookup-phone-number.action.d.ts +3 -0
  85. package/dist/modules/twilio/actions/lookup-phone-number.action.d.ts.map +1 -0
  86. package/dist/modules/twilio/actions/lookup-phone-number.action.js +79 -0
  87. package/dist/modules/twilio/actions/lookup-phone-number.action.js.map +1 -0
  88. package/dist/modules/twilio/actions/make-call.action.d.ts +3 -0
  89. package/dist/modules/twilio/actions/make-call.action.d.ts.map +1 -0
  90. package/dist/modules/twilio/actions/make-call.action.js +109 -0
  91. package/dist/modules/twilio/actions/make-call.action.js.map +1 -0
  92. package/dist/modules/twilio/actions/send-conversation-message.action.d.ts +3 -0
  93. package/dist/modules/twilio/actions/send-conversation-message.action.d.ts.map +1 -0
  94. package/dist/modules/twilio/actions/send-conversation-message.action.js +72 -0
  95. package/dist/modules/twilio/actions/send-conversation-message.action.js.map +1 -0
  96. package/dist/modules/twilio/actions/send-sms.action.d.ts.map +1 -1
  97. package/dist/modules/twilio/actions/send-sms.action.js.map +1 -1
  98. package/dist/modules/twilio/actions/send-verification.action.d.ts +3 -0
  99. package/dist/modules/twilio/actions/send-verification.action.d.ts.map +1 -0
  100. package/dist/modules/twilio/actions/send-verification.action.js +99 -0
  101. package/dist/modules/twilio/actions/send-verification.action.js.map +1 -0
  102. package/dist/modules/twilio/actions/update-call.action.d.ts +3 -0
  103. package/dist/modules/twilio/actions/update-call.action.d.ts.map +1 -0
  104. package/dist/modules/twilio/actions/update-call.action.js +72 -0
  105. package/dist/modules/twilio/actions/update-call.action.js.map +1 -0
  106. package/dist/modules/twilio/actions/update-message.action.d.ts +3 -0
  107. package/dist/modules/twilio/actions/update-message.action.d.ts.map +1 -0
  108. package/dist/modules/twilio/actions/update-message.action.js +57 -0
  109. package/dist/modules/twilio/actions/update-message.action.js.map +1 -0
  110. package/dist/modules/twilio/actions/verify-code.action.d.ts +3 -0
  111. package/dist/modules/twilio/actions/verify-code.action.d.ts.map +1 -0
  112. package/dist/modules/twilio/actions/verify-code.action.js +72 -0
  113. package/dist/modules/twilio/actions/verify-code.action.js.map +1 -0
  114. package/dist/modules/twilio/services/cancel-verification.service.d.ts +8 -0
  115. package/dist/modules/twilio/services/cancel-verification.service.d.ts.map +1 -0
  116. package/dist/modules/twilio/services/cancel-verification.service.js +53 -0
  117. package/dist/modules/twilio/services/cancel-verification.service.js.map +1 -0
  118. package/dist/modules/twilio/services/create-conversation.service.d.ts +8 -0
  119. package/dist/modules/twilio/services/create-conversation.service.d.ts.map +1 -0
  120. package/dist/modules/twilio/services/create-conversation.service.js +56 -0
  121. package/dist/modules/twilio/services/create-conversation.service.js.map +1 -0
  122. package/dist/modules/twilio/services/create-video-room.service.d.ts +8 -0
  123. package/dist/modules/twilio/services/create-video-room.service.d.ts.map +1 -0
  124. package/dist/modules/twilio/services/create-video-room.service.js +57 -0
  125. package/dist/modules/twilio/services/create-video-room.service.js.map +1 -0
  126. package/dist/modules/twilio/services/delete-call.service.d.ts +8 -0
  127. package/dist/modules/twilio/services/delete-call.service.d.ts.map +1 -0
  128. package/dist/modules/twilio/services/delete-call.service.js +48 -0
  129. package/dist/modules/twilio/services/delete-call.service.js.map +1 -0
  130. package/dist/modules/twilio/services/delete-message.service.d.ts +8 -0
  131. package/dist/modules/twilio/services/delete-message.service.d.ts.map +1 -0
  132. package/dist/modules/twilio/services/delete-message.service.js +43 -0
  133. package/dist/modules/twilio/services/delete-message.service.js.map +1 -0
  134. package/dist/modules/twilio/services/fetch-call-recordings.service.d.ts +8 -0
  135. package/dist/modules/twilio/services/fetch-call-recordings.service.d.ts.map +1 -0
  136. package/dist/modules/twilio/services/fetch-call-recordings.service.js +56 -0
  137. package/dist/modules/twilio/services/fetch-call-recordings.service.js.map +1 -0
  138. package/dist/modules/twilio/services/fetch-call.service.d.ts +8 -0
  139. package/dist/modules/twilio/services/fetch-call.service.d.ts.map +1 -0
  140. package/dist/modules/twilio/services/fetch-call.service.js +52 -0
  141. package/dist/modules/twilio/services/fetch-call.service.js.map +1 -0
  142. package/dist/modules/twilio/services/fetch-message.service.d.ts +8 -0
  143. package/dist/modules/twilio/services/fetch-message.service.d.ts.map +1 -0
  144. package/dist/modules/twilio/services/fetch-message.service.js +60 -0
  145. package/dist/modules/twilio/services/fetch-message.service.js.map +1 -0
  146. package/dist/modules/twilio/services/fetch-verification.service.d.ts +8 -0
  147. package/dist/modules/twilio/services/fetch-verification.service.d.ts.map +1 -0
  148. package/dist/modules/twilio/services/fetch-verification.service.js +58 -0
  149. package/dist/modules/twilio/services/fetch-verification.service.js.map +1 -0
  150. package/dist/modules/twilio/services/generate-twiml-dial.service.d.ts +8 -0
  151. package/dist/modules/twilio/services/generate-twiml-dial.service.d.ts.map +1 -0
  152. package/dist/modules/twilio/services/generate-twiml-dial.service.js +43 -0
  153. package/dist/modules/twilio/services/generate-twiml-dial.service.js.map +1 -0
  154. package/dist/modules/twilio/services/generate-twiml-say.service.d.ts +8 -0
  155. package/dist/modules/twilio/services/generate-twiml-say.service.d.ts.map +1 -0
  156. package/dist/modules/twilio/services/generate-twiml-say.service.js +41 -0
  157. package/dist/modules/twilio/services/generate-twiml-say.service.js.map +1 -0
  158. package/dist/modules/twilio/services/index.d.ts +20 -0
  159. package/dist/modules/twilio/services/index.d.ts.map +1 -1
  160. package/dist/modules/twilio/services/index.js +20 -0
  161. package/dist/modules/twilio/services/index.js.map +1 -1
  162. package/dist/modules/twilio/services/list-calls.service.d.ts +8 -0
  163. package/dist/modules/twilio/services/list-calls.service.d.ts.map +1 -0
  164. package/dist/modules/twilio/services/list-calls.service.js +62 -0
  165. package/dist/modules/twilio/services/list-calls.service.js.map +1 -0
  166. package/dist/modules/twilio/services/list-messages.service.d.ts +8 -0
  167. package/dist/modules/twilio/services/list-messages.service.d.ts.map +1 -0
  168. package/dist/modules/twilio/services/list-messages.service.js +65 -0
  169. package/dist/modules/twilio/services/list-messages.service.js.map +1 -0
  170. package/dist/modules/twilio/services/lookup-phone-number.service.d.ts +8 -0
  171. package/dist/modules/twilio/services/lookup-phone-number.service.d.ts.map +1 -0
  172. package/dist/modules/twilio/services/lookup-phone-number.service.js +61 -0
  173. package/dist/modules/twilio/services/lookup-phone-number.service.js.map +1 -0
  174. package/dist/modules/twilio/services/make-call.service.d.ts +8 -0
  175. package/dist/modules/twilio/services/make-call.service.d.ts.map +1 -0
  176. package/dist/modules/twilio/services/make-call.service.js +80 -0
  177. package/dist/modules/twilio/services/make-call.service.js.map +1 -0
  178. package/dist/modules/twilio/services/send-conversation-message.service.d.ts +8 -0
  179. package/dist/modules/twilio/services/send-conversation-message.service.d.ts.map +1 -0
  180. package/dist/modules/twilio/services/send-conversation-message.service.js +61 -0
  181. package/dist/modules/twilio/services/send-conversation-message.service.js.map +1 -0
  182. package/dist/modules/twilio/services/send-sms.service.d.ts.map +1 -1
  183. package/dist/modules/twilio/services/send-verification.service.d.ts +8 -0
  184. package/dist/modules/twilio/services/send-verification.service.d.ts.map +1 -0
  185. package/dist/modules/twilio/services/send-verification.service.js +64 -0
  186. package/dist/modules/twilio/services/send-verification.service.js.map +1 -0
  187. package/dist/modules/twilio/services/update-call.service.d.ts +8 -0
  188. package/dist/modules/twilio/services/update-call.service.d.ts.map +1 -0
  189. package/dist/modules/twilio/services/update-call.service.js +62 -0
  190. package/dist/modules/twilio/services/update-call.service.js.map +1 -0
  191. package/dist/modules/twilio/services/update-message.service.d.ts +8 -0
  192. package/dist/modules/twilio/services/update-message.service.d.ts.map +1 -0
  193. package/dist/modules/twilio/services/update-message.service.js +54 -0
  194. package/dist/modules/twilio/services/update-message.service.js.map +1 -0
  195. package/dist/modules/twilio/services/verify-code.service.d.ts +8 -0
  196. package/dist/modules/twilio/services/verify-code.service.d.ts.map +1 -0
  197. package/dist/modules/twilio/services/verify-code.service.js +62 -0
  198. package/dist/modules/twilio/services/verify-code.service.js.map +1 -0
  199. package/dist/modules/twilio/twilio-nest.module.d.ts.map +1 -1
  200. package/dist/modules/twilio/twilio-nest.module.js +51 -3
  201. package/dist/modules/twilio/twilio-nest.module.js.map +1 -1
  202. package/dist/modules/twilio/twilio.module.d.ts.map +1 -1
  203. package/dist/modules/twilio/twilio.module.js +24 -2
  204. package/dist/modules/twilio/twilio.module.js.map +1 -1
  205. package/dist/modules/types.d.ts +3 -1
  206. package/dist/modules/types.d.ts.map +1 -1
  207. package/dist/modules/types.js.map +1 -1
  208. package/dist/modules/webhook/controllers/index.d.ts +2 -0
  209. package/dist/modules/webhook/controllers/index.d.ts.map +1 -0
  210. package/dist/modules/webhook/controllers/index.js +18 -0
  211. package/dist/modules/webhook/controllers/index.js.map +1 -0
  212. package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts +12 -0
  213. package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts.map +1 -0
  214. package/dist/modules/webhook/controllers/webhook-receiver.controller.js +122 -0
  215. package/dist/modules/webhook/controllers/webhook-receiver.controller.js.map +1 -0
  216. package/dist/modules/webhook/credentials.d.ts +3 -0
  217. package/dist/modules/webhook/credentials.d.ts.map +1 -0
  218. package/dist/modules/webhook/credentials.js +5 -0
  219. package/dist/modules/webhook/credentials.js.map +1 -0
  220. package/dist/modules/webhook/services/index.d.ts +2 -0
  221. package/dist/modules/webhook/services/index.d.ts.map +1 -0
  222. package/dist/modules/webhook/services/index.js +18 -0
  223. package/dist/modules/webhook/services/index.js.map +1 -0
  224. package/dist/modules/webhook/services/webhook-received.service.d.ts +10 -0
  225. package/dist/modules/webhook/services/webhook-received.service.d.ts.map +1 -0
  226. package/dist/modules/webhook/services/webhook-received.service.js +94 -0
  227. package/dist/modules/webhook/services/webhook-received.service.js.map +1 -0
  228. package/dist/modules/webhook/triggers/index.d.ts +2 -0
  229. package/dist/modules/webhook/triggers/index.d.ts.map +1 -0
  230. package/dist/modules/webhook/triggers/index.js +18 -0
  231. package/dist/modules/webhook/triggers/index.js.map +1 -0
  232. package/dist/modules/webhook/triggers/webhook-received.trigger.d.ts +3 -0
  233. package/dist/modules/webhook/triggers/webhook-received.trigger.d.ts.map +1 -0
  234. package/dist/modules/webhook/triggers/webhook-received.trigger.js +78 -0
  235. package/dist/modules/webhook/triggers/webhook-received.trigger.js.map +1 -0
  236. package/dist/modules/webhook/webhook-nest.module.d.ts +3 -0
  237. package/dist/modules/webhook/webhook-nest.module.d.ts.map +1 -0
  238. package/dist/modules/webhook/webhook-nest.module.js +32 -0
  239. package/dist/modules/webhook/webhook-nest.module.js.map +1 -0
  240. package/dist/modules/webhook/webhook.module.d.ts +3 -0
  241. package/dist/modules/webhook/webhook.module.d.ts.map +1 -0
  242. package/dist/modules/webhook/webhook.module.js +16 -0
  243. package/dist/modules/webhook/webhook.module.js.map +1 -0
  244. package/dist/services/workflow-execution.service.d.ts +14 -1
  245. package/dist/services/workflow-execution.service.d.ts.map +1 -1
  246. package/dist/services/workflow-execution.service.js +319 -2
  247. package/dist/services/workflow-execution.service.js.map +1 -1
  248. package/dist/services/workflow-webhook.service.d.ts +13 -0
  249. package/dist/services/workflow-webhook.service.d.ts.map +1 -0
  250. package/dist/services/workflow-webhook.service.js +72 -0
  251. package/dist/services/workflow-webhook.service.js.map +1 -0
  252. package/dist/workflow-core.module.d.ts.map +1 -1
  253. package/dist/workflow-core.module.js +5 -0
  254. package/dist/workflow-core.module.js.map +1 -1
  255. package/dist/workflow.module.d.ts.map +1 -1
  256. package/dist/workflow.module.js +3 -0
  257. package/dist/workflow.module.js.map +1 -1
  258. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-twiml-dial.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/generate-twiml-dial.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,yFAAmF;AAEtE,QAAA,uBAAuB,GAA0B;IAC5D,GAAG,EAAE,qBAAqB;IAC1B,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,sDAA8E;IAC5F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,kBAAU,CAAC,KAAK;YACtB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,qBAAqB;aAC/B;YACD,WAAW,EAAE,aAAa;SAC3B;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,KAAK;YACtB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;gBACf,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,GAAG;aACT;YACD,YAAY,EAAE,EAAE;SACjB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,OAAO;YACxB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,KAAK;SACvB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const generateTwiMLSayAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=generate-twiml-say.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-twiml-say.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/generate-twiml-say.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,sBAAsB,EAAE,qBA6DpC,CAAC"}
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generateTwiMLSayAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const generate_twiml_say_service_1 = require("../services/generate-twiml-say.service");
6
+ exports.generateTwiMLSayAction = {
7
+ key: 'generate-twiml-say',
8
+ name: 'Generate TwiML Say',
9
+ description: 'Generate TwiML with a Say verb',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🗣️',
12
+ serviceClass: generate_twiml_say_service_1.GenerateTwiMLSayService,
13
+ inputs: [
14
+ {
15
+ id: 'message',
16
+ name: 'Message',
17
+ description: 'The message to say',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ minLength: 1,
22
+ },
23
+ placeholder: 'Hello, this is a test message',
24
+ },
25
+ {
26
+ id: 'voice',
27
+ name: 'Voice',
28
+ description: 'Voice to use for speech',
29
+ type: types_1.FIELD_TYPE.STRING,
30
+ validation: {
31
+ required: false,
32
+ enum: ['man', 'woman', 'alice'],
33
+ },
34
+ defaultValue: 'man',
35
+ options: [
36
+ { label: 'Man', value: 'man' },
37
+ { label: 'Woman', value: 'woman' },
38
+ { label: 'Alice', value: 'alice' },
39
+ ],
40
+ },
41
+ {
42
+ id: 'language',
43
+ name: 'Language',
44
+ description: 'Language code (e.g., en, es, fr)',
45
+ type: types_1.FIELD_TYPE.STRING,
46
+ validation: {
47
+ required: false,
48
+ },
49
+ defaultValue: 'en',
50
+ placeholder: 'en',
51
+ },
52
+ ],
53
+ outputs: [
54
+ {
55
+ id: 'twiml',
56
+ name: 'TwiML',
57
+ description: 'Generated TwiML XML',
58
+ type: types_1.FIELD_TYPE.STRING,
59
+ },
60
+ {
61
+ id: 'message',
62
+ name: 'Message',
63
+ description: 'The message that was said',
64
+ type: types_1.FIELD_TYPE.STRING,
65
+ },
66
+ ],
67
+ };
68
+ //# sourceMappingURL=generate-twiml-say.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-twiml-say.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio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ACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -1,2 +1,22 @@
1
1
  export * from './send-sms.action';
2
+ export * from './fetch-message.action';
3
+ export * from './list-messages.action';
4
+ export * from './delete-message.action';
5
+ export * from './update-message.action';
6
+ export * from './make-call.action';
7
+ export * from './fetch-call.action';
8
+ export * from './list-calls.action';
9
+ export * from './update-call.action';
10
+ export * from './delete-call.action';
11
+ export * from './fetch-call-recordings.action';
12
+ export * from './send-verification.action';
13
+ export * from './verify-code.action';
14
+ export * from './fetch-verification.action';
15
+ export * from './cancel-verification.action';
16
+ export * from './create-conversation.action';
17
+ export * from './send-conversation-message.action';
18
+ export * from './lookup-phone-number.action';
19
+ export * from './create-video-room.action';
20
+ export * from './generate-twiml-say.action';
21
+ export * from './generate-twiml-dial.action';
2
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC"}
@@ -15,4 +15,24 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./send-sms.action"), exports);
18
+ __exportStar(require("./fetch-message.action"), exports);
19
+ __exportStar(require("./list-messages.action"), exports);
20
+ __exportStar(require("./delete-message.action"), exports);
21
+ __exportStar(require("./update-message.action"), exports);
22
+ __exportStar(require("./make-call.action"), exports);
23
+ __exportStar(require("./fetch-call.action"), exports);
24
+ __exportStar(require("./list-calls.action"), exports);
25
+ __exportStar(require("./update-call.action"), exports);
26
+ __exportStar(require("./delete-call.action"), exports);
27
+ __exportStar(require("./fetch-call-recordings.action"), exports);
28
+ __exportStar(require("./send-verification.action"), exports);
29
+ __exportStar(require("./verify-code.action"), exports);
30
+ __exportStar(require("./fetch-verification.action"), exports);
31
+ __exportStar(require("./cancel-verification.action"), exports);
32
+ __exportStar(require("./create-conversation.action"), exports);
33
+ __exportStar(require("./send-conversation-message.action"), exports);
34
+ __exportStar(require("./lookup-phone-number.action"), exports);
35
+ __exportStar(require("./create-video-room.action"), exports);
36
+ __exportStar(require("./generate-twiml-say.action"), exports);
37
+ __exportStar(require("./generate-twiml-dial.action"), exports);
18
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,yDAAuC;AACvC,yDAAuC;AACvC,0DAAwC;AACxC,0DAAwC;AACxC,qDAAmC;AACnC,sDAAoC;AACpC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,iEAA+C;AAC/C,6DAA2C;AAC3C,uDAAqC;AACrC,8DAA4C;AAC5C,+DAA6C;AAC7C,+DAA6C;AAC7C,qEAAmD;AACnD,+DAA6C;AAC7C,6DAA2C;AAC3C,8DAA4C;AAC5C,+DAA6C"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const listCallsAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=list-calls.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-calls.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/list-calls.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,eAAe,EAAE,qBAyE7B,CAAC"}
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.listCallsAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const list_calls_service_1 = require("../services/list-calls.service");
6
+ exports.listCallsAction = {
7
+ key: 'list-calls',
8
+ name: 'List Calls',
9
+ description: 'List calls with optional filters',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '📋',
12
+ serviceClass: list_calls_service_1.ListCallsService,
13
+ inputs: [
14
+ {
15
+ id: 'to',
16
+ name: 'To',
17
+ description: 'Filter by recipient phone number',
18
+ type: types_1.FIELD_TYPE.PHONE,
19
+ validation: {
20
+ required: false,
21
+ },
22
+ },
23
+ {
24
+ id: 'from',
25
+ name: 'From',
26
+ description: 'Filter by caller phone number',
27
+ type: types_1.FIELD_TYPE.PHONE,
28
+ validation: {
29
+ required: false,
30
+ },
31
+ },
32
+ {
33
+ id: 'status',
34
+ name: 'Status',
35
+ description: 'Filter by call status',
36
+ type: types_1.FIELD_TYPE.STRING,
37
+ validation: {
38
+ required: false,
39
+ enum: ['queued', 'ringing', 'in-progress', 'completed', 'busy', 'failed', 'no-answer', 'canceled'],
40
+ },
41
+ options: [
42
+ { label: 'Queued', value: 'queued' },
43
+ { label: 'Ringing', value: 'ringing' },
44
+ { label: 'In Progress', value: 'in-progress' },
45
+ { label: 'Completed', value: 'completed' },
46
+ { label: 'Busy', value: 'busy' },
47
+ { label: 'Failed', value: 'failed' },
48
+ { label: 'No Answer', value: 'no-answer' },
49
+ { label: 'Canceled', value: 'canceled' },
50
+ ],
51
+ },
52
+ {
53
+ id: 'limit',
54
+ name: 'Limit',
55
+ description: 'Maximum number of calls to return',
56
+ type: types_1.FIELD_TYPE.NUMBER,
57
+ validation: {
58
+ required: false,
59
+ min: 1,
60
+ max: 1000,
61
+ },
62
+ defaultValue: 10,
63
+ },
64
+ ],
65
+ outputs: [
66
+ {
67
+ id: 'calls',
68
+ name: 'Calls',
69
+ description: 'Array of call objects',
70
+ type: types_1.FIELD_TYPE.ARRAY,
71
+ },
72
+ {
73
+ id: 'count',
74
+ name: 'Count',
75
+ description: 'Number of calls returned',
76
+ type: types_1.FIELD_TYPE.NUMBER,
77
+ },
78
+ ],
79
+ };
80
+ //# sourceMappingURL=list-calls.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-calls.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/list-calls.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,uEAAkE;AAErD,QAAA,eAAe,GAA0B;IACpD,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,kCAAkC;IAC/C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,qCAAsE;IACpF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,IAAI;YACR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M;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;gBACf,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,IAAI;aACV;YACD,YAAY,EAAE,EAAE;SACjB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,kBAAU,CAAC,KAAK;SACvB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const listMessagesAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=list-messages.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-messages.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/list-messages.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,kBAAkB,EAAE,qBAkFhC,CAAC"}
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.listMessagesAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const list_messages_service_1 = require("../services/list-messages.service");
6
+ exports.listMessagesAction = {
7
+ key: 'list-messages',
8
+ name: 'List Messages',
9
+ description: 'List messages with optional filters',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '📋',
12
+ serviceClass: list_messages_service_1.ListMessagesService,
13
+ inputs: [
14
+ {
15
+ id: 'to',
16
+ name: 'To',
17
+ description: 'Filter by recipient phone number',
18
+ type: types_1.FIELD_TYPE.PHONE,
19
+ validation: {
20
+ required: false,
21
+ },
22
+ placeholder: '+1234567890',
23
+ },
24
+ {
25
+ id: 'from',
26
+ name: 'From',
27
+ description: 'Filter by sender phone number',
28
+ type: types_1.FIELD_TYPE.PHONE,
29
+ validation: {
30
+ required: false,
31
+ },
32
+ placeholder: '+1234567890',
33
+ },
34
+ {
35
+ id: 'dateSent',
36
+ name: 'Date Sent',
37
+ description: 'Filter by exact date sent (ISO format)',
38
+ type: types_1.FIELD_TYPE.DATE,
39
+ validation: {
40
+ required: false,
41
+ },
42
+ },
43
+ {
44
+ id: 'dateSentBefore',
45
+ name: 'Date Sent Before',
46
+ description: 'Filter messages sent before this date (ISO format)',
47
+ type: types_1.FIELD_TYPE.DATE,
48
+ validation: {
49
+ required: false,
50
+ },
51
+ },
52
+ {
53
+ id: 'dateSentAfter',
54
+ name: 'Date Sent After',
55
+ description: 'Filter messages sent after this date (ISO format)',
56
+ type: types_1.FIELD_TYPE.DATE,
57
+ validation: {
58
+ required: false,
59
+ },
60
+ },
61
+ {
62
+ id: 'limit',
63
+ name: 'Limit',
64
+ description: 'Maximum number of messages to return',
65
+ type: types_1.FIELD_TYPE.NUMBER,
66
+ validation: {
67
+ required: false,
68
+ min: 1,
69
+ max: 1000,
70
+ },
71
+ defaultValue: 10,
72
+ },
73
+ ],
74
+ outputs: [
75
+ {
76
+ id: 'messages',
77
+ name: 'Messages',
78
+ description: 'Array of message objects',
79
+ type: types_1.FIELD_TYPE.ARRAY,
80
+ },
81
+ {
82
+ id: 'count',
83
+ name: 'Count',
84
+ description: 'Number of messages returned',
85
+ type: types_1.FIELD_TYPE.NUMBER,
86
+ },
87
+ ],
88
+ };
89
+ //# sourceMappingURL=list-messages.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-messages.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/list-messages.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,6EAAwE;AAE3D,QAAA,kBAAkB,GAA0B;IACvD,GAAG,EAAE,eAAe;IACpB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,qBAAa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,OAAO,EAAE;QACP;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,KAAK;SACvB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const lookupPhoneNumberAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=lookup-phone-number.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-phone-number.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/lookup-phone-number.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,uBAAuB,EAAE,qBAwErC,CAAC"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.lookupPhoneNumberAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const lookup_phone_number_service_1 = require("../services/lookup-phone-number.service");
6
+ exports.lookupPhoneNumberAction = {
7
+ key: 'lookup-phone-number',
8
+ name: 'Lookup Phone Number',
9
+ description: 'Lookup information about a phone number',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🔍',
12
+ serviceClass: lookup_phone_number_service_1.LookupPhoneNumberService,
13
+ inputs: [
14
+ {
15
+ id: 'phoneNumber',
16
+ name: 'Phone Number',
17
+ description: 'Phone number to lookup (E.164 format)',
18
+ type: types_1.FIELD_TYPE.PHONE,
19
+ validation: {
20
+ required: true,
21
+ pattern: '^\\+[1-9]\\d{1,14}$',
22
+ },
23
+ placeholder: '+1234567890',
24
+ },
25
+ {
26
+ id: 'countryCode',
27
+ name: 'Country Code',
28
+ description: 'Country code (optional, helps with formatting)',
29
+ type: types_1.FIELD_TYPE.STRING,
30
+ validation: {
31
+ required: false,
32
+ },
33
+ placeholder: 'US',
34
+ },
35
+ {
36
+ id: 'type',
37
+ name: 'Type',
38
+ description: 'Type of information to retrieve (comma-separated)',
39
+ type: types_1.FIELD_TYPE.STRING,
40
+ validation: {
41
+ required: false,
42
+ },
43
+ placeholder: 'carrier,caller-name',
44
+ },
45
+ ],
46
+ outputs: [
47
+ {
48
+ id: 'phoneNumber',
49
+ name: 'Phone Number',
50
+ description: 'Phone number in E.164 format',
51
+ type: types_1.FIELD_TYPE.PHONE,
52
+ },
53
+ {
54
+ id: 'countryCode',
55
+ name: 'Country Code',
56
+ description: 'Country code',
57
+ type: types_1.FIELD_TYPE.STRING,
58
+ },
59
+ {
60
+ id: 'nationalFormat',
61
+ name: 'National Format',
62
+ description: 'Phone number in national format',
63
+ type: types_1.FIELD_TYPE.STRING,
64
+ },
65
+ {
66
+ id: 'carrier',
67
+ name: 'Carrier',
68
+ description: 'Carrier information',
69
+ type: types_1.FIELD_TYPE.OBJECT,
70
+ },
71
+ {
72
+ id: 'callerName',
73
+ name: 'Caller Name',
74
+ description: 'Caller name information',
75
+ type: types_1.FIELD_TYPE.OBJECT,
76
+ },
77
+ ],
78
+ };
79
+ //# sourceMappingURL=lookup-phone-number.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-phone-number.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/lookup-phone-number.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,yFAAmF;AAEtE,QAAA,uBAAuB,GAA0B;IAC5D,GAAG,EAAE,qBAAqB;IAC1B,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,yCAAyC;IACtD,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,sDAA8E;IAC5F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,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 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const makeCallAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=make-call.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"make-call.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/make-call.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,cAAc,EAAE,qBAsG5B,CAAC"}
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.makeCallAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const make_call_service_1 = require("../services/make-call.service");
6
+ exports.makeCallAction = {
7
+ key: 'make-call',
8
+ name: 'Make Call',
9
+ description: 'Make a phone call',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '📞',
12
+ serviceClass: make_call_service_1.MakeCallService,
13
+ inputs: [
14
+ {
15
+ id: 'to',
16
+ name: 'To',
17
+ description: 'Phone number to call (E.164 format)',
18
+ type: types_1.FIELD_TYPE.PHONE,
19
+ validation: {
20
+ required: true,
21
+ pattern: '^\\+[1-9]\\d{1,14}$',
22
+ },
23
+ placeholder: '+1234567890',
24
+ },
25
+ {
26
+ id: 'url',
27
+ name: 'URL',
28
+ description: 'URL to fetch TwiML instructions from',
29
+ type: types_1.FIELD_TYPE.URL,
30
+ validation: {
31
+ required: false,
32
+ },
33
+ placeholder: 'https://example.com/twiml',
34
+ },
35
+ {
36
+ id: 'twiml',
37
+ name: 'TwiML',
38
+ description: 'TwiML instructions (alternative to URL)',
39
+ type: types_1.FIELD_TYPE.STRING,
40
+ validation: {
41
+ required: false,
42
+ },
43
+ placeholder: '<Response><Say>Hello</Say></Response>',
44
+ },
45
+ {
46
+ id: 'method',
47
+ name: 'HTTP Method',
48
+ description: 'HTTP method for URL request',
49
+ type: types_1.FIELD_TYPE.STRING,
50
+ validation: {
51
+ required: false,
52
+ enum: ['GET', 'POST'],
53
+ },
54
+ defaultValue: 'POST',
55
+ options: [
56
+ { label: 'GET', value: 'GET' },
57
+ { label: 'POST', value: 'POST' },
58
+ ],
59
+ },
60
+ {
61
+ id: 'record',
62
+ name: 'Record',
63
+ description: 'Whether to record the call',
64
+ type: types_1.FIELD_TYPE.BOOLEAN,
65
+ validation: {
66
+ required: false,
67
+ },
68
+ defaultValue: false,
69
+ },
70
+ {
71
+ id: 'timeout',
72
+ name: 'Timeout',
73
+ description: 'Call timeout in seconds',
74
+ type: types_1.FIELD_TYPE.NUMBER,
75
+ validation: {
76
+ required: false,
77
+ min: 1,
78
+ max: 600,
79
+ },
80
+ },
81
+ ],
82
+ outputs: [
83
+ {
84
+ id: 'callSid',
85
+ name: 'Call SID',
86
+ description: 'Twilio call SID',
87
+ type: types_1.FIELD_TYPE.STRING,
88
+ },
89
+ {
90
+ id: 'status',
91
+ name: 'Status',
92
+ description: 'Call status',
93
+ type: types_1.FIELD_TYPE.STRING,
94
+ },
95
+ {
96
+ id: 'to',
97
+ name: 'To',
98
+ description: 'Recipient phone number',
99
+ type: types_1.FIELD_TYPE.PHONE,
100
+ },
101
+ {
102
+ id: 'from',
103
+ name: 'From',
104
+ description: 'Caller phone number',
105
+ type: types_1.FIELD_TYPE.PHONE,
106
+ },
107
+ ],
108
+ };
109
+ //# sourceMappingURL=make-call.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"make-call.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/make-call.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,qEAAgE;AAEnD,QAAA,cAAc,GAA0B;IACnD,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,mCAAqE;IACnF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,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EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;gBACf,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,GAAG;aACT;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,KAAK;SACvB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,KAAK;SACvB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const sendConversationMessageAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=send-conversation-message.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-conversation-message.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/send-conversation-message.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,6BAA6B,EAAE,qBAiE3C,CAAC"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sendConversationMessageAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const send_conversation_message_service_1 = require("../services/send-conversation-message.service");
6
+ exports.sendConversationMessageAction = {
7
+ key: 'send-conversation-message',
8
+ name: 'Send Conversation Message',
9
+ description: 'Send a message in a Twilio conversation',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '💬',
12
+ serviceClass: send_conversation_message_service_1.SendConversationMessageService,
13
+ inputs: [
14
+ {
15
+ id: 'conversationSid',
16
+ name: 'Conversation SID',
17
+ description: 'The SID of the conversation',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ },
22
+ placeholder: 'CH...',
23
+ },
24
+ {
25
+ id: 'body',
26
+ name: 'Message Body',
27
+ description: 'The message content',
28
+ type: types_1.FIELD_TYPE.STRING,
29
+ validation: {
30
+ required: true,
31
+ minLength: 1,
32
+ },
33
+ placeholder: 'Enter your message...',
34
+ },
35
+ {
36
+ id: 'author',
37
+ name: 'Author',
38
+ description: 'The author of the message (optional)',
39
+ type: types_1.FIELD_TYPE.STRING,
40
+ validation: {
41
+ required: false,
42
+ },
43
+ },
44
+ ],
45
+ outputs: [
46
+ {
47
+ id: 'messageSid',
48
+ name: 'Message SID',
49
+ description: 'Twilio message SID',
50
+ type: types_1.FIELD_TYPE.STRING,
51
+ },
52
+ {
53
+ id: 'conversationSid',
54
+ name: 'Conversation SID',
55
+ description: 'Conversation SID',
56
+ type: types_1.FIELD_TYPE.STRING,
57
+ },
58
+ {
59
+ id: 'body',
60
+ name: 'Body',
61
+ description: 'Message body',
62
+ type: types_1.FIELD_TYPE.STRING,
63
+ },
64
+ {
65
+ id: 'author',
66
+ name: 'Author',
67
+ description: 'Message author',
68
+ type: types_1.FIELD_TYPE.STRING,
69
+ },
70
+ ],
71
+ };
72
+ //# sourceMappingURL=send-conversation-message.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-conversation-message.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/send-conversation-message.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,qGAA+F;AAElF,QAAA,6BAA6B,GAA0B;IAClE,GAAG,EAAE,2BAA2B;IAChC,IAAI,EAAE,2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