n8n-nodes-ancoremate 1.22.0 → 1.23.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/README.md CHANGED
@@ -127,6 +127,7 @@ Reload Qlik Sense® apps in Qlik Cloud® and wait for the result, follow and can
127
127
  - **Reload log: List reload logs** – Lists the stored reload logs of an app.
128
128
  - **Reload task: List reload task runs** – Lists the runs of a reload task, newest first, with status and short log.
129
129
  - **Reload task: List reload tasks** – Lists the reload schedules, optionally of one app, with their next run.
130
+ - **Reload: List reload variable choices** – Lists the variables of an app for the reload variables; used for the dropdown.
130
131
  - **Reload: List reloads** – Lists the reloads of an app, newest first.
131
132
  - **Reload: Reload app** – Starts a reload of an app and returns the reload with its ID and status. If a full reload of the app is already waiting in the queue, that reload is returned, since it will load the latest data anyway. While another reload of the app is running, Qlik Cloud starts no new one; use Reload app and wait to wait for it.
132
133
  - **Reload: Reload app and wait** – Reloads an app and waits until the reload is finished; the result tells whether it succeeded. If the app is already reloading, If the app is already reloading decides what happens.
@@ -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.22.0"
69
+ "X-AncoreMate-Client": "n8n/1.23.1"
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
8
8
  const OPERATIONS = {
9
9
  "getQlikConnection": {
10
10
  "method": "GET",
@@ -5,6 +5,7 @@ export declare class AncoreMateReloads implements INodeType {
5
5
  loadOptions: {
6
6
  loadListAppChoicesResourceId(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
7
7
  loadListReloadTasksId(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
8
+ loadListReloadVariableChoicesName(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
8
9
  };
9
10
  };
10
11
  execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
@@ -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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
8
8
  const OPERATIONS = {
9
9
  "getQlikConnection": {
10
10
  "method": "GET",
@@ -300,7 +300,8 @@ const OPERATIONS = {
300
300
  {
301
301
  "name": "variables",
302
302
  "required": false,
303
- "json": true
303
+ "json": true,
304
+ "entries": true
304
305
  },
305
306
  {
306
307
  "name": "resourceId",
@@ -336,7 +337,8 @@ const OPERATIONS = {
336
337
  {
337
338
  "name": "variables",
338
339
  "required": false,
339
- "json": true
340
+ "json": true,
341
+ "entries": true
340
342
  },
341
343
  {
342
344
  "name": "failOnError",
@@ -1357,10 +1359,49 @@ class AncoreMateReloads {
1357
1359
  },
1358
1360
  {
1359
1361
  "displayName": "Variables",
1362
+ "name": "variablesUi",
1363
+ "type": "fixedCollection",
1364
+ "typeOptions": {
1365
+ "multipleValues": true
1366
+ },
1367
+ "placeholder": "Add Reload app variable",
1368
+ "default": {},
1369
+ "options": [
1370
+ {
1371
+ "displayName": "Reload app variable",
1372
+ "name": "entries",
1373
+ "values": [
1374
+ {
1375
+ "displayName": "Variable",
1376
+ "name": "name",
1377
+ "type": "options",
1378
+ "typeOptions": {
1379
+ "loadOptionsMethod": "loadListReloadVariableChoicesName",
1380
+ "loadOptionsDependsOn": [
1381
+ "appId"
1382
+ ]
1383
+ },
1384
+ "default": "",
1385
+ "description": "The variable of the app."
1386
+ },
1387
+ {
1388
+ "displayName": "Value",
1389
+ "name": "value",
1390
+ "type": "string",
1391
+ "default": "",
1392
+ "description": "The value for this reload, as text."
1393
+ }
1394
+ ]
1395
+ }
1396
+ ],
1397
+ "description": "Values for variables of the load script for this reload. Only variables the app has can be given, and the load script must not set them before it uses them."
1398
+ },
1399
+ {
1400
+ "displayName": "Variables (JSON)",
1360
1401
  "name": "variables",
1361
1402
  "type": "json",
1362
- "default": "{}",
1363
- "description": "The variables to be used in the load script."
1403
+ "default": "[]",
1404
+ "description": "Variables as JSON list, for example from a previous node; added to the variables above."
1364
1405
  },
1365
1406
  {
1366
1407
  "displayName": "Resource ID",
@@ -1443,10 +1484,49 @@ class AncoreMateReloads {
1443
1484
  },
1444
1485
  {
1445
1486
  "displayName": "Variables",
1487
+ "name": "variablesUi",
1488
+ "type": "fixedCollection",
1489
+ "typeOptions": {
1490
+ "multipleValues": true
1491
+ },
1492
+ "placeholder": "Add Reload variable",
1493
+ "default": {},
1494
+ "options": [
1495
+ {
1496
+ "displayName": "Reload variable",
1497
+ "name": "entries",
1498
+ "values": [
1499
+ {
1500
+ "displayName": "Variable",
1501
+ "name": "name",
1502
+ "type": "options",
1503
+ "typeOptions": {
1504
+ "loadOptionsMethod": "loadListReloadVariableChoicesName",
1505
+ "loadOptionsDependsOn": [
1506
+ "appId"
1507
+ ]
1508
+ },
1509
+ "default": "",
1510
+ "description": "The variable of the app."
1511
+ },
1512
+ {
1513
+ "displayName": "Value",
1514
+ "name": "value",
1515
+ "type": "string",
1516
+ "default": "",
1517
+ "description": "The value for this reload, as text."
1518
+ }
1519
+ ]
1520
+ }
1521
+ ],
1522
+ "description": "Values for variables of the load script for this reload. Only variables the app has can be given, and the load script must not set them before it uses them."
1523
+ },
1524
+ {
1525
+ "displayName": "Variables (JSON)",
1446
1526
  "name": "variables",
1447
1527
  "type": "json",
1448
- "default": "{}",
1449
- "description": "Values for variables of the load script, for example {\"vYear\": \"2025\"}."
1528
+ "default": "[]",
1529
+ "description": "Variables as JSON list, for example from a previous node; added to the variables above."
1450
1530
  },
1451
1531
  {
1452
1532
  "displayName": "Fail when the reload fails",
@@ -1667,6 +1747,9 @@ class AncoreMateReloads {
1667
1747
  async loadListReloadTasksId() {
1668
1748
  return runtime_1.loadOptions.call(this, BASE_URL, CLIENT, '/v1/reload-tasks', { "limit": 1000 }, {}, 'value', 'id', 'name');
1669
1749
  },
1750
+ async loadListReloadVariableChoicesName() {
1751
+ return runtime_1.loadOptions.call(this, BASE_URL, CLIENT, '/v1/apps/{appId}/reload-variables', {}, { "appId": "appId" }, 'value', 'name', 'title');
1752
+ },
1670
1753
  },
1671
1754
  };
1672
1755
  }
@@ -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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
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.22.0';
7
+ const CLIENT = 'n8n/1.23.1';
8
8
  const EVENTS = {
9
9
  "whenAncoreShareReportFinished": {
10
10
  "path": "/v1/triggers/ancoreshare-report-finished",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-ancoremate",
3
- "version": "1.22.0",
3
+ "version": "1.23.1",
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",