@rjsebening/n8n-nodes-evolution-api 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 (317) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.DE.md +231 -0
  3. package/README.md +220 -0
  4. package/dist/credentials/EvolutionApi.credentials.d.ts +9 -0
  5. package/dist/credentials/EvolutionApi.credentials.js +47 -0
  6. package/dist/credentials/EvolutionApi.credentials.js.map +1 -0
  7. package/dist/nodes/EvolutionApi/EvolutionApi.node.d.ts +13 -0
  8. package/dist/nodes/EvolutionApi/EvolutionApi.node.js +196 -0
  9. package/dist/nodes/EvolutionApi/EvolutionApi.node.js.map +1 -0
  10. package/dist/nodes/EvolutionApi/actions/call/offerCall.d.ts +2 -0
  11. package/dist/nodes/EvolutionApi/actions/call/offerCall.js +15 -0
  12. package/dist/nodes/EvolutionApi/actions/call/offerCall.js.map +1 -0
  13. package/dist/nodes/EvolutionApi/actions/chat/archiveChat.d.ts +2 -0
  14. package/dist/nodes/EvolutionApi/actions/chat/archiveChat.js +16 -0
  15. package/dist/nodes/EvolutionApi/actions/chat/archiveChat.js.map +1 -0
  16. package/dist/nodes/EvolutionApi/actions/chat/deleteMessageForEveryone.d.ts +2 -0
  17. package/dist/nodes/EvolutionApi/actions/chat/deleteMessageForEveryone.js +22 -0
  18. package/dist/nodes/EvolutionApi/actions/chat/deleteMessageForEveryone.js.map +1 -0
  19. package/dist/nodes/EvolutionApi/actions/chat/fetchProfilePictureUrl.d.ts +2 -0
  20. package/dist/nodes/EvolutionApi/actions/chat/fetchProfilePictureUrl.js +14 -0
  21. package/dist/nodes/EvolutionApi/actions/chat/fetchProfilePictureUrl.js.map +1 -0
  22. package/dist/nodes/EvolutionApi/actions/chat/findChats.d.ts +2 -0
  23. package/dist/nodes/EvolutionApi/actions/chat/findChats.js +10 -0
  24. package/dist/nodes/EvolutionApi/actions/chat/findChats.js.map +1 -0
  25. package/dist/nodes/EvolutionApi/actions/chat/findContacts.d.ts +2 -0
  26. package/dist/nodes/EvolutionApi/actions/chat/findContacts.js +17 -0
  27. package/dist/nodes/EvolutionApi/actions/chat/findContacts.js.map +1 -0
  28. package/dist/nodes/EvolutionApi/actions/chat/findMessages.d.ts +2 -0
  29. package/dist/nodes/EvolutionApi/actions/chat/findMessages.js +17 -0
  30. package/dist/nodes/EvolutionApi/actions/chat/findMessages.js.map +1 -0
  31. package/dist/nodes/EvolutionApi/actions/chat/findStatusMessage.d.ts +2 -0
  32. package/dist/nodes/EvolutionApi/actions/chat/findStatusMessage.js +23 -0
  33. package/dist/nodes/EvolutionApi/actions/chat/findStatusMessage.js.map +1 -0
  34. package/dist/nodes/EvolutionApi/actions/chat/getBase64FromMediaMessage.d.ts +2 -0
  35. package/dist/nodes/EvolutionApi/actions/chat/getBase64FromMediaMessage.js +20 -0
  36. package/dist/nodes/EvolutionApi/actions/chat/getBase64FromMediaMessage.js.map +1 -0
  37. package/dist/nodes/EvolutionApi/actions/chat/markChatUnread.d.ts +2 -0
  38. package/dist/nodes/EvolutionApi/actions/chat/markChatUnread.js +14 -0
  39. package/dist/nodes/EvolutionApi/actions/chat/markChatUnread.js.map +1 -0
  40. package/dist/nodes/EvolutionApi/actions/chat/markMessageAsRead.d.ts +2 -0
  41. package/dist/nodes/EvolutionApi/actions/chat/markMessageAsRead.js +14 -0
  42. package/dist/nodes/EvolutionApi/actions/chat/markMessageAsRead.js.map +1 -0
  43. package/dist/nodes/EvolutionApi/actions/chat/sendPresence.d.ts +2 -0
  44. package/dist/nodes/EvolutionApi/actions/chat/sendPresence.js +19 -0
  45. package/dist/nodes/EvolutionApi/actions/chat/sendPresence.js.map +1 -0
  46. package/dist/nodes/EvolutionApi/actions/chat/updateBlockStatus.d.ts +2 -0
  47. package/dist/nodes/EvolutionApi/actions/chat/updateBlockStatus.js +16 -0
  48. package/dist/nodes/EvolutionApi/actions/chat/updateBlockStatus.js.map +1 -0
  49. package/dist/nodes/EvolutionApi/actions/chat/updateMessage.d.ts +2 -0
  50. package/dist/nodes/EvolutionApi/actions/chat/updateMessage.js +20 -0
  51. package/dist/nodes/EvolutionApi/actions/chat/updateMessage.js.map +1 -0
  52. package/dist/nodes/EvolutionApi/actions/chat/whatsappNumbers.d.ts +2 -0
  53. package/dist/nodes/EvolutionApi/actions/chat/whatsappNumbers.js +18 -0
  54. package/dist/nodes/EvolutionApi/actions/chat/whatsappNumbers.js.map +1 -0
  55. package/dist/nodes/EvolutionApi/actions/chatbot/findChatwoot.d.ts +2 -0
  56. package/dist/nodes/EvolutionApi/actions/chatbot/findChatwoot.js +10 -0
  57. package/dist/nodes/EvolutionApi/actions/chatbot/findChatwoot.js.map +1 -0
  58. package/dist/nodes/EvolutionApi/actions/chatbot/setChatwoot.d.ts +2 -0
  59. package/dist/nodes/EvolutionApi/actions/chatbot/setChatwoot.js +22 -0
  60. package/dist/nodes/EvolutionApi/actions/chatbot/setChatwoot.js.map +1 -0
  61. package/dist/nodes/EvolutionApi/actions/getInformations/getInformations.d.ts +2 -0
  62. package/dist/nodes/EvolutionApi/actions/getInformations/getInformations.js +9 -0
  63. package/dist/nodes/EvolutionApi/actions/getInformations/getInformations.js.map +1 -0
  64. package/dist/nodes/EvolutionApi/actions/group/create.d.ts +2 -0
  65. package/dist/nodes/EvolutionApi/actions/group/create.js +22 -0
  66. package/dist/nodes/EvolutionApi/actions/group/create.js.map +1 -0
  67. package/dist/nodes/EvolutionApi/actions/group/fetchAllGroups.d.ts +2 -0
  68. package/dist/nodes/EvolutionApi/actions/group/fetchAllGroups.js +14 -0
  69. package/dist/nodes/EvolutionApi/actions/group/fetchAllGroups.js.map +1 -0
  70. package/dist/nodes/EvolutionApi/actions/group/findGroupInfos.d.ts +2 -0
  71. package/dist/nodes/EvolutionApi/actions/group/findGroupInfos.js +11 -0
  72. package/dist/nodes/EvolutionApi/actions/group/findGroupInfos.js.map +1 -0
  73. package/dist/nodes/EvolutionApi/actions/group/inviteCode.d.ts +2 -0
  74. package/dist/nodes/EvolutionApi/actions/group/inviteCode.js +11 -0
  75. package/dist/nodes/EvolutionApi/actions/group/inviteCode.js.map +1 -0
  76. package/dist/nodes/EvolutionApi/actions/group/inviteInfo.d.ts +2 -0
  77. package/dist/nodes/EvolutionApi/actions/group/inviteInfo.js +11 -0
  78. package/dist/nodes/EvolutionApi/actions/group/inviteInfo.js.map +1 -0
  79. package/dist/nodes/EvolutionApi/actions/group/leaveGroup.d.ts +2 -0
  80. package/dist/nodes/EvolutionApi/actions/group/leaveGroup.js +11 -0
  81. package/dist/nodes/EvolutionApi/actions/group/leaveGroup.js.map +1 -0
  82. package/dist/nodes/EvolutionApi/actions/group/participants.d.ts +2 -0
  83. package/dist/nodes/EvolutionApi/actions/group/participants.js +11 -0
  84. package/dist/nodes/EvolutionApi/actions/group/participants.js.map +1 -0
  85. package/dist/nodes/EvolutionApi/actions/group/revokeInviteCode.d.ts +2 -0
  86. package/dist/nodes/EvolutionApi/actions/group/revokeInviteCode.js +11 -0
  87. package/dist/nodes/EvolutionApi/actions/group/revokeInviteCode.js.map +1 -0
  88. package/dist/nodes/EvolutionApi/actions/group/sendInvite.d.ts +2 -0
  89. package/dist/nodes/EvolutionApi/actions/group/sendInvite.js +22 -0
  90. package/dist/nodes/EvolutionApi/actions/group/sendInvite.js.map +1 -0
  91. package/dist/nodes/EvolutionApi/actions/group/toggleEphemeral.d.ts +2 -0
  92. package/dist/nodes/EvolutionApi/actions/group/toggleEphemeral.js +15 -0
  93. package/dist/nodes/EvolutionApi/actions/group/toggleEphemeral.js.map +1 -0
  94. package/dist/nodes/EvolutionApi/actions/group/updateGroupDescription.d.ts +2 -0
  95. package/dist/nodes/EvolutionApi/actions/group/updateGroupDescription.js +15 -0
  96. package/dist/nodes/EvolutionApi/actions/group/updateGroupDescription.js.map +1 -0
  97. package/dist/nodes/EvolutionApi/actions/group/updateGroupPicture.d.ts +2 -0
  98. package/dist/nodes/EvolutionApi/actions/group/updateGroupPicture.js +15 -0
  99. package/dist/nodes/EvolutionApi/actions/group/updateGroupPicture.js.map +1 -0
  100. package/dist/nodes/EvolutionApi/actions/group/updateGroupSubject.d.ts +2 -0
  101. package/dist/nodes/EvolutionApi/actions/group/updateGroupSubject.js +15 -0
  102. package/dist/nodes/EvolutionApi/actions/group/updateGroupSubject.js.map +1 -0
  103. package/dist/nodes/EvolutionApi/actions/group/updateParticipant.d.ts +2 -0
  104. package/dist/nodes/EvolutionApi/actions/group/updateParticipant.js +21 -0
  105. package/dist/nodes/EvolutionApi/actions/group/updateParticipant.js.map +1 -0
  106. package/dist/nodes/EvolutionApi/actions/group/updateSetting.d.ts +2 -0
  107. package/dist/nodes/EvolutionApi/actions/group/updateSetting.js +15 -0
  108. package/dist/nodes/EvolutionApi/actions/group/updateSetting.js.map +1 -0
  109. package/dist/nodes/EvolutionApi/actions/instance/connect.d.ts +2 -0
  110. package/dist/nodes/EvolutionApi/actions/instance/connect.js +14 -0
  111. package/dist/nodes/EvolutionApi/actions/instance/connect.js.map +1 -0
  112. package/dist/nodes/EvolutionApi/actions/instance/connectionState.d.ts +2 -0
  113. package/dist/nodes/EvolutionApi/actions/instance/connectionState.js +10 -0
  114. package/dist/nodes/EvolutionApi/actions/instance/connectionState.js.map +1 -0
  115. package/dist/nodes/EvolutionApi/actions/instance/create.d.ts +2 -0
  116. package/dist/nodes/EvolutionApi/actions/instance/create.js +19 -0
  117. package/dist/nodes/EvolutionApi/actions/instance/create.js.map +1 -0
  118. package/dist/nodes/EvolutionApi/actions/instance/delete.d.ts +2 -0
  119. package/dist/nodes/EvolutionApi/actions/instance/delete.js +10 -0
  120. package/dist/nodes/EvolutionApi/actions/instance/delete.js.map +1 -0
  121. package/dist/nodes/EvolutionApi/actions/instance/fetchInstances.d.ts +2 -0
  122. package/dist/nodes/EvolutionApi/actions/instance/fetchInstances.js +16 -0
  123. package/dist/nodes/EvolutionApi/actions/instance/fetchInstances.js.map +1 -0
  124. package/dist/nodes/EvolutionApi/actions/instance/logout.d.ts +2 -0
  125. package/dist/nodes/EvolutionApi/actions/instance/logout.js +10 -0
  126. package/dist/nodes/EvolutionApi/actions/instance/logout.js.map +1 -0
  127. package/dist/nodes/EvolutionApi/actions/instance/restart.d.ts +2 -0
  128. package/dist/nodes/EvolutionApi/actions/instance/restart.js +10 -0
  129. package/dist/nodes/EvolutionApi/actions/instance/restart.js.map +1 -0
  130. package/dist/nodes/EvolutionApi/actions/instance/setPresence.d.ts +2 -0
  131. package/dist/nodes/EvolutionApi/actions/instance/setPresence.js +19 -0
  132. package/dist/nodes/EvolutionApi/actions/instance/setPresence.js.map +1 -0
  133. package/dist/nodes/EvolutionApi/actions/integrations/findNats.d.ts +2 -0
  134. package/dist/nodes/EvolutionApi/actions/integrations/findNats.js +10 -0
  135. package/dist/nodes/EvolutionApi/actions/integrations/findNats.js.map +1 -0
  136. package/dist/nodes/EvolutionApi/actions/integrations/findPusher.d.ts +2 -0
  137. package/dist/nodes/EvolutionApi/actions/integrations/findPusher.js +10 -0
  138. package/dist/nodes/EvolutionApi/actions/integrations/findPusher.js.map +1 -0
  139. package/dist/nodes/EvolutionApi/actions/integrations/findRabbitmq.d.ts +2 -0
  140. package/dist/nodes/EvolutionApi/actions/integrations/findRabbitmq.js +10 -0
  141. package/dist/nodes/EvolutionApi/actions/integrations/findRabbitmq.js.map +1 -0
  142. package/dist/nodes/EvolutionApi/actions/integrations/findSqs.d.ts +2 -0
  143. package/dist/nodes/EvolutionApi/actions/integrations/findSqs.js +10 -0
  144. package/dist/nodes/EvolutionApi/actions/integrations/findSqs.js.map +1 -0
  145. package/dist/nodes/EvolutionApi/actions/integrations/findWebhook.d.ts +2 -0
  146. package/dist/nodes/EvolutionApi/actions/integrations/findWebhook.js +10 -0
  147. package/dist/nodes/EvolutionApi/actions/integrations/findWebhook.js.map +1 -0
  148. package/dist/nodes/EvolutionApi/actions/integrations/findWebsocket.d.ts +2 -0
  149. package/dist/nodes/EvolutionApi/actions/integrations/findWebsocket.js +10 -0
  150. package/dist/nodes/EvolutionApi/actions/integrations/findWebsocket.js.map +1 -0
  151. package/dist/nodes/EvolutionApi/actions/integrations/setNats.d.ts +2 -0
  152. package/dist/nodes/EvolutionApi/actions/integrations/setNats.js +14 -0
  153. package/dist/nodes/EvolutionApi/actions/integrations/setNats.js.map +1 -0
  154. package/dist/nodes/EvolutionApi/actions/integrations/setPusher.d.ts +2 -0
  155. package/dist/nodes/EvolutionApi/actions/integrations/setPusher.js +14 -0
  156. package/dist/nodes/EvolutionApi/actions/integrations/setPusher.js.map +1 -0
  157. package/dist/nodes/EvolutionApi/actions/integrations/setRabbitmq.d.ts +2 -0
  158. package/dist/nodes/EvolutionApi/actions/integrations/setRabbitmq.js +14 -0
  159. package/dist/nodes/EvolutionApi/actions/integrations/setRabbitmq.js.map +1 -0
  160. package/dist/nodes/EvolutionApi/actions/integrations/setSqs.d.ts +2 -0
  161. package/dist/nodes/EvolutionApi/actions/integrations/setSqs.js +14 -0
  162. package/dist/nodes/EvolutionApi/actions/integrations/setSqs.js.map +1 -0
  163. package/dist/nodes/EvolutionApi/actions/integrations/setWebhook.d.ts +2 -0
  164. package/dist/nodes/EvolutionApi/actions/integrations/setWebhook.js +14 -0
  165. package/dist/nodes/EvolutionApi/actions/integrations/setWebhook.js.map +1 -0
  166. package/dist/nodes/EvolutionApi/actions/integrations/setWebsocket.d.ts +2 -0
  167. package/dist/nodes/EvolutionApi/actions/integrations/setWebsocket.js +14 -0
  168. package/dist/nodes/EvolutionApi/actions/integrations/setWebsocket.js.map +1 -0
  169. package/dist/nodes/EvolutionApi/actions/label/findLabels.d.ts +2 -0
  170. package/dist/nodes/EvolutionApi/actions/label/findLabels.js +10 -0
  171. package/dist/nodes/EvolutionApi/actions/label/findLabels.js.map +1 -0
  172. package/dist/nodes/EvolutionApi/actions/label/handleLabel.d.ts +2 -0
  173. package/dist/nodes/EvolutionApi/actions/label/handleLabel.js +15 -0
  174. package/dist/nodes/EvolutionApi/actions/label/handleLabel.js.map +1 -0
  175. package/dist/nodes/EvolutionApi/actions/message/sendButtons.d.ts +2 -0
  176. package/dist/nodes/EvolutionApi/actions/message/sendButtons.js +22 -0
  177. package/dist/nodes/EvolutionApi/actions/message/sendButtons.js.map +1 -0
  178. package/dist/nodes/EvolutionApi/actions/message/sendContact.d.ts +2 -0
  179. package/dist/nodes/EvolutionApi/actions/message/sendContact.js +16 -0
  180. package/dist/nodes/EvolutionApi/actions/message/sendContact.js.map +1 -0
  181. package/dist/nodes/EvolutionApi/actions/message/sendList.d.ts +2 -0
  182. package/dist/nodes/EvolutionApi/actions/message/sendList.js +24 -0
  183. package/dist/nodes/EvolutionApi/actions/message/sendList.js.map +1 -0
  184. package/dist/nodes/EvolutionApi/actions/message/sendLocation.d.ts +2 -0
  185. package/dist/nodes/EvolutionApi/actions/message/sendLocation.js +22 -0
  186. package/dist/nodes/EvolutionApi/actions/message/sendLocation.js.map +1 -0
  187. package/dist/nodes/EvolutionApi/actions/message/sendMedia.d.ts +2 -0
  188. package/dist/nodes/EvolutionApi/actions/message/sendMedia.js +22 -0
  189. package/dist/nodes/EvolutionApi/actions/message/sendMedia.js.map +1 -0
  190. package/dist/nodes/EvolutionApi/actions/message/sendPoll.d.ts +2 -0
  191. package/dist/nodes/EvolutionApi/actions/message/sendPoll.js +47 -0
  192. package/dist/nodes/EvolutionApi/actions/message/sendPoll.js.map +1 -0
  193. package/dist/nodes/EvolutionApi/actions/message/sendPtv.d.ts +2 -0
  194. package/dist/nodes/EvolutionApi/actions/message/sendPtv.js +16 -0
  195. package/dist/nodes/EvolutionApi/actions/message/sendPtv.js.map +1 -0
  196. package/dist/nodes/EvolutionApi/actions/message/sendReaction.d.ts +2 -0
  197. package/dist/nodes/EvolutionApi/actions/message/sendReaction.js +22 -0
  198. package/dist/nodes/EvolutionApi/actions/message/sendReaction.js.map +1 -0
  199. package/dist/nodes/EvolutionApi/actions/message/sendStatus.d.ts +2 -0
  200. package/dist/nodes/EvolutionApi/actions/message/sendStatus.js +18 -0
  201. package/dist/nodes/EvolutionApi/actions/message/sendStatus.js.map +1 -0
  202. package/dist/nodes/EvolutionApi/actions/message/sendSticker.d.ts +2 -0
  203. package/dist/nodes/EvolutionApi/actions/message/sendSticker.js +16 -0
  204. package/dist/nodes/EvolutionApi/actions/message/sendSticker.js.map +1 -0
  205. package/dist/nodes/EvolutionApi/actions/message/sendText.d.ts +2 -0
  206. package/dist/nodes/EvolutionApi/actions/message/sendText.js +19 -0
  207. package/dist/nodes/EvolutionApi/actions/message/sendText.js.map +1 -0
  208. package/dist/nodes/EvolutionApi/actions/message/sendWhatsAppAudio.d.ts +2 -0
  209. package/dist/nodes/EvolutionApi/actions/message/sendWhatsAppAudio.js +16 -0
  210. package/dist/nodes/EvolutionApi/actions/message/sendWhatsAppAudio.js.map +1 -0
  211. package/dist/nodes/EvolutionApi/actions/metrics/getMetrics.d.ts +2 -0
  212. package/dist/nodes/EvolutionApi/actions/metrics/getMetrics.js +9 -0
  213. package/dist/nodes/EvolutionApi/actions/metrics/getMetrics.js.map +1 -0
  214. package/dist/nodes/EvolutionApi/actions/profile/fetchBusinessProfile.d.ts +2 -0
  215. package/dist/nodes/EvolutionApi/actions/profile/fetchBusinessProfile.js +13 -0
  216. package/dist/nodes/EvolutionApi/actions/profile/fetchBusinessProfile.js.map +1 -0
  217. package/dist/nodes/EvolutionApi/actions/profile/fetchPrivacySettings.d.ts +2 -0
  218. package/dist/nodes/EvolutionApi/actions/profile/fetchPrivacySettings.js +10 -0
  219. package/dist/nodes/EvolutionApi/actions/profile/fetchPrivacySettings.js.map +1 -0
  220. package/dist/nodes/EvolutionApi/actions/profile/fetchProfile.d.ts +2 -0
  221. package/dist/nodes/EvolutionApi/actions/profile/fetchProfile.js +13 -0
  222. package/dist/nodes/EvolutionApi/actions/profile/fetchProfile.js.map +1 -0
  223. package/dist/nodes/EvolutionApi/actions/profile/removeProfilePicture.d.ts +2 -0
  224. package/dist/nodes/EvolutionApi/actions/profile/removeProfilePicture.js +10 -0
  225. package/dist/nodes/EvolutionApi/actions/profile/removeProfilePicture.js.map +1 -0
  226. package/dist/nodes/EvolutionApi/actions/profile/updatePrivacySettings.d.ts +2 -0
  227. package/dist/nodes/EvolutionApi/actions/profile/updatePrivacySettings.js +18 -0
  228. package/dist/nodes/EvolutionApi/actions/profile/updatePrivacySettings.js.map +1 -0
  229. package/dist/nodes/EvolutionApi/actions/profile/updateProfileName.d.ts +2 -0
  230. package/dist/nodes/EvolutionApi/actions/profile/updateProfileName.js +13 -0
  231. package/dist/nodes/EvolutionApi/actions/profile/updateProfileName.js.map +1 -0
  232. package/dist/nodes/EvolutionApi/actions/profile/updateProfilePicture.d.ts +2 -0
  233. package/dist/nodes/EvolutionApi/actions/profile/updateProfilePicture.js +13 -0
  234. package/dist/nodes/EvolutionApi/actions/profile/updateProfilePicture.js.map +1 -0
  235. package/dist/nodes/EvolutionApi/actions/profile/updateProfileStatus.d.ts +2 -0
  236. package/dist/nodes/EvolutionApi/actions/profile/updateProfileStatus.js +13 -0
  237. package/dist/nodes/EvolutionApi/actions/profile/updateProfileStatus.js.map +1 -0
  238. package/dist/nodes/EvolutionApi/actions/proxy/findProxy.d.ts +2 -0
  239. package/dist/nodes/EvolutionApi/actions/proxy/findProxy.js +10 -0
  240. package/dist/nodes/EvolutionApi/actions/proxy/findProxy.js.map +1 -0
  241. package/dist/nodes/EvolutionApi/actions/proxy/setProxy.d.ts +2 -0
  242. package/dist/nodes/EvolutionApi/actions/proxy/setProxy.js +18 -0
  243. package/dist/nodes/EvolutionApi/actions/proxy/setProxy.js.map +1 -0
  244. package/dist/nodes/EvolutionApi/actions/router.d.ts +2 -0
  245. package/dist/nodes/EvolutionApi/actions/router.js +419 -0
  246. package/dist/nodes/EvolutionApi/actions/router.js.map +1 -0
  247. package/dist/nodes/EvolutionApi/actions/settings/findSettings.d.ts +2 -0
  248. package/dist/nodes/EvolutionApi/actions/settings/findSettings.js +10 -0
  249. package/dist/nodes/EvolutionApi/actions/settings/findSettings.js.map +1 -0
  250. package/dist/nodes/EvolutionApi/actions/settings/setSettings.d.ts +2 -0
  251. package/dist/nodes/EvolutionApi/actions/settings/setSettings.js +19 -0
  252. package/dist/nodes/EvolutionApi/actions/settings/setSettings.js.map +1 -0
  253. package/dist/nodes/EvolutionApi/actions/storage/getMedia.d.ts +2 -0
  254. package/dist/nodes/EvolutionApi/actions/storage/getMedia.js +15 -0
  255. package/dist/nodes/EvolutionApi/actions/storage/getMedia.js.map +1 -0
  256. package/dist/nodes/EvolutionApi/actions/storage/getMediaUrl.d.ts +2 -0
  257. package/dist/nodes/EvolutionApi/actions/storage/getMediaUrl.js +13 -0
  258. package/dist/nodes/EvolutionApi/actions/storage/getMediaUrl.js.map +1 -0
  259. package/dist/nodes/EvolutionApi/descriptions/Call.description.d.ts +3 -0
  260. package/dist/nodes/EvolutionApi/descriptions/Call.description.js +84 -0
  261. package/dist/nodes/EvolutionApi/descriptions/Call.description.js.map +1 -0
  262. package/dist/nodes/EvolutionApi/descriptions/Chat.description.d.ts +3 -0
  263. package/dist/nodes/EvolutionApi/descriptions/Chat.description.js +472 -0
  264. package/dist/nodes/EvolutionApi/descriptions/Chat.description.js.map +1 -0
  265. package/dist/nodes/EvolutionApi/descriptions/Chatbot.description.d.ts +3 -0
  266. package/dist/nodes/EvolutionApi/descriptions/Chatbot.description.js +183 -0
  267. package/dist/nodes/EvolutionApi/descriptions/Chatbot.description.js.map +1 -0
  268. package/dist/nodes/EvolutionApi/descriptions/GetInformations.description.d.ts +3 -0
  269. package/dist/nodes/EvolutionApi/descriptions/GetInformations.description.js +27 -0
  270. package/dist/nodes/EvolutionApi/descriptions/GetInformations.description.js.map +1 -0
  271. package/dist/nodes/EvolutionApi/descriptions/Group.description.d.ts +3 -0
  272. package/dist/nodes/EvolutionApi/descriptions/Group.description.js +307 -0
  273. package/dist/nodes/EvolutionApi/descriptions/Group.description.js.map +1 -0
  274. package/dist/nodes/EvolutionApi/descriptions/Instance.description.d.ts +3 -0
  275. package/dist/nodes/EvolutionApi/descriptions/Instance.description.js +271 -0
  276. package/dist/nodes/EvolutionApi/descriptions/Instance.description.js.map +1 -0
  277. package/dist/nodes/EvolutionApi/descriptions/Integrations.description.d.ts +3 -0
  278. package/dist/nodes/EvolutionApi/descriptions/Integrations.description.js +183 -0
  279. package/dist/nodes/EvolutionApi/descriptions/Integrations.description.js.map +1 -0
  280. package/dist/nodes/EvolutionApi/descriptions/Label.description.d.ts +3 -0
  281. package/dist/nodes/EvolutionApi/descriptions/Label.description.js +96 -0
  282. package/dist/nodes/EvolutionApi/descriptions/Label.description.js.map +1 -0
  283. package/dist/nodes/EvolutionApi/descriptions/Message.description.d.ts +3 -0
  284. package/dist/nodes/EvolutionApi/descriptions/Message.description.js +648 -0
  285. package/dist/nodes/EvolutionApi/descriptions/Message.description.js.map +1 -0
  286. package/dist/nodes/EvolutionApi/descriptions/Metrics.description.d.ts +3 -0
  287. package/dist/nodes/EvolutionApi/descriptions/Metrics.description.js +27 -0
  288. package/dist/nodes/EvolutionApi/descriptions/Metrics.description.js.map +1 -0
  289. package/dist/nodes/EvolutionApi/descriptions/Profile.description.d.ts +3 -0
  290. package/dist/nodes/EvolutionApi/descriptions/Profile.description.js +250 -0
  291. package/dist/nodes/EvolutionApi/descriptions/Profile.description.js.map +1 -0
  292. package/dist/nodes/EvolutionApi/descriptions/Proxy.description.d.ts +3 -0
  293. package/dist/nodes/EvolutionApi/descriptions/Proxy.description.js +135 -0
  294. package/dist/nodes/EvolutionApi/descriptions/Proxy.description.js.map +1 -0
  295. package/dist/nodes/EvolutionApi/descriptions/Settings.description.d.ts +3 -0
  296. package/dist/nodes/EvolutionApi/descriptions/Settings.description.js +142 -0
  297. package/dist/nodes/EvolutionApi/descriptions/Settings.description.js.map +1 -0
  298. package/dist/nodes/EvolutionApi/descriptions/Storage.description.d.ts +3 -0
  299. package/dist/nodes/EvolutionApi/descriptions/Storage.description.js +92 -0
  300. package/dist/nodes/EvolutionApi/descriptions/Storage.description.js.map +1 -0
  301. package/dist/nodes/EvolutionApi/evolutionApi.svg +14 -0
  302. package/dist/nodes/EvolutionApi/methods/loadOptions/group.loadOptions.d.ts +2 -0
  303. package/dist/nodes/EvolutionApi/methods/loadOptions/group.loadOptions.js +19 -0
  304. package/dist/nodes/EvolutionApi/methods/loadOptions/group.loadOptions.js.map +1 -0
  305. package/dist/nodes/EvolutionApi/methods/loadOptions/instance.loadOptions.d.ts +2 -0
  306. package/dist/nodes/EvolutionApi/methods/loadOptions/instance.loadOptions.js +21 -0
  307. package/dist/nodes/EvolutionApi/methods/loadOptions/instance.loadOptions.js.map +1 -0
  308. package/dist/nodes/EvolutionApi/methods/transport/httpClient.d.ts +3 -0
  309. package/dist/nodes/EvolutionApi/methods/transport/httpClient.js +27 -0
  310. package/dist/nodes/EvolutionApi/methods/transport/httpClient.js.map +1 -0
  311. package/dist/nodes/EvolutionApi/types/api.d.ts +215 -0
  312. package/dist/nodes/EvolutionApi/types/api.js +3 -0
  313. package/dist/nodes/EvolutionApi/types/api.js.map +1 -0
  314. package/dist/package.json +63 -0
  315. package/dist/tsconfig.tsbuildinfo +1 -0
  316. package/index.js +0 -0
  317. package/package.json +63 -0
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.findChatwoot = findChatwoot;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function findChatwoot(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const response = await httpClient_1.apiRequest.call(this, 'GET', `/chatwoot/find/${instanceName}`);
8
+ return response;
9
+ }
10
+ //# sourceMappingURL=findChatwoot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findChatwoot.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/chatbot/findChatwoot.ts"],"names":[],"mappings":";;AAGA,oCAMC;AARD,mEAAgE;AAEzD,KAAK,UAAU,YAAY,CAA0B,KAAa;IACxE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAE5E,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,kBAAkB,YAAY,EAAE,CAAC,CAAC;IAEtF,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function setChatwoot(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.setChatwoot = setChatwoot;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function setChatwoot(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const body = {
8
+ enabled: this.getNodeParameter('enabled', index),
9
+ accountId: this.getNodeParameter('accountId', index),
10
+ token: this.getNodeParameter('token', index),
11
+ url: this.getNodeParameter('url', index),
12
+ signMsg: this.getNodeParameter('signMsg', index),
13
+ reopenConversation: this.getNodeParameter('reopenConversation', index),
14
+ conversationPending: this.getNodeParameter('conversationPending', index),
15
+ importContacts: this.getNodeParameter('importContacts', index),
16
+ importMessages: this.getNodeParameter('importMessages', index),
17
+ autoCreate: this.getNodeParameter('autoCreate', index),
18
+ };
19
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/chatwoot/set/${instanceName}`, body);
20
+ return response;
21
+ }
22
+ //# sourceMappingURL=setChatwoot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setChatwoot.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/chatbot/setChatwoot.ts"],"names":[],"mappings":";;AAIA,kCAoBC;AAvBD,mEAAgE;AAGzD,KAAK,UAAU,WAAW,CAA0B,KAAa;IACvE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAG5E,MAAM,IAAI,GAAoB;QAC7B,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAY;QAC3D,SAAS,EAAE,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAW;QAC9D,KAAK,EAAE,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,CAAW;QACtD,GAAG,EAAE,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAW;QAClD,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAY;QAC3D,kBAAkB,EAAE,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,KAAK,CAAY;QACjF,mBAAmB,EAAE,IAAI,CAAC,gBAAgB,CAAC,qBAAqB,EAAE,KAAK,CAAY;QACnF,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,KAAK,CAAY;QACzE,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,KAAK,CAAY;QACzE,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,KAAK,CAAY;KACjE,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,YAAY,EAAE,EAAE,IAA8B,CAAC,CAAC;IAEtH,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function getInformations(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getInformations = getInformations;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function getInformations(index) {
6
+ const response = await httpClient_1.apiRequest.call(this, 'GET', '/');
7
+ return response;
8
+ }
9
+ //# sourceMappingURL=getInformations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInformations.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/getInformations/getInformations.ts"],"names":[],"mappings":";;AAGA,0CAIC;AAND,mEAAgE;AAEzD,KAAK,UAAU,eAAe,CAA0B,KAAa;IAC3E,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;IAEzD,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function create(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.create = create;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function create(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const subject = this.getNodeParameter('subject', index);
8
+ const description = this.getNodeParameter('description', index);
9
+ const participantsString = this.getNodeParameter('participants', index);
10
+ const participants = participantsString
11
+ .split(',')
12
+ .map((p) => p.trim())
13
+ .filter((p) => p.length > 0);
14
+ const body = {
15
+ subject,
16
+ description,
17
+ participants,
18
+ };
19
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/group/create/${instanceName}`, body);
20
+ return response;
21
+ }
22
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/create.ts"],"names":[],"mappings":";;AAIA,wBAqBC;AAxBD,mEAAgE;AAGzD,KAAK,UAAU,MAAM,CAA0B,KAAa;IAClE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAW,CAAC;IAClE,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,KAAK,CAAW,CAAC;IAC1E,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAGlF,MAAM,YAAY,GAAG,kBAAkB;SACrC,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;SACpB,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAE9B,MAAM,IAAI,GAAiB;QAC1B,OAAO;QACP,WAAW;QACX,YAAY;KACZ,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,YAAY,EAAE,EAAE,IAA8B,CAAC,CAAC;IAEtH,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function fetchAllGroups(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchAllGroups = fetchAllGroups;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function fetchAllGroups(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const getParticipants = this.getNodeParameter('getParticipants', index);
8
+ const query = {
9
+ getParticipants: getParticipants.toString(),
10
+ };
11
+ const response = await httpClient_1.apiRequest.call(this, 'GET', `/group/fetchAllGroups/${instanceName}`, {}, query);
12
+ return response;
13
+ }
14
+ //# sourceMappingURL=fetchAllGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllGroups.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/fetchAllGroups.ts"],"names":[],"mappings":";;AAGA,wCAWC;AAbD,mEAAgE;AAEzD,KAAK,UAAU,cAAc,CAA0B,KAAa;IAC1E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,KAAK,CAAY,CAAC;IAEnF,MAAM,KAAK,GAAgB;QAC1B,eAAe,EAAE,eAAe,CAAC,QAAQ,EAAE;KAC3C,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,yBAAyB,YAAY,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;IAExG,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function findGroupInfos(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.findGroupInfos = findGroupInfos;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function findGroupInfos(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const response = await httpClient_1.apiRequest.call(this, 'GET', `/group/findGroupInfos/${instanceName}`, {}, { groupJid });
9
+ return response;
10
+ }
11
+ //# sourceMappingURL=findGroupInfos.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findGroupInfos.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/findGroupInfos.ts"],"names":[],"mappings":";;AAGA,wCAOC;AATD,mEAAgE;AAEzD,KAAK,UAAU,cAAc,CAA0B,KAAa;IAC1E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IAEpE,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,yBAAyB,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE/G,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function inviteCode(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.inviteCode = inviteCode;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function inviteCode(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const response = await httpClient_1.apiRequest.call(this, 'GET', `/group/inviteCode/${instanceName}`, {}, { groupJid });
9
+ return response;
10
+ }
11
+ //# sourceMappingURL=inviteCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inviteCode.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/inviteCode.ts"],"names":[],"mappings":";;AAGA,gCAOC;AATD,mEAAgE;AAEzD,KAAK,UAAU,UAAU,CAA0B,KAAa;IACtE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IAEpE,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,qBAAqB,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE3G,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function inviteInfo(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.inviteInfo = inviteInfo;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function inviteInfo(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const inviteCode = this.getNodeParameter('inviteCode', index);
8
+ const response = await httpClient_1.apiRequest.call(this, 'GET', `/group/inviteInfo/${instanceName}`, {}, { inviteCode });
9
+ return response;
10
+ }
11
+ //# sourceMappingURL=inviteInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inviteInfo.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/inviteInfo.ts"],"names":[],"mappings":";;AAGA,gCAOC;AATD,mEAAgE;AAEzD,KAAK,UAAU,UAAU,CAA0B,KAAa;IACtE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,KAAK,CAAW,CAAC;IAExE,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,qBAAqB,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC;IAE7G,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function leaveGroup(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.leaveGroup = leaveGroup;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function leaveGroup(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const response = await httpClient_1.apiRequest.call(this, 'DELETE', `/group/leaveGroup/${instanceName}`, {}, { groupJid });
9
+ return response;
10
+ }
11
+ //# sourceMappingURL=leaveGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leaveGroup.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/leaveGroup.ts"],"names":[],"mappings":";;AAGA,gCAOC;AATD,mEAAgE;AAEzD,KAAK,UAAU,UAAU,CAA0B,KAAa;IACtE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IAEpE,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,qBAAqB,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE9G,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function participants(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.participants = participants;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function participants(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const response = await httpClient_1.apiRequest.call(this, 'GET', `/group/participants/${instanceName}`, {}, { groupJid });
9
+ return response;
10
+ }
11
+ //# sourceMappingURL=participants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"participants.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/participants.ts"],"names":[],"mappings":";;AAGA,oCAOC;AATD,mEAAgE;AAEzD,KAAK,UAAU,YAAY,CAA0B,KAAa;IACxE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IAEpE,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,uBAAuB,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE7G,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function revokeInviteCode(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.revokeInviteCode = revokeInviteCode;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function revokeInviteCode(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/group/revokeInviteCode/${instanceName}`, {}, { groupJid });
9
+ return response;
10
+ }
11
+ //# sourceMappingURL=revokeInviteCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revokeInviteCode.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/revokeInviteCode.ts"],"names":[],"mappings":";;AAGA,4CAOC;AATD,mEAAgE;AAEzD,KAAK,UAAU,gBAAgB,CAA0B,KAAa;IAC5E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IAEpE,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,2BAA2B,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAElH,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function sendInvite(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sendInvite = sendInvite;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function sendInvite(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const description = this.getNodeParameter('description', index);
9
+ const numbersString = this.getNodeParameter('numbers', index);
10
+ const numbers = numbersString
11
+ .split(',')
12
+ .map((n) => n.trim())
13
+ .filter((n) => n.length > 0);
14
+ const body = {
15
+ groupJid,
16
+ description,
17
+ numbers,
18
+ };
19
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/group/sendInvite/${instanceName}`, body);
20
+ return response;
21
+ }
22
+ //# sourceMappingURL=sendInvite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendInvite.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/sendInvite.ts"],"names":[],"mappings":";;AAGA,gCAyBC;AA3BD,mEAAgE;AAEzD,KAAK,UAAU,UAAU,CAA0B,KAAa;IACtE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IACpE,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,KAAK,CAAW,CAAC;IAC1E,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAW,CAAC;IAExE,MAAM,OAAO,GAAG,aAAa;SAC3B,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;SACpB,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAE9B,MAAM,IAAI,GAAG;QACZ,QAAQ;QACR,WAAW;QACX,OAAO;KACP,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CACrC,IAAI,EACJ,MAAM,EACN,qBAAqB,YAAY,EAAE,EACnC,IAA8B,CAC9B,CAAC;IAEF,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function toggleEphemeral(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toggleEphemeral = toggleEphemeral;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function toggleEphemeral(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const expiration = this.getNodeParameter('expiration', index);
9
+ const body = {
10
+ expiration,
11
+ };
12
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/group/toggleEphemeral/${instanceName}`, body, { groupJid });
13
+ return response;
14
+ }
15
+ //# sourceMappingURL=toggleEphemeral.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggleEphemeral.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/toggleEphemeral.ts"],"names":[],"mappings":";;AAGA,0CAkBC;AApBD,mEAAgE;AAEzD,KAAK,UAAU,eAAe,CAA0B,KAAa;IAC3E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IACpE,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,KAAK,CAAW,CAAC;IAExE,MAAM,IAAI,GAAG;QACZ,UAAU;KACV,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CACrC,IAAI,EACJ,MAAM,EACN,0BAA0B,YAAY,EAAE,EACxC,IAA8B,EAC9B,EAAE,QAAQ,EAAE,CACZ,CAAC;IAEF,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function updateGroupDescription(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateGroupDescription = updateGroupDescription;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function updateGroupDescription(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const description = this.getNodeParameter('description', index);
9
+ const body = {
10
+ description,
11
+ };
12
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/group/updateGroupDescription/${instanceName}`, body, { groupJid });
13
+ return response;
14
+ }
15
+ //# sourceMappingURL=updateGroupDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateGroupDescription.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/updateGroupDescription.ts"],"names":[],"mappings":";;AAGA,wDAkBC;AApBD,mEAAgE;AAEzD,KAAK,UAAU,sBAAsB,CAA0B,KAAa;IAClF,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IACpE,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,KAAK,CAAW,CAAC;IAE1E,MAAM,IAAI,GAAG;QACZ,WAAW;KACX,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CACrC,IAAI,EACJ,MAAM,EACN,iCAAiC,YAAY,EAAE,EAC/C,IAA8B,EAC9B,EAAE,QAAQ,EAAE,CACZ,CAAC;IAEF,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function updateGroupPicture(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateGroupPicture = updateGroupPicture;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function updateGroupPicture(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const image = this.getNodeParameter('image', index);
9
+ const body = {
10
+ image,
11
+ };
12
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/group/updateGroupPicture/${instanceName}`, body, { groupJid });
13
+ return response;
14
+ }
15
+ //# sourceMappingURL=updateGroupPicture.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateGroupPicture.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/updateGroupPicture.ts"],"names":[],"mappings":";;AAGA,gDAkBC;AApBD,mEAAgE;AAEzD,KAAK,UAAU,kBAAkB,CAA0B,KAAa;IAC9E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IACpE,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,CAAW,CAAC;IAE9D,MAAM,IAAI,GAAG;QACZ,KAAK;KACL,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CACrC,IAAI,EACJ,MAAM,EACN,6BAA6B,YAAY,EAAE,EAC3C,IAA8B,EAC9B,EAAE,QAAQ,EAAE,CACZ,CAAC;IAEF,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function updateGroupSubject(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateGroupSubject = updateGroupSubject;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function updateGroupSubject(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const subject = this.getNodeParameter('subject', index);
9
+ const body = {
10
+ subject,
11
+ };
12
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/group/updateGroupSubject/${instanceName}`, body, { groupJid });
13
+ return response;
14
+ }
15
+ //# sourceMappingURL=updateGroupSubject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateGroupSubject.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/updateGroupSubject.ts"],"names":[],"mappings":";;AAGA,gDAkBC;AApBD,mEAAgE;AAEzD,KAAK,UAAU,kBAAkB,CAA0B,KAAa;IAC9E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IACpE,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAW,CAAC;IAElE,MAAM,IAAI,GAAG;QACZ,OAAO;KACP,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CACrC,IAAI,EACJ,MAAM,EACN,6BAA6B,YAAY,EAAE,EAC3C,IAA8B,EAC9B,EAAE,QAAQ,EAAE,CACZ,CAAC;IAEF,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function updateParticipant(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateParticipant = updateParticipant;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function updateParticipant(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const action = this.getNodeParameter('action', index);
9
+ const participantsString = this.getNodeParameter('participants', index);
10
+ const participants = participantsString
11
+ .split(',')
12
+ .map((n) => n.trim())
13
+ .filter((n) => n.length > 0);
14
+ const body = {
15
+ action,
16
+ participants,
17
+ };
18
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/group/updateParticipant/${instanceName}`, body, { groupJid });
19
+ return response;
20
+ }
21
+ //# sourceMappingURL=updateParticipant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateParticipant.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/updateParticipant.ts"],"names":[],"mappings":";;AAIA,8CAyBC;AA5BD,mEAAgE;AAGzD,KAAK,UAAU,iBAAiB,CAA0B,KAAa;IAC7E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IACpE,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAsC,CAAC;IAC3F,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAElF,MAAM,YAAY,GAAG,kBAAkB;SACrC,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;SACpB,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAE9B,MAAM,IAAI,GAA4B;QACrC,MAAM;QACN,YAAY;KACZ,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CACrC,IAAI,EACJ,MAAM,EACN,4BAA4B,YAAY,EAAE,EAC1C,IAA8B,EAC9B,EAAE,QAAQ,EAAE,CACZ,CAAC;IAEF,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function updateSetting(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateSetting = updateSetting;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function updateSetting(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const groupJid = this.getNodeParameter('groupJid', index);
8
+ const action = this.getNodeParameter('action', index);
9
+ const body = {
10
+ action,
11
+ };
12
+ const response = await httpClient_1.apiRequest.call(this, 'POST', `/group/updateSetting/${instanceName}`, body, { groupJid });
13
+ return response;
14
+ }
15
+ //# sourceMappingURL=updateSetting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateSetting.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/group/updateSetting.ts"],"names":[],"mappings":";;AAGA,sCAkBC;AApBD,mEAAgE;AAEzD,KAAK,UAAU,aAAa,CAA0B,KAAa;IACzE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IACpE,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAW,CAAC;IAEhE,MAAM,IAAI,GAAG;QACZ,MAAM;KACN,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CACrC,IAAI,EACJ,MAAM,EACN,wBAAwB,YAAY,EAAE,EACtC,IAA8B,EAC9B,EAAE,QAAQ,EAAE,CACZ,CAAC;IAEF,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function connect(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.connect = connect;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function connect(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const number = this.getNodeParameter('number', index, '');
8
+ const query = {};
9
+ if (number)
10
+ query.number = number;
11
+ const response = await httpClient_1.apiRequest.call(this, 'GET', `/instance/connect/${instanceName}`, {}, query);
12
+ return response;
13
+ }
14
+ //# sourceMappingURL=connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/instance/connect.ts"],"names":[],"mappings":";;AAGA,0BAUC;AAZD,mEAAgE;AAEzD,KAAK,UAAU,OAAO,CAA0B,KAAa;IACnE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAW,CAAC;IAEpE,MAAM,KAAK,GAAgB,EAAE,CAAC;IAC9B,IAAI,MAAM;QAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;IAElC,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,qBAAqB,YAAY,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;IAEpG,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function connectionState(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.connectionState = connectionState;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function connectionState(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const response = await httpClient_1.apiRequest.call(this, 'GET', `/instance/connectionState/${instanceName}`);
8
+ return response;
9
+ }
10
+ //# sourceMappingURL=connectionState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectionState.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/instance/connectionState.ts"],"names":[],"mappings":";;AAGA,0CAMC;AARD,mEAAgE;AAEzD,KAAK,UAAU,eAAe,CAA0B,KAAa;IAC3E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAE5E,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,6BAA6B,YAAY,EAAE,CAAC,CAAC;IAEjG,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function create(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.create = create;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function create(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const token = this.getNodeParameter('token', index);
8
+ const integration = this.getNodeParameter('integration', index);
9
+ const additionalFields = this.getNodeParameter('additionalFields', index);
10
+ const body = {
11
+ instanceName,
12
+ token,
13
+ integration,
14
+ ...additionalFields,
15
+ };
16
+ const response = await httpClient_1.apiRequest.call(this, 'POST', '/instance/create', body);
17
+ return response;
18
+ }
19
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/instance/create.ts"],"names":[],"mappings":";;AAIA,wBAkBC;AArBD,mEAAgE;AAGzD,KAAK,UAAU,MAAM,CAA0B,KAAa;IAClE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAC5E,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,CAAW,CAAC;IAC9D,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,KAAK,CAAW,CAAC;IAC1E,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,KAAK,CAAgB,CAAC;IAGzF,MAAM,IAAI,GAAoB;QAC7B,YAAY;QACZ,KAAK;QAEL,WAAW;QACX,GAAG,gBAAgB;KACnB,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,kBAAkB,EAAE,IAA8B,CAAC,CAAC;IAEzG,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function deleteInstance(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteInstance = deleteInstance;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function deleteInstance(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const response = await httpClient_1.apiRequest.call(this, 'DELETE', `/instance/delete/${instanceName}`);
8
+ return response;
9
+ }
10
+ //# sourceMappingURL=delete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/instance/delete.ts"],"names":[],"mappings":";;AAGA,wCAMC;AARD,mEAAgE;AAEzD,KAAK,UAAU,cAAc,CAA0B,KAAa;IAC1E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAE5E,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,YAAY,EAAE,CAAC,CAAC;IAE3F,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function fetchInstances(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchInstances = fetchInstances;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function fetchInstances(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index, '');
7
+ const instanceId = this.getNodeParameter('instanceId', index, '');
8
+ const query = {};
9
+ if (instanceName)
10
+ query.instanceName = instanceName;
11
+ if (instanceId)
12
+ query.instanceId = instanceId;
13
+ const response = await httpClient_1.apiRequest.call(this, 'GET', '/instance/fetchInstances', {}, query);
14
+ return response;
15
+ }
16
+ //# sourceMappingURL=fetchInstances.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchInstances.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/instance/fetchInstances.ts"],"names":[],"mappings":";;AAGA,wCAWC;AAbD,mEAAgE;AAEzD,KAAK,UAAU,cAAc,CAA0B,KAAa;IAC1E,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,EAAE,EAAE,CAAW,CAAC;IAChF,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,KAAK,EAAE,EAAE,CAAW,CAAC;IAE5E,MAAM,KAAK,GAAgB,EAAE,CAAC;IAC9B,IAAI,YAAY;QAAE,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;IACpD,IAAI,UAAU;QAAE,KAAK,CAAC,UAAU,GAAG,UAAU,CAAC;IAE9C,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,0BAA0B,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;IAE3F,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function logout(this: IExecuteFunctions, index: number): Promise<any>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.logout = logout;
4
+ const httpClient_1 = require("../../methods/transport/httpClient");
5
+ async function logout(index) {
6
+ const instanceName = this.getNodeParameter('instanceName', index);
7
+ const response = await httpClient_1.apiRequest.call(this, 'DELETE', `/instance/logout/${instanceName}`);
8
+ return response;
9
+ }
10
+ //# sourceMappingURL=logout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logout.js","sourceRoot":"","sources":["../../../../../nodes/EvolutionApi/actions/instance/logout.ts"],"names":[],"mappings":";;AAGA,wBAMC;AARD,mEAAgE;AAEzD,KAAK,UAAU,MAAM,CAA0B,KAAa;IAClE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAW,CAAC;IAE5E,MAAM,QAAQ,GAAG,MAAM,uBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,YAAY,EAAE,CAAC,CAAC;IAE3F,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function restart(this: IExecuteFunctions, index: number): Promise<any>;