n8n/packages/nodes-base/nodes/Harvest/CompanyDescription.ts
Ricardo Espinoza 7995bd610d
Add Harvest update task operations (#1603)
* Add create/update task in Harvest node

*  Small improvements

Co-authored-by: dali <servfrdali@yahoo.fr>
2021-04-02 17:56:45 +02:00

31 lines
483 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[];