UNPKG

n8n-nodes-smartgent

Version:

SmartGent custom nodes for n8n - AI-powered automation and intelligent workflow integrations including LiteLLM chat completions, SharePoint file monitoring, and enterprise search

46 lines 1.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SmartGentApi = void 0; class SmartGentApi { constructor() { this.name = 'smartGentApi'; this.displayName = 'SmartGent API'; this.documentationUrl = 'https://docs.smartgent.ai/api'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', required: true, description: 'Your SmartGent API key', }, { displayName: 'Base URL', name: 'baseUrl', type: 'string', default: 'https://smartgendev.w3btest.com', required: true, description: 'The base URL for SmartGent API', }, ]; this.authenticate = { type: 'generic', properties: { headers: { 'smartgen-api-key': '={{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: '={{$credentials.baseUrl}}', url: '/api/v1/health', method: 'GET', }, }; } } exports.SmartGentApi = SmartGentApi; //# sourceMappingURL=SmartGentApi.credentials.js.map