n8n-nodes-ancoremate 1.6.0 → 1.7.0

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.
Files changed (33) hide show
  1. package/README.md +29 -0
  2. package/dist/credentials/AncoreMateOAuth2Api.credentials.js +1 -1
  3. package/dist/nodes/AncoreMateAdministration/AncoreMateAdministration.node.js +1 -1
  4. package/dist/nodes/AncoreMateAdministrationTrigger/AncoreMateAdministrationTrigger.node.d.ts +15 -0
  5. package/dist/nodes/AncoreMateAdministrationTrigger/AncoreMateAdministrationTrigger.node.js +112 -0
  6. package/dist/nodes/AncoreMateAdministrationTrigger/AncoreMateAdministrationTrigger.node.json +21 -0
  7. package/dist/nodes/AncoreMateAdministrationTrigger/ancoremate.svg +7 -0
  8. package/dist/nodes/AncoreMateAppData/AncoreMateAppData.node.js +1 -1
  9. package/dist/nodes/AncoreMateApps/AncoreMateApps.node.js +1 -1
  10. package/dist/nodes/AncoreMateAppsTrigger/AncoreMateAppsTrigger.node.d.ts +17 -0
  11. package/dist/nodes/AncoreMateAppsTrigger/AncoreMateAppsTrigger.node.js +277 -0
  12. package/dist/nodes/AncoreMateAppsTrigger/AncoreMateAppsTrigger.node.json +21 -0
  13. package/dist/nodes/AncoreMateAppsTrigger/ancoremate.svg +7 -0
  14. package/dist/nodes/AncoreMateAutomations/AncoreMateAutomations.node.js +1 -1
  15. package/dist/nodes/AncoreMateAutomationsTrigger/AncoreMateAutomationsTrigger.node.d.ts +17 -0
  16. package/dist/nodes/AncoreMateAutomationsTrigger/AncoreMateAutomationsTrigger.node.js +320 -0
  17. package/dist/nodes/AncoreMateAutomationsTrigger/AncoreMateAutomationsTrigger.node.json +21 -0
  18. package/dist/nodes/AncoreMateAutomationsTrigger/ancoremate.svg +7 -0
  19. package/dist/nodes/AncoreMateCatalog/AncoreMateCatalog.node.js +1 -1
  20. package/dist/nodes/AncoreMateCatalogTrigger/AncoreMateCatalogTrigger.node.d.ts +15 -0
  21. package/dist/nodes/AncoreMateCatalogTrigger/AncoreMateCatalogTrigger.node.js +176 -0
  22. package/dist/nodes/AncoreMateCatalogTrigger/AncoreMateCatalogTrigger.node.json +21 -0
  23. package/dist/nodes/AncoreMateCatalogTrigger/ancoremate.svg +7 -0
  24. package/dist/nodes/AncoreMateContent/AncoreMateContent.node.js +1 -1
  25. package/dist/nodes/AncoreMateReloads/AncoreMateReloads.node.js +1 -1
  26. package/dist/nodes/AncoreMateReloadsTrigger/AncoreMateReloadsTrigger.node.d.ts +17 -0
  27. package/dist/nodes/AncoreMateReloadsTrigger/AncoreMateReloadsTrigger.node.js +191 -0
  28. package/dist/nodes/AncoreMateReloadsTrigger/AncoreMateReloadsTrigger.node.json +21 -0
  29. package/dist/nodes/AncoreMateReloadsTrigger/ancoremate.svg +7 -0
  30. package/dist/nodes/AncoreMateSpacesAndAccess/AncoreMateSpacesAndAccess.node.js +1 -1
  31. package/dist/nodes/shared/runtime.d.ts +7 -1
  32. package/dist/nodes/shared/runtime.js +32 -0
  33. package/package.json +7 -2
