n8n/packages/nodes-base/nodes/Harvest/CompanyDescription.ts
Ronalds Upenieks 3351113f28
Add Harvest OAuth2 support (#697)
* 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>
2020-11-24 14:15:47 +01:00

27 lines
476 B
TypeScript

import { INodeProperties } from 'n8n-workflow';
const resource = ['company'];
export const companyOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
displayOptions: {
show: {
resource,
},
},
options: [
{
name: 'Get',
value: 'get',
description: 'Retrieves the company for the currently authenticated user',
},
],
default: 'get',
description: 'The operation to perform.',
},
] as INodeProperties[];