UNPKG

n8n-nodes-quepasa

Version:

This is an n8n community node. It lets you use Quepasa in your n8n workflows. (use with Quepasa >= v4)

13 lines (12 loc) 1.07 kB
import { IDataObject, IExecuteFunctions, IHookFunctions, IHttpRequestMethods, ILoadOptionsFunctions, IN8nHttpFullResponse } from 'n8n-workflow'; import { OptionsWithUri } from 'request'; import type { Quepasa as QTypes } from './types'; import { Response } from 'express'; export declare function apiRequest(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, endpoint?: QTypes.Endpoint, body?: any, qs?: IDataObject, uri?: string, headers?: IDataObject): Promise<IN8nHttpFullResponse>; export declare function eventExists(currentEvents: string[], webhookEvents: IDataObject): boolean; export declare function authorizationError(resp: Response, realm: string, responseCode: number, message?: string): { noWebhookResponse: boolean; }; export declare function requestBotInfo(credentials: QTypes.PathCredentials): OptionsWithUri; export declare function createWebHookFromTrigger(source: IHookFunctions): QTypes.Webhook; export declare function getFileNameFromHeaderContent(source: IDataObject): string | undefined;