UNPKG

@digitalstories/n8n-nodes-infomaniak

Version:

n8n nodes to interact with Infomaniak services (Kchat)

16 lines 621 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ServiceFactory = void 0; const KchatService_1 = require("../services/Kchat/KchatService"); class ServiceFactory { static createService(serviceName, executeFunctions, credentials) { switch (serviceName) { case 'kchat': return new KchatService_1.KchatService(executeFunctions, credentials); default: throw new Error(`Service Infomaniak non supporté: ${serviceName}`); } } } exports.ServiceFactory = ServiceFactory; //# sourceMappingURL=ServiceFactory.js.map