n8n-nodes-alive5 1.0.1
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 +86 -0
- package/dist/credentials/Alive5Api.credentials.d.ts +10 -0
- package/dist/credentials/Alive5Api.credentials.js +38 -0
- package/dist/credentials/Alive5Api.credentials.js.map +1 -0
- package/dist/credentials/icons/alive5.svg +4 -0
- package/dist/nodes/Alive5/Alive5.node.d.ts +11 -0
- package/dist/nodes/Alive5/Alive5.node.js +220 -0
- package/dist/nodes/Alive5/Alive5.node.js.map +1 -0
- package/dist/nodes/Alive5/alive5.svg +4 -0
- package/dist/package.json +65 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.js +0 -0
- package/package.json +65 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright 2022 n8n
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
+
the Software without restriction, including without limitation the rights to
|
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
8
|
+
so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# n8n-nodes-alive5
|
|
4
|
+
|
|
5
|
+
This is an n8n community node for sending SMS messages via the Alive5 API.
|
|
6
|
+
|
|
7
|
+
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
|
|
8
|
+
|
|
9
|
+
[Installation](#installation)
|
|
10
|
+
[Operations](#operations)
|
|
11
|
+
[Credentials](#credentials)
|
|
12
|
+
[Compatibility](#compatibility)
|
|
13
|
+
[Usage](#usage)
|
|
14
|
+
[Resources](#resources)
|
|
15
|
+
[Version history](#version-history)
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
|
|
20
|
+
|
|
21
|
+
## Operations
|
|
22
|
+
|
|
23
|
+
- **Send SMS**
|
|
24
|
+
- Send SMS messages via Alive5 API
|
|
25
|
+
- Dynamically select a channel with a valid phone number
|
|
26
|
+
- Dynamically select an agent (user) from the selected channel
|
|
27
|
+
|
|
28
|
+
## Credentials
|
|
29
|
+
|
|
30
|
+
The node requires the following credentials:
|
|
31
|
+
|
|
32
|
+
- **Alive5 API**
|
|
33
|
+
- API Key: Your Alive5 API key
|
|
34
|
+
|
|
35
|
+
## Compatibility
|
|
36
|
+
|
|
37
|
+
This node has been tested with n8n version 1.0.0 and above.
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
### Send SMS
|
|
42
|
+
|
|
43
|
+
This operation allows you to send SMS messages using the Alive5 API.
|
|
44
|
+
|
|
45
|
+
#### Parameters
|
|
46
|
+
|
|
47
|
+
- **From Phone Number**
|
|
48
|
+
- The phone number to send the SMS from (e.g., +18323034408)
|
|
49
|
+
- **To Phone Number**
|
|
50
|
+
- The phone number to send the SMS to (e.g., +1234567890)
|
|
51
|
+
- **Message**
|
|
52
|
+
- The text message to send
|
|
53
|
+
- **Channel**
|
|
54
|
+
- Dynamically select a channel with a valid phone number
|
|
55
|
+
- **Agent**
|
|
56
|
+
- Dynamically select an agent (user) from the selected channel
|
|
57
|
+
|
|
58
|
+
#### Example
|
|
59
|
+
|
|
60
|
+
1. Add the Alive5 node to your workflow.
|
|
61
|
+
2. Configure the Alive5 API credentials with your API key.
|
|
62
|
+
3. Set the required parameters:
|
|
63
|
+
- **From Phone Number**: Your sender phone number.
|
|
64
|
+
- **To Phone Number**: Recipient's phone number.
|
|
65
|
+
- **Message**: Your SMS message.
|
|
66
|
+
- **Channel**: Select a channel with a valid phone number.
|
|
67
|
+
- **Agent**: Select an agent from the selected channel.
|
|
68
|
+
4. Execute the workflow to send the SMS.
|
|
69
|
+
|
|
70
|
+
## Resources
|
|
71
|
+
|
|
72
|
+
- [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
|
|
73
|
+
- [Alive5 API Documentation](https://documenter.getpostman.com/view/12135254/UVsQr3zh)
|
|
74
|
+
|
|
75
|
+
## Version history
|
|
76
|
+
|
|
77
|
+
### 1.0.0
|
|
78
|
+
|
|
79
|
+
- Initial release
|
|
80
|
+
- Added Send SMS operation
|
|
81
|
+
- Added Alive5 API credentials support
|
|
82
|
+
- Added dynamic channel and agent selection
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class Alive5Api implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
icon: "file:icons/alive5.svg";
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate: IAuthenticateGeneric;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Alive5Api = void 0;
|
|
4
|
+
class Alive5Api {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'alive5Api';
|
|
7
|
+
this.displayName = 'Alive5 API';
|
|
8
|
+
this.documentationUrl = 'https://documenter.getpostman.com/view/12135254/UVsQr3zh';
|
|
9
|
+
this.icon = 'file:icons/alive5.svg';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'API Key',
|
|
13
|
+
name: 'apiKey',
|
|
14
|
+
type: 'string',
|
|
15
|
+
typeOptions: {
|
|
16
|
+
password: true,
|
|
17
|
+
},
|
|
18
|
+
default: '',
|
|
19
|
+
},
|
|
20
|
+
];
|
|
21
|
+
this.authenticate = {
|
|
22
|
+
type: 'generic',
|
|
23
|
+
properties: {
|
|
24
|
+
headers: {
|
|
25
|
+
'X-A5-APIKEY': '={{ $credentials.apiKey }}',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
this.test = {
|
|
30
|
+
request: {
|
|
31
|
+
baseURL: 'https://api.alive5.com/public/1.0',
|
|
32
|
+
url: '/account',
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.Alive5Api = Alive5Api;
|
|
38
|
+
//# sourceMappingURL=Alive5Api.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alive5Api.credentials.js","sourceRoot":"","sources":["../../credentials/Alive5Api.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QACnB,gBAAW,GAAG,YAAY,CAAC;QAC3B,qBAAgB,GAAG,0DAA0D,CAAC;QAC9E,SAAI,GAAG,uBAAgC,CAAC;QACxC,eAAU,GAAsB;YAI/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAKF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,4BAA4B;iBAC3C;aACD;SACD,CAAC;QAGF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,mCAAmC;gBAC5C,GAAG,EAAE,UAAU;aACf;SACD,CAAC;IACH,CAAC;CAAA;AAvCD,8BAuCC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="48" height="48">
|
|
3
|
+
<path d="M0 0 C5.44392186 3.24563629 9.86837284 8.27703761 11.5625 14.4375 C11.81 16.2009375 11.81 16.2009375 12.0625 18 C12.33066424 21.27463677 12.33066424 21.27463677 13.57421875 23.25390625 C16.1202595 28.87934805 15.28472585 36.50062158 13.1875 42.125 C11.5625 44.4375 11.5625 44.4375 9.5625 46.4375 C6.4375 46.5625 6.4375 46.5625 3.5625 46.4375 C4.366875 45.426875 5.17125 44.41625 6 43.375 C8.66797019 39.68204691 9.28660871 36.94372444 9.5625 32.4375 C9.18738281 32.90800781 8.81226563 33.37851562 8.42578125 33.86328125 C4.45433722 38.69503809 0.90005502 42.24518033 -5.4375 43.4375 C-7.8532906 43.50581987 -10.27084713 43.52237642 -12.6875 43.5 C-13.95078125 43.49097656 -15.2140625 43.48195312 -16.515625 43.47265625 C-17.47984375 43.46105469 -18.4440625 43.44945312 -19.4375 43.4375 C-18.7775 44.4275 -18.1175 45.4175 -17.4375 46.4375 C-20.1875 46.8125 -20.1875 46.8125 -23.4375 46.4375 C-25.3052657 44.39463127 -26.21256106 42.87850152 -27.4375 40.4375 C-27.95828125 39.50164063 -28.4790625 38.56578125 -29.015625 37.6015625 C-33.38441155 29.17021275 -35.39239988 21.41111947 -32.76953125 12.0546875 C-30.24635186 6.25908769 -25.74493731 2.0579223 -20.109375 -0.703125 C-13.83173484 -2.72224903 -6.06554123 -2.7283226 0 0 Z M-17.4375 7.4375 C-17.7675 8.984375 -18.0975 10.53125 -18.4375 12.125 C-18.623125 12.99511719 -18.80875 13.86523438 -19 14.76171875 C-19.42722047 17.37462964 -19.51366201 19.79563038 -19.4375 22.4375 C-18.73625 22.293125 -18.035 22.14875 -17.3125 22 C-11.37083333 20.8375 -11.37083333 20.8375 -8.4375 20.4375 C-7.4375 21.4375 -7.4375 21.4375 -7.375 25 C-7.395625 26.134375 -7.41625 27.26875 -7.4375 28.4375 C-9.7475 28.4375 -12.0575 28.4375 -14.4375 28.4375 C-14.7675 27.7775 -15.0975 27.1175 -15.4375 26.4375 C-17.0875 26.4375 -18.7375 26.4375 -20.4375 26.4375 C-19.48704384 29.9541878 -18.74616369 31.22704749 -15.6875 33.3125 C-11.95624468 34.60408838 -10.17459808 34.65611894 -6.4375 33.4375 C-3.19967586 30.72472842 -1.59567181 28.86104632 -1.125 24.625 C-1.52051263 20.59077115 -2.38793811 19.09609242 -5.4375 16.4375 C-8.88147075 16.08122716 -11.30889505 15.87319752 -14.4375 17.4375 C-14.4375 15.4575 -14.4375 13.4775 -14.4375 11.4375 C-10.4775 11.4375 -6.5175 11.4375 -2.4375 11.4375 C-2.4375 10.1175 -2.4375 8.7975 -2.4375 7.4375 C-7.3875 7.4375 -12.3375 7.4375 -17.4375 7.4375 Z " fill="#C8602F" transform="translate(33.4375,1.5625)"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
export declare class Alive5 implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
methods: {
|
|
5
|
+
loadOptions: {
|
|
6
|
+
getChannels(this: ILoadOptionsFunctions): Promise<any>;
|
|
7
|
+
getAgents(this: ILoadOptionsFunctions): Promise<any>;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Alive5 = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const n8n_workflow_2 = require("n8n-workflow");
|
|
6
|
+
const formdata_node_1 = require("formdata-node");
|
|
7
|
+
const BASE_URL = 'https://api.alive5.com/public/1.1';
|
|
8
|
+
class Alive5 {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.description = {
|
|
11
|
+
displayName: 'alive5',
|
|
12
|
+
name: 'alive5',
|
|
13
|
+
group: ['communication'],
|
|
14
|
+
version: 1,
|
|
15
|
+
description: 'Send SMS messages via Alive5 API',
|
|
16
|
+
defaults: {
|
|
17
|
+
name: 'Alive5',
|
|
18
|
+
},
|
|
19
|
+
icon: 'file:alive5.svg',
|
|
20
|
+
inputs: ['main'],
|
|
21
|
+
outputs: ['main'],
|
|
22
|
+
credentials: [
|
|
23
|
+
{
|
|
24
|
+
name: 'alive5Api',
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Channel Name or ID',
|
|
31
|
+
name: 'channelId',
|
|
32
|
+
type: 'options',
|
|
33
|
+
typeOptions: {
|
|
34
|
+
loadOptionsMethod: 'getChannels',
|
|
35
|
+
},
|
|
36
|
+
default: '',
|
|
37
|
+
description: 'Select a channel. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
|
38
|
+
required: true,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
displayName: 'User Name or ID',
|
|
42
|
+
name: 'userId',
|
|
43
|
+
type: 'options',
|
|
44
|
+
typeOptions: {
|
|
45
|
+
loadOptionsDependsOn: ['channelId'],
|
|
46
|
+
loadOptionsMethod: 'getAgents',
|
|
47
|
+
},
|
|
48
|
+
default: '',
|
|
49
|
+
description: 'Select a user from the selected channel. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
|
50
|
+
required: true,
|
|
51
|
+
displayOptions: {
|
|
52
|
+
hide: {
|
|
53
|
+
channelId: [''],
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
displayName: 'To Phone Number',
|
|
59
|
+
name: 'phoneNumberTo',
|
|
60
|
+
type: 'string',
|
|
61
|
+
default: '',
|
|
62
|
+
placeholder: '+1234567890',
|
|
63
|
+
description: 'The phone number to send the SMS to',
|
|
64
|
+
required: true,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Message',
|
|
68
|
+
name: 'message',
|
|
69
|
+
type: 'string',
|
|
70
|
+
default: '',
|
|
71
|
+
description: 'The message to send',
|
|
72
|
+
required: true,
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
};
|
|
76
|
+
this.methods = {
|
|
77
|
+
loadOptions: {
|
|
78
|
+
async getChannels() {
|
|
79
|
+
var _a;
|
|
80
|
+
try {
|
|
81
|
+
let response = await this.helpers.request({
|
|
82
|
+
method: 'GET',
|
|
83
|
+
url: `${BASE_URL}/objects/channels-and-users/list`,
|
|
84
|
+
headers: {
|
|
85
|
+
'X-A5-APIKEY': (await this.getCredentials('alive5Api')).apiKey,
|
|
86
|
+
},
|
|
87
|
+
});
|
|
88
|
+
response = typeof response != 'object' ? JSON.parse(response) : response;
|
|
89
|
+
const items = ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.Items) || [];
|
|
90
|
+
const validChannels = items.filter((channel) => channel.channel_phone_number &&
|
|
91
|
+
channel.channel_phone_number !== 'undefined' &&
|
|
92
|
+
channel.channel_phone_number.startsWith('+'));
|
|
93
|
+
return validChannels.map((channel) => ({
|
|
94
|
+
name: channel.channel_label || 'Unnamed Channel',
|
|
95
|
+
value: channel.channel_id,
|
|
96
|
+
channel_phone_number: channel.channel_phone_number,
|
|
97
|
+
}));
|
|
98
|
+
}
|
|
99
|
+
catch (error) {
|
|
100
|
+
n8n_workflow_1.LoggerProxy.error('Error fetching channels:', error);
|
|
101
|
+
throw new n8n_workflow_2.NodeOperationError(this.getNode(), `Failed to load channels: ${error instanceof Error ? error.message : String(error)}`);
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
async getAgents() {
|
|
105
|
+
var _a;
|
|
106
|
+
try {
|
|
107
|
+
const channelId = this.getNodeParameter('channelId', 0);
|
|
108
|
+
console.log('Selected Channel ID:', channelId);
|
|
109
|
+
if (!channelId) {
|
|
110
|
+
return [];
|
|
111
|
+
}
|
|
112
|
+
let response = await this.helpers.request({
|
|
113
|
+
method: 'GET',
|
|
114
|
+
url: `${BASE_URL}/objects/channels-and-users/list`,
|
|
115
|
+
headers: {
|
|
116
|
+
'X-A5-APIKEY': (await this.getCredentials('alive5Api')).apiKey,
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
response = typeof response != 'object' ? JSON.parse(response) : response;
|
|
120
|
+
const items = ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.Items) || [];
|
|
121
|
+
const channel = items.find((channel) => channel.channel_id === channelId);
|
|
122
|
+
if (!channel) {
|
|
123
|
+
return [];
|
|
124
|
+
}
|
|
125
|
+
if (!channel.agents || !Array.isArray(channel.agents)) {
|
|
126
|
+
return [];
|
|
127
|
+
}
|
|
128
|
+
return channel.agents.map((agent) => ({
|
|
129
|
+
name: agent.screen_name || 'Unnamed Agent',
|
|
130
|
+
value: agent.user_id,
|
|
131
|
+
}));
|
|
132
|
+
}
|
|
133
|
+
catch (error) {
|
|
134
|
+
n8n_workflow_1.LoggerProxy.error('Error fetching agents:', error);
|
|
135
|
+
return [];
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
async execute() {
|
|
142
|
+
var _a;
|
|
143
|
+
const items = this.getInputData();
|
|
144
|
+
const returnData = [];
|
|
145
|
+
for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
|
|
146
|
+
try {
|
|
147
|
+
const channelId = this.getNodeParameter('channelId', itemIndex);
|
|
148
|
+
const phoneNumberTo = this.getNodeParameter('phoneNumberTo', itemIndex);
|
|
149
|
+
const message = this.getNodeParameter('message', itemIndex);
|
|
150
|
+
const userId = this.getNodeParameter('userId', itemIndex);
|
|
151
|
+
let response = await this.helpers.request({
|
|
152
|
+
method: 'GET',
|
|
153
|
+
url: `${BASE_URL}/objects/channels-and-users/list`,
|
|
154
|
+
headers: {
|
|
155
|
+
'X-A5-APIKEY': (await this.getCredentials('alive5Api')).apiKey,
|
|
156
|
+
},
|
|
157
|
+
});
|
|
158
|
+
response = typeof response != 'object' ? JSON.parse(response) : response;
|
|
159
|
+
const items = ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.Items) || [];
|
|
160
|
+
const channel = items.find((channel) => channel.channel_id === channelId);
|
|
161
|
+
if (!channel) {
|
|
162
|
+
throw new n8n_workflow_2.NodeOperationError(this.getNode(), 'Channel with ID ${channelId} not found');
|
|
163
|
+
}
|
|
164
|
+
const phoneNumberFrom = channel.channel_phone_number;
|
|
165
|
+
if (!phoneNumberFrom.match(/^\+[1-9]\d{1,14}$/)) {
|
|
166
|
+
throw new n8n_workflow_2.NodeOperationError(this.getNode(), 'Invalid "From" phone number format. Must be in E.164 format (e.g., +1234567890)');
|
|
167
|
+
}
|
|
168
|
+
if (!phoneNumberTo.match(/^\+[1-9]\d{1,14}$/)) {
|
|
169
|
+
throw new n8n_workflow_2.NodeOperationError(this.getNode(), 'Invalid "To" phone number format. Must be in E.164 format (e.g., +1234567890)');
|
|
170
|
+
}
|
|
171
|
+
console.log('Phone Number From:', phoneNumberFrom);
|
|
172
|
+
console.log('Phone Number To:', phoneNumberTo);
|
|
173
|
+
console.log('Message:', message);
|
|
174
|
+
console.log('Channel ID:', channelId);
|
|
175
|
+
console.log('User ID:', userId);
|
|
176
|
+
console.log('API Key:', (await this.getCredentials('alive5Api')).apiKey);
|
|
177
|
+
console.log('API URL:', `${BASE_URL}/conversations/sms/send`);
|
|
178
|
+
const formData = new formdata_node_1.FormData();
|
|
179
|
+
formData.append('phone_number_from', phoneNumberFrom);
|
|
180
|
+
formData.append('phone_number_to', phoneNumberTo);
|
|
181
|
+
formData.append('message', message);
|
|
182
|
+
formData.append('channel_id', channelId);
|
|
183
|
+
formData.append('user_id', userId);
|
|
184
|
+
response = await this.helpers.request({
|
|
185
|
+
method: 'POST',
|
|
186
|
+
url: `${BASE_URL}/conversations/sms/send`,
|
|
187
|
+
body: formData,
|
|
188
|
+
headers: {
|
|
189
|
+
'X-A5-APIKEY': (await this.getCredentials('alive5Api')).apiKey,
|
|
190
|
+
},
|
|
191
|
+
});
|
|
192
|
+
response = typeof response != 'object' ? JSON.parse(response) : response;
|
|
193
|
+
console.log('API Response:', response);
|
|
194
|
+
returnData.push({
|
|
195
|
+
json: response,
|
|
196
|
+
pairedItem: itemIndex,
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
catch (error) {
|
|
200
|
+
n8n_workflow_1.LoggerProxy.error('Error executing node:', error);
|
|
201
|
+
if (this.continueOnFail()) {
|
|
202
|
+
returnData.push({
|
|
203
|
+
json: this.getInputData(itemIndex)[0].json,
|
|
204
|
+
error: error instanceof n8n_workflow_2.NodeOperationError
|
|
205
|
+
? error
|
|
206
|
+
: new n8n_workflow_2.NodeOperationError(this.getNode(), String(error)),
|
|
207
|
+
pairedItem: itemIndex,
|
|
208
|
+
});
|
|
209
|
+
continue;
|
|
210
|
+
}
|
|
211
|
+
throw new n8n_workflow_2.NodeOperationError(this.getNode(), error instanceof Error ? error.message : String(error), {
|
|
212
|
+
itemIndex,
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
return [returnData];
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
exports.Alive5 = Alive5;
|
|
220
|
+
//# sourceMappingURL=Alive5.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alive5.node.js","sourceRoot":"","sources":["../../../nodes/Alive5/Alive5.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AACtB,+CAAkD;AAClD,iDAAyC;AAEzC,MAAM,QAAQ,GAAG,mCAAmC,CAAC;AAErD,MAAa,MAAM;IAAnB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,CAAC,eAAe,CAAC;YACxB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,kCAAkC;YAC/C,QAAQ,EAAE;gBACT,IAAI,EAAE,QAAQ;aACd;YACD,IAAI,EAAE,iBAAiB;YACvB,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,WAAW;oBACjB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,oBAAoB;oBACjC,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE;wBACZ,iBAAiB,EAAE,aAAa;qBAChC;oBACD,OAAO,EAAE,EAAE;oBACX,WAAW,EACV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AAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACtD;oBACC,SAAS;iBACT,CACD,CAAC;YACH,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AA3PD,wBA2PC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="48" height="48">
|
|
3
|
+
<path d="M0 0 C5.44392186 3.24563629 9.86837284 8.27703761 11.5625 14.4375 C11.81 16.2009375 11.81 16.2009375 12.0625 18 C12.33066424 21.27463677 12.33066424 21.27463677 13.57421875 23.25390625 C16.1202595 28.87934805 15.28472585 36.50062158 13.1875 42.125 C11.5625 44.4375 11.5625 44.4375 9.5625 46.4375 C6.4375 46.5625 6.4375 46.5625 3.5625 46.4375 C4.366875 45.426875 5.17125 44.41625 6 43.375 C8.66797019 39.68204691 9.28660871 36.94372444 9.5625 32.4375 C9.18738281 32.90800781 8.81226563 33.37851562 8.42578125 33.86328125 C4.45433722 38.69503809 0.90005502 42.24518033 -5.4375 43.4375 C-7.8532906 43.50581987 -10.27084713 43.52237642 -12.6875 43.5 C-13.95078125 43.49097656 -15.2140625 43.48195312 -16.515625 43.47265625 C-17.47984375 43.46105469 -18.4440625 43.44945312 -19.4375 43.4375 C-18.7775 44.4275 -18.1175 45.4175 -17.4375 46.4375 C-20.1875 46.8125 -20.1875 46.8125 -23.4375 46.4375 C-25.3052657 44.39463127 -26.21256106 42.87850152 -27.4375 40.4375 C-27.95828125 39.50164063 -28.4790625 38.56578125 -29.015625 37.6015625 C-33.38441155 29.17021275 -35.39239988 21.41111947 -32.76953125 12.0546875 C-30.24635186 6.25908769 -25.74493731 2.0579223 -20.109375 -0.703125 C-13.83173484 -2.72224903 -6.06554123 -2.7283226 0 0 Z M-17.4375 7.4375 C-17.7675 8.984375 -18.0975 10.53125 -18.4375 12.125 C-18.623125 12.99511719 -18.80875 13.86523438 -19 14.76171875 C-19.42722047 17.37462964 -19.51366201 19.79563038 -19.4375 22.4375 C-18.73625 22.293125 -18.035 22.14875 -17.3125 22 C-11.37083333 20.8375 -11.37083333 20.8375 -8.4375 20.4375 C-7.4375 21.4375 -7.4375 21.4375 -7.375 25 C-7.395625 26.134375 -7.41625 27.26875 -7.4375 28.4375 C-9.7475 28.4375 -12.0575 28.4375 -14.4375 28.4375 C-14.7675 27.7775 -15.0975 27.1175 -15.4375 26.4375 C-17.0875 26.4375 -18.7375 26.4375 -20.4375 26.4375 C-19.48704384 29.9541878 -18.74616369 31.22704749 -15.6875 33.3125 C-11.95624468 34.60408838 -10.17459808 34.65611894 -6.4375 33.4375 C-3.19967586 30.72472842 -1.59567181 28.86104632 -1.125 24.625 C-1.52051263 20.59077115 -2.38793811 19.09609242 -5.4375 16.4375 C-8.88147075 16.08122716 -11.30889505 15.87319752 -14.4375 17.4375 C-14.4375 15.4575 -14.4375 13.4775 -14.4375 11.4375 C-10.4775 11.4375 -6.5175 11.4375 -2.4375 11.4375 C-2.4375 10.1175 -2.4375 8.7975 -2.4375 7.4375 C-7.3875 7.4375 -12.3375 7.4375 -17.4375 7.4375 Z " fill="#C8602F" transform="translate(33.4375,1.5625)"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "n8n-nodes-alive5",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Send SMS messages via alive5",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"n8n-community-node-package",
|
|
7
|
+
"alive5",
|
|
8
|
+
"sms",
|
|
9
|
+
"text",
|
|
10
|
+
"message",
|
|
11
|
+
"communication",
|
|
12
|
+
"sms-gateway"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"homepage": "https://www.alive5.com/",
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Alive5 Inc",
|
|
18
|
+
"email": "support@alive5.com"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/websitealive/n8n-nodes-alive5.git"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=18.10",
|
|
26
|
+
"pnpm": ">=9.1"
|
|
27
|
+
},
|
|
28
|
+
"packageManager": "pnpm@9.1.4",
|
|
29
|
+
"main": "index.js",
|
|
30
|
+
"scripts": {
|
|
31
|
+
"preinstall": "npx only-allow pnpm",
|
|
32
|
+
"build": "tsc && gulp build:icons",
|
|
33
|
+
"dev": "tsc --watch",
|
|
34
|
+
"format": "prettier nodes credentials --write",
|
|
35
|
+
"lint": "eslint nodes credentials package.json",
|
|
36
|
+
"lintfix": "eslint nodes credentials package.json --fix",
|
|
37
|
+
"prepublishOnly": "pnpm build && pnpm lint -c .eslintrc.prepublish.js nodes credentials package.json"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
42
|
+
"n8n": {
|
|
43
|
+
"n8nNodesApiVersion": 1,
|
|
44
|
+
"credentials": [
|
|
45
|
+
"dist/credentials/Alive5Api.credentials.js"
|
|
46
|
+
],
|
|
47
|
+
"nodes": [
|
|
48
|
+
"dist/nodes/Alive5/Alive5.node.js"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@typescript-eslint/parser": "^7.15.0",
|
|
53
|
+
"eslint": "^8.56.0",
|
|
54
|
+
"eslint-plugin-n8n-nodes-base": "^1.16.1",
|
|
55
|
+
"gulp": "^4.0.2",
|
|
56
|
+
"prettier": "^3.3.2",
|
|
57
|
+
"typescript": "^5.5.3"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"n8n-workflow": "*"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"formdata-node": "^6.0.3"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.string.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.object.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.esnext.regexp.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/.pnpm/form-data@4.0.0/node_modules/form-data/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/authentication.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/constants.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/deferredpromise.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/executionstatus.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/application.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/abstract/execution-base.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/expression.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/expression.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/workflow.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/workflow-activation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/workflow-operation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/workflowhooks.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/abstract/node.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/node-api.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/node-operation.error.d.ts","../node_modules/.pnpm/axios@1.6.7/node_modules/axios/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/interfaces.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/loggerproxy.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errorreporterproxy.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/types.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/gen/namedtypes.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/gen/kinds.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/gen/builders.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/lib/types.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/lib/path.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/lib/scope.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/lib/node-path.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/lib/path-visitor.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/gen/visitor.d.ts","../node_modules/.pnpm/ast-types@0.15.2/node_modules/ast-types/main.d.ts","../node_modules/.pnpm/recast@0.22.0/node_modules/recast/lib/options.d.ts","../node_modules/.pnpm/recast@0.22.0/node_modules/recast/lib/parser.d.ts","../node_modules/.pnpm/recast@0.22.0/node_modules/recast/lib/printer.d.ts","../node_modules/.pnpm/recast@0.22.0/node_modules/recast/main.d.ts","../node_modules/.pnpm/@n8n+tournament@1.0.2/node_modules/@n8n/tournament/dist/expressionsplitter.d.ts","../node_modules/.pnpm/@n8n+tournament@1.0.2/node_modules/@n8n/tournament/dist/expressionbuilder.d.ts","../node_modules/.pnpm/@n8n+tournament@1.0.2/node_modules/@n8n/tournament/dist/analysis.d.ts","../node_modules/.pnpm/@n8n+tournament@1.0.2/node_modules/@n8n/tournament/dist/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/expressionevaluatorproxy.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/nodehelpers.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/observableobject.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/telemetryhelpers.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/credential-access-error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/node-ssl.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/webhook-taken.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/workflow-deactivation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/subworkflow-operation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/cli-subworkflow-operation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/trigger-close.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/expression-extension.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/errors/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/cron.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/globalstate.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/messageeventbus.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/routingnode.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/workflowdataproxy.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/versionednodetype.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/typevalidation.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/utils.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/type-guards.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/extensions/extensions.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/extensions/expressionextension.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/extensions/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/extensions/expressionparser.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/nativemethods/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/nodeparameters/filterparameter.d.ts","../node_modules/.pnpm/n8n-workflow@1.48.0/node_modules/n8n-workflow/dist/index.d.ts","../credentials/alive5api.credentials.ts","../node_modules/.pnpm/formdata-node@6.0.3/node_modules/formdata-node/lib/file-cfd9c54a.d.ts","../node_modules/.pnpm/formdata-node@6.0.3/node_modules/formdata-node/lib/form-data.d.ts","../nodes/alive5/alive5.node.ts","../package.json"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","17edc026abf73c5c2dd508652d63f68ec4efd9d4856e3469890d27598209feb5",{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","d00d9369b2ee770658530f04dc09cd14deebdc6456816c5ecd5495911b1cae84","a69fe04ffcfb78fc4f9761397b97419f09629e3e7dc76f2980f85d03aeac39eb","8b9e20585ff8d1664c6cd14d4b02ccc46300a7cf30871fae19436a5babedd86d","3226c2a2af36d14aa551babd4154ad18042c0deb1509a61058c6b066cfddc30a","7e17bc482ade0e34ec7d328767bfd36b38acd50437af0da5b8fb0d2fbd2afb50","038a6396d4f8c66d6bacd7ab14f4b084c3ef1ea7fab5b7528d9832f9717fbcb1","054eafa956d5592e6a91c2553e5657ee3032ed50121a65da1079c96d82631459","14f2edd0618d9adaf83d22b55155ec41faddac678b4d158c8380e4325c8b36b6","d8a779627816583ed4fb309c04ae5559cf5c3929d9f4378085e1fe5de66f5b4a","aca223e907b2e6a5c7f94b506b260da1ac1aebd5b02bb52c1ad7867e04c7e8b1","c32c8968ae44372c2975dfb3f51876ba635a3598673118565f661a9efb8874e3","14e9055fab9d7252730a60f301fd64c0429ae6ac273df2e3424474836b44dbfc","4f39bb23970b0a1d9dcc0b6db6382c06cfd653c2e33fd5a1b83afb650912434f","d88eff4699ac491c3b470fe4ef7bd8eadefedb23d1ae7109da33e34f0538e321","64f353c0c41fd90d2ad429631442fcfbb51d97b77e3e3f3855f9ca6f0f04c2d7","f64487e06875cfbe0cc854328920403df337dc6c1925070995653ac71c266c0e","f682d02a03249dfe41da5857a371c99269a2649b7540bb43426b357b35a2f8e7","6ed8cd0313f2a4c0d3080c0d324b31be20766f53639161bef0405e1c8a888152","84e41060dd913fc5466aa6a04c5ebec55e9d76ab1f5e3917c8492797d8679701","e78705f977ecfcc36de9ab57841ad7a617ef649b07a995577fd857f1d175f730","5083850590c7890ffb680f0c9838f48b07eb8b2f7dbe02874858fcac0691705d","02a4a2284d423d8ccc3a77aa9257c34fdac28cddfb46f73178e60f6a1b1b31e9","3ee8e014aab37dbd755401967fbb9602221550038f6b8da6cedd5291a918ae0a","826f3c6a6d737e0d330522094a21cde94a202c5373448240ba483709cb829aec","7e4a23f6f3763da4a06900935d22acfd463c375cada5ab325e3980bd6c95d5b3","f3e045e81b47113fa02aaf9637b9ef84347610aaceda60a0d8316aabc3f03638","1bfe6db4f3dffacd1da82748cb8f0acec04e8a4d7bd36c09573d5d80a7dec28b","6a8d6deca8ec4250630fea4e5f23bd9bf0face98739ccd22e08a17173117155b","226dbfe4506447111bd898161d47850f8c57f04cbb6a3a6d487b7939dbf89b1b","13f846a45f738733c8a63a06eaa9f580e9c07eb7aed5d8a2c674114846a42175","9d14fcf0b69094271127c7b6acb36987be5d1bffa4eb948359549f040fb50349","e3a5287471fb08f053c06fd998632792aa5f022e45278f1e6dd55fb2fa9e7362","28a6c8eeb48e165920067b9193555649fc43c2a28c450f23f622e5eb043d9463","1147c3efa5a256bcd6a3d2cfaf764185b7120bf985f8412d9bae596a0348f77b","0494f89b64c5e8906ce5284194e09bad42b56837757d79cb9e62ce16aae88ab4","1b5d04b01ffda14ab49924c1c5601c1d29df55ea9bfd281d38082730bebf0295","d6220bee7bd245bc2a377f1a8ef31c496132cc9c7e7e3937e7dd4cbbcec0b38d","da4868424f5ea67d59e98705dab39055000d839a1250ac0cc80bda366c89fddc","420f415e6e5f2550395698e535147339d66fcc5848699e5308d35d90927f72d1","d0a633354f887cc3190bddeba688c8d24706052351151ac199d9c58038faaec4","edd5e20e9eb8cb2eaf941d431af3ab69a9b94e7f5d8699b4c938fee1be8d53c4","315438c7c6fb8645f6862af11b4dcfb7784ebff919056da1dfc3007ac8d5468d","5830ba1f5c81d641b214365ef519d2856f92a584f6cd90cb688edf63c2b84d25","37020cf15e16fa6e1c6e2485cd51d6cbe74adee3b860ab49fb7528ca7e8e518e","1950d2a49c05c7aa6decfe409b552c4ea5fb156894cf0541b34999819bd778ea","32fe829960ff7120843f6dd20197e863aee3e81ecded415641a7500654d1bda7","393b1ed0dca4f0aac333e65f2e40dfedfa8b37ac60571e02b152d32d8c84d340","f46d50c283425bcc59d68ccf067b3672fb727f802652dc7d60d2e470fb956370","6a5a7df74a63e3c3e34c8d4eab2bc8bdc78e242331105e77a428daabcc8ee80a","0b4b6ca509cdb152e18ceeed526d17bb416e7e518508d859a0174977195f9a35","8131b8cb20786d5493b9d48f391c7579b9230ae1ce37a24482b50a753b1da428","0234584eaf3c5c21e7d3b79e1a9d71551e2a6fa5ca25bdc39c544f00e6e52b1e","304b0d21771513c0a36ed7179a9d1069bfa776e95f50b789ce898f3ef2b71514","a42e1c2eec0e747163afa705044664a39065215a8d66c930f8d43f118a9bc044","b30813c7fd97c6a52dc0acfd2444cc06f5fb84fbcc7c19f102bc4443d5199372","8dc10d735f5eecccbfe84231f0ed47c6059593629311210f0d3c94a4f08dd23e","951baa882e6e3e5026cb8a16f80a8bebec1caa35c3fa016c9a3ce6a338bd3123","310ae04779dbcfebfac4872bf27cf636b24324d20dd28132d4d5757bbc8abb2b","0a3f7038afb4012783d87c03e9d53a27ce9bdb6487e70bde9a024a04430c672a","3f6f70c077ed8d600aa24d8c0e83ba0dd5d2c5300d524cd2181efd30c0a62c72","b773bcdaeda86c0f58910cecd6c77a0bd60be763127c42cad5a64fe66799b1f6","0ca63470234437191f454f7f66b5815d79b59ebc636faa1de1194d282563e431","6d3b514475ee51ab5e99e4fc82ffcd6191d40c19dd197a1743111e0757c6f9c6","0494f89b64c5e8906ce5284194e09bad42b56837757d79cb9e62ce16aae88ab4","716c6fce977a188f23ee5165e4179944a63e8620784a7054fc0dd81f6c348bb4","b79ef2d2e4d26abd3c9bc4e72d4daa09feb0e6044c7872b587bf6b43d8a8838d","44474654278b37f50e1ff14dc992ffaa6b2530989d7a9853bdb66203a36e080c",{"version":"7951d5febdf59acf6ef55369ea8e9537cc8b4062abafd4a0a7d9d5d1c59f33d7","signature":"92c00a1009a8b639e95efbd8f90361cf155f12fc5512b0c45eab8ec7b01ec22f"},"c50c59cacbafa262fde9119f0315ad9ecb8431749194ce68c057226ce8848015","d5e4bfc3863a0de50444d6db929c2e077ed4b4aed575053eb573ed19e90fbe73",{"version":"a5cb97ce48a62d955eb36f6dd7d37a20392f4ed6d9b26a7906cb029c0a0f6111","signature":"634ef180b627123653c7d46bbf00731e8570b3d1365903b94904c25156b1a9c9"},{"version":"263cc8f6353ecbc1172645948ae50ec2503bf771f039b078dbc575018604ff24","signature":"e36a8f5a2d8f3cc51b53c2c2d82b5f85c1355823e6f36124fe59b89b42e06461"}],"root":[141,144,145],"options":{"declaration":true,"esModuleInterop":true,"module":1,"noImplicitAny":true,"noImplicitReturns":true,"noUnusedLocals":true,"outDir":"./","preserveConstEnums":true,"removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"target":6,"useUnknownInCatchVariables":false},"fileIdsList":[[140],[109],[107,108],[109,110],[94,95],[94],[93,95,97],[94,100,101],[93,97,98,99],[93,97,100,102],[93,97],[93,100],[93,94,96],[93,94,96,97,98,100,101,102],[142],[90],[78],[78,90],[79],[120],[79,90],[80],[78,79,80,83,84,86,87,88,116,117,118,119,120,121,122,123],[78,86,90],[86,87],[84],[83],[78,79,90],[82,90],[90,111],[134],[134,135],[74,75,76,77,81,82,85,90,91,92,112,113,114,115,124,125,126,127,128,129,130,131,132,133,136,137,138,139],[73,74,75,76,77,80,82,83,84,85,87,88,89],[81,90],[93],[104],[103,104,105,106],[140,143]],"referencedMap":[[141,1],[110,2],[109,3],[111,4],[96,5],[95,6],[94,7],[102,8],[100,9],[101,10],[98,11],[99,12],[97,13],[103,14],[143,15],[75,16],[92,17],[79,18],[86,19],[121,20],[116,21],[123,22],[80,19],[124,23],[87,24],[88,25],[117,19],[120,26],[122,18],[118,27],[83,28],[119,27],[84,19],[81,29],[112,30],[135,31],[136,32],[140,33],[90,34],[91,16],[127,16],[138,31],[113,29],[139,16],[114,16],[128,29],[115,16],[133,16],[131,16],[132,16],[130,16],[82,35],[129,29],[85,16],[104,36],[105,37],[107,38],[144,39]]},"version":"5.5.3"}
|
package/index.js
ADDED
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "n8n-nodes-alive5",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Send SMS messages via alive5",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"n8n-community-node-package",
|
|
7
|
+
"alive5",
|
|
8
|
+
"sms",
|
|
9
|
+
"text",
|
|
10
|
+
"message",
|
|
11
|
+
"communication",
|
|
12
|
+
"sms-gateway"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"homepage": "https://www.alive5.com/",
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Alive5 Inc",
|
|
18
|
+
"email": "support@alive5.com"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/websitealive/n8n-nodes-alive5.git"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=18.10",
|
|
26
|
+
"pnpm": ">=9.1"
|
|
27
|
+
},
|
|
28
|
+
"packageManager": "pnpm@9.1.4",
|
|
29
|
+
"main": "index.js",
|
|
30
|
+
"scripts": {
|
|
31
|
+
"preinstall": "npx only-allow pnpm",
|
|
32
|
+
"build": "tsc && gulp build:icons",
|
|
33
|
+
"dev": "tsc --watch",
|
|
34
|
+
"format": "prettier nodes credentials --write",
|
|
35
|
+
"lint": "eslint nodes credentials package.json",
|
|
36
|
+
"lintfix": "eslint nodes credentials package.json --fix",
|
|
37
|
+
"prepublishOnly": "pnpm build && pnpm lint -c .eslintrc.prepublish.js nodes credentials package.json"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
42
|
+
"n8n": {
|
|
43
|
+
"n8nNodesApiVersion": 1,
|
|
44
|
+
"credentials": [
|
|
45
|
+
"dist/credentials/Alive5Api.credentials.js"
|
|
46
|
+
],
|
|
47
|
+
"nodes": [
|
|
48
|
+
"dist/nodes/Alive5/Alive5.node.js"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@typescript-eslint/parser": "^7.15.0",
|
|
53
|
+
"eslint": "^8.56.0",
|
|
54
|
+
"eslint-plugin-n8n-nodes-base": "^1.16.1",
|
|
55
|
+
"gulp": "^4.0.2",
|
|
56
|
+
"prettier": "^3.3.2",
|
|
57
|
+
"typescript": "^5.5.3"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"n8n-workflow": "*"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"formdata-node": "^6.0.3"
|
|
64
|
+
}
|
|
65
|
+
}
|