UNPKG

n8n-nodes-zep-stemx-memory

Version:
45 lines (44 loc) 1.34 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ZepApi = void 0; class ZepApi { constructor() { this.name = 'zepStemxApi'; this.displayName = 'Zep Stemx API'; this.documentationUrl = 'https://docs.getzep.com/'; this.properties = [ { displayName: 'Base URL', name: 'baseUrl', type: 'string', default: 'https://your-zep-service-url.com', description: 'The base URL of your Zep Memory Service', required: true, }, { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', description: 'Your N8N API key for authentication', required: true, }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: '={{$credentials.baseUrl}}', url: '/health', }, }; } } exports.ZepApi = ZepApi;