mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
* Add create/update task in Harvest node * ⚡ Small improvements Co-authored-by: dali <servfrdali@yahoo.fr>
31 lines
483 B
TypeScript
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[];
|