UNPKG

n8n-nodes-innotes

Version:

N8N node for InNotes CRM API integration

92 lines (90 loc) 2.47 kB
"use strict"; /** * @author Marco * @date 2025-12-28 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.automationFields = exports.automationOperations = void 0; exports.automationOperations = [ { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['automation'], }, }, options: [ { name: 'Get Config', value: 'getConfig', description: 'Get automation configuration including AI model settings', action: 'Get automation config', }, { name: 'Report Job Created', value: 'reportJobCreated', description: 'Report to InNotes that a job was created by the automation workflow', action: 'Report job created', }, ], default: 'getConfig', }, ]; exports.automationFields = [ // reportJobCreated fields { displayName: 'Jobs Added', name: 'jobsAdded', type: 'number', required: true, displayOptions: { show: { resource: ['automation'], operation: ['reportJobCreated'], }, }, default: 1, description: 'Number of jobs added by this workflow execution', }, { displayName: 'Status', name: 'status', type: 'options', displayOptions: { show: { resource: ['automation'], operation: ['reportJobCreated'], }, }, options: [ { name: 'Success', value: 'success', }, { name: 'Error', value: 'error', }, ], default: 'success', description: 'Status of the workflow execution', }, { displayName: 'Error Message', name: 'errorMessage', type: 'string', displayOptions: { show: { resource: ['automation'], operation: ['reportJobCreated'], status: ['error'], }, }, default: '', description: 'Error message if the workflow failed', }, ]; //# sourceMappingURL=AutomationDescription.js.map