UNPKG

@panoptic-it-solutions/n8n-nodes-datto-rmm

Version:

n8n node for Datto RMM integration

103 lines 2.91 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.alertFields = void 0; exports.alertFields = [ { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['alert'], }, }, options: [ { name: 'Get', value: 'get', description: 'Get specific alert by UID', action: 'Get alert by UID', }, { name: 'Resolve', value: 'resolve', description: 'Resolve an alert', action: 'Resolve alert', }, { name: 'Mute', value: 'mute', description: 'Mute an alert (deprecated in API v8.9.0+)', action: 'Mute alert', }, { name: 'Unmute', value: 'unmute', description: 'Unmute an alert (deprecated in API v8.9.0+)', action: 'Unmute alert', }, ], default: 'get', }, { displayName: 'Alert', name: 'alertUid', type: 'options', default: '', required: true, displayOptions: { show: { resource: ['alert'], operation: ['get', 'resolve', 'mute', 'unmute'], }, }, typeOptions: { loadOptionsMethod: 'getOpenAlerts', }, description: 'Select the alert from the list of available open alerts', }, { displayName: 'Resolution Note', name: 'resolutionNote', type: 'string', default: '', displayOptions: { show: { resource: ['alert'], operation: ['resolve'], }, }, description: 'Optional note to add when resolving the alert', }, { displayName: 'Fields to Include', name: 'fieldsToInclude', type: 'resourceMapper', default: { mappingMode: 'defineBelow', value: null, }, noDataExpression: true, displayOptions: { show: { resource: ['alert'], operation: ['get'], }, }, typeOptions: { resourceMapper: { resourceMapperMethod: 'getDattoRmmFields', mode: 'add', fieldWords: { singular: 'field', plural: 'fields', }, addAllFields: true, multiKeyMatch: false, }, }, description: 'Select which fields to include in the response', }, ]; //# sourceMappingURL=description.js.map