n8n-nodes-cigotracker
Version:
n8n node for CigoTracker API integration - manage deliveries, routes, and field service operations
48 lines (47 loc) • 1.22 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.operatorFields = exports.operatorOperations = void 0;
exports.operatorOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['operator'],
},
},
options: [
{
name: 'Get',
value: 'get',
description: 'Get an operator by ID',
action: 'Get an operator',
},
{
name: 'Get All',
value: 'getAll',
description: 'Get all operators',
action: 'Get all operators',
},
],
default: 'getAll',
},
];
exports.operatorFields = [
{
displayName: 'Operator ID',
name: 'operatorId',
type: 'string',
displayOptions: {
show: {
resource: ['operator'],
operation: ['get'],
},
},
required: true,
default: '',
description: 'The ID of the operator',
},
];