@qontext/n8n-nodes-qontext 0.1.5 → 1.0.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 (100) hide show
  1. package/README.md +269 -67
  2. package/dist/credentials/QontextApi.credentials.js +6 -3
  3. package/dist/credentials/QontextApi.credentials.js.map +1 -1
  4. package/dist/nodes/Qontext/Qontext.node.d.ts +8 -0
  5. package/dist/nodes/Qontext/Qontext.node.js +31 -9
  6. package/dist/nodes/Qontext/Qontext.node.js.map +1 -1
  7. package/dist/nodes/Qontext/Qontext.node.json +3 -3
  8. package/dist/nodes/Qontext/actions/common/api.d.ts +3 -0
  9. package/dist/nodes/Qontext/actions/common/api.js +7 -0
  10. package/dist/nodes/Qontext/actions/common/api.js.map +1 -0
  11. package/dist/nodes/Qontext/actions/common/legacy.d.ts +2 -0
  12. package/dist/nodes/Qontext/actions/common/legacy.js +34 -0
  13. package/dist/nodes/Qontext/actions/common/legacy.js.map +1 -0
  14. package/dist/nodes/Qontext/actions/common/locator.d.ts +14 -0
  15. package/dist/nodes/Qontext/actions/common/locator.js +87 -0
  16. package/dist/nodes/Qontext/actions/common/locator.js.map +1 -0
  17. package/dist/nodes/Qontext/actions/common/pagination.d.ts +3 -0
  18. package/dist/nodes/Qontext/actions/common/pagination.js +104 -0
  19. package/dist/nodes/Qontext/actions/common/pagination.js.map +1 -0
  20. package/dist/nodes/Qontext/actions/common/resolvePath.d.ts +3 -0
  21. package/dist/nodes/Qontext/actions/common/resolvePath.js +37 -0
  22. package/dist/nodes/Qontext/actions/common/resolvePath.js.map +1 -0
  23. package/dist/nodes/Qontext/actions/file/createFile.operation.d.ts +2 -0
  24. package/dist/nodes/Qontext/actions/file/createFile.operation.js +118 -0
  25. package/dist/nodes/Qontext/actions/file/createFile.operation.js.map +1 -0
  26. package/dist/nodes/Qontext/actions/file/deleteFile.operation.d.ts +2 -0
  27. package/dist/nodes/Qontext/actions/file/deleteFile.operation.js +13 -0
  28. package/dist/nodes/Qontext/actions/file/deleteFile.operation.js.map +1 -0
  29. package/dist/nodes/Qontext/actions/file/file.resource.d.ts +2 -0
  30. package/dist/nodes/Qontext/actions/file/file.resource.js +117 -0
  31. package/dist/nodes/Qontext/actions/file/file.resource.js.map +1 -0
  32. package/dist/nodes/Qontext/actions/file/getFile.operation.d.ts +2 -0
  33. package/dist/nodes/Qontext/actions/file/getFile.operation.js +13 -0
  34. package/dist/nodes/Qontext/actions/file/getFile.operation.js.map +1 -0
  35. package/dist/nodes/Qontext/actions/file/getManyFiles.operation.d.ts +2 -0
  36. package/dist/nodes/Qontext/actions/file/getManyFiles.operation.js +105 -0
  37. package/dist/nodes/Qontext/actions/file/getManyFiles.operation.js.map +1 -0
  38. package/dist/nodes/Qontext/actions/file/updateFile.operation.d.ts +2 -0
  39. package/dist/nodes/Qontext/actions/file/updateFile.operation.js +97 -0
  40. package/dist/nodes/Qontext/actions/file/updateFile.operation.js.map +1 -0
  41. package/dist/nodes/Qontext/actions/file/updateFileContent.operation.d.ts +2 -0
  42. package/dist/nodes/Qontext/actions/file/updateFileContent.operation.js +72 -0
  43. package/dist/nodes/Qontext/actions/file/updateFileContent.operation.js.map +1 -0
  44. package/dist/nodes/Qontext/actions/folder/createFolder.operation.d.ts +2 -0
  45. package/dist/nodes/Qontext/actions/folder/createFolder.operation.js +88 -0
  46. package/dist/nodes/Qontext/actions/folder/createFolder.operation.js.map +1 -0
  47. package/dist/nodes/Qontext/actions/folder/deleteFolder.operation.d.ts +2 -0
  48. package/dist/nodes/Qontext/actions/folder/deleteFolder.operation.js +33 -0
  49. package/dist/nodes/Qontext/actions/folder/deleteFolder.operation.js.map +1 -0
  50. package/dist/nodes/Qontext/actions/folder/folder.resource.d.ts +2 -0
  51. package/dist/nodes/Qontext/actions/folder/folder.resource.js +103 -0
  52. package/dist/nodes/Qontext/actions/folder/folder.resource.js.map +1 -0
  53. package/dist/nodes/Qontext/actions/folder/getFolder.operation.d.ts +2 -0
  54. package/dist/nodes/Qontext/actions/folder/getFolder.operation.js +13 -0
  55. package/dist/nodes/Qontext/actions/folder/getFolder.operation.js.map +1 -0
  56. package/dist/nodes/Qontext/actions/folder/getManyFolders.operation.d.ts +2 -0
  57. package/dist/nodes/Qontext/actions/folder/getManyFolders.operation.js +105 -0
  58. package/dist/nodes/Qontext/actions/folder/getManyFolders.operation.js.map +1 -0
  59. package/dist/nodes/Qontext/actions/folder/updateFolder.operation.d.ts +2 -0
  60. package/dist/nodes/Qontext/actions/folder/updateFolder.operation.js +71 -0
  61. package/dist/nodes/Qontext/actions/folder/updateFolder.operation.js.map +1 -0
  62. package/dist/nodes/Qontext/actions/search/search.resource.d.ts +2 -0
  63. package/dist/nodes/Qontext/actions/search/search.resource.js +63 -0
  64. package/dist/nodes/Qontext/actions/search/search.resource.js.map +1 -0
  65. package/dist/nodes/Qontext/actions/search/searchHybrid.operation.d.ts +2 -0
  66. package/dist/nodes/Qontext/actions/search/searchHybrid.operation.js +75 -0
  67. package/dist/nodes/Qontext/actions/search/searchHybrid.operation.js.map +1 -0
  68. package/dist/nodes/Qontext/actions/search/searchRegex.operation.d.ts +2 -0
  69. package/dist/nodes/Qontext/actions/search/searchRegex.operation.js +75 -0
  70. package/dist/nodes/Qontext/actions/search/searchRegex.operation.js.map +1 -0
  71. package/dist/nodes/Qontext/methods/listSearch.d.ts +4 -0
  72. package/dist/nodes/Qontext/methods/listSearch.js +48 -0
  73. package/dist/nodes/Qontext/methods/listSearch.js.map +1 -0
  74. package/dist/package.json +16 -7
  75. package/dist/tsconfig.tsbuildinfo +1 -1
  76. package/package.json +16 -7
  77. package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/custom/template/nodes/Example/example.dark.svg +0 -13
  78. package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/custom/template/nodes/Example/example.svg +0 -13
  79. package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/github-issues/template/icons/github.dark.svg +0 -3
  80. package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/github-issues/template/icons/github.svg +0 -3
  81. package/dist/node_modules/@n8n/node-cli/dist/template/templates/programmatic/example/template/nodes/Example/example.dark.svg +0 -13
  82. package/dist/node_modules/@n8n/node-cli/dist/template/templates/programmatic/example/template/nodes/Example/example.svg +0 -13
  83. package/dist/nodes/Qontext/actions/ingestion/ingestDataWithMetadata.operation.d.ts +0 -2
  84. package/dist/nodes/Qontext/actions/ingestion/ingestDataWithMetadata.operation.js +0 -217
  85. package/dist/nodes/Qontext/actions/ingestion/ingestDataWithMetadata.operation.js.map +0 -1
  86. package/dist/nodes/Qontext/actions/ingestion/ingestUnstructuredText.operation.d.ts +0 -2
  87. package/dist/nodes/Qontext/actions/ingestion/ingestUnstructuredText.operation.js +0 -37
  88. package/dist/nodes/Qontext/actions/ingestion/ingestUnstructuredText.operation.js.map +0 -1
  89. package/dist/nodes/Qontext/actions/ingestion/ingestWebsite.operation.d.ts +0 -2
  90. package/dist/nodes/Qontext/actions/ingestion/ingestWebsite.operation.js +0 -61
  91. package/dist/nodes/Qontext/actions/ingestion/ingestWebsite.operation.js.map +0 -1
  92. package/dist/nodes/Qontext/actions/ingestion/ingestion.resource.d.ts +0 -2
  93. package/dist/nodes/Qontext/actions/ingestion/ingestion.resource.js +0 -80
  94. package/dist/nodes/Qontext/actions/ingestion/ingestion.resource.js.map +0 -1
  95. package/dist/nodes/Qontext/actions/retrieval/retrieval.resource.d.ts +0 -2
  96. package/dist/nodes/Qontext/actions/retrieval/retrieval.resource.js +0 -41
  97. package/dist/nodes/Qontext/actions/retrieval/retrieval.resource.js.map +0 -1
  98. package/dist/nodes/Qontext/actions/retrieval/retrieveContext.operation.d.ts +0 -2
  99. package/dist/nodes/Qontext/actions/retrieval/retrieveContext.operation.js +0 -83
  100. package/dist/nodes/Qontext/actions/retrieval/retrieveContext.operation.js.map +0 -1
