n8n-nodes-wasenderapi 0.1.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 +93 -0
- package/dist/credentials/WasenderAccountApi.credentials.d.ts +10 -0
- package/dist/credentials/WasenderAccountApi.credentials.js +48 -0
- package/dist/credentials/WasenderAccountApi.credentials.js.map +1 -0
- package/dist/icons/wasenderapi.dark.svg +68 -0
- package/dist/icons/wasenderapi.svg +68 -0
- package/dist/nodes/WasenderApi/WasenderApi.node.d.ts +15 -0
- package/dist/nodes/WasenderApi/WasenderApi.node.js +1136 -0
- package/dist/nodes/WasenderApi/WasenderApi.node.js.map +1 -0
- package/dist/nodes/WasenderApi/WasenderApi.node.json +21 -0
- package/dist/nodes/WasenderApi/listSearch/getContacts.d.ts +2 -0
- package/dist/nodes/WasenderApi/listSearch/getContacts.js +83 -0
- package/dist/nodes/WasenderApi/listSearch/getContacts.js.map +1 -0
- package/dist/nodes/WasenderApi/listSearch/getGroups.d.ts +2 -0
- package/dist/nodes/WasenderApi/listSearch/getGroups.js +80 -0
- package/dist/nodes/WasenderApi/listSearch/getGroups.js.map +1 -0
- package/dist/nodes/WasenderApi/listSearch/getSessions.d.ts +2 -0
- package/dist/nodes/WasenderApi/listSearch/getSessions.js +35 -0
- package/dist/nodes/WasenderApi/listSearch/getSessions.js.map +1 -0
- package/dist/nodes/WasenderApi/resources/account/index.d.ts +2 -0
- package/dist/nodes/WasenderApi/resources/account/index.js +213 -0
- package/dist/nodes/WasenderApi/resources/account/index.js.map +1 -0
- package/dist/nodes/WasenderApi/resources/contact/index.d.ts +2 -0
- package/dist/nodes/WasenderApi/resources/contact/index.js +75 -0
- package/dist/nodes/WasenderApi/resources/contact/index.js.map +1 -0
- package/dist/nodes/WasenderApi/resources/group/index.d.ts +2 -0
- package/dist/nodes/WasenderApi/resources/group/index.js +134 -0
- package/dist/nodes/WasenderApi/resources/group/index.js.map +1 -0
- package/dist/nodes/WasenderApi/resources/message/index.d.ts +2 -0
- package/dist/nodes/WasenderApi/resources/message/index.js +290 -0
- package/dist/nodes/WasenderApi/resources/message/index.js.map +1 -0
- package/dist/nodes/WasenderApi/resources/session/index.d.ts +2 -0
- package/dist/nodes/WasenderApi/resources/session/index.js +66 -0
- package/dist/nodes/WasenderApi/resources/session/index.js.map +1 -0
- package/dist/nodes/WasenderApi/shared/descriptions.d.ts +18 -0
- package/dist/nodes/WasenderApi/shared/descriptions.js +210 -0
- package/dist/nodes/WasenderApi/shared/descriptions.js.map +1 -0
- package/dist/nodes/WasenderApi/shared/qrcode.d.ts +7 -0
- package/dist/nodes/WasenderApi/shared/qrcode.js +751 -0
- package/dist/nodes/WasenderApi/shared/qrcode.js.map +1 -0
- package/dist/nodes/WasenderApi/shared/transport.d.ts +23 -0
- package/dist/nodes/WasenderApi/shared/transport.js +298 -0
- package/dist/nodes/WasenderApi/shared/transport.js.map +1 -0
- package/dist/nodes/WasenderApiTrigger/WasenderApiTrigger.node.d.ts +18 -0
- package/dist/nodes/WasenderApiTrigger/WasenderApiTrigger.node.js +231 -0
- package/dist/nodes/WasenderApiTrigger/WasenderApiTrigger.node.js.map +1 -0
- package/dist/nodes/WasenderApiTrigger/WasenderApiTrigger.node.json +18 -0
- package/dist/package.json +61 -0
- package/package.json +61 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright 2026 Abdellatif
|
|
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,93 @@
|
|
|
1
|
+
# n8n-nodes-wasenderapi
|
|
2
|
+
|
|
3
|
+
This is an n8n community node package for [WasenderAPI](https://wasenderapi.com/).
|
|
4
|
+
|
|
5
|
+
It lets you manage Whatsapp sessions, send messages, work with contacts and groups, and trigger workflows from WasenderAPI webhooks.
|
|
6
|
+
|
|
7
|
+
[Installation](#installation)
|
|
8
|
+
[Nodes](#nodes)
|
|
9
|
+
[Credentials](#credentials)
|
|
10
|
+
[Usage Notes](#usage-notes)
|
|
11
|
+
[Compatibility](#compatibility)
|
|
12
|
+
[Resources](#resources)
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
Follow the [n8n community nodes installation guide](https://docs.n8n.io/integrations/community-nodes/installation/), then install:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install n8n-nodes-wasenderapi
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Package name: `n8n-nodes-wasenderapi`
|
|
23
|
+
|
|
24
|
+
## Nodes
|
|
25
|
+
|
|
26
|
+
This package includes two nodes.
|
|
27
|
+
|
|
28
|
+
### WasenderAPI
|
|
29
|
+
|
|
30
|
+
Use this node for direct WasenderAPI actions.
|
|
31
|
+
|
|
32
|
+
Supported resource groups:
|
|
33
|
+
|
|
34
|
+
- `Account`: list, create, update, connect, disconnect, restart, get QR code, regenerate API key, read session logs, read message logs
|
|
35
|
+
- `Session`: get status, get current user, send presence updates
|
|
36
|
+
- `Message`: send text, image, video, document, audio, sticker, contact, location, and poll messages; upload media; decrypt webhook media straight from the incoming item into n8n binary data; edit, delete, resend, inspect, and mark messages as read
|
|
37
|
+
- `Contact`: list contacts, get contact info, get profile picture, create/update contacts, block/unblock contacts, resolve Whatsapp/LID lookups
|
|
38
|
+
- `Group`: list groups, create groups, inspect metadata and participants, manage participants, update settings, retrieve invite data, and leave groups
|
|
39
|
+
|
|
40
|
+
### WasenderAPI Trigger
|
|
41
|
+
|
|
42
|
+
Use this trigger to start workflows from WasenderAPI webhook events.
|
|
43
|
+
|
|
44
|
+
Supported event subscriptions include:
|
|
45
|
+
|
|
46
|
+
- message events like `messages.received`, `messages.upsert`, `messages.update`, `messages.delete`, `message.sent`
|
|
47
|
+
- chat, group, and contact events
|
|
48
|
+
- session and QR events like `session.status` and `qrcode.updated`
|
|
49
|
+
- call and poll events like `call` and `poll.results`
|
|
50
|
+
|
|
51
|
+
## Credentials
|
|
52
|
+
|
|
53
|
+
This package provides one credential type.
|
|
54
|
+
|
|
55
|
+
### WasenderAPI Account API
|
|
56
|
+
|
|
57
|
+
Use a personal access token for account-level endpoints such as:
|
|
58
|
+
|
|
59
|
+
- listing or updating Whatsapp sessions
|
|
60
|
+
- generating session QR codes
|
|
61
|
+
- configuring webhook settings for the trigger node
|
|
62
|
+
|
|
63
|
+
## Usage Notes
|
|
64
|
+
|
|
65
|
+
- Session-scoped actions use the selected session automatically, so you only need to connect the account credential and choose a session in the node
|
|
66
|
+
- The trigger node configures the selected WasenderAPI session webhook URL automatically during activation and validates incoming signatures with that session's stored webhook secret
|
|
67
|
+
- WasenderAPI uses one webhook URL per session, so activating a trigger can overwrite webhook settings previously configured elsewhere for that same session
|
|
68
|
+
- Trigger output includes `selectedSessionId`, so downstream WasenderAPI nodes can prefill the same session while still letting you change it
|
|
69
|
+
- The action node supports resource locators for sessions, contacts, and groups so you can select items from live dropdowns instead of pasting IDs manually
|
|
70
|
+
|
|
71
|
+
## Compatibility
|
|
72
|
+
|
|
73
|
+
- Built as an n8n community node package using the current `n8nNodesApiVersion: 1`
|
|
74
|
+
- Verified in this repository with `npm run lint` and `npm run build`
|
|
75
|
+
|
|
76
|
+
## Releases
|
|
77
|
+
|
|
78
|
+
- `npm run release` creates the version bump, changelog, git tag, and GitHub release
|
|
79
|
+
- npm publishing is handled by GitHub Actions in `.github/workflows/publish.yml`
|
|
80
|
+
- The publish workflow runs automatically when a GitHub release is published and can also be triggered manually from the Actions tab for the current version
|
|
81
|
+
- For a first-time publish where the package does not exist yet on npm, add a temporary `NPM_TOKEN` GitHub Actions secret with publish permission so the workflow can bootstrap the initial release
|
|
82
|
+
- After the package exists on npm, configure npm Trusted Publishing for this repository and `publish.yml`, then remove the `NPM_TOKEN` secret if you want tokenless publishing
|
|
83
|
+
|
|
84
|
+
## Resources
|
|
85
|
+
|
|
86
|
+
- [WasenderAPI documentation](https://wasenderapi.com/api-docs)
|
|
87
|
+
- [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
|
|
88
|
+
|
|
89
|
+
## Version History
|
|
90
|
+
|
|
91
|
+
### 0.1.0
|
|
92
|
+
|
|
93
|
+
- Initial release with WasenderAPI action node and webhook trigger node
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, Icon, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class WasenderAccountApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
icon: Icon;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate: IAuthenticateGeneric;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WasenderAccountApi = void 0;
|
|
4
|
+
class WasenderAccountApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'wasenderAccountApi';
|
|
7
|
+
this.displayName = 'WasenderAPI Account API';
|
|
8
|
+
this.icon = {
|
|
9
|
+
light: 'file:../icons/wasenderapi.svg',
|
|
10
|
+
dark: 'file:../icons/wasenderapi.dark.svg',
|
|
11
|
+
};
|
|
12
|
+
this.documentationUrl = 'https://wasenderapi.com/api-docs/authentication/how-to-authenticate-api-requests-using-personal-access-token';
|
|
13
|
+
this.properties = [
|
|
14
|
+
{
|
|
15
|
+
displayName: 'Personal Access Token',
|
|
16
|
+
name: 'personalAccessToken',
|
|
17
|
+
type: 'string',
|
|
18
|
+
typeOptions: { password: true },
|
|
19
|
+
default: '',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Base URL',
|
|
23
|
+
name: 'baseUrl',
|
|
24
|
+
type: 'string',
|
|
25
|
+
default: 'https://www.wasenderapi.com/api',
|
|
26
|
+
placeholder: 'https://www.wasenderapi.com/api',
|
|
27
|
+
description: 'Override only for self-hosted or proxy deployments',
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
this.authenticate = {
|
|
31
|
+
type: 'generic',
|
|
32
|
+
properties: {
|
|
33
|
+
headers: {
|
|
34
|
+
Authorization: '=Bearer {{$credentials.personalAccessToken}}',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
this.test = {
|
|
39
|
+
request: {
|
|
40
|
+
baseURL: '={{$credentials.baseUrl}}',
|
|
41
|
+
url: '/auth-check',
|
|
42
|
+
method: 'GET',
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.WasenderAccountApi = WasenderAccountApi;
|
|
48
|
+
//# sourceMappingURL=WasenderAccountApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WasenderAccountApi.credentials.js","sourceRoot":"","sources":["../../credentials/WasenderAccountApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,kBAAkB;IAA/B;QACC,SAAI,GAAG,oBAAoB,CAAC;QAE5B,gBAAW,GAAG,yBAAyB,CAAC;QAExC,SAAI,GAAS;YACZ,KAAK,EAAE,+BAA+B;YACtC,IAAI,EAAE,oCAAoC;SAC1C,CAAC;QAEF,qBAAgB,GACf,8GAA8G,CAAC;QAEhH,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,uBAAuB;gBACpC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,iCAAiC;gBAC1C,WAAW,EAAE,iCAAiC;gBAC9C,WAAW,EAAE,oDAAoD;aACjE;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,8CAA8C;iBAC7D;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,aAAa;gBAClB,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AA/CD,gDA+CC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
2
|
+
width="100%" viewBox="0 0 496 496" enable-background="new 0 0 496 496" xml:space="preserve">
|
|
3
|
+
<path fill="#FFFFFF" opacity="1.000000" stroke="none"
|
|
4
|
+
d="
|
|
5
|
+
M199.015091,328.175354
|
|
6
|
+
C191.936722,309.246124 185.043518,290.693207 178.150330,272.140289
|
|
7
|
+
C177.780182,272.262909 177.410049,272.385529 177.039917,272.508118
|
|
8
|
+
C179.023773,278.256165 180.909515,284.040863 183.036804,289.735352
|
|
9
|
+
C183.968475,292.229309 183.983200,294.492920 183.090988,296.977295
|
|
10
|
+
C179.659775,306.531433 176.248062,316.094940 173.033340,325.723206
|
|
11
|
+
C171.933273,329.017853 170.304718,330.478455 166.602783,330.446503
|
|
12
|
+
C146.946228,330.277069 127.286812,330.294739 107.629852,330.442596
|
|
13
|
+
C104.001419,330.469879 102.358124,329.140472 101.243744,325.739960
|
|
14
|
+
C88.497177,286.844177 75.605545,247.995956 62.792866,209.121780
|
|
15
|
+
C62.343102,207.757141 61.490089,206.353485 62.263611,204.724457
|
|
16
|
+
C63.543011,203.344818 65.300934,203.749725 66.899673,203.746414
|
|
17
|
+
C83.225769,203.712646 99.552757,203.811005 115.877563,203.661606
|
|
18
|
+
C119.690582,203.626709 121.491882,204.950775 122.499359,208.702805
|
|
19
|
+
C126.896255,225.077728 131.573929,241.377289 136.160263,257.701233
|
|
20
|
+
C136.637726,259.400635 136.835663,261.234192 138.667770,263.111603
|
|
21
|
+
C140.750183,255.859177 142.730164,249.048462 144.659897,242.223526
|
|
22
|
+
C147.871567,230.864883 151.148560,219.523087 154.183502,208.117096
|
|
23
|
+
C155.072418,204.776337 156.727814,203.631226 160.153320,203.660873
|
|
24
|
+
C176.644836,203.803619 193.139420,203.825195 209.630280,203.646515
|
|
25
|
+
C213.649597,203.602966 215.501022,204.924072 216.551895,208.907562
|
|
26
|
+
C220.663971,224.495087 225.110641,239.994766 229.495621,255.509399
|
|
27
|
+
C230.150482,257.826385 230.513565,260.343109 232.900055,262.489960
|
|
28
|
+
C236.548752,249.562637 240.105301,236.944260 243.673157,224.329086
|
|
29
|
+
C245.256760,218.729767 246.946411,213.158691 248.420120,207.530853
|
|
30
|
+
C249.048279,205.132050 250.085266,203.708038 252.785614,203.717911
|
|
31
|
+
C270.610168,203.783127 288.434937,203.781525 306.259552,203.831619
|
|
32
|
+
C306.886627,203.833374 307.512817,204.149185 308.059296,204.296951
|
|
33
|
+
C309.129333,206.347427 308.059235,208.005096 307.507690,209.685547
|
|
34
|
+
C294.847137,248.257309 282.112457,286.804932 269.581665,325.418732
|
|
35
|
+
C268.320923,329.303802 266.466339,330.500427 262.476746,330.459717
|
|
36
|
+
C243.320496,330.264252 224.161072,330.395264 205.002869,330.356293
|
|
37
|
+
C202.936447,330.352081 200.554245,331.001465 199.015091,328.175354
|
|
38
|
+
z"/>
|
|
39
|
+
<path fill="#FFFFFF" opacity="1.000000" stroke="none"
|
|
40
|
+
d="
|
|
41
|
+
M368.084106,203.694122
|
|
42
|
+
C390.391998,203.687317 412.212891,203.795837 434.030762,203.589966
|
|
43
|
+
C438.729736,203.545639 440.467621,204.845856 440.359741,209.759003
|
|
44
|
+
C440.067383,223.077652 440.108612,236.409561 440.343231,249.730484
|
|
45
|
+
C440.421661,254.181076 438.832520,255.442535 434.538300,255.402832
|
|
46
|
+
C415.385345,255.225739 396.229706,255.298767 377.075226,255.351501
|
|
47
|
+
C370.423798,255.369812 365.996063,258.361908 364.312775,263.691650
|
|
48
|
+
C362.685699,268.843475 365.249146,274.883423 370.235535,277.646820
|
|
49
|
+
C375.178864,280.386353 381.354919,279.476318 384.881226,275.488739
|
|
50
|
+
C388.589630,271.295380 388.524536,265.960175 384.692230,260.899719
|
|
51
|
+
C384.102722,260.121307 383.472534,259.373627 382.858002,258.607819
|
|
52
|
+
C384.006897,256.634064 385.841309,257.133209 387.372803,257.124756
|
|
53
|
+
C399.031830,257.060516 410.693451,257.205963 422.349518,257.007843
|
|
54
|
+
C426.256256,256.941467 428.442261,258.955902 430.517609,261.738525
|
|
55
|
+
C449.885773,287.707703 435.946533,321.899597 403.350220,328.289673
|
|
56
|
+
C396.482361,329.636017 389.572784,330.414886 382.538910,330.383270
|
|
57
|
+
C360.886169,330.285858 339.231689,330.262238 317.580231,330.465393
|
|
58
|
+
C313.050293,330.507904 311.504395,329.158966 311.590057,324.531281
|
|
59
|
+
C311.849030,310.544769 311.821930,296.548126 311.597565,282.560364
|
|
60
|
+
C311.529968,278.347687 313.077393,276.947784 317.076996,277.063263
|
|
61
|
+
C323.111145,277.237457 329.154083,277.108673 335.193268,277.108673
|
|
62
|
+
C335.197693,276.509949 335.202118,275.911224 335.206573,275.312500
|
|
63
|
+
C331.977661,275.312500 328.741333,275.176575 325.522095,275.353180
|
|
64
|
+
C322.667114,275.509796 320.917786,274.354431 319.476257,271.929077
|
|
65
|
+
C304.791748,247.222672 316.249023,215.538818 343.543976,207.598969
|
|
66
|
+
C351.428772,205.305359 359.450226,204.204254 368.084106,203.694122
|
|
67
|
+
z"/>
|
|
68
|
+
</svg>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
2
|
+
width="100%" viewBox="0 0 496 496" enable-background="new 0 0 496 496" xml:space="preserve">
|
|
3
|
+
<path fill="#000000" opacity="1.000000" stroke="none"
|
|
4
|
+
d="
|
|
5
|
+
M199.015091,328.175354
|
|
6
|
+
C191.936722,309.246124 185.043518,290.693207 178.150330,272.140289
|
|
7
|
+
C177.780182,272.262909 177.410049,272.385529 177.039917,272.508118
|
|
8
|
+
C179.023773,278.256165 180.909515,284.040863 183.036804,289.735352
|
|
9
|
+
C183.968475,292.229309 183.983200,294.492920 183.090988,296.977295
|
|
10
|
+
C179.659775,306.531433 176.248062,316.094940 173.033340,325.723206
|
|
11
|
+
C171.933273,329.017853 170.304718,330.478455 166.602783,330.446503
|
|
12
|
+
C146.946228,330.277069 127.286812,330.294739 107.629852,330.442596
|
|
13
|
+
C104.001419,330.469879 102.358124,329.140472 101.243744,325.739960
|
|
14
|
+
C88.497177,286.844177 75.605545,247.995956 62.792866,209.121780
|
|
15
|
+
C62.343102,207.757141 61.490089,206.353485 62.263611,204.724457
|
|
16
|
+
C63.543011,203.344818 65.300934,203.749725 66.899673,203.746414
|
|
17
|
+
C83.225769,203.712646 99.552757,203.811005 115.877563,203.661606
|
|
18
|
+
C119.690582,203.626709 121.491882,204.950775 122.499359,208.702805
|
|
19
|
+
C126.896255,225.077728 131.573929,241.377289 136.160263,257.701233
|
|
20
|
+
C136.637726,259.400635 136.835663,261.234192 138.667770,263.111603
|
|
21
|
+
C140.750183,255.859177 142.730164,249.048462 144.659897,242.223526
|
|
22
|
+
C147.871567,230.864883 151.148560,219.523087 154.183502,208.117096
|
|
23
|
+
C155.072418,204.776337 156.727814,203.631226 160.153320,203.660873
|
|
24
|
+
C176.644836,203.803619 193.139420,203.825195 209.630280,203.646515
|
|
25
|
+
C213.649597,203.602966 215.501022,204.924072 216.551895,208.907562
|
|
26
|
+
C220.663971,224.495087 225.110641,239.994766 229.495621,255.509399
|
|
27
|
+
C230.150482,257.826385 230.513565,260.343109 232.900055,262.489960
|
|
28
|
+
C236.548752,249.562637 240.105301,236.944260 243.673157,224.329086
|
|
29
|
+
C245.256760,218.729767 246.946411,213.158691 248.420120,207.530853
|
|
30
|
+
C249.048279,205.132050 250.085266,203.708038 252.785614,203.717911
|
|
31
|
+
C270.610168,203.783127 288.434937,203.781525 306.259552,203.831619
|
|
32
|
+
C306.886627,203.833374 307.512817,204.149185 308.059296,204.296951
|
|
33
|
+
C309.129333,206.347427 308.059235,208.005096 307.507690,209.685547
|
|
34
|
+
C294.847137,248.257309 282.112457,286.804932 269.581665,325.418732
|
|
35
|
+
C268.320923,329.303802 266.466339,330.500427 262.476746,330.459717
|
|
36
|
+
C243.320496,330.264252 224.161072,330.395264 205.002869,330.356293
|
|
37
|
+
C202.936447,330.352081 200.554245,331.001465 199.015091,328.175354
|
|
38
|
+
z"/>
|
|
39
|
+
<path fill="#000000" opacity="1.000000" stroke="none"
|
|
40
|
+
d="
|
|
41
|
+
M368.084106,203.694122
|
|
42
|
+
C390.391998,203.687317 412.212891,203.795837 434.030762,203.589966
|
|
43
|
+
C438.729736,203.545639 440.467621,204.845856 440.359741,209.759003
|
|
44
|
+
C440.067383,223.077652 440.108612,236.409561 440.343231,249.730484
|
|
45
|
+
C440.421661,254.181076 438.832520,255.442535 434.538300,255.402832
|
|
46
|
+
C415.385345,255.225739 396.229706,255.298767 377.075226,255.351501
|
|
47
|
+
C370.423798,255.369812 365.996063,258.361908 364.312775,263.691650
|
|
48
|
+
C362.685699,268.843475 365.249146,274.883423 370.235535,277.646820
|
|
49
|
+
C375.178864,280.386353 381.354919,279.476318 384.881226,275.488739
|
|
50
|
+
C388.589630,271.295380 388.524536,265.960175 384.692230,260.899719
|
|
51
|
+
C384.102722,260.121307 383.472534,259.373627 382.858002,258.607819
|
|
52
|
+
C384.006897,256.634064 385.841309,257.133209 387.372803,257.124756
|
|
53
|
+
C399.031830,257.060516 410.693451,257.205963 422.349518,257.007843
|
|
54
|
+
C426.256256,256.941467 428.442261,258.955902 430.517609,261.738525
|
|
55
|
+
C449.885773,287.707703 435.946533,321.899597 403.350220,328.289673
|
|
56
|
+
C396.482361,329.636017 389.572784,330.414886 382.538910,330.383270
|
|
57
|
+
C360.886169,330.285858 339.231689,330.262238 317.580231,330.465393
|
|
58
|
+
C313.050293,330.507904 311.504395,329.158966 311.590057,324.531281
|
|
59
|
+
C311.849030,310.544769 311.821930,296.548126 311.597565,282.560364
|
|
60
|
+
C311.529968,278.347687 313.077393,276.947784 317.076996,277.063263
|
|
61
|
+
C323.111145,277.237457 329.154083,277.108673 335.193268,277.108673
|
|
62
|
+
C335.197693,276.509949 335.202118,275.911224 335.206573,275.312500
|
|
63
|
+
C331.977661,275.312500 328.741333,275.176575 325.522095,275.353180
|
|
64
|
+
C322.667114,275.509796 320.917786,274.354431 319.476257,271.929077
|
|
65
|
+
C304.791748,247.222672 316.249023,215.538818 343.543976,207.598969
|
|
66
|
+
C351.428772,205.305359 359.450226,204.204254 368.084106,203.694122
|
|
67
|
+
z"/>
|
|
68
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
import { getContacts } from './listSearch/getContacts';
|
|
3
|
+
import { getGroups } from './listSearch/getGroups';
|
|
4
|
+
import { getSessions } from './listSearch/getSessions';
|
|
5
|
+
export declare class WasenderApi implements INodeType {
|
|
6
|
+
description: INodeTypeDescription;
|
|
7
|
+
methods: {
|
|
8
|
+
listSearch: {
|
|
9
|
+
getSessions: typeof getSessions;
|
|
10
|
+
getContacts: typeof getContacts;
|
|
11
|
+
getGroups: typeof getGroups;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
15
|
+
}
|