Built motion from commit (unavailable).|2.3.4
[motion2.git] / server / config / utils.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf330=['lodash','voice','mail','fax','sms','openchannel','toLowerCase','includes'];(function(_0x1562e7,_0x1963ce){var _0x250b87=function(_0x262e7a){while(--_0x262e7a){_0x1562e7['push'](_0x1562e7['shift']());}};_0x250b87(++_0x1963ce);}(_0xf330,0x160));var _0x0f33=function(_0x5024d7,_0x1d7b82){_0x5024d7=_0x5024d7-0x0;var _0x3cf9d7=_0xf330[_0x5024d7];return _0x3cf9d7;};'use strict';var _=require(_0x0f33('0x0'));var channels=[_0x0f33('0x1'),_0x0f33('0x2'),'chat',_0x0f33('0x3'),_0x0f33('0x4'),_0x0f33('0x5')];module['exports']={'getChannels':function(){return channels;},'isValidChannel':function(_0x29a1d6){_0x29a1d6=_0x29a1d6[_0x0f33('0x6')]();return _[_0x0f33('0x7')](channels,_0x29a1d6);}};