UNPKG

@couleetech/n8n-nodes-enlightenedmsp

Version:

n8n node for EnlightenedMSP ticketing and workflow automation

16 lines (15 loc) 636 B
import { IExecuteFunctions } from 'n8n-workflow'; import { AxiosInstance } from 'axios'; export declare abstract class GraphqlBase { protected readonly endpoint: string; protected readonly apiKey: string; protected readonly userId?: string | undefined; protected client: AxiosInstance; constructor(endpoint: string, apiKey: string, userId?: string | undefined); protected executeGraphql(query: string, variables: Record<string, unknown>): Promise<any>; static getCredentials(executeFunctions: IExecuteFunctions): Promise<{ endpoint: string; apiKey: string; userId?: string; }>; }