UNPKG

n8n-nodes-octavehq

Version:

Octave is the AI-powered messaging brain for B2B go-to-market teams, helping articulate product value, synthesize customer interaction data, and deploy consistent, effective messaging across all channels.

45 lines 1.48 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OctaveApi = void 0; class OctaveApi { constructor() { this.name = 'octaveApi'; this.displayName = 'Octave API'; this.documentationUrl = 'https://docs.octavehq.com/'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', required: true, description: 'Your Octave API Key (found in your Octave dashboard)', }, { displayName: 'Base URL', name: 'baseUrl', type: 'string', default: 'https://app.octavehq.com', description: 'The base URL for the Octave API (e.g., https://app.octavehq.com)', }, ]; this.authenticate = { type: 'generic', properties: { headers: { 'api_key': '={{$credentials.apiKey}}', 'x-request-source': 'n8n', }, }, }; this.test = { request: { baseURL: '={{ $credentials.baseUrl.replace(new RegExp("/$"), "") }}', url: '/api/v2/agents/list', }, }; } } exports.OctaveApi = OctaveApi; //# sourceMappingURL=OctaveApi.credentials.js.map