n8n/packages/nodes-base/credentials/AgileCrmApi.credentials.ts
2020-04-30 14:03:36 +02:00

24 lines
432 B
TypeScript

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: '',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}