2020-12-19 05:08:31 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
|
|
|
NodePropertyTypes,
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
|
|
|
|
export class EgoiApi implements ICredentialType {
|
|
|
|
name = 'egoiApi';
|
2021-01-04 23:46:07 -08:00
|
|
|
displayName = 'E-goi API';
|
2020-12-29 03:28:37 -08:00
|
|
|
documentationUrl = 'egoi';
|
2020-12-19 05:08:31 -08:00
|
|
|
properties = [
|
|
|
|
// The credentials to get from user and save encrypted.
|
|
|
|
// Properties can be defined exactly in the same way
|
|
|
|
// as node properties.
|
|
|
|
{
|
|
|
|
displayName: 'API Key',
|
|
|
|
name: 'apiKey',
|
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
2020-12-29 03:28:37 -08:00
|
|
|
}
|