n8n-nodes-stevomanager 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 (266) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +254 -0
  3. package/dist/credentials/StevoManager.credentials.d.ts +9 -0
  4. package/dist/credentials/StevoManager.credentials.js +50 -0
  5. package/dist/credentials/StevoManager.credentials.js.map +1 -0
  6. package/dist/credentials/StevoManagerApi.credentials.d.ts +9 -0
  7. package/dist/credentials/StevoManagerApi.credentials.js +50 -0
  8. package/dist/credentials/StevoManagerApi.credentials.js.map +1 -0
  9. package/dist/nodes/StevoManager/StevoManager.node.d.ts +5 -0
  10. package/dist/nodes/StevoManager/StevoManager.node.js +54 -0
  11. package/dist/nodes/StevoManager/StevoManager.node.js.map +1 -0
  12. package/dist/nodes/StevoManager/StevoManager.node.json +21 -0
  13. package/dist/nodes/StevoManager/execute/chat/blockContact.d.ts +27 -0
  14. package/dist/nodes/StevoManager/execute/chat/blockContact.js +51 -0
  15. package/dist/nodes/StevoManager/execute/chat/blockContact.js.map +1 -0
  16. package/dist/nodes/StevoManager/execute/chat/checkNumber.d.ts +27 -0
  17. package/dist/nodes/StevoManager/execute/chat/checkNumber.js +50 -0
  18. package/dist/nodes/StevoManager/execute/chat/checkNumber.js.map +1 -0
  19. package/dist/nodes/StevoManager/execute/chat/deleteMessage.d.ts +27 -0
  20. package/dist/nodes/StevoManager/execute/chat/deleteMessage.js +62 -0
  21. package/dist/nodes/StevoManager/execute/chat/deleteMessage.js.map +1 -0
  22. package/dist/nodes/StevoManager/execute/chat/fetchProfilePicture.d.ts +27 -0
  23. package/dist/nodes/StevoManager/execute/chat/fetchProfilePicture.js +49 -0
  24. package/dist/nodes/StevoManager/execute/chat/fetchProfilePicture.js.map +1 -0
  25. package/dist/nodes/StevoManager/execute/chat/findChats.d.ts +27 -0
  26. package/dist/nodes/StevoManager/execute/chat/findChats.js +57 -0
  27. package/dist/nodes/StevoManager/execute/chat/findChats.js.map +1 -0
  28. package/dist/nodes/StevoManager/execute/chat/findContacts.d.ts +27 -0
  29. package/dist/nodes/StevoManager/execute/chat/findContacts.js +55 -0
  30. package/dist/nodes/StevoManager/execute/chat/findContacts.js.map +1 -0
  31. package/dist/nodes/StevoManager/execute/chat/findMessages.d.ts +27 -0
  32. package/dist/nodes/StevoManager/execute/chat/findMessages.js +57 -0
  33. package/dist/nodes/StevoManager/execute/chat/findMessages.js.map +1 -0
  34. package/dist/nodes/StevoManager/execute/chat/findStatusMessages.d.ts +27 -0
  35. package/dist/nodes/StevoManager/execute/chat/findStatusMessages.js +58 -0
  36. package/dist/nodes/StevoManager/execute/chat/findStatusMessages.js.map +1 -0
  37. package/dist/nodes/StevoManager/execute/chat/getMediaBase64.d.ts +27 -0
  38. package/dist/nodes/StevoManager/execute/chat/getMediaBase64.js +55 -0
  39. package/dist/nodes/StevoManager/execute/chat/getMediaBase64.js.map +1 -0
  40. package/dist/nodes/StevoManager/execute/chat/manageArchive.d.ts +27 -0
  41. package/dist/nodes/StevoManager/execute/chat/manageArchive.js +60 -0
  42. package/dist/nodes/StevoManager/execute/chat/manageArchive.js.map +1 -0
  43. package/dist/nodes/StevoManager/execute/chat/markChatUnread.d.ts +27 -0
  44. package/dist/nodes/StevoManager/execute/chat/markChatUnread.js +58 -0
  45. package/dist/nodes/StevoManager/execute/chat/markChatUnread.js.map +1 -0
  46. package/dist/nodes/StevoManager/execute/chat/readMessages.d.ts +27 -0
  47. package/dist/nodes/StevoManager/execute/chat/readMessages.js +57 -0
  48. package/dist/nodes/StevoManager/execute/chat/readMessages.js.map +1 -0
  49. package/dist/nodes/StevoManager/execute/chat/sendPresence.d.ts +27 -0
  50. package/dist/nodes/StevoManager/execute/chat/sendPresence.js +53 -0
  51. package/dist/nodes/StevoManager/execute/chat/sendPresence.js.map +1 -0
  52. package/dist/nodes/StevoManager/execute/chat/updateMessage.d.ts +27 -0
  53. package/dist/nodes/StevoManager/execute/chat/updateMessage.js +57 -0
  54. package/dist/nodes/StevoManager/execute/chat/updateMessage.js.map +1 -0
  55. package/dist/nodes/StevoManager/execute/events/setProxy.d.ts +27 -0
  56. package/dist/nodes/StevoManager/execute/events/setProxy.js +63 -0
  57. package/dist/nodes/StevoManager/execute/events/setProxy.js.map +1 -0
  58. package/dist/nodes/StevoManager/execute/events/setRabbitMQ.d.ts +27 -0
  59. package/dist/nodes/StevoManager/execute/events/setRabbitMQ.js +83 -0
  60. package/dist/nodes/StevoManager/execute/events/setRabbitMQ.js.map +1 -0
  61. package/dist/nodes/StevoManager/execute/events/setWebhook.d.ts +27 -0
  62. package/dist/nodes/StevoManager/execute/events/setWebhook.js +89 -0
  63. package/dist/nodes/StevoManager/execute/events/setWebhook.js.map +1 -0
  64. package/dist/nodes/StevoManager/execute/evolutionRequest.d.ts +2 -0
  65. package/dist/nodes/StevoManager/execute/evolutionRequest.js +18 -0
  66. package/dist/nodes/StevoManager/execute/evolutionRequest.js.map +1 -0
  67. package/dist/nodes/StevoManager/execute/groups/createGroup.d.ts +27 -0
  68. package/dist/nodes/StevoManager/execute/groups/createGroup.js +54 -0
  69. package/dist/nodes/StevoManager/execute/groups/createGroup.js.map +1 -0
  70. package/dist/nodes/StevoManager/execute/groups/fetchGroups.d.ts +27 -0
  71. package/dist/nodes/StevoManager/execute/groups/fetchGroups.js +69 -0
  72. package/dist/nodes/StevoManager/execute/groups/fetchGroups.js.map +1 -0
  73. package/dist/nodes/StevoManager/execute/groups/fetchInviteCode.d.ts +27 -0
  74. package/dist/nodes/StevoManager/execute/groups/fetchInviteCode.js +45 -0
  75. package/dist/nodes/StevoManager/execute/groups/fetchInviteCode.js.map +1 -0
  76. package/dist/nodes/StevoManager/execute/groups/findParticipants.d.ts +27 -0
  77. package/dist/nodes/StevoManager/execute/groups/findParticipants.js +45 -0
  78. package/dist/nodes/StevoManager/execute/groups/findParticipants.js.map +1 -0
  79. package/dist/nodes/StevoManager/execute/groups/joinGroup.d.ts +27 -0
  80. package/dist/nodes/StevoManager/execute/groups/joinGroup.js +45 -0
  81. package/dist/nodes/StevoManager/execute/groups/joinGroup.js.map +1 -0
  82. package/dist/nodes/StevoManager/execute/groups/leaveGroup.d.ts +27 -0
  83. package/dist/nodes/StevoManager/execute/groups/leaveGroup.js +45 -0
  84. package/dist/nodes/StevoManager/execute/groups/leaveGroup.js.map +1 -0
  85. package/dist/nodes/StevoManager/execute/groups/revokeInviteCode.d.ts +27 -0
  86. package/dist/nodes/StevoManager/execute/groups/revokeInviteCode.js +45 -0
  87. package/dist/nodes/StevoManager/execute/groups/revokeInviteCode.js.map +1 -0
  88. package/dist/nodes/StevoManager/execute/groups/sendInviteLink.d.ts +27 -0
  89. package/dist/nodes/StevoManager/execute/groups/sendInviteLink.js +54 -0
  90. package/dist/nodes/StevoManager/execute/groups/sendInviteLink.js.map +1 -0
  91. package/dist/nodes/StevoManager/execute/groups/toggleEphemeral.d.ts +27 -0
  92. package/dist/nodes/StevoManager/execute/groups/toggleEphemeral.js +50 -0
  93. package/dist/nodes/StevoManager/execute/groups/toggleEphemeral.js.map +1 -0
  94. package/dist/nodes/StevoManager/execute/groups/updateGroupDescription.d.ts +27 -0
  95. package/dist/nodes/StevoManager/execute/groups/updateGroupDescription.js +50 -0
  96. package/dist/nodes/StevoManager/execute/groups/updateGroupDescription.js.map +1 -0
  97. package/dist/nodes/StevoManager/execute/groups/updateGroupName.d.ts +27 -0
  98. package/dist/nodes/StevoManager/execute/groups/updateGroupName.js +50 -0
  99. package/dist/nodes/StevoManager/execute/groups/updateGroupName.js.map +1 -0
  100. package/dist/nodes/StevoManager/execute/groups/updateGroupPicture.d.ts +27 -0
  101. package/dist/nodes/StevoManager/execute/groups/updateGroupPicture.js +50 -0
  102. package/dist/nodes/StevoManager/execute/groups/updateGroupPicture.js.map +1 -0
  103. package/dist/nodes/StevoManager/execute/groups/updateParticipants.d.ts +27 -0
  104. package/dist/nodes/StevoManager/execute/groups/updateParticipants.js +53 -0
  105. package/dist/nodes/StevoManager/execute/groups/updateParticipants.js.map +1 -0
  106. package/dist/nodes/StevoManager/execute/groups/updateSettings.d.ts +27 -0
  107. package/dist/nodes/StevoManager/execute/groups/updateSettings.js +50 -0
  108. package/dist/nodes/StevoManager/execute/groups/updateSettings.js.map +1 -0
  109. package/dist/nodes/StevoManager/execute/index.d.ts +8 -0
  110. package/dist/nodes/StevoManager/execute/index.js +148 -0
  111. package/dist/nodes/StevoManager/execute/index.js.map +1 -0
  112. package/dist/nodes/StevoManager/execute/instance/createInstanceBasic.d.ts +27 -0
  113. package/dist/nodes/StevoManager/execute/instance/createInstanceBasic.js +104 -0
  114. package/dist/nodes/StevoManager/execute/instance/createInstanceBasic.js.map +1 -0
  115. package/dist/nodes/StevoManager/execute/instance/deleteInstance.d.ts +27 -0
  116. package/dist/nodes/StevoManager/execute/instance/deleteInstance.js +48 -0
  117. package/dist/nodes/StevoManager/execute/instance/deleteInstance.js.map +1 -0
  118. package/dist/nodes/StevoManager/execute/instance/fetchInstances.d.ts +2 -0
  119. package/dist/nodes/StevoManager/execute/instance/fetchInstances.js +52 -0
  120. package/dist/nodes/StevoManager/execute/instance/fetchInstances.js.map +1 -0
  121. package/dist/nodes/StevoManager/execute/instance/instanceConnect.d.ts +2 -0
  122. package/dist/nodes/StevoManager/execute/instance/instanceConnect.js +56 -0
  123. package/dist/nodes/StevoManager/execute/instance/instanceConnect.js.map +1 -0
  124. package/dist/nodes/StevoManager/execute/instance/instanceSettings.d.ts +27 -0
  125. package/dist/nodes/StevoManager/execute/instance/instanceSettings.js +71 -0
  126. package/dist/nodes/StevoManager/execute/instance/instanceSettings.js.map +1 -0
  127. package/dist/nodes/StevoManager/execute/instance/logoutInstance.d.ts +2 -0
  128. package/dist/nodes/StevoManager/execute/instance/logoutInstance.js +52 -0
  129. package/dist/nodes/StevoManager/execute/instance/logoutInstance.js.map +1 -0
  130. package/dist/nodes/StevoManager/execute/instance/restartInstance.d.ts +27 -0
  131. package/dist/nodes/StevoManager/execute/instance/restartInstance.js +48 -0
  132. package/dist/nodes/StevoManager/execute/instance/restartInstance.js.map +1 -0
  133. package/dist/nodes/StevoManager/execute/instance/setPresence.d.ts +27 -0
  134. package/dist/nodes/StevoManager/execute/instance/setPresence.js +55 -0
  135. package/dist/nodes/StevoManager/execute/instance/setPresence.js.map +1 -0
  136. package/dist/nodes/StevoManager/execute/instance/setProxy.d.ts +27 -0
  137. package/dist/nodes/StevoManager/execute/instance/setProxy.js +89 -0
  138. package/dist/nodes/StevoManager/execute/instance/setProxy.js.map +1 -0
  139. package/dist/nodes/StevoManager/execute/integrations/setChatwoot.d.ts +27 -0
  140. package/dist/nodes/StevoManager/execute/integrations/setChatwoot.js +108 -0
  141. package/dist/nodes/StevoManager/execute/integrations/setChatwoot.js.map +1 -0
  142. package/dist/nodes/StevoManager/execute/integrations/setDifyBot.d.ts +27 -0
  143. package/dist/nodes/StevoManager/execute/integrations/setDifyBot.js +169 -0
  144. package/dist/nodes/StevoManager/execute/integrations/setDifyBot.js.map +1 -0
  145. package/dist/nodes/StevoManager/execute/integrations/setEvolutionBot.d.ts +27 -0
  146. package/dist/nodes/StevoManager/execute/integrations/setEvolutionBot.js +178 -0
  147. package/dist/nodes/StevoManager/execute/integrations/setEvolutionBot.js.map +1 -0
  148. package/dist/nodes/StevoManager/execute/integrations/setFlowiseBot.d.ts +27 -0
  149. package/dist/nodes/StevoManager/execute/integrations/setFlowiseBot.js +178 -0
  150. package/dist/nodes/StevoManager/execute/integrations/setFlowiseBot.js.map +1 -0
  151. package/dist/nodes/StevoManager/execute/integrations/setTypebot.d.ts +27 -0
  152. package/dist/nodes/StevoManager/execute/integrations/setTypebot.js +194 -0
  153. package/dist/nodes/StevoManager/execute/integrations/setTypebot.js.map +1 -0
  154. package/dist/nodes/StevoManager/execute/messages/sendAudio.d.ts +2 -0
  155. package/dist/nodes/StevoManager/execute/messages/sendAudio.js +82 -0
  156. package/dist/nodes/StevoManager/execute/messages/sendAudio.js.map +1 -0
  157. package/dist/nodes/StevoManager/execute/messages/sendButtons.d.ts +2 -0
  158. package/dist/nodes/StevoManager/execute/messages/sendButtons.js +35 -0
  159. package/dist/nodes/StevoManager/execute/messages/sendButtons.js.map +1 -0
  160. package/dist/nodes/StevoManager/execute/messages/sendContact.d.ts +2 -0
  161. package/dist/nodes/StevoManager/execute/messages/sendContact.js +83 -0
  162. package/dist/nodes/StevoManager/execute/messages/sendContact.js.map +1 -0
  163. package/dist/nodes/StevoManager/execute/messages/sendDocument.d.ts +2 -0
  164. package/dist/nodes/StevoManager/execute/messages/sendDocument.js +95 -0
  165. package/dist/nodes/StevoManager/execute/messages/sendDocument.js.map +1 -0
  166. package/dist/nodes/StevoManager/execute/messages/sendImage.d.ts +2 -0
  167. package/dist/nodes/StevoManager/execute/messages/sendImage.js +95 -0
  168. package/dist/nodes/StevoManager/execute/messages/sendImage.js.map +1 -0
  169. package/dist/nodes/StevoManager/execute/messages/sendList.d.ts +2 -0
  170. package/dist/nodes/StevoManager/execute/messages/sendList.js +35 -0
  171. package/dist/nodes/StevoManager/execute/messages/sendList.js.map +1 -0
  172. package/dist/nodes/StevoManager/execute/messages/sendPix.d.ts +2 -0
  173. package/dist/nodes/StevoManager/execute/messages/sendPix.js +35 -0
  174. package/dist/nodes/StevoManager/execute/messages/sendPix.js.map +1 -0
  175. package/dist/nodes/StevoManager/execute/messages/sendPoll.d.ts +2 -0
  176. package/dist/nodes/StevoManager/execute/messages/sendPoll.js +89 -0
  177. package/dist/nodes/StevoManager/execute/messages/sendPoll.js.map +1 -0
  178. package/dist/nodes/StevoManager/execute/messages/sendReaction.d.ts +2 -0
  179. package/dist/nodes/StevoManager/execute/messages/sendReaction.js +74 -0
  180. package/dist/nodes/StevoManager/execute/messages/sendReaction.js.map +1 -0
  181. package/dist/nodes/StevoManager/execute/messages/sendStories.d.ts +2 -0
  182. package/dist/nodes/StevoManager/execute/messages/sendStories.js +35 -0
  183. package/dist/nodes/StevoManager/execute/messages/sendStories.js.map +1 -0
  184. package/dist/nodes/StevoManager/execute/messages/sendText.d.ts +2 -0
  185. package/dist/nodes/StevoManager/execute/messages/sendText.js +88 -0
  186. package/dist/nodes/StevoManager/execute/messages/sendText.js.map +1 -0
  187. package/dist/nodes/StevoManager/execute/messages/sendVideo.d.ts +2 -0
  188. package/dist/nodes/StevoManager/execute/messages/sendVideo.js +95 -0
  189. package/dist/nodes/StevoManager/execute/messages/sendVideo.js.map +1 -0
  190. package/dist/nodes/StevoManager/execute/profile/fetchBusinessProfile.d.ts +27 -0
  191. package/dist/nodes/StevoManager/execute/profile/fetchBusinessProfile.js +49 -0
  192. package/dist/nodes/StevoManager/execute/profile/fetchBusinessProfile.js.map +1 -0
  193. package/dist/nodes/StevoManager/execute/profile/fetchPrivacySettings.d.ts +27 -0
  194. package/dist/nodes/StevoManager/execute/profile/fetchPrivacySettings.js +44 -0
  195. package/dist/nodes/StevoManager/execute/profile/fetchPrivacySettings.js.map +1 -0
  196. package/dist/nodes/StevoManager/execute/profile/fetchProfile.d.ts +27 -0
  197. package/dist/nodes/StevoManager/execute/profile/fetchProfile.js +49 -0
  198. package/dist/nodes/StevoManager/execute/profile/fetchProfile.js.map +1 -0
  199. package/dist/nodes/StevoManager/execute/profile/removeProfilePicture.d.ts +27 -0
  200. package/dist/nodes/StevoManager/execute/profile/removeProfilePicture.js +44 -0
  201. package/dist/nodes/StevoManager/execute/profile/removeProfilePicture.js.map +1 -0
  202. package/dist/nodes/StevoManager/execute/profile/updatePrivacySettings.d.ts +27 -0
  203. package/dist/nodes/StevoManager/execute/profile/updatePrivacySettings.js +59 -0
  204. package/dist/nodes/StevoManager/execute/profile/updatePrivacySettings.js.map +1 -0
  205. package/dist/nodes/StevoManager/execute/profile/updateProfileName.d.ts +27 -0
  206. package/dist/nodes/StevoManager/execute/profile/updateProfileName.js +49 -0
  207. package/dist/nodes/StevoManager/execute/profile/updateProfileName.js.map +1 -0
  208. package/dist/nodes/StevoManager/execute/profile/updateProfilePicture.d.ts +27 -0
  209. package/dist/nodes/StevoManager/execute/profile/updateProfilePicture.js +49 -0
  210. package/dist/nodes/StevoManager/execute/profile/updateProfilePicture.js.map +1 -0
  211. package/dist/nodes/StevoManager/execute/profile/updateProfileStatus.d.ts +27 -0
  212. package/dist/nodes/StevoManager/execute/profile/updateProfileStatus.js +49 -0
  213. package/dist/nodes/StevoManager/execute/profile/updateProfileStatus.js.map +1 -0
  214. package/dist/nodes/StevoManager/properties/chat.fields.d.ts +2 -0
  215. package/dist/nodes/StevoManager/properties/chat.fields.js +575 -0
  216. package/dist/nodes/StevoManager/properties/chat.fields.js.map +1 -0
  217. package/dist/nodes/StevoManager/properties/chat.operations.d.ts +2 -0
  218. package/dist/nodes/StevoManager/properties/chat.operations.js +102 -0
  219. package/dist/nodes/StevoManager/properties/chat.operations.js.map +1 -0
  220. package/dist/nodes/StevoManager/properties/events.fields.d.ts +2 -0
  221. package/dist/nodes/StevoManager/properties/events.fields.js +336 -0
  222. package/dist/nodes/StevoManager/properties/events.fields.js.map +1 -0
  223. package/dist/nodes/StevoManager/properties/events.operations.d.ts +2 -0
  224. package/dist/nodes/StevoManager/properties/events.operations.js +30 -0
  225. package/dist/nodes/StevoManager/properties/events.operations.js.map +1 -0
  226. package/dist/nodes/StevoManager/properties/groups.fields.d.ts +2 -0
  227. package/dist/nodes/StevoManager/properties/groups.fields.js +481 -0
  228. package/dist/nodes/StevoManager/properties/groups.fields.js.map +1 -0
  229. package/dist/nodes/StevoManager/properties/groups.operations.d.ts +2 -0
  230. package/dist/nodes/StevoManager/properties/groups.operations.js +102 -0
  231. package/dist/nodes/StevoManager/properties/groups.operations.js.map +1 -0
  232. package/dist/nodes/StevoManager/properties/index.d.ts +2 -0
  233. package/dist/nodes/StevoManager/properties/index.js +72 -0
  234. package/dist/nodes/StevoManager/properties/index.js.map +1 -0
  235. package/dist/nodes/StevoManager/properties/instances.fields.d.ts +2 -0
  236. package/dist/nodes/StevoManager/properties/instances.fields.js +798 -0
  237. package/dist/nodes/StevoManager/properties/instances.fields.js.map +1 -0
  238. package/dist/nodes/StevoManager/properties/instances.operations.d.ts +2 -0
  239. package/dist/nodes/StevoManager/properties/instances.operations.js +72 -0
  240. package/dist/nodes/StevoManager/properties/instances.operations.js.map +1 -0
  241. package/dist/nodes/StevoManager/properties/integrations.fields.d.ts +2 -0
  242. package/dist/nodes/StevoManager/properties/integrations.fields.js +1697 -0
  243. package/dist/nodes/StevoManager/properties/integrations.fields.js.map +1 -0
  244. package/dist/nodes/StevoManager/properties/integrations.operations.d.ts +2 -0
  245. package/dist/nodes/StevoManager/properties/integrations.operations.js +48 -0
  246. package/dist/nodes/StevoManager/properties/integrations.operations.js.map +1 -0
  247. package/dist/nodes/StevoManager/properties/messages.fields.d.ts +2 -0
  248. package/dist/nodes/StevoManager/properties/messages.fields.js +1628 -0
  249. package/dist/nodes/StevoManager/properties/messages.fields.js.map +1 -0
  250. package/dist/nodes/StevoManager/properties/messages.operations.d.ts +2 -0
  251. package/dist/nodes/StevoManager/properties/messages.operations.js +90 -0
  252. package/dist/nodes/StevoManager/properties/messages.operations.js.map +1 -0
  253. package/dist/nodes/StevoManager/properties/profile.fields.d.ts +2 -0
  254. package/dist/nodes/StevoManager/properties/profile.fields.js +241 -0
  255. package/dist/nodes/StevoManager/properties/profile.fields.js.map +1 -0
  256. package/dist/nodes/StevoManager/properties/profile.operations.d.ts +2 -0
  257. package/dist/nodes/StevoManager/properties/profile.operations.js +66 -0
  258. package/dist/nodes/StevoManager/properties/profile.operations.js.map +1 -0
  259. package/dist/nodes/StevoManager/properties/resources.d.ts +2 -0
  260. package/dist/nodes/StevoManager/properties/resources.js +41 -0
  261. package/dist/nodes/StevoManager/properties/resources.js.map +1 -0
  262. package/dist/nodes/StevoManager/stevomanager.png +0 -0
  263. package/dist/package.json +69 -0
  264. package/dist/tsconfig.tsbuildinfo +1 -0
  265. package/index.js +0 -0
  266. package/package.json +69 -0
