@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.
- package/LICENSE.md +19 -0
- package/README.DE.md +231 -0
- package/README.md +220 -0
- package/dist/credentials/EvolutionApi.credentials.d.ts +9 -0
- package/dist/credentials/EvolutionApi.credentials.js +47 -0
- package/dist/credentials/EvolutionApi.credentials.js.map +1 -0
- package/dist/nodes/EvolutionApi/EvolutionApi.node.d.ts +13 -0
- package/dist/nodes/EvolutionApi/EvolutionApi.node.js +196 -0
- package/dist/nodes/EvolutionApi/EvolutionApi.node.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/call/offerCall.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/call/offerCall.js +15 -0
- package/dist/nodes/EvolutionApi/actions/call/offerCall.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/archiveChat.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/archiveChat.js +16 -0
- package/dist/nodes/EvolutionApi/actions/chat/archiveChat.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/deleteMessageForEveryone.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/deleteMessageForEveryone.js +22 -0
- package/dist/nodes/EvolutionApi/actions/chat/deleteMessageForEveryone.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/fetchProfilePictureUrl.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/fetchProfilePictureUrl.js +14 -0
- package/dist/nodes/EvolutionApi/actions/chat/fetchProfilePictureUrl.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/findChats.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/findChats.js +10 -0
- package/dist/nodes/EvolutionApi/actions/chat/findChats.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/findContacts.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/findContacts.js +17 -0
- package/dist/nodes/EvolutionApi/actions/chat/findContacts.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/findMessages.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/findMessages.js +17 -0
- package/dist/nodes/EvolutionApi/actions/chat/findMessages.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/findStatusMessage.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/findStatusMessage.js +23 -0
- package/dist/nodes/EvolutionApi/actions/chat/findStatusMessage.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/getBase64FromMediaMessage.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/getBase64FromMediaMessage.js +20 -0
- package/dist/nodes/EvolutionApi/actions/chat/getBase64FromMediaMessage.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/markChatUnread.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/markChatUnread.js +14 -0
- package/dist/nodes/EvolutionApi/actions/chat/markChatUnread.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/markMessageAsRead.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/markMessageAsRead.js +14 -0
- package/dist/nodes/EvolutionApi/actions/chat/markMessageAsRead.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/sendPresence.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/sendPresence.js +19 -0
- package/dist/nodes/EvolutionApi/actions/chat/sendPresence.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/updateBlockStatus.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/updateBlockStatus.js +16 -0
- package/dist/nodes/EvolutionApi/actions/chat/updateBlockStatus.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/updateMessage.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/updateMessage.js +20 -0
- package/dist/nodes/EvolutionApi/actions/chat/updateMessage.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chat/whatsappNumbers.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chat/whatsappNumbers.js +18 -0
- package/dist/nodes/EvolutionApi/actions/chat/whatsappNumbers.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chatbot/findChatwoot.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chatbot/findChatwoot.js +10 -0
- package/dist/nodes/EvolutionApi/actions/chatbot/findChatwoot.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/chatbot/setChatwoot.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/chatbot/setChatwoot.js +22 -0
- package/dist/nodes/EvolutionApi/actions/chatbot/setChatwoot.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/getInformations/getInformations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/getInformations/getInformations.js +9 -0
- package/dist/nodes/EvolutionApi/actions/getInformations/getInformations.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/create.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/create.js +22 -0
- package/dist/nodes/EvolutionApi/actions/group/create.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/fetchAllGroups.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/fetchAllGroups.js +14 -0
- package/dist/nodes/EvolutionApi/actions/group/fetchAllGroups.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/findGroupInfos.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/findGroupInfos.js +11 -0
- package/dist/nodes/EvolutionApi/actions/group/findGroupInfos.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/inviteCode.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/inviteCode.js +11 -0
- package/dist/nodes/EvolutionApi/actions/group/inviteCode.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/inviteInfo.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/inviteInfo.js +11 -0
- package/dist/nodes/EvolutionApi/actions/group/inviteInfo.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/leaveGroup.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/leaveGroup.js +11 -0
- package/dist/nodes/EvolutionApi/actions/group/leaveGroup.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/participants.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/participants.js +11 -0
- package/dist/nodes/EvolutionApi/actions/group/participants.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/revokeInviteCode.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/revokeInviteCode.js +11 -0
- package/dist/nodes/EvolutionApi/actions/group/revokeInviteCode.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/sendInvite.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/sendInvite.js +22 -0
- package/dist/nodes/EvolutionApi/actions/group/sendInvite.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/toggleEphemeral.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/toggleEphemeral.js +15 -0
- package/dist/nodes/EvolutionApi/actions/group/toggleEphemeral.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/updateGroupDescription.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/updateGroupDescription.js +15 -0
- package/dist/nodes/EvolutionApi/actions/group/updateGroupDescription.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/updateGroupPicture.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/updateGroupPicture.js +15 -0
- package/dist/nodes/EvolutionApi/actions/group/updateGroupPicture.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/updateGroupSubject.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/updateGroupSubject.js +15 -0
- package/dist/nodes/EvolutionApi/actions/group/updateGroupSubject.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/updateParticipant.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/updateParticipant.js +21 -0
- package/dist/nodes/EvolutionApi/actions/group/updateParticipant.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/group/updateSetting.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/group/updateSetting.js +15 -0
- package/dist/nodes/EvolutionApi/actions/group/updateSetting.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/instance/connect.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/instance/connect.js +14 -0
- package/dist/nodes/EvolutionApi/actions/instance/connect.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/instance/connectionState.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/instance/connectionState.js +10 -0
- package/dist/nodes/EvolutionApi/actions/instance/connectionState.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/instance/create.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/instance/create.js +19 -0
- package/dist/nodes/EvolutionApi/actions/instance/create.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/instance/delete.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/instance/delete.js +10 -0
- package/dist/nodes/EvolutionApi/actions/instance/delete.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/instance/fetchInstances.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/instance/fetchInstances.js +16 -0
- package/dist/nodes/EvolutionApi/actions/instance/fetchInstances.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/instance/logout.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/instance/logout.js +10 -0
- package/dist/nodes/EvolutionApi/actions/instance/logout.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/instance/restart.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/instance/restart.js +10 -0
- package/dist/nodes/EvolutionApi/actions/instance/restart.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/instance/setPresence.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/instance/setPresence.js +19 -0
- package/dist/nodes/EvolutionApi/actions/instance/setPresence.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findNats.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findNats.js +10 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findNats.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findPusher.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findPusher.js +10 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findPusher.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findRabbitmq.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findRabbitmq.js +10 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findRabbitmq.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findSqs.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findSqs.js +10 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findSqs.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findWebhook.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findWebhook.js +10 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findWebhook.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findWebsocket.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findWebsocket.js +10 -0
- package/dist/nodes/EvolutionApi/actions/integrations/findWebsocket.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setNats.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setNats.js +14 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setNats.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setPusher.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setPusher.js +14 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setPusher.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setRabbitmq.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setRabbitmq.js +14 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setRabbitmq.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setSqs.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setSqs.js +14 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setSqs.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setWebhook.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setWebhook.js +14 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setWebhook.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setWebsocket.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setWebsocket.js +14 -0
- package/dist/nodes/EvolutionApi/actions/integrations/setWebsocket.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/label/findLabels.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/label/findLabels.js +10 -0
- package/dist/nodes/EvolutionApi/actions/label/findLabels.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/label/handleLabel.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/label/handleLabel.js +15 -0
- package/dist/nodes/EvolutionApi/actions/label/handleLabel.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendButtons.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendButtons.js +22 -0
- package/dist/nodes/EvolutionApi/actions/message/sendButtons.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendContact.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendContact.js +16 -0
- package/dist/nodes/EvolutionApi/actions/message/sendContact.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendList.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendList.js +24 -0
- package/dist/nodes/EvolutionApi/actions/message/sendList.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendLocation.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendLocation.js +22 -0
- package/dist/nodes/EvolutionApi/actions/message/sendLocation.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendMedia.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendMedia.js +22 -0
- package/dist/nodes/EvolutionApi/actions/message/sendMedia.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendPoll.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendPoll.js +47 -0
- package/dist/nodes/EvolutionApi/actions/message/sendPoll.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendPtv.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendPtv.js +16 -0
- package/dist/nodes/EvolutionApi/actions/message/sendPtv.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendReaction.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendReaction.js +22 -0
- package/dist/nodes/EvolutionApi/actions/message/sendReaction.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendStatus.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendStatus.js +18 -0
- package/dist/nodes/EvolutionApi/actions/message/sendStatus.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendSticker.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendSticker.js +16 -0
- package/dist/nodes/EvolutionApi/actions/message/sendSticker.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendText.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendText.js +19 -0
- package/dist/nodes/EvolutionApi/actions/message/sendText.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/message/sendWhatsAppAudio.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/message/sendWhatsAppAudio.js +16 -0
- package/dist/nodes/EvolutionApi/actions/message/sendWhatsAppAudio.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/metrics/getMetrics.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/metrics/getMetrics.js +9 -0
- package/dist/nodes/EvolutionApi/actions/metrics/getMetrics.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/profile/fetchBusinessProfile.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/profile/fetchBusinessProfile.js +13 -0
- package/dist/nodes/EvolutionApi/actions/profile/fetchBusinessProfile.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/profile/fetchPrivacySettings.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/profile/fetchPrivacySettings.js +10 -0
- package/dist/nodes/EvolutionApi/actions/profile/fetchPrivacySettings.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/profile/fetchProfile.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/profile/fetchProfile.js +13 -0
- package/dist/nodes/EvolutionApi/actions/profile/fetchProfile.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/profile/removeProfilePicture.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/profile/removeProfilePicture.js +10 -0
- package/dist/nodes/EvolutionApi/actions/profile/removeProfilePicture.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/profile/updatePrivacySettings.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/profile/updatePrivacySettings.js +18 -0
- package/dist/nodes/EvolutionApi/actions/profile/updatePrivacySettings.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/profile/updateProfileName.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/profile/updateProfileName.js +13 -0
- package/dist/nodes/EvolutionApi/actions/profile/updateProfileName.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/profile/updateProfilePicture.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/profile/updateProfilePicture.js +13 -0
- package/dist/nodes/EvolutionApi/actions/profile/updateProfilePicture.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/profile/updateProfileStatus.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/profile/updateProfileStatus.js +13 -0
- package/dist/nodes/EvolutionApi/actions/profile/updateProfileStatus.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/proxy/findProxy.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/proxy/findProxy.js +10 -0
- package/dist/nodes/EvolutionApi/actions/proxy/findProxy.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/proxy/setProxy.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/proxy/setProxy.js +18 -0
- package/dist/nodes/EvolutionApi/actions/proxy/setProxy.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/router.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/router.js +419 -0
- package/dist/nodes/EvolutionApi/actions/router.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/settings/findSettings.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/settings/findSettings.js +10 -0
- package/dist/nodes/EvolutionApi/actions/settings/findSettings.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/settings/setSettings.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/settings/setSettings.js +19 -0
- package/dist/nodes/EvolutionApi/actions/settings/setSettings.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/storage/getMedia.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/storage/getMedia.js +15 -0
- package/dist/nodes/EvolutionApi/actions/storage/getMedia.js.map +1 -0
- package/dist/nodes/EvolutionApi/actions/storage/getMediaUrl.d.ts +2 -0
- package/dist/nodes/EvolutionApi/actions/storage/getMediaUrl.js +13 -0
- package/dist/nodes/EvolutionApi/actions/storage/getMediaUrl.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Call.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Call.description.js +84 -0
- package/dist/nodes/EvolutionApi/descriptions/Call.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Chat.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Chat.description.js +472 -0
- package/dist/nodes/EvolutionApi/descriptions/Chat.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Chatbot.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Chatbot.description.js +183 -0
- package/dist/nodes/EvolutionApi/descriptions/Chatbot.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/GetInformations.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/GetInformations.description.js +27 -0
- package/dist/nodes/EvolutionApi/descriptions/GetInformations.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Group.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Group.description.js +307 -0
- package/dist/nodes/EvolutionApi/descriptions/Group.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Instance.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Instance.description.js +271 -0
- package/dist/nodes/EvolutionApi/descriptions/Instance.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Integrations.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Integrations.description.js +183 -0
- package/dist/nodes/EvolutionApi/descriptions/Integrations.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Label.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Label.description.js +96 -0
- package/dist/nodes/EvolutionApi/descriptions/Label.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Message.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Message.description.js +648 -0
- package/dist/nodes/EvolutionApi/descriptions/Message.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Metrics.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Metrics.description.js +27 -0
- package/dist/nodes/EvolutionApi/descriptions/Metrics.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Profile.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Profile.description.js +250 -0
- package/dist/nodes/EvolutionApi/descriptions/Profile.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Proxy.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Proxy.description.js +135 -0
- package/dist/nodes/EvolutionApi/descriptions/Proxy.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Settings.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Settings.description.js +142 -0
- package/dist/nodes/EvolutionApi/descriptions/Settings.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/descriptions/Storage.description.d.ts +3 -0
- package/dist/nodes/EvolutionApi/descriptions/Storage.description.js +92 -0
- package/dist/nodes/EvolutionApi/descriptions/Storage.description.js.map +1 -0
- package/dist/nodes/EvolutionApi/evolutionApi.svg +14 -0
- package/dist/nodes/EvolutionApi/methods/loadOptions/group.loadOptions.d.ts +2 -0
- package/dist/nodes/EvolutionApi/methods/loadOptions/group.loadOptions.js +19 -0
- package/dist/nodes/EvolutionApi/methods/loadOptions/group.loadOptions.js.map +1 -0
- package/dist/nodes/EvolutionApi/methods/loadOptions/instance.loadOptions.d.ts +2 -0
- package/dist/nodes/EvolutionApi/methods/loadOptions/instance.loadOptions.js +21 -0
- package/dist/nodes/EvolutionApi/methods/loadOptions/instance.loadOptions.js.map +1 -0
- package/dist/nodes/EvolutionApi/methods/transport/httpClient.d.ts +3 -0
- package/dist/nodes/EvolutionApi/methods/transport/httpClient.js +27 -0
- package/dist/nodes/EvolutionApi/methods/transport/httpClient.js.map +1 -0
- package/dist/nodes/EvolutionApi/types/api.d.ts +215 -0
- package/dist/nodes/EvolutionApi/types/api.js +3 -0
- package/dist/nodes/EvolutionApi/types/api.js.map +1 -0
- package/dist/package.json +63 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.js +0 -0
- 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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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"}
|