n8n-nodes-immometrica-v2
Version:
n8n community node for ImmoMetrica real estate data extraction with CSV-based approach and agent tool compatibility
37 lines • 2.15 kB
TypeScript
import type { INodeProperties } from 'n8n-workflow';
export declare const searchResource: INodeProperties;
export declare const maxResultsResource: INodeProperties;
export declare const enableDetailScrapingResource: INodeProperties;
export declare const filterOptionsResource: INodeProperties;
export declare class CSVProcessor {
static parseCSV(csvContent: string, searchName?: string, searchId?: string): any[];
static parseCSVLine(line: string, delimiter?: string): string[];
static mapCSVRowToProperty(headers: string[], values: string[], searchName: string, searchId: string): any;
static getCSVValue(headers: string[], values: string[], possibleNames: string[]): string | undefined;
static parseDate(value: string | undefined): string | undefined;
static parseGermanNumber(value: string): number;
static parseGermanCurrency(value: string): number;
static parseGermanArea(value: string): number;
static parseGermanBoolean(value: string | undefined): boolean;
static normalizePropertyType(value: string): string;
static derivePropertyType(sourcePlatform: string): string;
static deriveBuildingType(rooms: string): string;
static extractIdFromUrl(url: string): string;
static extractPropertyIdFromCSV(headers: string[], values: string[]): string | null;
static deriveConditionFromBuildingData(yearBuilt: string, buildingType: string): string;
static generateFallbackPropertyId(property: any, searchId: string): string | null;
static validatePropertyData(property: any): boolean;
static cleanAndValidateCSVData(rawData: any[]): any[];
}
export declare class DataValidator {
static validateSearchId(searchId: string): boolean;
static validateMaxResults(maxResults: number): boolean;
static validateFilterOptions(filterOptions: any): boolean;
}
export declare class ErrorHandler {
static handleNetworkError(error: any): Error;
static handleParsingError(error: any, context: string): Error;
static handleAuthenticationError(error: any): Error;
static handleWebDriverError(error: any): Error;
}
//# sourceMappingURL=ImmoMetricaSearch.resource.d.ts.map