n8n-nodes-zalo-nnt
Version:
Unofficial Zalo integration for n8n - Send messages, manage groups, user operations with QR login. No API key required, works via browser simulation.
29 lines (28 loc) • 1.09 kB
TypeScript
import type { ProcessedAttachment } from './types';
export declare function parseUrls(input: string): string[];
export declare function parseLocalPaths(input: string): string[];
export declare function validateLocalFile(filePath: string): {
valid: boolean;
error?: string;
absolutePath?: string;
};
export declare function processUrl(url: string, logger: any): Promise<{
filePath: string | null;
error: string | null;
}>;
export declare function processLocalPath(filePath: string, logger: any): Promise<{
filePath: string | null;
error: string | null;
isConverted: boolean;
}>;
export declare function processLocalPaths(paths: string[], logger: any): Promise<{
localFiles: string[];
downloadedFiles: string[];
errors: string[];
}>;
export declare function processUrls(urls: string[], logger: any): Promise<{
filePaths: string[];
errors: string[];
}>;
export declare function processAttachments(attachments: any, logger: any): Promise<ProcessedAttachment>;
export declare function cleanupFiles(filePaths: string[], logger: any): Promise<void>;