UNPKG

n8n-nodes-cigotracker

Version:

n8n node for CigoTracker API integration - manage deliveries, routes, and field service operations

48 lines (47 loc) 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.locationFields = exports.locationOperations = void 0; exports.locationOperations = [ { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['location'], }, }, options: [ { name: 'Get', value: 'get', description: 'Get a location by ID', action: 'Get a location', }, { name: 'Get All', value: 'getAll', description: 'Get all locations', action: 'Get all locations', }, ], default: 'getAll', }, ]; exports.locationFields = [ { displayName: 'Location ID', name: 'locationId', type: 'string', displayOptions: { show: { resource: ['location'], operation: ['get'], }, }, required: true, default: '', description: 'The ID of the location', }, ];