package/package.json CHANGED
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "name": "@qontext/n8n-nodes-qontext",
3
- "version": "0.1.5",
4
- "description": "Retrieve and ingest context to and from Qontext vaults",
3
+ "version": "1.0.0",
4
+ "description": "Read, write and search your Qontext context repository",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/qontext-ai/n8n-nodes-qontext",
7
7
  "keywords": [
8
8
  "n8n-community-node-package"
9
9
  ],
10
- "author": "Valeska Pachelbel <valeskapachelbel@gmail.com> (https://github.com/valeskaaa)",
10
+ "author": {
11
+ "name": "Valeska Pachelbel",
12
+ "email": "valeska@qontext.ai",
13
+ "url": "https://github.com/valeskaaa"
14
+ },
11
15
  "repository": {
12
16
  "type": "git",
13
17
  "url": "https://github.com/qontext-ai/n8n-nodes-qontext.git"
@@ -16,14 +20,18 @@
16
20
  "build": "n8n-node build",
17
21
  "build:watch": "tsc --watch",
18
22
  "dev": "n8n-node dev",
19
- "lint": "eslint credentials nodes",
20
- "lint:fix": "eslint credentials nodes --fix",
23
+ "lint": "eslint credentials nodes package.json",
24
+ "lint:fix": "eslint credentials nodes package.json --fix",
21
25
  "release": "n8n-node release",
22
26
  "prepublishOnly": "npm run build && npm run lint"
23
27
  },
