UNPKG

n8n-nodes-inflow-crm

Version:

Official Inflow CRM integration for n8n. Create, update, search records and handle webhooks with dynamic field support.

27 lines (26 loc) 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Endpoints = void 0; exports.Endpoints = { // Core API Endpoints (per 2025 spec) GET_BUNDLE_MODULE_NAMES: '/api/getBundleModuleNames', GET_USER_LIST: '/api/getUserList', VALIDATE_API_KEY: '/api/validateApiKey', CREATE_RECORD: '/api/createRecord', UPDATE_RECORD: (id) => `/api/updateRecord/${id}`, SEARCH_RECORDS: '/api/searchRecords', FIND_RECORD: '/api/findRecord', GET_MODULE_FIELDS: '/api/getModuleFields', GET_SAMPLE_DATA: '/api/getSampleData', COUNT_RECORDS: '/api/records/count', DELETE_RECORD: (module, id) => `/api/${module}/${id}`, GET_BY_ID: (module, id) => `/api/${module}/${id}`, GET_BY_IDS: '/api/records/getByIds', GET_PROCESSES_FOR_MODULE: '/api/getProcessesForModule', // Webhook endpoints (2025 spec) WEBHOOK_SUBSCRIBE: '/webhooks/subscribe', WEBHOOK_LIST: '/webhooks', WEBHOOK_DETAILS: (id) => `/webhooks/${id}`, WEBHOOK_DELETE: (id) => `/webhooks/${id}`, WEBHOOK: (id) => `/webhooks/${id}`, };