Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / webbar / index.js
index 0f6fa95..98ec3d2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb32d=['originate','/hangup','isAuthenticated','hangup','/answer','answer','/hold','hold','/unhold','unhold','/calls','calls','/transfer','exports','express','Router','../../components/auth/service','./webbar.controller','post','canUpdate'];(function(_0x29f6cd,_0x4f0f88){var _0xb25b30=function(_0x2f9c72){while(--_0x2f9c72){_0x29f6cd['push'](_0x29f6cd['shift']());}};_0xb25b30(++_0x4f0f88);}(_0xb32d,0x1da));var _0xdb32=function(_0x2ccd5e,_0x3deb44){_0x2ccd5e=_0x2ccd5e-0x0;var _0x1a758e=_0xb32d[_0x2ccd5e];return _0x1a758e;};'use strict';var express=require(_0xdb32('0x0'));var router=express[_0xdb32('0x1')]();var auth=require(_0xdb32('0x2'));var controller=require(_0xdb32('0x3'));router[_0xdb32('0x4')]('/originate',auth['isAuthenticated'](),auth[_0xdb32('0x5')](),controller[_0xdb32('0x6')]);router['post'](_0xdb32('0x7'),auth[_0xdb32('0x8')](),auth[_0xdb32('0x5')](),controller[_0xdb32('0x9')]);router[_0xdb32('0x4')](_0xdb32('0xa'),auth['isAuthenticated'](),auth[_0xdb32('0x5')](),controller[_0xdb32('0xb')]);router[_0xdb32('0x4')](_0xdb32('0xc'),auth[_0xdb32('0x8')](),auth[_0xdb32('0x5')](),controller[_0xdb32('0xd')]);router[_0xdb32('0x4')](_0xdb32('0xe'),auth[_0xdb32('0x8')](),auth[_0xdb32('0x5')](),controller[_0xdb32('0xf')]);router[_0xdb32('0x4')](_0xdb32('0x10'),auth[_0xdb32('0x8')](),auth[_0xdb32('0x5')](),controller[_0xdb32('0x11')]);router[_0xdb32('0x4')](_0xdb32('0x12'),auth[_0xdb32('0x8')](),auth[_0xdb32('0x5')](),controller['transfer']);module[_0xdb32('0x13')]=router;
\ No newline at end of file
+var _0x9e9b=['answer','/hold','/unhold','unhold','calls','/transfer','exports','express','./webbar.controller','post','/originate','isAuthenticated','originate','canUpdate','hangup','/answer'];(function(_0x5d0d22,_0x1cac11){var _0x17f287=function(_0x1b47cb){while(--_0x1b47cb){_0x5d0d22['push'](_0x5d0d22['shift']());}};_0x17f287(++_0x1cac11);}(_0x9e9b,0x1a7));var _0xb9e9=function(_0x580b15,_0x28afa4){_0x580b15=_0x580b15-0x0;var _0x1adb1b=_0x9e9b[_0x580b15];return _0x1adb1b;};'use strict';var express=require(_0xb9e9('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0xb9e9('0x1'));router[_0xb9e9('0x2')](_0xb9e9('0x3'),auth[_0xb9e9('0x4')](),auth['canUpdate'](),controller[_0xb9e9('0x5')]);router[_0xb9e9('0x2')]('/hangup',auth[_0xb9e9('0x4')](),auth[_0xb9e9('0x6')](),controller[_0xb9e9('0x7')]);router[_0xb9e9('0x2')](_0xb9e9('0x8'),auth[_0xb9e9('0x4')](),auth[_0xb9e9('0x6')](),controller[_0xb9e9('0x9')]);router[_0xb9e9('0x2')](_0xb9e9('0xa'),auth[_0xb9e9('0x4')](),auth[_0xb9e9('0x6')](),controller['hold']);router[_0xb9e9('0x2')](_0xb9e9('0xb'),auth['isAuthenticated'](),auth[_0xb9e9('0x6')](),controller[_0xb9e9('0xc')]);router[_0xb9e9('0x2')]('/calls',auth['isAuthenticated'](),auth[_0xb9e9('0x6')](),controller[_0xb9e9('0xd')]);router[_0xb9e9('0x2')](_0xb9e9('0xe'),auth[_0xb9e9('0x4')](),auth['canUpdate'](),controller['transfer']);module[_0xb9e9('0xf')]=router;
\ No newline at end of file