@@ -0,0 +1,148 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resourceOperationsFunctions = void 0;
4
+ const createInstanceBasic_1 = require("./instance/createInstanceBasic");
5
+ const deleteInstance_1 = require("./instance/deleteInstance");
6
+ const fetchInstances_1 = require("./instance/fetchInstances");
7
+ const instanceConnect_1 = require("./instance/instanceConnect");
8
+ const instanceSettings_1 = require("./instance/instanceSettings");
9
+ const logoutInstance_1 = require("./instance/logoutInstance");
10
+ const restartInstance_1 = require("./instance/restartInstance");
11
+ const setPresence_1 = require("./instance/setPresence");
12
+ const setProxy_1 = require("./instance/setProxy");
13
+ const setChatwoot_1 = require("./integrations/setChatwoot");
14
+ const setEvolutionBot_1 = require("./integrations/setEvolutionBot");
15
+ const setTypebot_1 = require("./integrations/setTypebot");
16
+ const sendAudio_1 = require("./messages/sendAudio");
17
+ const sendDocument_1 = require("./messages/sendDocument");
18
+ const sendImage_1 = require("./messages/sendImage");
19
+ const sendPoll_1 = require("./messages/sendPoll");
20
+ const sendContact_1 = require("./messages/sendContact");
21
+ const sendStories_1 = require("./messages/sendStories");
22
+ const sendText_1 = require("./messages/sendText");
23
+ const sendVideo_1 = require("./messages/sendVideo");
24
+ const setRabbitMQ_1 = require("./events/setRabbitMQ");
25
+ const setWebhook_1 = require("./events/setWebhook");
26
+ const setDifyBot_1 = require("./integrations/setDifyBot");
27
+ const setFlowiseBot_1 = require("./integrations/setFlowiseBot");
28
+ const sendList_1 = require("./messages/sendList");
29
+ const sendButtons_1 = require("./messages/sendButtons");
30
+ const sendPix_1 = require("./messages/sendPix");
31
+ const sendReaction_1 = require("./messages/sendReaction");
32
+ const createGroup_1 = require("./groups/createGroup");
33
+ const updateGroupPicture_1 = require("./groups/updateGroupPicture");
34
+ const updateGroupName_1 = require("./groups/updateGroupName");
35
+ const updateGroupDescription_1 = require("./groups/updateGroupDescription");
36
+ const fetchInviteCode_1 = require("./groups/fetchInviteCode");
37
+ const revokeInviteCode_1 = require("./groups/revokeInviteCode");
38
+ const sendInviteLink_1 = require("./groups/sendInviteLink");
39
+ const fetchGroups_1 = require("./groups/fetchGroups");
40
+ const findParticipants_1 = require("./groups/findParticipants");
41
+ const updateParticipants_1 = require("./groups/updateParticipants");
42
+ const updateSettings_1 = require("./groups/updateSettings");
43
+ const toggleEphemeral_1 = require("./groups/toggleEphemeral");
44
+ const leaveGroup_1 = require("./groups/leaveGroup");
45
+ const checkNumber_1 = require("./chat/checkNumber");
46
+ const readMessages_1 = require("./chat/readMessages");
47
+ const manageArchive_1 = require("./chat/manageArchive");
48
+ const markChatUnread_1 = require("./chat/markChatUnread");
49
+ const deleteMessage_1 = require("./chat/deleteMessage");
50
+ const fetchProfilePicture_1 = require("./chat/fetchProfilePicture");
51
+ const getMediaBase64_1 = require("./chat/getMediaBase64");
52
+ const updateMessage_1 = require("./chat/updateMessage");
53
+ const sendPresence_1 = require("./chat/sendPresence");
54
+ const blockContact_1 = require("./chat/blockContact");
55
+ const findContacts_1 = require("./chat/findContacts");
56
+ const findMessages_1 = require("./chat/findMessages");
57
+ const findStatusMessages_1 = require("./chat/findStatusMessages");
58
+ const findChats_1 = require("./chat/findChats");
59
+ const fetchBusinessProfile_1 = require("./profile/fetchBusinessProfile");
60
+ const fetchProfile_1 = require("./profile/fetchProfile");
61
+ const updateProfileName_1 = require("./profile/updateProfileName");
62
+ const updateProfileStatus_1 = require("./profile/updateProfileStatus");
63
+ const updateProfilePicture_1 = require("./profile/updateProfilePicture");
64
+ const removeProfilePicture_1 = require("./profile/removeProfilePicture");
65
+ const fetchPrivacySettings_1 = require("./profile/fetchPrivacySettings");
66
+ const updatePrivacySettings_1 = require("./profile/updatePrivacySettings");
67
+ const joinGroup_1 = require("./groups/joinGroup");
68
+ exports.resourceOperationsFunctions = {
69
+ 'instances-api': {
70
+ 'instance-basic': createInstanceBasic_1.createInstanceBasic,
71
+ 'instance-connect': instanceConnect_1.instanceConnect,
72
+ 'restart-instance': restartInstance_1.restartInstance,
73
+ 'logout-instance': logoutInstance_1.logoutInstance,
74
+ 'set-presence': setPresence_1.setPresence,
75
+ 'delete-instance': deleteInstance_1.deleteInstance,
76
+ 'fetch-instances': fetchInstances_1.fetchInstances,
77
+ 'instance-settings': instanceSettings_1.instanceSettings,
78
+ 'set-proxy': setProxy_1.setProxy,
79
+ },
80
+ 'messages-api': {
81
+ 'send-text': sendText_1.sendText,
82
+ 'send-image': sendImage_1.sendImage,
83
+ 'send-video': sendVideo_1.sendVideo,
84
+ 'send-audio': sendAudio_1.sendAudio,
85
+ 'send-document': sendDocument_1.sendDocument,
86
+ 'send-poll': sendPoll_1.sendPoll,
87
+ 'send-contact': sendContact_1.sendContact,
88
+ 'send-list': sendList_1.sendList,
89
+ 'send-buttons': sendButtons_1.sendButtons,
90
+ 'send-stories': sendStories_1.sendStories,
91
+ 'send-pix': sendPix_1.sendPix,
92
+ 'send-reaction': sendReaction_1.sendReaction,
93
+ },
94
+ 'events-api': {
95
+ 'webhook': setWebhook_1.setWebhook,
96
+ 'rabbitmq': setRabbitMQ_1.setRabbitMQ,
97
+ },
98
+ 'integrations-api': {
99
+ 'chatwoot': setChatwoot_1.setChatwoot,
100
+ 'typebot': setTypebot_1.setTypebot,
101
+ 'evolution-bot': setEvolutionBot_1.setEvolutionBot,
102
+ 'difyBot': setDifyBot_1.setDifyBot,
103
+ 'flowise-bot': setFlowiseBot_1.setFlowiseBot,
104
+ },
105
+ 'groups-api': {
106
+ 'create-group': createGroup_1.createGroup,
107
+ 'update-group-picture': updateGroupPicture_1.updateGroupPicture,
108
+ 'update-group-name': updateGroupName_1.updateGroupName,
109
+ 'update-group-description': updateGroupDescription_1.updateGroupDescription,
110
+ 'fetch-invite-code': fetchInviteCode_1.fetchInviteCode,
111
+ 'revoke-invite-code': revokeInviteCode_1.revokeInviteCode,
112
+ 'send-invite-link': sendInviteLink_1.sendInviteLink,
113
+ 'fetch-groups': fetchGroups_1.fetchGroups,
114
+ 'find-participants': findParticipants_1.findParticipants,
115
+ 'update-participants': updateParticipants_1.updateParticipants,
116
+ 'update-settings': updateSettings_1.updateSettings,
117
+ 'toggle-ephemeral': toggleEphemeral_1.toggleEphemeral,
118
+ 'join-group': joinGroup_1.joinGroup,
119
+ 'leave-group': leaveGroup_1.leaveGroup,
120
+ },
121
+ 'chat-api': {
122
+ 'check-number': checkNumber_1.checkNumber,
123
+ 'read-messages': readMessages_1.readMessages,
124
+ 'manage-archive': manageArchive_1.manageArchive,
125
+ 'mark-unread': markChatUnread_1.markChatUnread,
126
+ 'delete-message': deleteMessage_1.deleteMessage,
127
+ 'fetch-profile-picture': fetchProfilePicture_1.fetchProfilePicture,
128
+ 'get-media-base64': getMediaBase64_1.getMediaBase64,
129
+ 'update-message': updateMessage_1.updateMessage,
130
+ 'send-presence': sendPresence_1.sendPresence,
131
+ 'block-contact': blockContact_1.blockContact,
132
+ 'find-contacts': findContacts_1.findContacts,
133
+ 'find-messages': findMessages_1.findMessages,
134
+ 'find-status-messages': findStatusMessages_1.findStatusMessages,
135
+ 'find-chats': findChats_1.findChats,
136
+ },
137
+ 'profile-api': {
138
+ 'fetch-profile': fetchProfile_1.fetchProfile,
139
+ 'fetch-business-profile': fetchBusinessProfile_1.fetchBusinessProfile,
140
+ 'update-profile-name': updateProfileName_1.updateProfileName,
141
+ 'update-profile-status': updateProfileStatus_1.updateProfileStatus,
142
+ 'update-profile-picture': updateProfilePicture_1.updateProfilePicture,
143
+ 'remove-profile-picture': removeProfilePicture_1.removeProfilePicture,
144
+ 'fetch-privacy-settings': fetchPrivacySettings_1.fetchPrivacySettings,
145
+ 'update-privacy-settings': updatePrivacySettings_1.updatePrivacySettings,
146
+ },
147
+ };
148
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/StevoManager/execute/index.ts"],"names":[],"mappings":";;;AACA,wEAAqE;AACrE,8DAA2D;AAC3D,8DAA2D;AAC3D,gEAA6D;AAC7D,kEAA+D;AAC/D,8DAA2D;AAC3D,gEAA6D;AAC7D,wDAAqD;AACrD,kDAA+C;AAC/C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AE,qBAAS;KACvB;IACD,aAAa,EAAE;QACd,eAAe,EAAE,2BAAY;QAC7B,wBAAwB,EAAE,2CAAoB;QAC9C,qBAAqB,EAAE,qCAAiB;QACxC,uBAAuB,EAAE,yCAAmB;QAC5C,wBAAwB,EAAE,2CAAoB;QAC9C,wBAAwB,EAAE,2CAAoB;QAC9C,wBAAwB,EAAE,2CAAoB;QAC9C,yBAAyB,EAAE,6CAAqB;KAChD;CACD,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function createInstanceBasic(ef: IExecuteFunctions): Promise<{
3
+ json: {
4
+ success: boolean;
5
+ data: any;
6
+ };
7
+ error?: undefined;
8
+ } | {
9
+ json: {
10
+ success: boolean;
11
+ error: {
12
+ message: string;
13
+ details: any;
14
+ code: any;
15
+ timestamp: string;
16
+ };
17
+ };
18
+ error: {
19
+ success: boolean;
20
+ error: {
21
+ message: string;
22
+ details: any;
23
+ code: any;
24
+ timestamp: string;
25
+ };
26
+ };
27
+ }>;
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createInstanceBasic = createInstanceBasic;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const evolutionRequest_1 = require("../evolutionRequest");
6
+ async function createInstanceBasic(ef) {
7
+ try {
8
+ const instanceName = ef.getNodeParameter('instanceName', 0);
9
+ const token = ef.getNodeParameter('token', 0) || '';
10
+ const number = ef.getNodeParameter('number', 0) || '';
11
+ const body = {
12
+ instanceName,
13
+ integration: 'WHATSAPP-BAILEYS',
14
+ };
15
+ if (token) {
16
+ body.token = token;
17
+ }
18
+ if (number) {
19
+ body.number = number;
20
+ }
21
+ const instanceSettings = ef.getNodeParameter('options_Create_instance.instanceSettings.settings', 0, {});
22
+ if (instanceSettings && Object.keys(instanceSettings).length > 0) {
23
+ Object.assign(body, instanceSettings);
24
+ }
25
+ const proxySettings = ef.getNodeParameter('options_Create_instance.proxy.proxySettings', 0, {});
26
+ if (proxySettings && Object.keys(proxySettings).length > 0) {
27
+ Object.assign(body, {
28
+ proxyHost: proxySettings.proxyHost || '',
29
+ proxyPort: proxySettings.proxyPort ? String(proxySettings.proxyPort) : '1234',
30
+ proxyProtocol: proxySettings.proxyProtocol || '',
31
+ proxyUsername: proxySettings.proxyUsername || '',
32
+ proxyPassword: proxySettings.proxyPassword || '',
33
+ });
34
+ }
35
+ const webhookSettings = ef.getNodeParameter('options_Create_instance.webhook.webhookSettings', 0, {});
36
+ if (webhookSettings && Object.keys(webhookSettings).length > 0) {
37
+ Object.assign(body, {
38
+ webhook: {
39
+ url: webhookSettings.webhookUrl || '',
40
+ byEvents: webhookSettings.webhookByEvents || false,
41
+ base64: webhookSettings.webhookBase64 || false,
42
+ events: webhookSettings.webhookEvents || [],
43
+ },
44
+ });
45
+ }
46
+ const rabbitmqSettings = ef.getNodeParameter('options_Create_instance.rabbitmq.rabbitmqSettings', 0, {});
47
+ if (rabbitmqSettings && Object.keys(rabbitmqSettings).length > 0) {
48
+ Object.assign(body, {
49
+ rabbitmq: {
50
+ enabled: rabbitmqSettings.rabbitmqEnabled || false,
51
+ events: rabbitmqSettings.rabbitmqEvents || [],
52
+ },
53
+ });
54
+ }
55
+ const chatwootSettings = ef.getNodeParameter('options_Create_instance.chatwoot.chatwootSettings', 0, {});
56
+ if (chatwootSettings && Object.keys(chatwootSettings).length > 0) {
57
+ Object.assign(body, {
58
+ chatwootAccountId: chatwootSettings.chatwootAccountId || '',
59
+ chatwootToken: chatwootSettings.chatwootToken || '',
60
+ chatwootUrl: chatwootSettings.chatwootUrl || '',
61
+ chatwootSignMsg: chatwootSettings.chatwootSignMsg !== undefined ? chatwootSettings.chatwootSignMsg : false,
62
+ });
63
+ }
64
+ const options = {
65
+ method: 'POST',
66
+ uri: `/instance/create`,
67
+ body,
68
+ json: true,
69
+ };
70
+ const response = await (0, evolutionRequest_1.evolutionRequest)(ef, options);
71
+ return {
72
+ json: {
73
+ success: true,
74
+ data: response,
75
+ },
76
+ };
77
+ }
78
+ catch (error) {
79
+ const errorData = {
80
+ success: false,
81
+ error: {
82
+ message: error.message.includes('Could not get parameter')
83
+ ? 'Parâmetros inválidos ou ausentes'
84
+ : 'Erro ao criar instância',
85
+ details: error.message.includes('Could not get parameter')
86
+ ? 'Verifique se todos os campos obrigatórios foram preenchidos corretamente'
87
+ : error.message,
88
+ code: error.code || 'UNKNOWN_ERROR',
89
+ timestamp: new Date().toISOString(),
90
+ },
91
+ };
92
+ if (!ef.continueOnFail()) {
93
+ throw new n8n_workflow_1.NodeOperationError(ef.getNode(), error.message, {
94
+ message: errorData.error.message,
95
+ description: errorData.error.details,
96
+ });
97
+ }
98
+ return {
99
+ json: errorData,
100
+ error: errorData,
101
+ };
102
+ }
103
+ }
104
+ //# sourceMappingURL=createInstanceBasic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createInstanceBasic.js","sourceRoot":"","sources":["../../../../../nodes/StevoManager/execute/instance/createInstanceBasic.ts"],"names":[],"mappings":";;AAQA,kDA2KC;AAnLD,+CAKsB;AACtB,0DAAuD;AAEhD,KAAK,UAAU,mBAAmB,CAAC,EAAqB;IAC9D,IAAI,CAAC;QACJ,MAAM,YAAY,GAAG,EAAE,CAAC,gBAAgB,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAC5D,MAAM,KAAK,GAAG,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QACpD,MAAM,MAAM,GAAG,EAAE,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QAEtD,MAAM,IAAI,GAAQ;YACjB,YAAY;YACZ,WAAW,EAAE,kBAAkB;SAC/B,CAAC;QAEF,IAAI,KAAK,EAAE,CAAC;YACX,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACpB,CAAC;QACD,IAAI,MAAM,EAAE,CAAC;YACZ,IAAI,CAAC,MAA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,MAAM,IAAA,mCAAgB,EAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QACrD,OAAO;YACN,IAAI,EAAE;gBACL,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,QAAQ;aACd;SACD,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,SAAS,GAAG;YACjB,OAAO,EAAE,KAAK;YACd,KAAK,EAAE;gBACN,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;oBACzD,CAAC,CAAC,kCAAkC;oBACpC,CAAC,CAAC,yBAAyB;gBAC5B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;oBACzD,CAAC,CAAC,0EAA0E;oBAC5E,CAAC,CAAC,KAAK,CAAC,OAAO;gBAChB,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,eAAe;gBACnC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;aACnC;SACD,CAAC;QAEF,IAAI,CAAC,EAAE,CAAC,cAAc,EAAE,EAAE,CAAC;YAC1B,MAAM,IAAI,iCAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,OAAO,EAAE;gBACzD,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,OAAO;gBAChC,WAAW,EAAE,SAAS,CAAC,KAAK,CAAC,OAAO;aACpC,CAAC,CAAC;QACJ,CAAC;QAED,OAAO;YACN,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,SAAS;SAChB,CAAC;IACH,CAAC;AACF,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function deleteInstance(ef: IExecuteFunctions): Promise<{
3
+ json: {
4
+ success: boolean;
5
+ data: any;
6
+ };
7
+ error?: undefined;
8
+ } | {
9
+ json: {
10
+ success: boolean;
11
+ error: {
12
+ message: string;
13
+ details: any;
14
+ code: any;
15
+ timestamp: string;
16
+ };
17
+ };
18
+ error: {
19
+ success: boolean;
20
+ error: {
21
+ message: string;
22
+ details: any;
23
+ code: any;
24
+ timestamp: string;
25
+ };
26
+ };
27
+ }>;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteInstance = deleteInstance;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const evolutionRequest_1 = require("../evolutionRequest");
6
+ async function deleteInstance(ef) {
7
+ try {
8
+ const instanceName = ef.getNodeParameter('instanceName', 0);
9
+ const options = {
10
+ method: 'DELETE',
11
+ uri: `/instance/delete/${instanceName}`,
12
+ json: true,
13
+ };
14
+ const response = await (0, evolutionRequest_1.evolutionRequest)(ef, options);
15
+ return {
16
+ json: {
17
+ success: true,
18
+ data: response,
19
+ },
20
+ };
21
+ }
22
+ catch (error) {
23
+ const errorData = {
24
+ success: false,
25
+ error: {
26
+ message: error.message.includes('Could not get parameter')
27
+ ? 'Parâmetros inválidos ou ausentes'
28
+ : 'Erro ao deletar instância',
29
+ details: error.message.includes('Could not get parameter')
30
+ ? 'Verifique se todos os campos obrigatórios foram preenchidos corretamente'
31
+ : error.message,
32
+ code: error.code || 'UNKNOWN_ERROR',
33
+ timestamp: new Date().toISOString(),
34
+ },
35
+ };
36
+ if (!ef.continueOnFail()) {
37
+ throw new n8n_workflow_1.NodeOperationError(ef.getNode(), error.message, {
38
+ message: errorData.error.message,
39
+ description: errorData.error.details,
40
+ });
41
+ }
42
+ return {
43
+ json: errorData,
44
+ error: errorData,
45
+ };
46
+ }
47
+ }
48
+ //# sourceMappingURL=deleteInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteInstance.js","sourceRoot":"","sources":["../../../../../nodes/StevoManager/execute/instance/deleteInstance.ts"],"names":[],"mappings":";;AAQA,wCA4CC;AApDD,+CAKsB;AACtB,0DAAuD;AAEhD,KAAK,UAAU,cAAc,CAAC,EAAqB;IACzD,IAAI,CA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AAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
2
+ export declare function fetchInstances(ef: IExecuteFunctions): Promise<INodeExecutionData[]>;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchInstances = fetchInstances;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const evolutionRequest_1 = require("../evolutionRequest");
6
+ async function fetchInstances(ef) {
7
+ const items = ef.getInputData();
8
+ const returnData = [];
9
+ for (let i = 0; i < items.length; i++) {
10
+ try {
11
+ const options = {
12
+ method: 'GET',
13
+ uri: '/instance/status',
14
+ json: true,
15
+ };
16
+ const response = await (0, evolutionRequest_1.evolutionRequest)(ef, options);
17
+ returnData.push({
18
+ json: {
19
+ success: true,
20
+ data: response,
21
+ },
22
+ });
23
+ }
24
+ catch (error) {
25
+ const errorMessage = 'Erro ao buscar status da instância';
26
+ const errorDetails = error.message;
27
+ if (!ef.continueOnFail()) {
28
+ throw new n8n_workflow_1.NodeOperationError(ef.getNode(), errorMessage, {
29
+ message: errorMessage,
30
+ description: errorDetails,
31
+ });
32
+ }
33
+ returnData.push({
34
+ json: {
35
+ success: false,
36
+ error: {
37
+ message: errorMessage,
38
+ details: errorDetails,
39
+ code: error.code || 'UNKNOWN_ERROR',
40
+ timestamp: new Date().toISOString(),
41
+ },
42
+ },
43
+ error: new n8n_workflow_1.NodeOperationError(ef.getNode(), errorMessage, {
44
+ message: errorMessage,
45
+ description: errorDetails,
46
+ }),
47
+ });
48
+ }
49
+ }
50
+ return returnData;
51
+ }
52
+ //# sourceMappingURL=fetchInstances.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchInstances.js","sourceRoot":"","sources":["../../../../../nodes/StevoManager/execute/instance/fetchInstances.ts"],"names":[],"mappings":";;AASA,wCAiDC;AA1DD,+CAMsB;AACtB,0DAAuD;AAEhD,KAAK,UAAU,cAAc,CAAC,EAAqB;IAC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Y;oBACrB,WAAW,EAAE,YAAY;iBACzB,CAAC;aACF,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;IAED,OAAO,UAAU,CAAC;AACnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
2
+ export declare function instanceConnect(ef: IExecuteFunctions): Promise<INodeExecutionData[]>;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.instanceConnect = instanceConnect;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const evolutionRequest_1 = require("../evolutionRequest");
6
+ async function instanceConnect(ef) {
7
+ const items = ef.getInputData();
8
+ const returnData = [];
9
+ for (let i = 0; i < items.length; i++) {
10
+ try {
11
+ const options = {
12
+ method: 'GET',
13
+ uri: '/instance/qr',
14
+ json: true,
15
+ };
16
+ const response = await (0, evolutionRequest_1.evolutionRequest)(ef, options);
17
+ returnData.push({
18
+ json: {
19
+ success: true,
20
+ data: response,
21
+ },
22
+ });
23
+ }
24
+ catch (error) {
25
+ const errorMessage = error.message.includes('Could not get parameter')
26
+ ? 'Parâmetros inválidos ou ausentes'
27
+ : 'Erro ao obter QR Code';
28
+ const errorDetails = error.message.includes('Could not get parameter')
29
+ ? 'Verifique se todos os campos obrigatórios foram preenchidos corretamente'
30
+ : error.message;
31
+ if (!ef.continueOnFail()) {
32
+ throw new n8n_workflow_1.NodeOperationError(ef.getNode(), errorMessage, {
33
+ message: errorMessage,
34
+ description: errorDetails,
35
+ });
36
+ }
37
+ returnData.push({
38
+ json: {
39
+ success: false,
40
+ error: {
41
+ message: errorMessage,
42
+ details: errorDetails,
43
+ code: error.code || 'UNKNOWN_ERROR',
44
+ timestamp: new Date().toISOString(),
45
+ },
46
+ },
47
+ error: new n8n_workflow_1.NodeOperationError(ef.getNode(), errorMessage, {
48
+ message: errorMessage,
49
+ description: errorDetails,
50
+ }),
51
+ });
52
+ }
53
+ }
54
+ return returnData;
55
+ }
56
+ //# sourceMappingURL=instanceConnect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instanceConnect.js","sourceRoot":"","sources":["../../../../../nodes/StevoManager/execute/instance/instanceConnect.ts"],"names":[],"mappings":";;AASA,0CAsDC;AA/DD,+CAMsB;AACtB,0DAAuD;AAEhD,KAAK,UAAU,eAAe,CAAC,EAAqB;IAC1D,MAAM,KAAK,GAAG,EAAE,CAAC,YAAY,EAAE,CAAC;IAChC,MAAM,UAAU,GAAyB,EAAE,CAAC;IAE5C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvC,IAAI,CAAC;YACJ,MAAM,OAAO,GAAoB;gBAChC,MAAM,EAAE,KAA4B;gBACpC,GAAG,EAAE,cAAc;gBACnB,IAAI,EAAE,IAAI;aACV,CAAC;YAEF,MAAM,QAAQ,GAAG,MAAM,IAAA,mCAAgB,EAAC,EAAE,EAAE,OAAO,CAAC,CAAC;YACrD,UAAU,CAAC,IAAI,CAAC;gBACf,IAAI,EAAE;oBACL,OAAO,EAAE,IAAI;oBACb,IAAI,EAAE,QAAQ;iBACd;aACD,CAAC,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;gBACrE,CAAC,CAAC,kCAAkC;gBACpC,CAAC,CAAC,uBAAuB,CAAC;YAE3B,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;gBACrE,CAAC,CAAC,0EAA0E;gBAC5E,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;YAEjB,IAAI,CAAC,EAAE,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC1B,MAAM,IAAI,iCAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,YAAY,EAAE;oBACxD,OAAO,EAAE,YAAY;oBACrB,WAAW,EAAE,YAAY;iBACzB,CAAC,CAAC;YACJ,CAAC;YAED,UAAU,CAAC,IAAI,CAAC;gBACf,IAAI,EAAE;oBACL,OAAO,EAAE,KAAK;oBACd,KAAK,EAAE;wBACN,OAAO,EAAE,YAAY;wBACrB,OAAO,EAAE,YAAY;wBACrB,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,eAAe;wBACnC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;qBACnC;iBACD;gBACD,KAAK,EAAE,IAAI,iCAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,YAAY,EAAE;oBACzD,OAAO,EAAE,YAAY;oBACrB,WAAW,EAAE,YAAY;iBACzB,CAAC;aACF,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;IAED,OAAO,UAAU,CAAC;AACnB,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function instanceSettings(ef: IExecuteFunctions): Promise<{
3
+ json: {
4
+ success: boolean;
5
+ data: any;
6
+ };
7
+ error?: undefined;
8
+ } | {
9
+ json: {
10
+ success: boolean;
11
+ error: {
12
+ message: string;
13
+ details: any;
14
+ code: any;
15
+ timestamp: string;
16
+ };
17
+ };
18
+ error: {
19
+ success: boolean;
20
+ error: {
21
+ message: string;
22
+ details: any;
23
+ code: any;
24
+ timestamp: string;
25
+ };
26
+ };
27
+ }>;
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.instanceSettings = instanceSettings;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const evolutionRequest_1 = require("../evolutionRequest");
6
+ async function instanceSettings(ef) {
7
+ try {
8
+ const instanceName = ef.getNodeParameter('instanceName', 0);
9
+ const rejectCall = ef.getNodeParameter('rejectCall', 0);
10
+ const msgCall = ef.getNodeParameter('msgCall', 0) || '';
11
+ const groupsIgnore = ef.getNodeParameter('groupsIgnore', 0);
12
+ const alwaysOnline = ef.getNodeParameter('alwaysOnline', 0);
13
+ const readMessages = ef.getNodeParameter('readMessages', 0);
14
+ const syncFullHistory = ef.getNodeParameter('syncFullHistory', 0);
15
+ const readStatus = ef.getNodeParameter('readStatus', 0);
16
+ const body = {
17
+ rejectCall,
18
+ msgCall: msgCall || '',
19
+ groupsIgnore,
20
+ alwaysOnline,
21
+ readMessages,
22
+ syncFullHistory,
23
+ readStatus,
24
+ };
25
+ if (rejectCall) {
26
+ body.msgCall = msgCall || '';
27
+ }
28
+ const options = {
29
+ method: 'POST',
30
+ headers: {
31
+ 'Content-Type': 'application/json',
32
+ },
33
+ uri: `/settings/set/${instanceName}`,
34
+ body,
35
+ json: true,
36
+ };
37
+ const response = await (0, evolutionRequest_1.evolutionRequest)(ef, options);
38
+ return {
39
+ json: {
40
+ success: true,
41
+ data: response,
42
+ },
43
+ };
44
+ }
45
+ catch (error) {
46
+ const errorData = {
47
+ success: false,
48
+ error: {
49
+ message: error.message.includes('Could not get parameter')
50
+ ? 'Parâmetros inválidos ou ausentes'
51
+ : 'Erro ao definir configurações da instância',
52
+ details: error.message.includes('Could not get parameter')
53
+ ? 'Verifique se todos os campos obrigatórios foram preenchidos corretamente'
54
+ : error.message,
55
+ code: error.code || 'UNKNOWN_ERROR',
56
+ timestamp: new Date().toISOString(),
57
+ },
58
+ };
59
+ if (!ef.continueOnFail()) {
60
+ throw new n8n_workflow_1.NodeOperationError(ef.getNode(), error.message, {
61
+ message: errorData.error.message,
62
+ description: errorData.error.details,
63
+ });
64
+ }
65
+ return {
66
+ json: errorData,
67
+ error: errorData,
68
+ };
69
+ }
70
+ }
71
+ //# sourceMappingURL=instanceSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instanceSettings.js","sourceRoot":"","sources":["../../../../../nodes/StevoManager/execute/instance/instanceSettings.ts"],"names":[],"mappings":";;AAQA,4CAqEC;AA7ED,+CAKsB;AACtB,0DAAuD;AAEhD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AO;YACN,IAAI,EAAE;gBACL,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,QAAQ;aACd;SACD,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,SAAS,GAAG;YACjB,OAAO,EAAE,KAAK;YACd,KAAK,EAAE;gBACN,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;oBACzD,CAAC,CAAC,kCAAkC;oBACpC,CAAC,CAAC,4CAA4C;gBAC/C,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;oBACzD,CAAC,CAAC,0EAA0E;oBAC5E,CAAC,CAAC,KAAK,CAAC,OAAO;gBAChB,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,eAAe;gBACnC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;aACnC;SACD,CAAC;QAEF,IAAI,CAAC,EAAE,CAAC,cAAc,EAAE,EAAE,CAAC;YAC1B,MAAM,IAAI,iCAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,OAAO,EAAE;gBACzD,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,OAAO;gBAChC,WAAW,EAAE,SAAS,CAAC,KAAK,CAAC,OAAO;aACpC,CAAC,CAAC;QACJ,CAAC;QAED,OAAO;YACN,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,SAAS;SAChB,CAAC;IACH,CAAC;AACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
2
+ export declare function logoutInstance(ef: IExecuteFunctions): Promise<INodeExecutionData[]>;