mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
1c229a7b52
* ⬆️ Upgrade linter * 📦 Update `package-lock.json` * 👕 Enable rule * 👕 Apply rule * 📦 Re-update `package-lock.json`
19 lines
597 B
TypeScript
19 lines
597 B
TypeScript
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
|
|
export class HarvestApi implements ICredentialType {
|
|
name = 'harvestApi';
|
|
displayName = 'Harvest API';
|
|
documentationUrl = 'harvest';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Access Token',
|
|
name: 'accessToken',
|
|
type: 'string',
|
|
typeOptions: { password: true },
|
|
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>.',
|
|
},
|
|
];
|
|
}
|