n8n-nodes-ancoremate 1.17.1 → 1.17.2

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.17.1"
69
+ "X-AncoreMate-Client": "n8n/1.17.2"
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
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.17.1';
7
+ const CLIENT = 'n8n/1.17.2';
8
8
  const EVENTS = {
9
9
  "whenAncoreShareReportFinished": {
10
10
  "path": "/v1/triggers/ancoreshare-report-finished",
@@ -68,10 +68,11 @@ function isEmpty(value) {
68
68
  function ancoreMateMessage(error) {
69
69
  var _a;
70
70
  const source = error;
71
+ const context = source === null || source === void 0 ? void 0 : source.context;
71
72
  const response = source === null || source === void 0 ? void 0 : source.response;
72
73
  const cause = source === null || source === void 0 ? void 0 : source.cause;
73
74
  const causeResponse = cause === null || cause === void 0 ? void 0 : cause.response;
74
- for (const candidate of [response === null || response === void 0 ? void 0 : response.data, response === null || response === void 0 ? void 0 : response.body, causeResponse === null || causeResponse === void 0 ? void 0 : causeResponse.data, causeResponse === null || causeResponse === void 0 ? void 0 : causeResponse.body, source === null || source === void 0 ? void 0 : source.description]) {
75
+ for (const candidate of [context === null || context === void 0 ? void 0 : context.data, response === null || response === void 0 ? void 0 : response.data, response === null || response === void 0 ? void 0 : response.body, causeResponse === null || causeResponse === void 0 ? void 0 : causeResponse.data, causeResponse === null || causeResponse === void 0 ? void 0 : causeResponse.body]) {
75
76
  let parsed = candidate;
76
77
  if (typeof candidate === 'string') {
77
78
  try {
@@ -86,7 +87,7 @@ function ancoreMateMessage(error) {
86
87
  return message;
87
88
  }
88
89
  }
89
- return undefined;
90
+ return typeof (source === null || source === void 0 ? void 0 : source.description) === 'string' && source.description.length > 0 ? source.description : undefined;
90
91
  }
91
92
  async function runOperations(operations, baseUrl, client) {
92
93
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
@@ -174,7 +175,9 @@ async function runOperations(operations, baseUrl, client) {
174
175
  const total = typeof (result === null || result === void 0 ? void 0 : result.totalRows) === 'number' ? result.totalRows : undefined;
175
176
  if ((result === null || result === void 0 ? void 0 : result.truncated) === true || (total !== undefined && total > entries.length)) {
176
177
  (_h = this.addExecutionHints) === null || _h === void 0 ? void 0 : _h.call(this, {
177
- message: `Only ${entries.length} of ${total !== null && total !== void 0 ? total : 'more'} entries were returned. Raise the limit, filter, or use Export chart data for large tables.`,
178
+ message: total !== undefined
179
+ ? `Only ${entries.length} of ${total} rows were returned. Raise the limit, or use Export chart data for large tables.`
180
+ : `Only the first ${entries.length} entries were returned; there are more. Raise the limit or filter the list.`,
178
181
  type: 'warning',
179
182
  location: 'outputPane',
180
183
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-ancoremate",
3
- "version": "1.17.1",
3
+ "version": "1.17.2",
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",