@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.
Files changed (47) hide show
  1. package/{dist-community → dist}/credentials/ConnectWisePsaApi.credentials.js +1 -1
  2. package/{dist-community → dist}/nodes/ConnectWise/PSA/ConnectWisePsa.node.js +1 -1
  3. package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/version-check.js +1 -1
  4. package/package.json +48 -7
  5. /package/{dist-community → dist}/LICENSE.md +0 -0
  6. /package/{dist-community → dist}/credentials/connectwise.svg +0 -0
  7. /package/{dist-community → dist}/nodes/ConnectWise/PSA/connectwise.svg +0 -0
  8. /package/{dist-community → dist}/nodes/ConnectWise/PSA/descriptions/common.descriptions.js +0 -0
  9. /package/{dist-community → dist}/nodes/ConnectWise/PSA/descriptions/common.properties.js +0 -0
  10. /package/{dist-community → dist}/nodes/ConnectWise/PSA/descriptions/index.js +0 -0
  11. /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/customFields.js +0 -0
  12. /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/field-collector.js +0 -0
  13. /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/field-conditions.js +0 -0
  14. /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/index.js +0 -0
  15. /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/logging.js +0 -0
  16. /package/{dist-community → dist}/nodes/ConnectWise/PSA/helpers/utils.js +0 -0
  17. /package/{dist-community → dist}/nodes/ConnectWise/PSA/methods/fieldOptions.js +0 -0
  18. /package/{dist-community → dist}/nodes/ConnectWise/PSA/methods/generated.js +0 -0
  19. /package/{dist-community → dist}/nodes/ConnectWise/PSA/methods/index.js +0 -0
  20. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/converter/index.js +0 -0
  21. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/converter/reference.generator.js +0 -0
  22. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/index.js +0 -0
  23. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/references.js +0 -0
  24. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/reports-descriptions.js +0 -0
  25. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/activity.schema.js +0 -0
  26. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/alert-consolidation.js +0 -0
  27. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/company.schema.js +0 -0
  28. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/contact.schema.js +0 -0
  29. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/custom.schema.js +0 -0
  30. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/index.js +0 -0
  31. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/members.schema.js +0 -0
  32. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/reports.schema.js +0 -0
  33. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/ticket.schema.js +0 -0
  34. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/ticketNote.schema.js +0 -0
  35. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/resources/timeEntry.schema.js +0 -0
  36. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/static-fields.js +0 -0
  37. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/transformer.js +0 -0
  38. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/types/index.js +0 -0
  39. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/types/reference.types.js +0 -0
  40. /package/{dist-community → dist}/nodes/ConnectWise/PSA/schema/types/resource.types.js +0 -0
  41. /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/cache.js +0 -0
  42. /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/client.js +0 -0
  43. /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/index.js +0 -0
  44. /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/operations.js +0 -0
  45. /package/{dist-community → dist}/nodes/ConnectWise/PSA/transport/response-transformer.js +0 -0
  46. /package/{dist-community → dist}/nodes/ConnectWise/PSA/types/n8n-augmentation.d.js +0 -0
  47. /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.2 (community edition)",
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) {
@@ -74,7 +74,7 @@ class ConnectWisePsa {
74
74
  }
75
75
  description={
76
76
  displayName: "ConnectWise PSA",
77
- name: "connectWisePsa",
77
+ name: "ConnectWisePsa",
78
78
  icon: "file:connectwise.svg",
79
79
  group: [ "transform" ],
80
80
  version: 1,
@@ -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.2";
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.2",
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
- "test": "echo 'Tests not included in published package'",
24
- "postinstall": "echo 'ConnectWise PSA node installed successfully'"
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-community"
68
+ "dist"
28
69
  ],
29
70
  "n8n": {
30
71
  "n8nNodesApiVersion": 1,
31
72
  "credentials": [
32
- "dist-community/credentials/ConnectWisePsaApi.credentials.js"
73
+ "dist/credentials/ConnectWisePsaApi.credentials.js"
33
74
  ],
34
75
  "nodes": [
35
- "dist-community/nodes/ConnectWise/PSA/ConnectWisePsa.node.js"
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