mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
25 lines
442 B
TypeScript
25 lines
442 B
TypeScript
|
import {
|
||
|
ICredentialType,
|
||
|
NodePropertyTypes,
|
||
|
} from 'n8n-workflow';
|
||
|
|
||
|
|
||
|
export class ActiveCampaignApi implements ICredentialType {
|
||
|
name = 'activeCampaignApi';
|
||
|
displayName = 'ActiveCampaign API';
|
||
|
properties = [
|
||
|
{
|
||
|
displayName: 'API URL',
|
||
|
name: 'apiUrl',
|
||
|
type: 'string' as NodePropertyTypes,
|
||
|
default: '',
|
||
|
},
|
||
|
{
|
||
|
displayName: 'API Key',
|
||
|
name: 'apiKey',
|
||
|
type: 'string' as NodePropertyTypes,
|
||
|
default: '',
|
||
|
},
|
||
|
];
|
||
|
}
|