n8n-nodes-wazend-api 0.2.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/NOTICE.md +5 -0
- package/README.md +46 -0
- package/dist/credentials/WazendApi.credentials.d.ts +8 -0
- package/dist/credentials/WazendApi.credentials.js +41 -0
- package/dist/credentials/WazendApi.credentials.js.map +1 -0
- package/dist/nodes/Wazend/Wazend.node.d.ts +4 -0
- package/dist/nodes/Wazend/Wazend.node.js +22 -0
- package/dist/nodes/Wazend/Wazend.node.js.map +1 -0
- package/dist/nodes/Wazend/Wazend.node.json +20 -0
- package/dist/nodes/Wazend/WazendTrigger.node.d.ts +4 -0
- package/dist/nodes/Wazend/WazendTrigger.node.js +22 -0
- package/dist/nodes/Wazend/WazendTrigger.node.js.map +1 -0
- package/dist/nodes/Wazend/WazendTrigger.node.json +20 -0
- package/dist/nodes/Wazend/base/node.d.ts +21 -0
- package/dist/nodes/Wazend/base/node.js +32 -0
- package/dist/nodes/Wazend/base/node.js.map +1 -0
- package/dist/nodes/Wazend/base/trigger.d.ts +18 -0
- package/dist/nodes/Wazend/base/trigger.js +75 -0
- package/dist/nodes/Wazend/base/trigger.js.map +1 -0
- package/dist/nodes/Wazend/openapi/WazendOperationParser.d.ts +8 -0
- package/dist/nodes/Wazend/openapi/WazendOperationParser.js +48 -0
- package/dist/nodes/Wazend/openapi/WazendOperationParser.js.map +1 -0
- package/dist/nodes/Wazend/openapi/WazendOperationsCollector.d.ts +6 -0
- package/dist/nodes/Wazend/openapi/WazendOperationsCollector.js +22 -0
- package/dist/nodes/Wazend/openapi/WazendOperationsCollector.js.map +1 -0
- package/dist/nodes/Wazend/openapi/WazendResourceParser.d.ts +5 -0
- package/dist/nodes/Wazend/openapi/WazendResourceParser.js +35 -0
- package/dist/nodes/Wazend/openapi/WazendResourceParser.js.map +1 -0
- package/dist/nodes/Wazend/v202409/WazendTriggerV202409.d.ts +5 -0
- package/dist/nodes/Wazend/v202409/WazendTriggerV202409.js +52 -0
- package/dist/nodes/Wazend/v202409/WazendTriggerV202409.js.map +1 -0
- package/dist/nodes/Wazend/v202409/WazendTriggerV202409.test.d.ts +1 -0
- package/dist/nodes/Wazend/v202409/WazendTriggerV202409.test.js +51 -0
- package/dist/nodes/Wazend/v202409/WazendTriggerV202409.test.js.map +1 -0
- package/dist/nodes/Wazend/v202409/Wazendv202409.d.ts +4 -0
- package/dist/nodes/Wazend/v202409/Wazendv202409.js +91 -0
- package/dist/nodes/Wazend/v202409/Wazendv202409.js.map +1 -0
- package/dist/nodes/Wazend/v202409/Wazendv202409.test.d.ts +1 -0
- package/dist/nodes/Wazend/v202409/Wazendv202409.test.js +7918 -0
- package/dist/nodes/Wazend/v202409/Wazendv202409.test.js.map +1 -0
- package/dist/nodes/Wazend/v202409/openapi.json +8132 -0
- package/dist/nodes/Wazend/v202502/WazendTriggerV202502.d.ts +5 -0
- package/dist/nodes/Wazend/v202502/WazendTriggerV202502.js +52 -0
- package/dist/nodes/Wazend/v202502/WazendTriggerV202502.js.map +1 -0
- package/dist/nodes/Wazend/v202502/WazendTriggerV202502.test.d.ts +1 -0
- package/dist/nodes/Wazend/v202502/WazendTriggerV202502.test.js +63 -0
- package/dist/nodes/Wazend/v202502/WazendTriggerV202502.test.js.map +1 -0
- package/dist/nodes/Wazend/v202502/Wazendv202502.d.ts +4 -0
- package/dist/nodes/Wazend/v202502/Wazendv202502.js +91 -0
- package/dist/nodes/Wazend/v202502/Wazendv202502.js.map +1 -0
- package/dist/nodes/Wazend/v202502/Wazendv202502.test.d.ts +1 -0
- package/dist/nodes/Wazend/v202502/Wazendv202502.test.js +10678 -0
- package/dist/nodes/Wazend/v202502/Wazendv202502.test.js.map +1 -0
- package/dist/nodes/Wazend/v202502/openapi.json +11087 -0
- package/dist/nodes/Wazend/wazend.svg +1 -0
- package/dist/package.json +71 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.js +0 -0
- package/package.json +71 -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/NOTICE.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
This project derives from `devlikeapro/n8n-nodes-waha` (WAHA), distributed under the MIT license. Original license and copyright notices are preserved in LICENSE.md. The exact imported revision is recorded in upstream.json.
|
|
4
|
+
|
|
5
|
+
Wazend branding and downstream automation are maintained independently. This project does not claim endorsement or verification by n8n or the upstream authors. Runtime dependencies retain their original package names and licenses.
|
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Wazend API for n8n
|
|
2
|
+
|
|
3
|
+
Connect WhatsApp messaging, sessions, contacts, groups and webhook events to your n8n workflows using Wazend API.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Once the package is published, open **Settings → Community nodes → Install** in a self-hosted n8n instance and enter `n8n-nodes-wazend-api`.
|
|
8
|
+
|
|
9
|
+
This package is under development and is not currently verified for n8n Cloud.
|
|
10
|
+
|
|
11
|
+
## Credentials
|
|
12
|
+
|
|
13
|
+
Create a **Wazend API** credential:
|
|
14
|
+
|
|
15
|
+
- **Host URL:** your server URL, for example `https://tu-servidor.wazend.net`.
|
|
16
|
+
- **API Key:** your server API key. Requests authenticate through the `X-Api-Key` header.
|
|
17
|
+
|
|
18
|
+
## Send a message
|
|
19
|
+
|
|
20
|
+
1. Add the **Wazend** node and select your Wazend API credential.
|
|
21
|
+
2. Select the messaging resource and the send-text operation.
|
|
22
|
+
3. Set your session name, destination chat ID and message text.
|
|
23
|
+
4. Execute the node when you are ready to send the message.
|
|
24
|
+
|
|
25
|
+
## Receive events
|
|
26
|
+
|
|
27
|
+
Add **Wazend Trigger**, copy its webhook URL and configure your Wazend API session to send events to that URL. Use the test URL while listening in the editor and the production URL for an active workflow. Each event type has its own output.
|
|
28
|
+
|
|
29
|
+
Example media URLs under `example.com` are placeholders; replace them with reachable URLs for your own files.
|
|
30
|
+
|
|
31
|
+
[Wazend documentation](https://wazend.net/docs/introduccion)
|
|
32
|
+
|
|
33
|
+
## Development and synchronization
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
npm ci
|
|
37
|
+
npm run check:branding
|
|
38
|
+
npm test
|
|
39
|
+
npm run build
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
See [maintenance instructions](docs/MAINTENANCE.md) for automatic updates. This is a separate package: existing workflows using another package must be migrated explicitly, including credentials and webhook URLs.
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
MIT. See [LICENSE.md](LICENSE.md) and [third-party notices](NOTICE.md).
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class WazendApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
properties: INodeProperties[];
|
|
6
|
+
authenticate: IAuthenticateGeneric;
|
|
7
|
+
test: ICredentialTestRequest;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WazendApi = void 0;
|
|
4
|
+
class WazendApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'wazendApi';
|
|
7
|
+
this.displayName = 'Wazend API';
|
|
8
|
+
this.properties = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Host URL',
|
|
11
|
+
name: 'url',
|
|
12
|
+
type: 'string',
|
|
13
|
+
default: 'https://tu-servidor.wazend.net',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
displayName: 'API Key',
|
|
17
|
+
name: 'apiKey',
|
|
18
|
+
type: 'string',
|
|
19
|
+
typeOptions: { password: true },
|
|
20
|
+
default: '',
|
|
21
|
+
required: false,
|
|
22
|
+
}
|
|
23
|
+
];
|
|
24
|
+
this.authenticate = {
|
|
25
|
+
type: 'generic',
|
|
26
|
+
properties: {
|
|
27
|
+
headers: {
|
|
28
|
+
'X-Api-Key': '={{$credentials.apiKey}}',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
this.test = {
|
|
33
|
+
request: {
|
|
34
|
+
baseURL: '={{$credentials.url}}',
|
|
35
|
+
url: '/api/sessions',
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.WazendApi = WazendApi;
|
|
41
|
+
//# sourceMappingURL=WazendApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WazendApi.credentials.js","sourceRoot":"","sources":["../../credentials/WazendApi.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,SAAS;IAAtB;QACI,SAAI,GAAG,WAAW,CAAC;QACnB,gBAAW,GAAG,YAAY,CAAC;QAC3B,eAAU,GAAsB;YAC5B;gBACI,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,gCAAgC;aAC5C;YACD;gBACI,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACjB,QAAQ,EAAE,KAAK;aACZ;SACJ,CAAC;QAEF,iBAAY,GAAyB;YACjC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACR,OAAO,EAAE;oBACL,WAAW,EAAE,0BAA0B;iBAC1C;aACJ;SACJ,CAAC;QACF,SAAI,GAA2B;YAC3B,OAAO,EAAE;gBACX,OAAO,EAAE,uBAAuB;gBAC1B,GAAG,EAAE,eAAe;aACvB;SACJ,CAAC;IACN,CAAC;CAAA;AAlCD,8BAkCC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Wazend = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const Wazendv202409_1 = require("./v202409/Wazendv202409");
|
|
6
|
+
const node_1 = require("./base/node");
|
|
7
|
+
const Wazendv202502_1 = require("./v202502/Wazendv202502");
|
|
8
|
+
class Wazend extends n8n_workflow_1.VersionedNodeType {
|
|
9
|
+
constructor() {
|
|
10
|
+
const baseDescription = {
|
|
11
|
+
...node_1.BASE_DESCRIPTION,
|
|
12
|
+
defaultVersion: 202502,
|
|
13
|
+
};
|
|
14
|
+
const nodeVersions = {
|
|
15
|
+
202502: new Wazendv202502_1.Wazendv202502(),
|
|
16
|
+
202409: new Wazendv202409_1.Wazendv202409(),
|
|
17
|
+
};
|
|
18
|
+
super(nodeVersions, baseDescription);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Wazend = Wazend;
|
|
22
|
+
//# sourceMappingURL=Wazend.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Wazend.node.js","sourceRoot":"","sources":["../../../nodes/Wazend/Wazend.node.ts"],"names":[],"mappings":";;;AACA,+CAAiD;AACjD,2DAAwD;AACxD,sCAA6C;AAC7C,2DAAsD;AAEtD,MAAa,MAAO,SAAQ,gCAAiB;IAC5C;QACC,MAAM,eAAe,GAA6B;YACjD,GAAG,uBAAgB;YACnB,cAAc,EAAE,MAAM;SACtB,CAAC;QAEF,MAAM,YAAY,GAAuC;YACxD,MAAM,EAAE,IAAI,6BAAa,EAAE;YAC3B,MAAM,EAAE,IAAI,6BAAa,EAAE;SAC3B,CAAC;QAEF,KAAK,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;IACtC,CAAC;CACD;AAdD,wBAcC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "n8n-nodes-wazend-api.Wazend",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": [
|
|
6
|
+
"Whatsapp"
|
|
7
|
+
],
|
|
8
|
+
"resources": {
|
|
9
|
+
"credentialDocumentation": [
|
|
10
|
+
{
|
|
11
|
+
"url": "https://wazend.net/docs/introduccion"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"primaryDocumentation": [
|
|
15
|
+
{
|
|
16
|
+
"url": "https://wazend.net/docs/introduccion"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WazendTrigger = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const trigger_1 = require("./base/trigger");
|
|
6
|
+
const WazendTriggerV202409_1 = require("./v202409/WazendTriggerV202409");
|
|
7
|
+
const WazendTriggerV202502_1 = require("./v202502/WazendTriggerV202502");
|
|
8
|
+
class WazendTrigger extends n8n_workflow_1.VersionedNodeType {
|
|
9
|
+
constructor() {
|
|
10
|
+
const baseDescription = {
|
|
11
|
+
...trigger_1.BASE_TRIGGER_DESCRIPTION,
|
|
12
|
+
defaultVersion: 202502,
|
|
13
|
+
};
|
|
14
|
+
const nodeVersions = {
|
|
15
|
+
202502: new WazendTriggerV202502_1.WazendTriggerV202502(),
|
|
16
|
+
202409: new WazendTriggerV202409_1.WazendTriggerV202409(),
|
|
17
|
+
};
|
|
18
|
+
super(nodeVersions, baseDescription);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.WazendTrigger = WazendTrigger;
|
|
22
|
+
//# sourceMappingURL=WazendTrigger.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WazendTrigger.node.js","sourceRoot":"","sources":["../../../nodes/Wazend/WazendTrigger.node.ts"],"names":[],"mappings":";;;AACA,+CAAiD;AACjD,4CAAwD;AACxD,yEAAoE;AACpE,yEAAoE;AAEpE,MAAa,aAAc,SAAQ,gCAAiB;IACnD;QACC,MAAM,eAAe,GAA6B;YACjD,GAAG,kCAAwB;YAC3B,cAAc,EAAE,MAAM;SACtB,CAAC;QAEF,MAAM,YAAY,GAAuC;YACxD,MAAM,EAAE,IAAI,2CAAoB,EAAE;YAClC,MAAM,EAAE,IAAI,2CAAoB,EAAE;SAClC,CAAC;QAEF,KAAK,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;IACtC,CAAC;CACD;AAdD,sCAcC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "n8n-nodes-wazend-api.wazendTrigger",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": [
|
|
6
|
+
"Whatsapp"
|
|
7
|
+
],
|
|
8
|
+
"resources": {
|
|
9
|
+
"credentialDocumentation": [
|
|
10
|
+
{
|
|
11
|
+
"url": "https://wazend.net/docs/introduccion"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"primaryDocumentation": [
|
|
15
|
+
{
|
|
16
|
+
"url": "https://wazend.net/docs/introduccion"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { INodeTypeBaseDescription, NodeConnectionType } from "n8n-workflow";
|
|
2
|
+
export declare const BASE_DESCRIPTION: INodeTypeBaseDescription;
|
|
3
|
+
export declare const NODE_DESCRIPTION: {
|
|
4
|
+
subtitle: string;
|
|
5
|
+
inputs: NodeConnectionType[];
|
|
6
|
+
outputs: NodeConnectionType[];
|
|
7
|
+
defaults: {
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
credentials: {
|
|
11
|
+
name: string;
|
|
12
|
+
required: boolean;
|
|
13
|
+
}[];
|
|
14
|
+
requestDefaults: {
|
|
15
|
+
headers: {
|
|
16
|
+
Accept: string;
|
|
17
|
+
'Content-Type': string;
|
|
18
|
+
};
|
|
19
|
+
baseURL: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NODE_DESCRIPTION = exports.BASE_DESCRIPTION = void 0;
|
|
4
|
+
exports.BASE_DESCRIPTION = {
|
|
5
|
+
name: 'Wazend',
|
|
6
|
+
displayName: 'Wazend',
|
|
7
|
+
icon: 'file:wazend.svg',
|
|
8
|
+
description: 'Connect with Whatsapp HTTP API',
|
|
9
|
+
group: ['transform'],
|
|
10
|
+
};
|
|
11
|
+
exports.NODE_DESCRIPTION = {
|
|
12
|
+
subtitle: '={{$parameter["resource"] + ": " + $parameter["operation"]}}',
|
|
13
|
+
inputs: ["main"],
|
|
14
|
+
outputs: ["main"],
|
|
15
|
+
defaults: {
|
|
16
|
+
name: 'Wazend',
|
|
17
|
+
},
|
|
18
|
+
credentials: [
|
|
19
|
+
{
|
|
20
|
+
name: 'wazendApi',
|
|
21
|
+
required: true,
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
requestDefaults: {
|
|
25
|
+
headers: {
|
|
26
|
+
Accept: 'application/json',
|
|
27
|
+
'Content-Type': 'application/json',
|
|
28
|
+
},
|
|
29
|
+
baseURL: '={{$credentials.url}}',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../../nodes/Wazend/base/node.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAA6B;IACzD,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,QAAQ;IACrB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,gCAAgC;IAC7C,KAAK,EAAE,CAAC,WAAW,CAAC;CACpB,CAAC;AAGW,QAAA,gBAAgB,GAAG;IAC/B,QAAQ,EAAE,8DAA8D;IACxE,MAAM,EAAE,QAAyB;IACjC,OAAO,EAAE,QAAyB;IAClC,QAAQ,EAAE;QACT,IAAI,EAAE,QAAQ;KACd;IACD,WAAW,EAAE;QACZ;YACC,IAAI,EAAE,WAAW;YACjB,QAAQ,EAAE,IAAI;SACd;KACD;IACD,eAAe,EAAE;QAChB,OAAO,EAAE;YACR,MAAM,EAAE,kBAAkB;YAC1B,cAAc,EAAE,kBAAkB;SAClC;QACD,OAAO,EAAE,uBAAuB;KAChC;CACD,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { INodeProperties, INodeTypeBaseDescription, WebhookType, type IWebhookFunctions, type IWebhookResponseData } from 'n8n-workflow';
|
|
2
|
+
export declare const BASE_TRIGGER_DESCRIPTION: INodeTypeBaseDescription;
|
|
3
|
+
export declare const TRIGGER_DESCRIPTION: {
|
|
4
|
+
defaults: {
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
inputs: never[];
|
|
8
|
+
credentials: never[];
|
|
9
|
+
webhooks: {
|
|
10
|
+
name: WebhookType;
|
|
11
|
+
httpMethod: string;
|
|
12
|
+
responseMode: string;
|
|
13
|
+
path: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
export declare const CONFIGURE_WEBHOOK_NOTE: INodeProperties;
|
|
17
|
+
export declare function makeEventNote(events: string[]): INodeProperties;
|
|
18
|
+
export declare function makeWebhookForEvents(events: string[]): (this: IWebhookFunctions) => Promise<IWebhookResponseData>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.makeWebhookForEvents = exports.makeEventNote = exports.CONFIGURE_WEBHOOK_NOTE = exports.TRIGGER_DESCRIPTION = exports.BASE_TRIGGER_DESCRIPTION = void 0;
|
|
4
|
+
exports.BASE_TRIGGER_DESCRIPTION = {
|
|
5
|
+
displayName: 'Wazend Trigger',
|
|
6
|
+
name: 'wazendTrigger',
|
|
7
|
+
icon: 'file:wazend.svg',
|
|
8
|
+
group: ['trigger'],
|
|
9
|
+
description: 'Handle Wazend events via webhooks',
|
|
10
|
+
};
|
|
11
|
+
exports.TRIGGER_DESCRIPTION = {
|
|
12
|
+
defaults: {
|
|
13
|
+
name: 'Wazend Trigger',
|
|
14
|
+
},
|
|
15
|
+
inputs: [],
|
|
16
|
+
credentials: [],
|
|
17
|
+
webhooks: [
|
|
18
|
+
{
|
|
19
|
+
name: 'default',
|
|
20
|
+
httpMethod: 'POST',
|
|
21
|
+
responseMode: 'onReceived',
|
|
22
|
+
path: 'wazend',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
};
|
|
26
|
+
exports.CONFIGURE_WEBHOOK_NOTE = {
|
|
27
|
+
displayName: 'Remember to configure Wazend instance (session or server) to send events to <b>Webhook URL</b>. ' +
|
|
28
|
+
'<br/>Check <b>Docs</b> link above☝️',
|
|
29
|
+
name: 'operation',
|
|
30
|
+
type: 'notice',
|
|
31
|
+
typeOptions: {
|
|
32
|
+
theme: 'info',
|
|
33
|
+
},
|
|
34
|
+
default: '',
|
|
35
|
+
};
|
|
36
|
+
function noteText(events) {
|
|
37
|
+
const parts = ['<b>Events</b>:'];
|
|
38
|
+
for (const event of events) {
|
|
39
|
+
parts.push(`- ${event}`);
|
|
40
|
+
}
|
|
41
|
+
return parts.join('<br>');
|
|
42
|
+
}
|
|
43
|
+
function makeEventNote(events) {
|
|
44
|
+
return {
|
|
45
|
+
displayName: noteText(events),
|
|
46
|
+
name: 'operation',
|
|
47
|
+
type: 'notice',
|
|
48
|
+
typeOptions: {
|
|
49
|
+
theme: 'info',
|
|
50
|
+
},
|
|
51
|
+
default: '',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.makeEventNote = makeEventNote;
|
|
55
|
+
function makeWebhookForEvents(events) {
|
|
56
|
+
async function webhook() {
|
|
57
|
+
const bodyData = this.getBodyData();
|
|
58
|
+
const eventType = bodyData.event;
|
|
59
|
+
if (eventType === undefined || !events.includes(eventType)) {
|
|
60
|
+
return {};
|
|
61
|
+
}
|
|
62
|
+
const eventIndex = events.indexOf(eventType);
|
|
63
|
+
const req = this.getRequestObject();
|
|
64
|
+
const data = this.helpers.returnJsonArray(req.body);
|
|
65
|
+
const empty = [];
|
|
66
|
+
const workflowData = events.map((_) => empty);
|
|
67
|
+
workflowData[eventIndex] = data;
|
|
68
|
+
return {
|
|
69
|
+
workflowData: workflowData,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
return webhook;
|
|
73
|
+
}
|
|
74
|
+
exports.makeWebhookForEvents = makeWebhookForEvents;
|
|
75
|
+
//# sourceMappingURL=trigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../../nodes/Wazend/base/trigger.ts"],"names":[],"mappings":";;;AAUa,QAAA,wBAAwB,GAA6B;IACjE,WAAW,EAAE,gBAAgB;IAC7B,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,CAAC,SAAS,CAAC;IAClB,WAAW,EAAE,mCAAmC;CAChD,CAAC;AACW,QAAA,mBAAmB,GAAG;IAClC,QAAQ,EAAE;QACT,IAAI,EAAE,gBAAgB;KACtB;IACD,MAAM,EAAE,EAAE;IACV,WAAW,EAAE,EAAE;IACf,QAAQ,EAAE;QACT;YACC,IAAI,EAAE,SAAwB;YAC9B,UAAU,EAAE,MAAM;YAClB,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,QAAQ;SACd;KACD;CACD,CAAC;AAEW,QAAA,sBAAsB,GAAoB;IACtD,WAAW,EACV,kGAAkG;QAClG,qCAAqC;IACtC,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE;QACZ,KAAK,EAAE,MAAM;KACb;IACD,OAAO,EAAE,EAAE;CACX,CAAC;AAEF,SAAS,QAAQ,CAAC,MAAgB;IACjC,MAAM,KAAK,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACjC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;QAC3B,KAAK,CAAC,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC;KACzB;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC;AAED,SAAgB,aAAa,CAAC,MAAgB;IAC7C,OAAO;QACN,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC;QAC7B,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,KAAK,EAAE,MAAM;SACb;QACD,OAAO,EAAE,EAAE;KACX,CAAC;AACH,CAAC;AAVD,sCAUC;AAED,SAAgB,oBAAoB,CAAC,MAAgB;IACpD,KAAK,UAAU,OAAO;QACrB,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAEpC,MAAM,SAAS,GAAG,QAAQ,CAAC,KAA2B,CAAC;QAEvD,IAAI,SAAS,KAAK,SAAS,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;YAG3D,OAAO,EAAE,CAAC;SACV;QACD,MAAM,UAAU,GAAW,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACrD,MAAM,GAAG,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAEpC,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,CAAC,IAAmB,CAAC,CAAC;QACnE,MAAM,KAAK,GAAyB,EAAE,CAAC;QACvC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;QAC9C,YAAY,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;QAEhC,OAAO;YACN,YAAY,EAAE,YAAY;SAC1B,CAAC;IACH,CAAC;IAED,OAAO,OAAO,CAAC;AAChB,CAAC;AAzBD,oDAyBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OpenAPIV3 } from 'openapi-types';
|
|
2
|
+
import { DefaultOperationParser, OperationContext } from '@devlikeapro/n8n-openapi-node';
|
|
3
|
+
export declare class WazendOperationParser extends DefaultOperationParser {
|
|
4
|
+
name(operation: OpenAPIV3.OperationObject, context: OperationContext): string;
|
|
5
|
+
value(operation: OpenAPIV3.OperationObject, context: OperationContext): string;
|
|
6
|
+
action(operation: OpenAPIV3.OperationObject, context: OperationContext): string;
|
|
7
|
+
description(operation: OpenAPIV3.OperationObject, context: OperationContext): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.WazendOperationParser = void 0;
|
|
27
|
+
const lodash = __importStar(require("lodash"));
|
|
28
|
+
const n8n_openapi_node_1 = require("@devlikeapro/n8n-openapi-node");
|
|
29
|
+
class WazendOperationParser extends n8n_openapi_node_1.DefaultOperationParser {
|
|
30
|
+
name(operation, context) {
|
|
31
|
+
let operationId = operation.operationId.split('_').slice(1).join('_');
|
|
32
|
+
if (!operationId) {
|
|
33
|
+
operationId = operation.operationId;
|
|
34
|
+
}
|
|
35
|
+
return lodash.startCase(operationId);
|
|
36
|
+
}
|
|
37
|
+
value(operation, context) {
|
|
38
|
+
return this.name(operation, context);
|
|
39
|
+
}
|
|
40
|
+
action(operation, context) {
|
|
41
|
+
return operation.summary || this.name(operation, context);
|
|
42
|
+
}
|
|
43
|
+
description(operation, context) {
|
|
44
|
+
return operation.description || operation.summary || '';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.WazendOperationParser = WazendOperationParser;
|
|
48
|
+
//# sourceMappingURL=WazendOperationParser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WazendOperationParser.js","sourceRoot":"","sources":["../../../../nodes/Wazend/openapi/WazendOperationParser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,+CAAiC;AACjC,oEAAyF;AAEzF,MAAa,qBAAsB,SAAQ,yCAAsB;IAChE,IAAI,CAAC,SAAoC,EAAE,OAAyB;QACnE,IAAI,WAAW,GAAW,SAAS,CAAC,WAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChF,IAAI,CAAC,WAAW,EAAE;YACjB,WAAW,GAAG,SAAS,CAAC,WAAqB,CAAC;SAC9C;QACD,OAAO,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAED,KAAK,CAAC,SAAoC,EAAE,OAAyB;QACpE,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;IAED,MAAM,CAAC,SAAoC,EAAE,OAAyB;QACrE,OAAO,SAAS,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED,WAAW,CAAC,SAAoC,EAAE,OAAyB;QAC1E,OAAO,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,OAAO,IAAI,EAAE,CAAC;IACzD,CAAC;CACD;AApBD,sDAoBC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { OpenAPIV3 } from 'openapi-types';
|
|
2
|
+
import { INodeProperties } from 'n8n-workflow';
|
|
3
|
+
import { OperationsCollector, OperationContext } from '@devlikeapro/n8n-openapi-node';
|
|
4
|
+
export declare class WazendOperationsCollector extends OperationsCollector {
|
|
5
|
+
parseFields(operation: OpenAPIV3.OperationObject, context: OperationContext): INodeProperties[];
|
|
6
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WazendOperationsCollector = void 0;
|
|
4
|
+
const n8n_openapi_node_1 = require("@devlikeapro/n8n-openapi-node");
|
|
5
|
+
function sessionFirst(a, b) {
|
|
6
|
+
if (a.name === 'session') {
|
|
7
|
+
return -1;
|
|
8
|
+
}
|
|
9
|
+
if (b.name === 'session') {
|
|
10
|
+
return 1;
|
|
11
|
+
}
|
|
12
|
+
return 0;
|
|
13
|
+
}
|
|
14
|
+
class WazendOperationsCollector extends n8n_openapi_node_1.OperationsCollector {
|
|
15
|
+
parseFields(operation, context) {
|
|
16
|
+
const fields = super.parseFields(operation, context);
|
|
17
|
+
fields.sort(sessionFirst);
|
|
18
|
+
return fields;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.WazendOperationsCollector = WazendOperationsCollector;
|
|
22
|
+
//# sourceMappingURL=WazendOperationsCollector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WazendOperationsCollector.js","sourceRoot":"","sources":["../../../../nodes/Wazend/openapi/WazendOperationsCollector.ts"],"names":[],"mappings":";;;AAEA,oEAAsF;AAEtF,SAAS,YAAY,CAAC,CAAM,EAAE,CAAM;IACnC,IAAI,CAAC,CAAC,IAAI,KAAK,SAAS,EAAE;QACzB,OAAO,CAAC,CAAC,CAAC;KACV;IACD,IAAI,CAAC,CAAC,IAAI,KAAK,SAAS,EAAE;QACzB,OAAO,CAAC,CAAC;KACT;IACD,OAAO,CAAC,CAAC;AACV,CAAC;AAED,MAAa,yBAA0B,SAAQ,sCAAmB;IAEjE,WAAW,CAAC,SAAoC,EAAE,OAAyB;QAC1E,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QACrD,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAE1B,OAAO,MAAM,CAAC;IACf,CAAC;CACD;AARD,8DAQC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.WazendResourceParser = void 0;
|
|
27
|
+
const lodash = __importStar(require("lodash"));
|
|
28
|
+
const n8n_openapi_node_1 = require("@devlikeapro/n8n-openapi-node");
|
|
29
|
+
class WazendResourceParser extends n8n_openapi_node_1.DefaultResourceParser {
|
|
30
|
+
value(tag) {
|
|
31
|
+
return lodash.startCase(tag.name.replace(/[^a-zA-Z0-9_-]/g, ''));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.WazendResourceParser = WazendResourceParser;
|
|
35
|
+
//# sourceMappingURL=WazendResourceParser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WazendResourceParser.js","sourceRoot":"","sources":["../../../../nodes/Wazend/openapi/WazendResourceParser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,+CAAiC;AACjC,oEAAsE;AAEtE,MAAa,oBAAqB,SAAQ,wCAAqB;IAC9D,KAAK,CAAC,GAAwB;QAC7B,OAAO,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC,CAAC;IAClE,CAAC;CACD;AAJD,oDAIC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
export declare class WazendTriggerV202409 implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
webhook: (this: import("n8n-workflow").IWebhookFunctions) => Promise<import("n8n-workflow").IWebhookResponseData>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.WazendTriggerV202409 = void 0;
|
|
27
|
+
const doc = __importStar(require("./openapi.json"));
|
|
28
|
+
const trigger_1 = require("../base/trigger");
|
|
29
|
+
function getEvents() {
|
|
30
|
+
const schemas = doc.components.schemas;
|
|
31
|
+
const schema = schemas.WazendWebhookSessionStatus;
|
|
32
|
+
const event = schema.properties.event;
|
|
33
|
+
return event.enum;
|
|
34
|
+
}
|
|
35
|
+
const events = getEvents();
|
|
36
|
+
const outputs = events.map((_) => "main");
|
|
37
|
+
const outputNames = events;
|
|
38
|
+
class WazendTriggerV202409 {
|
|
39
|
+
constructor() {
|
|
40
|
+
this.description = {
|
|
41
|
+
...trigger_1.BASE_TRIGGER_DESCRIPTION,
|
|
42
|
+
...trigger_1.TRIGGER_DESCRIPTION,
|
|
43
|
+
version: 202409,
|
|
44
|
+
outputs: outputs,
|
|
45
|
+
outputNames: outputNames,
|
|
46
|
+
properties: [trigger_1.CONFIGURE_WEBHOOK_NOTE, (0, trigger_1.makeEventNote)(events)],
|
|
47
|
+
};
|
|
48
|
+
this.webhook = (0, trigger_1.makeWebhookForEvents)(events);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.WazendTriggerV202409 = WazendTriggerV202409;
|
|
52
|
+
//# sourceMappingURL=WazendTriggerV202409.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WazendTriggerV202409.js","sourceRoot":"","sources":["../../../../nodes/Wazend/v202409/WazendTriggerV202409.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,oDAAsC;AACtC,6CAKyB;AAEzB,SAAS,SAAS;IACjB,MAAM,OAAO,GAAG,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC;IACvC,MAAM,MAAM,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAClD,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC;IACtC,OAAO,KAAK,CAAC,IAAI,CAAC;AACnB,CAAC;AAED,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;AAC3B,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,OAAwB,CAAC,CAAC;AAC3D,MAAM,WAAW,GAAG,MAAM,CAAC;AAG3B,MAAa,oBAAoB;IAAjC;QACC,gBAAW,GAAyB;YACnC,GAAG,kCAAwB;YAC3B,GAAG,6BAAmB;YACtB,OAAO,EAAE,MAAM;YACf,OAAO,EAAE,OAAO;YAChB,WAAW,EAAE,WAAW;YACxB,UAAU,EAAE,CAAC,gCAAsB,EAAE,IAAA,uBAAa,EAAC,MAAM,CAAC,CAAC;SAC3D,CAAC;QACF,YAAO,GAAG,IAAA,8BAAoB,EAAC,MAAM,CAAC,CAAA;IACvC,CAAC;CAAA;AAVD,oDAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|