n8n/packages/nodes-base/nodes/Harvest/CompanyDescription.ts
2021-12-03 09:44:16 +01:00

31 lines
480 B
TypeScript

import {
INodeProperties,
} from 'n8n-workflow';
const resource = [
'company',
];
export const companyOperations: INodeProperties[] = [
{
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.',
},
];