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

20 lines
560 B
TypeScript
Raw Normal View History

2020-01-28 06:46:38 -08:00
import {
ICredentialType,
INodeProperties,
2020-01-28 06:46:38 -08:00
} from 'n8n-workflow';
export class HarvestApi implements ICredentialType {
name = 'harvestApi';
displayName = 'Harvest API';
documentationUrl = 'harvest';
properties: INodeProperties[] = [
2020-01-28 06:46:38 -08:00
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string',
2020-01-28 06:46:38 -08:00
default: '',
2020-10-22 06:46:03 -07:00
description: 'Visit your account details page, and grab the Access Token. See <a href="https://help.getharvest.com/api-v2/authentication-api/authentication/authentication/">Harvest Personal Access Tokens</a>.',
2020-01-28 06:46:38 -08:00
},
];
}