2020-10-13 01:48:20 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2020-10-13 01:48:20 -07:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class SendyApi implements ICredentialType {
|
|
|
|
name = 'sendyApi';
|
|
|
|
displayName = 'Sendy API';
|
2020-10-19 01:17:38 -07:00
|
|
|
documentationUrl = 'sendy';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-10-13 01:48:20 -07:00
|
|
|
{
|
|
|
|
displayName: 'URL',
|
|
|
|
name: 'url',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-10-13 01:48:20 -07:00
|
|
|
default: '',
|
|
|
|
placeholder: 'https://yourdomain.com',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'API Key',
|
|
|
|
name: 'apiKey',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-10-13 01:48:20 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|