package/README.md CHANGED
@@ -66,6 +66,12 @@ ancoreMate Apps manages the Qlik Sense® apps of your Qlik Cloud tenant from you
66
66
  - **Connection: Get Qlik connection** – Returns whether ancoreMate is connected to a Qlik Cloud tenant, and to which tenant and Qlik user.
67
67
  - **Request: Send Qlik Cloud request** – Calls any REST API of your Qlik Cloud tenant below /api/v1/ with the connected user's rights, for operations that have no action of their own.
68
68
  - **App: List app choices** – Lists the apps the connected Qlik Cloud user can open, for selecting an app in other actions.
69
+ - **Trigger: Delete trigger subscription** – Turns a trigger off and deletes its webhook in Qlik Cloud.
70
+ - **App: When an app is created** – Starts when an app is created.
71
+ - **App: When the data model of an app changes** – Starts when the data model of an app is updated, for example by a reload with changed tables.
72
+ - **App: When an app is deleted** – Starts when an app is deleted. Requires the tenant admin role in Qlik Cloud.
73
+ - **App: When an app is exported** – Starts when an app is exported.
74
+ - **App: When an app is published** – Starts when an app is published to a managed space.
69
75
 
70
76
  ### ancoreMate Reloads
71
77
 
@@ -90,6 +96,9 @@ ancoreMate Reloads starts and monitors reloads of your Qlik Sense® apps in Qlik
90
96
  - **Reload task: Update reload task** – Replaces the schedule and settings of a reload task.
91
97
  - **Reload: Wait for reloads** – Waits until the given reloads, for example started in parallel, are finished.
92
98
  - **App: List app choices** – Lists the apps the connected Qlik Cloud user can open, for selecting an app in other actions.
99
+ - **Trigger: Delete trigger subscription** – Turns a trigger off and deletes its webhook in Qlik Cloud.
100
+ - **Reload: When an app reload finishes** – Starts when a reload of an app finishes, successfully or with an error.
101
+ - **Reload: When a reload task finishes** – Starts when a scheduled reload task finishes.
93
102
 
94
103
  ### ancoreMate App Data
95
104
 
@@ -141,6 +150,7 @@ ancoreMate App Data reads data from your Qlik Sense® apps in Qlik Cloud with yo
141
150
  - **Connection: Get Qlik connection** – Returns whether ancoreMate is connected to a Qlik Cloud tenant, and to which tenant and Qlik user.
142
151
  - **Request: Send Qlik Cloud request** – Calls any REST API of your Qlik Cloud tenant below /api/v1/ with the connected user's rights, for operations that have no action of their own.
143
152
  - **App: List app choices** – Lists the apps the connected Qlik Cloud user can open, for selecting an app in other actions.
153
+ - **Trigger: Delete trigger subscription** – Turns a trigger off and deletes its webhook in Qlik Cloud.
144
154
 
145
155
  ### ancoreMate Spaces and Access
146
156
 
@@ -189,6 +199,7 @@ ancoreMate Spaces and Access manages spaces, members, users, groups, roles and l
189
199
  - **Connection: Get Qlik connection** – Returns whether ancoreMate is connected to a Qlik Cloud tenant, and to which tenant and Qlik user.
190
200
  - **Request: Send Qlik Cloud request** – Calls any REST API of your Qlik Cloud tenant below /api/v1/ with the connected user's rights, for operations that have no action of their own.
191
201
  - **App: List app choices** – Lists the apps the connected Qlik Cloud user can open, for selecting an app in other actions.
202
+ - **Trigger: Delete trigger subscription** – Turns a trigger off and deletes its webhook in Qlik Cloud.
192
203
 
193
204
  ### ancoreMate Content
194
205
 
@@ -220,6 +231,7 @@ ancoreMate Content works with the items, data files, data connections and write
220
231
  - **Data connection: Update data connection** – Replaces the settings of a data connection.
221
232
  - **Data file: Upload data file** – Uploads a data file, for example CSV or Excel, into a space or the personal space; with a data file ID the existing file is replaced. Files up to 30 MB can be sent and files up to 50 MB returned.
