2019-10-03 08:53:03 +02:00
|
|
|
import {
|
|
|
|
|
ICredentialType,
|
|
|
|
|
NodePropertyTypes,
|
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
2021-12-02 12:23:05 +02:00
|
|
|
export class FriendGridApi implements ICredentialType {
|
|
|
|
|
name = 'friendGridApi';
|
|
|
|
|
displayName = 'FriendGrid API';
|
|
|
|
|
documentationUrl = 'friendGrid';
|
2019-10-03 08:53:03 +02:00
|
|
|
properties = [
|
|
|
|
|
// The credentials to get from user and save encrypted.
|
|
|
|
|
// Properties can be defined exactly in the same way
|
|
|
|
|
// as node properties.
|
|
|
|
|
{
|
2021-12-02 12:23:05 +02:00
|
|
|
displayName: 'API Key',
|
|
|
|
|
name: 'apiKey',
|
2019-10-03 08:53:03 +02:00
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
|
default: '',
|
|
|
|
|
},
|
|
|
|
|
];
|
2021-12-02 12:23:05 +02:00
|
|
|
}
|