Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

n8n-nodes-evolution-api

Package Overview
Dependencies
Maintainers
0
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-nodes-evolution-api - npm Package Compare versions

Comparing version 0.1.91 to 0.1.92

29

dist/nodes/HttpBin/HttpBin.node.js

@@ -438,2 +438,31 @@ "use strict";

}
if (resource === 'messages-api' && operation === 'sendList') {
const credentials = await this.getCredentials('httpbinApi');
const serverUrl = credentials['server-url'];
const apiKey = credentials.apikey;
const instanceName = this.getNodeParameter('instanceName', 0);
const type = this.getNodeParameter('type', 0);
const content = this.getNodeParameter('content', 0);
const caption = this.getNodeParameter('caption', 0);
const backgroundColor = this.getNodeParameter('backgroundColor', 0);
const font = this.getNodeParameter('font', 0);
const options = {
method: 'POST',
headers: {
'Content-Type': 'application/json',
apikey: apiKey,
},
uri: `${serverUrl}/message/sendStatus/${instanceName}`,
body: {
type: type,
content: content,
caption: caption,
backgroundColor: backgroundColor,
font: font,
'allContacts': 'true',
},
json: true,
};
responseData = await this.helpers.request(options);
}
return [this.helpers.returnJsonArray(responseData)];

@@ -440,0 +469,0 @@ }

@@ -120,2 +120,8 @@ "use strict";

},
{
name: 'Enviar Status',
action: 'Enviar status',
description: 'Publicar um Status/Stories',
value: 'sendStories',
},
],

@@ -1075,2 +1081,121 @@ default: 'sendText',

},
{
displayName: 'Nome Da Instância',
name: 'instanceName',
type: 'string',
default: '',
required: true,
description: 'Digite o nome da instância que vai enviar o status',
displayOptions: {
show: {
resource: ['messages-api'],
operation: ['sendStories'],
},
},
},
{
displayName: 'Tipo Do Status',
name: 'type',
type: 'options',
description: 'Escolha o tipo de status você vai postar',
displayOptions: {
show: {
resource: ['messages-api'],
operation: ['sendStories'],
},
},
options: [
{
name: 'Status De Texto',
value: 'text',
},
{
name: 'Status De Imagem',
value: 'image',
},
{
name: 'Status De Video',
value: 'video',
},
{
name: 'Status De Audio',
value: 'audio',
},
],
default: 'text',
},
{
displayName: 'Conteudo Ou URL',
name: 'content',
type: 'string',
default: '',
required: true,
description: 'Digite o conteudo ou URL da imagem/video/audio a ser postado',
displayOptions: {
show: {
resource: ['messages-api'],
operation: ['sendStories'],
},
},
},
{
displayName: 'Texto Para Status De Imagem/Video',
name: 'caption',
type: 'string',
default: '',
description: 'Digite o texto para status de Imagem/Video',
displayOptions: {
show: {
resource: ['messages-api'],
operation: ['sendStories'],
},
},
},
{
displayName: 'Cor Do Background',
name: 'backgroundColor',
type: 'color',
default: '#000000',
displayOptions: {
show: {
resource: ['messages-api'],
operation: ['sendStories'],
},
},
},
{
displayName: 'Font Do Texto',
name: 'font',
type: 'options',
description: 'Escolha o tipo da font do seu texto',
displayOptions: {
show: {
resource: ['messages-api'],
operation: ['sendStories'],
},
},
options: [
{
name: 'SERIF',
value: '1',
},
{
name: 'NORICAN REGULAR',
value: '2',
},
{
name: 'BRYNDAN WRITE',
value: '3',
},
{
name: 'BEBASNEUE REGULAR',
value: '4',
},
{
name: 'OSWALD HEAVY',
value: '5',
},
],
default: '1',
},
];

@@ -1077,0 +1202,0 @@ exports.httpVerbFields = [

2

dist/package.json
{
"name": "n8n-nodes-evolution-api",
"version": "0.1.91",
"version": "0.1.92",
"description": "Api não oficial do WhatsApp",

@@ -5,0 +5,0 @@ "keywords": [

{
"name": "n8n-nodes-evolution-api",
"version": "0.1.91",
"version": "0.1.92",
"description": "Api não oficial do WhatsApp",

@@ -5,0 +5,0 @@ "keywords": [

@@ -20,3 +20,3 @@ <img src="https://github.com/user-attachments/assets/813b7b34-377c-42e8-9f1a-12e27e682c7f" alt="Evolution API">

✅ Deletar Instancia;<br>
❌ Set Presence;<br>
✅ Set Presence;<br>
<br>

@@ -32,3 +32,3 @@ <b>Mensagens:</b> <br>

✅ Marcação fantasma; <br>
❌ Enviar Status;<br>
✅ Enviar Status;<br>
<br>

@@ -35,0 +35,0 @@ <b>Integrações:</b> <br>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc