whaticket-360-house 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/README.md +139 -0
- package/dist/credentials/WhaticketApi.credentials.d.ts +6 -0
- package/dist/credentials/WhaticketApi.credentials.js +53 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +18 -0
- package/dist/nodes/Whaticket/Whaticket.node.d.ts +5 -0
- package/dist/nodes/Whaticket/Whaticket.node.js +4124 -0
- package/dist/nodes/Whaticket/whaticket.svg +1 -0
- package/package.json +27 -0
- package/scripts/copy-assets.js +14 -0
- package/tsconfig.json +13 -0
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "whaticket-360-house",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Custom n8n node for Whaticket 360 House API",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsc -p tsconfig.json && node scripts/copy-assets.js"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"typescript": "^5.3.3"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"n8n-core": "^1.0.0",
|
|
16
|
+
"n8n-workflow": "^1.0.0"
|
|
17
|
+
},
|
|
18
|
+
"n8n": {
|
|
19
|
+
"n8nNodesApiVersion": 1,
|
|
20
|
+
"credentials": [
|
|
21
|
+
"dist/credentials/WhaticketApi.credentials.js"
|
|
22
|
+
],
|
|
23
|
+
"nodes": [
|
|
24
|
+
"dist/nodes/Whaticket/Whaticket.node.js"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const fs = require("fs");
|
|
2
|
+
const path = require("path");
|
|
3
|
+
|
|
4
|
+
const assets = [
|
|
5
|
+
{
|
|
6
|
+
from: path.join(__dirname, "..", "src", "nodes", "Whaticket", "whaticket.svg"),
|
|
7
|
+
to: path.join(__dirname, "..", "dist", "nodes", "Whaticket", "whaticket.svg")
|
|
8
|
+
}
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
for (const asset of assets) {
|
|
12
|
+
fs.mkdirSync(path.dirname(asset.to), { recursive: true });
|
|
13
|
+
fs.copyFileSync(asset.from, asset.to);
|
|
14
|
+
}
|
package/tsconfig.json
ADDED