mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
3351113f28
* credentials, generic functions fit to oauth2, UI elements * ⚡ Improvements to Harvest-Node * Update Harvest.node.ts * ⚡ Add OAuth2 and move account id from credentials to node parameters * ⚡ Minor improvements to Harvest-Node Co-authored-by: Rupenieks <ru@myos,co> Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
20 lines
564 B
TypeScript
20 lines
564 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
export class HarvestApi implements ICredentialType {
|
|
name = 'harvestApi';
|
|
displayName = 'Harvest API';
|
|
documentationUrl = 'harvest';
|
|
properties = [
|
|
{
|
|
displayName: 'Access Token',
|
|
name: 'accessToken',
|
|
type: 'string' as NodePropertyTypes,
|
|
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>.',
|
|
},
|
|
];
|
|
}
|