n8n-nodes-nedzo 1.0.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Nedzo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # n8n-nodes-nedzo
2
+
3
+ This is an n8n community node for [Nedzo](https://nedzo.ai) - AI Voice Agent Automation Platform.
4
+
5
+ [n8n](https://n8n.io/) is a fair-code licensed workflow automation platform.
6
+
7
+ ## Installation
8
+
9
+ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
10
+
11
+ ### Community Nodes (Recommended)
12
+
13
+ 1. Go to **Settings > Community Nodes**
14
+ 2. Select **Install**
15
+ 3. Enter `n8n-nodes-nedzo` in **Enter npm package name**
16
+ 4. Agree to the risks and select **Install**
17
+
18
+ ### Manual Installation
19
+
20
+ ```bash
21
+ npm install n8n-nodes-nedzo
22
+ ```
23
+
24
+ ## Credentials
25
+
26
+ This node requires Nedzo API credentials. You can obtain an API key from your [Nedzo dashboard](https://app.nedzo.ai).
27
+
28
+ ## Operations
29
+
30
+ ### Agent
31
+ - **Create** - Create a new AI voice agent
32
+ - **Get** - Retrieve an agent by ID
33
+ - **Get Many** - List all agents in a workspace
34
+ - **Update** - Update an agent's configuration
35
+ - **Delete** - Delete an agent
36
+
37
+ ### Call
38
+ - **Create** - Initiate an outbound call using an agent
39
+
40
+ ### Contact
41
+ - **Create** - Create a new contact
42
+ - **Get** - Retrieve a contact by ID
43
+ - **Get Many** - List all contacts in a workspace
44
+ - **Update** - Update a contact's information
45
+ - **Delete** - Delete a contact
46
+
47
+ ### Workspace
48
+ - **Create** - Create a new workspace
49
+ - **Get** - Retrieve a workspace by ID
50
+ - **Get Many** - List all workspaces
51
+ - **Update** - Update workspace settings
52
+ - **Delete** - Delete a workspace
53
+
54
+ ## Compatibility
55
+
56
+ Tested with n8n version 1.0.0 and above.
57
+
58
+ ## Resources
59
+
60
+ - [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
61
+ - [Nedzo API Documentation](https://docs.nedzo.ai)
62
+ - [Nedzo Website](https://nedzo.ai)
63
+
64
+ ## License
65
+
66
+ [MIT](LICENSE.md)
@@ -0,0 +1,8 @@
1
+ import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class NedzoApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ }
8
+ //# sourceMappingURL=NedzoApi.credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NedzoApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/NedzoApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,QAAS,YAAW,eAAe;IAC/C,IAAI,SAAc;IAElB,WAAW,SAAe;IAE1B,gBAAgB,SAAW;IAE3B,UAAU,EAAE,eAAe,EAAE,CAQ3B;CACF"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NedzoApi = void 0;
4
+ class NedzoApi {
5
+ name = 'nedzoApi';
6
+ displayName = 'Nedzo API';
7
+ documentationUrl = 'nedzo';
8
+ properties = [
9
+ {
10
+ displayName: 'API Key',
11
+ name: 'apiKey',
12
+ type: 'string',
13
+ typeOptions: { password: true },
14
+ default: '',
15
+ },
16
+ ];
17
+ }
18
+ exports.NedzoApi = NedzoApi;
19
+ //# sourceMappingURL=NedzoApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NedzoApi.credentials.js","sourceRoot":"","sources":["../../credentials/NedzoApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,QAAQ;IACpB,IAAI,GAAG,UAAU,CAAC;IAElB,WAAW,GAAG,WAAW,CAAC;IAE1B,gBAAgB,GAAG,OAAO,CAAC;IAE3B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;SACX;KACD,CAAC;CACF;AAhBD,4BAgBC"}
@@ -0,0 +1,3 @@
1
+ import type { IDataObject, IExecuteFunctions, IHttpRequestMethods, ILoadOptionsFunctions } from 'n8n-workflow';
2
+ export declare function nedzoApiRequest(this: IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, resource: string, body?: IDataObject, qs?: IDataObject): Promise<unknown>;
3
+ //# sourceMappingURL=GenericFunctions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericFunctions.d.ts","sourceRoot":"","sources":["../../../nodes/Nedzo/GenericFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EAErB,MAAM,cAAc,CAAC;AAGtB,wBAAsB,eAAe,CACpC,IAAI,EAAE,iBAAiB,GAAG,qBAAqB,EAC/C,MAAM,EAAE,mBAAmB,EAC3B,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,WAAgB,EACtB,EAAE,GAAE,WAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CAgClB"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.nedzoApiRequest = nedzoApiRequest;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ async function nedzoApiRequest(method, resource, body = {}, qs = {}) {
6
+ const credentials = await this.getCredentials('nedzoApi');
7
+ const options = {
8
+ method,
9
+ url: `https://api.nedzo.ai${resource}`,
10
+ json: true,
11
+ headers: {
12
+ Authorization: `Bearer ${credentials.apiKey}`,
13
+ },
14
+ };
15
+ if (Object.keys(body).length > 0) {
16
+ options.body = body;
17
+ }
18
+ if (Object.keys(qs).length > 0) {
19
+ options.qs = qs;
20
+ }
21
+ try {
22
+ return await this.helpers.httpRequest(options);
23
+ }
24
+ catch (error) {
25
+ throw new n8n_workflow_1.NodeApiError(this.getNode(), error);
26
+ }
27
+ }
28
+ //# sourceMappingURL=GenericFunctions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericFunctions.js","sourceRoot":"","sources":["../../../nodes/Nedzo/GenericFunctions.ts"],"names":[],"mappings":";;AASA,0CAsCC;AAxCD,+CAA4C;AAErC,KAAK,UAAU,eAAe,CAEpC,MAA2B,EAC3B,QAAgB,EAChB,OAAoB,EAAE,EACtB,KAAkB,EAAE;IAEpB,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IAE1D,MAAM,OAAO,GAOT;QACH,MAAM;QACN,GAAG,EAAE,uBAAuB,QAAQ,EAAE;QACtC,IAAI,EAAE,IAAI;QACV,OAAO,EAAE;YACR,aAAa,EAAE,UAAU,WAAW,CAAC,MAAM,EAAE;SAC7C;KACD,CAAC;IAEF,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAClC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAChC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC;IACjB,CAAC;IAED,IAAI,CAAC;QACJ,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAChD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAmB,CAAC,CAAC;IAC7D,CAAC;AACF,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class Nedzo implements INodeType {
3
+ description: INodeTypeDescription;
4
+ methods: {
5
+ loadOptions: {
6
+ getWorkspaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
7
+ getAgents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
8
+ getAllAgents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
9
+ getContacts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
10
+ getAllContacts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
11
+ };
12
+ };
13
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
14
+ }
15
+ //# sourceMappingURL=Nedzo.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Nedzo.node.d.ts","sourceRoot":"","sources":["../../../nodes/Nedzo/Nedzo.node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,oBAAoB,EACpB,MAAM,cAAc,CAAC;AAKtB,qBAAa,KAAM,YAAW,SAAS;IACtC,WAAW,EAAE,oBAAoB,CA0oC/B;IAEF,OAAO;;gCAEqB,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;4BAa3D,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;+BAiBpD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;8BAgCxD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;iCAkCpD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;;MAyClF;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAmYvE"}