UNPKG

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

Version:

n8n node for Datto RMM integration

484 lines 15.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.auditFields = void 0; exports.auditFields = [ { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['audit'], }, }, options: [ { name: 'Get Device Audit', value: 'getDeviceAudit', description: 'Get complete device audit information', action: 'Get device audit', }, { name: 'Get Software Audit', value: 'getSoftwareAudit', description: 'Get installed software inventory for a device', action: 'Get software audit', }, { name: 'Get Hardware Audit', value: 'getHardwareAudit', description: 'Get hardware configuration details for a device', action: 'Get hardware audit', }, { name: 'Get Printer Audit', value: 'getPrinterAudit', description: 'Get printer-specific audit data', action: 'Get printer audit', }, { name: 'Get ESXi Audit', value: 'getEsxiAudit', description: 'Get ESXi host audit information', action: 'Get ESXi audit', }, { name: 'Get Audit by MAC Address', value: 'getAuditByMac', description: 'Get audit data using MAC address', action: 'Get audit by MAC', }, { name: 'Run Site Audit', value: 'runSiteAudit', description: 'Run audit on all devices in a site', action: 'Run audit on all site devices', }, ], default: 'getDeviceAudit', }, { displayName: 'Device', name: 'deviceUid', type: 'options', required: true, displayOptions: { show: { resource: ['audit'], operation: [ 'getDeviceAudit', 'getSoftwareAudit', 'getHardwareAudit', 'getPrinterAudit', 'getEsxiAudit', ], }, }, typeOptions: { loadOptionsMethod: 'getDevices', }, default: '', description: 'Select the device to retrieve audit information for', }, { displayName: 'Site', name: 'siteUid', type: 'options', required: true, displayOptions: { show: { resource: ['audit'], operation: ['runSiteAudit'], }, }, typeOptions: { loadOptionsMethod: 'getSites', }, default: '', description: 'Select the site where audit should be run on all devices', }, { displayName: 'Audit Type', name: 'siteAuditType', type: 'options', required: true, displayOptions: { show: { resource: ['audit'], operation: ['runSiteAudit'], }, }, options: [ { name: 'Device Audit', value: 'device', description: 'Complete device audit information for all devices', }, { name: 'Software Audit', value: 'software', description: 'Software inventory audit for all devices', }, { name: 'Hardware Audit', value: 'hardware', description: 'Hardware configuration audit for all devices', }, ], default: 'device', description: 'Type of audit to perform on all site devices', }, { displayName: 'Device Filters', name: 'deviceFilters', type: 'collection', placeholder: 'Add Filter', default: {}, displayOptions: { show: { resource: ['audit'], operation: ['runSiteAudit'], }, }, options: [ { displayName: 'Device Types', name: 'deviceTypes', type: 'multiOptions', options: [ { name: 'Workstation', value: 'workstation' }, { name: 'Server', value: 'server' }, { name: 'Laptop', value: 'laptop' }, { name: 'Network Device', value: 'network_device' }, { name: 'Virtual Machine', value: 'virtual_machine' }, ], default: [], description: 'Filter devices by type', }, { displayName: 'Operating Systems', name: 'operatingSystems', type: 'multiOptions', options: [ { name: 'Windows', value: 'windows' }, { name: 'macOS', value: 'macos' }, { name: 'Linux', value: 'linux' }, { name: 'Other', value: 'other' }, ], default: [], description: 'Filter devices by operating system', }, { displayName: 'Online Status', name: 'onlineStatus', type: 'options', options: [ { name: 'All Devices', value: 'all' }, { name: 'Online Only', value: 'online' }, { name: 'Offline Only', value: 'offline' }, ], default: 'all', description: 'Filter devices by online status', }, ], description: 'Optional filters to apply when selecting devices for audit', }, { displayName: 'Execution Options', name: 'executionOptions', type: 'collection', placeholder: 'Add Option', default: {}, displayOptions: { show: { resource: ['audit'], operation: ['runSiteAudit'], }, }, options: [ { displayName: 'Continue on Device Error', name: 'continueOnError', type: 'boolean', default: true, description: 'Whether to continue auditing other devices if one device fails', }, { displayName: 'Max Concurrent Audits', name: 'maxConcurrent', type: 'number', default: 5, description: 'Maximum number of concurrent device audits (1-10)', }, { displayName: 'Include Device Summary', name: 'includeSummary', type: 'boolean', default: true, description: 'Whether to include a summary of the site audit execution', }, ], description: 'Configure how the site audit should be executed', }, { displayName: 'Include Archived Data', name: 'includeArchived', type: 'boolean', default: false, displayOptions: { show: { resource: ['audit'], operation: ['runSiteAudit'], }, }, description: 'Whether to include archived/historical audit data for all devices', }, { displayName: 'MAC Address', name: 'macAddress', type: 'string', required: true, displayOptions: { show: { resource: ['audit'], operation: ['getAuditByMac'], }, }, default: '', description: 'MAC address in format: XXXXXXXXXXXX (12 characters, no separators)', }, { displayName: 'Audit Type', name: 'auditType', type: 'options', displayOptions: { show: { resource: ['audit'], operation: ['getAuditByMac'], }, }, options: [ { name: 'Device', value: 'device', description: 'Complete device audit information', }, { name: 'Software', value: 'software', description: 'Software inventory audit', }, { name: 'Hardware', value: 'hardware', description: 'Hardware configuration audit', }, ], default: 'device', description: 'Type of audit information to retrieve', }, { displayName: 'Include Archived', name: 'includeArchived', type: 'boolean', default: false, displayOptions: { show: { resource: ['audit'], operation: ['getDeviceAudit', 'getSoftwareAudit', 'getHardwareAudit', 'getAuditByMac'], }, }, description: 'Whether to include archived/historical audit data', }, { displayName: 'Start Date', name: 'startDate', type: 'dateTime', displayOptions: { show: { resource: ['audit'], operation: ['getDeviceAudit', 'getSoftwareAudit', 'getHardwareAudit'], includeArchived: [true], }, }, default: '', description: 'Start date for filtering historical audit data (ISO 8601 format)', }, { displayName: 'End Date', name: 'endDate', type: 'dateTime', displayOptions: { show: { resource: ['audit'], operation: ['getDeviceAudit', 'getSoftwareAudit', 'getHardwareAudit'], includeArchived: [true], }, }, default: '', description: 'End date for filtering historical audit data (ISO 8601 format)', }, { displayName: 'Software Name Filter', name: 'softwareName', type: 'string', displayOptions: { show: { resource: ['audit'], operation: ['getSoftwareAudit'], }, }, default: '', description: 'Filter software by name (partial matches supported)', }, { displayName: 'Include System Software', name: 'includeSystemSoftware', type: 'boolean', default: true, displayOptions: { show: { resource: ['audit'], operation: ['getSoftwareAudit'], }, }, description: 'Whether to include system/OS software in results', }, { displayName: 'Hardware Category', name: 'hardwareCategory', type: 'options', displayOptions: { show: { resource: ['audit'], operation: ['getHardwareAudit'], }, }, options: [ { name: 'All', value: '', description: 'Include all hardware categories', }, { name: 'Processor', value: 'processor', description: 'CPU information only', }, { name: 'Memory', value: 'memory', description: 'RAM information only', }, { name: 'Storage', value: 'storage', description: 'Disk and storage information only', }, { name: 'Network', value: 'network', description: 'Network interfaces only', }, { name: 'Graphics', value: 'graphics', description: 'GPU information only', }, ], default: '', description: 'Filter hardware audit by specific category', }, { displayName: 'Retrieve All', name: 'retrieveAll', type: 'boolean', default: true, displayOptions: { show: { resource: ['audit'], operation: ['getSoftwareAudit', 'getHardwareAudit'], }, }, description: 'Whether to retrieve all audit records automatically using pagination', }, { displayName: 'Page', name: 'page', type: 'number', default: 1, displayOptions: { show: { resource: ['audit'], operation: ['getSoftwareAudit', 'getHardwareAudit'], retrieveAll: [false], }, }, description: 'Page number (1-based)', }, { displayName: 'Max Results', name: 'max', type: 'number', default: 100, displayOptions: { show: { resource: ['audit'], operation: ['getSoftwareAudit', 'getHardwareAudit'], retrieveAll: [false], }, }, description: 'Maximum number of results to return per page', }, { displayName: 'Include Details', name: 'includeDetails', type: 'boolean', default: true, displayOptions: { show: { resource: ['audit'], operation: ['getDeviceAudit', 'getSoftwareAudit', 'getHardwareAudit'], }, }, description: 'Whether to include detailed audit information (may increase response size)', }, { displayName: 'Fields to Include', name: 'resourceMapper', type: 'resourceMapper', default: { mappingMode: 'defineBelow', value: null, }, noDataExpression: true, displayOptions: { show: { resource: ['audit'], operation: [ 'getDeviceAudit', 'getSoftwareAudit', 'getHardwareAudit', 'getPrinterAudit', 'getEsxiAudit', 'getAuditByMac', ], }, }, 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