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

22 lines
600 B
TypeScript
Raw Normal View History

import { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-01-28 06:46:38 -08:00
export class HarvestApi implements ICredentialType {
name = 'harvestApi';
2020-01-28 06:46:38 -08:00
displayName = 'Harvest API';
documentationUrl = 'harvest';
properties: INodeProperties[] = [
2020-01-28 06:46:38 -08:00
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string',
typeOptions: { password: true },
2020-01-28 06:46:38 -08:00
default: '',
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
},
];
}