@ivanlaomarketing/n8n-nodes-risveglia 0.4.0 → 0.5.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RisveglIaApi = void 0;
|
|
4
|
+
const versione_1 = require("../nodes/RisveglIa/versione");
|
|
4
5
|
/**
|
|
5
6
|
* Token personale di RisveglIA (rsv_pat_...): si crea nel portale, Impostazioni, Integrazioni, con gli ambiti che servono
|
|
6
7
|
* al flusso. Il token agisce come la persona che l'ha creato, con il suo ruolo e i suoi permessi di adesso.
|
|
@@ -31,7 +32,8 @@ class RisveglIaApi {
|
|
|
31
32
|
];
|
|
32
33
|
authenticate = {
|
|
33
34
|
type: "generic",
|
|
34
|
-
|
|
35
|
+
// X-Risveglia-Client: versione del nodo per gli avvisi di aggiornamento, su ogni chiamata (azioni, attivatore, prova).
|
|
36
|
+
properties: { headers: { Authorization: "=Bearer {{$credentials.token}}", "X-Risveglia-Client": versione_1.CLIENTE } },
|
|
35
37
|
};
|
|
36
38
|
test = {
|
|
37
39
|
request: { baseURL: "={{$credentials.baseUrl.replace(/\\/+$/, '')}}", url: "/v1/integrazioni/io", method: "GET" },
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CLIENTE = exports.VERSIONE_NODO = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Versione del nodo, mandata a ogni chiamata nell'intestazione X-Risveglia-Client («n8n/0.5.0»): RisveglIA sa chi usa
|
|
6
|
+
* n8n e con quale versione, e avvisa nel portale e per email quando ne esce una nuova (va aggiornata a mano in n8n).
|
|
7
|
+
* Deve coincidere con package.json e con integrationClientVersions.n8n di @risveglia/contracts (test N0).
|
|
8
|
+
*/
|
|
9
|
+
exports.VERSIONE_NODO = "0.5.0";
|
|
10
|
+
exports.CLIENTE = `n8n/${exports.VERSIONE_NODO}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ivanlaomarketing/n8n-nodes-risveglia",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "n8n community node for RisveglIA: WhatsApp messages, contacts and deals, groups and channels, AI agent, media and triggers. Built by Ivan Lao (@ivanlaomarketing).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|