n8n-nodes-qlik-cloud 1.0.3 → 1.0.4

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
@@ -18,11 +18,18 @@ Complete integration with Qlik Cloud REST APIs covering:
18
18
  - **Get Privileges** - Retrieve app access privileges
19
19
 
20
20
  ### Assistants
21
- - **Get All Assistants** - List all available assistants
21
+ - **Get All Assistants** - List all available assistants with pagination and sorting
22
22
  - **Get Assistant** - Retrieve a specific assistant by ID
23
- - **Create Assistant** - Create a new assistant
23
+ - **Create Assistant** - Create a new assistant with name, title, description, and space
24
+ - **Update Assistant** - Update assistant properties using JSON Patch operations
24
25
  - **Search** - Perform semantic search in assistant sources
25
- - **Delete Assistant** - Delete an assistant
26
+ - **Get Feedback** - Retrieve feedback summary for an assistant
27
+ - **Bulk Search Sources** - Perform bulk search for source chunks by chunk IDs
28
+ - **List Starters** - List all starter questions for an assistant
29
+ - **Create Starter** - Create a new starter question with optional followups
30
+ - **List Threads** - List conversation threads for an assistant with filtering
31
+ - **Create Thread** - Create a new conversation thread
32
+ - **Delete Assistant** - Delete an assistant and all its resources
26
33
 
27
34
  ### Audits
28
35
  - **Get All Audits** - List recent audit events with filtering
@@ -108,6 +115,10 @@ For issues or feature requests:
108
115
  - GitHub Issues: [n8n-nodes-qlik-cloud](https://github.com/yourusername/n8n-nodes-qlik-cloud/issues)
109
116
  - n8n Community: [n8n Community Forum](https://community.n8n.io)
110
117
 
118
+ ## Development
119
+
120
+ This node follows the n8n community node development guidelines. For more information on implementing custom nodes, refer to the [n8n nodes starter repository](https://github.com/n8n-io/n8n-nodes-starter), which is the recommended way to implement nodes provided by n8n.
121
+
111
122
  ## License
112
123
 
113
124
  MIT
@@ -333,7 +333,7 @@ class QlikCloud {
333
333
  this.description = {
334
334
  displayName: 'Qlik Cloud',
335
335
  name: 'qlikCloud',
336
- icon: 'file:qlik.svg',
336
+ icon: 'file:../../icons/qlik.svg',
337
337
  group: ['transform'],
338
338
  version: 1,
339
339
  subtitle: '={{$parameter["resource"] + ": " + $parameter["operation"]}}',
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "n8n-nodes-qlik-cloud",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "n8n node for Qlik Cloud REST APIs integration",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tsc && npm run copy-assets",
9
- "copy-assets": "cp -r src/icons dist/icons || true",
9
+ "copy-assets": "cp -r src/icons/* dist/icons || true",
10
10
  "dev": "tsc --watch",
11
11
  "lint": "eslint src/",
12
12
  "test": "jest"
@@ -447,7 +447,7 @@ export class QlikCloud implements INodeType {
447
447
  description: INodeTypeDescription = {
448
448
  displayName: 'Qlik Cloud',
449
449
  name: 'qlikCloud',
450
- icon: 'file:qlik.svg',
450
+ icon: 'file:../../icons/qlik.svg',
451
451
  group: ['transform'],
452
452
  version: 1,
453
453
  subtitle: '={{$parameter["resource"] + ": " + $parameter["operation"]}}',
@@ -1,2 +0,0 @@
1
- import type { IExecuteFunctions, IHttpRequestMethods } from 'n8n-workflow';
2
- export declare function qlikApiRequest(this: IExecuteFunctions, method: IHttpRequestMethods, endpoint: string, body?: any, qs?: any): Promise<any>;
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.qlikApiRequest = qlikApiRequest;
4
- const n8n_workflow_1 = require("n8n-workflow");
5
- async function qlikApiRequest(method, endpoint, body, qs) {
6
- const credentials = await this.getCredentials('qlikCloudApi');
7
- if (!credentials) {
8
- throw new n8n_workflow_1.NodeApiError(this.getNode(), {
9
- message: 'No credentials found for Qlik Cloud API',
10
- });
11
- }
12
- const baseUrl = credentials.baseUrl;
13
- const accessToken = credentials.accessToken;
14
- const options = {
15
- headers: {
16
- Authorization: `Bearer ${accessToken}`,
17
- 'Content-Type': 'application/json',
18
- },
19
- method,
20
- url: `${baseUrl}${endpoint}`,
21
- qs,
22
- };
23
- if (body !== undefined) {
24
- options.body = body;
25
- }
26
- try {
27
- return await this.helpers.httpRequest(options);
28
- }
29
- catch (error) {
30
- throw new n8n_workflow_1.NodeApiError(this.getNode(), error);
31
- }
32
- }
File without changes