n8n-nodes-evolution-go-nk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +197 -0
  3. package/dist/credentials/EvolutionApi.credentials.d.ts +9 -0
  4. package/dist/credentials/EvolutionApi.credentials.js +50 -0
  5. package/dist/credentials/EvolutionApi.credentials.js.map +1 -0
  6. package/dist/credentials/EvolutionApiNk.credentials.d.ts +9 -0
  7. package/dist/credentials/EvolutionApiNk.credentials.js +50 -0
  8. package/dist/credentials/EvolutionApiNk.credentials.js.map +1 -0
  9. package/dist/credentials/EvolutionApiNkApi.credentials.d.ts +9 -0
  10. package/dist/credentials/EvolutionApiNkApi.credentials.js +50 -0
  11. package/dist/credentials/EvolutionApiNkApi.credentials.js.map +1 -0
  12. package/dist/credentials/EvolutionGoApi.credentials.d.ts +9 -0
  13. package/dist/credentials/EvolutionGoApi.credentials.js +57 -0
  14. package/dist/credentials/EvolutionGoApi.credentials.js.map +1 -0
  15. package/dist/nodes/EvolutionApi/EvolutionApiNk.node.d.ts +5 -0
  16. package/dist/nodes/EvolutionApi/EvolutionApiNk.node.js +54 -0
  17. package/dist/nodes/EvolutionApi/EvolutionApiNk.node.js.map +1 -0
  18. package/dist/nodes/EvolutionApi/EvolutionApiNk.node.json +21 -0
  19. package/dist/nodes/EvolutionApi/evolutionapi.svg +14 -0
  20. package/dist/nodes/EvolutionApi/execute/chat/blockContact.d.ts +27 -0
  21. package/dist/nodes/EvolutionApi/execute/chat/blockContact.js +51 -0
  22. package/dist/nodes/EvolutionApi/execute/chat/blockContact.js.map +1 -0
  23. package/dist/nodes/EvolutionApi/execute/chat/checkNumber.d.ts +27 -0
  24. package/dist/nodes/EvolutionApi/execute/chat/checkNumber.js +50 -0
  25. package/dist/nodes/EvolutionApi/execute/chat/checkNumber.js.map +1 -0
  26. package/dist/nodes/EvolutionApi/execute/chat/deleteMessage.d.ts +27 -0
  27. package/dist/nodes/EvolutionApi/execute/chat/deleteMessage.js +62 -0
  28. package/dist/nodes/EvolutionApi/execute/chat/deleteMessage.js.map +1 -0
  29. package/dist/nodes/EvolutionApi/execute/chat/fetchProfilePicture.d.ts +27 -0
  30. package/dist/nodes/EvolutionApi/execute/chat/fetchProfilePicture.js +49 -0
  31. package/dist/nodes/EvolutionApi/execute/chat/fetchProfilePicture.js.map +1 -0
  32. package/dist/nodes/EvolutionApi/execute/chat/findChats.d.ts +27 -0
  33. package/dist/nodes/EvolutionApi/execute/chat/findChats.js +57 -0
  34. package/dist/nodes/EvolutionApi/execute/chat/findChats.js.map +1 -0
  35. package/dist/nodes/EvolutionApi/execute/chat/findContacts.d.ts +27 -0
  36. package/dist/nodes/EvolutionApi/execute/chat/findContacts.js +55 -0
  37. package/dist/nodes/EvolutionApi/execute/chat/findContacts.js.map +1 -0
  38. package/dist/nodes/EvolutionApi/execute/chat/findMessages.d.ts +27 -0
  39. package/dist/nodes/EvolutionApi/execute/chat/findMessages.js +57 -0
  40. package/dist/nodes/EvolutionApi/execute/chat/findMessages.js.map +1 -0
  41. package/dist/nodes/EvolutionApi/execute/chat/findStatusMessages.d.ts +27 -0
  42. package/dist/nodes/EvolutionApi/execute/chat/findStatusMessages.js +58 -0
  43. package/dist/nodes/EvolutionApi/execute/chat/findStatusMessages.js.map +1 -0
  44. package/dist/nodes/EvolutionApi/execute/chat/getMediaBase64.d.ts +27 -0
  45. package/dist/nodes/EvolutionApi/execute/chat/getMediaBase64.js +55 -0
  46. package/dist/nodes/EvolutionApi/execute/chat/getMediaBase64.js.map +1 -0
  47. package/dist/nodes/EvolutionApi/execute/chat/manageArchive.d.ts +27 -0
  48. package/dist/nodes/EvolutionApi/execute/chat/manageArchive.js +60 -0
  49. package/dist/nodes/EvolutionApi/execute/chat/manageArchive.js.map +1 -0
  50. package/dist/nodes/EvolutionApi/execute/chat/markChatUnread.d.ts +27 -0
  51. package/dist/nodes/EvolutionApi/execute/chat/markChatUnread.js +58 -0
  52. package/dist/nodes/EvolutionApi/execute/chat/markChatUnread.js.map +1 -0
  53. package/dist/nodes/EvolutionApi/execute/chat/readMessages.d.ts +27 -0
  54. package/dist/nodes/EvolutionApi/execute/chat/readMessages.js +57 -0
  55. package/dist/nodes/EvolutionApi/execute/chat/readMessages.js.map +1 -0
  56. package/dist/nodes/EvolutionApi/execute/chat/sendPresence.d.ts +27 -0
  57. package/dist/nodes/EvolutionApi/execute/chat/sendPresence.js +53 -0
  58. package/dist/nodes/EvolutionApi/execute/chat/sendPresence.js.map +1 -0
  59. package/dist/nodes/EvolutionApi/execute/chat/updateMessage.d.ts +27 -0
  60. package/dist/nodes/EvolutionApi/execute/chat/updateMessage.js +57 -0
  61. package/dist/nodes/EvolutionApi/execute/chat/updateMessage.js.map +1 -0
  62. package/dist/nodes/EvolutionApi/execute/events/setProxy.d.ts +27 -0
  63. package/dist/nodes/EvolutionApi/execute/events/setProxy.js +63 -0
  64. package/dist/nodes/EvolutionApi/execute/events/setProxy.js.map +1 -0
  65. package/dist/nodes/EvolutionApi/execute/events/setRabbitMQ.d.ts +27 -0
  66. package/dist/nodes/EvolutionApi/execute/events/setRabbitMQ.js +83 -0
  67. package/dist/nodes/EvolutionApi/execute/events/setRabbitMQ.js.map +1 -0
  68. package/dist/nodes/EvolutionApi/execute/events/setWebhook.d.ts +27 -0
  69. package/dist/nodes/EvolutionApi/execute/events/setWebhook.js +89 -0
  70. package/dist/nodes/EvolutionApi/execute/events/setWebhook.js.map +1 -0
  71. package/dist/nodes/EvolutionApi/execute/evolutionRequest.d.ts +2 -0
  72. package/dist/nodes/EvolutionApi/execute/evolutionRequest.js +18 -0
  73. package/dist/nodes/EvolutionApi/execute/evolutionRequest.js.map +1 -0
  74. package/dist/nodes/EvolutionApi/execute/groups/createGroup.d.ts +27 -0
  75. package/dist/nodes/EvolutionApi/execute/groups/createGroup.js +54 -0
  76. package/dist/nodes/EvolutionApi/execute/groups/createGroup.js.map +1 -0
  77. package/dist/nodes/EvolutionApi/execute/groups/fetchGroups.d.ts +27 -0
  78. package/dist/nodes/EvolutionApi/execute/groups/fetchGroups.js +69 -0
  79. package/dist/nodes/EvolutionApi/execute/groups/fetchGroups.js.map +1 -0
  80. package/dist/nodes/EvolutionApi/execute/groups/fetchInviteCode.d.ts +27 -0
  81. package/dist/nodes/EvolutionApi/execute/groups/fetchInviteCode.js +45 -0
  82. package/dist/nodes/EvolutionApi/execute/groups/fetchInviteCode.js.map +1 -0
  83. package/dist/nodes/EvolutionApi/execute/groups/findParticipants.d.ts +27 -0
  84. package/dist/nodes/EvolutionApi/execute/groups/findParticipants.js +45 -0
  85. package/dist/nodes/EvolutionApi/execute/groups/findParticipants.js.map +1 -0
  86. package/dist/nodes/EvolutionApi/execute/groups/joinGroup.d.ts +27 -0
  87. package/dist/nodes/EvolutionApi/execute/groups/joinGroup.js +45 -0
  88. package/dist/nodes/EvolutionApi/execute/groups/joinGroup.js.map +1 -0
  89. package/dist/nodes/EvolutionApi/execute/groups/leaveGroup.d.ts +27 -0
  90. package/dist/nodes/EvolutionApi/execute/groups/leaveGroup.js +45 -0
  91. package/dist/nodes/EvolutionApi/execute/groups/leaveGroup.js.map +1 -0
  92. package/dist/nodes/EvolutionApi/execute/groups/revokeInviteCode.d.ts +27 -0
  93. package/dist/nodes/EvolutionApi/execute/groups/revokeInviteCode.js +45 -0
  94. package/dist/nodes/EvolutionApi/execute/groups/revokeInviteCode.js.map +1 -0
  95. package/dist/nodes/EvolutionApi/execute/groups/sendInviteLink.d.ts +27 -0
  96. package/dist/nodes/EvolutionApi/execute/groups/sendInviteLink.js +54 -0
  97. package/dist/nodes/EvolutionApi/execute/groups/sendInviteLink.js.map +1 -0
  98. package/dist/nodes/EvolutionApi/execute/groups/toggleEphemeral.d.ts +27 -0
  99. package/dist/nodes/EvolutionApi/execute/groups/toggleEphemeral.js +50 -0
  100. package/dist/nodes/EvolutionApi/execute/groups/toggleEphemeral.js.map +1 -0
  101. package/dist/nodes/EvolutionApi/execute/groups/updateGroupDescription.d.ts +27 -0
  102. package/dist/nodes/EvolutionApi/execute/groups/updateGroupDescription.js +50 -0
  103. package/dist/nodes/EvolutionApi/execute/groups/updateGroupDescription.js.map +1 -0
  104. package/dist/nodes/EvolutionApi/execute/groups/updateGroupName.d.ts +27 -0
  105. package/dist/nodes/EvolutionApi/execute/groups/updateGroupName.js +50 -0
  106. package/dist/nodes/EvolutionApi/execute/groups/updateGroupName.js.map +1 -0
  107. package/dist/nodes/EvolutionApi/execute/groups/updateGroupPicture.d.ts +27 -0
  108. package/dist/nodes/EvolutionApi/execute/groups/updateGroupPicture.js +50 -0
  109. package/dist/nodes/EvolutionApi/execute/groups/updateGroupPicture.js.map +1 -0
  110. package/dist/nodes/EvolutionApi/execute/groups/updateParticipants.d.ts +27 -0
  111. package/dist/nodes/EvolutionApi/execute/groups/updateParticipants.js +53 -0
  112. package/dist/nodes/EvolutionApi/execute/groups/updateParticipants.js.map +1 -0
  113. package/dist/nodes/EvolutionApi/execute/groups/updateSettings.d.ts +27 -0
  114. package/dist/nodes/EvolutionApi/execute/groups/updateSettings.js +50 -0
  115. package/dist/nodes/EvolutionApi/execute/groups/updateSettings.js.map +1 -0
  116. package/dist/nodes/EvolutionApi/execute/index.d.ts +8 -0
  117. package/dist/nodes/EvolutionApi/execute/index.js +154 -0
  118. package/dist/nodes/EvolutionApi/execute/index.js.map +1 -0
  119. package/dist/nodes/EvolutionApi/execute/instance/createInstanceBasic.d.ts +27 -0
  120. package/dist/nodes/EvolutionApi/execute/instance/createInstanceBasic.js +104 -0
  121. package/dist/nodes/EvolutionApi/execute/instance/createInstanceBasic.js.map +1 -0
  122. package/dist/nodes/EvolutionApi/execute/instance/deleteInstance.d.ts +27 -0
  123. package/dist/nodes/EvolutionApi/execute/instance/deleteInstance.js +48 -0
  124. package/dist/nodes/EvolutionApi/execute/instance/deleteInstance.js.map +1 -0
  125. package/dist/nodes/EvolutionApi/execute/instance/fetchInstances.d.ts +27 -0
  126. package/dist/nodes/EvolutionApi/execute/instance/fetchInstances.js +48 -0
  127. package/dist/nodes/EvolutionApi/execute/instance/fetchInstances.js.map +1 -0
  128. package/dist/nodes/EvolutionApi/execute/instance/instanceConnect.d.ts +27 -0
  129. package/dist/nodes/EvolutionApi/execute/instance/instanceConnect.js +48 -0
  130. package/dist/nodes/EvolutionApi/execute/instance/instanceConnect.js.map +1 -0
  131. package/dist/nodes/EvolutionApi/execute/instance/instanceSettings.d.ts +27 -0
  132. package/dist/nodes/EvolutionApi/execute/instance/instanceSettings.js +71 -0
  133. package/dist/nodes/EvolutionApi/execute/instance/instanceSettings.js.map +1 -0
  134. package/dist/nodes/EvolutionApi/execute/instance/logoutInstance.d.ts +27 -0
  135. package/dist/nodes/EvolutionApi/execute/instance/logoutInstance.js +48 -0
  136. package/dist/nodes/EvolutionApi/execute/instance/logoutInstance.js.map +1 -0
  137. package/dist/nodes/EvolutionApi/execute/instance/restartInstance.d.ts +27 -0
  138. package/dist/nodes/EvolutionApi/execute/instance/restartInstance.js +48 -0
  139. package/dist/nodes/EvolutionApi/execute/instance/restartInstance.js.map +1 -0
  140. package/dist/nodes/EvolutionApi/execute/instance/setPresence.d.ts +27 -0
  141. package/dist/nodes/EvolutionApi/execute/instance/setPresence.js +55 -0
  142. package/dist/nodes/EvolutionApi/execute/instance/setPresence.js.map +1 -0
  143. package/dist/nodes/EvolutionApi/execute/instance/setProxy.d.ts +27 -0
  144. package/dist/nodes/EvolutionApi/execute/instance/setProxy.js +89 -0
  145. package/dist/nodes/EvolutionApi/execute/instance/setProxy.js.map +1 -0
  146. package/dist/nodes/EvolutionApi/execute/integrations/setChatwoot.d.ts +27 -0
  147. package/dist/nodes/EvolutionApi/execute/integrations/setChatwoot.js +108 -0
  148. package/dist/nodes/EvolutionApi/execute/integrations/setChatwoot.js.map +1 -0
  149. package/dist/nodes/EvolutionApi/execute/integrations/setDifyBot.d.ts +27 -0
  150. package/dist/nodes/EvolutionApi/execute/integrations/setDifyBot.js +169 -0
  151. package/dist/nodes/EvolutionApi/execute/integrations/setDifyBot.js.map +1 -0
  152. package/dist/nodes/EvolutionApi/execute/integrations/setEvolutionBot.d.ts +27 -0
  153. package/dist/nodes/EvolutionApi/execute/integrations/setEvolutionBot.js +178 -0
  154. package/dist/nodes/EvolutionApi/execute/integrations/setEvolutionBot.js.map +1 -0
  155. package/dist/nodes/EvolutionApi/execute/integrations/setFlowiseBot.d.ts +27 -0
  156. package/dist/nodes/EvolutionApi/execute/integrations/setFlowiseBot.js +178 -0
  157. package/dist/nodes/EvolutionApi/execute/integrations/setFlowiseBot.js.map +1 -0
  158. package/dist/nodes/EvolutionApi/execute/integrations/setTypebot.d.ts +27 -0
  159. package/dist/nodes/EvolutionApi/execute/integrations/setTypebot.js +194 -0
  160. package/dist/nodes/EvolutionApi/execute/integrations/setTypebot.js.map +1 -0
  161. package/dist/nodes/EvolutionApi/execute/messages/sendAudio.d.ts +27 -0
  162. package/dist/nodes/EvolutionApi/execute/messages/sendAudio.js +86 -0
  163. package/dist/nodes/EvolutionApi/execute/messages/sendAudio.js.map +1 -0
  164. package/dist/nodes/EvolutionApi/execute/messages/sendButtons.d.ts +27 -0
  165. package/dist/nodes/EvolutionApi/execute/messages/sendButtons.js +121 -0
  166. package/dist/nodes/EvolutionApi/execute/messages/sendButtons.js.map +1 -0
  167. package/dist/nodes/EvolutionApi/execute/messages/sendCarousel.d.ts +27 -0
  168. package/dist/nodes/EvolutionApi/execute/messages/sendCarousel.js +136 -0
  169. package/dist/nodes/EvolutionApi/execute/messages/sendCarousel.js.map +1 -0
  170. package/dist/nodes/EvolutionApi/execute/messages/sendContact.d.ts +27 -0
  171. package/dist/nodes/EvolutionApi/execute/messages/sendContact.js +80 -0
  172. package/dist/nodes/EvolutionApi/execute/messages/sendContact.js.map +1 -0
  173. package/dist/nodes/EvolutionApi/execute/messages/sendDocument.d.ts +2 -0
  174. package/dist/nodes/EvolutionApi/execute/messages/sendDocument.js +97 -0
  175. package/dist/nodes/EvolutionApi/execute/messages/sendDocument.js.map +1 -0
  176. package/dist/nodes/EvolutionApi/execute/messages/sendImage.d.ts +2 -0
  177. package/dist/nodes/EvolutionApi/execute/messages/sendImage.js +98 -0
  178. package/dist/nodes/EvolutionApi/execute/messages/sendImage.js.map +1 -0
  179. package/dist/nodes/EvolutionApi/execute/messages/sendList.d.ts +27 -0
  180. package/dist/nodes/EvolutionApi/execute/messages/sendList.js +111 -0
  181. package/dist/nodes/EvolutionApi/execute/messages/sendList.js.map +1 -0
  182. package/dist/nodes/EvolutionApi/execute/messages/sendLocation.d.ts +27 -0
  183. package/dist/nodes/EvolutionApi/execute/messages/sendLocation.js +105 -0
  184. package/dist/nodes/EvolutionApi/execute/messages/sendLocation.js.map +1 -0
  185. package/dist/nodes/EvolutionApi/execute/messages/sendPix.d.ts +27 -0
  186. package/dist/nodes/EvolutionApi/execute/messages/sendPix.js +84 -0
  187. package/dist/nodes/EvolutionApi/execute/messages/sendPix.js.map +1 -0
  188. package/dist/nodes/EvolutionApi/execute/messages/sendPoll.d.ts +27 -0
  189. package/dist/nodes/EvolutionApi/execute/messages/sendPoll.js +89 -0
  190. package/dist/nodes/EvolutionApi/execute/messages/sendPoll.js.map +1 -0
  191. package/dist/nodes/EvolutionApi/execute/messages/sendReaction.d.ts +27 -0
  192. package/dist/nodes/EvolutionApi/execute/messages/sendReaction.js +79 -0
  193. package/dist/nodes/EvolutionApi/execute/messages/sendReaction.js.map +1 -0
  194. package/dist/nodes/EvolutionApi/execute/messages/sendSticker.d.ts +27 -0
  195. package/dist/nodes/EvolutionApi/execute/messages/sendSticker.js +84 -0
  196. package/dist/nodes/EvolutionApi/execute/messages/sendSticker.js.map +1 -0
  197. package/dist/nodes/EvolutionApi/execute/messages/sendStories.d.ts +27 -0
  198. package/dist/nodes/EvolutionApi/execute/messages/sendStories.js +94 -0
  199. package/dist/nodes/EvolutionApi/execute/messages/sendStories.js.map +1 -0
  200. package/dist/nodes/EvolutionApi/execute/messages/sendText.d.ts +2 -0
  201. package/dist/nodes/EvolutionApi/execute/messages/sendText.js +94 -0
  202. package/dist/nodes/EvolutionApi/execute/messages/sendText.js.map +1 -0
  203. package/dist/nodes/EvolutionApi/execute/messages/sendVideo.d.ts +27 -0
  204. package/dist/nodes/EvolutionApi/execute/messages/sendVideo.js +89 -0
  205. package/dist/nodes/EvolutionApi/execute/messages/sendVideo.js.map +1 -0
  206. package/dist/nodes/EvolutionApi/execute/profile/fetchBusinessProfile.d.ts +27 -0
  207. package/dist/nodes/EvolutionApi/execute/profile/fetchBusinessProfile.js +49 -0
  208. package/dist/nodes/EvolutionApi/execute/profile/fetchBusinessProfile.js.map +1 -0
  209. package/dist/nodes/EvolutionApi/execute/profile/fetchPrivacySettings.d.ts +27 -0
  210. package/dist/nodes/EvolutionApi/execute/profile/fetchPrivacySettings.js +44 -0
  211. package/dist/nodes/EvolutionApi/execute/profile/fetchPrivacySettings.js.map +1 -0
  212. package/dist/nodes/EvolutionApi/execute/profile/fetchProfile.d.ts +27 -0
  213. package/dist/nodes/EvolutionApi/execute/profile/fetchProfile.js +49 -0
  214. package/dist/nodes/EvolutionApi/execute/profile/fetchProfile.js.map +1 -0
  215. package/dist/nodes/EvolutionApi/execute/profile/removeProfilePicture.d.ts +27 -0
  216. package/dist/nodes/EvolutionApi/execute/profile/removeProfilePicture.js +44 -0
  217. package/dist/nodes/EvolutionApi/execute/profile/removeProfilePicture.js.map +1 -0
  218. package/dist/nodes/EvolutionApi/execute/profile/updatePrivacySettings.d.ts +27 -0
  219. package/dist/nodes/EvolutionApi/execute/profile/updatePrivacySettings.js +59 -0
  220. package/dist/nodes/EvolutionApi/execute/profile/updatePrivacySettings.js.map +1 -0
  221. package/dist/nodes/EvolutionApi/execute/profile/updateProfileName.d.ts +27 -0
  222. package/dist/nodes/EvolutionApi/execute/profile/updateProfileName.js +49 -0
  223. package/dist/nodes/EvolutionApi/execute/profile/updateProfileName.js.map +1 -0
  224. package/dist/nodes/EvolutionApi/execute/profile/updateProfilePicture.d.ts +27 -0
  225. package/dist/nodes/EvolutionApi/execute/profile/updateProfilePicture.js +49 -0
  226. package/dist/nodes/EvolutionApi/execute/profile/updateProfilePicture.js.map +1 -0
  227. package/dist/nodes/EvolutionApi/execute/profile/updateProfileStatus.d.ts +27 -0
  228. package/dist/nodes/EvolutionApi/execute/profile/updateProfileStatus.js +49 -0
  229. package/dist/nodes/EvolutionApi/execute/profile/updateProfileStatus.js.map +1 -0
  230. package/dist/nodes/EvolutionApi/properties/chat.fields.d.ts +2 -0
  231. package/dist/nodes/EvolutionApi/properties/chat.fields.js +588 -0
  232. package/dist/nodes/EvolutionApi/properties/chat.fields.js.map +1 -0
  233. package/dist/nodes/EvolutionApi/properties/chat.operations.d.ts +2 -0
  234. package/dist/nodes/EvolutionApi/properties/chat.operations.js +102 -0
  235. package/dist/nodes/EvolutionApi/properties/chat.operations.js.map +1 -0
  236. package/dist/nodes/EvolutionApi/properties/events.fields.d.ts +2 -0
  237. package/dist/nodes/EvolutionApi/properties/events.fields.js +364 -0
  238. package/dist/nodes/EvolutionApi/properties/events.fields.js.map +1 -0
  239. package/dist/nodes/EvolutionApi/properties/events.operations.d.ts +2 -0
  240. package/dist/nodes/EvolutionApi/properties/events.operations.js +30 -0
  241. package/dist/nodes/EvolutionApi/properties/events.operations.js.map +1 -0
  242. package/dist/nodes/EvolutionApi/properties/groups.fields.d.ts +2 -0
  243. package/dist/nodes/EvolutionApi/properties/groups.fields.js +691 -0
  244. package/dist/nodes/EvolutionApi/properties/groups.fields.js.map +1 -0
  245. package/dist/nodes/EvolutionApi/properties/groups.operations.d.ts +2 -0
  246. package/dist/nodes/EvolutionApi/properties/groups.operations.js +102 -0
  247. package/dist/nodes/EvolutionApi/properties/groups.operations.js.map +1 -0
  248. package/dist/nodes/EvolutionApi/properties/index.d.ts +2 -0
  249. package/dist/nodes/EvolutionApi/properties/index.js +72 -0
  250. package/dist/nodes/EvolutionApi/properties/index.js.map +1 -0
  251. package/dist/nodes/EvolutionApi/properties/instances.fields.d.ts +2 -0
  252. package/dist/nodes/EvolutionApi/properties/instances.fields.js +923 -0
  253. package/dist/nodes/EvolutionApi/properties/instances.fields.js.map +1 -0
  254. package/dist/nodes/EvolutionApi/properties/instances.operations.d.ts +2 -0
  255. package/dist/nodes/EvolutionApi/properties/instances.operations.js +72 -0
  256. package/dist/nodes/EvolutionApi/properties/instances.operations.js.map +1 -0
  257. package/dist/nodes/EvolutionApi/properties/integrations.fields.d.ts +2 -0
  258. package/dist/nodes/EvolutionApi/properties/integrations.fields.js +1767 -0
  259. package/dist/nodes/EvolutionApi/properties/integrations.fields.js.map +1 -0
  260. package/dist/nodes/EvolutionApi/properties/integrations.operations.d.ts +2 -0
  261. package/dist/nodes/EvolutionApi/properties/integrations.operations.js +48 -0
  262. package/dist/nodes/EvolutionApi/properties/integrations.operations.js.map +1 -0
  263. package/dist/nodes/EvolutionApi/properties/messages.fields.d.ts +2 -0
  264. package/dist/nodes/EvolutionApi/properties/messages.fields.js +2234 -0
  265. package/dist/nodes/EvolutionApi/properties/messages.fields.js.map +1 -0
  266. package/dist/nodes/EvolutionApi/properties/messages.operations.d.ts +2 -0
  267. package/dist/nodes/EvolutionApi/properties/messages.operations.js +108 -0
  268. package/dist/nodes/EvolutionApi/properties/messages.operations.js.map +1 -0
  269. package/dist/nodes/EvolutionApi/properties/profile.fields.d.ts +2 -0
  270. package/dist/nodes/EvolutionApi/properties/profile.fields.js +254 -0
  271. package/dist/nodes/EvolutionApi/properties/profile.fields.js.map +1 -0
  272. package/dist/nodes/EvolutionApi/properties/profile.operations.d.ts +2 -0
  273. package/dist/nodes/EvolutionApi/properties/profile.operations.js +66 -0
  274. package/dist/nodes/EvolutionApi/properties/profile.operations.js.map +1 -0
  275. package/dist/nodes/EvolutionApi/properties/resources.d.ts +2 -0
  276. package/dist/nodes/EvolutionApi/properties/resources.js +41 -0
  277. package/dist/nodes/EvolutionApi/properties/resources.js.map +1 -0
  278. package/dist/nodes/EvolutionGo/EvolutionGo.node.d.ts +5 -0
  279. package/dist/nodes/EvolutionGo/EvolutionGo.node.js +55 -0
  280. package/dist/nodes/EvolutionGo/EvolutionGo.node.js.map +1 -0
  281. package/dist/nodes/EvolutionGo/evolutiongo.svg +10 -0
  282. package/dist/nodes/EvolutionGo/execute/chat/index.d.ts +8 -0
  283. package/dist/nodes/EvolutionGo/execute/chat/index.js +96 -0
  284. package/dist/nodes/EvolutionGo/execute/chat/index.js.map +1 -0
  285. package/dist/nodes/EvolutionGo/execute/evolutionGoRequest.d.ts +2 -0
  286. package/dist/nodes/EvolutionGo/execute/evolutionGoRequest.js +19 -0
  287. package/dist/nodes/EvolutionGo/execute/evolutionGoRequest.js.map +1 -0
  288. package/dist/nodes/EvolutionGo/execute/group/index.d.ts +10 -0
  289. package/dist/nodes/EvolutionGo/execute/group/index.js +130 -0
  290. package/dist/nodes/EvolutionGo/execute/group/index.js.map +1 -0
  291. package/dist/nodes/EvolutionGo/execute/index.d.ts +8 -0
  292. package/dist/nodes/EvolutionGo/execute/index.js +73 -0
  293. package/dist/nodes/EvolutionGo/execute/index.js.map +1 -0
  294. package/dist/nodes/EvolutionGo/execute/instance/index.d.ts +12 -0
  295. package/dist/nodes/EvolutionGo/execute/instance/index.js +127 -0
  296. package/dist/nodes/EvolutionGo/execute/instance/index.js.map +1 -0
  297. package/dist/nodes/EvolutionGo/execute/message/index.d.ts +6 -0
  298. package/dist/nodes/EvolutionGo/execute/message/index.js +74 -0
  299. package/dist/nodes/EvolutionGo/execute/message/index.js.map +1 -0
  300. package/dist/nodes/EvolutionGo/execute/send/index.d.ts +10 -0
  301. package/dist/nodes/EvolutionGo/execute/send/index.js +196 -0
  302. package/dist/nodes/EvolutionGo/execute/send/index.js.map +1 -0
  303. package/dist/nodes/EvolutionGo/execute/user/index.d.ts +9 -0
  304. package/dist/nodes/EvolutionGo/execute/user/index.js +106 -0
  305. package/dist/nodes/EvolutionGo/execute/user/index.js.map +1 -0
  306. package/dist/nodes/EvolutionGo/properties/chat.properties.d.ts +3 -0
  307. package/dist/nodes/EvolutionGo/properties/chat.properties.js +106 -0
  308. package/dist/nodes/EvolutionGo/properties/chat.properties.js.map +1 -0
  309. package/dist/nodes/EvolutionGo/properties/group.properties.d.ts +3 -0
  310. package/dist/nodes/EvolutionGo/properties/group.properties.js +178 -0
  311. package/dist/nodes/EvolutionGo/properties/group.properties.js.map +1 -0
  312. package/dist/nodes/EvolutionGo/properties/index.d.ts +2 -0
  313. package/dist/nodes/EvolutionGo/properties/index.js +58 -0
  314. package/dist/nodes/EvolutionGo/properties/index.js.map +1 -0
  315. package/dist/nodes/EvolutionGo/properties/instance.properties.d.ts +3 -0
  316. package/dist/nodes/EvolutionGo/properties/instance.properties.js +127 -0
  317. package/dist/nodes/EvolutionGo/properties/instance.properties.js.map +1 -0
  318. package/dist/nodes/EvolutionGo/properties/message.properties.d.ts +3 -0
  319. package/dist/nodes/EvolutionGo/properties/message.properties.js +118 -0
  320. package/dist/nodes/EvolutionGo/properties/message.properties.js.map +1 -0
  321. package/dist/nodes/EvolutionGo/properties/send.properties.d.ts +3 -0
  322. package/dist/nodes/EvolutionGo/properties/send.properties.js +434 -0
  323. package/dist/nodes/EvolutionGo/properties/send.properties.js.map +1 -0
  324. package/dist/nodes/EvolutionGo/properties/user.properties.d.ts +3 -0
  325. package/dist/nodes/EvolutionGo/properties/user.properties.js +123 -0
  326. package/dist/nodes/EvolutionGo/properties/user.properties.js.map +1 -0
  327. package/dist/package.json +67 -0
  328. package/dist/tsconfig.tsbuildinfo +1 -0
  329. package/index.js +8 -0
  330. package/package.json +67 -0
