1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x3596=['exports','path','../../config/environment','resolve','root','express','../../services/express/index.js','join','../../services/ami/index.js','agi','../../services/agi/index.js','email','../../services/email/index.js','routing','../../services/routing/index.js','xdr'];(function(_0x3cc739,_0x2532de){var _0x5b89ff=function(_0x24844a){while(--_0x24844a){_0x3cc739['push'](_0x3cc739['shift']());}};_0x5b89ff(++_0x2532de);}(_0x3596,0x151));var _0x6359=function(_0xd1d19a,_0x1933f0){_0xd1d19a=_0xd1d19a-0x0;var _0x52a79d=_0x3596[_0xd1d19a];return _0x52a79d;};'use strict';var path=require(_0x6359('0x0'));var cfg=require(_0x6359('0x1'));var env={'NODE_PATH':path[_0x6359('0x2')](path['join'](cfg[_0x6359('0x3')],'legacy-libs'))};var pm2config={'apps':[{'name':_0x6359('0x4'),'script':path['join'](__dirname,_0x6359('0x5')),'env':env},{'name':'ami','script':path[_0x6359('0x6')](__dirname,_0x6359('0x7')),'env':env},{'name':_0x6359('0x8'),'script':path['join'](__dirname,_0x6359('0x9')),'env':env},{'name':_0x6359('0xa'),'script':path[_0x6359('0x6')](__dirname,_0x6359('0xb')),'env':env},{'name':_0x6359('0xc'),'script':path['join'](__dirname,_0x6359('0xd')),'env':env},{'name':_0x6359('0xe'),'script':path[_0x6359('0x6')](__dirname,'../../services/xdr/index.js'),'env':env}]};module[_0x6359('0xf')]=pm2config;