import { INodeParams, INodeCredential } from '../src/Interface' class VoyageAIApi implements INodeCredential { label: string name: string version: number description: string inputs: INodeParams[] constructor() { this.label = 'Voyage AI API' this.name = 'voyageAIApi' this.version = 1.0 this.description = 'Refer to official guide on how to get an API Key' this.inputs = [ { label: 'Voyage AI Endpoint', name: 'endpoint', type: 'string', default: 'https://api.voyageai.com/v1/embeddings' }, { label: 'Voyage AI API Key', name: 'apiKey', type: 'password' } ] } } module.exports = { credClass: VoyageAIApi }