n8n-nodes-waappa 0.1.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 +56 -0
- package/dist/credentials/WaappaApi.credentials.d.ts +8 -0
- package/dist/credentials/WaappaApi.credentials.js +33 -0
- package/dist/credentials/WaappaApi.credentials.js.map +1 -0
- package/dist/credentials/waappa.svg +366 -0
- package/dist/icons/github.dark.svg +3 -0
- package/dist/icons/github.svg +3 -0
- package/dist/nodes/Waappa/GenericFunctions.d.ts +2 -0
- package/dist/nodes/Waappa/GenericFunctions.js +23 -0
- package/dist/nodes/Waappa/GenericFunctions.js.map +1 -0
- package/dist/nodes/Waappa/Waappa.node.d.ts +5 -0
- package/dist/nodes/Waappa/Waappa.node.js +846 -0
- package/dist/nodes/Waappa/Waappa.node.js.map +1 -0
- package/dist/nodes/Waappa/WaappaTrigger.node.d.ts +5 -0
- package/dist/nodes/Waappa/WaappaTrigger.node.js +140 -0
- package/dist/nodes/Waappa/WaappaTrigger.node.js.map +1 -0
- package/dist/nodes/Waappa/waappa.svg +366 -0
- package/dist/package.json +54 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +42 -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,56 @@
|
|
|
1
|
+
# n8n-nodes-waappa
|
|
2
|
+
|
|
3
|
+
This is an n8n community node to interact with the **Waappa WhatsApp API**. It allows you to send various types of messages, manage groups, and handle contacts directly from n8n.
|
|
4
|
+
|
|
5
|
+
[Waappa API Documentation](https://wasenderapi.com/api-docs)
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- **Messages**:
|
|
10
|
+
- Send Text, Images, Videos, Audio, Documents, Stickers
|
|
11
|
+
- Send Contact Cards, Locations, Polls
|
|
12
|
+
- Send Reply (Quoted) and Mentions
|
|
13
|
+
- Send View Once Media
|
|
14
|
+
- Edit and Delete Messages
|
|
15
|
+
- **Groups**:
|
|
16
|
+
- Create and Update Groups
|
|
17
|
+
- Get All Groups and Metadata
|
|
18
|
+
- Add and Remove Participants
|
|
19
|
+
- **Contacts**:
|
|
20
|
+
- Get All Contacts
|
|
21
|
+
- Get Contact Info
|
|
22
|
+
- Block Contacts
|
|
23
|
+
- **Media**:
|
|
24
|
+
- Upload Media (Binary/Base64)
|
|
25
|
+
- Decrypt Media
|
|
26
|
+
- **Triggers**:
|
|
27
|
+
- Receive real-time events (Messages, Status updates, Group changes, Calls, etc.)
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
|
|
32
|
+
|
|
33
|
+
1. Go to **Settings > Community Nodes**.
|
|
34
|
+
2. Select **Install**.
|
|
35
|
+
3. Enter `n8n-nodes-waappa`.
|
|
36
|
+
|
|
37
|
+
## Credentials
|
|
38
|
+
|
|
39
|
+
You need a **Waappa API Key** and your **Base URL**.
|
|
40
|
+
|
|
41
|
+
1. In n8n, add a new credential: **Waappa API**.
|
|
42
|
+
2. Enter your API Key.
|
|
43
|
+
3. Enter your Base URL (Default: `https://api.waappa.com`).
|
|
44
|
+
|
|
45
|
+
## Operations
|
|
46
|
+
|
|
47
|
+
### Waappa Node
|
|
48
|
+
Use this node to perform actions. Select the **Resource** (Messages, Groups, Contacts, Media) and then the **Operation**.
|
|
49
|
+
|
|
50
|
+
### Waappa Trigger
|
|
51
|
+
Use this node to start workflows on incoming events. It exposes a unique webhook URL.
|
|
52
|
+
- **Output Generic**: Messages, Status Updates, Group Events, Calls, Others.
|
|
53
|
+
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
MIT
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WaappaApi = void 0;
|
|
4
|
+
class WaappaApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.displayName = 'Waappa API';
|
|
7
|
+
this.name = 'waappaApi';
|
|
8
|
+
this.icon = 'file:waappa.svg';
|
|
9
|
+
this.documentationUrl = 'https://wasenderapi.com/api-docs';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'API Key',
|
|
13
|
+
name: 'apiKey',
|
|
14
|
+
type: 'string',
|
|
15
|
+
typeOptions: {
|
|
16
|
+
password: true,
|
|
17
|
+
},
|
|
18
|
+
default: '',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Base URL',
|
|
23
|
+
name: 'baseUrl',
|
|
24
|
+
type: 'string',
|
|
25
|
+
default: 'https://api.waappa.com',
|
|
26
|
+
required: true,
|
|
27
|
+
description: 'Your Waappa API Base URL',
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.WaappaApi = WaappaApi;
|
|
33
|
+
//# sourceMappingURL=WaappaApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaappaApi.credentials.js","sourceRoot":"","sources":["../../credentials/WaappaApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IAAtB;QACI,gBAAW,GAAG,YAAY,CAAC;QAC3B,SAAI,GAAG,WAAW,CAAC;QAEnB,SAAI,GAAG,iBAAiB,CAAC;QACzB,qBAAgB,GAAG,kCAAkC,CAAC;QAEtD,eAAU,GAAsB;YAC5B;gBACI,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACT,QAAQ,EAAE,IAAI;iBACjB;gBACD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACjB;YACD;gBACI,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,0BAA0B;aAC1C;SACJ,CAAC;IACN,CAAC;CAAA;AA3BD,8BA2BC"}
|