UNPKG

n8n-nodes-pncp-aec

Version:

n8n node for fetching public construction tenders from Brazil's PNCP (Portal Nacional de Contratações Públicas)

21 lines (20 loc) 1.14 kB
import type { IExecuteFunctions } from 'n8n-workflow'; import { INodeType, INodeTypeDescription, INodeExecutionData, IDataObject } from 'n8n-workflow'; export declare class AecTenders implements INodeType { description: INodeTypeDescription; execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>; private validateCNPJ; private formatDate; private buildPortalUrl; private transformTenderData; private categorizeTender; private calculateRiskScore; private assessDataQuality; private calculateUrgencyLevel; makeAPIRequest(executeFunctions: IExecuteFunctions, endpoint: string, params?: IDataObject, retryCount?: number): Promise<IDataObject>; private sleep; listTendersByDate(executeFunctions: IExecuteFunctions, itemIndex: number): Promise<IDataObject[]>; getTendersWithOpenProposals(executeFunctions: IExecuteFunctions, itemIndex: number): Promise<IDataObject[]>; getTenderById(executeFunctions: IExecuteFunctions, itemIndex: number): Promise<IDataObject[]>; searchTendersByKeyword(executeFunctions: IExecuteFunctions, itemIndex: number): Promise<IDataObject[]>; }