import { IVersion } from '@/Interface'; import { INSTANCE_ID_HEADER } from '@/constants'; import { IDataObject } from 'n8n-workflow'; import { get } from './helpers'; export async function getNextVersions(endpoint: string, version: string, instanceId: string): Promise { const headers = {[INSTANCE_ID_HEADER as string] : instanceId}; return await get(endpoint, version, {}, headers); }