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

33 lines
613 B
TypeScript
Raw Normal View History

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