UNPKG

n8n-nodes-bizappay

Version:

Unofficial community n8n node for Bizappay API integration - NOT officially endorsed by Bizappay

22 lines (21 loc) 784 B
import { IDataObject, IExecuteFunctions, IHttpRequestMethods, ILoadOptionsFunctions } from 'n8n-workflow'; export interface BizappayApiResponse { status: string; msg?: string; token?: string; categories?: IDataObject[]; error?: string; [key: string]: unknown; } export interface BizappayCredentials { apiKey: string; } interface CacheStats { hits: number; misses: number; totalRequests: number; } export declare function getCacheStats(): CacheStats; export declare function clearTokenCache(): void; export declare function bizappayApiRequest(this: IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, query?: IDataObject, headers?: IDataObject): Promise<BizappayApiResponse>; export {};