24
28
  "files": [
25
29
  "dist"
26
30
  ],
31
+ "auto-changelog": {
32
+ "//": "The release hook runs `auto-changelog -p`, which overwrites its output file. CHANGELOG.md is written by hand, so the generated copy is sent to an ignored file instead.",
33
+ "output": "CHANGELOG.generated.md"
34
+ },
27
35
  "n8n": {
28
36
  "n8nNodesApiVersion": 1,
29
37
  "strict": true,
@@ -36,8 +44,9 @@
36
44
  },
37
45
  "main": "index.js",
38
46
  "devDependencies": {
39
- "@n8n/node-cli": "^0.1.0",
40
- "eslint": "9.32.0",
47
+ "@n8n/eslint-plugin-community-nodes": "^0.32.0",
48
+ "@n8n/node-cli": "^0.47.0",
49
+ "eslint": "^9.29.0",
41
50
  "eslint-import-resolver-typescript": "^4.4.3",
42
51
  "eslint-plugin-import-x": "^4.15.2",
43
52
  "eslint-plugin-n8n-nodes-base": "^1.16.6",
@@ -1,13 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="aquamarine"
2
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cpu">
3
- <rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect>
4
- <rect x="9" y="9" width="6" height="6"></rect>
5
- <line x1="9" y1="1" x2="9" y2="4"></line>
6
- <line x1="15" y1="1" x2="15" y2="4"></line>
7
- <line x1="9" y1="20" x2="9" y2="23"></line>
8
- <line x1="15" y1="20" x2="15" y2="23"></line>
9
- <line x1="20" y1="9" x2="23" y2="9"></line>
10
- <line x1="20" y1="14" x2="23" y2="14"></line>
11
- <line x1="1" y1="9" x2="4" y2="9"></line>
12
- <line x1="1" y1="14" x2="4" y2="14"></line>
13
- </svg>
@@ -1,13 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="darkblue"
2
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cpu">
3
- <rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect>
4
- <rect x="9" y="9" width="6" height="6"></rect>
5
- <line x1="9" y1="1" x2="9" y2="4"></line>
6
- <line x1="15" y1="1" x2="15" y2="4"></line>
7
- <line x1="9" y1="20" x2="9" y2="23"></line>
8
- <line x1="15" y1="20" x2="15" y2="23"></line>
9
- <line x1="20" y1="9" x2="23" y2="9"></line>
10
- <line x1="20" y1="14" x2="23" y2="14"></line>
11
- <line x1="1" y1="9" x2="4" y2="9"></line>
12
- <line x1="1" y1="14" x2="4" y2="14"></line>
13
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M20.0165 0C8.94791 0 0 9.01388 0 20.1653C0 29.0792 5.73324 36.6246 13.6868 39.2952C14.6812 39.496 15.0454 38.8613 15.0454 38.3274C15.0454 37.8599 15.0126 36.2575 15.0126 34.5879C9.4445 35.79 8.28498 32.1841 8.28498 32.1841C7.39015 29.847 6.06429 29.2463 6.06429 29.2463C4.24185 28.011 6.19704 28.011 6.19704 28.011C8.21861 28.1446 9.27938 30.081 9.27938 30.081C11.0686 33.1522 13.9518 32.2844 15.1118 31.7502C15.2773 30.4481 15.8079 29.5467 16.3713 29.046C11.9303 28.5785 7.25781 26.8425 7.25781 19.0967C7.25781 16.8932 8.05267 15.0905 9.31216 13.6884C9.11344 13.1877 8.41732 11.1174 9.51128 8.34644C9.51128 8.34644 11.2014 7.81217 15.0122 10.4164C16.6438 9.97495 18.3263 9.7504 20.0165 9.74851C21.7067 9.74851 23.4295 9.98246 25.0205 10.4164C28.8317 7.81217 30.5218 8.34644 30.5218 8.34644C31.6158 11.1174 30.9192 13.1877 30.7205 13.6884C32.0132 15.0905 32.7753 16.8932 32.7753 19.0967C32.7753 26.8425 28.1028 28.5449 23.6287 29.046C24.358 29.6802 24.9873 30.882 24.9873 32.7851C24.9873 35.4893 24.9545 37.6596 24.9545 38.327C24.9545 38.8613 25.3192 39.496 26.3132 39.2956C34.2667 36.6242 39.9999 29.0792 39.9999 20.1653C40.0327 9.01388 31.052 0 20.0165 0Z" fill="white"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M20.0165 0C8.94791 0 0 9.01388 0 20.1653C0 29.0792 5.73324 36.6246 13.6868 39.2952C14.6812 39.496 15.0454 38.8613 15.0454 38.3274C15.0454 37.8599 15.0126 36.2575 15.0126 34.5879C9.4445 35.79 8.28498 32.1841 8.28498 32.1841C7.39015 29.847 6.06429 29.2463 6.06429 29.2463C4.24185 28.011 6.19704 28.011 6.19704 28.011C8.21861 28.1446 9.27938 30.081 9.27938 30.081C11.0686 33.1522 13.9518 32.2844 15.1118 31.7502C15.2773 30.4481 15.8079 29.5467 16.3713 29.046C11.9303 28.5785 7.25781 26.8425 7.25781 19.0967C7.25781 16.8932 8.05267 15.0905 9.31216 13.6884C9.11344 13.1877 8.41732 11.1174 9.51128 8.34644C9.51128 8.34644 11.2014 7.81217 15.0122 10.4164C16.6438 9.97495 18.3263 9.7504 20.0165 9.74851C21.7067 9.74851 23.4295 9.98246 25.0205 10.4164C28.8317 7.81217 30.5218 8.34644 30.5218 8.34644C31.6158 11.1174 30.9192 13.1877 30.7205 13.6884C32.0132 15.0905 32.7753 16.8932 32.7753 19.0967C32.7753 26.8425 28.1028 28.5449 23.6287 29.046C24.358 29.6802 24.9873 30.882 24.9873 32.7851C24.9873 35.4893 24.9545 37.6596 24.9545 38.327C24.9545 38.8613 25.3192 39.496 26.3132 39.2956C34.2667 36.6242 39.9999 29.0792 39.9999 20.1653C40.0327 9.01388 31.052 0 20.0165 0Z" fill="#24292F"/>
3
- </svg>
@@ -1,13 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="aquamarine"
2
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cpu">
3
- <rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect>
4
- <rect x="9" y="9" width="6" height="6"></rect>
5
- <line x1="9" y1="1" x2="9" y2="4"></line>
6
- <line x1="15" y1="1" x2="15" y2="4"></line>
7
- <line x1="9" y1="20" x2="9" y2="23"></line>
8
- <line x1="15" y1="20" x2="15" y2="23"></line>
9
- <line x1="20" y1="9" x2="23" y2="9"></line>
10
- <line x1="20" y1="14" x2="23" y2="14"></line>
11
- <line x1="1" y1="9" x2="4" y2="9"></line>
12
- <line x1="1" y1="14" x2="4" y2="14"></line>
13
- </svg>
@@ -1,13 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="darkblue"
2
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cpu">
3
- <rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect>
4
- <rect x="9" y="9" width="6" height="6"></rect>
5
- <line x1="9" y1="1" x2="9" y2="4"></line>
6
- <line x1="15" y1="1" x2="15" y2="4"></line>
7
- <line x1="9" y1="20" x2="9" y2="23"></line>
8
- <line x1="15" y1="20" x2="15" y2="23"></line>
9
- <line x1="20" y1="9" x2="23" y2="9"></line>
10
- <line x1="20" y1="14" x2="23" y2="14"></line>
11
- <line x1="1" y1="9" x2="4" y2="9"></line>
12
- <line x1="1" y1="14" x2="4" y2="14"></line>
13
- </svg>
@@ -1,2 +0,0 @@
1
- import type { INodeProperties } from 'n8n-workflow';
2
- export declare const ingestDataWithMetadata: INodeProperties[];
@@ -1,217 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ingestDataWithMetadata = void 0;
4
- exports.ingestDataWithMetadata = [
5
- {
6
- displayName: 'Vault ID',
7
- name: 'vaultId',
8
- type: 'string',
9
- default: '',
10
- description: 'The ID of the vault that the data should be ingested into',
11
- displayOptions: {
12
- show: {
13
- resource: ['ingestion'],
14
- operation: ['ingestDataWithMetadata'],
15
- },
16
- },
17
- required: true,
18
- },
19
- {
20
- displayName: 'Text',
21
- name: 'string_data',
22
- type: 'string',
23
- typeOptions: {
24
- rows: 5,
25
- },
26
- default: '',
27
- description: 'The unstructured data (plain or markdown text) to ingest',
28
- displayOptions: {
29
- show: {
30
- resource: ['ingestion'],
31
- operation: ['ingestDataWithMetadata'],
32
- },
33
- },
34
- required: true,
35
- },
36
- {
37
- displayName: 'Source',
38
- name: 'source',
39
- type: 'fixedCollection',
40
- default: {},
41
- displayOptions: {
42
- show: {
43
- resource: ['ingestion'],
44
- operation: ['ingestDataWithMetadata'],
45
- },
46
- },
47
- typeOptions: {
48
- multipleValues: false,
49
- },
50
- required: true,
51
- options: [
52
- {
53
- displayName: 'Source',
54
- name: 'source',
55
- values: [
56
- {
57
- displayName: 'Data Source Name',
58
- name: 'source_integration',
59
- type: 'options',
60
- default: 'HubSpot',
61
- description: 'The system or platform where the data originates',
62
- options: [
63
- { name: 'API', value: 'API' },
64
- { name: 'Gmail', value: 'Gmail' },
65
- { name: 'Gong', value: 'Gong' },
66
- { name: 'GoogleDrive', value: 'GoogleDrive' },
67
- { name: 'HubSpot', value: 'HubSpot' },
68
- { name: 'Notion', value: 'Notion' },
69
- { name: 'Slack', value: 'Slack' },
70
- { name: 'Web', value: 'Web' },
71
- ],
72
- },
73
- {
74
- displayName: 'Data Type',
75
- name: 'source_data_type',
76
- type: 'options',
77
- default: 'None',
78
- description: 'The specific type of data being ingested from the source',
79
- options: [
80
- { name: 'None', value: 'None' },
81
- ],
82
- displayOptions: {
83
- show: {
84
- source_integration: ['API'],
85
- },
86
- },
87
- },
88
- {
89
- displayName: 'Data Type',
90
- name: 'source_data_type',
91
- type: 'options',
92
- default: 'Email',
93
- description: 'The specific type of data being ingested from the source',
94
- displayOptions: {
95
- show: {
96
- source_integration: ['Gmail'],
97
- },
98
- },
99
- options: [
100
- { name: 'Email', value: 'Email' },
101
- ],
102
- },
103
- {
104
- displayName: 'Data Type',
105
- name: 'source_data_type',
106
- type: 'options',
107
- default: 'Call',
108
- description: 'The specific type of data being ingested from the source',
109
- displayOptions: {
110
- show: {
111
- source_integration: ['Gong'],
112
- },
113
- },
114
- options: [
115
- { name: 'Call', value: 'Call' },
116
- ],
117
- },
118
- {
119
- displayName: 'Data Type',
120
- name: 'source_data_type',
121
- type: 'options',
122
- default: 'File',
123
- description: 'The specific type of data being ingested from the source',
124
- displayOptions: {
125
- show: {
126
- source_integration: ['GoogleDrive'],
127
- },
128
- },
129
- options: [
130
- { name: 'Doc', value: 'Doc' },
131
- { name: 'File', value: 'File' },
132
- { name: 'PDF', value: 'PDF' },
133
- { name: 'Sheet', value: 'Sheet' },
134
- { name: 'Slide', value: 'Slide' },
135
- ],
136
- },
137
- {
138
- displayName: 'Data Type',
139
- name: 'source_data_type',
140
- type: 'options',
141
- default: 'Contact',
142
- description: 'The specific type of data being ingested from the source',
143
- displayOptions: {
144
- show: {
145
- source_integration: ['HubSpot'],
146
- },
147
- },
148
- options: [
149
- { name: 'Call', value: 'Call' },
150
- { name: 'Company', value: 'Company' },
151
- { name: 'Contact', value: 'Contact' },
152
- { name: 'Deal', value: 'Deal' },
153
- { name: 'Email', value: 'Email' },
154
- { name: 'Lead', value: 'Lead' },
155
- { name: 'Meeting', value: 'Meeting' },
156
- { name: 'Note', value: 'Note' },
157
- { name: 'Task', value: 'Task' },
158
- ],
159
- },
160
- {
161
- displayName: 'Data Type',
162
- name: 'source_data_type',
163
- type: 'options',
164
- default: 'Page',
165
- description: 'The specific type of data being ingested from the source',
166
- displayOptions: {
167
- show: {
168
- source_integration: ['Notion'],
169
- },
170
- },
171
- options: [
172
- { name: 'Page', value: 'Page' },
173
- ],
174
- },
175
- {
176
- displayName: 'Data Type',
177
- name: 'source_data_type',
178
- type: 'options',
179
- default: 'Message',
180
- description: 'The specific type of data being ingested from the source',
181
- displayOptions: {
182
- show: {
183
- source_integration: ['Slack'],
184
- },
185
- },
186
- options: [
187
- { name: 'Message', value: 'Message' },
188
- ],
189
- },
190
- {
191
- displayName: 'Data Type',
192
- name: 'source_data_type',
193
- type: 'options',
194
- default: 'Website',
195
- description: 'The specific type of data being ingested from the source',
196
- displayOptions: {
197
- show: {
198
- source_integration: ['Web'],
199
- },
200
- },
201
- options: [
202
- { name: 'Website', value: 'Website' },
203
- ],
204
- },
205
- {
206
- displayName: 'Source ID',
207
- name: 'source_id',
208
- type: 'string',
209
- default: '',
210
- description: 'The unique identifier of the data item in the source system',
211
- },
212
- ],
213
- },
214
- ],
215
- },
216
- ];
217
- //# sourceMappingURL=ingestDataWithMetadata.operation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ingestDataWithMetadata.operation.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/ingestion/ingestDataWithMetadata.operation.ts"],"names":[],"mappings":";;;AAIa,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,UAAU;QACvB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AE,WAAW;wBACxB,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,6DAA6D;qBAC1E;iBACD;aACD;SACD;KACD;CACD,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { INodeProperties } from 'n8n-workflow';
2
- export declare const ingestUnstructuredText: INodeProperties[];
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ingestUnstructuredText = void 0;
4
- exports.ingestUnstructuredText = [
5
- {
6
- displayName: 'Vault ID',
7
- name: 'vaultId',
8
- type: 'string',
9
- default: '',
10
- description: 'The ID of the vault that the data should be ingested into',
11
- displayOptions: {
12
- show: {
13
- resource: ['ingestion'],
14
- operation: ['ingestUnstructuredText'],
15
- },
16
- },
17
- required: true,
18
- },
19
- {
20
- displayName: 'Text',
21
- name: 'text',
22
- type: 'string',
23
- typeOptions: {
24
- rows: 5,
25
- },
26
- default: '',
27
- description: 'The text data to ingest',
28
- displayOptions: {
29
- show: {
30
- resource: ['ingestion'],
31
- operation: ['ingestUnstructuredText'],
32
- },
33
- },
34
- required: true,
35
- },
36
- ];
37
- //# sourceMappingURL=ingestUnstructuredText.operation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ingestUnstructuredText.operation.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/ingestion/ingestUnstructuredText.operation.ts"],"names":[],"mappings":";;;AAKa,QAAA,sBAAsB,GAAsB;IACrD;QACI,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,2DAA2D;QACxE,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;gBACvB,SAAS,EAAE,CAAC,wBAAwB,CAAC;aACxC;SACJ;QACD,QAAQ,EAAE,IAAI;KACjB;IACD;QACI,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACT,IAAI,EAAE,CAAC;SACV;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yBAAyB;QACtC,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;gBACvB,SAAS,EAAE,CAAC,wBAAwB,CAAC;aACxC;SACJ;QACD,QAAQ,EAAE,IAAI;KACjB;CACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { INodeProperties } from 'n8n-workflow';
2
- export declare const ingestWebsite: INodeProperties[];
@@ -1,61 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ingestWebsite = void 0;
4
- exports.ingestWebsite = [
5
- {
6
- displayName: 'Vault ID',
7
- name: 'vaultId',
8
- type: 'string',
9
- default: '',
10
- description: 'The ID of the vault that the data should be ingested into',
11
- displayOptions: {
12
- show: {
13
- resource: ['ingestion'],
14
- operation: ['ingestWebsite'],
15
- },
16
- },
17
- required: true,
18
- },
19
- {
20
- displayName: 'URL',
21
- name: 'url',
22
- type: 'string',
23
- typeOptions: {
24
- rows: 5,
25
- },
26
- default: '',
27
- description: 'The URL of the website to crawl and ingest',
28
- displayOptions: {
29
- show: {
30
- resource: ['ingestion'],
31
- operation: ['ingestWebsite'],
32
- },
33
- },
34
- required: true,
35
- },
36
- {
37
- displayName: 'Type',
38
- name: 'type',
39
- type: 'options',
40
- options: [
41
- {
42
- name: 'Deep Crawl',
43
- value: 'deepCrawl',
44
- },
45
- {
46
- name: 'Single Page',
47
- value: 'singlePage',
48
- },
49
- ],
50
- default: 'singlePage',
51
- description: 'The type of ingestion to perform',
52
- displayOptions: {
53
- show: {
54
- resource: ['ingestion'],
55
- operation: ['ingestWebsite'],
56
- },
57
- },
58
- required: true,
59
- }
60
- ];
61
- //# sourceMappingURL=ingestWebsite.operation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ingestWebsite.operation.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/ingestion/ingestWebsite.operation.ts"],"names":[],"mappings":";;;AAKa,QAAA,aAAa,GAAsB;IAC5C;QACI,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,2DAA2D;QACxE,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;gBACvB,SAAS,EAAE,CAAC,eAAe,CAAC;aAC/B;SACJ;QACD,QAAQ,EAAE,IAAI;KACjB;IACD;QACI,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACT,IAAI,EAAE,CAAC;SACV;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4CAA4C;QACzD,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;gBACvB,SAAS,EAAE,CAAC,eAAe,CAAC;aAC/B;SACJ;QACD,QAAQ,EAAE,IAAI;KACjB;IACD;QACI,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,WAAW;aACrB;YACD;gBACI,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,YAAY;aACtB;SACJ;QACD,OAAO,EAAE,YAAY;QACrB,WAAW,EAAE,kCAAkC;QAC/C,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;gBACvB,SAAS,EAAE,CAAC,eAAe,CAAC;aAC/B;SACJ;QACD,QAAQ,EAAE,IAAI;KACjB;CACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { INodeProperties } from 'n8n-workflow';
2
- export declare const ingestionOperations: INodeProperties[];
@@ -1,80 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ingestionOperations = void 0;
4
- const ingestDataWithMetadata_operation_1 = require("./ingestDataWithMetadata.operation");
5
- const ingestUnstructuredText_operation_1 = require("./ingestUnstructuredText.operation");
6
- const ingestWebsite_operation_1 = require("./ingestWebsite.operation");
7
- exports.ingestionOperations = [
8
- {
9
- displayName: 'Operation',
10
- name: 'operation',
11
- type: 'options',
12
- noDataExpression: true,
13
- displayOptions: {
14
- show: {
15
- resource: ['ingestion'],
16
- },
17
- },
18
- options: [
19
- {
20
- name: 'Ingest Data with Metadata',
21
- value: 'ingestDataWithMetadata',
22
- action: 'Ingest data with metadata',
23
- description: 'Ingest data with metadata into the specified vault',
24
- routing: {
25
- request: {
26
- method: 'POST',
27
- url: 'v1/ingestion/any',
28
- body: {
29
- vaultId: '={{$parameter["vaultId"]}}',
30
- string_data: '={{$parameter["string_data"]}}',
31
- source: {
32
- source_integration: '={{ $parameter["source"].source.source_integration }}',
33
- source_data_type: '={{ $parameter["source"].source.source_data_type }}',
34
- source_id: '={{ $parameter["source"].source.source_id }}',
35
- }
36
- },
37
- },
38
- },
39
- },
40
- {
41
- name: 'Ingest Unstructured Text',
42
- value: 'ingestUnstructuredText',
43
- action: 'Ingest unstructured text',
44
- description: 'Ingest unstructured text into the specified vault',
45
- routing: {
46
- request: {
47
- method: 'POST',
48
- url: 'v1/ingestion/unstructured',
49
- body: {
50
- vaultId: '={{$parameter["vaultId"]}}',
51
- text: '={{$parameter["text"]}}',
52
- },
53
- },
54
- },
55
- },
56
- {
57
- name: 'Ingest Website',
58
- value: 'ingestWebsite',
59
- action: 'Ingest website',
60
- description: 'Ingest website into the specified vault',
61
- routing: {
62
- request: {
63
- method: 'POST',
64
- url: 'v1/ingestion/website',
65
- body: {
66
- vaultId: '={{$parameter["vaultId"]}}',
67
- url: '={{$parameter["url"]}}',
68
- type: '={{$parameter["type"]}}',
69
- },
70
- },
71
- },
72
- },
73
- ],
74
- default: 'ingestDataWithMetadata',
75
- },
76
- ...ingestDataWithMetadata_operation_1.ingestDataWithMetadata,
77
- ...ingestUnstructuredText_operation_1.ingestUnstructuredText,
78
- ...ingestWebsite_operation_1.ingestWebsite,
79
- ];
80
- //# sourceMappingURL=ingestion.resource.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ingestion.resource.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/ingestion/ingestion.resource.ts"],"names":[],"mappings":";;;AACA,yFAA4E;AAC5E,yFAA4E;AAC5E,uEAAyD;AAE5C,QAAA,mBAAmB,GAAsB;IAClD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;aAC1B;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,2BAA2B;gBACjC,KAAK,EAAE,wBAAwB;gBAC/B,MAAM,EAAE,2BAA2B;gBACnC,WAAW,EAAE,oDAAoD;gBACjE,OAAO,EAAE;oBACL,OAAO,EAAE;wBACL,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,kBAAkB;wBACvB,IAAI,EAAE;4BACF,OAAO,EAAE,4BAA4B;4BACrC,WAAW,EAAE,gCAAgC;4BAC7C,MAAM,EAAE;gCACJ,kBAAkB,EAAE,uDAAuD;gCAC3E,gBAAgB,EAAE,qDAAqD;gCACvE,SAAS,EAAE,8CAA8C;6BAC1D;yBACN;qBACJ;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,0BAA0B;gBAChC,KAAK,EAAE,wBAAwB;gBAC/B,MAAM,EAAE,0BAA0B;gBAClC,WAAW,EAAE,mDAAmD;gBAChE,OAAO,EAAE;oBACL,OAAO,EAAE;wBACL,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,2BAA2B;wBAChC,IAAI,EAAE;4BACF,OAAO,EAAE,4BAA4B;4BACrC,IAAI,EAAE,yBAAyB;yBAClC;qBACJ;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,gBAAgB;gBACtB,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,gBAAgB;gBACxB,WAAW,EAAE,yCAAyC;gBACtD,OAAO,EAAE;oBACL,OAAO,EAAE;wBACL,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,sBAAsB;wBAC3B,IAAI,EAAE;4BACF,OAAO,EAAE,4BAA4B;4BACrC,GAAG,EAAE,wBAAwB;4BAC7B,IAAI,EAAE,yBAAyB;yBAClC;qBACJ;iBACJ;aACJ;SACJ;QACD,OAAO,EAAE,wBAAwB;KACpC;IACA,GAAG,yDAAsB;IACzB,GAAG,yDAAsB;IACzB,GAAG,uCAAa;CACpB,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { INodeProperties } from 'n8n-workflow';
2
- export declare const retrievalOperations: INodeProperties[];
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.retrievalOperations = void 0;
4
- const retrieveContext_operation_1 = require("./retrieveContext.operation");
5
- exports.retrievalOperations = [
6
- {
7
- displayName: 'Operation',
8
- name: 'operation',
9
- type: 'options',
10
- noDataExpression: true,
11
- displayOptions: {
12
- show: {
13
- resource: ['retrieval'],
14
- },
15
- },
16
- options: [
17
- {
18
- name: 'Retrieve Context',
19
- value: 'retrieveContext',
20
- action: 'Retrieve context',
21
- description: 'Retrieve context from the specified vault related to your prompt',
22
- routing: {
23
- request: {
24
- method: 'POST',
25
- url: 'v1/retrieval',
26
- body: {
27
- vaultId: '={{$parameter["vaultId"]}}',
28
- prompt: '={{$parameter["prompt"]}}',
29
- includeSources: true,
30
- limit: 5,
31
- depth: 1
32
- },
33
- },
34
- },
35
- },
36
- ],
37
- default: 'retrieveContext',
38
- },
39
- ...retrieveContext_operation_1.retrievalContextOperation,
40
- ];
41
- //# sourceMappingURL=retrieval.resource.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"retrieval.resource.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/retrieval/retrieval.resource.ts"],"names":[],"mappings":";;;AACA,2EAAwE;AAE3D,QAAA,mBAAmB,GAAsB;IAClD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;aAC1B;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,iBAAiB;gBACxB,MAAM,EAAE,kBAAkB;gBAC1B,WAAW,EAAE,kEAAkE;gBAC/E,OAAO,EAAE;oBACpB,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,cAAc;wBACnB,IAAI,EAAE;4BACL,OAAO,EAAE,4BAA4B;4BACrC,MAAM,EAAE,2BAA2B;4BACnC,cAAc,EAAE,IAAI;4BACpB,KAAK,EAAE,CAAC;4BACR,KAAK,EAAE,CAAC;yBACR;qBACD;iBACD;aACQ;SACJ;QACD,OAAO,EAAE,iBAAiB;KAC7B;IACD,GAAG,qDAAyB;CAC/B,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { INodeProperties } from 'n8n-workflow';
2
- export declare const retrievalContextOperation: INodeProperties[];