@mspcopilot/n8n-nodes-connectwise 0.2.1-beta.9 → 0.2.4-beta.1
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-beta/credentials/ConnectWisePsaApi.credentials.js +2 -2
- package/dist-beta/nodes/ConnectWise/PSA/ConnectWisePsa.node.js +1 -1
- package/dist-beta/nodes/ConnectWise/PSA/schema/resources/reports.schema.js +11 -1
- package/dist-beta/nodes/ConnectWise/PSA/transport/version-check.js +1 -1
- package/package.json +1 -1
|
@@ -117,10 +117,10 @@ class ConnectWisePsaApi {
|
|
|
117
117
|
name: "checkForUpdates",
|
|
118
118
|
type: "boolean",
|
|
119
119
|
default: !0,
|
|
120
|
-
hint: "Current version: 0.2.
|
|
120
|
+
hint: "Current version: 0.2.4-beta.1 (beta edition)",
|
|
121
121
|
description: "Check for new versions of this node package and show notifications when updates are available"
|
|
122
122
|
} ] : [], ...process.env.MSPCOPILOT_BETA === "true" ? [ {
|
|
123
|
-
displayName: "Current version: 0.2.
|
|
123
|
+
displayName: "Current version: 0.2.4-beta.1 (beta)",
|
|
124
124
|
name: "versionInfo",
|
|
125
125
|
type: "notice",
|
|
126
126
|
default: ""
|
|
@@ -85,7 +85,7 @@ const resources = {
|
|
|
85
85
|
|
|
86
86
|
class ConnectWisePsa {
|
|
87
87
|
constructor() {
|
|
88
|
-
console.log(`🔌 ConnectWise PSA Node Loaded | 📦 v0.2.
|
|
88
|
+
console.log(`🔌 ConnectWise PSA Node Loaded | 📦 v0.2.4-beta.1 | 🏗️ Build: ${"beta".toUpperCase()} (${"prod".toUpperCase()} mode)`);
|
|
89
89
|
}
|
|
90
90
|
description={
|
|
91
91
|
displayName: "ConnectWise PSA",
|
|
@@ -40,7 +40,7 @@ __export(reports_schema_exports, {
|
|
|
40
40
|
|
|
41
41
|
module.exports = __toCommonJS(reports_schema_exports);
|
|
42
42
|
|
|
43
|
-
var import_transport = require("../../transport"), import_utils = require("../../helpers/utils"), import_common = require("../../descriptions/common.properties");
|
|
43
|
+
var import_transport = require("../../transport"), import_utils = require("../../helpers/utils"), import_common = require("../../descriptions/common.properties"), import_common2 = require("../../descriptions/common.descriptions");
|
|
44
44
|
|
|
45
45
|
function transformReportData(columnDefinitions, rowValues) {
|
|
46
46
|
if (process.env.MSPCOPILOT_BETA !== "true") return [];
|
|
@@ -106,6 +106,16 @@ const reportsFields = [ {
|
|
|
106
106
|
action: "Get a report"
|
|
107
107
|
} ],
|
|
108
108
|
default: "getReport"
|
|
109
|
+
}, {
|
|
110
|
+
displayName: `Browse the <a href="https://${import_common2.DOCURL_PREFIX}/reports${import_common2.DOCURL_SUFFIX}" target="_blank">report list</a> to search all available reports and their columns.`,
|
|
111
|
+
name: "reportsNotice",
|
|
112
|
+
type: "notice",
|
|
113
|
+
default: "",
|
|
114
|
+
displayOptions: {
|
|
115
|
+
show: {
|
|
116
|
+
resource: [ "reports" ]
|
|
117
|
+
}
|
|
118
|
+
}
|
|
109
119
|
}, {
|
|
110
120
|
displayName: "Report Name",
|
|
111
121
|
name: "reportName",
|
|
@@ -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"), import_hint_collector = require("../helpers/hint-collector");
|
|
41
41
|
|
|
42
|
-
const CACHE_FILE_PATH = path.join(os.tmpdir(), "connectwise-n8n-version-cache.json"), CURRENT_VERSION = "0.2.
|
|
42
|
+
const CACHE_FILE_PATH = path.join(os.tmpdir(), "connectwise-n8n-version-cache.json"), CURRENT_VERSION = "0.2.4-beta.1";
|
|
43
43
|
|
|
44
44
|
let inMemoryCache = null, cacheLoadPromise = null, fetchInProgress = !1;
|
|
45
45
|
|