222
233
  - **App: List app choices** – Lists the apps the connected Qlik Cloud user can open, for selecting an app in other actions.
234
+ - **Trigger: Delete trigger subscription** – Turns a trigger off and deletes its webhook in Qlik Cloud.
223
235
 
224
236
  ### ancoreMate Catalog
225
237
 
@@ -261,6 +273,11 @@ ancoreMate Catalog manages the data catalog and business glossaries of your Qlik
261
273
  - **Connection: Get Qlik connection** – Returns whether ancoreMate is connected to a Qlik Cloud tenant, and to which tenant and Qlik user.
262
274
  - **Request: Send Qlik Cloud request** – Calls any REST API of your Qlik Cloud tenant below /api/v1/ with the connected user's rights, for operations that have no action of their own.
263
275
  - **App: List app choices** – Lists the apps the connected Qlik Cloud user can open, for selecting an app in other actions.
276
+ - **Trigger: Delete trigger subscription** – Turns a trigger off and deletes its webhook in Qlik Cloud.
277
+ - **Data integration task: When a data integration task completes** – Starts when a task of a data integration project completes.
278
+ - **Data integration task: When a data integration task fails** – Starts when a task of a data integration project fails.
279
+ - **Data integration task: When a data integration task starts** – Starts when a task of a data integration project starts.
280
+ - **Data integration task: When a data integration task is stopped** – Starts when a task of a data integration project is stopped.
264
281
 
265
282
  ### ancoreMate Administration
266
283
 
@@ -296,6 +313,11 @@ ancoreMate Administration manages the settings of your Qlik Cloud® tenant from
296
313
  - **Connection: Get Qlik connection** – Returns whether ancoreMate is connected to a Qlik Cloud tenant, and to which tenant and Qlik user.
297
314
  - **Request: Send Qlik Cloud request** – Calls any REST API of your Qlik Cloud tenant below /api/v1/ with the connected user's rights, for operations that have no action of their own.
298
315
  - **App: List app choices** – Lists the apps the connected Qlik Cloud user can open, for selecting an app in other actions.
316
+ - **Trigger: Delete trigger subscription** – Turns a trigger off and deletes its webhook in Qlik Cloud.
317
+ - **API key: When an API key is rejected** – Starts when Qlik Cloud rejects an API key, for example an expired or revoked one. Requires the tenant admin role in Qlik Cloud.
318
+ - **Task: When a scheduled task changes** – Starts when a scheduled task of the tenant is changed. Requires the tenant admin role in Qlik Cloud.
319
+ - **User: When a user is created** – Starts when a user is added to the tenant. Requires the tenant admin role in Qlik Cloud.
320
+ - **User: When a user is deleted** – Starts when a user is removed from the tenant. Requires the tenant admin role in Qlik Cloud.
299
321
 
300
322
  ### ancoreMate Automations
301
323
 
@@ -327,6 +349,13 @@ ancoreMate Automations manages the automations of Qlik Cloud® Qlik Automate, th
327
349
  - **Connection: Get Qlik connection** – Returns whether ancoreMate is connected to a Qlik Cloud tenant, and to which tenant and Qlik user.
328
350
  - **Request: Send Qlik Cloud request** – Calls any REST API of your Qlik Cloud tenant below /api/v1/ with the connected user's rights, for operations that have no action of their own.
329
351
  - **App: List app choices** – Lists the apps the connected Qlik Cloud user can open, for selecting an app in other actions.
352
+ - **Trigger: Delete trigger subscription** – Turns a trigger off and deletes its webhook in Qlik Cloud.
353
+ - **Automation: When an automation is created** – Starts when an automation is created.
354
+ - **Automation: When an automation is deleted** – Starts when an automation is deleted.
355
+ - **Automation run: When an automation run ends** – Starts when a run of an automation ends.
356
+ - **Automation run: When an automation run fails** – Starts when a run of an automation fails.
357
+ - **Automation run: When an automation run starts** – Starts when a run of an automation starts.
358
+ - **Automation: When an automation is updated** – Starts when an automation is changed.
330
359
 
