2019-08-20 23:45:03 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2019-08-20 23:45:03 -07:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
|
|
|
|
export class ActiveCampaignApi implements ICredentialType {
|
|
|
|
name = 'activeCampaignApi';
|
|
|
|
displayName = 'ActiveCampaign API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'activeCampaign';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2019-08-20 23:45:03 -07:00
|
|
|
{
|
|
|
|
displayName: 'API URL',
|
|
|
|
name: 'apiUrl',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-08-20 23:45:03 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'API Key',
|
|
|
|
name: 'apiKey',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-08-20 23:45:03 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|