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

33 lines
659 B
TypeScript
Raw Normal View History

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