2020-01-15 05:55:46 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2020-01-15 05:55:46 -08:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class MauticApi implements ICredentialType {
|
|
|
|
name = 'mauticApi';
|
|
|
|
displayName = 'Mautic API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'mautic';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-01-15 05:55:46 -08:00
|
|
|
{
|
|
|
|
displayName: 'URL',
|
|
|
|
name: 'url',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-01-15 05:55:46 -08:00
|
|
|
default: '',
|
2020-01-15 18:53:43 -08:00
|
|
|
placeholder: 'https://name.mautic.net',
|
2020-01-15 05:55:46 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Username',
|
|
|
|
name: 'username',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-01-15 05:55:46 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Password',
|
|
|
|
name: 'password',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-01-17 05:57:35 -08:00
|
|
|
typeOptions: {
|
|
|
|
password: true,
|
|
|
|
},
|
2020-01-15 05:55:46 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|