n8n/packages/nodes-base/nodes/Harvest/CompanyDescription.ts
2020-02-07 20:38:13 -08:00

27 lines
478 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[];