n8n/packages/nodes-base/credentials/EgoiApi.credentials.ts
Ricardo Espinoza 48830eda77
Add Egoi node (#1227)
* Add E-goi Node

*  Improvements to #1224

*  Small improvements

*  Minor improvements to Egoi-Node

*  Add 'simple' option to get and getAll operations.

*  Minor improvements to Egoi-Node

Co-authored-by: fbobiano <fbobiano@e-goi.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-12-19 14:08:31 +01:00

21 lines
439 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class EgoiApi implements ICredentialType {
name = 'egoiApi';
displayName = 'e-goi API';
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: '',
},
];
}