n8n/packages/nodes-base/credentials/AgileCrmApi.credentials.ts

32 lines
664 B
TypeScript
Raw Normal View History

2020-04-30 05:03:36 -07:00
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class AgileCrmApi implements ICredentialType {
name = 'agileCrmApi';
displayName = 'AgileCRM API';
properties = [
{
displayName: 'Email',
name: 'email',
type: 'string' as NodePropertyTypes,
default: '',
2020-05-22 12:17:27 -07:00
},
{
2020-04-30 05:03:36 -07:00
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
default: '',
},
2020-05-22 01:22:00 -07:00
{
displayName: 'Subdomain',
name: 'subdomain',
type: 'string' as NodePropertyTypes,
default: '',
2020-05-22 12:17:27 -07:00
placeholder: 'example',
description: 'If the domain is https://example.agilecrm.com "example" would have to be entered.',
2020-05-22 01:22:00 -07:00
},
2020-04-30 05:03:36 -07:00
];
}