n8n-nodes-notion-advanced 1.1.15-beta → 1.1.16-beta

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.
@@ -0,0 +1,13 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class NotionAITool implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ private createPageWithContent;
6
+ private addContentToPage;
7
+ private searchPages;
8
+ private updatePageProperties;
9
+ private createDatabaseEntry;
10
+ private queryDatabase;
11
+ private parseContentToBlocks;
12
+ private parsePropertiesToUpdate;
13
+ }
@@ -281,22 +281,22 @@ export class NotionAITool implements INodeType {
281
281
 
282
282
  switch (operation) {
283
283
  case 'createPageWithContent':
284
- result = await NotionAITool.prototype.createPageWithContent.call(this, i);
284
+ result = await this.createPageWithContent(i);
285
285
  break;
286
286
  case 'addContentToPage':
287
- result = await NotionAITool.prototype.addContentToPage.call(this, i);
287
+ result = await this.addContentToPage(i);
288
288
  break;
289
289
  case 'searchPages':
290
- result = await NotionAITool.prototype.searchPages.call(this, i);
290
+ result = await this.searchPages(i);
291
291
  break;
292
292
  case 'updatePageProperties':
293
- result = await NotionAITool.prototype.updatePageProperties.call(this, i);
293
+ result = await this.updatePageProperties(i);
294
294
  break;
295
295
  case 'createDatabaseEntry':
296
- result = await NotionAITool.prototype.createDatabaseEntry.call(this, i);
296
+ result = await this.createDatabaseEntry(i);
297
297
  break;
298
298
  case 'queryDatabase':
299
- result = await NotionAITool.prototype.queryDatabase.call(this, i);
299
+ result = await this.queryDatabase(i);
300
300
  break;
301
301
  default:
302
302
  throw new NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-notion-advanced",
3
- "version": "1.1.15-beta",
3
+ "version": "1.1.16-beta",
4
4
  "description": "Advanced n8n Notion nodes: Full-featured workflow node + AI Agent Tool for intelligent Notion automation with 25+ block types (BETA)",
5
5
  "scripts": {
6
6
  "build": "node dev-notes/build-for-install.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-notion-advanced",
3
- "version": "1.1.15-beta",
3
+ "version": "1.1.16-beta",
4
4
  "description": "Advanced n8n Notion nodes: Full-featured workflow node + AI Agent Tool for intelligent Notion automation with 25+ block types (BETA)",
5
5
  "scripts": {
6
6
  "build": "node dev-notes/build-for-install.js",