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

25 lines
491 B
TypeScript
Raw Normal View History

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