@@ -0,0 +1,1767 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.integrationsFields = void 0;
4
+ exports.integrationsFields = [
5
+ {
6
+ displayName: 'Nome Da Instancia',
7
+ name: 'instanceName',
8
+ type: 'string',
9
+ default: '',
10
+ required: true,
11
+ description: 'Digite o nome da instância que vai enviar a mensagem',
12
+ displayOptions: {
13
+ show: {
14
+ resource: ['integrations-api'],
15
+ operation: ['chatwoot'],
16
+ },
17
+ },
18
+ },
19
+ {
20
+ displayName: 'O Que Deseja Fazer',
21
+ name: 'resourceForChatwoot',
22
+ type: 'options',
23
+ options: [
24
+ {
25
+ name: 'Definir Chatwoot',
26
+ value: 'setChatwoot',
27
+ },
28
+ {
29
+ name: 'Verificar Chatwoot',
30
+ value: 'findChatwoot',
31
+ },
32
+ ],
33
+ default: 'setChatwoot',
34
+ description: 'Escolha entre ativar/desativar Chatwoot ou verificar o Chatwoot',
35
+ displayOptions: {
36
+ show: {
37
+ resource: ['integrations-api'],
38
+ operation: ['chatwoot'],
39
+ },
40
+ },
41
+ },
42
+ {
43
+ displayName: 'Ativar Chatwoot',
44
+ name: 'enabled',
45
+ type: 'boolean',
46
+ default: true,
47
+ description: 'Whether to enable or disable integration with Chatwoot',
48
+ displayOptions: {
49
+ show: {
50
+ resource: ['integrations-api'],
51
+ operation: ['chatwoot'],
52
+ resourceForChatwoot: ['setChatwoot'],
53
+ },
54
+ },
55
+ },
56
+ {
57
+ displayName: 'Link Do Chatwoot',
58
+ name: 'chatwootUrl',
59
+ type: 'string',
60
+ default: '',
61
+ required: true,
62
+ description: 'Digite o link do Chatwoot',
63
+ displayOptions: {
64
+ show: {
65
+ resource: ['integrations-api'],
66
+ operation: ['chatwoot'],
67
+ resourceForChatwoot: ['setChatwoot'],
68
+ },
69
+ },
70
+ },
71
+ {
72
+ displayName: 'ID Da Conta Do Chatwoot',
73
+ name: 'chatwootAccountId',
74
+ type: 'string',
75
+ default: '',
76
+ required: true,
77
+ description: 'Digite o ID da conta do Chatwoot',
78
+ displayOptions: {
79
+ show: {
80
+ resource: ['integrations-api'],
81
+ operation: ['chatwoot'],
82
+ resourceForChatwoot: ['setChatwoot'],
83
+ },
84
+ },
85
+ },
86
+ {
87
+ displayName: 'Token De Admin Do Chatwoot',
88
+ name: 'chatwootToken',
89
+ type: 'string',
90
+ required: true,
91
+ typeOptions: {
92
+ password: true,
93
+ },
94
+ default: '',
95
+ description: 'Digite o token de admin do Chatwoot',
96
+ displayOptions: {
97
+ show: {
98
+ resource: ['integrations-api'],
99
+ operation: ['chatwoot'],
100
+ resourceForChatwoot: ['setChatwoot'],
101
+ },
102
+ },
103
+ },
104
+ {
105
+ displayName: 'Assinatura Do Agente Do Chatwoot',
106
+ name: 'chatwootSignMsg',
107
+ type: 'boolean',
108
+ default: false,
109
+ description: 'Whether to enable or disable the Chatwoot agent signature',
110
+ displayOptions: {
111
+ show: {
112
+ resource: ['integrations-api'],
113
+ operation: ['chatwoot'],
114
+ resourceForChatwoot: ['setChatwoot'],
115
+ },
116
+ },
117
+ },
118
+ {
119
+ displayName: 'Reabrir Mensagens No Chatwoot',
120
+ name: 'chatwootReopenConversation',
121
+ type: 'boolean',
122
+ default: false,
123
+ description: 'Whether to enable or disable reopening messages in Chatwoot',
124
+ displayOptions: {
125
+ show: {
126
+ resource: ['integrations-api'],
127
+ operation: ['chatwoot'],
128
+ resourceForChatwoot: ['setChatwoot'],
129
+ },
130
+ },
131
+ },
132
+ {
133
+ displayName: 'Iniciar Conversas Como Pendentes No Chatwoot',
134
+ name: 'chatwootConversationPending',
135
+ type: 'boolean',
136
+ default: false,
137
+ description: 'Whether to start conversations as pending in Chatwoot',
138
+ displayOptions: {
139
+ show: {
140
+ resource: ['integrations-api'],
141
+ operation: ['chatwoot'],
142
+ resourceForChatwoot: ['setChatwoot'],
143
+ },
144
+ },
145
+ },
146
+ {
147
+ displayName: 'Importar Contatos Para O Chatwoot',
148
+ name: 'chatwootImportContacts',
149
+ type: 'boolean',
150
+ default: false,
151
+ description: 'Whether to import contacts to Chatwoot',
152
+ displayOptions: {
153
+ show: {
154
+ resource: ['integrations-api'],
155
+ operation: ['chatwoot'],
156
+ resourceForChatwoot: ['setChatwoot'],
157
+ },
158
+ },
159
+ },
160
+ {
161
+ displayName: 'Nome Da Inbox Do Chatwoot',
162
+ name: 'chatwootNameInbox',
163
+ type: 'string',
164
+ default: '',
165
+ description: 'Opicional: Digite o nome da Inbox do Chatwoot',
166
+ displayOptions: {
167
+ show: {
168
+ resource: ['integrations-api'],
169
+ operation: ['chatwoot'],
170
+ resourceForChatwoot: ['setChatwoot'],
171
+ },
172
+ },
173
+ },
174
+ {
175
+ displayName: 'Mesclar Contatos Brasileiros No Chatwoot',
176
+ name: 'chatwootMergeBrazilContacts',
177
+ type: 'boolean',
178
+ default: false,
179
+ description: 'Whether to merge Brazilian contacts in Chatwoot',
180
+ displayOptions: {
181
+ show: {
182
+ resource: ['integrations-api'],
183
+ operation: ['chatwoot'],
184
+ resourceForChatwoot: ['setChatwoot'],
185
+ },
186
+ },
187
+ },
188
+ {
189
+ displayName: 'Importar Mensagens Para O Chatwoot',
190
+ name: 'chatwootImportMessages',
191
+ type: 'boolean',
192
+ default: false,
193
+ description: 'Whether to import messages to Chatwoot',
194
+ displayOptions: {
195
+ show: {
196
+ resource: ['integrations-api'],
197
+ operation: ['chatwoot'],
198
+ resourceForChatwoot: ['setChatwoot'],
199
+ },
200
+ },
201
+ },
202
+ {
203
+ displayName: 'Importar Mensagens De Quantos Dias Para O Chatwoot',
204
+ name: 'chatwootDaysLimitImportMessages',
205
+ type: 'number',
206
+ default: 0,
207
+ description: 'Opicional: Digite o número de dias para limitar a importação de mensagens para o Chatwoot',
208
+ displayOptions: {
209
+ show: {
210
+ resource: ['integrations-api'],
211
+ operation: ['chatwoot'],
212
+ resourceForChatwoot: ['setChatwoot'],
213
+ },
214
+ },
215
+ },
216
+ {
217
+ displayName: 'Criar Caixa De Entrada',
218
+ name: 'chatwootAutoCreate',
219
+ type: 'boolean',
220
+ default: true,
221
+ description: 'Whether to create an inbox automatically',
222
+ displayOptions: {
223
+ show: {
224
+ resource: ['integrations-api'],
225
+ operation: ['chatwoot'],
226
+ resourceForChatwoot: ['setChatwoot'],
227
+ },
228
+ },
229
+ },
230
+ {
231
+ displayName: 'Nome Do Contato De QRCode No Chatwoot',
232
+ name: 'chatwootOrganization',
233
+ type: 'string',
234
+ default: '',
235
+ description: 'Opicional: Digite o nome do contato de QRCode no Chatwoot',
236
+ displayOptions: {
237
+ show: {
238
+ resource: ['integrations-api'],
239
+ operation: ['chatwoot'],
240
+ resourceForChatwoot: ['setChatwoot'],
241
+ },
242
+ },
243
+ },
244
+ {
245
+ displayName: 'Url Do Logo Para O Contato No Chatwoot',
246
+ name: 'chatwootLogo',
247
+ type: 'string',
248
+ default: 'https://github.com/user-attachments/assets/4d1e9cd6-377a-4383-820a-9a97e6cfbb63',
249
+ description: 'Opicional: Digite a URL do logo para o contato no Chatwoot',
250
+ displayOptions: {
251
+ show: {
252
+ resource: ['integrations-api'],
253
+ operation: ['chatwoot'],
254
+ resourceForChatwoot: ['setChatwoot'],
255
+ },
256
+ },
257
+ },
258
+ {
259
+ displayName: 'Nome Da Instancia',
260
+ name: 'instanceName',
261
+ type: 'string',
262
+ default: '',
263
+ required: true,
264
+ description: 'Digite o nome da instância que vai enviar a mensagem',
265
+ displayOptions: {
266
+ show: {
267
+ resource: ['integrations-api'],
268
+ operation: ['typebot'],
269
+ },
270
+ },
271
+ },
272
+ {
273
+ displayName: 'O Que Deseja Fazer',
274
+ name: 'resourceForTypebot',
275
+ type: 'options',
276
+ options: [
277
+ {
278
+ name: 'Adicionar Typebot',
279
+ value: 'createTypebot',
280
+ },
281
+ {
282
+ name: 'Verificar Typebot',
283
+ value: 'findTypebot',
284
+ },
285
+ {
286
+ name: 'Atualizar Typebot',
287
+ value: 'updateTypebot',
288
+ },
289
+ {
290
+ name: 'Deletar Typebot',
291
+ value: 'deleteTypebot',
292
+ },
293
+ {
294
+ name: 'Iniciar Typebot',
295
+ value: 'startTypebot',
296
+ },
297
+ {
298
+ name: 'Procurar Sessão No Typebot',
299
+ value: 'fetchSessionsTypebot',
300
+ },
301
+ {
302
+ name: 'Alterar Status Da Sessão No Typebot',
303
+ value: 'changeStatusTypebot',
304
+ },
305
+ ],
306
+ default: 'createTypebot',
307
+ description: 'Escolha uma opção para realizar com a integração do Typebot',
308
+ displayOptions: {
309
+ show: {
310
+ resource: ['integrations-api'],
311
+ operation: ['typebot'],
312
+ },
313
+ },
314
+ },
315
+ {
316
+ displayName: 'ID Do Typebot',
317
+ name: 'typebotId',
318
+ type: 'string',
319
+ default: '',
320
+ description: 'Digite o ID do Typebot que deseja buscar, deixe vazio para procurar todos',
321
+ displayOptions: {
322
+ show: {
323
+ resource: ['integrations-api'],
324
+ operation: ['typebot'],
325
+ resourceForTypebot: [
326
+ 'updateTypebot',
327
+ 'findTypebot',
328
+ 'deleteTypebot',
329
+ 'fetchSessionsTypebot',
330
+ 'changeStatusTypebot',
331
+ ],
332
+ },
333
+ },
334
+ },
335
+ {
336
+ displayName: 'URL Da API Do Typebot',
337
+ name: 'url',
338
+ type: 'string',
339
+ default: '',
340
+ required: true,
341
+ description: 'Digite a URL do seu typebot',
342
+ displayOptions: {
343
+ show: {
344
+ resource: ['integrations-api'],
345
+ operation: ['typebot'],
346
+ resourceForTypebot: ['createTypebot', 'updateTypebot', 'startTypebot'],
347
+ },
348
+ },
349
+ },
350
+ {
351
+ displayName: 'Nome Do Typebot',
352
+ name: 'typebot',
353
+ type: 'string',
354
+ default: '',
355
+ required: true,
356
+ description: 'Digite o nome do seu fluxo no typebot',
357
+ displayOptions: {
358
+ show: {
359
+ resource: ['integrations-api'],
360
+ operation: ['typebot'],
361
+ resourceForTypebot: ['createTypebot', 'updateTypebot', 'startTypebot'],
362
+ },
363
+ },
364
+ },
365
+ {
366
+ displayName: 'Tipo De Gatilho',
367
+ name: 'triggerType',
368
+ type: 'options',
369
+ options: [
370
+ {
371
+ name: 'Palavra Chave',
372
+ value: 'keyword',
373
+ },
374
+ {
375
+ name: 'Todos',
376
+ value: 'all',
377
+ },
378
+ ],
379
+ default: 'keyword',
380
+ description: 'Escolha uma opção para realizar com a integração do Typebot',
381
+ displayOptions: {
382
+ show: {
383
+ resource: ['integrations-api'],
384
+ operation: ['typebot'],
385
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
386
+ },
387
+ },
388
+ },
389
+ {
390
+ displayName: 'Operador Do Gatilho',
391
+ name: 'triggerOperator',
392
+ type: 'options',
393
+ options: [
394
+ {
395
+ name: 'Contem',
396
+ value: 'contains',
397
+ },
398
+ {
399
+ name: 'Igual À',
400
+ value: 'equals',
401
+ },
402
+ {
403
+ name: 'Começa com',
404
+ value: 'startsWith',
405
+ },
406
+ {
407
+ name: 'Termina com',
408
+ value: 'endsWith',
409
+ },
410
+ {
411
+ name: 'Regex',
412
+ value: 'regex',
413
+ },
414
+ ],
415
+ default: 'contains',
416
+ description: 'Escolha uma opção para realizar com a integração do Typebot',
417
+ displayOptions: {
418
+ show: {
419
+ resource: ['integrations-api'],
420
+ operation: ['typebot'],
421
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
422
+ triggerType: ['keyword'],
423
+ },
424
+ },
425
+ },
426
+ {
427
+ displayName: 'Gatilho',
428
+ name: 'triggerValue',
429
+ type: 'string',
430
+ default: '',
431
+ required: true,
432
+ description: 'Digite a palavra/frase ou regex para ser usado como gatilho para iniciar o Typebot',
433
+ displayOptions: {
434
+ show: {
435
+ resource: ['integrations-api'],
436
+ operation: ['typebot'],
437
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
438
+ triggerType: ['keyword'],
439
+ },
440
+ },
441
+ },
442
+ {
443
+ displayName: 'Expira Em (Minutos)',
444
+ name: 'expire',
445
+ type: 'number',
446
+ default: 0,
447
+ required: true,
448
+ description: 'Digite quantos minutos sem respostas o bot devera ser desativado',
449
+ displayOptions: {
450
+ show: {
451
+ resource: ['integrations-api'],
452
+ operation: ['typebot'],
453
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
454
+ },
455
+ },
456
+ },
457
+ {
458
+ displayName: 'Palavra Chave De Finalização',
459
+ name: 'keywordFinish',
460
+ type: 'string',
461
+ default: '#sair',
462
+ required: true,
463
+ description: 'Digite a palavra/frase que sera usado para fechar o bot',
464
+ displayOptions: {
465
+ show: {
466
+ resource: ['integrations-api'],
467
+ operation: ['typebot'],
468
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
469
+ },
470
+ },
471
+ },
472
+ {
473
+ displayName: 'Delay Padrão Da Mensagem (Em Milésimos)',
474
+ name: 'delayMessage',
475
+ type: 'number',
476
+ default: 1000,
477
+ required: true,
478
+ description: 'Digite quantos milisegundos o bot terá de delay',
479
+ displayOptions: {
480
+ show: {
481
+ resource: ['integrations-api'],
482
+ operation: ['typebot'],
483
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
484
+ },
485
+ },
486
+ },
487
+ {
488
+ displayName: 'Palavra Chave De Finalização',
489
+ name: 'unknownMessage',
490
+ type: 'string',
491
+ default: 'Mensagem não reconhecida',
492
+ required: true,
493
+ description: 'Digite a palavra/frase que sera usado para fechar o bot',
494
+ displayOptions: {
495
+ show: {
496
+ resource: ['integrations-api'],
497
+ operation: ['typebot'],
498
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
499
+ },
500
+ },
501
+ },
502
+ {
503
+ displayName: 'Escuta Mensagens Enviadas Por Mim',
504
+ name: 'listeningFromMe',
505
+ type: 'boolean',
506
+ default: false,
507
+ description: 'Whether',
508
+ displayOptions: {
509
+ show: {
510
+ resource: ['integrations-api'],
511
+ operation: ['typebot'],
512
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
513
+ },
514
+ },
515
+ },
516
+ {
517
+ displayName: 'Pausa O Bot Quando Eu Enviar Uma Mensagem',
518
+ name: 'stopBotFromMe',
519
+ type: 'boolean',
520
+ default: false,
521
+ description: 'Whether',
522
+ displayOptions: {
523
+ show: {
524
+ resource: ['integrations-api'],
525
+ operation: ['typebot'],
526
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
527
+ },
528
+ },
529
+ },
530
+ {
531
+ displayName: 'Mantem a Sessão Do Bot Aberta',
532
+ name: 'keepOpen',
533
+ type: 'boolean',
534
+ default: false,
535
+ description: 'Whether',
536
+ displayOptions: {
537
+ show: {
538
+ resource: ['integrations-api'],
539
+ operation: ['typebot'],
540
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
541
+ },
542
+ },
543
+ },
544
+ {
545
+ displayName: 'Tempo De Espera (Em Segundos)',
546
+ name: 'debounceTime',
547
+ type: 'number',
548
+ default: 0,
549
+ required: true,
550
+ description: 'Este é o tempo que o bot ficará esperando as proximas mensagens após receber uma mensagem, depois ele juntará todas as mensagens em uma só',
551
+ displayOptions: {
552
+ show: {
553
+ resource: ['integrations-api'],
554
+ operation: ['typebot'],
555
+ resourceForTypebot: ['createTypebot', 'updateTypebot'],
556
+ },
557
+ },
558
+ },
559
+ {
560
+ displayName: 'Numero Do Destinatario',
561
+ name: 'remoteJid',
562
+ type: 'string',
563
+ default: '',
564
+ required: true,
565
+ description: 'RemoteJid do destinarario',
566
+ displayOptions: {
567
+ show: {
568
+ resource: ['integrations-api'],
569
+ operation: ['typebot'],
570
+ resourceForTypebot: ['startTypebot', 'changeStatusTypebot'],
571
+ },
572
+ },
573
+ },
574
+ {
575
+ displayName: 'Iniciar Seção',
576
+ name: 'startSession',
577
+ type: 'boolean',
578
+ default: false,
579
+ description: 'Whether to enable or disable integration with Chatwoot',
580
+ displayOptions: {
581
+ show: {
582
+ resource: ['integrations-api'],
583
+ operation: ['typebot'],
584
+ resourceForTypebot: ['startTypebot'],
585
+ },
586
+ },
587
+ },
588
+ {
589
+ displayName: 'Variáveis',
590
+ name: 'variables',
591
+ type: 'fixedCollection',
592
+ typeOptions: {
593
+ multipleValues: true,
594
+ },
595
+ default: {},
596
+ options: [
597
+ {
598
+ name: 'variable',
599
+ displayName: 'Variável',
600
+ values: [
601
+ {
602
+ displayName: 'Nome Da Variavel',
603
+ name: 'name',
604
+ type: 'string',
605
+ default: '',
606
+ description: 'Nome da variável',
607
+ },
608
+ {
609
+ displayName: 'Valor Da Variavel',
610
+ name: 'value',
611
+ type: 'string',
612
+ default: '',
613
+ description: 'Valor da variável',
614
+ },
615
+ ],
616
+ },
617
+ ],
618
+ description: 'Variáveis para enviar ao typebot',
619
+ displayOptions: {
620
+ show: {
621
+ resource: ['integrations-api'],
622
+ operation: ['typebot'],
623
+ resourceForTypebot: ['startTypebot'],
624
+ },
625
+ },
626
+ },
627
+ {
628
+ displayName: 'Status',
629
+ name: 'status',
630
+ type: 'options',
631
+ options: [
632
+ {
633
+ name: 'Aberta',
634
+ value: 'opened',
635
+ },
636
+ {
637
+ name: 'Pausada',
638
+ value: 'paused',
639
+ },
640
+ {
641
+ name: 'Fechada',
642
+ value: 'closed',
643
+ },
644
+ ],
645
+ default: 'opened',
646
+ description: 'Escolha qual será o status da seção',
647
+ displayOptions: {
648
+ show: {
649
+ resource: ['integrations-api'],
650
+ operation: ['typebot'],
651
+ resourceForTypebot: ['changeStatusTypebot'],
652
+ },
653
+ },
654
+ },
655
+ {
656
+ displayName: 'Nome Da Instancia',
657
+ name: 'instanceName',
658
+ type: 'string',
659
+ default: '',
660
+ required: true,
661
+ description: 'Digite o nome da instância que vai enviar a mensagem',
662
+ displayOptions: {
663
+ show: {
664
+ resource: ['integrations-api'],
665
+ operation: ['evolution-bot'],
666
+ },
667
+ },
668
+ },
669
+ {
670
+ displayName: 'O Que Deseja Fazer',
671
+ name: 'resourceForEvolutionBot',
672
+ type: 'options',
673
+ options: [
674
+ {
675
+ name: 'Adicionar Evolution Bot',
676
+ value: 'createEvolutionBot',
677
+ },
678
+ {
679
+ name: 'Verificar Evolution Bot',
680
+ value: 'findEvolutionBot',
681
+ },
682
+ {
683
+ name: 'Atualizar Evolution Bot',
684
+ value: 'updateEvolutionBot',
685
+ },
686
+ {
687
+ name: 'Deletar Evolution Bot',
688
+ value: 'deleteEvolutionBot',
689
+ },
690
+ {
691
+ name: 'Procurar Sessão No Evolution Bot',
692
+ value: 'fetchSessionsEvolutionBot',
693
+ },
694
+ {
695
+ name: 'Alterar Status Da Sessão No Evolution Bot',
696
+ value: 'changeStatusEvolutionBot',
697
+ },
698
+ ],
699
+ default: 'createEvolutionBot',
700
+ description: 'Escolha uma opção para realizar com a integração do EvolutionBot',
701
+ displayOptions: {
702
+ show: {
703
+ resource: ['integrations-api'],
704
+ operation: ['evolution-bot'],
705
+ },
706
+ },
707
+ },
708
+ {
709
+ displayName: 'ID Do Evolution Bot',
710
+ name: 'evolutionBotId',
711
+ type: 'string',
712
+ default: '',
713
+ description: 'Digite o ID do Evolution Bot que deseja buscar, deixe vazio para procurar todos',
714
+ displayOptions: {
715
+ show: {
716
+ resource: ['integrations-api'],
717
+ operation: ['evolution-bot'],
718
+ resourceForEvolutionBot: [
719
+ 'findEvolutionBot',
720
+ 'updateEvolutionBot',
721
+ 'deleteEvolutionBot',
722
+ 'fetchSessionsEvolutionBot',
723
+ 'changeStatusEvolutionBot',
724
+ ],
725
+ },
726
+ },
727
+ },
728
+ {
729
+ displayName: 'URL Da API Do Evolution Bot',
730
+ name: 'apiUrl',
731
+ type: 'string',
732
+ default: '',
733
+ required: true,
734
+ description: 'Digite a URL do seu Evolution Bot',
735
+ displayOptions: {
736
+ show: {
737
+ resource: ['integrations-api'],
738
+ operation: ['evolution-bot'],
739
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
740
+ },
741
+ },
742
+ },
743
+ {
744
+ displayName: 'ApiKey Da Evolution Bot',
745
+ name: 'apiKeyBot',
746
+ type: 'string',
747
+ typeOptions: { password: true },
748
+ default: '',
749
+ description: 'Digite a ApiKey do seu Evolution Bot',
750
+ displayOptions: {
751
+ show: {
752
+ resource: ['integrations-api'],
753
+ operation: ['evolution-bot'],
754
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
755
+ },
756
+ },
757
+ },
758
+ {
759
+ displayName: 'Tipo De Gatilho',
760
+ name: 'triggerType',
761
+ type: 'options',
762
+ options: [
763
+ {
764
+ name: 'Palavra Chave',
765
+ value: 'keyword',
766
+ },
767
+ {
768
+ name: 'Todos',
769
+ value: 'all',
770
+ },
771
+ ],
772
+ default: 'keyword',
773
+ description: 'Escolha uma opção para realizar com a integração do EvolutionBot',
774
+ displayOptions: {
775
+ show: {
776
+ resource: ['integrations-api'],
777
+ operation: ['evolution-bot'],
778
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
779
+ },
780
+ },
781
+ },
782
+ {
783
+ displayName: 'Operador Do Gatilho',
784
+ name: 'triggerOperator',
785
+ type: 'options',
786
+ options: [
787
+ {
788
+ name: 'Contem',
789
+ value: 'contains',
790
+ },
791
+ {
792
+ name: 'Igual À',
793
+ value: 'equals',
794
+ },
795
+ {
796
+ name: 'Começa com',
797
+ value: 'startsWith',
798
+ },
799
+ {
800
+ name: 'Termina com',
801
+ value: 'endsWith',
802
+ },
803
+ {
804
+ name: 'Regex',
805
+ value: 'regex',
806
+ },
807
+ ],
808
+ default: 'contains',
809
+ description: 'Escolha uma opção para realizar com a integração do EvolutionBot',
810
+ displayOptions: {
811
+ show: {
812
+ resource: ['integrations-api'],
813
+ operation: ['evolution-bot'],
814
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
815
+ triggerType: ['keyword'],
816
+ },
817
+ },
818
+ },
819
+ {
820
+ displayName: 'Gatilho',
821
+ name: 'triggerValue',
822
+ type: 'string',
823
+ default: '',
824
+ required: true,
825
+ description: 'Digite a palavra/frase ou regex para ser usado como gatilho para iniciar o EvolutionBot',
826
+ displayOptions: {
827
+ show: {
828
+ resource: ['integrations-api'],
829
+ operation: ['evolution-bot'],
830
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
831
+ triggerType: ['keyword'],
832
+ },
833
+ },
834
+ },
835
+ {
836
+ displayName: 'Expira Em (Minutos)',
837
+ name: 'expire',
838
+ type: 'number',
839
+ default: 0,
840
+ required: true,
841
+ description: 'Digite quantos minutos sem respostas o bot devera ser desativado',
842
+ displayOptions: {
843
+ show: {
844
+ resource: ['integrations-api'],
845
+ operation: ['evolution-bot'],
846
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
847
+ },
848
+ },
849
+ },
850
+ {
851
+ displayName: 'Palavra Chave De Finalização',
852
+ name: 'keywordFinish',
853
+ type: 'string',
854
+ default: '#sair',
855
+ required: true,
856
+ description: 'Digite a palavra/frase que sera usado para fechar o bot',
857
+ displayOptions: {
858
+ show: {
859
+ resource: ['integrations-api'],
860
+ operation: ['evolution-bot'],
861
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
862
+ },
863
+ },
864
+ },
865
+ {
866
+ displayName: 'Delay Padrão Da Mensagem (Em Milésimos)',
867
+ name: 'delayMessage',
868
+ type: 'number',
869
+ default: 1000,
870
+ required: true,
871
+ description: 'Digite quantos milisegundos o bot terá de delay',
872
+ displayOptions: {
873
+ show: {
874
+ resource: ['integrations-api'],
875
+ operation: ['evolution-bot'],
876
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
877
+ },
878
+ },
879
+ },
880
+ {
881
+ displayName: 'Palavra Chave De Finalização',
882
+ name: 'unknownMessage',
883
+ type: 'string',
884
+ default: 'Mensagem não reconhecida',
885
+ required: true,
886
+ description: 'Digite a palavra/frase que sera usado para fechar o bot',
887
+ displayOptions: {
888
+ show: {
889
+ resource: ['integrations-api'],
890
+ operation: ['evolution-bot'],
891
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
892
+ },
893
+ },
894
+ },
895
+ {
896
+ displayName: 'Escuta Mensagens Enviadas Por Mim',
897
+ name: 'listeningFromMe',
898
+ type: 'boolean',
899
+ default: false,
900
+ description: 'Whether',
901
+ displayOptions: {
902
+ show: {
903
+ resource: ['integrations-api'],
904
+ operation: ['evolution-bot'],
905
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
906
+ },
907
+ },
908
+ },
909
+ {
910
+ displayName: 'Pausa O Bot Quando Eu Enviar Uma Mensagem',
911
+ name: 'stopBotFromMe',
912
+ type: 'boolean',
913
+ default: false,
914
+ description: 'Whether',
915
+ displayOptions: {
916
+ show: {
917
+ resource: ['integrations-api'],
918
+ operation: ['evolution-bot'],
919
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
920
+ },
921
+ },
922
+ },
923
+ {
924
+ displayName: 'Mantem a Sessão Do Bot Aberta',
925
+ name: 'keepOpen',
926
+ type: 'boolean',
927
+ default: false,
928
+ description: 'Whether',
929
+ displayOptions: {
930
+ show: {
931
+ resource: ['integrations-api'],
932
+ operation: ['evolution-bot'],
933
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
934
+ },
935
+ },
936
+ },
937
+ {
938
+ displayName: 'Tempo De Espera (Em Segundos)',
939
+ name: 'debounceTime',
940
+ type: 'number',
941
+ default: 0,
942
+ required: true,
943
+ description: 'Este é o tempo que o bot ficará esperando as proximas mensagens após receber uma mensagem, depois ele juntará todas as mensagens em uma só',
944
+ displayOptions: {
945
+ show: {
946
+ resource: ['integrations-api'],
947
+ operation: ['evolution-bot'],
948
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
949
+ },
950
+ },
951
+ },
952
+ {
953
+ displayName: 'Numero Do Destinatario',
954
+ name: 'remoteJid',
955
+ type: 'string',
956
+ default: '',
957
+ required: true,
958
+ description: 'RemoteJid do destinarario',
959
+ displayOptions: {
960
+ show: {
961
+ resource: ['integrations-api'],
962
+ operation: ['evolution-bot'],
963
+ resourceForEvolutionBot: ['changeStatusEvolutionBot'],
964
+ },
965
+ },
966
+ },
967
+ {
968
+ displayName: 'Status',
969
+ name: 'status',
970
+ type: 'options',
971
+ options: [
972
+ {
973
+ name: 'Aberta',
974
+ value: 'opened',
975
+ },
976
+ {
977
+ name: 'Pausada',
978
+ value: 'paused',
979
+ },
980
+ {
981
+ name: 'Fechada',
982
+ value: 'closed',
983
+ },
984
+ ],
985
+ default: 'opened',
986
+ description: 'Escolha qual será o status da seção',
987
+ displayOptions: {
988
+ show: {
989
+ resource: ['integrations-api'],
990
+ operation: ['evolution-bot'],
991
+ resourceForEvolutionBot: ['changeStatusEvolutionBot'],
992
+ },
993
+ },
994
+ },
995
+ {
996
+ displayName: 'Nome Da Instancia',
997
+ name: 'instanceName',
998
+ type: 'string',
999
+ default: '',
1000
+ required: true,
1001
+ description: 'Digite o nome da instância que vai enviar a mensagem',
1002
+ displayOptions: {
1003
+ show: {
1004
+ resource: ['integrations-api'],
1005
+ operation: ['difyBot'],
1006
+ },
1007
+ },
1008
+ },
1009
+ {
1010
+ displayName: 'O Que Deseja Fazer',
1011
+ name: 'resourceForDifyBot',
1012
+ type: 'options',
1013
+ options: [
1014
+ {
1015
+ name: 'Adicionar Dify',
1016
+ value: 'createDify',
1017
+ },
1018
+ {
1019
+ name: 'Verificar Dify',
1020
+ value: 'findDify',
1021
+ },
1022
+ {
1023
+ name: 'Atualizar Dify',
1024
+ value: 'updateDify',
1025
+ },
1026
+ {
1027
+ name: 'Deletar Dify',
1028
+ value: 'deleteDify',
1029
+ },
1030
+ {
1031
+ name: 'Procurar Sessão No Dify',
1032
+ value: 'fetchSessionsDify',
1033
+ },
1034
+ {
1035
+ name: 'Alterar Status Da Sessão No Dify',
1036
+ value: 'changeStatusDify',
1037
+ },
1038
+ ],
1039
+ default: 'createDify',
1040
+ description: 'Escolha uma opção para realizar com a integração do Dify',
1041
+ displayOptions: {
1042
+ show: {
1043
+ resource: ['integrations-api'],
1044
+ operation: ['difyBot'],
1045
+ },
1046
+ },
1047
+ },
1048
+ {
1049
+ displayName: 'Tipo Do Bot',
1050
+ name: 'botType',
1051
+ type: 'options',
1052
+ options: [
1053
+ {
1054
+ name: 'Bot De Chat',
1055
+ value: 'chatBot',
1056
+ },
1057
+ {
1058
+ name: 'Gerador De Texto',
1059
+ value: 'textGenerator',
1060
+ },
1061
+ {
1062
+ name: 'Agente',
1063
+ value: 'agent',
1064
+ },
1065
+ {
1066
+ name: 'Fluxo De Trabalho',
1067
+ value: 'workflow',
1068
+ },
1069
+ ],
1070
+ default: 'chatBot',
1071
+ required: true,
1072
+ description: 'Escolha o tipo do bot Dify',
1073
+ displayOptions: {
1074
+ show: {
1075
+ resource: ['integrations-api'],
1076
+ operation: ['dify'],
1077
+ resourceForDifyBot: ['createDify'],
1078
+ },
1079
+ },
1080
+ },
1081
+ {
1082
+ displayName: 'ID Do Dify',
1083
+ name: 'difyBotId',
1084
+ type: 'string',
1085
+ default: '',
1086
+ description: 'Digite o ID do Dify que deseja buscar, deixe vazio para procurar todos',
1087
+ displayOptions: {
1088
+ show: {
1089
+ resource: ['integrations-api'],
1090
+ operation: ['difyBot'],
1091
+ resourceForDifyBot: [
1092
+ 'findDify',
1093
+ 'updateDify',
1094
+ 'deleteDify',
1095
+ 'fetchSessionsDify',
1096
+ 'changeStatusDify',
1097
+ ],
1098
+ },
1099
+ },
1100
+ },
1101
+ {
1102
+ displayName: 'Url Do Dify',
1103
+ name: 'apiUrl',
1104
+ type: 'string',
1105
+ default: '',
1106
+ required: true,
1107
+ description: 'Digite a URL do seu Dify',
1108
+ displayOptions: {
1109
+ show: {
1110
+ resource: ['integrations-api'],
1111
+ operation: ['difyBot'],
1112
+ resourceForDifyBot: ['createDify', 'updateDify'],
1113
+ },
1114
+ },
1115
+ },
1116
+ {
1117
+ displayName: 'ApiKey Do Dify',
1118
+ name: 'apiKeyBot',
1119
+ type: 'string',
1120
+ typeOptions: { password: true },
1121
+ default: '',
1122
+ required: true,
1123
+ description: 'Digite a ApiKey do seu bot do Dify',
1124
+ displayOptions: {
1125
+ show: {
1126
+ resource: ['integrations-api'],
1127
+ operation: ['difyBot'],
1128
+ resourceForDifyBot: ['createDify', 'updateDify'],
1129
+ },
1130
+ },
1131
+ },
1132
+ {
1133
+ displayName: 'Tipo De Gatilho',
1134
+ name: 'triggerType',
1135
+ type: 'options',
1136
+ options: [
1137
+ {
1138
+ name: 'Palavra Chave',
1139
+ value: 'keyword',
1140
+ },
1141
+ {
1142
+ name: 'Todos',
1143
+ value: 'all',
1144
+ },
1145
+ ],
1146
+ default: 'keyword',
1147
+ description: 'Escolha uma opção para realizar com a integração do Dify',
1148
+ displayOptions: {
1149
+ show: {
1150
+ resource: ['integrations-api'],
1151
+ operation: ['difyBot'],
1152
+ resourceForDifyBot: ['createDify', 'updateDify'],
1153
+ },
1154
+ },
1155
+ },
1156
+ {
1157
+ displayName: 'Operador Do Gatilho',
1158
+ name: 'triggerOperator',
1159
+ type: 'options',
1160
+ options: [
1161
+ {
1162
+ name: 'Contem',
1163
+ value: 'contains',
1164
+ },
1165
+ {
1166
+ name: 'Igual À',
1167
+ value: 'equals',
1168
+ },
1169
+ {
1170
+ name: 'Começa com',
1171
+ value: 'startsWith',
1172
+ },
1173
+ {
1174
+ name: 'Termina com',
1175
+ value: 'endsWith',
1176
+ },
1177
+ {
1178
+ name: 'Regex',
1179
+ value: 'regex',
1180
+ },
1181
+ ],
1182
+ default: 'contains',
1183
+ description: 'Escolha uma opção para realizar com a integração do Dify',
1184
+ displayOptions: {
1185
+ show: {
1186
+ resource: ['integrations-api'],
1187
+ operation: ['difyBot'],
1188
+ resourceForDifyBot: ['createDify', 'updateDify'],
1189
+ triggerType: ['keyword'],
1190
+ },
1191
+ },
1192
+ },
1193
+ {
1194
+ displayName: 'Gatilho',
1195
+ name: 'triggerValue',
1196
+ type: 'string',
1197
+ default: '',
1198
+ required: true,
1199
+ description: 'Digite a palavra/frase ou regex para ser usado como gatilho para iniciar o Dify',
1200
+ displayOptions: {
1201
+ show: {
1202
+ resource: ['integrations-api'],
1203
+ operation: ['difyBot'],
1204
+ resourceForDifyBot: ['createDify', 'updateDify'],
1205
+ triggerType: ['keyword'],
1206
+ },
1207
+ },
1208
+ },
1209
+ {
1210
+ displayName: 'Expira Em (Minutos)',
1211
+ name: 'expire',
1212
+ type: 'number',
1213
+ default: 0,
1214
+ required: true,
1215
+ description: 'Digite quantos minutos sem respostas o bot devera ser desativado',
1216
+ displayOptions: {
1217
+ show: {
1218
+ resource: ['integrations-api'],
1219
+ operation: ['difyBot'],
1220
+ resourceForDifyBot: ['createDify', 'updateDify'],
1221
+ },
1222
+ },
1223
+ },
1224
+ {
1225
+ displayName: 'Palavra Chave De Finalização',
1226
+ name: 'keywordFinish',
1227
+ type: 'string',
1228
+ default: '#sair',
1229
+ required: true,
1230
+ description: 'Digite a palavra/frase que sera usado para fechar o bot',
1231
+ displayOptions: {
1232
+ show: {
1233
+ resource: ['integrations-api'],
1234
+ operation: ['difyBot'],
1235
+ resourceForDifyBot: ['createDify', 'updateDify'],
1236
+ },
1237
+ },
1238
+ },
1239
+ {
1240
+ displayName: 'Delay Padrão Da Mensagem (Em Milésimos)',
1241
+ name: 'delayMessage',
1242
+ type: 'number',
1243
+ default: 1000,
1244
+ required: true,
1245
+ description: 'Digite quantos milisegundos o bot terá de delay',
1246
+ displayOptions: {
1247
+ show: {
1248
+ resource: ['integrations-api'],
1249
+ operation: ['difyBot'],
1250
+ resourceForDifyBot: ['createDify', 'updateDify'],
1251
+ },
1252
+ },
1253
+ },
1254
+ {
1255
+ displayName: 'Palavra Chave De Finalização',
1256
+ name: 'unknownMessage',
1257
+ type: 'string',
1258
+ default: 'Mensagem não reconhecida',
1259
+ required: true,
1260
+ description: 'Digite a palavra/frase que sera usado para fechar o bot',
1261
+ displayOptions: {
1262
+ show: {
1263
+ resource: ['integrations-api'],
1264
+ operation: ['difyBot'],
1265
+ resourceForDifyBot: ['createDify', 'updateDify'],
1266
+ },
1267
+ },
1268
+ },
1269
+ {
1270
+ displayName: 'Escuta Mensagens Enviadas Por Mim',
1271
+ name: 'listeningFromMe',
1272
+ type: 'boolean',
1273
+ default: false,
1274
+ description: 'Whether',
1275
+ displayOptions: {
1276
+ show: {
1277
+ resource: ['integrations-api'],
1278
+ operation: ['difyBot'],
1279
+ resourceForDifyBot: ['createDify', 'updateDify'],
1280
+ },
1281
+ },
1282
+ },
1283
+ {
1284
+ displayName: 'Pausa O Bot Quando Eu Enviar Uma Mensagem',
1285
+ name: 'stopBotFromMe',
1286
+ type: 'boolean',
1287
+ default: false,
1288
+ description: 'Whether',
1289
+ displayOptions: {
1290
+ show: {
1291
+ resource: ['integrations-api'],
1292
+ operation: ['difyBot'],
1293
+ resourceForDifyBot: ['createDify', 'updateDify'],
1294
+ },
1295
+ },
1296
+ },
1297
+ {
1298
+ displayName: 'Mantem a Sessão Do Bot Aberta',
1299
+ name: 'keepOpen',
1300
+ type: 'boolean',
1301
+ default: false,
1302
+ description: 'Whether',
1303
+ displayOptions: {
1304
+ show: {
1305
+ resource: ['integrations-api'],
1306
+ operation: ['difyBot'],
1307
+ resourceForDifyBot: ['createDify', 'updateDify'],
1308
+ },
1309
+ },
1310
+ },
1311
+ {
1312
+ displayName: 'Tempo De Espera (Em Segundos)',
1313
+ name: 'debounceTime',
1314
+ type: 'number',
1315
+ default: 0,
1316
+ required: true,
1317
+ description: 'Este é o tempo que o bot ficará esperando as proximas mensagens após receber uma mensagem, depois ele juntará todas as mensagens em uma só',
1318
+ displayOptions: {
1319
+ show: {
1320
+ resource: ['integrations-api'],
1321
+ operation: ['difyBot'],
1322
+ resourceForDifyBot: ['createDify', 'updateDify'],
1323
+ },
1324
+ },
1325
+ },
1326
+ {
1327
+ displayName: 'Numero Do Destinatario',
1328
+ name: 'remoteJid',
1329
+ type: 'string',
1330
+ default: '',
1331
+ required: true,
1332
+ description: 'RemoteJid do destinarario',
1333
+ displayOptions: {
1334
+ show: {
1335
+ resource: ['integrations-api'],
1336
+ operation: ['difyBot'],
1337
+ resourceForDifyBot: ['changeStatusDify'],
1338
+ },
1339
+ },
1340
+ },
1341
+ {
1342
+ displayName: 'Status',
1343
+ name: 'status',
1344
+ type: 'options',
1345
+ options: [
1346
+ {
1347
+ name: 'Aberta',
1348
+ value: 'opened',
1349
+ },
1350
+ {
1351
+ name: 'Pausada',
1352
+ value: 'paused',
1353
+ },
1354
+ {
1355
+ name: 'Fechada',
1356
+ value: 'closed',
1357
+ },
1358
+ ],
1359
+ default: 'opened',
1360
+ description: 'Escolha qual será o status da seção',
1361
+ displayOptions: {
1362
+ show: {
1363
+ resource: ['integrations-api'],
1364
+ operation: ['difyBot'],
1365
+ resourceForDifyBot: ['changeStatusDify'],
1366
+ },
1367
+ },
1368
+ },
1369
+ {
1370
+ displayName: 'Nome Da Instancia',
1371
+ name: 'instanceName',
1372
+ type: 'string',
1373
+ default: '',
1374
+ required: true,
1375
+ description: 'Digite o nome da instância que vai enviar a mensagem',
1376
+ displayOptions: {
1377
+ show: {
1378
+ resource: ['integrations-api'],
1379
+ operation: ['flowiseBot'],
1380
+ },
1381
+ },
1382
+ },
1383
+ {
1384
+ displayName: 'O Que Deseja Fazer',
1385
+ name: 'resourceForFlowiseBot',
1386
+ type: 'options',
1387
+ options: [
1388
+ {
1389
+ name: 'Adicionar Flowise',
1390
+ value: 'createFlowise',
1391
+ },
1392
+ {
1393
+ name: 'Verificar Flowise',
1394
+ value: 'findFlowise',
1395
+ },
1396
+ {
1397
+ name: 'Atualizar Flowise',
1398
+ value: 'updateFlowise',
1399
+ },
1400
+ {
1401
+ name: 'Deletar Flowise',
1402
+ value: 'deleteFlowise',
1403
+ },
1404
+ {
1405
+ name: 'Procurar Sessão No Flowise',
1406
+ value: 'fetchSessionsFlowise',
1407
+ },
1408
+ {
1409
+ name: 'Alterar Status Da Sessão No Flowise',
1410
+ value: 'changeStatusFlowise',
1411
+ },
1412
+ ],
1413
+ default: 'createFlowise',
1414
+ description: 'Escolha uma opção para realizar com a integração do Flowise',
1415
+ displayOptions: {
1416
+ show: {
1417
+ resource: ['integrations-api'],
1418
+ operation: ['flowiseBot'],
1419
+ },
1420
+ },
1421
+ },
1422
+ {
1423
+ displayName: 'ID Do Flowise',
1424
+ name: 'flowiseBotId',
1425
+ type: 'string',
1426
+ default: '',
1427
+ description: 'Digite o ID do Flowise que deseja buscar, deixe vazio para procurar todos',
1428
+ displayOptions: {
1429
+ show: {
1430
+ resource: ['integrations-api'],
1431
+ operation: ['flowiseBot'],
1432
+ resourceForFlowiseBot: [
1433
+ 'updateFlowise',
1434
+ 'findFlowise',
1435
+ 'deleteFlowise',
1436
+ 'fetchSessionsFlowise',
1437
+ 'changeStatusFlowise',
1438
+ ],
1439
+ },
1440
+ },
1441
+ },
1442
+ {
1443
+ displayName: 'Url Do Flowise',
1444
+ name: 'apiUrl',
1445
+ type: 'string',
1446
+ default: '',
1447
+ required: true,
1448
+ description: 'Digite a URL do seu Flowise',
1449
+ displayOptions: {
1450
+ show: {
1451
+ resource: ['integrations-api'],
1452
+ operation: ['flowiseBot'],
1453
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1454
+ },
1455
+ },
1456
+ },
1457
+ {
1458
+ displayName: 'ApiKey Do Flowise',
1459
+ name: 'apiKeyBot',
1460
+ type: 'string',
1461
+ typeOptions: { password: true },
1462
+ default: '',
1463
+ description: 'Digite a ApiKey do seu bot do Flowise',
1464
+ displayOptions: {
1465
+ show: {
1466
+ resource: ['integrations-api'],
1467
+ operation: ['flowiseBot'],
1468
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1469
+ },
1470
+ },
1471
+ },
1472
+ {
1473
+ displayName: 'Tipo De Gatilho',
1474
+ name: 'triggerType',
1475
+ type: 'options',
1476
+ options: [
1477
+ {
1478
+ name: 'Palavra Chave',
1479
+ value: 'keyword',
1480
+ },
1481
+ {
1482
+ name: 'Todos',
1483
+ value: 'all',
1484
+ },
1485
+ ],
1486
+ default: 'keyword',
1487
+ description: 'Escolha uma opção para realizar com a integração do Flowise',
1488
+ displayOptions: {
1489
+ show: {
1490
+ resource: ['integrations-api'],
1491
+ operation: ['flowiseBot'],
1492
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1493
+ },
1494
+ },
1495
+ },
1496
+ {
1497
+ displayName: 'Operador Do Gatilho',
1498
+ name: 'triggerOperator',
1499
+ type: 'options',
1500
+ options: [
1501
+ {
1502
+ name: 'Contem',
1503
+ value: 'contains',
1504
+ },
1505
+ {
1506
+ name: 'Igual À',
1507
+ value: 'equals',
1508
+ },
1509
+ {
1510
+ name: 'Começa com',
1511
+ value: 'startsWith',
1512
+ },
1513
+ {
1514
+ name: 'Termina com',
1515
+ value: 'endsWith',
1516
+ },
1517
+ {
1518
+ name: 'Regex',
1519
+ value: 'regex',
1520
+ },
1521
+ ],
1522
+ default: 'contains',
1523
+ description: 'Escolha uma opção para realizar com a integração do Flowise',
1524
+ displayOptions: {
1525
+ show: {
1526
+ resource: ['integrations-api'],
1527
+ operation: ['flowiseBot'],
1528
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1529
+ triggerType: ['keyword'],
1530
+ },
1531
+ },
1532
+ },
1533
+ {
1534
+ displayName: 'Gatilho',
1535
+ name: 'triggerValue',
1536
+ type: 'string',
1537
+ default: '',
1538
+ required: true,
1539
+ description: 'Digite a palavra/frase ou regex para ser usado como gatilho para iniciar o Flowise',
1540
+ displayOptions: {
1541
+ show: {
1542
+ resource: ['integrations-api'],
1543
+ operation: ['flowiseBot'],
1544
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1545
+ triggerType: ['keyword'],
1546
+ },
1547
+ },
1548
+ },
1549
+ {
1550
+ displayName: 'Expira Em (Minutos)',
1551
+ name: 'expire',
1552
+ type: 'number',
1553
+ default: 0,
1554
+ required: true,
1555
+ description: 'Digite quantos minutos sem respostas o bot devera ser desativado',
1556
+ displayOptions: {
1557
+ show: {
1558
+ resource: ['integrations-api'],
1559
+ operation: ['flowiseBot'],
1560
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1561
+ },
1562
+ },
1563
+ },
1564
+ {
1565
+ displayName: 'Palavra Chave De Finalização',
1566
+ name: 'keywordFinish',
1567
+ type: 'string',
1568
+ default: '#sair',
1569
+ required: true,
1570
+ description: 'Digite a palavra/frase que sera usado para fechar o bot',
1571
+ displayOptions: {
1572
+ show: {
1573
+ resource: ['integrations-api'],
1574
+ operation: ['flowiseBot'],
1575
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1576
+ },
1577
+ },
1578
+ },
1579
+ {
1580
+ displayName: 'Delay Padrão Da Mensagem (Em Milésimos)',
1581
+ name: 'delayMessage',
1582
+ type: 'number',
1583
+ default: 1000,
1584
+ required: true,
1585
+ description: 'Digite quantos milisegundos o bot terá de delay',
1586
+ displayOptions: {
1587
+ show: {
1588
+ resource: ['integrations-api'],
1589
+ operation: ['flowiseBot'],
1590
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1591
+ },
1592
+ },
1593
+ },
1594
+ {
1595
+ displayName: 'Palavra Chave De Finalização',
1596
+ name: 'unknownMessage',
1597
+ type: 'string',
1598
+ default: 'Mensagem não reconhecida',
1599
+ required: true,
1600
+ description: 'Digite a palavra/frase que sera usado para fechar o bot',
1601
+ displayOptions: {
1602
+ show: {
1603
+ resource: ['integrations-api'],
1604
+ operation: ['flowiseBot'],
1605
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1606
+ },
1607
+ },
1608
+ },
1609
+ {
1610
+ displayName: 'Escuta Mensagens Enviadas Por Mim',
1611
+ name: 'listeningFromMe',
1612
+ type: 'boolean',
1613
+ default: false,
1614
+ description: 'Whether',
1615
+ displayOptions: {
1616
+ show: {
1617
+ resource: ['integrations-api'],
1618
+ operation: ['flowiseBot'],
1619
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1620
+ },
1621
+ },
1622
+ },
1623
+ {
1624
+ displayName: 'Pausa O Bot Quando Eu Enviar Uma Mensagem',
1625
+ name: 'stopBotFromMe',
1626
+ type: 'boolean',
1627
+ default: false,
1628
+ description: 'Whether',
1629
+ displayOptions: {
1630
+ show: {
1631
+ resource: ['integrations-api'],
1632
+ operation: ['flowiseBot'],
1633
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1634
+ },
1635
+ },
1636
+ },
1637
+ {
1638
+ displayName: 'Mantem a Sessão Do Bot Aberta',
1639
+ name: 'keepOpen',
1640
+ type: 'boolean',
1641
+ default: false,
1642
+ description: 'Whether',
1643
+ displayOptions: {
1644
+ show: {
1645
+ resource: ['integrations-api'],
1646
+ operation: ['flowiseBot'],
1647
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1648
+ },
1649
+ },
1650
+ },
1651
+ {
1652
+ displayName: 'Tempo De Espera (Em Segundos)',
1653
+ name: 'debounceTime',
1654
+ type: 'number',
1655
+ default: 0,
1656
+ required: true,
1657
+ description: 'Este é o tempo que o bot ficará esperando as proximas mensagens após receber uma mensagem, depois ele juntará todas as mensagens em uma só',
1658
+ displayOptions: {
1659
+ show: {
1660
+ resource: ['integrations-api'],
1661
+ operation: ['flowiseBot'],
1662
+ resourceForFlowiseBot: ['createFlowise', 'updateFlowise'],
1663
+ },
1664
+ },
1665
+ },
1666
+ {
1667
+ displayName: 'Numero Do Destinatario',
1668
+ name: 'remoteJid',
1669
+ type: 'string',
1670
+ default: '',
1671
+ required: true,
1672
+ description: 'RemoteJid do destinarario',
1673
+ displayOptions: {
1674
+ show: {
1675
+ resource: ['integrations-api'],
1676
+ operation: ['flowiseBot'],
1677
+ resourceForFlowiseBot: ['changeStatusFlowise'],
1678
+ },
1679
+ },
1680
+ },
1681
+ {
1682
+ displayName: 'Status',
1683
+ name: 'status',
1684
+ type: 'options',
1685
+ options: [
1686
+ {
1687
+ name: 'Aberta',
1688
+ value: 'opened',
1689
+ },
1690
+ {
1691
+ name: 'Pausada',
1692
+ value: 'paused',
1693
+ },
1694
+ {
1695
+ name: 'Fechada',
1696
+ value: 'closed',
1697
+ },
1698
+ ],
1699
+ default: 'opened',
1700
+ description: 'Escolha qual será o status da seção',
1701
+ displayOptions: {
1702
+ show: {
1703
+ resource: ['integrations-api'],
1704
+ operation: ['flowiseBot'],
1705
+ resourceForFlowiseBot: ['changeStatusFlowise'],
1706
+ },
1707
+ },
1708
+ },
1709
+ {
1710
+ displayName: 'JIDs Ignorados',
1711
+ name: 'ignoreJids',
1712
+ type: 'string',
1713
+ typeOptions: {
1714
+ multipleValues: true,
1715
+ },
1716
+ default: [],
1717
+ description: 'Lista de JIDs que serão ignorados pelo bot',
1718
+ displayOptions: {
1719
+ show: {
1720
+ resource: ['integrations-api'],
1721
+ operation: ['evolution-bot'],
1722
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
1723
+ },
1724
+ },
1725
+ },
1726
+ {
1727
+ displayName: 'Tipo do Operador',
1728
+ name: 'triggerOperator',
1729
+ type: 'options',
1730
+ options: [
1731
+ {
1732
+ name: 'Contém',
1733
+ value: 'contains',
1734
+ },
1735
+ {
1736
+ name: 'Igual',
1737
+ value: 'equals',
1738
+ },
1739
+ {
1740
+ name: 'Começa Com',
1741
+ value: 'startsWith',
1742
+ },
1743
+ {
1744
+ name: 'Termina Com',
1745
+ value: 'endsWith',
1746
+ },
1747
+ {
1748
+ name: 'Regex',
1749
+ value: 'regex',
1750
+ },
1751
+ {
1752
+ name: 'Nenhum',
1753
+ value: 'none',
1754
+ },
1755
+ ],
1756
+ default: 'equals',
1757
+ description: 'Escolha o tipo de operador para o gatilho',
1758
+ displayOptions: {
1759
+ show: {
1760
+ resource: ['integrations-api'],
1761
+ operation: ['evolution-bot'],
1762
+ resourceForEvolutionBot: ['createEvolutionBot', 'updateEvolutionBot'],
1763
+ },
1764
+ },
1765
+ }
1766
+ ];
1767
+ //# sourceMappingURL=integrations.fields.js.map