n8n-nodes-ancoremate 1.23.6 → 1.23.7

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.6"
69
+ "X-AncoreMate-Client": "n8n/1.23.7"
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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.6';
7
+ const CLIENT = 'n8n/1.23.7';
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;
352
+ var _a, _b;
353
353
  const query = { ...qs };
354
354
  for (const [name, parameter] of Object.entries(references)) {
355
355
  const value = this.getCurrentNodeParameter(parameter);
@@ -363,8 +363,14 @@ async function loadOptions(baseUrl, client, path, qs, references, collection, va
363
363
  query[name] = value;
364
364
  }
365
365
  }
366
- const response = (await request.call(this, client, 'GET', baseUrl + path, query)).body;
367
- const entries = ((_a = response === null || response === void 0 ? void 0 : response[collection]) !== null && _a !== void 0 ? _a : []);
366
+ let response;
367
+ try {
368
+ response = (await request.call(this, client, 'GET', baseUrl + path, query)).body;
369
+ }
370
+ catch (error) {
371
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), (_a = ancoreMateMessage(error)) !== null && _a !== void 0 ? _a : error.message);
372
+ }
373
+ const entries = ((_b = response === null || response === void 0 ? void 0 : response[collection]) !== null && _b !== void 0 ? _b : []);
368
374
  return entries
369
375
  .map((entry) => ({
370
376
  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.6",
3
+ "version": "1.23.7",
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",