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

27 lines
478 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 = [
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.',
},
] as INodeProperties[];