import { INodeParams, INodeCredential } from '../src/Interface'
class ArizeApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Arize API'
this.name = 'arizeApi'
this.version = 1.0
this.description =
'Refer to official guide on how to get API keys on Arize.'
this.inputs = [
{
label: 'API Key',
name: 'arizeApiKey',
type: 'password',
placeholder: ''
},
{
label: 'Space ID',
name: 'arizeSpaceId',
type: 'string',
placeholder: ''
},
{
label: 'Endpoint',
name: 'arizeEndpoint',
type: 'string',
default: 'https://otlp.arize.com'
}
]
}
}
module.exports = { credClass: ArizeApi }