27 lines
722 B
TypeScript
27 lines
722 B
TypeScript
import { INodeParams, INodeCredential } from '../src/Interface'
|
|
|
|
class ZepMemoryApi implements INodeCredential {
|
|
label: string
|
|
name: string
|
|
version: number
|
|
description: string
|
|
inputs: INodeParams[]
|
|
|
|
constructor() {
|
|
this.label = 'Zep Memory API'
|
|
this.name = 'zepMemoryApi'
|
|
this.version = 1.0
|
|
this.description =
|
|
'Refer to <a target="_blank" href="https://docs.getzep.com/deployment/auth/">official guide</a> on how to create API key on Zep'
|
|
this.inputs = [
|
|
{
|
|
label: 'API Key',
|
|
name: 'apiKey',
|
|
type: 'password'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = { credClass: ZepMemoryApi }
|