2020-03-08 19:39:20 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2020-03-08 19:39:20 -07:00
|
|
|
} 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';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-03-08 19:39:20 -07:00
|
|
|
{
|
|
|
|
displayName: 'Developer API Key',
|
|
|
|
name: 'apiKey',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-03-08 19:39:20 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Client Secret',
|
|
|
|
name: 'clientSecret',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-03-08 19:39:20 -07:00
|
|
|
default: '',
|
|
|
|
},
|
2021-01-31 23:31:40 -08:00
|
|
|
{
|
|
|
|
displayName: 'App ID',
|
|
|
|
name: 'appId',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2021-01-31 23:31:40 -08:00
|
|
|
required: true,
|
|
|
|
default: '',
|
|
|
|
description: 'The App ID',
|
|
|
|
},
|
2020-03-08 19:39:20 -07:00
|
|
|
];
|
|
|
|
}
|