n8n/packages/nodes-base/nodes/Harvest/CompanyDescription.ts

31 lines
480 B
TypeScript
Raw Normal View History

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