UNPKG

n8n-nodes-cativa

Version:

This is an n8n community node to communicate with Cativa.

10 lines (9 loc) 812 B
import { OptionsWithUri } from 'request'; import { IDataObject, IExecuteFunctions, IHttpRequestMethods, IN8nHttpFullResponse, IN8nHttpResponse, IPollFunctions, ITriggerFunctions } from 'n8n-workflow'; import type { Cativa } from './models'; import { Response } from 'express'; export declare function apiRequest(this: IExecuteFunctions | ITriggerFunctions | IPollFunctions, method: IHttpRequestMethods, endpoint: string, body?: any, qs?: IDataObject, headers?: IDataObject, returnFullResponse?: boolean): Promise<IN8nHttpFullResponse | IN8nHttpResponse>; export declare function authorizationError(resp: Response, realm: string, responseCode: number, message?: string): { noWebhookResponse: boolean; }; export declare function requestAccountOptions(credentials: Cativa.Credentials): OptionsWithUri;