@venturialstd/workflow 0.1.0 → 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 (266) 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 +15 -0
  98. package/dist/modules/twilio/actions/send-sms.action.js.map +1 -1
  99. package/dist/modules/twilio/actions/send-verification.action.d.ts +3 -0
  100. package/dist/modules/twilio/actions/send-verification.action.d.ts.map +1 -0
  101. package/dist/modules/twilio/actions/send-verification.action.js +99 -0
  102. package/dist/modules/twilio/actions/send-verification.action.js.map +1 -0
  103. package/dist/modules/twilio/actions/update-call.action.d.ts +3 -0
  104. package/dist/modules/twilio/actions/update-call.action.d.ts.map +1 -0
  105. package/dist/modules/twilio/actions/update-call.action.js +72 -0
  106. package/dist/modules/twilio/actions/update-call.action.js.map +1 -0
  107. package/dist/modules/twilio/actions/update-message.action.d.ts +3 -0
  108. package/dist/modules/twilio/actions/update-message.action.d.ts.map +1 -0
  109. package/dist/modules/twilio/actions/update-message.action.js +57 -0
  110. package/dist/modules/twilio/actions/update-message.action.js.map +1 -0
  111. package/dist/modules/twilio/actions/verify-code.action.d.ts +3 -0
  112. package/dist/modules/twilio/actions/verify-code.action.d.ts.map +1 -0
  113. package/dist/modules/twilio/actions/verify-code.action.js +72 -0
  114. package/dist/modules/twilio/actions/verify-code.action.js.map +1 -0
  115. package/dist/modules/twilio/services/cancel-verification.service.d.ts +8 -0
  116. package/dist/modules/twilio/services/cancel-verification.service.d.ts.map +1 -0
  117. package/dist/modules/twilio/services/cancel-verification.service.js +53 -0
  118. package/dist/modules/twilio/services/cancel-verification.service.js.map +1 -0
  119. package/dist/modules/twilio/services/create-conversation.service.d.ts +8 -0
  120. package/dist/modules/twilio/services/create-conversation.service.d.ts.map +1 -0
  121. package/dist/modules/twilio/services/create-conversation.service.js +56 -0
  122. package/dist/modules/twilio/services/create-conversation.service.js.map +1 -0
  123. package/dist/modules/twilio/services/create-video-room.service.d.ts +8 -0
  124. package/dist/modules/twilio/services/create-video-room.service.d.ts.map +1 -0
  125. package/dist/modules/twilio/services/create-video-room.service.js +57 -0
  126. package/dist/modules/twilio/services/create-video-room.service.js.map +1 -0
  127. package/dist/modules/twilio/services/delete-call.service.d.ts +8 -0
  128. package/dist/modules/twilio/services/delete-call.service.d.ts.map +1 -0
  129. package/dist/modules/twilio/services/delete-call.service.js +48 -0
  130. package/dist/modules/twilio/services/delete-call.service.js.map +1 -0
  131. package/dist/modules/twilio/services/delete-message.service.d.ts +8 -0
  132. package/dist/modules/twilio/services/delete-message.service.d.ts.map +1 -0
  133. package/dist/modules/twilio/services/delete-message.service.js +43 -0
  134. package/dist/modules/twilio/services/delete-message.service.js.map +1 -0
  135. package/dist/modules/twilio/services/fetch-call-recordings.service.d.ts +8 -0
  136. package/dist/modules/twilio/services/fetch-call-recordings.service.d.ts.map +1 -0
  137. package/dist/modules/twilio/services/fetch-call-recordings.service.js +56 -0
  138. package/dist/modules/twilio/services/fetch-call-recordings.service.js.map +1 -0
  139. package/dist/modules/twilio/services/fetch-call.service.d.ts +8 -0
  140. package/dist/modules/twilio/services/fetch-call.service.d.ts.map +1 -0
  141. package/dist/modules/twilio/services/fetch-call.service.js +52 -0
  142. package/dist/modules/twilio/services/fetch-call.service.js.map +1 -0
  143. package/dist/modules/twilio/services/fetch-message.service.d.ts +8 -0
  144. package/dist/modules/twilio/services/fetch-message.service.d.ts.map +1 -0
  145. package/dist/modules/twilio/services/fetch-message.service.js +60 -0
  146. package/dist/modules/twilio/services/fetch-message.service.js.map +1 -0
  147. package/dist/modules/twilio/services/fetch-verification.service.d.ts +8 -0
  148. package/dist/modules/twilio/services/fetch-verification.service.d.ts.map +1 -0
  149. package/dist/modules/twilio/services/fetch-verification.service.js +58 -0
  150. package/dist/modules/twilio/services/fetch-verification.service.js.map +1 -0
  151. package/dist/modules/twilio/services/generate-twiml-dial.service.d.ts +8 -0
  152. package/dist/modules/twilio/services/generate-twiml-dial.service.d.ts.map +1 -0
  153. package/dist/modules/twilio/services/generate-twiml-dial.service.js +43 -0
  154. package/dist/modules/twilio/services/generate-twiml-dial.service.js.map +1 -0
  155. package/dist/modules/twilio/services/generate-twiml-say.service.d.ts +8 -0
  156. package/dist/modules/twilio/services/generate-twiml-say.service.d.ts.map +1 -0
  157. package/dist/modules/twilio/services/generate-twiml-say.service.js +41 -0
  158. package/dist/modules/twilio/services/generate-twiml-say.service.js.map +1 -0
  159. package/dist/modules/twilio/services/index.d.ts +20 -0
  160. package/dist/modules/twilio/services/index.d.ts.map +1 -1
  161. package/dist/modules/twilio/services/index.js +20 -0
  162. package/dist/modules/twilio/services/index.js.map +1 -1
  163. package/dist/modules/twilio/services/list-calls.service.d.ts +8 -0
  164. package/dist/modules/twilio/services/list-calls.service.d.ts.map +1 -0
  165. package/dist/modules/twilio/services/list-calls.service.js +62 -0
  166. package/dist/modules/twilio/services/list-calls.service.js.map +1 -0
  167. package/dist/modules/twilio/services/list-messages.service.d.ts +8 -0
  168. package/dist/modules/twilio/services/list-messages.service.d.ts.map +1 -0
  169. package/dist/modules/twilio/services/list-messages.service.js +65 -0
  170. package/dist/modules/twilio/services/list-messages.service.js.map +1 -0
  171. package/dist/modules/twilio/services/lookup-phone-number.service.d.ts +8 -0
  172. package/dist/modules/twilio/services/lookup-phone-number.service.d.ts.map +1 -0
  173. package/dist/modules/twilio/services/lookup-phone-number.service.js +61 -0
  174. package/dist/modules/twilio/services/lookup-phone-number.service.js.map +1 -0
  175. package/dist/modules/twilio/services/make-call.service.d.ts +8 -0
  176. package/dist/modules/twilio/services/make-call.service.d.ts.map +1 -0
  177. package/dist/modules/twilio/services/make-call.service.js +80 -0
  178. package/dist/modules/twilio/services/make-call.service.js.map +1 -0
  179. package/dist/modules/twilio/services/send-conversation-message.service.d.ts +8 -0
  180. package/dist/modules/twilio/services/send-conversation-message.service.d.ts.map +1 -0
  181. package/dist/modules/twilio/services/send-conversation-message.service.js +61 -0
  182. package/dist/modules/twilio/services/send-conversation-message.service.js.map +1 -0
  183. package/dist/modules/twilio/services/send-sms.service.d.ts +3 -0
  184. package/dist/modules/twilio/services/send-sms.service.d.ts.map +1 -1
  185. package/dist/modules/twilio/services/send-sms.service.js +44 -9
  186. package/dist/modules/twilio/services/send-sms.service.js.map +1 -1
  187. package/dist/modules/twilio/services/send-verification.service.d.ts +8 -0
  188. package/dist/modules/twilio/services/send-verification.service.d.ts.map +1 -0
  189. package/dist/modules/twilio/services/send-verification.service.js +64 -0
  190. package/dist/modules/twilio/services/send-verification.service.js.map +1 -0
  191. package/dist/modules/twilio/services/update-call.service.d.ts +8 -0
  192. package/dist/modules/twilio/services/update-call.service.d.ts.map +1 -0
  193. package/dist/modules/twilio/services/update-call.service.js +62 -0
  194. package/dist/modules/twilio/services/update-call.service.js.map +1 -0
  195. package/dist/modules/twilio/services/update-message.service.d.ts +8 -0
  196. package/dist/modules/twilio/services/update-message.service.d.ts.map +1 -0
  197. package/dist/modules/twilio/services/update-message.service.js +54 -0
  198. package/dist/modules/twilio/services/update-message.service.js.map +1 -0
  199. package/dist/modules/twilio/services/verify-code.service.d.ts +8 -0
  200. package/dist/modules/twilio/services/verify-code.service.d.ts.map +1 -0
  201. package/dist/modules/twilio/services/verify-code.service.js +62 -0
  202. package/dist/modules/twilio/services/verify-code.service.js.map +1 -0
  203. package/dist/modules/twilio/twilio-nest.module.d.ts.map +1 -1
  204. package/dist/modules/twilio/twilio-nest.module.js +51 -3
  205. package/dist/modules/twilio/twilio-nest.module.js.map +1 -1
  206. package/dist/modules/twilio/twilio.module.d.ts.map +1 -1
  207. package/dist/modules/twilio/twilio.module.js +24 -2
  208. package/dist/modules/twilio/twilio.module.js.map +1 -1
  209. package/dist/modules/types.d.ts +2 -0
  210. package/dist/modules/types.d.ts.map +1 -1
  211. package/dist/modules/types.js.map +1 -1
  212. package/dist/modules/webhook/controllers/index.d.ts +2 -0
  213. package/dist/modules/webhook/controllers/index.d.ts.map +1 -0
  214. package/dist/modules/webhook/controllers/index.js +18 -0
  215. package/dist/modules/webhook/controllers/index.js.map +1 -0
  216. package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts +12 -0
  217. package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts.map +1 -0
  218. package/dist/modules/webhook/controllers/webhook-receiver.controller.js +122 -0
  219. package/dist/modules/webhook/controllers/webhook-receiver.controller.js.map +1 -0
  220. package/dist/modules/webhook/credentials.d.ts +3 -0
  221. package/dist/modules/webhook/credentials.d.ts.map +1 -0
  222. package/dist/modules/webhook/credentials.js +5 -0
  223. package/dist/modules/webhook/credentials.js.map +1 -0
  224. package/dist/modules/webhook/services/index.d.ts +2 -0
  225. package/dist/modules/webhook/services/index.d.ts.map +1 -0
  226. package/dist/modules/webhook/services/index.js +18 -0
  227. package/dist/modules/webhook/services/index.js.map +1 -0
  228. package/dist/modules/webhook/services/webhook-received.service.d.ts +10 -0
  229. package/dist/modules/webhook/services/webhook-received.service.d.ts.map +1 -0
  230. package/dist/modules/webhook/services/webhook-received.service.js +94 -0
  231. package/dist/modules/webhook/services/webhook-received.service.js.map +1 -0
  232. package/dist/modules/webhook/triggers/index.d.ts +2 -0
  233. package/dist/modules/webhook/triggers/index.d.ts.map +1 -0
  234. package/dist/modules/webhook/triggers/index.js +18 -0
  235. package/dist/modules/webhook/triggers/index.js.map +1 -0
  236. package/dist/modules/webhook/triggers/webhook-received.trigger.d.ts +3 -0
  237. package/dist/modules/webhook/triggers/webhook-received.trigger.d.ts.map +1 -0
  238. package/dist/modules/webhook/triggers/webhook-received.trigger.js +78 -0
  239. package/dist/modules/webhook/triggers/webhook-received.trigger.js.map +1 -0
  240. package/dist/modules/webhook/webhook-nest.module.d.ts +3 -0
  241. package/dist/modules/webhook/webhook-nest.module.d.ts.map +1 -0
  242. package/dist/modules/webhook/webhook-nest.module.js +32 -0
  243. package/dist/modules/webhook/webhook-nest.module.js.map +1 -0
  244. package/dist/modules/webhook/webhook.module.d.ts +3 -0
  245. package/dist/modules/webhook/webhook.module.d.ts.map +1 -0
  246. package/dist/modules/webhook/webhook.module.js +16 -0
  247. package/dist/modules/webhook/webhook.module.js.map +1 -0
  248. package/dist/services/workflow-execution.service.d.ts +14 -1
  249. package/dist/services/workflow-execution.service.d.ts.map +1 -1
  250. package/dist/services/workflow-execution.service.js +319 -2
  251. package/dist/services/workflow-execution.service.js.map +1 -1
  252. package/dist/services/workflow-module.service.d.ts +6 -1
  253. package/dist/services/workflow-module.service.d.ts.map +1 -1
  254. package/dist/services/workflow-module.service.js +56 -2
  255. package/dist/services/workflow-module.service.js.map +1 -1
  256. package/dist/services/workflow-webhook.service.d.ts +13 -0
  257. package/dist/services/workflow-webhook.service.d.ts.map +1 -0
  258. package/dist/services/workflow-webhook.service.js +72 -0
  259. package/dist/services/workflow-webhook.service.js.map +1 -0
  260. package/dist/workflow-core.module.d.ts.map +1 -1
  261. package/dist/workflow-core.module.js +5 -0
  262. package/dist/workflow-core.module.js.map +1 -1
  263. package/dist/workflow.module.d.ts.map +1 -1
  264. package/dist/workflow.module.js +3 -0
  265. package/dist/workflow.module.js.map +1 -1
  266. package/package.json +2 -2
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createConversationAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const create_conversation_service_1 = require("../services/create-conversation.service");
6
+ exports.createConversationAction = {
7
+ key: 'create-conversation',
8
+ name: 'Create Conversation',
9
+ description: 'Create a new Twilio conversation',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '💬',
12
+ serviceClass: create_conversation_service_1.CreateConversationService,
13
+ inputs: [
14
+ {
15
+ id: 'friendlyName',
16
+ name: 'Friendly Name',
17
+ description: 'A human-readable name for the conversation',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: false,
21
+ },
22
+ },
23
+ {
24
+ id: 'uniqueName',
25
+ name: 'Unique Name',
26
+ description: 'A unique identifier for the conversation',
27
+ type: types_1.FIELD_TYPE.STRING,
28
+ validation: {
29
+ required: false,
30
+ },
31
+ },
32
+ {
33
+ id: 'attributes',
34
+ name: 'Attributes',
35
+ description: 'JSON string of custom attributes',
36
+ type: types_1.FIELD_TYPE.JSON,
37
+ validation: {
38
+ required: false,
39
+ },
40
+ },
41
+ {
42
+ id: 'state',
43
+ name: 'State',
44
+ description: 'Conversation state',
45
+ type: types_1.FIELD_TYPE.STRING,
46
+ validation: {
47
+ required: false,
48
+ enum: ['inactive', 'active', 'closed'],
49
+ },
50
+ options: [
51
+ { label: 'Inactive', value: 'inactive' },
52
+ { label: 'Active', value: 'active' },
53
+ { label: 'Closed', value: 'closed' },
54
+ ],
55
+ defaultValue: 'active',
56
+ },
57
+ ],
58
+ outputs: [
59
+ {
60
+ id: 'conversationSid',
61
+ name: 'Conversation SID',
62
+ description: 'Twilio conversation SID',
63
+ type: types_1.FIELD_TYPE.STRING,
64
+ },
65
+ {
66
+ id: 'friendlyName',
67
+ name: 'Friendly Name',
68
+ description: 'Conversation friendly name',
69
+ type: types_1.FIELD_TYPE.STRING,
70
+ },
71
+ {
72
+ id: 'state',
73
+ name: 'State',
74
+ description: 'Conversation state',
75
+ type: types_1.FIELD_TYPE.STRING,
76
+ },
77
+ ],
78
+ };
79
+ //# sourceMappingURL=create-conversation.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-conversation.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/create-conversation.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,yFAAoF;AAEvE,QAAA,wBAAwB,GAA0B;IAC7D,GAAG,EAAE,qBAAqB;IAC1B,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,kCAAkC;IAC/C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,uDAA+E;IAC7F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,IAAI;YACrB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,QAAQ,CAAC;aACvC;YACD,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;gBACxC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;gBACpC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;aACrC;YACD,YAAY,EAAE,QAAQ;SACvB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const createVideoRoomAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=create-video-room.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-video-room.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/create-video-room.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,qBAAqB,EAAE,qBAkFnC,CAAC"}
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createVideoRoomAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const create_video_room_service_1 = require("../services/create-video-room.service");
6
+ exports.createVideoRoomAction = {
7
+ key: 'create-video-room',
8
+ name: 'Create Video Room',
9
+ description: 'Create a Twilio Video room',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🎥',
12
+ serviceClass: create_video_room_service_1.CreateVideoRoomService,
13
+ inputs: [
14
+ {
15
+ id: 'uniqueName',
16
+ name: 'Unique Name',
17
+ description: 'A unique identifier for the room',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: false,
21
+ },
22
+ },
23
+ {
24
+ id: 'type',
25
+ name: 'Room Type',
26
+ description: 'Type of room',
27
+ type: types_1.FIELD_TYPE.STRING,
28
+ validation: {
29
+ required: false,
30
+ enum: ['go', 'peer-to-peer', 'group', 'group-small'],
31
+ },
32
+ options: [
33
+ { label: 'Go', value: 'go' },
34
+ { label: 'Peer-to-Peer', value: 'peer-to-peer' },
35
+ { label: 'Group', value: 'group' },
36
+ { label: 'Group Small', value: 'group-small' },
37
+ ],
38
+ defaultValue: 'group',
39
+ },
40
+ {
41
+ id: 'maxParticipants',
42
+ name: 'Max Participants',
43
+ description: 'Maximum number of participants',
44
+ type: types_1.FIELD_TYPE.NUMBER,
45
+ validation: {
46
+ required: false,
47
+ min: 2,
48
+ max: 50,
49
+ },
50
+ },
51
+ {
52
+ id: 'recordParticipantsOnConnect',
53
+ name: 'Record on Connect',
54
+ description: 'Whether to record participants when they connect',
55
+ type: types_1.FIELD_TYPE.BOOLEAN,
56
+ validation: {
57
+ required: false,
58
+ },
59
+ defaultValue: false,
60
+ },
61
+ ],
62
+ outputs: [
63
+ {
64
+ id: 'roomSid',
65
+ name: 'Room SID',
66
+ description: 'Twilio room SID',
67
+ type: types_1.FIELD_TYPE.STRING,
68
+ },
69
+ {
70
+ id: 'uniqueName',
71
+ name: 'Unique Name',
72
+ description: 'Room unique name',
73
+ type: types_1.FIELD_TYPE.STRING,
74
+ },
75
+ {
76
+ id: 'status',
77
+ name: 'Status',
78
+ description: 'Room status',
79
+ type: types_1.FIELD_TYPE.STRING,
80
+ },
81
+ {
82
+ id: 'type',
83
+ name: 'Type',
84
+ description: 'Room type',
85
+ type: types_1.FIELD_TYPE.STRING,
86
+ },
87
+ ],
88
+ };
89
+ //# sourceMappingURL=create-video-room.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-video-room.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/create-video-room.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,qFAA+E;AAElE,QAAA,qBAAqB,GAA0B;IAC1D,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,kDAA4E;IAC1F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,CAAC;aACrD;YACD,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;gBAC5B,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;gBAChD,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;gBAClC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;aAC/C;YACD,YAAY,EAAE,OAAO;SACtB;QACD;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;gBACf,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,EAAE;aACR;SACF;QACD;YACE,EAAE,EAAE,6BAA6B;YACjC,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,kDAAkD;YAC/D,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,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kBAAkB;YAC/B,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,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const deleteCallAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=delete-call.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-call.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/delete-call.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,gBAAgB,EAAE,qBAiC9B,CAAC"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteCallAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const delete_call_service_1 = require("../services/delete-call.service");
6
+ exports.deleteCallAction = {
7
+ key: 'delete-call',
8
+ name: 'Delete Call',
9
+ description: 'Delete a call by SID',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🗑️',
12
+ serviceClass: delete_call_service_1.DeleteCallService,
13
+ inputs: [
14
+ {
15
+ id: 'callSid',
16
+ name: 'Call SID',
17
+ description: 'The SID of the call to delete',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ },
22
+ placeholder: 'CA...',
23
+ },
24
+ ],
25
+ outputs: [
26
+ {
27
+ id: 'callSid',
28
+ name: 'Call SID',
29
+ description: 'The deleted call SID',
30
+ type: types_1.FIELD_TYPE.STRING,
31
+ },
32
+ {
33
+ id: 'deleted',
34
+ name: 'Deleted',
35
+ description: 'Whether the call was deleted',
36
+ type: types_1.FIELD_TYPE.BOOLEAN,
37
+ },
38
+ ],
39
+ };
40
+ //# sourceMappingURL=delete-call.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-call.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/delete-call.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,yEAAoE;AAEvD,QAAA,gBAAgB,GAA0B;IACrD,GAAG,EAAE,aAAa;IAClB,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,sBAAsB;IACnC,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,uCAAuE;IACrF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const deleteMessageAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=delete-message.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-message.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/delete-message.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,mBAAmB,EAAE,qBAiCjC,CAAC"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteMessageAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const delete_message_service_1 = require("../services/delete-message.service");
6
+ exports.deleteMessageAction = {
7
+ key: 'delete-message',
8
+ name: 'Delete Message',
9
+ description: 'Delete a message by SID',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🗑️',
12
+ serviceClass: delete_message_service_1.DeleteMessageService,
13
+ inputs: [
14
+ {
15
+ id: 'messageSid',
16
+ name: 'Message SID',
17
+ description: 'The SID of the message to delete',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ },
22
+ placeholder: 'SM...',
23
+ },
24
+ ],
25
+ outputs: [
26
+ {
27
+ id: 'messageSid',
28
+ name: 'Message SID',
29
+ description: 'The deleted message SID',
30
+ type: types_1.FIELD_TYPE.STRING,
31
+ },
32
+ {
33
+ id: 'deleted',
34
+ name: 'Deleted',
35
+ description: 'Whether the message was deleted',
36
+ type: types_1.FIELD_TYPE.BOOLEAN,
37
+ },
38
+ ],
39
+ };
40
+ //# sourceMappingURL=delete-message.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-message.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/delete-message.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,+EAA0E;AAE7D,QAAA,mBAAmB,GAA0B;IACxD,GAAG,EAAE,gBAAgB;IACrB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,yBAAyB;IACtC,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,6CAA0E;IACxF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const fetchCallRecordingsAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=fetch-call-recordings.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-call-recordings.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-call-recordings.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,yBAAyB,EAAE,qBAuCvC,CAAC"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchCallRecordingsAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const fetch_call_recordings_service_1 = require("../services/fetch-call-recordings.service");
6
+ exports.fetchCallRecordingsAction = {
7
+ key: 'fetch-call-recordings',
8
+ name: 'Fetch Call Recordings',
9
+ description: 'Fetch recordings for a specific call',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🎙️',
12
+ serviceClass: fetch_call_recordings_service_1.FetchCallRecordingsService,
13
+ inputs: [
14
+ {
15
+ id: 'callSid',
16
+ name: 'Call SID',
17
+ description: 'The SID of the call',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ },
22
+ placeholder: 'CA...',
23
+ },
24
+ ],
25
+ outputs: [
26
+ {
27
+ id: 'callSid',
28
+ name: 'Call SID',
29
+ description: 'Call SID',
30
+ type: types_1.FIELD_TYPE.STRING,
31
+ },
32
+ {
33
+ id: 'recordings',
34
+ name: 'Recordings',
35
+ description: 'Array of recording objects',
36
+ type: types_1.FIELD_TYPE.ARRAY,
37
+ },
38
+ {
39
+ id: 'count',
40
+ name: 'Count',
41
+ description: 'Number of recordings',
42
+ type: types_1.FIELD_TYPE.NUMBER,
43
+ },
44
+ ],
45
+ };
46
+ //# sourceMappingURL=fetch-call-recordings.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-call-recordings.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-call-recordings.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,6FAAuF;AAE1E,QAAA,yBAAyB,GAA0B;IAC9D,GAAG,EAAE,uBAAuB;IAC5B,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,0DAAgF;IAC9F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,KAAK;SACvB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const fetchCallAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=fetch-call.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-call.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-call.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,eAAe,EAAE,qBA6C7B,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchCallAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const fetch_call_service_1 = require("../services/fetch-call.service");
6
+ exports.fetchCallAction = {
7
+ key: 'fetch-call',
8
+ name: 'Fetch Call',
9
+ description: 'Fetch a specific call by SID',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🔍',
12
+ serviceClass: fetch_call_service_1.FetchCallService,
13
+ inputs: [
14
+ {
15
+ id: 'callSid',
16
+ name: 'Call SID',
17
+ description: 'The SID of the call to fetch',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ },
22
+ placeholder: 'CA...',
23
+ },
24
+ ],
25
+ outputs: [
26
+ {
27
+ id: 'callSid',
28
+ name: 'Call SID',
29
+ description: 'Twilio call SID',
30
+ type: types_1.FIELD_TYPE.STRING,
31
+ },
32
+ {
33
+ id: 'status',
34
+ name: 'Status',
35
+ description: 'Call status',
36
+ type: types_1.FIELD_TYPE.STRING,
37
+ },
38
+ {
39
+ id: 'duration',
40
+ name: 'Duration',
41
+ description: 'Call duration in seconds',
42
+ type: types_1.FIELD_TYPE.NUMBER,
43
+ },
44
+ {
45
+ id: 'price',
46
+ name: 'Price',
47
+ description: 'Call price',
48
+ type: types_1.FIELD_TYPE.NUMBER,
49
+ },
50
+ ],
51
+ };
52
+ //# sourceMappingURL=fetch-call.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-call.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-call.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,uEAAkE;AAErD,QAAA,eAAe,GAA0B;IACpD,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,qCAAsE;IACpF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;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,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const fetchMessageAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=fetch-message.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-message.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-message.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,kBAAkB,EAAE,qBAmDhC,CAAC"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchMessageAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const fetch_message_service_1 = require("../services/fetch-message.service");
6
+ exports.fetchMessageAction = {
7
+ key: 'fetch-message',
8
+ name: 'Fetch Message',
9
+ description: 'Fetch a specific message by SID',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🔍',
12
+ serviceClass: fetch_message_service_1.FetchMessageService,
13
+ inputs: [
14
+ {
15
+ id: 'messageSid',
16
+ name: 'Message SID',
17
+ description: 'The SID of the message to fetch',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ },
22
+ placeholder: 'SM...',
23
+ },
24
+ ],
25
+ outputs: [
26
+ {
27
+ id: 'messageSid',
28
+ name: 'Message SID',
29
+ description: 'Twilio message SID',
30
+ type: types_1.FIELD_TYPE.STRING,
31
+ },
32
+ {
33
+ id: 'status',
34
+ name: 'Status',
35
+ description: 'Message delivery status',
36
+ type: types_1.FIELD_TYPE.STRING,
37
+ },
38
+ {
39
+ id: 'to',
40
+ name: 'To',
41
+ description: 'Recipient phone number',
42
+ type: types_1.FIELD_TYPE.PHONE,
43
+ },
44
+ {
45
+ id: 'from',
46
+ name: 'From',
47
+ description: 'Sender phone number',
48
+ type: types_1.FIELD_TYPE.PHONE,
49
+ },
50
+ {
51
+ id: 'body',
52
+ name: 'Body',
53
+ description: 'Message body',
54
+ type: types_1.FIELD_TYPE.STRING,
55
+ },
56
+ ],
57
+ };
58
+ //# sourceMappingURL=fetch-message.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-message.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-message.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,6EAAwE;AAE3D,QAAA,kBAAkB,GAA0B;IACvD,GAAG,EAAE,eAAe;IACpB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,2CAAyE;IACvF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yBAAyB;YACtC,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;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const fetchVerificationAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=fetch-verification.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-verification.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-verification.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,uBAAuB,EAAE,qBAuDrC,CAAC"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchVerificationAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const fetch_verification_service_1 = require("../services/fetch-verification.service");
6
+ exports.fetchVerificationAction = {
7
+ key: 'fetch-verification',
8
+ name: 'Fetch Verification',
9
+ description: 'Fetch a verification by SID',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🔍',
12
+ serviceClass: fetch_verification_service_1.FetchVerificationService,
13
+ inputs: [
14
+ {
15
+ id: 'serviceSid',
16
+ name: 'Verify Service SID',
17
+ description: 'Twilio Verify Service SID',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ },
22
+ placeholder: 'VA...',
23
+ },
24
+ {
25
+ id: 'verificationSid',
26
+ name: 'Verification SID',
27
+ description: 'The SID of the verification to fetch',
28
+ type: types_1.FIELD_TYPE.STRING,
29
+ validation: {
30
+ required: true,
31
+ },
32
+ placeholder: 'VE...',
33
+ },
34
+ ],
35
+ outputs: [
36
+ {
37
+ id: 'verificationSid',
38
+ name: 'Verification SID',
39
+ description: 'Twilio verification SID',
40
+ type: types_1.FIELD_TYPE.STRING,
41
+ },
42
+ {
43
+ id: 'status',
44
+ name: 'Status',
45
+ description: 'Verification status',
46
+ type: types_1.FIELD_TYPE.STRING,
47
+ },
48
+ {
49
+ id: 'to',
50
+ name: 'To',
51
+ description: 'Recipient phone number or email',
52
+ type: types_1.FIELD_TYPE.STRING,
53
+ },
54
+ {
55
+ id: 'channel',
56
+ name: 'Channel',
57
+ description: 'Channel used',
58
+ type: types_1.FIELD_TYPE.STRING,
59
+ },
60
+ ],
61
+ };
62
+ //# sourceMappingURL=fetch-verification.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-verification.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-verification.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,uFAAkF;AAErE,QAAA,uBAAuB,GAA0B;IAC5D,GAAG,EAAE,oBAAoB;IACzB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,qDAA8E;IAC5F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;QACD;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const generateTwiMLDialAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=generate-twiml-dial.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-twiml-dial.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/generate-twiml-dial.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,uBAAuB,EAAE,qBAiErC,CAAC"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generateTwiMLDialAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const generate_twiml_dial_service_1 = require("../services/generate-twiml-dial.service");
6
+ exports.generateTwiMLDialAction = {
7
+ key: 'generate-twiml-dial',
8
+ name: 'Generate TwiML Dial',
9
+ description: 'Generate TwiML with a Dial verb',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '📞',
12
+ serviceClass: generate_twiml_dial_service_1.GenerateTwiMLDialService,
13
+ inputs: [
14
+ {
15
+ id: 'number',
16
+ name: 'Phone Number',
17
+ description: 'Phone number to dial (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: 'callerId',
27
+ name: 'Caller ID',
28
+ description: 'Caller ID to display (optional)',
29
+ type: types_1.FIELD_TYPE.PHONE,
30
+ validation: {
31
+ required: false,
32
+ },
33
+ },
34
+ {
35
+ id: 'timeout',
36
+ name: 'Timeout',
37
+ description: 'Call timeout in seconds',
38
+ type: types_1.FIELD_TYPE.NUMBER,
39
+ validation: {
40
+ required: false,
41
+ min: 1,
42
+ max: 600,
43
+ },
44
+ defaultValue: 30,
45
+ },
46
+ {
47
+ id: 'record',
48
+ name: 'Record',
49
+ description: 'Whether to record the call',
50
+ type: types_1.FIELD_TYPE.BOOLEAN,
51
+ validation: {
52
+ required: false,
53
+ },
54
+ defaultValue: false,
55
+ },
56
+ ],
57
+ outputs: [
58
+ {
59
+ id: 'twiml',
60
+ name: 'TwiML',
61
+ description: 'Generated TwiML XML',
62
+ type: types_1.FIELD_TYPE.STRING,
63
+ },
64
+ {
65
+ id: 'number',
66
+ name: 'Number',
67
+ description: 'Phone number dialed',
68
+ type: types_1.FIELD_TYPE.PHONE,
69
+ },
70
+ ],
71
+ };
72
+ //# sourceMappingURL=generate-twiml-dial.action.js.map