UNPKG

@ev1lc0rp/n8n-nodes-ninjaone

Version:

Professional NinjaOne RMM integration for n8n with complete ticketing and device management

233 lines 7.82 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.deviceOperations = void 0; exports.deviceOperations = [ { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['device'], }, }, options: [ { name: 'Get', value: 'get', action: 'Get a device', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}', }, }, }, { name: 'Get Activities', value: 'getActivities', action: 'Get device activities', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/activities', }, }, }, { name: 'Get Alerts', value: 'getAlerts', action: 'Get device alerts', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/alerts', }, }, }, { name: 'Get Custom Fields', value: 'getCustomFields', action: 'Get device custom fields', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/custom-fields', }, }, }, { name: 'Get Disks', value: 'getDisks', action: 'Get device disks', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/disks', }, }, }, { name: 'Get Jobs', value: 'getJobs', action: 'Get device jobs', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/jobs', }, }, }, { name: 'Get Last Logged On User', value: 'getLastLoggedOnUser', action: 'Get last logged on user', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/last-logged-on-user', }, }, }, { name: 'Get Many', value: 'getAll', action: 'Get many devices', routing: { request: { method: 'GET', url: '/v2/devices', qs: { limit: '={{$parameter.limit}}', offset: '={{$parameter.offset}}', }, }, }, }, { name: 'Get Network Interfaces', value: 'getNetworkInterfaces', action: 'Get device network interfaces', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/network-interfaces', }, }, }, { name: 'Get OS Patch Installs', value: 'getOsPatchInstalls', action: 'Get OS patch installs', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/os-patch-installs', }, }, }, { name: 'Get OS Patches', value: 'getOsPatches', action: 'Get OS patches', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/os-patches', }, }, }, { name: 'Get Policy Overrides', value: 'getPolicyOverrides', action: 'Get policy overrides', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/policy/overrides', }, }, }, { name: 'Get Processors', value: 'getProcessors', action: 'Get device processors', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/processors', }, }, }, { name: 'Get Software', value: 'getSoftware', action: 'Get device software', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/software', }, }, }, { name: 'Get Software Patch Installs', value: 'getSoftwarePatchInstalls', action: 'Get software patch installs', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/software-patch-installs', }, }, }, { name: 'Get Software Patches', value: 'getSoftwarePatches', action: 'Get software patches', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/software-patches', }, }, }, { name: 'Get Volumes', value: 'getVolumes', action: 'Get device volumes', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/volumes', }, }, }, { name: 'Get Windows Services', value: 'getWindowsServices', action: 'Get windows services', routing: { request: { method: 'GET', url: '=/v2/device/{{$parameter.deviceId}}/windows-services', }, }, }, { name: 'Update Custom Fields', value: 'updateCustomFields', action: 'Update device custom fields', routing: { request: { method: 'PATCH', url: '=/v2/device/{{$parameter.deviceId}}/custom-fields', }, }, }, ], default: 'getAll', }, ]; //# sourceMappingURL=device.js.map