mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
26 lines
478 B
TypeScript
26 lines
478 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
export class SendyApi implements ICredentialType {
|
|
name = 'sendyApi';
|
|
displayName = 'Sendy API';
|
|
documentationUrl = 'sendy';
|
|
properties = [
|
|
{
|
|
displayName: 'URL',
|
|
name: 'url',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
placeholder: 'https://yourdomain.com',
|
|
},
|
|
{
|
|
displayName: 'API Key',
|
|
name: 'apiKey',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
];
|
|
}
|