n8n-nodes-smartgent
Version:
SmartGent custom nodes for n8n - AI-powered automation and intelligent workflow integrations including LiteLLM chat completions, SharePoint file monitoring, and enterprise search
16 lines (15 loc) • 652 B
TypeScript
import type { INodeExecutionData, INodeType, INodeTypeDescription, IPollFunctions } from 'n8n-workflow';
export declare class SmartgentSharePointTrigger implements INodeType {
description: INodeTypeDescription;
poll(this: IPollFunctions): Promise<INodeExecutionData[][] | null>;
private static getAccessToken;
private static getSiteId;
private static getDriveId;
private static listDocuments;
private static getDocumentsFromFolder;
private static getDocumentsFromSubfolders;
private static isRootPath;
private static cleanFolderPath;
private static getFoldersFromPath;
private static downloadDocument;
}