mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
dc98de1ab2
* ⚡ Add support for multiple subscriptions in Hubspot Trigger * ⚡ Load object properties for the user * ⚡ Improvements * ⚡ Some improvements to the Hubspot-Node Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
33 lines
659 B
TypeScript
33 lines
659 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
export class HubspotDeveloperApi implements ICredentialType {
|
|
name = 'hubspotDeveloperApi';
|
|
displayName = 'Hubspot Developer 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: '',
|
|
},
|
|
{
|
|
displayName: 'App ID',
|
|
name: 'appId',
|
|
type: 'string' as NodePropertyTypes,
|
|
required: true,
|
|
default: '',
|
|
description: 'The App ID',
|
|
},
|
|
];
|
|
}
|