@mspcopilot/n8n-nodes-connectwise 0.1.2 → 0.1.4
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/{dist-community → dist}/credentials/ConnectWisePsaApi.credentials.js +1 -1
- package/{dist-community → dist}/nodes/ConnectWise/PSA/ConnectWisePsa.node.js +1 -1
- package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/version-check.js +1 -1
- package/package.json +48 -7
- /package/{dist-community → dist}/LICENSE.md +0 -0
- /package/{dist-community → dist}/credentials/connectwise.svg +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/connectwise.svg +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/descriptions/common.descriptions.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/descriptions/common.properties.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/descriptions/index.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/customFields.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/field-collector.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/field-conditions.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/index.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/logging.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/utils.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/methods/fieldOptions.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/methods/generated.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/methods/index.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/converter/index.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/converter/reference.generator.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/index.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/references.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/reports-descriptions.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/activity.schema.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/alert-consolidation.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/company.schema.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/contact.schema.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/custom.schema.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/index.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/members.schema.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/reports.schema.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/ticket.schema.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/ticketNote.schema.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/timeEntry.schema.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/static-fields.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/transformer.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/types/index.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/types/reference.types.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/types/resource.types.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/cache.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/client.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/index.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/operations.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/response-transformer.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWise/PSA/types/n8n-augmentation.d.js +0 -0
- /package/{dist-community → dist}/nodes/ConnectWisePsa.node.json +0 -0
|
@@ -117,7 +117,7 @@ class ConnectWisePsaApi {
|
|
|
117
117
|
name: "checkForUpdates",
|
|
118
118
|
type: "boolean",
|
|
119
119
|
default: !1,
|
|
120
|
-
hint: "Current version: 0.1.
|
|
120
|
+
hint: "Current version: 0.1.4 (community edition)",
|
|
121
121
|
description: "Check for new versions of this node package and show notifications when updates are available"
|
|
122
122
|
} ];
|
|
123
123
|
async authenticate(credentials, requestOptions) {
|
|
@@ -39,7 +39,7 @@ module.exports = __toCommonJS(version_check_exports);
|
|
|
39
39
|
|
|
40
40
|
var fs = __toESM(require("fs/promises")), path = __toESM(require("path")), os = __toESM(require("os")), import_common = require("../descriptions/common.descriptions");
|
|
41
41
|
|
|
42
|
-
const CACHE_FILE_PATH = path.join(os.tmpdir(), "connectwise-n8n-version-cache.json"), CURRENT_VERSION = "0.1.
|
|
42
|
+
const CACHE_FILE_PATH = path.join(os.tmpdir(), "connectwise-n8n-version-cache.json"), CURRENT_VERSION = "0.1.4";
|
|
43
43
|
|
|
44
44
|
let inMemoryCache = null, cacheLoadPromise = null, fetchInProgress = !1;
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mspcopilot/n8n-nodes-connectwise",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "n8n node to integrate with ConnectWise PSA",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package"
|
|
@@ -20,19 +20,60 @@
|
|
|
20
20
|
},
|
|
21
21
|
"main": "index.js",
|
|
22
22
|
"scripts": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
23
|
+
"build": "npm run build:free",
|
|
24
|
+
"build:free": "npx rimraf dist-free && node -e \"require('./esbuild/config').buildVersion('free')\"",
|
|
25
|
+
"build:pro": "npx rimraf dist-pro && node -e \"require('./esbuild/config').buildVersion('pro')\"",
|
|
26
|
+
"build:all": "npm run build:free && npm run build:pro",
|
|
27
|
+
"build:community": "npx rimraf dist-community && node -e \"require('./esbuild/config').buildVersion('community')\"",
|
|
28
|
+
"build:dev:free": "npx rimraf dist-free && NODE_ENV=development node -e \"require('./esbuild/config').buildVersion('free')\"",
|
|
29
|
+
"build:dev:pro": "npx rimraf dist-pro && NODE_ENV=development node -e \"require('./esbuild/config').buildVersion('pro')\"",
|
|
30
|
+
"build:dev:community": "npx rimraf dist-community && NODE_ENV=development node -e \"require('./esbuild/config').buildVersion('community')\"",
|
|
31
|
+
"build:tsc": "npx rimraf dist && tsc && gulp build:icons",
|
|
32
|
+
"link:free": "rm -rf dist && cp -r dist-free dist",
|
|
33
|
+
"link:pro": "rm -rf dist && cp -r dist-pro dist",
|
|
34
|
+
"link:community": "rm -rf dist && cp -r dist-community dist",
|
|
35
|
+
"dev": "tsc --watch",
|
|
36
|
+
"format": "prettier nodes credentials --write",
|
|
37
|
+
"lint": "eslint nodes credentials package.json",
|
|
38
|
+
"lintfix": "eslint nodes credentials package.json --fix",
|
|
39
|
+
"prepublishOnly": "npm run build",
|
|
40
|
+
"_prepublishOnly_with_lint": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json",
|
|
41
|
+
"test": "jest",
|
|
42
|
+
"test:watch": "jest --watch",
|
|
43
|
+
"test:coverage": "jest --coverage",
|
|
44
|
+
"test:integration": "jest --testPathPatterns=integration --runInBand --testTimeout=30000",
|
|
45
|
+
"test:integration:update": "UPDATE_FIXTURES=true npm run test:integration",
|
|
46
|
+
"test:unit": "jest --testPathPatterns=__tests__ --testPathIgnorePatterns=integration",
|
|
47
|
+
"publish:free": "node scripts/publish.js free",
|
|
48
|
+
"publish:community": "node scripts/publish.js community",
|
|
49
|
+
"publish:pro": "node scripts/publish.js pro",
|
|
50
|
+
"publish:both": "npm run publish:free && npm run publish:pro",
|
|
51
|
+
"publish:beta:free": "node scripts/publish.js free beta",
|
|
52
|
+
"publish:beta:pro": "node scripts/publish.js pro beta",
|
|
53
|
+
"publish:beta:both": "npm run publish:beta:free && npm run publish:beta:pro",
|
|
54
|
+
"bump:prerelease": "node scripts/bump-prerelease.js",
|
|
55
|
+
"release:test": "npm run bump:prerelease && npm run publish:beta:both",
|
|
56
|
+
"release:test:nocommit": "npm version prerelease --no-git-tag-version && npm run publish:beta:both",
|
|
57
|
+
"republish:free": "node scripts/republish.js free",
|
|
58
|
+
"republish:pro": "node scripts/republish.js pro",
|
|
59
|
+
"republish:both": "node scripts/republish.js free latest && node scripts/republish.js pro latest",
|
|
60
|
+
"republish:beta:both": "node scripts/republish.js free beta && node scripts/republish.js pro beta",
|
|
61
|
+
"package:free": "node scripts/package.js free",
|
|
62
|
+
"package:community": "node scripts/package.js community",
|
|
63
|
+
"package:pro": "node scripts/package.js pro",
|
|
64
|
+
"package:all": "node scripts/package.js all",
|
|
65
|
+
"publish:supabase": "node scripts/publish-to-supabase.js"
|
|
25
66
|
},
|
|
26
67
|
"files": [
|
|
27
|
-
"dist
|
|
68
|
+
"dist"
|
|
28
69
|
],
|
|
29
70
|
"n8n": {
|
|
30
71
|
"n8nNodesApiVersion": 1,
|
|
31
72
|
"credentials": [
|
|
32
|
-
"dist
|
|
73
|
+
"dist/credentials/ConnectWisePsaApi.credentials.js"
|
|
33
74
|
],
|
|
34
75
|
"nodes": [
|
|
35
|
-
"dist
|
|
76
|
+
"dist/nodes/ConnectWise/PSA/ConnectWisePsa.node.js"
|
|
36
77
|
]
|
|
37
78
|
},
|
|
38
79
|
"devDependencies": {
|
|
@@ -69,4 +110,4 @@
|
|
|
69
110
|
"registry": "https://registry.npmjs.org",
|
|
70
111
|
"access": "public"
|
|
71
112
|
}
|
|
72
|
-
}
|
|
113
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/converter/reference.generator.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/alert-consolidation.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/ticketNote.schema.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|