mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 13:14:07 -08:00
33 lines
650 B
TypeScript
33 lines
650 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class AgileCrmApi implements ICredentialType {
|
|
name = 'agileCrmApi';
|
|
displayName = 'AgileCRM API';
|
|
documentationUrl = 'agileCrm';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Email',
|
|
name: 'email',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'API Key',
|
|
name: 'apiKey',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Subdomain',
|
|
name: 'subdomain',
|
|
type: 'string',
|
|
default: '',
|
|
placeholder: 'example',
|
|
description: 'If the domain is https://example.agilecrm.com "example" would have to be entered.',
|
|
},
|
|
];
|
|
}
|