n8n-nodes-new-evolution-api 2.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.md +347 -0
- package/dist/credentials/EvolutionApiV2Api.credentials.d.ts +9 -0
- package/dist/credentials/EvolutionApiV2Api.credentials.js +50 -0
- package/dist/credentials/EvolutionApiV2Api.credentials.js.map +1 -0
- package/dist/nodes/EvolutionApi/EvolutionApiTrigger.node.d.ts +18 -0
- package/dist/nodes/EvolutionApi/EvolutionApiTrigger.node.js +835 -0
- package/dist/nodes/EvolutionApi/EvolutionApiTrigger.node.js.map +1 -0
- package/dist/nodes/EvolutionApi/EvolutionApiV2.node.d.ts +16 -0
- package/dist/nodes/EvolutionApi/EvolutionApiV2.node.js +65 -0
- package/dist/nodes/EvolutionApi/EvolutionApiV2.node.js.map +1 -0
- package/dist/nodes/EvolutionApi/EvolutionApiV2.node.json +22 -0
- package/dist/nodes/EvolutionApi/evolutionapi.svg +14 -0
- package/dist/nodes/EvolutionApi/execute/business/getCatalog.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/business/getCatalog.js +24 -0
- package/dist/nodes/EvolutionApi/execute/business/getCatalog.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/business/getCollections.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/business/getCollections.js +24 -0
- package/dist/nodes/EvolutionApi/execute/business/getCollections.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/call/offerCall.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/call/offerCall.js +24 -0
- package/dist/nodes/EvolutionApi/execute/call/offerCall.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/blockContact.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/blockContact.js +51 -0
- package/dist/nodes/EvolutionApi/execute/chat/blockContact.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/checkNumber.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/checkNumber.js +50 -0
- package/dist/nodes/EvolutionApi/execute/chat/checkNumber.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/deleteMessage.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/deleteMessage.js +62 -0
- package/dist/nodes/EvolutionApi/execute/chat/deleteMessage.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/fetchProfilePicture.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/fetchProfilePicture.js +49 -0
- package/dist/nodes/EvolutionApi/execute/chat/fetchProfilePicture.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/findChatByJid.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/chat/findChatByJid.js +16 -0
- package/dist/nodes/EvolutionApi/execute/chat/findChatByJid.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/findChats.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/findChats.js +57 -0
- package/dist/nodes/EvolutionApi/execute/chat/findChats.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/findContacts.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/findContacts.js +55 -0
- package/dist/nodes/EvolutionApi/execute/chat/findContacts.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/findMessages.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/findMessages.js +57 -0
- package/dist/nodes/EvolutionApi/execute/chat/findMessages.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/findStatusMessages.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/findStatusMessages.js +58 -0
- package/dist/nodes/EvolutionApi/execute/chat/findStatusMessages.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/getMediaBase64.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/getMediaBase64.js +55 -0
- package/dist/nodes/EvolutionApi/execute/chat/getMediaBase64.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/manageArchive.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/manageArchive.js +60 -0
- package/dist/nodes/EvolutionApi/execute/chat/manageArchive.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/markChatUnread.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/markChatUnread.js +58 -0
- package/dist/nodes/EvolutionApi/execute/chat/markChatUnread.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/readMessages.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/readMessages.js +57 -0
- package/dist/nodes/EvolutionApi/execute/chat/readMessages.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/sendPresence.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/sendPresence.js +53 -0
- package/dist/nodes/EvolutionApi/execute/chat/sendPresence.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/chat/updateMessage.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/chat/updateMessage.js +57 -0
- package/dist/nodes/EvolutionApi/execute/chat/updateMessage.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityAcceptInvite.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityAcceptInvite.js +48 -0
- package/dist/nodes/EvolutionApi/execute/community/communityAcceptInvite.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityInviteCode.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityInviteCode.js +48 -0
- package/dist/nodes/EvolutionApi/execute/community/communityInviteCode.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityInviteInfo.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityInviteInfo.js +48 -0
- package/dist/nodes/EvolutionApi/execute/community/communityInviteInfo.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityJoinApprovalMode.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityJoinApprovalMode.js +50 -0
- package/dist/nodes/EvolutionApi/execute/community/communityJoinApprovalMode.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityLinkGroups.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityLinkGroups.js +54 -0
- package/dist/nodes/EvolutionApi/execute/community/communityLinkGroups.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityMemberAddMode.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityMemberAddMode.js +50 -0
- package/dist/nodes/EvolutionApi/execute/community/communityMemberAddMode.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityMetadata.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityMetadata.js +48 -0
- package/dist/nodes/EvolutionApi/execute/community/communityMetadata.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityParticipants.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityParticipants.js +45 -0
- package/dist/nodes/EvolutionApi/execute/community/communityParticipants.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityRequestParticipantsList.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityRequestParticipantsList.js +48 -0
- package/dist/nodes/EvolutionApi/execute/community/communityRequestParticipantsList.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityRequestParticipantsUpdate.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityRequestParticipantsUpdate.js +56 -0
- package/dist/nodes/EvolutionApi/execute/community/communityRequestParticipantsUpdate.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityRevokeInviteCode.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityRevokeInviteCode.js +48 -0
- package/dist/nodes/EvolutionApi/execute/community/communityRevokeInviteCode.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communitySettings.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communitySettings.js +50 -0
- package/dist/nodes/EvolutionApi/execute/community/communitySettings.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityToggleEphemeral.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityToggleEphemeral.js +50 -0
- package/dist/nodes/EvolutionApi/execute/community/communityToggleEphemeral.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/communityUnlinkGroups.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/communityUnlinkGroups.js +54 -0
- package/dist/nodes/EvolutionApi/execute/community/communityUnlinkGroups.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/createCommunity.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/createCommunity.js +53 -0
- package/dist/nodes/EvolutionApi/execute/community/createCommunity.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/fetchCommunities.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/fetchCommunities.js +44 -0
- package/dist/nodes/EvolutionApi/execute/community/fetchCommunities.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/leaveCommunity.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/leaveCommunity.js +48 -0
- package/dist/nodes/EvolutionApi/execute/community/leaveCommunity.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/updateCommunityDescription.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/updateCommunityDescription.js +50 -0
- package/dist/nodes/EvolutionApi/execute/community/updateCommunityDescription.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/updateCommunityParticipants.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/updateCommunityParticipants.js +53 -0
- package/dist/nodes/EvolutionApi/execute/community/updateCommunityParticipants.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/community/updateCommunitySubject.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/community/updateCommunitySubject.js +50 -0
- package/dist/nodes/EvolutionApi/execute/community/updateCommunitySubject.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/events/setKafka.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/events/setKafka.js +37 -0
- package/dist/nodes/EvolutionApi/execute/events/setKafka.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/events/setNats.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/events/setNats.js +33 -0
- package/dist/nodes/EvolutionApi/execute/events/setNats.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/events/setProxy.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/events/setProxy.js +63 -0
- package/dist/nodes/EvolutionApi/execute/events/setProxy.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/events/setPusher.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/events/setPusher.js +39 -0
- package/dist/nodes/EvolutionApi/execute/events/setPusher.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/events/setRabbitMQ.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/events/setRabbitMQ.js +83 -0
- package/dist/nodes/EvolutionApi/execute/events/setRabbitMQ.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/events/setSqs.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/events/setSqs.js +37 -0
- package/dist/nodes/EvolutionApi/execute/events/setSqs.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/events/setWebhook.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/events/setWebhook.js +89 -0
- package/dist/nodes/EvolutionApi/execute/events/setWebhook.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/events/setWebsocket.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/events/setWebsocket.js +29 -0
- package/dist/nodes/EvolutionApi/execute/events/setWebsocket.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/evolutionRequest.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/evolutionRequest.js +18 -0
- package/dist/nodes/EvolutionApi/execute/evolutionRequest.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/createGroup.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/createGroup.js +54 -0
- package/dist/nodes/EvolutionApi/execute/groups/createGroup.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/fetchGroups.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/fetchGroups.js +69 -0
- package/dist/nodes/EvolutionApi/execute/groups/fetchGroups.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/fetchInviteCode.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/fetchInviteCode.js +45 -0
- package/dist/nodes/EvolutionApi/execute/groups/fetchInviteCode.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/findGroupInfos.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/groups/findGroupInfos.js +17 -0
- package/dist/nodes/EvolutionApi/execute/groups/findGroupInfos.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/findParticipants.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/findParticipants.js +45 -0
- package/dist/nodes/EvolutionApi/execute/groups/findParticipants.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/inviteInfo.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/groups/inviteInfo.js +17 -0
- package/dist/nodes/EvolutionApi/execute/groups/inviteInfo.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/joinGroup.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/joinGroup.js +45 -0
- package/dist/nodes/EvolutionApi/execute/groups/joinGroup.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/leaveGroup.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/leaveGroup.js +45 -0
- package/dist/nodes/EvolutionApi/execute/groups/leaveGroup.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/revokeInviteCode.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/revokeInviteCode.js +45 -0
- package/dist/nodes/EvolutionApi/execute/groups/revokeInviteCode.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/sendInviteLink.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/sendInviteLink.js +54 -0
- package/dist/nodes/EvolutionApi/execute/groups/sendInviteLink.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/toggleEphemeral.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/toggleEphemeral.js +50 -0
- package/dist/nodes/EvolutionApi/execute/groups/toggleEphemeral.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateGroupDescription.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateGroupDescription.js +50 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateGroupDescription.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateGroupName.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateGroupName.js +50 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateGroupName.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateGroupPicture.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateGroupPicture.js +50 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateGroupPicture.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateParticipants.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateParticipants.js +53 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateParticipants.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateSettings.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateSettings.js +50 -0
- package/dist/nodes/EvolutionApi/execute/groups/updateSettings.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/index.d.ts +8 -0
- package/dist/nodes/EvolutionApi/execute/index.js +296 -0
- package/dist/nodes/EvolutionApi/execute/index.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/connectionState.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/instance/connectionState.js +12 -0
- package/dist/nodes/EvolutionApi/execute/instance/connectionState.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/createInstanceBasic.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/instance/createInstanceBasic.js +104 -0
- package/dist/nodes/EvolutionApi/execute/instance/createInstanceBasic.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/deleteInstance.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/instance/deleteInstance.js +48 -0
- package/dist/nodes/EvolutionApi/execute/instance/deleteInstance.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/fetchInstances.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/instance/fetchInstances.js +48 -0
- package/dist/nodes/EvolutionApi/execute/instance/fetchInstances.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/fetchProxy.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/instance/fetchProxy.js +12 -0
- package/dist/nodes/EvolutionApi/execute/instance/fetchProxy.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/instanceConnect.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/instance/instanceConnect.js +48 -0
- package/dist/nodes/EvolutionApi/execute/instance/instanceConnect.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/instanceSettings.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/instance/instanceSettings.js +71 -0
- package/dist/nodes/EvolutionApi/execute/instance/instanceSettings.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/logoutInstance.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/instance/logoutInstance.js +48 -0
- package/dist/nodes/EvolutionApi/execute/instance/logoutInstance.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/restartInstance.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/instance/restartInstance.js +48 -0
- package/dist/nodes/EvolutionApi/execute/instance/restartInstance.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/setPresence.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/instance/setPresence.js +55 -0
- package/dist/nodes/EvolutionApi/execute/instance/setPresence.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/instance/setProxy.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/instance/setProxy.js +89 -0
- package/dist/nodes/EvolutionApi/execute/instance/setProxy.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setChatwoot.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setChatwoot.js +108 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setChatwoot.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setDifyBot.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setDifyBot.js +169 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setDifyBot.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setEvoai.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setEvoai.js +106 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setEvoai.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setEvolutionBot.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setEvolutionBot.js +178 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setEvolutionBot.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setFlowiseBot.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setFlowiseBot.js +178 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setFlowiseBot.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setN8nBot.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setN8nBot.js +100 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setN8nBot.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setOpenai.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setOpenai.js +148 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setOpenai.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setTypebot.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setTypebot.js +194 -0
- package/dist/nodes/EvolutionApi/execute/integrations/setTypebot.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/labels/fetchLabels.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/labels/fetchLabels.js +44 -0
- package/dist/nodes/EvolutionApi/execute/labels/fetchLabels.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/labels/handleLabel.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/labels/handleLabel.js +52 -0
- package/dist/nodes/EvolutionApi/execute/labels/handleLabel.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendAudio.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendAudio.js +86 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendAudio.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendButtons.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendButtons.js +121 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendButtons.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendContact.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendContact.js +80 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendContact.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendDocument.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendDocument.js +97 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendDocument.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendImage.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendImage.js +98 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendImage.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendList.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendList.js +111 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendList.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendLocation.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendLocation.js +47 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendLocation.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendPix.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendPix.js +84 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendPix.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendPoll.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendPoll.js +89 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendPoll.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendPtv.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendPtv.js +41 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendPtv.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendReaction.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendReaction.js +79 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendReaction.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendSticker.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendSticker.js +41 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendSticker.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendStories.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendStories.js +94 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendStories.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendTemplate.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendTemplate.js +38 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendTemplate.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendText.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendText.js +94 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendText.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendVideo.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendVideo.js +89 -0
- package/dist/nodes/EvolutionApi/execute/messages/sendVideo.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/createNewsletter.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/createNewsletter.js +57 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/createNewsletter.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/deleteNewsletter.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/deleteNewsletter.js +48 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/deleteNewsletter.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/fetchNewsletterMessages.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/fetchNewsletterMessages.js +58 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/fetchNewsletterMessages.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/fetchNewsletters.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/fetchNewsletters.js +44 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/fetchNewsletters.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/followNewsletter.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/followNewsletter.js +48 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/followNewsletter.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/muteNewsletter.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/muteNewsletter.js +48 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/muteNewsletter.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/newsletterInviteInfo.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/newsletterInviteInfo.js +14 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/newsletterInviteInfo.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/newsletterMetadata.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/newsletterMetadata.js +56 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/newsletterMetadata.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/newsletterReactionMode.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/newsletterReactionMode.js +50 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/newsletterReactionMode.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/reactNewsletterMessage.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/reactNewsletterMessage.js +52 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/reactNewsletterMessage.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/removeNewsletterPicture.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/removeNewsletterPicture.js +48 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/removeNewsletterPicture.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/repostNewsletterMessage.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/repostNewsletterMessage.js +355 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/repostNewsletterMessage.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterMedia.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterMedia.js +68 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterMedia.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterPoll.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterPoll.js +39 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterPoll.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterQuestion.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterQuestion.js +22 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterQuestion.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterText.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterText.js +20 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/sendNewsletterText.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/unfollowNewsletter.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/unfollowNewsletter.js +48 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/unfollowNewsletter.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/unmuteNewsletter.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/unmuteNewsletter.js +48 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/unmuteNewsletter.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/updateNewsletterDescription.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/updateNewsletterDescription.js +50 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/updateNewsletterDescription.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/updateNewsletterName.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/updateNewsletterName.js +50 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/updateNewsletterName.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/updateNewsletterPicture.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/updateNewsletterPicture.js +50 -0
- package/dist/nodes/EvolutionApi/execute/newsletter/updateNewsletterPicture.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/profile/fetchBusinessProfile.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/profile/fetchBusinessProfile.js +49 -0
- package/dist/nodes/EvolutionApi/execute/profile/fetchBusinessProfile.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/profile/fetchPrivacySettings.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/profile/fetchPrivacySettings.js +44 -0
- package/dist/nodes/EvolutionApi/execute/profile/fetchPrivacySettings.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/profile/fetchProfile.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/profile/fetchProfile.js +49 -0
- package/dist/nodes/EvolutionApi/execute/profile/fetchProfile.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/profile/removeProfilePicture.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/profile/removeProfilePicture.js +44 -0
- package/dist/nodes/EvolutionApi/execute/profile/removeProfilePicture.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/profile/updatePrivacySettings.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/profile/updatePrivacySettings.js +59 -0
- package/dist/nodes/EvolutionApi/execute/profile/updatePrivacySettings.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/profile/updateProfileName.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/profile/updateProfileName.js +49 -0
- package/dist/nodes/EvolutionApi/execute/profile/updateProfileName.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/profile/updateProfilePicture.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/profile/updateProfilePicture.js +49 -0
- package/dist/nodes/EvolutionApi/execute/profile/updateProfilePicture.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/profile/updateProfileStatus.d.ts +27 -0
- package/dist/nodes/EvolutionApi/execute/profile/updateProfileStatus.js +49 -0
- package/dist/nodes/EvolutionApi/execute/profile/updateProfileStatus.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/s3/getMedia.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/s3/getMedia.js +19 -0
- package/dist/nodes/EvolutionApi/execute/s3/getMedia.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/s3/getMediaUrl.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/s3/getMediaUrl.js +19 -0
- package/dist/nodes/EvolutionApi/execute/s3/getMediaUrl.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/templates/createTemplate.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/templates/createTemplate.js +23 -0
- package/dist/nodes/EvolutionApi/execute/templates/createTemplate.js.map +1 -0
- package/dist/nodes/EvolutionApi/execute/templates/fetchTemplates.d.ts +2 -0
- package/dist/nodes/EvolutionApi/execute/templates/fetchTemplates.js +12 -0
- package/dist/nodes/EvolutionApi/execute/templates/fetchTemplates.js.map +1 -0
- package/dist/nodes/EvolutionApi/loadOptions.d.ts +7 -0
- package/dist/nodes/EvolutionApi/loadOptions.js +264 -0
- package/dist/nodes/EvolutionApi/loadOptions.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/ai-integrations.fields.d.ts +4 -0
- package/dist/nodes/EvolutionApi/properties/ai-integrations.fields.js +608 -0
- package/dist/nodes/EvolutionApi/properties/ai-integrations.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/business.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/business.fields.js +126 -0
- package/dist/nodes/EvolutionApi/properties/business.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/business.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/business.operations.js +30 -0
- package/dist/nodes/EvolutionApi/properties/business.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/call.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/call.fields.js +63 -0
- package/dist/nodes/EvolutionApi/properties/call.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/call.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/call.operations.js +24 -0
- package/dist/nodes/EvolutionApi/properties/call.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/chat.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/chat.fields.js +622 -0
- package/dist/nodes/EvolutionApi/properties/chat.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/chat.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/chat.operations.js +108 -0
- package/dist/nodes/EvolutionApi/properties/chat.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/community.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/community.fields.js +475 -0
- package/dist/nodes/EvolutionApi/properties/community.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/community.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/community.operations.js +138 -0
- package/dist/nodes/EvolutionApi/properties/community.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/events.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/events.fields.js +938 -0
- package/dist/nodes/EvolutionApi/properties/events.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/events.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/events.operations.js +60 -0
- package/dist/nodes/EvolutionApi/properties/events.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/groups.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/groups.fields.js +798 -0
- package/dist/nodes/EvolutionApi/properties/groups.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/groups.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/groups.operations.js +114 -0
- package/dist/nodes/EvolutionApi/properties/groups.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/index.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/index.js +132 -0
- package/dist/nodes/EvolutionApi/properties/index.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/instances.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/instances.fields.js +982 -0
- package/dist/nodes/EvolutionApi/properties/instances.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/instances.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/instances.operations.js +84 -0
- package/dist/nodes/EvolutionApi/properties/instances.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/integrations.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/integrations.fields.js +1782 -0
- package/dist/nodes/EvolutionApi/properties/integrations.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/integrations.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/integrations.operations.js +66 -0
- package/dist/nodes/EvolutionApi/properties/integrations.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/labels.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/labels.fields.js +55 -0
- package/dist/nodes/EvolutionApi/properties/labels.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/labels.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/labels.operations.js +30 -0
- package/dist/nodes/EvolutionApi/properties/labels.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/messages.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/messages.fields.js +2199 -0
- package/dist/nodes/EvolutionApi/properties/messages.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/messages.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/messages.operations.js +114 -0
- package/dist/nodes/EvolutionApi/properties/messages.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/newsletter.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/newsletter.fields.js +1050 -0
- package/dist/nodes/EvolutionApi/properties/newsletter.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/newsletter.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/newsletter.operations.js +144 -0
- package/dist/nodes/EvolutionApi/properties/newsletter.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/profile.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/profile.fields.js +257 -0
- package/dist/nodes/EvolutionApi/properties/profile.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/profile.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/profile.operations.js +66 -0
- package/dist/nodes/EvolutionApi/properties/profile.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/resources.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/resources.js +41 -0
- package/dist/nodes/EvolutionApi/properties/resources.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/s3.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/s3.fields.js +64 -0
- package/dist/nodes/EvolutionApi/properties/s3.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/s3.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/s3.operations.js +30 -0
- package/dist/nodes/EvolutionApi/properties/s3.operations.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/templates.fields.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/templates.fields.js +95 -0
- package/dist/nodes/EvolutionApi/properties/templates.fields.js.map +1 -0
- package/dist/nodes/EvolutionApi/properties/templates.operations.d.ts +2 -0
- package/dist/nodes/EvolutionApi/properties/templates.operations.js +30 -0
- package/dist/nodes/EvolutionApi/properties/templates.operations.js.map +1 -0
- package/dist/package.json +69 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.js +0 -0
- package/package.json +69 -0
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getOwnedNewsletters = getOwnedNewsletters;
|
|
4
|
+
exports.getAllNewsletters = getAllNewsletters;
|
|
5
|
+
exports.getOwnedGroups = getOwnedGroups;
|
|
6
|
+
exports.getAllGroups = getAllGroups;
|
|
7
|
+
exports.getOwnedCommunities = getOwnedCommunities;
|
|
8
|
+
exports.getInstances = getInstances;
|
|
9
|
+
function getInstanceName(context) {
|
|
10
|
+
try {
|
|
11
|
+
return context.getNodeParameter('instanceName') || '';
|
|
12
|
+
}
|
|
13
|
+
catch {
|
|
14
|
+
return '';
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
async function getCredentialsSafe(context) {
|
|
18
|
+
try {
|
|
19
|
+
const creds = await context.getCredentials('evolutionApiV2Api');
|
|
20
|
+
const serverUrl = creds === null || creds === void 0 ? void 0 : creds['server-url'];
|
|
21
|
+
const apiKey = creds === null || creds === void 0 ? void 0 : creds['apikey'];
|
|
22
|
+
if (!serverUrl) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
serverUrl: String(serverUrl).replace(/\/$/, ''),
|
|
27
|
+
apiKey: String(apiKey || ''),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
catch {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
async function getOwnedNewsletters() {
|
|
35
|
+
try {
|
|
36
|
+
const credentials = await getCredentialsSafe(this);
|
|
37
|
+
const instanceName = getInstanceName(this);
|
|
38
|
+
if (!instanceName) {
|
|
39
|
+
return [{ name: '-- Enter Instance Name First --', value: '' }];
|
|
40
|
+
}
|
|
41
|
+
if (!credentials) {
|
|
42
|
+
return [{ name: '-- Configure Credentials First --', value: '' }];
|
|
43
|
+
}
|
|
44
|
+
const response = await this.helpers.request({
|
|
45
|
+
method: 'GET',
|
|
46
|
+
url: `${credentials.serverUrl}/newsletter/fetchAll/${instanceName}`,
|
|
47
|
+
headers: {
|
|
48
|
+
apikey: credentials.apiKey,
|
|
49
|
+
},
|
|
50
|
+
json: true,
|
|
51
|
+
});
|
|
52
|
+
let newsletters = [];
|
|
53
|
+
if (Array.isArray(response)) {
|
|
54
|
+
newsletters = response;
|
|
55
|
+
}
|
|
56
|
+
else if (response === null || response === void 0 ? void 0 : response.newsletters) {
|
|
57
|
+
newsletters = response.newsletters;
|
|
58
|
+
}
|
|
59
|
+
else if (typeof response === 'object' && response !== null) {
|
|
60
|
+
newsletters = Object.values(response);
|
|
61
|
+
}
|
|
62
|
+
const ownedNewsletters = newsletters.filter((n) => { var _a, _b; return ((_a = n.viewer_metadata) === null || _a === void 0 ? void 0 : _a.role) === 'OWNER' || ((_b = n.viewer_metadata) === null || _b === void 0 ? void 0 : _b.role) === 'ADMIN'; });
|
|
63
|
+
if (ownedNewsletters.length === 0) {
|
|
64
|
+
return [{ name: '-- No Owned Channels Found --', value: '' }];
|
|
65
|
+
}
|
|
66
|
+
return ownedNewsletters.map((newsletter) => {
|
|
67
|
+
var _a;
|
|
68
|
+
return ({
|
|
69
|
+
name: `${newsletter.name} (${((_a = newsletter.viewer_metadata) === null || _a === void 0 ? void 0 : _a.role) || 'OWNER'})`,
|
|
70
|
+
value: newsletter.id,
|
|
71
|
+
description: newsletter.id,
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
catch (error) {
|
|
76
|
+
const msg = (error === null || error === void 0 ? void 0 : error.message) || String(error);
|
|
77
|
+
return [{ name: `-- Error: ${msg.substring(0, 50)} --`, value: '' }];
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
async function getAllNewsletters() {
|
|
81
|
+
try {
|
|
82
|
+
const credentials = await getCredentialsSafe(this);
|
|
83
|
+
const instanceName = getInstanceName(this);
|
|
84
|
+
if (!instanceName) {
|
|
85
|
+
return [{ name: '-- Enter Instance Name First --', value: '' }];
|
|
86
|
+
}
|
|
87
|
+
if (!credentials) {
|
|
88
|
+
return [{ name: '-- Configure Credentials First --', value: '' }];
|
|
89
|
+
}
|
|
90
|
+
const response = await this.helpers.request({
|
|
91
|
+
method: 'GET',
|
|
92
|
+
url: `${credentials.serverUrl}/newsletter/fetchAll/${instanceName}`,
|
|
93
|
+
headers: {
|
|
94
|
+
apikey: credentials.apiKey,
|
|
95
|
+
},
|
|
96
|
+
json: true,
|
|
97
|
+
});
|
|
98
|
+
let newsletters = [];
|
|
99
|
+
if (Array.isArray(response)) {
|
|
100
|
+
newsletters = response;
|
|
101
|
+
}
|
|
102
|
+
else if (response === null || response === void 0 ? void 0 : response.newsletters) {
|
|
103
|
+
newsletters = response.newsletters;
|
|
104
|
+
}
|
|
105
|
+
else if (typeof response === 'object' && response !== null) {
|
|
106
|
+
newsletters = Object.values(response);
|
|
107
|
+
}
|
|
108
|
+
if (newsletters.length === 0) {
|
|
109
|
+
return [{ name: '-- No Channels Found --', value: '' }];
|
|
110
|
+
}
|
|
111
|
+
return newsletters.map((newsletter) => {
|
|
112
|
+
var _a;
|
|
113
|
+
return ({
|
|
114
|
+
name: `${newsletter.name} ${((_a = newsletter.viewer_metadata) === null || _a === void 0 ? void 0 : _a.role) === 'OWNER' ? '(Owner)' : '(Subscriber)'}`,
|
|
115
|
+
value: newsletter.id,
|
|
116
|
+
description: newsletter.id,
|
|
117
|
+
});
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
catch (error) {
|
|
121
|
+
const msg = (error === null || error === void 0 ? void 0 : error.message) || String(error);
|
|
122
|
+
return [{ name: `-- Error: ${msg.substring(0, 50)} --`, value: '' }];
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
async function getOwnedGroups() {
|
|
126
|
+
try {
|
|
127
|
+
const credentials = await getCredentialsSafe(this);
|
|
128
|
+
const instanceName = getInstanceName(this);
|
|
129
|
+
if (!instanceName) {
|
|
130
|
+
return [{ name: '-- Enter Instance Name First --', value: '' }];
|
|
131
|
+
}
|
|
132
|
+
if (!credentials) {
|
|
133
|
+
return [{ name: '-- Configure Credentials First --', value: '' }];
|
|
134
|
+
}
|
|
135
|
+
const response = await this.helpers.request({
|
|
136
|
+
method: 'GET',
|
|
137
|
+
url: `${credentials.serverUrl}/group/fetchAllGroups/${instanceName}?getParticipants=false`,
|
|
138
|
+
headers: {
|
|
139
|
+
apikey: credentials.apiKey,
|
|
140
|
+
},
|
|
141
|
+
json: true,
|
|
142
|
+
});
|
|
143
|
+
const groups = Array.isArray(response) ? response : (response === null || response === void 0 ? void 0 : response.groups) || [];
|
|
144
|
+
const ownedGroups = groups.filter((g) => { var _a; return ((_a = g.owner) === null || _a === void 0 ? void 0 : _a.includes(instanceName)) || g.isAdmin === true || g.isSuperAdmin === true; });
|
|
145
|
+
if (ownedGroups.length === 0) {
|
|
146
|
+
if (groups.length === 0) {
|
|
147
|
+
return [{ name: '-- No Groups Found --', value: '' }];
|
|
148
|
+
}
|
|
149
|
+
return groups.map((group) => ({
|
|
150
|
+
name: group.subject || group.name || 'Unnamed Group',
|
|
151
|
+
value: group.id,
|
|
152
|
+
description: group.id,
|
|
153
|
+
}));
|
|
154
|
+
}
|
|
155
|
+
return ownedGroups.map((group) => ({
|
|
156
|
+
name: `${group.subject || group.name || 'Unnamed Group'} (Admin)`,
|
|
157
|
+
value: group.id,
|
|
158
|
+
description: group.id,
|
|
159
|
+
}));
|
|
160
|
+
}
|
|
161
|
+
catch (error) {
|
|
162
|
+
const msg = (error === null || error === void 0 ? void 0 : error.message) || String(error);
|
|
163
|
+
return [{ name: `-- Error: ${msg.substring(0, 50)} --`, value: '' }];
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
async function getAllGroups() {
|
|
167
|
+
try {
|
|
168
|
+
const credentials = await getCredentialsSafe(this);
|
|
169
|
+
const instanceName = getInstanceName(this);
|
|
170
|
+
if (!instanceName) {
|
|
171
|
+
return [{ name: '-- Enter Instance Name First --', value: '' }];
|
|
172
|
+
}
|
|
173
|
+
if (!credentials) {
|
|
174
|
+
return [{ name: '-- Configure Credentials First --', value: '' }];
|
|
175
|
+
}
|
|
176
|
+
const response = await this.helpers.request({
|
|
177
|
+
method: 'GET',
|
|
178
|
+
url: `${credentials.serverUrl}/group/fetchAllGroups/${instanceName}?getParticipants=false`,
|
|
179
|
+
headers: {
|
|
180
|
+
apikey: credentials.apiKey,
|
|
181
|
+
},
|
|
182
|
+
json: true,
|
|
183
|
+
});
|
|
184
|
+
const groups = Array.isArray(response) ? response : (response === null || response === void 0 ? void 0 : response.groups) || [];
|
|
185
|
+
if (groups.length === 0) {
|
|
186
|
+
return [{ name: '-- No Groups Found --', value: '' }];
|
|
187
|
+
}
|
|
188
|
+
return groups.map((group) => ({
|
|
189
|
+
name: group.subject || group.name || 'Unnamed Group',
|
|
190
|
+
value: group.id,
|
|
191
|
+
description: group.id,
|
|
192
|
+
}));
|
|
193
|
+
}
|
|
194
|
+
catch (error) {
|
|
195
|
+
const msg = (error === null || error === void 0 ? void 0 : error.message) || String(error);
|
|
196
|
+
return [{ name: `-- Error: ${msg.substring(0, 50)} --`, value: '' }];
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
async function getOwnedCommunities() {
|
|
200
|
+
try {
|
|
201
|
+
const credentials = await getCredentialsSafe(this);
|
|
202
|
+
const instanceName = getInstanceName(this);
|
|
203
|
+
if (!instanceName) {
|
|
204
|
+
return [{ name: '-- Enter Instance Name First --', value: '' }];
|
|
205
|
+
}
|
|
206
|
+
if (!credentials) {
|
|
207
|
+
return [{ name: '-- Configure Credentials First --', value: '' }];
|
|
208
|
+
}
|
|
209
|
+
const response = await this.helpers.request({
|
|
210
|
+
method: 'GET',
|
|
211
|
+
url: `${credentials.serverUrl}/community/fetchAllCommunities/${instanceName}`,
|
|
212
|
+
headers: {
|
|
213
|
+
apikey: credentials.apiKey,
|
|
214
|
+
},
|
|
215
|
+
json: true,
|
|
216
|
+
});
|
|
217
|
+
const communities = Array.isArray(response) ? response : (response === null || response === void 0 ? void 0 : response.communities) || [];
|
|
218
|
+
if (communities.length === 0) {
|
|
219
|
+
return [{ name: '-- No Communities Found --', value: '' }];
|
|
220
|
+
}
|
|
221
|
+
return communities.map((community) => ({
|
|
222
|
+
name: community.subject || community.name || 'Unnamed Community',
|
|
223
|
+
value: community.id,
|
|
224
|
+
description: community.id,
|
|
225
|
+
}));
|
|
226
|
+
}
|
|
227
|
+
catch (error) {
|
|
228
|
+
const msg = (error === null || error === void 0 ? void 0 : error.message) || String(error);
|
|
229
|
+
return [{ name: `-- Error: ${msg.substring(0, 50)} --`, value: '' }];
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
async function getInstances() {
|
|
233
|
+
try {
|
|
234
|
+
const credentials = await getCredentialsSafe(this);
|
|
235
|
+
if (!credentials) {
|
|
236
|
+
return [{ name: '-- Configure Credentials First --', value: '' }];
|
|
237
|
+
}
|
|
238
|
+
const response = await this.helpers.request({
|
|
239
|
+
method: 'GET',
|
|
240
|
+
url: `${credentials.serverUrl}/instance/fetchInstances`,
|
|
241
|
+
headers: {
|
|
242
|
+
apikey: credentials.apiKey,
|
|
243
|
+
},
|
|
244
|
+
json: true,
|
|
245
|
+
});
|
|
246
|
+
const instances = Array.isArray(response) ? response : [];
|
|
247
|
+
if (instances.length === 0) {
|
|
248
|
+
return [{ name: '-- No Instances Found --', value: '' }];
|
|
249
|
+
}
|
|
250
|
+
return instances.map((instance) => {
|
|
251
|
+
var _a, _b;
|
|
252
|
+
return ({
|
|
253
|
+
name: `${instance.name || ((_a = instance.instance) === null || _a === void 0 ? void 0 : _a.instanceName)} ${instance.connectionStatus === 'open' ? '🟢' : '🔴'}`,
|
|
254
|
+
value: instance.name || ((_b = instance.instance) === null || _b === void 0 ? void 0 : _b.instanceName),
|
|
255
|
+
description: instance.connectionStatus || 'unknown',
|
|
256
|
+
});
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
catch (error) {
|
|
260
|
+
const msg = (error === null || error === void 0 ? void 0 : error.message) || String(error);
|
|
261
|
+
return [{ name: `-- Error: ${msg.substring(0, 50)} --`, value: '' }];
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
//# sourceMappingURL=loadOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadOptions.js","sourceRoot":"","sources":["../../../nodes/EvolutionApi/loadOptions.ts"],"names":[],"mappings":";;AAwCA,kDAmDC;AAKD,8CA8CC;AAKD,wCAkDC;A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