n8n/packages/nodes-base/credentials/HubspotDeveloperApi.credentials.ts
2021-06-12 18:39:55 +02:00

33 lines
613 B
TypeScript

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