n8n-nodes-kapacity 0.1.2 → 0.1.3
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/README.md +4 -0
- package/dist/nodes/Kapacity/Kapacity.node.js +3 -2
- package/dist/nodes/Kapacity/shared/connection.d.ts +2 -0
- package/dist/nodes/Kapacity/shared/connection.js +7 -0
- package/dist/nodes/KapacityTrigger/KapacityTrigger.node.js +2 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,6 +101,10 @@ The API has a monthly quota per workspace. Each call counts, so prefer the trigg
|
|
|
101
101
|
|
|
102
102
|
## Version history
|
|
103
103
|
|
|
104
|
+
### 0.1.3
|
|
105
|
+
|
|
106
|
+
Installs on n8n instances upgraded from 1.x that still keep an old n8n-workflow in ~/.n8n/nodes (the install used to fail with "Class could not be found").
|
|
107
|
+
|
|
104
108
|
### 0.1.2
|
|
105
109
|
|
|
106
110
|
Kapacity Trigger: replacing an outdated webhook no longer hides a failed deletion. Only a 404 is ignored, so an event can never fire the workflow twice.
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Kapacity = void 0;
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
const actions_1 = require("./actions");
|
|
6
|
+
const connection_1 = require("./shared/connection");
|
|
6
7
|
const methods_1 = require("./methods");
|
|
7
8
|
const contact_1 = require("./resources/contact");
|
|
8
9
|
const contract_1 = require("./resources/contract");
|
|
@@ -20,8 +21,8 @@ class Kapacity {
|
|
|
20
21
|
description: 'Work with the contacts, tables, contracts, appointments and payments of Kapacity',
|
|
21
22
|
defaults: { name: 'Kapacity' },
|
|
22
23
|
usableAsTool: true,
|
|
23
|
-
inputs: [
|
|
24
|
-
outputs: [
|
|
24
|
+
inputs: [connection_1.MAIN_CONNECTION],
|
|
25
|
+
outputs: [connection_1.MAIN_CONNECTION],
|
|
25
26
|
credentials: [{ name: 'kapacityApi', required: true }],
|
|
26
27
|
properties: [
|
|
27
28
|
{
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MAIN_CONNECTION = void 0;
|
|
5
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
6
|
+
exports.MAIN_CONNECTION = (_a = n8n_workflow_1.NodeConnectionTypes === null || n8n_workflow_1.NodeConnectionTypes === void 0 ? void 0 : n8n_workflow_1.NodeConnectionTypes.Main) !== null && _a !== void 0 ? _a : 'main';
|
|
7
|
+
//# sourceMappingURL=connection.js.map
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.KapacityTrigger = void 0;
|
|
4
4
|
const crypto_1 = require("crypto");
|
|
5
5
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
6
|
+
const connection_1 = require("../Kapacity/shared/connection");
|
|
6
7
|
const transport_1 = require("../Kapacity/shared/transport");
|
|
7
8
|
const EVENTS = [
|
|
8
9
|
{ name: 'Contact Created', value: 'contact.cree', description: 'A contact is added to Mon Pipe or Setting' },
|
|
@@ -39,7 +40,7 @@ class KapacityTrigger {
|
|
|
39
40
|
description: 'Starts the workflow when something happens in Kapacity',
|
|
40
41
|
defaults: { name: 'Kapacity Trigger' },
|
|
41
42
|
inputs: [],
|
|
42
|
-
outputs: [
|
|
43
|
+
outputs: [connection_1.MAIN_CONNECTION],
|
|
43
44
|
credentials: [{ name: 'kapacityApi', required: true }],
|
|
44
45
|
webhooks: [{ name: 'default', httpMethod: 'POST', responseMode: 'onReceived', path: 'webhook' }],
|
|
45
46
|
properties: [
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-kapacity",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "n8n nodes for Kapacity, the all-in-one sales CRM: contacts, CRM tables, contracts with e-signature, appointments, forms, payments and real-time webhooks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/kapacity-saas/n8n-nodes-kapacity#readme",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-kapacity",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "n8n nodes for Kapacity, the all-in-one sales CRM: contacts, CRM tables, contracts with e-signature, appointments, forms, payments and real-time webhooks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/kapacity-saas/n8n-nodes-kapacity#readme",
|