Files
alighasami 3d5eaf9445
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
first commit
2026-03-17 16:22:57 +03:30

86 lines
1.9 KiB
TypeScript

import type { INodeProperties } from 'n8n-workflow';
import * as create from './create.operation';
import * as deleteAlert from './deleteAlert.operation';
import * as executeResponder from './executeResponder.operation';
import * as get from './get.operation';
import * as merge from './merge.operation';
import * as promote from './promote.operation';
import * as search from './search.operation';
import * as status from './status.operation';
import * as update from './update.operation';
export { create, executeResponder, deleteAlert, get, search, status, merge, promote, update };
export const description: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
required: true,
options: [
{
name: 'Create',
value: 'create',
action: 'Create an alert',
},
{
name: 'Delete',
value: 'deleteAlert',
action: 'Delete an alert',
},
{
name: 'Execute Responder',
value: 'executeResponder',
action: 'Execute responder on an alert',
},
{
name: 'Get',
value: 'get',
action: 'Get an alert',
},
{
name: 'Merge Into Case',
value: 'merge',
action: 'Merge an alert into a case',
},
{
name: 'Promote to Case',
value: 'promote',
action: 'Promote an alert to a case',
},
{
name: 'Search',
value: 'search',
action: 'Search alerts',
},
{
name: 'Update',
value: 'update',
action: 'Update an alert',
},
{
name: 'Update Status',
value: 'status',
action: 'Update an alert status',
},
],
displayOptions: {
show: {
resource: ['alert'],
},
},
default: 'create',
},
...create.description,
...deleteAlert.description,
...executeResponder.description,
...get.description,
...search.description,
...status.description,
...merge.description,
...promote.description,
...update.description,
];