2021-04-02 08:56:45 -07:00
|
|
|
import {
|
|
|
|
INodeProperties,
|
|
|
|
} from 'n8n-workflow';
|
2020-01-28 07:50:15 -08:00
|
|
|
|
2021-04-02 08:56:45 -07: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[];
|