n8n-nodes-couchbase 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 (126) hide show
  1. package/README.md +133 -65
  2. package/dist/credentials/CouchbaseApi.credentials.d.ts +8 -0
  3. package/dist/credentials/CouchbaseApi.credentials.js +39 -0
  4. package/dist/credentials/CouchbaseApi.credentials.js.map +1 -0
  5. package/dist/credentials/ExampleCredentialsApi.credentials.d.ts +8 -0
  6. package/dist/credentials/ExampleCredentialsApi.credentials.js +46 -0
  7. package/dist/credentials/ExampleCredentialsApi.credentials.js.map +1 -0
  8. package/dist/credentials/HttpBinApi.credentials.d.ts +9 -0
  9. package/dist/credentials/HttpBinApi.credentials.js +43 -0
  10. package/dist/credentials/HttpBinApi.credentials.js.map +1 -0
  11. package/dist/nodes/Couchbase/Couchbase.node.d.ts +35 -0
  12. package/dist/nodes/Couchbase/Couchbase.node.js +303 -0
  13. package/dist/nodes/Couchbase/Couchbase.node.js.map +1 -0
  14. package/dist/nodes/Couchbase/Couchbase.node.json +18 -0
  15. package/dist/nodes/Couchbase/CouchbaseProperties.d.ts +16 -0
  16. package/dist/nodes/Couchbase/CouchbaseProperties.js +478 -0
  17. package/dist/nodes/Couchbase/CouchbaseProperties.js.map +1 -0
  18. package/dist/nodes/Couchbase/couchbase.dark.svg +14 -0
  19. package/dist/nodes/Couchbase/couchbase.svg +14 -0
  20. package/dist/nodes/ExampleNode/ExampleNode.node.d.ts +5 -0
  21. package/dist/nodes/ExampleNode/ExampleNode.node.js +59 -0
  22. package/dist/nodes/ExampleNode/ExampleNode.node.js.map +1 -0
  23. package/dist/nodes/HttpBin/HttpBin.node.d.ts +4 -0
  24. package/dist/nodes/HttpBin/HttpBin.node.js +55 -0
  25. package/dist/nodes/HttpBin/HttpBin.node.js.map +1 -0
  26. package/dist/nodes/HttpBin/HttpBin.node.json +18 -0
  27. package/dist/nodes/HttpBin/HttpVerbDescription.d.ts +3 -0
  28. package/dist/nodes/HttpBin/HttpVerbDescription.js +236 -0
  29. package/dist/nodes/HttpBin/HttpVerbDescription.js.map +1 -0
  30. package/dist/nodes/vector_store/VectorStoreCouchbase/VectorStoreCouchbase.node.d.ts +16 -0
  31. package/dist/nodes/vector_store/VectorStoreCouchbase/VectorStoreCouchbase.node.js +407 -0
  32. package/dist/nodes/vector_store/VectorStoreCouchbase/VectorStoreCouchbase.node.js.map +1 -0
  33. package/dist/nodes/vector_store/VectorStoreCouchbase/mongodb.dark.svg +3 -0
  34. package/dist/nodes/vector_store/VectorStoreCouchbase/mongodb.svg +3 -0
  35. package/dist/nodes/vector_store/shared/createVectorStoreNode/__tests__/utils.test.d.ts +0 -0
  36. package/dist/nodes/vector_store/shared/createVectorStoreNode/__tests__/utils.test.js +2 -0
  37. package/dist/nodes/vector_store/shared/createVectorStoreNode/__tests__/utils.test.js.map +1 -0
  38. package/dist/nodes/vector_store/shared/createVectorStoreNode/constants.d.ts +4 -0
  39. package/dist/nodes/vector_store/shared/createVectorStoreNode/constants.js +45 -0
  40. package/dist/nodes/vector_store/shared/createVectorStoreNode/constants.js.map +1 -0
  41. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.d.ts +15 -0
  42. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.js +227 -0
  43. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.js.map +1 -0
  44. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.test.d.ts +0 -0
  45. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.test.js +2 -0
  46. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.test.js.map +1 -0
  47. package/dist/nodes/vector_store/shared/createVectorStoreNode/methods/listSearch.d.ts +0 -0
  48. package/dist/nodes/vector_store/shared/createVectorStoreNode/methods/listSearch.js +2 -0
  49. package/dist/nodes/vector_store/shared/createVectorStoreNode/methods/listSearch.js.map +1 -0
  50. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/insertOperation.test.d.ts +0 -0
  51. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/insertOperation.test.js +2 -0
  52. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/insertOperation.test.js.map +1 -0
  53. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/loadOperation.test.d.ts +0 -0
  54. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/loadOperation.test.js +2 -0
  55. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/loadOperation.test.js.map +1 -0
  56. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/operationHandlers.test.d.ts +0 -0
  57. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/operationHandlers.test.js +2 -0
  58. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/operationHandlers.test.js.map +1 -0
  59. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveAsToolOperation.test.d.ts +0 -0
  60. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveAsToolOperation.test.js +2 -0
  61. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveAsToolOperation.test.js.map +1 -0
  62. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.d.ts +0 -0
  63. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.js +2 -0
  64. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.js.map +1 -0
  65. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/updateOperation.test.d.ts +0 -0
  66. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/updateOperation.test.js +2 -0
  67. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/updateOperation.test.js.map +1 -0
  68. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/index.d.ts +5 -0
  69. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/index.js +22 -0
  70. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/index.js.map +1 -0
  71. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/insertOperation.d.ts +5 -0
  72. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/insertOperation.js +36 -0
  73. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/insertOperation.js.map +1 -0
  74. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/loadOperation.d.ts +5 -0
  75. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/loadOperation.js +34 -0
  76. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/loadOperation.js.map +1 -0
  77. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveAsToolOperation.d.ts +5 -0
  78. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveAsToolOperation.js +43 -0
  79. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveAsToolOperation.js.map +1 -0
  80. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.d.ts +5 -0
  81. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.js +17 -0
  82. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.js.map +1 -0
  83. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/updateOperation.d.ts +5 -0
  84. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/updateOperation.js +40 -0
  85. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/updateOperation.js.map +1 -0
  86. package/dist/nodes/vector_store/shared/createVectorStoreNode/types.d.ts +31 -0
  87. package/dist/nodes/vector_store/shared/createVectorStoreNode/types.js +3 -0
  88. package/dist/nodes/vector_store/shared/createVectorStoreNode/types.js.map +1 -0
  89. package/dist/nodes/vector_store/shared/createVectorStoreNode/utils.d.ts +6 -0
  90. package/dist/nodes/vector_store/shared/createVectorStoreNode/utils.js +22 -0
  91. package/dist/nodes/vector_store/shared/createVectorStoreNode/utils.js.map +1 -0
  92. package/dist/nodes/vector_store/shared/processDocuments.d.ts +25 -0
  93. package/dist/nodes/vector_store/shared/processDocuments.js +46 -0
  94. package/dist/nodes/vector_store/shared/processDocuments.js.map +1 -0
  95. package/dist/package.json +29 -19
  96. package/dist/tsconfig.tsbuildinfo +1 -1
  97. package/dist/utils/N8nBinaryLoader.d.ts +18 -0
  98. package/dist/utils/N8nBinaryLoader.js +159 -0
  99. package/dist/utils/N8nBinaryLoader.js.map +1 -0
  100. package/dist/utils/N8nJsonLoader.d.ts +11 -0
  101. package/dist/utils/N8nJsonLoader.js +67 -0
  102. package/dist/utils/N8nJsonLoader.js.map +1 -0
  103. package/dist/utils/N8nTool.d.ts +10 -0
  104. package/dist/utils/N8nTool.js +86 -0
  105. package/dist/utils/N8nTool.js.map +1 -0
  106. package/dist/utils/helpers.d.ts +23 -0
  107. package/dist/utils/helpers.js +172 -0
  108. package/dist/utils/helpers.js.map +1 -0
  109. package/dist/utils/logWrapper.d.ts +27 -0
  110. package/dist/utils/logWrapper.js +297 -0
  111. package/dist/utils/logWrapper.js.map +1 -0
  112. package/dist/utils/sharedFields.d.ts +6 -0
  113. package/dist/utils/sharedFields.js +122 -0
  114. package/dist/utils/sharedFields.js.map +1 -0
  115. package/package.json +35 -27
  116. package/dist/credentials/CouchbaseCredentialsApi.credentials.d.ts +0 -7
  117. package/dist/credentials/CouchbaseCredentialsApi.credentials.js +0 -50
  118. package/dist/credentials/CouchbaseCredentialsApi.credentials.js.map +0 -1
  119. package/dist/nodes/CouchbaseDB/CouchbaseNode.node.d.ts +0 -6
  120. package/dist/nodes/CouchbaseDB/CouchbaseNode.node.js +0 -206
  121. package/dist/nodes/CouchbaseDB/CouchbaseNode.node.js.map +0 -1
  122. package/dist/nodes/CouchbaseNode/CouchbaseNode.node.d.ts +0 -6
  123. package/dist/nodes/CouchbaseNode/CouchbaseNode.node.js +0 -293
  124. package/dist/nodes/CouchbaseNode/CouchbaseNode.node.js.map +0 -1
  125. /package/dist/nodes/{CouchbaseDB → Couchbase}/CBLogomark.svg +0 -0
  126. /package/dist/nodes/{CouchbaseNode/CBLogomark.svg → vector_store/VectorStoreCouchbase/couchbase.svg} +0 -0
