n8n-nodes-linq 0.1.13 → 0.1.15
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.
|
@@ -36,6 +36,8 @@ class Linq {
|
|
|
36
36
|
credentials: [
|
|
37
37
|
{ name: 'linqApi', required: true },
|
|
38
38
|
],
|
|
39
|
+
// Add the usableAsTool property here
|
|
40
|
+
usableAsTool: true,
|
|
39
41
|
properties: [
|
|
40
42
|
{
|
|
41
43
|
displayName: 'Resource',
|
|
@@ -469,7 +471,7 @@ class Linq {
|
|
|
469
471
|
if (perPage && perPage !== 25)
|
|
470
472
|
qs.per_page = perPage;
|
|
471
473
|
if (phoneNumber)
|
|
472
|
-
qs.
|
|
474
|
+
qs.phone_number = formatPhoneNumber(phoneNumber);
|
|
473
475
|
responseData = await this.helpers.request({
|
|
474
476
|
method: 'GET',
|
|
475
477
|
url: 'https://api.linqapp.com/api/partner/v2/chats',
|
|
@@ -10,7 +10,7 @@ class LinqTrigger {
|
|
|
10
10
|
icon: 'file:linq.svg',
|
|
11
11
|
group: ['trigger'],
|
|
12
12
|
version: 1,
|
|
13
|
-
description: 'Handle Linq
|
|
13
|
+
description: 'Handle Linq events via webhooks',
|
|
14
14
|
defaults: {
|
|
15
15
|
name: 'Linq Trigger',
|
|
16
16
|
},
|
|
@@ -26,10 +26,12 @@ class LinqTrigger {
|
|
|
26
26
|
{
|
|
27
27
|
name: 'default',
|
|
28
28
|
httpMethod: 'POST',
|
|
29
|
-
|
|
29
|
+
responseMode: 'onReceived',
|
|
30
30
|
path: 'webhook',
|
|
31
31
|
},
|
|
32
32
|
],
|
|
33
|
+
// Add the usableAsTool property here
|
|
34
|
+
usableAsTool: true,
|
|
33
35
|
properties: [
|
|
34
36
|
{
|
|
35
37
|
displayName: 'Events',
|