n8n/packages/nodes-base/credentials/HubspotDeveloperApi.credentials.ts
2020-08-17 14:42:09 +02:00

25 lines
491 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class HubspotDeveloperApi implements ICredentialType {
name = 'hubspotDeveloperApi';
displayName = 'Hubspot API';
documentationUrl = 'hubspot';
properties = [
{
displayName: 'Developer API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Client Secret',
name: 'clientSecret',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}