Built motion from commit 67e5df37.|2.0.66
[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 _0x3906=['includes','voice','mail','chat','sms','openchannel','exports','toLowerCase'];(function(_0xe0aa03,_0x2cfd1d){var _0x521c13=function(_0xed1b77){while(--_0xed1b77){_0xe0aa03['push'](_0xe0aa03['shift']());}};_0x521c13(++_0x2cfd1d);}(_0x3906,0x69));var _0x6390=function(_0x5411f2,_0x33165e){_0x5411f2=_0x5411f2-0x0;var _0x2e2e7f=_0x3906[_0x5411f2];return _0x2e2e7f;};'use strict';var _=require('lodash');var channels=[_0x6390('0x0'),_0x6390('0x1'),_0x6390('0x2'),'fax',_0x6390('0x3'),_0x6390('0x4')];module[_0x6390('0x5')]={'getChannels':function(){return channels;},'isValidChannel':function(_0x55ae61){_0x55ae61=_0x55ae61[_0x6390('0x6')]();return _[_0x6390('0x7')](channels,_0x55ae61);}};