UNPKG

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

18 lines (17 loc) 1.85 kB
import { AxiosResponse } from 'axios'; import { SharePointFile, SharePointFileWithDownload, SharePointFileMetadata, MoveFileRequest } from './types'; export declare const getSiteId: (siteUrl: string, token: string) => Promise<string>; export declare const getListId: (siteUrl: string, token: string, siteId: string) => Promise<string>; export declare const getDriveId: (siteUrl: string, token: string, siteId: string) => Promise<string>; export declare const getFolderId: (siteUrl: string, token: string, driveId: string) => Promise<string>; export declare const getAllFiles: (siteUrl: string, token: string, driveId: string) => Promise<SharePointFile[]>; export declare const getAllFilesByFolderId: (folderId: string, driveId: string, token: string) => Promise<SharePointFileWithDownload[]>; export declare const getAllFilesByListId: (siteId: string, listId: string, folderPath: string, token: string) => Promise<SharePointFileWithDownload[]>; export declare const getFileByListId: (siteId: string, listId: string, fileId: string, token: string) => Promise<SharePointFileMetadata>; export declare const moveFile: (request: MoveFileRequest) => Promise<AxiosResponse>; export declare const tagFile: (fileId: string, siteId: string, listId: string, token: string, tags: string) => Promise<AxiosResponse>; export declare const getFileContentByFileId: (siteId: string, driveId: string, fileId: string, token: string) => Promise<any>; export declare const downloadFile: (siteId: string, driveId: string, fileId: string, filename: string, token: string) => Promise<string>; export declare const getFileContentByUrl: (url: string, token?: string) => Promise<any>; export declare const getSiteRelativePathByUrl: (siteUrl: string) => string; export declare const uploadResult: (results: any[], folderUrl: string, token: string) => Promise<AxiosResponse>;