2022-08-17 08:50:24 -07:00
|
|
|
import { INodeProperties } from 'n8n-workflow';
|
2021-09-28 11:50:15 -07:00
|
|
|
|
|
|
|
export const firedAlertOperations: INodeProperties[] = [
|
|
|
|
{
|
|
|
|
displayName: 'Operation',
|
|
|
|
name: 'operation',
|
|
|
|
type: 'options',
|
|
|
|
noDataExpression: true,
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
2022-08-17 08:50:24 -07:00
|
|
|
resource: ['firedAlert'],
|
2021-09-28 11:50:15 -07:00
|
|
|
},
|
|
|
|
},
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
name: 'Get Report',
|
|
|
|
value: 'getReport',
|
|
|
|
description: 'Retrieve a fired alerts report',
|
2022-07-10 13:50:51 -07:00
|
|
|
action: 'Get a fired alerts report',
|
2021-09-28 11:50:15 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
default: 'getReport',
|
|
|
|
},
|
|
|
|
];
|