@@ -1,293 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CouchbaseNode = void 0;
4
- const n8n_workflow_1 = require("n8n-workflow");
5
- const couchbase_1 = require("couchbase");
6
- class CouchbaseNode {
7
- constructor() {
8
- this.description = {
9
- displayName: 'Couchbase',
10
- name: 'couchbaseNode',
11
- icon: 'file:CBLogomark.svg',
12
- group: ['transform'],
13
- version: 1,
14
- description: 'Couchbase Node to add, update and delete data from couchbase',
15
- defaults: {
16
- name: 'Couchbase',
17
- },
18
- inputs: ['main'],
19
- outputs: ['main'],
20
- credentials: [
21
- {
22
- name: 'couchbaseApi',
23
- required: false,
24
- },
25
- ],
26
- properties: [
27
- {
28
- displayName: 'Operation',
29
- name: 'operation',
30
- type: 'options',
31
- noDataExpression: true,
32
- options: [
33
- {
34
- name: 'Create',
35
- value: 'insert',
36
- description: 'Create document in couchbase',
37
- action: 'Create document in couchbase',
38
- },
39
- {
40
- name: 'Delete',
41
- value: 'remove',
42
- description: 'Delete document in couchbase',
43
- action: 'Delete document in couchbase',
44
- },
45
- {
46
- name: 'Import',
47
- value: 'import',
48
- description: 'Import document in couchbase',
49
- action: 'Import document in couchbase',
50
- },
51
- {
52
- name: 'Query',
53
- value: 'query',
54
- description: 'Query document in couchbase',
55
- action: 'Query document in couchbase',
56
- },
57
- {
58
- name: 'Read',
59
- value: 'find',
60
- description: 'Read document in couchbase',
61
- action: 'Read document in couchbase',
62
- },
63
- {
64
- name: 'Update',
65
- value: 'update',
66
- description: 'Update document in couchbase',
67
- action: 'Update document in couchbase',
68
- },
69
- ],
70
- default: 'insert',
71
- },
72
- {
73
- displayName: 'Options',
74
- name: 'options',
75
- type: 'collection',
76
- displayOptions: {
77
- show: {
78
- operation: ['insert'],
79
- },
80
- },
81
- default: {},
82
- placeholder: 'Add options',
83
- description: 'Add query options',
84
- options: [
85
- {
86
- displayName: 'Specify Document ID',
87
- name: 'specified',
88
- type: 'string',
89
- default: "",
90
- description: 'Specify ID',
91
- },
92
- {
93
- displayName: 'Generate Document ID',
94
- name: 'generate',
95
- type: 'boolean',
96
- default: false,
97
- description: 'Whether Generated ID',
98
- },
99
- ],
100
- },
101
- {
102
- displayName: 'Value',
103
- name: 'myDocument',
104
- type: 'string',
105
- displayOptions: {
106
- show: {
107
- operation: ['insert'],
108
- },
109
- },
110
- default: '',
111
- placeholder: 'Placeholder value',
112
- description: 'The description text',
113
- },
114
- {
115
- displayName: 'Document ID',
116
- name: 'myDocument',
117
- type: 'string',
118
- displayOptions: {
119
- show: {
120
- operation: ['update'],
121
- },
122
- },
123
- default: '',
124
- placeholder: 'Placeholder value',
125
- description: 'The description text',
126
- },
127
- {
128
- displayName: 'New Value',
129
- name: 'myValue',
130
- type: 'string',
131
- displayOptions: {
132
- show: {
133
- operation: ['update'],
134
- },
135
- },
136
- default: '',
137
- placeholder: 'Placeholder value',
138
- description: 'The description text',
139
- },
140
- {
141
- displayName: 'Document ID',
142
- name: 'myDocument',
143
- type: 'string',
144
- displayOptions: {
145
- show: {
146
- operation: ['remove'],
147
- },
148
- },
149
- default: '',
150
- placeholder: 'Placeholder value',
151
- description: 'The description text',
152
- },
153
- {
154
- displayName: 'Document ID',
155
- name: 'myDocument',
156
- type: 'string',
157
- displayOptions: {
158
- show: {
159
- operation: ['find'],
160
- },
161
- },
162
- default: '',
163
- placeholder: 'Placeholder value',
164
- description: 'The description text',
165
- },
166
- {
167
- displayName: 'Run Query',
168
- name: 'query',
169
- type: 'string',
170
- displayOptions: {
171
- show: {
172
- operation: ['query'],
173
- },
174
- },
175
- typeOptions: {
176
- rows: 5,
177
- },
178
- default: '',
179
- placeholder: 'e.g. SELECT * FROM users WHERE name="Michael"',
180
- description: 'The N1QL query to execute',
181
- },
182
- ],
183
- };
184
- }
185
- async execute() {
186
- const credentials = await this.getCredentials('couchbaseApi');
187
- const myConnection = credentials.MyConnection;
188
- const myUsername = credentials.MyUsername;
189
- const myPassword = credentials.MyPassword;
190
- const myBucket = credentials.MyBucket;
191
- const myScope = credentials.MyScope;
192
- const myCollection = credentials.MyCollection;
193
- const items = this.getInputData();
194
- let item;
195
- let item2;
196
- let item3;
197
- let item5;
198
- let myDocument;
199
- let myNewValue;
200
- let myNewQuery;
201
- let readJson;
202
- for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
203
- const uuid = require("uuid");
204
- const id = uuid.v4();
205
- try {
206
- myNewQuery = this.getNodeParameter('query', itemIndex, '');
207
- myNewValue = this.getNodeParameter('myValue', itemIndex, '');
208
- myDocument = this.getNodeParameter('myDocument', itemIndex, '');
209
- const clusterConnStr = myConnection;
210
- const username = myUsername;
211
- const password = myPassword;
212
- const bucketName = myBucket;
213
- const cluster = await (0, couchbase_1.connect)(clusterConnStr, {
214
- username: username,
215
- password: password,
216
- configProfile: 'wanDevelopment'
217
- });
218
- const bucket = cluster.bucket(bucketName);
219
- const collection = bucket
220
- .scope(myScope)
221
- .collection(myCollection);
222
- const operation = this.getNodeParameter('operation', 0);
223
- if (operation === 'insert') {
224
- const options = this.getNodeParameter('options', 0);
225
- const specified = options.specified;
226
- const generate = options.generate;
227
- if (generate == true) {
228
- item = items[itemIndex];
229
- item.json['Document'] = myDocument;
230
- await collection.insert(id, item.json);
231
- }
232
- else if (specified != "") {
233
- item = items[itemIndex];
234
- item.json['Document'] = myDocument;
235
- await collection.insert(specified, item.json);
236
- }
237
- }
238
- else if (operation === 'update') {
239
- item2 = items[itemIndex];
240
- item2.json['Document'] = myNewValue;
241
- await collection.upsert(myDocument, item2.json);
242
- }
243
- else if (operation === 'remove') {
244
- await collection.remove(myDocument);
245
- item = items[itemIndex];
246
- item.json[''] = 'Document Deleted';
247
- }
248
- else if (operation === 'find') {
249
- const getResult = await collection.get(myDocument);
250
- console.log('Get Result:', getResult);
251
- readJson = JSON.stringify(getResult.content);
252
- console.log('Get Result in String:', readJson);
253
- item3 = items[itemIndex];
254
- item3.json[''] = getResult.content;
255
- }
256
- else if (operation === 'import') {
257
- item = items[itemIndex];
258
- await collection.insert(id, item);
259
- }
260
- else if (operation === 'query') {
261
- const queryResult = await bucket
262
- .scope(myScope)
263
- .query(myNewQuery);
264
- console.log('Query Results:');
265
- queryResult.rows.forEach((row) => {
266
- console.log(row);
267
- });
268
- readJson = JSON.stringify(queryResult.rows);
269
- console.log('Get Result in String:', readJson);
270
- item5 = items[itemIndex];
271
- item5.json[''] = queryResult.rows;
272
- }
273
- }
274
- catch (error) {
275
- if (this.continueOnFail()) {
276
- items.push({ json: this.getInputData(itemIndex)[0].json, error, pairedItem: itemIndex });
277
- }
278
- else {
279
- if (error.context) {
280
- error.context.itemIndex = itemIndex;
281
- throw error;
282
- }
283
- throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, {
284
- itemIndex,
285
- });
286
- }
287
- }
288
- }
289
- return this.prepareOutputData(items);
290
- }
291
- }
292
- exports.CouchbaseNode = CouchbaseNode;
293
- //# sourceMappingURL=CouchbaseNode.node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CouchbaseNode.node.js","sourceRoot":"","sources":["../../../nodes/CouchbaseNode/CouchbaseNode.node.ts"],"names":[],"mappings":";;;AACA,+CAKsB;AAEtB,yCAMoB;AAEpB,MAAa,aAAa;IAA1B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,qBAAqB;YAC3B,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,8DAA8D;YAC3E,QAAQ,EAAE;gBACT,IAAI,EAAE,WAAW;aACjB;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,O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