2020-03-08 19:39:20 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
|
|
|
NodePropertyTypes,
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class HubspotDeveloperApi implements ICredentialType {
|
|
|
|
name = 'hubspotDeveloperApi';
|
2020-09-22 23:14:24 -07:00
|
|
|
displayName = 'Hubspot Developer API';
|
2020-08-17 05:42:09 -07:00
|
|
|
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: '',
|
|
|
|
},
|
2021-01-31 23:31:40 -08:00
|
|
|
{
|
|
|
|
displayName: 'App ID',
|
|
|
|
name: 'appId',
|
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
required: true,
|
|
|
|
default: '',
|
|
|
|
description: 'The App ID',
|
|
|
|
},
|
2020-03-08 19:39:20 -07:00
|
|
|
];
|
|
|
|
}
|