2020-02-07 20:38:13 -08:00
|
|
|
import { INodeProperties } from 'n8n-workflow';
|
2020-01-28 07:50:15 -08:00
|
|
|
|
2020-11-24 05:15:47 -08:00
|
|
|
const resource = ['company'];
|
2020-01-31 05:43:40 -08:00
|
|
|
|
2020-01-28 23:04:52 -08:00
|
|
|
export const companyOperations = [
|
2020-01-28 07:50:15 -08:00
|
|
|
{
|
|
|
|
displayName: 'Operation',
|
|
|
|
name: 'operation',
|
|
|
|
type: 'options',
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
2020-01-31 05:43:40 -08:00
|
|
|
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[];
|