UNPKG

@kadam-net/n8n-nodes-kadam

Version:

Kadam node for n8n to manage campaigns, creatives, and more.

12 lines (11 loc) 623 B
import { IExecuteFunctions } from 'n8n-workflow'; type ContinueOnFailError = { error: { code: any; message: any; }; }; export declare function makeApiRequest<T = any>(this: IExecuteFunctions, method: 'get' | 'post' | 'put' | 'delete', url: string, headers: any, params?: any, data?: any, retries?: number): Promise<T | ContinueOnFailError>; export declare function fetchAll(this: IExecuteFunctions, url: string, headers: any, params: any, limitKey?: string, offsetKey?: string): Promise<any>; export declare function isContinueOnFailError(response: any): response is ContinueOnFailError; export {};