n8n-nodes-ancoremate 1.23.7 → 1.23.8

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.
@@ -66,7 +66,7 @@ class AncoreMateOAuth2Api {
66
66
  "baseURL": "https://ancorecloud.com/ancoremate",
67
67
  "url": "/v1/connection",
68
68
  "headers": {
69
- "X-AncoreMate-Client": "n8n/1.23.7"
69
+ "X-AncoreMate-Client": "n8n/1.23.8"
70
70
  }
71
71
  }
72
72
  };
@@ -4,7 +4,7 @@ exports.AncoreMateAppData = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const OPERATIONS = {
9
9
  "createBookmark": {
10
10
  "method": "POST",
@@ -4,7 +4,7 @@ exports.AncoreMateApps = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const OPERATIONS = {
9
9
  "changeAppOwner": {
10
10
  "method": "PUT",
@@ -4,7 +4,7 @@ exports.AncoreMateAppsTrigger = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const EVENTS = {
9
9
  "whenAppCreated": {
10
10
  "path": "/v1/triggers/app-created",
@@ -4,7 +4,7 @@ exports.AncoreMateAutomations = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const OPERATIONS = {
9
9
  "copyAutomation": {
10
10
  "method": "POST",
@@ -4,7 +4,7 @@ exports.AncoreMateAutomationsTrigger = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const EVENTS = {
9
9
  "whenAutomationCreated": {
10
10
  "path": "/v1/triggers/automation-created",
@@ -4,7 +4,7 @@ exports.AncoreMateCatalog = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const OPERATIONS = {
9
9
  "changeGlossaryTermStatus": {
10
10
  "method": "PUT",
@@ -4,7 +4,7 @@ exports.AncoreMateContent = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const OPERATIONS = {
9
9
  "getQlikConnection": {
10
10
  "method": "GET",
@@ -4,7 +4,7 @@ exports.AncoreMateReloads = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const OPERATIONS = {
9
9
  "getQlikConnection": {
10
10
  "method": "GET",
@@ -4,7 +4,7 @@ exports.AncoreMateReloadsTrigger = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const EVENTS = {
9
9
  "whenAppReloadFinished": {
10
10
  "path": "/v1/triggers/app-reload-finished",
@@ -4,7 +4,7 @@ exports.AncoreMateSpacesAndAccess = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const OPERATIONS = {
9
9
  "addSpaceMember": {
10
10
  "method": "POST",
@@ -4,7 +4,7 @@ exports.AncoreShare = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const OPERATIONS = {
9
9
  "downloadAncoreShareFile": {
10
10
  "method": "POST",
@@ -4,7 +4,7 @@ exports.AncoreShareTrigger = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.23.7';
7
+ const CLIENT = 'n8n/1.23.8';
8
8
  const EVENTS = {
9
9
  "whenAncoreShareReportFinished": {
10
10
  "path": "/v1/triggers/ancoreshare-report-finished",
@@ -349,7 +349,7 @@ async function deleteSubscription(baseUrl, client) {
349
349
  return true;
350
350
  }
351
351
  async function loadOptions(baseUrl, client, path, qs, references, collection, valuePath, titlePath) {
352
- var _a, _b;
352
+ var _a;
353
353
  const query = { ...qs };
354
354
  for (const [name, parameter] of Object.entries(references)) {
355
355
  const value = this.getCurrentNodeParameter(parameter);
@@ -368,9 +368,13 @@ async function loadOptions(baseUrl, client, path, qs, references, collection, va
368
368
  response = (await request.call(this, client, 'GET', baseUrl + path, query)).body;
369
369
  }
370
370
  catch (error) {
371
- throw new n8n_workflow_1.NodeOperationError(this.getNode(), (_a = ancoreMateMessage(error)) !== null && _a !== void 0 ? _a : error.message);
371
+ const message = ancoreMateMessage(error);
372
+ if (message !== undefined) {
373
+ return [{ name: message, value: '' }];
374
+ }
375
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error.message);
372
376
  }
373
- const entries = ((_b = response === null || response === void 0 ? void 0 : response[collection]) !== null && _b !== void 0 ? _b : []);
377
+ const entries = ((_a = response === null || response === void 0 ? void 0 : response[collection]) !== null && _a !== void 0 ? _a : []);
374
378
  return entries
375
379
  .map((entry) => ({
376
380
  name: titlePath === valuePath || String(entry[titlePath]).includes(String(entry[valuePath]))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-ancoremate",
3
- "version": "1.23.7",
3
+ "version": "1.23.8",
4
4
  "description": "n8n nodes for Qlik Cloud® automation by ancoreSoft. Qlik®, Qlik Cloud® and Qlik Sense® are trademarks of QlikTech International AB. ancoreMate is not affiliated with or endorsed by Qlik.",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",