n8n-nodes-cigotracker
Version:
n8n node for CigoTracker API integration - manage deliveries, routes, and field service operations
50 lines (49 loc) • 1.67 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CigoTrackerApi = void 0;
class CigoTrackerApi {
constructor() {
this.name = 'cigoTrackerApi';
this.displayName = 'CigoTracker API';
this.documentationUrl = 'https://app.cigotracker.com/api/documentation';
this.properties = [
{
displayName: 'Environment',
name: 'environment',
type: 'options',
options: [
{
name: 'Production',
value: 'production',
},
{
name: 'Sandbox (Demo)',
value: 'sandbox',
},
],
default: 'production',
description: 'The environment to connect to',
},
{
displayName: 'API Account ID',
name: 'apiAccountId',
type: 'string',
default: '',
required: true,
description: 'Your CigoTracker API Account ID. To obtain: Log in as admin → Integrations → API settings → Enable API access',
},
{
displayName: 'API Auth Key',
name: 'apiAuthKey',
type: 'string',
typeOptions: {
password: true,
},
default: '',
required: true,
description: 'Your CigoTracker API Auth Key',
},
];
}
}
exports.CigoTrackerApi = CigoTrackerApi;