331
360
  ## Requirements
332
361
 
@@ -63,7 +63,7 @@ class AncoreMateOAuth2Api {
63
63
  "baseURL": "https://ancorecloud.com/ancoremate",
64
64
  "url": "/v1/connection",
65
65
  "headers": {
66
- "X-AncoreMate-Client": "n8n/1.6.0"
66
+ "X-AncoreMate-Client": "n8n/1.7.0"
67
67
  }
68
68
  }
69
69
  };
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AncoreMateAdministration = void 0;
4
4
  const runtime_1 = require("../shared/runtime");
5
5
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
6
- const CLIENT = 'n8n/1.6.0';
6
+ const CLIENT = 'n8n/1.7.0';
7
7
  const OPERATIONS = {
8
8
  "createIpPolicy": {
9
9
  "method": "POST",
@@ -0,0 +1,15 @@
1
+ import type { IHookFunctions, INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData } from 'n8n-workflow';
2
+ export declare class AncoreMateAdministrationTrigger implements INodeType {
3
+ description: INodeTypeDescription;
4
+ methods: {
5
+ loadOptions: {};
6
+ };
7
+ webhookMethods: {
8
+ default: {
9
+ checkExists(this: IHookFunctions): Promise<boolean>;
10
+ create(this: IHookFunctions): Promise<boolean>;
11
+ delete(this: IHookFunctions): Promise<boolean>;
12
+ };
13
+ };
14
+ webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
15
+ }
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AncoreMateAdministrationTrigger = void 0;
4
+ const runtime_1 = require("../shared/runtime");
5
+ const BASE_URL = 'https://ancorecloud.com/ancoremate';
6
+ const CLIENT = 'n8n/1.7.0';
7
+ const EVENTS = {
8
+ "whenApiKeyValidationFailed": {
9
+ "path": "/v1/triggers/api-key-validation-failed",
10
+ "query": []
11
+ },
12
+ "whenSchedulingTaskUpdated": {
13
+ "path": "/v1/triggers/scheduling-task-updated",
14
+ "query": []
15
+ },
16
+ "whenUserCreated": {
17
+ "path": "/v1/triggers/user-created",
18
+ "query": []
19
+ },
20
+ "whenUserDeleted": {
21
+ "path": "/v1/triggers/user-deleted",
22
+ "query": []
23
+ }
24
+ };
25
+ class AncoreMateAdministrationTrigger {
26
+ constructor() {
27
+ this.description = {
28
+ "displayName": "ancoreMate Administration Trigger",
29
+ "name": "ancoreMateAdministrationTrigger",
30
+ "icon": "file:ancoremate.svg",
31
+ "group": [
32
+ "trigger"
33
+ ],
34
+ "version": 1,
35
+ "subtitle": "={{$parameter[\"event\"]}}",
36
+ "description": "Starts the workflow when an event happens in Qlik Cloud®. ancoreMate Administration manages the settings of your Qlik Cloud® tenant from your workflows: tenant banner, IP policies, pinned links, on-demand app settings and encryption key providers.",
37
+ "defaults": {
38
+ "name": "ancoreMate Administration Trigger"
39
+ },
40
+ "inputs": [],
41
+ "outputs": [
42
+ "main"
43
+ ],
44
+ "credentials": [
45
+ {
46
+ "name": "ancoreMateOAuth2Api",
47
+ "required": true
48
+ }
49
+ ],
50
+ "webhooks": [
51
+ {
52
+ "name": "default",
53
+ "httpMethod": "POST",
54
+ "responseMode": "onReceived",
55
+ "path": "webhook"
56
+ }
57
+ ],
58
+ "properties": [
59
+ {
60
+ "displayName": "Event",
61
+ "name": "event",
62
+ "type": "options",
63
+ "noDataExpression": true,
64
+ "required": true,
65
+ "options": [
66
+ {
67
+ "name": "When a scheduled task changes",
68
+ "value": "whenSchedulingTaskUpdated",
69
+ "description": "Starts when a scheduled task of the tenant is changed. Requires the tenant admin role in Qlik Cloud."
70
+ },
71
+ {
72
+ "name": "When a user is created",
73
+ "value": "whenUserCreated",
74
+ "description": "Starts when a user is added to the tenant. Requires the tenant admin role in Qlik Cloud."
75
+ },
76
+ {
77
+ "name": "When a user is deleted",
78
+ "value": "whenUserDeleted",
79
+ "description": "Starts when a user is removed from the tenant. Requires the tenant admin role in Qlik Cloud."
80
+ },
81
+ {
82
+ "name": "When an API key is rejected",
83
+ "value": "whenApiKeyValidationFailed",
84
+ "description": "Starts when Qlik Cloud rejects an API key, for example an expired or revoked one. Requires the tenant admin role in Qlik Cloud."
85
+ }
86
+ ],
87
+ "default": "whenSchedulingTaskUpdated"
88
+ }
89
+ ]
90
+ };
91
+ this.methods = {
92
+ loadOptions: {},
93
+ };
94
+ this.webhookMethods = {
95
+ default: {
96
+ async checkExists() {
97
+ return typeof this.getWorkflowStaticData('node').subscriptionUrl === 'string';
98
+ },
99
+ async create() {
100
+ return runtime_1.createSubscription.call(this, EVENTS, BASE_URL, CLIENT);
101
+ },
102
+ async delete() {
103
+ return runtime_1.deleteSubscription.call(this, BASE_URL, CLIENT);
104
+ },
105
+ },
106
+ };
107
+ }
108
+ async webhook() {
109
+ return { workflowData: [this.helpers.returnJsonArray(this.getBodyData())] };
110
+ }
111
+ }
112
+ exports.AncoreMateAdministrationTrigger = AncoreMateAdministrationTrigger;
@@ -0,0 +1,21 @@
1
+ {
2
+ "node": "n8n-nodes-ancoremate.ancoreMateAdministrationTrigger",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": [
6
+ "Analytics",
7
+ "Data & Storage"
8
+ ],
9
+ "resources": {
10
+ "credentialDocumentation": [
11
+ {
12
+ "url": "https://ancorecloud.com/"
13
+ }
14
+ ],
15
+ "primaryDocumentation": [
16
+ {
17
+ "url": "https://ancorecloud.com/"
18
+ }
19
+ ]
20
+ }
21
+ }
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" aria-label="ancoreMate">
2
+ <g fill="#2972ff">
3
+ <polygon points="216.5,99.1 216.5,184.2 302.3,184.2 388.1,99.1 388.1,13.9 302.3,13.9"/>
4
+ <polygon points="98.4,184.3 184.2,184.3 184.2,99.2 98.4,14 12.7,14 12.7,99.1"/>
5
+ <polygon points="302.3,385.8 388.1,385.8 388.1,300.7 302.3,215.6 216.5,215.6 216.5,300.7"/>
6
+ </g>
7
+ </svg>
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AncoreMateAppData = void 0;
4
4
  const runtime_1 = require("../shared/runtime");
5
5
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
6
- const CLIENT = 'n8n/1.6.0';
6
+ const CLIENT = 'n8n/1.7.0';
7
7
  const OPERATIONS = {
8
8
  "createBookmark": {
9
9
  "method": "POST",
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AncoreMateApps = void 0;
4
4
  const runtime_1 = require("../shared/runtime");
5
5
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
6
- const CLIENT = 'n8n/1.6.0';
6
+ const CLIENT = 'n8n/1.7.0';
7
7
  const OPERATIONS = {
8
8
  "changeAppOwner": {
9
9
  "method": "PUT",
@@ -0,0 +1,17 @@
1
+ import type { IHookFunctions, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData } from 'n8n-workflow';
2
+ export declare class AncoreMateAppsTrigger implements INodeType {
3
+ description: INodeTypeDescription;
4
+ methods: {
5
+ loadOptions: {
6
+ loadGetAppsId(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
7
+ };
8
+ };
9
+ webhookMethods: {
10
+ default: {
11
+ checkExists(this: IHookFunctions): Promise<boolean>;
12
+ create(this: IHookFunctions): Promise<boolean>;
13
+ delete(this: IHookFunctions): Promise<boolean>;
14
+ };
15
+ };
16
+ webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
17
+ }
@@ -0,0 +1,277 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AncoreMateAppsTrigger = void 0;
4
+ const runtime_1 = require("../shared/runtime");
5
+ const BASE_URL = 'https://ancorecloud.com/ancoremate';
6
+ const CLIENT = 'n8n/1.7.0';
7
+ const EVENTS = {
8
+ "whenAppCreated": {
9
+ "path": "/v1/triggers/app-created",
10
+ "query": [
11
+ "spaceId"
12
+ ]
13
+ },
14
+ "whenAppDataUpdated": {
15
+ "path": "/v1/triggers/app-data-updated",
16
+ "query": [
17
+ "appId",
18
+ "spaceId"
19
+ ]
20
+ },
21
+ "whenAppDeleted": {
22
+ "path": "/v1/triggers/app-deleted",
23
+ "query": [
24
+ "appId",
25
+ "spaceId"
26
+ ]
27
+ },
28
+ "whenAppExported": {
29
+ "path": "/v1/triggers/app-exported",
30
+ "query": [
31
+ "appId",
32
+ "spaceId"
33
+ ]
34
+ },
35
+ "whenAppPublished": {
36
+ "path": "/v1/triggers/app-published",
37
+ "query": [
38
+ "appId",
39
+ "spaceId"
40
+ ]
41
+ }
42
+ };
43
+ class AncoreMateAppsTrigger {
44
+ constructor() {
45
+ this.description = {
46
+ "displayName": "ancoreMate Apps Trigger",
47
+ "name": "ancoreMateAppsTrigger",
48
+ "icon": "file:ancoremate.svg",
49
+ "group": [
50
+ "trigger"
51
+ ],
52
+ "version": 1,
53
+ "subtitle": "={{$parameter[\"event\"]}}",
54
+ "description": "Starts the workflow when an event happens in Qlik Cloud®. ancoreMate Apps manages the Qlik Sense® apps of your Qlik Cloud tenant from your workflows: create, copy, publish, export and import apps, maintain scripts and evaluate their performance.",
55
+ "defaults": {
56
+ "name": "ancoreMate Apps Trigger"
57
+ },
58
+ "inputs": [],
59
+ "outputs": [
60
+ "main"
61
+ ],
62
+ "credentials": [
63
+ {
64
+ "name": "ancoreMateOAuth2Api",
65
+ "required": true
66
+ }
67
+ ],
68
+ "webhooks": [
69
+ {
70
+ "name": "default",
71
+ "httpMethod": "POST",
72
+ "responseMode": "onReceived",
73
+ "path": "webhook"
74
+ }
75
+ ],
76
+ "properties": [
77
+ {
78
+ "displayName": "Event",
79
+ "name": "event",
80
+ "type": "options",
81
+ "noDataExpression": true,
82
+ "required": true,
83
+ "options": [
84
+ {
85
+ "name": "When an app is created",
86
+ "value": "whenAppCreated",
87
+ "description": "Starts when an app is created."
88
+ },
89
+ {
90
+ "name": "When an app is deleted",
91
+ "value": "whenAppDeleted",
92
+ "description": "Starts when an app is deleted. Requires the tenant admin role in Qlik Cloud."
93
+ },
94
+ {
95
+ "name": "When an app is exported",
96
+ "value": "whenAppExported",
97
+ "description": "Starts when an app is exported."
98
+ },
99
+ {
100
+ "name": "When an app is published",
101
+ "value": "whenAppPublished",
102
+ "description": "Starts when an app is published to a managed space."
103
+ },
104
+ {
105
+ "name": "When the data model of an app changes",
106
+ "value": "whenAppDataUpdated",
107
+ "description": "Starts when the data model of an app is updated, for example by a reload with changed tables."
108
+ }
109
+ ],
110
+ "default": "whenAppCreated"
111
+ },
112
+ {
113
+ "displayName": "Space ID",
114
+ "name": "spaceId",
115
+ "type": "string",
116
+ "default": "",
117
+ "displayOptions": {
118
+ "show": {
119
+ "event": [
120
+ "whenAppCreated"
121
+ ]
122
+ }
123
+ },
124
+ "description": "Only events in this space. Leave empty for all spaces."
125
+ },
126
+ {
127
+ "displayName": "App",
128
+ "name": "appId",
129
+ "type": "options",
130
+ "typeOptions": {
131
+ "loadOptionsMethod": "loadGetAppsId"
132
+ },
133
+ "default": "",
134
+ "displayOptions": {
135
+ "show": {
136
+ "event": [
137
+ "whenAppDeleted"
138
+ ]
139
+ }
140
+ },
141
+ "description": "Only events of this app. Leave empty for all apps."
142
+ },
143
+ {
144
+ "displayName": "Space ID",
145
+ "name": "spaceId",
146
+ "type": "string",
147
+ "default": "",
148
+ "displayOptions": {
149
+ "show": {
150
+ "event": [
151
+ "whenAppDeleted"
152
+ ]
153
+ }
154
+ },
155
+ "description": "Only events in this space. Leave empty for all spaces."
156
+ },
157
+ {
158
+ "displayName": "App",
159
+ "name": "appId",
160
+ "type": "options",
161
+ "typeOptions": {
162
+ "loadOptionsMethod": "loadGetAppsId"
163
+ },
164
+ "default": "",
165
+ "displayOptions": {
166
+ "show": {
167
+ "event": [
168
+ "whenAppExported"
169
+ ]
170
+ }
171
+ },
172
+ "description": "Only events of this app. Leave empty for all apps."
173
+ },
174
+ {
175
+ "displayName": "Space ID",
176
+ "name": "spaceId",
177
+ "type": "string",
178
+ "default": "",
179
+ "displayOptions": {
180
+ "show": {
181
+ "event": [
182
+ "whenAppExported"
183
+ ]
184
+ }
185
+ },
186
+ "description": "Only events in this space. Leave empty for all spaces."
187
+ },
188
+ {
189
+ "displayName": "App",
190
+ "name": "appId",
191
+ "type": "options",
192
+ "typeOptions": {
193
+ "loadOptionsMethod": "loadGetAppsId"
194
+ },
195
+ "default": "",
196
+ "displayOptions": {
197
+ "show": {
198
+ "event": [
199
+ "whenAppPublished"
200
+ ]
201
+ }
202
+ },
203
+ "description": "Only events of this app. Leave empty for all apps."
204
+ },
205
+ {
206
+ "displayName": "Space ID",
207
+ "name": "spaceId",
208
+ "type": "string",
209
+ "default": "",
210
+ "displayOptions": {
211
+ "show": {
212
+ "event": [
213
+ "whenAppPublished"
214
+ ]
215
+ }
216
+ },
217
+ "description": "Only events in this space. Leave empty for all spaces."
218
+ },
219
+ {
220
+ "displayName": "App",
221
+ "name": "appId",
222
+ "type": "options",
223
+ "typeOptions": {
224
+ "loadOptionsMethod": "loadGetAppsId"
225
+ },
226
+ "default": "",
227
+ "displayOptions": {
228
+ "show": {
229
+ "event": [
230
+ "whenAppDataUpdated"
231
+ ]
232
+ }
233
+ },
234
+ "description": "Only events of this app. Leave empty for all apps."
235
+ },
236
+ {
237
+ "displayName": "Space ID",
238
+ "name": "spaceId",
239
+ "type": "string",
240
+ "default": "",
241
+ "displayOptions": {
242
+ "show": {
243
+ "event": [
244
+ "whenAppDataUpdated"
245
+ ]
246
+ }
247
+ },
248
+ "description": "Only events in this space. Leave empty for all spaces."
249
+ }
250
+ ]
251
+ };
252
+ this.methods = {
253
+ loadOptions: {
254
+ async loadGetAppsId() {
255
+ return runtime_1.loadOptions.call(this, BASE_URL, CLIENT, '/v1/apps', { "limit": 1000 }, {}, 'value', 'id', 'name');
256
+ },
257
+ },
258
+ };
259
+ this.webhookMethods = {
260
+ default: {
261
+ async checkExists() {
262
+ return typeof this.getWorkflowStaticData('node').subscriptionUrl === 'string';
263
+ },
264
+ async create() {
265
+ return runtime_1.createSubscription.call(this, EVENTS, BASE_URL, CLIENT);
266
+ },
267
+ async delete() {
268
+ return runtime_1.deleteSubscription.call(this, BASE_URL, CLIENT);
269
+ },
270
+ },
271
+ };
272
+ }
273
+ async webhook() {
274
+ return { workflowData: [this.helpers.returnJsonArray(this.getBodyData())] };
275
+ }
276
+ }
277
+ exports.AncoreMateAppsTrigger = AncoreMateAppsTrigger;
@@ -0,0 +1,21 @@
1
+ {
2
+ "node": "n8n-nodes-ancoremate.ancoreMateAppsTrigger",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": [
6
+ "Analytics",
7
+ "Data & Storage"
8
+ ],
9
+ "resources": {
10
+ "credentialDocumentation": [
11
+ {
12
+ "url": "https://ancorecloud.com/"
13
+ }
14
+ ],
15
+ "primaryDocumentation": [
16
+ {
17
+ "url": "https://ancorecloud.com/"
18
+ }
19
+ ]
20
+ }
21
+ }
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" aria-label="ancoreMate">
2
+ <g fill="#2972ff">
3
+ <polygon points="216.5,99.1 216.5,184.2 302.3,184.2 388.1,99.1 388.1,13.9 302.3,13.9"/>
4
+ <polygon points="98.4,184.3 184.2,184.3 184.2,99.2 98.4,14 12.7,14 12.7,99.1"/>
5
+ <polygon points="302.3,385.8 388.1,385.8 388.1,300.7 302.3,215.6 216.5,215.6 216.5,300.7"/>
6
+ </g>
7
+ </svg>
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AncoreMateAutomations = void 0;
4
4
  const runtime_1 = require("../shared/runtime");
5
5
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
6
- const CLIENT = 'n8n/1.6.0';
6
+ const CLIENT = 'n8n/1.7.0';
7
7
  const OPERATIONS = {
8
8
  "changeAutomationOwner": {
9
9
  "method": "PUT",
@@ -0,0 +1,17 @@
1
+ import type { IHookFunctions, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData } from 'n8n-workflow';
2
+ export declare class AncoreMateAutomationsTrigger implements INodeType {
3
+ description: INodeTypeDescription;
4
+ methods: {
5
+ loadOptions: {
6
+ loadListAutomationsId(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
7
+ };
8
+ };
9
+ webhookMethods: {
10
+ default: {
11
+ checkExists(this: IHookFunctions): Promise<boolean>;
12
+ create(this: IHookFunctions): Promise<boolean>;
13
+ delete(this: IHookFunctions): Promise<boolean>;
14
+ };
15
+ };
16
+ webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
17
+ }