Built motion from commit 67e5df37.|2.0.68
[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 _0xb9d9=['exports','toLowerCase','lodash','voice','mail','chat','sms','openchannel'];(function(_0x2daea7,_0x41e7da){var _0x1f01bd=function(_0x39417b){while(--_0x39417b){_0x2daea7['push'](_0x2daea7['shift']());}};_0x1f01bd(++_0x41e7da);}(_0xb9d9,0x17a));var _0x9b9d=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0xb9d9[_0x432682];return _0x463d05;};'use strict';var _=require(_0x9b9d('0x0'));var channels=[_0x9b9d('0x1'),_0x9b9d('0x2'),_0x9b9d('0x3'),'fax',_0x9b9d('0x4'),_0x9b9d('0x5')];module[_0x9b9d('0x6')]={'getChannels':function(){return channels;},'isValidChannel':function(_0xf7413){_0xf7413=_0xf7413[_0x9b9d('0x7')]();return _['includes'](channels,_0xf7413);}};